.gn-bacheca {
  --gn-board-ultramarine: #082f86;
  --gn-board-navy: #031b4e;
  --gn-board-blue: #147fe8;
  --gn-board-cyan: #26bde7;
  --gn-board-ice: #dff8ff;
  --gn-board-text: #516a83;
  --gn-board-glass: rgba(255, 255, 255, 0.88);
  --gn-board-line: rgba(255, 255, 255, 0.66);
  position: relative;
  z-index: 99990;
  color: var(--gn-board-text);
  font-family: Ubuntu, Arial, sans-serif;
  line-height: 1.6;
}

.gn-bacheca,
.gn-bacheca *,
.gn-bacheca *::before,
.gn-bacheca *::after {
  box-sizing: border-box;
}

.gn-bacheca__trigger {
  position: fixed;
  z-index: 99991;
  right: clamp(18px, 3vw, 42px);
  bottom: clamp(18px, 3vw, 38px);
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 32px;
  width: min(315px, calc(100vw - 36px));
  min-height: 78px;
  padding: 10px 13px 10px 10px;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px 42px 30px 44px / 32px 28px 44px 36px;
  background:
    radial-gradient(circle at 14% 0%, rgba(100, 224, 249, 0.42), transparent 36%),
    linear-gradient(135deg, rgba(5, 43, 119, 0.97), rgba(8, 100, 192, 0.95));
  box-shadow:
    0 24px 55px rgba(2, 33, 91, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: #fff;
  cursor: pointer;
  text-align: left;
  transform: translateY(0);
  transition:
    transform 190ms ease,
    box-shadow 190ms ease;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.gn-bacheca--left .gn-bacheca__trigger {
  right: auto;
  left: clamp(18px, 3vw, 42px);
}

.gn-bacheca__trigger::after {
  content: "";
  position: absolute;
  top: -44px;
  right: 34px;
  width: 112px;
  height: 80px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 43% 57% 54% 46% / 48% 43% 57% 52%;
  background: rgba(53, 196, 235, 0.15);
  transform: rotate(18deg);
}

.gn-bacheca__trigger:hover {
  box-shadow:
    0 30px 65px rgba(2, 33, 91, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  transform: translateY(-4px);
}

.gn-bacheca__trigger:focus-visible,
.gn-bacheca__close:focus-visible,
.gn-bacheca__index-button:focus-visible,
.gn-bacheca__cta:focus-visible {
  outline: 4px solid rgba(67, 208, 247, 0.68);
  outline-offset: 4px;
}

.gn-bacheca__trigger-shape {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 46% 54% 57% 43% / 48% 42% 58% 52%;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.62), transparent 19%),
    linear-gradient(145deg, rgba(56, 205, 239, 0.95), rgba(27, 115, 223, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 12px 26px rgba(0, 33, 89, 0.3);
  transform: rotate(-6deg);
}

.gn-bacheca__trigger-shape svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transform: rotate(6deg);
}

.gn-bacheca__trigger-copy {
  position: relative;
  z-index: 1;
  display: block;
  min-width: 0;
}

.gn-bacheca__trigger-kicker,
.gn-bacheca__trigger-label {
  display: block;
}

.gn-bacheca__trigger-kicker {
  margin-bottom: 3px;
  color: rgba(220, 248, 255, 0.82);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.gn-bacheca__trigger-label {
  font-family: "Open Sans", Ubuntu, Arial, sans-serif;
  font-size: 17px;
  font-style: italic;
  font-weight: 900;
  line-height: 1.12;
  text-transform: uppercase;
}

.gn-bacheca__trigger-count {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.gn-bacheca__backdrop {
  position: fixed;
  z-index: 99999;
  inset: 0;
  display: grid;
  padding: clamp(16px, 4vw, 54px);
  place-items: center;
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgba(1, 14, 47, 0.64);
  opacity: 0;
  transition: opacity 220ms ease;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.gn-bacheca__backdrop[hidden] {
  display: none;
}

.gn-bacheca__backdrop.is-visible {
  opacity: 1;
}

.gn-bacheca__dialog {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(1120px, 100%);
  height: min(790px, calc(100vh - 32px));
  height: min(790px, calc(100dvh - 32px));
  max-height: min(790px, calc(100vh - 32px));
  overflow: hidden;
  border: 1px solid rgba(185, 236, 251, 0.76);
  border-radius: 54px 42px 58px 40px / 45px 56px 43px 54px;
  background:
    radial-gradient(circle at 5% 0%, rgba(59, 194, 238, 0.34), transparent 33%),
    radial-gradient(circle at 98% 95%, rgba(16, 94, 202, 0.22), transparent 39%),
    linear-gradient(135deg, rgba(239, 253, 255, 0.97), rgba(205, 241, 253, 0.96));
  box-shadow:
    0 50px 120px rgba(0, 17, 61, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transform: translateY(24px) scale(0.975);
  transition: transform 240ms ease;
}

.gn-bacheca__backdrop.is-visible .gn-bacheca__dialog {
  transform: translateY(0) scale(1);
}

.gn-bacheca__dialog::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 43px 32px 47px 31px / 35px 46px 34px 44px;
  pointer-events: none;
}

.gn-bacheca__orb {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.75), transparent 18%),
    linear-gradient(145deg, rgba(34, 172, 230, 0.22), rgba(12, 68, 170, 0.1));
  box-shadow: inset 0 0 42px rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.gn-bacheca__orb--one {
  top: -120px;
  right: -78px;
  width: 310px;
  height: 270px;
  border-radius: 43% 57% 54% 46% / 48% 43% 57% 52%;
  transform: rotate(24deg);
}

.gn-bacheca__orb--two {
  bottom: -150px;
  left: 18%;
  width: 310px;
  height: 240px;
  border-radius: 56% 44% 42% 58% / 46% 57% 43% 54%;
  transform: rotate(-18deg);
}

.gn-bacheca__header {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 132px;
  padding: clamp(30px, 4vw, 48px) clamp(30px, 5vw, 60px) 25px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.gn-bacheca__kicker {
  display: inline-flex;
  margin: 0 0 10px;
  align-items: center;
  gap: 9px;
  color: var(--gn-board-ultramarine);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.gn-bacheca__kicker span {
  width: 11px;
  height: 11px;
  border: 2px solid var(--gn-board-cyan);
  border-top-color: transparent;
  border-radius: 50%;
}

.gn-bacheca__header h2 {
  margin: 0;
  color: var(--gn-board-navy);
  font-family: "Open Sans", Ubuntu, Arial, sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-transform: uppercase;
}

.gn-bacheca__close {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(8, 47, 134, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(4, 40, 103, 0.12);
  color: var(--gn-board-navy);
  cursor: pointer;
}

.gn-bacheca__close svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.gn-bacheca__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(210px, 0.32fr) minmax(0, 1fr);
  min-height: 0;
  margin: 0 clamp(18px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid var(--gn-board-line);
  border-radius: 32px 42px 30px 46px / 38px 31px 45px 34px;
  background: rgba(255, 255, 255, 0.49);
  box-shadow:
    0 24px 60px rgba(5, 62, 125, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.gn-bacheca__index {
  min-height: 0;
  padding: 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-right: 1px solid rgba(8, 47, 134, 0.11);
  background: linear-gradient(180deg, rgba(6, 48, 133, 0.92), rgba(5, 83, 170, 0.88));
}

.gn-bacheca__index-button {
  display: grid;
  width: 100%;
  min-height: 76px;
  margin: 0 0 10px;
  padding: 10px;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 20px 25px 18px 26px / 23px 19px 27px 21px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  text-align: left;
  transition:
    background-color 170ms ease,
    border-color 170ms ease,
    transform 170ms ease;
}

.gn-bacheca__index-button:hover,
.gn-bacheca__index-button.is-active {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transform: translateX(3px);
}

.gn-bacheca__index-image {
  display: grid;
  width: 52px;
  height: 52px;
  padding: 3px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 43% 57% 55% 45% / 48% 44% 56% 52%;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.gn-bacheca__index-thumbnail {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: contain;
}

.gn-bacheca__index-image--empty {
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.58), transparent 17%),
    linear-gradient(145deg, #3ccae9, #1a78df);
}

.gn-bacheca__index-copy {
  display: block;
  min-width: 0;
}

.gn-bacheca__index-copy span,
.gn-bacheca__index-copy strong {
  display: block;
}

.gn-bacheca__index-copy span {
  margin-bottom: 4px;
  color: rgba(204, 244, 255, 0.74);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.gn-bacheca__index-copy strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.gn-bacheca__panels {
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(8, 47, 134, 0.36) transparent;
  scrollbar-width: thin;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.gn-bacheca__panels::-webkit-scrollbar {
  width: 9px;
}

.gn-bacheca__panels::-webkit-scrollbar-track {
  background: transparent;
}

.gn-bacheca__panels::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(8, 47, 134, 0.3);
  background-clip: padding-box;
}

.gn-bacheca__panel {
  display: grid;
  min-height: min-content;
  padding: clamp(22px, 3vw, 36px);
  grid-template-columns: minmax(260px, 0.94fr) minmax(0, 1.06fr);
  align-items: start;
  gap: clamp(24px, 4vw, 46px);
}

.gn-bacheca__panel[hidden] {
  display: none;
}

.gn-bacheca__visual {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 330px;
  max-height: 490px;
  padding: clamp(10px, 1.5vw, 16px);
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 38px 54px 42px 58px / 48px 38px 58px 44px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.58), transparent 30%),
    linear-gradient(145deg, rgba(67, 200, 237, 0.72), rgba(10, 71, 157, 0.86));
  box-shadow:
    0 28px 60px rgba(6, 55, 125, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.gn-bacheca__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.2), transparent 30%),
    linear-gradient(0deg, rgba(2, 26, 78, 0.08), transparent 38%);
  pointer-events: none;
}

.gn-bacheca__image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 458px;
  border-radius: 26px 38px 29px 42px / 34px 27px 42px 31px;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(2, 28, 79, 0.18));
}

.gn-bacheca__visual--portrait .gn-bacheca__image,
.gn-bacheca__visual--square .gn-bacheca__image {
  width: auto;
}

.gn-bacheca__visual--landscape {
  min-height: 260px;
}

.gn-bacheca__visual--empty {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.4), transparent 30%),
    linear-gradient(145deg, #35c4e9, #0a4da9);
}

.gn-bacheca__visual-wave {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 104px;
  height: 104px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 43% 57% 55% 45% / 48% 44% 56% 52%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: rotate(-8deg);
}

.gn-bacheca__visual-wave svg {
  width: 68px;
  height: 68px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 3;
  transform: rotate(8deg);
}

.gn-bacheca__body {
  display: flex;
  min-width: 0;
  padding: 15px 0;
  flex-direction: column;
  justify-content: center;
}

.gn-bacheca__meta {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.gn-bacheca__label,
.gn-bacheca__date {
  display: inline-flex;
  min-height: 34px;
  padding: 8px 13px;
  align-items: center;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
}

.gn-bacheca__label {
  background: linear-gradient(135deg, var(--gn-board-cyan), var(--gn-board-blue));
  box-shadow: 0 12px 25px rgba(20, 127, 232, 0.2);
  color: #fff;
}

.gn-bacheca__date {
  border: 1px solid rgba(8, 47, 134, 0.12);
  background: rgba(255, 255, 255, 0.62);
  color: var(--gn-board-ultramarine);
}

.gn-bacheca__body h3 {
  margin: 0;
  color: var(--gn-board-navy);
  font-family: "Open Sans", Ubuntu, Arial, sans-serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-transform: uppercase;
  text-wrap: balance;
}

.gn-bacheca__description {
  margin-top: 20px;
  color: var(--gn-board-text);
  font-size: clamp(15px, 1.55vw, 18px);
  line-height: 1.65;
}

.gn-bacheca__description p {
  margin: 0 0 12px;
}

.gn-bacheca__description a {
  color: var(--gn-board-ultramarine);
  font-weight: 700;
}

.gn-bacheca__cta {
  display: inline-flex;
  min-height: 48px;
  margin-top: 22px;
  padding: 12px 21px;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gn-board-cyan), var(--gn-board-blue));
  box-shadow: 0 15px 32px rgba(20, 127, 232, 0.25);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.gn-bacheca__cta:hover {
  box-shadow: 0 19px 38px rgba(20, 127, 232, 0.33);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.gn-bacheca__cta svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.gn-bacheca__footer {
  display: flex;
  min-height: 68px;
  padding: 18px clamp(30px, 5vw, 60px);
  align-items: center;
  gap: 12px;
  color: rgba(3, 27, 78, 0.58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gn-bacheca__sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.gn-bacheca-is-open {
  overflow: hidden !important;
}

html.gn-bacheca-is-open {
  overflow: hidden !important;
}

@media (max-width: 900px) {
  .gn-bacheca__dialog {
    height: calc(100vh - 24px);
    height: calc(100dvh - 24px);
    max-height: calc(100vh - 24px);
    border-radius: 38px 30px 42px 28px / 32px 40px 30px 39px;
  }

  .gn-bacheca__content {
    grid-template-columns: 1fr;
  }

  .gn-bacheca__index {
    display: flex;
    min-height: 92px;
    max-height: 112px;
    padding: 12px;
    gap: 8px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(8, 47, 134, 0.11);
  }

  .gn-bacheca__index-button {
    width: 210px;
    min-width: 210px;
    margin: 0;
  }

  .gn-bacheca__panel {
    grid-template-columns: minmax(220px, 0.88fr) minmax(0, 1.12fr);
  }
}

@media (max-width: 680px) {
  .gn-bacheca__trigger {
    grid-template-columns: 48px minmax(0, 1fr) 29px;
    min-height: 68px;
    padding: 9px 11px 9px 9px;
    gap: 9px;
    border-radius: 24px 34px 25px 36px / 28px 24px 36px 30px;
  }

  .gn-bacheca__trigger-shape {
    width: 48px;
    height: 48px;
  }

  .gn-bacheca__trigger-shape svg {
    width: 26px;
    height: 26px;
  }

  .gn-bacheca__trigger-label {
    font-size: 15px;
  }

  .gn-bacheca__trigger-count {
    width: 29px;
    height: 29px;
  }

  .gn-bacheca__backdrop {
    padding: 8px;
    place-items: start center;
  }

  .gn-bacheca__dialog {
    width: 100%;
    height: calc(100vh - 16px);
    height: calc(100dvh - 16px);
    max-height: calc(100vh - 16px);
    margin: 0;
  }

  .gn-bacheca__header {
    min-height: 105px;
    padding: 28px 24px 18px;
  }

  .gn-bacheca__header h2 {
    font-size: 42px;
  }

  .gn-bacheca__kicker {
    font-size: 9px;
  }

  .gn-bacheca__close {
    width: 44px;
    height: 44px;
  }

  .gn-bacheca__content {
    margin: 0 10px;
    border-radius: 25px 31px 24px 34px / 29px 24px 34px 27px;
  }

  .gn-bacheca__index-button {
    width: 170px;
    min-width: 170px;
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .gn-bacheca__index-image {
    width: 42px;
    height: 42px;
  }

  .gn-bacheca__panel {
    padding: 17px;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 22px;
  }

  .gn-bacheca__visual {
    min-height: 220px;
    max-height: none;
    padding: 10px;
    border-radius: 35px 50px 39px 52px / 44px 35px 54px 41px;
  }

  .gn-bacheca__image {
    width: auto;
    max-height: min(52vh, 470px);
    max-height: min(52dvh, 470px);
  }

  .gn-bacheca__visual--landscape .gn-bacheca__image {
    width: 100%;
  }

  .gn-bacheca__body {
    padding: 0 4px 18px;
    justify-content: flex-start;
  }

  .gn-bacheca__meta {
    margin-bottom: 15px;
  }

  .gn-bacheca__body h3 {
    font-size: clamp(27px, 9vw, 37px);
  }

  .gn-bacheca__description {
    margin-top: 15px;
    font-size: 15px;
  }

  .gn-bacheca__footer {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gn-bacheca *,
  .gn-bacheca *::before,
  .gn-bacheca *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
