ul.pagination {
    list-style: none;
}

.pagination ul {
    list-style: unset;
    display: flex;
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    list-style: none;
    padding: 0;
}

.pagination .active span {
    color: #f1c400 !important;
}

.pagination {
    display: block;
    overflow: hidden;
    padding: 0 5px 5px 0;
    margin: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border-top: 1px solid #ddd;
    padding-top: 30px;
    margin-top: 30px;
}

    .pagination ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: inline-block;
    }

    .pagination li {
        list-style: none;
        padding: 0;
        margin: 0;
        float: left;
    }

/*------------------------------------*\
	Light Theme Styles
\*------------------------------------*/

.light-theme a, .light-theme span {
    float: left;
    color: #1f1f1f;
    font-size: 1.2rem;
    line-height: 2.2rem;
    font-weight: 700;
    text-align: center;
    min-width: 2rem;
    padding: 0 7px;
    margin: 0 12px 0 0;
    background: #fff;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

    .light-theme a:link, .light-theme a:visited {
        color: #1f1f1f;
    }

    .light-theme a:hover, .light-theme a:active {
        text-decoration: none;
        color: #f1c400;
    }

.light-theme li:first-child .current {
    color: #cccccc;
    pointer-events: none;
    cursor: auto;
    background-color: #fff;
    border-color: #dee2e6;
}

.light-theme li:last-child .current {
    background: #fff;
    color: #cccccc;
    border: 1px solid #ddd;
    cursor: default;
}

.light-theme .current {
    background: #fff !important;
    color: #f1c400;
    cursor: default;
}

.light-theme .active {
    background: #fff !important;
}

.light-theme .ellipse {
    background: none;
    border: none;
    font-weight: bold;
    cursor: default;
}


/* 1. Fuentes (alojadas en el propio servidor)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: optional;
  font-weight: 200 800;
  src: url(../fonts/plus-jakarta-sans-latin-wght-normal.woff2) format('woff2');
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: optional;
  font-weight: 200 900;
  src: url(../fonts/source-sans-3-latin-wght-normal.woff2) format('woff2');
}

/* 2. Tokens y variables de Bootstrap
   -------------------------------------------------------------------------- */
:root {
  /* Paleta */
  --gm-ink: #0B2233;
  --gm-blue: #0B63A8;
  --gm-blue-dark: #084C82;
  --gm-deep: #061F33;
  --gm-abyss: #0A2E45;
  --gm-turq: #19C2D4;
  --gm-ice: #7FDCE8;
  --gm-tint: #E8F3FA;
  --gm-turq-tint: #DDF5F8;
  --gm-line: #D6E7F2;
  --gm-mute: #46606F;

  /* Tipografía */
  --gm-font-display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --gm-font-body: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  --gm-ease: cubic-bezier(.32, .72, 0, 1);

  /* Bootstrap: colores, tipografía y radios del sitio */
  --bs-body-font-family: var(--gm-font-body);
  --bs-body-font-size: 1.0625rem;
  --bs-body-line-height: 1.7;
  --bs-body-color: var(--gm-ink);
  --bs-heading-color: var(--gm-ink);
  --bs-secondary-color: var(--gm-mute);
  --bs-primary: var(--gm-blue);
  --bs-primary-rgb: 11, 99, 168;
  --bs-link-color: var(--gm-blue);
  --bs-link-color-rgb: 11, 99, 168;
  --bs-link-hover-color: var(--gm-blue-dark);
  --bs-link-hover-color-rgb: 8, 76, 130;
  --bs-border-color: var(--gm-line);
  --bs-border-radius: .375rem;
  --bs-border-radius-xl: 1.25rem;
  --bs-border-radius-xxl: 1.75rem;
  --bs-focus-ring-color: rgba(25, 194, 212, .5);
}

/* Bloques oscuros (hero, secciones con foto, ruta, pie, menú móvil):
   redefinen las variables para que texto, títulos y enlaces se vean claros. */
.gm-dark {
  --bs-body-color: #fff;
  --bs-heading-color: #fff;
  --bs-secondary-color: #C9DEEA;
  --bs-link-color-rgb: 255, 255, 255;
  --bs-link-hover-color-rgb: 127, 220, 232;
  --bs-border-color: rgba(255, 255, 255, .18);
  color: var(--bs-body-color);
}

/* 3. Base
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--gm-font-display);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
  text-wrap: balance;
}

:focus-visible {
  outline: 3px solid var(--gm-turq);
  outline-offset: 3px;
}

::selection {
  background: var(--gm-ice);
  color: var(--gm-ink);
}

.gm-skip {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 2000;
  padding: .75rem 1.25rem;
  border-radius: .75rem;
  background: #fff;
  color: var(--gm-ink);
  font-weight: 700;
}

.gm-skip:focus {
  top: 1rem;
}

/* 4. Utilidades propias (se combinan con las de Bootstrap)
   -------------------------------------------------------------------------- */
.bg-gm-tint { background-color: var(--gm-tint); }
.bg-gm-turq { background-color: var(--gm-turq-tint); }
.bg-gm-abyss { background-color: var(--gm-abyss); }
.bg-gm-deep { background-color: var(--gm-deep); }
.text-gm-ice { color: var(--gm-ice); }
.border-gm-turq { border-color: var(--gm-turq) !important; }
.gm-border-soft { border-color: rgba(255, 255, 255, .12) !important; }
.ratio-4x5 { --bs-aspect-ratio: 125%; }

/* Margen lateral de 16 px en todos los tamaños */
.container {
  --bs-gutter-x: 2rem;
}

.gm-svg {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

/* Secciones y titulares */
.gm-section {
  padding-block: clamp(4.5rem, 3rem + 6vw, 8.5rem);
}

.gm-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.gm-title {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -.025em;
}

.gm-title--xl {
  font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem);
}

.gm-lead {
  max-width: 38rem;
  font-size: 1.125rem;
  color: var(--bs-secondary-color);
}

.gm-offset {
  margin-top: clamp(2rem, 6vw, 4.5rem);
}

/* 5. Componentes reutilizables
   -------------------------------------------------------------------------- */

/* Bloque con imagen o vídeo de fondo y capa de color encima */
.gm-cover {
  --gm-overlay: linear-gradient(180deg, rgba(6, 31, 51, .15) 30%, rgba(6, 31, 51, .9));
  position: relative;
  isolation: isolate;
  background-color: var(--gm-deep);
}

.gm-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gm-overlay);
}

.gm-cover__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gm-cover--strong {
  --gm-overlay: linear-gradient(90deg, rgba(6, 31, 51, .95), rgba(6, 31, 51, .78) 50%, rgba(6, 31, 51, .55));
}

/* Tarjeta */
.gm-card {
  overflow: hidden;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius-xl);
  background: #fff;
}

.gm-card--glass {
  border-color: rgba(255, 255, 255, .2);
  background: rgba(6, 31, 51, .78);
  color: #fff;
}

.gm-card-title {
  font-size: clamp(1.3rem, 1.1rem + .6vw, 1.55rem);
  line-height: 1.2;
}

.gm-card-title--lg {
  font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.5rem);
}

.gm-card-title a {
  color: inherit;
  text-decoration: none;
}

.gm-card-title a:hover {
  color: var(--gm-blue);
}

.gm-zoom img {
  transition: transform 1s var(--gm-ease);
}

article:hover .gm-zoom img {
  transform: scale(1.04);
}

/* Icono redondo */
.gm-ico {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gm-turq);
  color: var(--gm-ink);
}

.gm-ico svg {
  width: 22px;
  height: 22px;
}

.gm-ico--lg {
  width: 72px;
  height: 72px;
  background: var(--gm-ice);
}

.gm-ico--lg svg {
  width: 30px;
  height: 30px;
}

.gm-ico--ring {
  box-shadow: 0 0 0 8px var(--gm-abyss), 0 0 0 10px rgba(127, 220, 232, .6);
}

.gm-ico--light {
  background: #fff;
  color: var(--gm-blue);
}

/* Botón con icono circular (se añade a .btn .btn-primary / .btn-light) */
.btn-primary {
  --bs-btn-bg: var(--gm-blue);
  --bs-btn-border-color: var(--gm-blue);
  --bs-btn-hover-bg: var(--gm-blue-dark);
  --bs-btn-hover-border-color: var(--gm-blue-dark);
  --bs-btn-active-bg: var(--gm-blue-dark);
  --bs-btn-active-border-color: var(--gm-blue-dark);
  --bs-btn-focus-shadow-rgb: 11, 99, 168;
}

.btn-light {
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-color: var(--gm-ink);
  --bs-btn-hover-bg: var(--gm-ice);
  --bs-btn-hover-border-color: var(--gm-ice);
}

.gm-btn {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  min-height: 54px;
  padding: .4rem .45rem .4rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
}

.gm-btn__ic {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--gm-blue);
  transition: transform .4s var(--gm-ease);
}

.btn-light .gm-btn__ic {
  background: var(--gm-ink);
  color: var(--gm-ice);
}

.gm-btn__ic svg {
  width: 16px;
  height: 16px;
}

.gm-btn:hover .gm-btn__ic {
  transform: translateX(3px);
}

/* Enlace con miniatura (Para saber más, artículos relacionados) */
.gm-minilink {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--gm-ink);
  font-family: var(--gm-font-display);
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.gm-minilink img {
  flex: none;
  width: 104px;
  height: 72px;
  border-radius: var(--bs-border-radius);
  object-fit: cover;
}

.gm-minilink:hover span {
  color: var(--gm-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Ola decorativa entre secciones */
.gm-wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  display: block;
  width: 100%;
  height: clamp(50px, 7vw, 110px);
}

.gm-wave--top {
  top: -1px;
  bottom: auto;
  transform: rotate(180deg);
}

/* Botón de pausa de vídeo */
.gm-vidbtn {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  background: rgba(6, 31, 51, .6);
  color: #fff;
}

.gm-vidbtn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Muestra el icono de pausa mientras se reproduce y el de reproducir cuando está pausado */
.gm-vidbtn .gm-vidbtn__play,
.gm-vidbtn.is-paused .gm-vidbtn__pause {
  display: none;
}

.gm-vidbtn.is-paused .gm-vidbtn__play {
  display: block;
}

.gm-vidbtn--box {
  right: 1rem;
  bottom: 1rem;
  pointer-events: auto;
}

/* 6. Cabecera y menú
   -------------------------------------------------------------------------- */
.gm-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  color: #fff;
}

.gm-header:not(.is-stuck):not(.gm-header--solid)::before {
  content: "";
  position: absolute;
  inset: 0 0 -40px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 31, 51, .55), transparent);
  pointer-events: none;
}

.gm-header.is-stuck,
.gm-header--solid {
  color: var(--gm-ink);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 30px -20px rgba(6, 31, 51, .45);
}

.gm-header.is-stuck {
  position: fixed;
  animation: gm-drop .6s var(--gm-ease);
}

.gm-header--solid {
  position: sticky;
}

/* Navbar de Bootstrap: hereda el color de la cabecera (blanco sobre foto, oscuro al fijarse) */
.gm-navbar {
  --bs-navbar-padding-y: .75rem;
  --bs-navbar-color: currentColor;
  --bs-navbar-hover-color: currentColor;
  --bs-navbar-active-color: currentColor;
  --bs-navbar-brand-color: currentColor;
  --bs-navbar-brand-hover-color: currentColor;
  --bs-navbar-toggler-border-color: rgba(11, 34, 51, .15);
  --bs-navbar-toggler-focus-width: 0;
}

.gm-header:not(.is-stuck):not(.gm-header--solid) .gm-navbar {
  --bs-navbar-toggler-border-color: rgba(255, 255, 255, .4);
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.gm-logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: inherit;
  text-decoration: none;
}

.gm-logo__mark {
  flex: none;
  width: clamp(38px, 30px + 2vw, 46px);
  height: clamp(38px, 30px + 2vw, 46px);
}

.gm-logo__name {
  display: block;
  max-width: 8em;
  font-family: var(--gm-font-display);
  font-size: clamp(.98rem, .9rem + .4vw, 1.1rem);
  font-weight: 600;
  line-height: 1.1;
}

.gm-logo__tag {
  margin-top: .3rem;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .24em;
  line-height: 1.4;
  text-transform: uppercase;
  opacity: .8;
}

.gm-nav .nav-link {
  font-weight: 600;
}

.gm-lang {
  --bs-btn-padding-x: .75rem;
  --bs-btn-padding-y: .4rem;
  --bs-btn-font-size: .85rem;
  --bs-btn-font-weight: 700;
  --bs-btn-color: currentColor;
  --bs-btn-border-color: rgba(255, 255, 255, .45);
  --bs-btn-hover-color: currentColor;
  --bs-btn-hover-bg: rgba(255, 255, 255, .14);
  --bs-btn-hover-border-color: currentColor;
  --bs-btn-active-color: currentColor;
  --bs-btn-active-border-color: currentColor;
  min-height: 40px;
  color: inherit;
  letter-spacing: .04em;
}

.is-stuck .gm-lang,
.gm-header--solid .gm-lang {
  --bs-btn-border-color: #C9DCE8;
  --bs-btn-hover-bg: var(--gm-tint);
}

.gm-lang + .dropdown-menu {
  --bs-dropdown-min-width: 9rem;
  --bs-dropdown-border-radius: 14px;
  --bs-dropdown-border-color: var(--gm-line);
  --bs-dropdown-link-active-bg: var(--gm-blue);
  --bs-dropdown-link-hover-bg: var(--gm-tint);
  padding: .35rem;
}

.gm-lang + .dropdown-menu .dropdown-item {
  border-radius: 10px;
  font-weight: 600;
}

/* 7. Hero
   -------------------------------------------------------------------------- */
.gm-hero {
  --gm-overlay:
    linear-gradient(90deg, rgba(6, 31, 51, .88) 0, rgba(6, 31, 51, .55) 45%, rgba(6, 31, 51, .2) 80%),
    linear-gradient(180deg, rgba(6, 31, 51, .5) 0, transparent 30%, transparent 70%, rgba(6, 31, 51, .6));
  padding: clamp(7rem, 5rem + 6vw, 10rem) 0 clamp(6rem, 4rem + 6vw, 9rem);
}

.gm-hero__title {
  margin-bottom: 1.25rem;
  font-size: clamp(2.8rem, 1.6rem + 5vw, 4.75rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.03em;
}

.gm-hero__lead {
  max-width: 32rem;
  font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem);
  color: var(--bs-secondary-color);
}

.gm-hero-posts li + li {
  border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent);
}

.gm-postlink {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .8rem .5rem;
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  transition: background-color .3s;
}

.gm-postlink:hover {
  background: color-mix(in srgb, currentColor 8%, transparent);
  color: inherit;
}

.gm-postlink img {
  flex: none;
  width: 88px;
  height: 66px;
  border-radius: 10px;
  object-fit: cover;
}

.gm-postlink__title {
  display: block;
  font-family: var(--gm-font-display);
  font-size: clamp(1.02rem, .95rem + .5vw, 1.2rem);
  font-weight: 700;
  line-height: 1.3;
}

/* 8. Secciones de la home
   -------------------------------------------------------------------------- */

/* Datos del glaciar */
.gm-stat {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  height: 100%;
  padding: 1.6rem;
}

.gm-stat dt {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--gm-font-display);
  font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem);
}

.gm-stat dt svg {
  width: 24px;
  height: 24px;
  color: var(--gm-ice);
}

.gm-stat dd {
  margin: 0;
  color: var(--bs-secondary-color);
  font-size: 1.05rem;
  line-height: 1.35;
}

.gm-stat strong {
  display: block;
  margin-bottom: .15rem;
  color: var(--gm-ice);
  font-family: var(--gm-font-display);
  font-size: clamp(2.1rem, 1.8rem + 1vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
}

.gm-stat a {
  text-decoration-color: var(--gm-ice);
  text-underline-offset: 3px;
}

/* Vídeo cuadrado */
.gm-vbox {
  max-width: 520px;
  overflow: hidden;
  border: 6px solid var(--gm-ice);
  border-radius: var(--bs-border-radius-xxl);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}

.gm-vbox > div {
  pointer-events: none;
}

/* Vídeo bajo el título de la cabecera (proporción original 16:9) */
.gm-vbox--hero {
  max-width: 32rem;
  border-width: 4px;
}

/* Ruta de El Calafate al glaciar */
.gm-route__topo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--gm-ice);
  opacity: .1;
}

/* Cada parada es una fila: icono a la izquierda y texto a la derecha */
.gm-stop {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.25rem;
  row-gap: .4rem;
  align-items: start;
  justify-items: start;
}

.gm-stop > .gm-ico {
  grid-row: span 3;
}

.gm-stop p {
  max-width: 34rem;
}

/* Mapa de Argentina (SVG en línea) */
.gm-map {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  margin-inline: auto;
}

.gm-map__nb {
  fill: rgba(255, 255, 255, .06);
  stroke: rgba(255, 255, 255, .16);
}

.gm-map__arg {
  fill: rgba(127, 220, 232, .2);
  stroke: var(--gm-ice);
  stroke-width: 1.2;
}

.gm-map text {
  fill: #fff;
  font-size: 14px;
  font-weight: 700;
}

.gm-map .gm-map__sub {
  fill: var(--gm-ice);
  font-size: 12px;
  font-weight: 400;
}

.gm-map__city circle {
  fill: #fff;
}

.gm-map__pin circle {
  fill: var(--gm-turq);
  stroke: #fff;
  stroke-width: 2;
}

.gm-map .gm-map__pulse {
  fill: none;
  stroke: var(--gm-turq);
  transform-box: fill-box;
  transform-origin: center;
  animation: gm-pulse 2.4s ease-out infinite;
}

.gm-pill {
  background: rgba(255, 255, 255, .12);
  font-size: .85rem;
  font-weight: 600;
}

/* Preguntas frecuentes (accordion de Bootstrap) */
.gm-faq {
  --bs-accordion-border-color: var(--gm-line);
  --bs-accordion-border-radius: 18px;
  --bs-accordion-inner-border-radius: 17px;
  --bs-accordion-btn-padding-x: 1.35rem;
  --bs-accordion-btn-padding-y: 1.1rem;
  --bs-accordion-body-padding-x: 1.35rem;
  --bs-accordion-active-color: var(--gm-blue);
  --bs-accordion-active-bg: #fff;
  --bs-accordion-btn-focus-box-shadow: 0 0 0 3px var(--gm-ice);
  display: grid;
  gap: .75rem;
}

.gm-faq .accordion-item {
  overflow: hidden;
  border: 1px solid var(--gm-line) !important;
  border-radius: 18px !important;
}

.gm-faq .accordion-button {
  font-size: 1.08rem;
  font-weight: 700;
}

.gm-faq .accordion-body {

  color: var(--bs-secondary-color);
}

/* Caja de ayuda con foto */
.gm-help {
  --gm-overlay: linear-gradient(180deg, rgba(6, 31, 51, 0) 30%, rgba(6, 31, 51, .9));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  height: 100%;
}

/* 9. Páginas interiores
   -------------------------------------------------------------------------- */
/* Cabecera con foto de fondo: blog, preguntas frecuentes y artículos */
.gm-pagehead {
  --gm-overlay: linear-gradient(180deg, rgba(6, 31, 51, .55), rgba(6, 31, 51, .85));
  padding: clamp(3rem, 2rem + 4vw, 5rem) 0 clamp(6rem, 4rem + 5vw, 8rem);
}

.gm-pagehead__title {
  margin-bottom: 1rem;
  font-size: clamp(2.3rem, 1.5rem + 3vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
}

.breadcrumb {
  --bs-breadcrumb-margin-bottom: 1.25rem;
  --bs-breadcrumb-divider-color: var(--bs-secondary-color);
  --bs-breadcrumb-item-active-color: var(--bs-secondary-color);
}

.breadcrumb a {
  text-decoration: none;
}

.gm-cta {
  min-height: 320px;
}

/* Texto de los artículos */
.gm-prose h2 {
  margin: 2.5rem 0 1rem;
  font-size: clamp(1.55rem, 1.3rem + .8vw, 1.95rem);
}

.gm-prose p,
.gm-prose ul {
  margin-bottom: 1.25rem;
}

.gm-prose a {
  font-weight: 600;
  text-underline-offset: 3px;
}

.gm-prose figure {
  margin: 2rem 0;
}

.gm-prose figure img {
  width: 100%;
  height: auto;
  border-radius: var(--bs-border-radius-xl);
}

/* Tabla comparativa dentro de un artículo (componente table de Bootstrap) */
.gm-table {
  --bs-table-bg: transparent;
  margin: 1.5rem 0 2rem;
}

.gm-table thead th {
  color: var(--gm-blue);
  border-bottom-width: 2px;
}

/* 10. Pie y botón de volver arriba
   -------------------------------------------------------------------------- */
.gm-footer {
  --bs-body-color: #B9D3E0;
  --bs-secondary-color: #B9D3E0;
  --bs-link-color-rgb: 185, 211, 224;
  padding-top: clamp(6rem, 5rem + 3vw, 8rem);
}

.gm-footer a {
  text-decoration: none;
}

.gm-footer .gm-logo {
  color: #fff;
}

.gm-footer__title {
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.gm-totop {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1020;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.gm-totop.is-visible {
  opacity: 1;
  visibility: visible;
}

.gm-totop svg {
  transform: rotate(-90deg);
}

/* 11. Animaciones
   -------------------------------------------------------------------------- */
@keyframes gm-drop {
  from { transform: translateY(-100%); }
  to { transform: none; }
}

@keyframes gm-rise {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: none; }
}

@keyframes gm-pulse {
  from { opacity: .9; transform: scale(1); }
  to { opacity: 0; transform: scale(2.6); }
}

/* Entrada suave de los bloques: main.js añade .gm-anim a <html> al arrancar
   y .is-visible a cada bloque al entrar en pantalla. Sin JS, todo se ve. */
.gm-anim .gm-reveal {
  transition: opacity .8s ease, transform .8s var(--gm-ease);
}

.gm-anim .gm-reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(32px);
}

/* El texto del hero aparece al cargar la página (no depende de JS) */
@media (prefers-reduced-motion: no-preference) {
  .gm-hero .container {
    animation: gm-rise .9s var(--gm-ease) both;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Las anclas no quedan tapadas por la cabecera fija */
section[id],
main[id] {
  scroll-margin-top: 5.5rem;
}

/* Marcador invisible al final del hero: al salir de pantalla fija la cabecera */
.gm-sentinel {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
}


/* sm ≥ 576 px
   -------------------------------------------------------------------------- */
@media (min-width: 576px) {
  .gm-logo__name {
    max-width: none;
    white-space: nowrap;
  }

  .gm-postlink img {
    width: 120px;
    height: 84px;
  }
}

/* lg ≥ 992 px
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  .gm-hero {
    display: flex;
    align-items: center;
    min-height: max(700px, min(100svh, 900px));
  }

  .gm-hero > .container {
    width: 100%;
  }

  /* El desenfoque de fondo solo en pantallas grandes: en móvil cuesta rendimiento */
  .gm-card--glass {
    background: rgba(6, 31, 51, .6);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  .gm-sticky {
    position: sticky;
    top: 6.5rem;
  }
}

/* xl ≥ 1200 px: el menú deja de ser offcanvas y se muestra en la barra
   -------------------------------------------------------------------------- */
@media (min-width: 1200px) {
  .gm-navbar {
    --bs-navbar-padding-y: 1rem;
  }

  .gm-navbar .offcanvas {
    color: inherit;
  }

  .gm-nav .nav-link {
    position: relative;
    padding-inline: .95rem;
  }

  .gm-nav .nav-link::after {
    content: "";
    position: absolute;
    left: .95rem;
    right: .95rem;
    bottom: .3rem;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform: scaleX(0);
    transition: transform .3s var(--gm-ease);
  }

  .gm-nav .nav-link:hover::after,
  .gm-nav .nav-link.active::after {
    transform: scaleX(1);
  }
}
