/* MSCxplorer T20.24.15 · Guías visuales de excursión · fuentes Kotor y Split reforzadas */
.t20-scale-title{margin:.15rem 0 .2rem!important}
.t20-scale-guide-link{appearance:none;-webkit-appearance:none;border:0;background:transparent;padding:0;margin:0;width:100%;text-align:left;color:inherit;font:inherit;cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;gap:.22rem;border-radius:14px;position:relative}
.t20-scale-guide-link>span{display:inline-flex;align-items:center;gap:.45rem;color:#082c4d;border-bottom:2px solid rgba(197,151,44,.52);line-height:1.08}
.t20-scale-guide-link>span:after{content:'›';display:inline-grid;place-items:center;width:1.55rem;height:1.55rem;border-radius:50%;background:linear-gradient(145deg,#0b4f7d,#082c4d);color:#fff;font-size:1.05rem;box-shadow:0 5px 14px rgba(8,44,77,.18)}
.t20-scale-guide-link>small{display:inline-flex;align-items:center;gap:.35rem;padding:.28rem .52rem;border-radius:999px;background:linear-gradient(135deg,#fff8dc,#f4e5aa);border:1px solid rgba(190,145,31,.45);color:#71520a;font-size:.7rem;font-weight:800;letter-spacing:.035em;text-transform:uppercase}
.t20-scale-guide-link:focus-visible{outline:3px solid rgba(23,110,178,.35);outline-offset:4px}

.mscx-detail.t20-guide-open{padding:0!important;max-width:none!important}
.mscx-detail.t20-guide-open > :not(.t20-excursion-guide){display:none!important}

/* T20.24.2: la guía solo existe visualmente mientras está abierta. Al cerrar,
   JavaScript la elimina y este selector evita cualquier residuo si una transición
   o una restauración del navegador retrasa la eliminación. */
.mscx-detail.t20-guide-open > .t20-excursion-guide{display:block!important}
.t20-excursion-guide{display:none!important;min-height:100vh;background:linear-gradient(180deg,#061f34 0,#0a3657 18rem,#edf4f8 18rem,#edf4f8 100%);color:#153449;margin:0 -1px;overflow:hidden}
.t20g-sticky{position:sticky;top:64px;z-index:19;display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.65rem max(.8rem,env(safe-area-inset-right)) .65rem max(.8rem,env(safe-area-inset-left));background:rgba(6,31,52,.92);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,.1);color:#fff}
html.mscx-standalone .t20g-sticky{top:calc(64px + env(safe-area-inset-top,0px))}
.t20g-sticky button{appearance:none;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:rgba(255,255,255,.08);color:#fff;padding:.52rem .72rem;font-weight:800;font-size:.82rem}
.t20g-sticky span{font-size:.68rem;text-transform:uppercase;letter-spacing:.09em;font-weight:800;color:#f4d575}
.t20g-hero{position:relative;isolation:isolate;text-align:center;padding:2.15rem 1rem 2.7rem;color:#fff;overflow:hidden}
.t20g-hero:before,.t20g-hero:after{content:'';position:absolute;z-index:-2;border-radius:50%;filter:blur(1px)}
.t20g-hero:before{width:250px;height:250px;right:-95px;top:-75px;background:radial-gradient(circle,rgba(244,213,117,.28),rgba(244,213,117,0) 70%)}
.t20g-hero:after{width:220px;height:220px;left:-110px;bottom:-90px;background:radial-gradient(circle,rgba(49,151,211,.24),rgba(49,151,211,0) 70%)}
.t20g-hero-glow{position:absolute;inset:0;z-index:-3;background:radial-gradient(circle at 50% 25%,rgba(255,255,255,.12),transparent 36%),linear-gradient(145deg,#0a4168,#05283f 58%,#061d30)}
.t20g-icon{display:grid;place-items:center;width:4.35rem;height:4.35rem;margin:0 auto .85rem;border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.2),rgba(255,255,255,.07));border:1px solid rgba(255,255,255,.2);font-size:2.15rem;box-shadow:0 14px 30px rgba(0,0,0,.22)}
.t20g-eyebrow{font-size:.74rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#f4d575;margin-bottom:.45rem}
.t20g-hero h2{font-size:clamp(2.15rem,10vw,3.55rem)!important;line-height:.96!important;color:#fff!important;margin:.15rem 0 .55rem!important;letter-spacing:-.035em}
.t20g-hero>p{font-size:1.08rem;font-weight:700;color:#dceaf3;margin:0 auto;max-width:28rem}
.t20g-scrollhint{display:inline-flex;align-items:center;gap:.45rem;margin-top:1.2rem;padding:.48rem .72rem;border-radius:999px;background:rgba(255,255,255,.09);font-size:.72rem;color:#d9e8f1}
.t20g-scrollhint span{color:#f4d575;font-size:1rem}
.t20g-body{position:relative;z-index:2;max-width:820px;margin:-1.2rem auto 0;padding:0 .78rem max(2rem,env(safe-area-inset-bottom));}
.t20g-intro{margin-bottom:.9rem;padding:1rem 1.05rem;border-radius:18px;background:linear-gradient(145deg,#fff9df,#fffdf4);border:1px solid rgba(192,148,34,.42);box-shadow:0 10px 30px rgba(6,31,52,.09)}
.t20g-intro>span{display:block;font-size:.68rem;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:#735305;margin-bottom:.35rem}
.t20g-intro p{margin:0;color:#28445a;line-height:1.5;font-size:.94rem}
.t20g-section{margin:.82rem 0;padding:1rem;border-radius:20px;background:#fff;border:1px solid rgba(16,66,101,.1);box-shadow:0 8px 28px rgba(6,31,52,.065)}
.t20g-section>header{display:flex;align-items:flex-start;gap:.68rem;margin-bottom:.7rem}
.t20g-section>header>span{flex:0 0 auto;display:grid;place-items:center;min-width:2rem;height:2rem;padding:0 .35rem;border-radius:10px;background:linear-gradient(145deg,#0b527f,#073556);color:#fff;font-size:.75rem;font-weight:900;box-shadow:0 5px 12px rgba(7,53,86,.15)}
.t20g-section h3{margin:.08rem 0 0!important;color:#082f4f!important;font-size:1.25rem!important;line-height:1.15!important}
.t20g-lead{margin:.1rem 0 .82rem;color:#38536a;line-height:1.52;font-size:.93rem}
.t20g-route{display:grid;gap:.6rem}
.t20g-route-step{display:grid;grid-template-columns:2.25rem 1fr;gap:.7rem;align-items:start;padding:.72rem;border-radius:15px;background:linear-gradient(135deg,#f4f9fc,#edf4f8);border:1px solid rgba(16,84,126,.11)}
.t20g-route-n{display:grid;place-items:center;width:2.25rem;height:2.25rem;border-radius:50%;background:#0b527f;color:#fff;font-weight:900;box-shadow:0 5px 12px rgba(11,82,127,.18)}
.t20g-route-step b{display:block;color:#0a3556;font-size:.94rem}
.t20g-route-step small{display:inline-block;margin-top:.1rem;color:#a17712;font-weight:800;font-size:.7rem;text-transform:uppercase;letter-spacing:.04em}
.t20g-route-step p{margin:.26rem 0 0;color:#4a6174;line-height:1.38;font-size:.84rem}
.t20g-card-grid{display:grid;gap:.65rem}
.t20g-card{padding:.86rem;border-radius:16px;background:linear-gradient(145deg,#fbfdff,#f2f7fa);border:1px solid rgba(16,84,126,.12)}
.t20g-card h4{margin:0 0 .36rem!important;color:#0a4168!important;font-size:1rem!important;line-height:1.2!important}
.t20g-card>p{margin:0;color:#38536a;line-height:1.48;font-size:.9rem}
.t20g-look{margin-top:.62rem;padding:.62rem .68rem;border-radius:12px;background:linear-gradient(135deg,#fff8dd,#fffdf2);border-left:4px solid #d6aa38}
.t20g-look span{display:block;color:#785708;font-size:.67rem;font-weight:900;text-transform:uppercase;letter-spacing:.055em;margin-bottom:.2rem}
.t20g-look p{margin:0;color:#5b4d27;line-height:1.38;font-size:.82rem}
.t20g-callout{display:grid;grid-template-columns:2rem 1fr;gap:.7rem;margin-top:.75rem;padding:.8rem .85rem;border-radius:15px;background:linear-gradient(145deg,#082f4f,#0a476f);color:#fff;box-shadow:0 8px 22px rgba(8,47,79,.16)}
.t20g-callout>span{display:grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:rgba(244,213,117,.16);color:#f4d575;font-size:1.1rem}
.t20g-callout p{margin:0;color:#edf7fc;line-height:1.46;font-size:.88rem}
.t20g-verdict{margin-top:.75rem;padding:.82rem .9rem;border-radius:15px;background:linear-gradient(145deg,#fff5c8,#fffaf0);border:1px solid rgba(197,151,44,.45)}
.t20g-verdict b{display:block;color:#624805;text-transform:uppercase;font-size:.7rem;letter-spacing:.06em;margin-bottom:.3rem}
.t20g-verdict p{margin:0;color:#4f482f;line-height:1.46;font-size:.88rem}
.t20g-plan{display:grid;gap:.6rem}
.t20g-plan article{display:grid;grid-template-columns:4.25rem 1fr;gap:.65rem;padding:.72rem;border-radius:14px;background:#f4f8fb;border:1px solid rgba(16,84,126,.1)}
.t20g-plan article>span{display:grid;place-items:center;min-height:2rem;padding:.2rem .35rem;border-radius:10px;background:#0b527f;color:#fff;text-align:center;font-weight:900;font-size:.72rem}
.t20g-plan b{display:block;color:#0a3556;font-size:.88rem;line-height:1.25}
.t20g-plan p{margin:.23rem 0 0;color:#50677a;font-size:.8rem;line-height:1.38}
.t20g-sources{margin-bottom:1rem}
.t20g-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}
.t20g-source-grid a{position:relative;display:flex;flex-direction:column;justify-content:center;min-height:68px;padding:.68rem 2rem .68rem .72rem;border-radius:14px;background:#f3f8fb;border:1px solid rgba(12,79,121,.14);text-decoration:none!important}
.t20g-source-grid a small{color:#7d681c;font-size:.62rem;text-transform:uppercase;letter-spacing:.05em;font-weight:900}
.t20g-source-grid a b{margin-top:.16rem;color:#0b4167;font-size:.79rem;line-height:1.2}
.t20g-source-grid a>span{position:absolute;right:.68rem;top:50%;transform:translateY(-50%);color:#b18a21;font-size:1rem}
.t20g-note{margin:.75rem 0 0;padding-top:.65rem;border-top:1px dashed rgba(19,70,105,.2);color:#627587;font-size:.74rem;line-height:1.45}

@media(max-width:620px){
  .t20-excursion-guide{margin-left:calc(-1 * var(--mscx-port-safe-x,0px));margin-right:calc(-1 * var(--mscx-port-safe-x,0px))}
  .t20g-hero{padding-top:1.65rem;padding-bottom:2.35rem}
  .t20g-body{padding-left:.65rem;padding-right:.65rem}
  .t20g-section{padding:.86rem;border-radius:18px}
  .t20g-source-grid{grid-template-columns:1fr}
  .t20g-plan article{grid-template-columns:3.7rem 1fr}
}
@media(prefers-reduced-motion:no-preference){
  .t20g-card,.t20g-route-step{animation:t20gFade .34s ease both}
  .t20g-card:nth-child(2),.t20g-route-step:nth-child(2){animation-delay:.035s}.t20g-card:nth-child(3),.t20g-route-step:nth-child(3){animation-delay:.07s}.t20g-card:nth-child(4),.t20g-route-step:nth-child(4){animation-delay:.105s}
  @keyframes t20gFade{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
}

/* =========================================================
   MSCxplorer T20.24.5 · CONTRASTE GUÍAS DE EXCURSIÓN
   La ficha MSCxplorer histórica fuerza texto blanco con
   !important. Este blindaje queda limitado exclusivamente a
   la nueva guía visual para garantizar alto contraste en iPhone.
   ========================================================= */
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-body,
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-section,
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-card,
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-route-step,
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-plan article,
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-source-grid a{
  color:#102f46!important;
  -webkit-text-fill-color:#102f46!important;
}

/* Papel claro + tinta oscura: lectura principal */
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-section{
  background:#ffffff!important;
  border-color:#c9dbe7!important;
}
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-card{
  background:linear-gradient(145deg,#ffffff,#eef6fb)!important;
  border-color:#c9dce8!important;
}
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-route-step,
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-plan article,
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-source-grid a{
  background:#f2f8fc!important;
  border-color:#bfd5e3!important;
}

.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-section h3{
  color:#052f4f!important;
  -webkit-text-fill-color:#052f4f!important;
}
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-card h4,
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-route-step b,
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-plan b,
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-source-grid a b{
  color:#073a60!important;
  -webkit-text-fill-color:#073a60!important;
}
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-lead,
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-card>p,
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-route-step p,
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-plan p{
  color:#243f53!important;
  -webkit-text-fill-color:#243f53!important;
}
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-route-step small,
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-source-grid a small{
  color:#785707!important;
  -webkit-text-fill-color:#785707!important;
}
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-source-grid a>span{
  color:#9a7416!important;
  -webkit-text-fill-color:#9a7416!important;
}
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-note{
  color:#465f71!important;
  -webkit-text-fill-color:#465f71!important;
}

/* Introducción y bloques dorados: marfil claro + texto oscuro */
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-intro{
  background:linear-gradient(145deg,#fff7d2,#fffdf3)!important;
  border-color:#d7b64f!important;
}
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-intro>span{
  color:#644900!important;
  -webkit-text-fill-color:#644900!important;
}
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-intro p{
  color:#1e394d!important;
  -webkit-text-fill-color:#1e394d!important;
}
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-look{
  background:linear-gradient(135deg,#fff4c7,#fffbed)!important;
  border-left-color:#c49316!important;
}
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-look span{
  color:#624700!important;
  -webkit-text-fill-color:#624700!important;
}
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-look p{
  color:#423817!important;
  -webkit-text-fill-color:#423817!important;
}
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-verdict{
  background:linear-gradient(145deg,#ffefaa,#fff9e7)!important;
  border-color:#d0a52f!important;
}
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-verdict b{
  color:#574000!important;
  -webkit-text-fill-color:#574000!important;
}
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-verdict p{
  color:#393316!important;
  -webkit-text-fill-color:#393316!important;
}

/* Elementos sobre azul: texto blanco explícito */
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-sticky,
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-sticky button,
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-hero,
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-hero h2,
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-callout,
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-callout p,
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-route-n,
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-plan article>span{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-sticky span,
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-eyebrow,
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-scrollhint span,
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-callout>span{
  color:#f4d575!important;
  -webkit-text-fill-color:#f4d575!important;
}
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-hero>p,
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-scrollhint{
  color:#e7f2f8!important;
  -webkit-text-fill-color:#e7f2f8!important;
}

/* Enlace de entrada desde el nombre de la escala */
.mscx-detail .t20-scale-guide-link>span{
  color:#082c4d!important;
  -webkit-text-fill-color:#082c4d!important;
}
.mscx-detail .t20-scale-guide-link>small{
  color:#674a06!important;
  -webkit-text-fill-color:#674a06!important;
}


/* =========================================================
   MSCxplorer T20.24.5 · AJUSTE VISUAL IPHONE
   1) La barra «Volver a la ficha» queda inmediatamente bajo
      la navegación principal, sin la cámara de aire heredada
      del ajuste general PWA.
   2) Los marcadores 01/02/03 y los números del recorrido
      quedan con contraste explícito alto.
   ========================================================= */

/* Solo mientras la guía está abierta: el main exterior conserva únicamente
   una separación mínima. En PWA, se mantiene la compensación de safe-area
   necesaria para no quedar debajo de la barra principal. */
html.t20-guide-active body>main{
  padding-top:4px!important;
}
html.mscx-standalone.t20-guide-active body>main,
html.pwa-standalone.t20-guide-active body>main{
  padding-top:calc(env(safe-area-inset-top,0px) + 4px)!important;
}

/* El main interno de la guía no debe heredar los 68/70 px del ajuste PWA. */
html.t20-guide-active .t20g-body{
  padding-top:0!important;
}

/* La fila de retorno se pega visualmente a la parte inferior de la navegación. */
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-sticky{
  top:64px!important;
}
html.mscx-standalone.t20-guide-active .t20-excursion-guide .t20g-sticky,
html.pwa-standalone.t20-guide-active .t20-excursion-guide .t20g-sticky{
  top:calc(64px + env(safe-area-inset-top,0px))!important;
}

/* Marcador de sección 01, 02, 03... y estrella de recorrido. */
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-section>header>span{
  min-width:2.2rem!important;
  height:2.2rem!important;
  border-radius:11px!important;
  background:linear-gradient(145deg,#0d6599,#063c63)!important;
  border:1px solid rgba(244,213,117,.78)!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  font-size:.82rem!important;
  font-weight:950!important;
  text-shadow:0 1px 2px rgba(0,0,0,.35)!important;
  box-shadow:0 6px 14px rgba(6,49,81,.22)!important;
}

/* Números redondos del recorrido: contraste reforzado. */
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-route-n{
  background:#075f91!important;
  border:2px solid rgba(244,213,117,.76)!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  font-size:.86rem!important;
  font-weight:950!important;
  text-shadow:0 1px 2px rgba(0,0,0,.32)!important;
}


/* =========================================================
   MSCxplorer T20.24.5 · AJUSTE SOLICITADO
   - «Volver a la ficha» sube exactamente 2 cm respecto a T20.24.3.
   - Se elimina el rótulo lateral «Guía de excursión».
   ========================================================= */
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-sticky{
  margin-top:-2cm!important;
  justify-content:flex-start!important;
}
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-sticky>span{
  display:none!important;
}

/* =========================================================
   MSCxplorer T20.24.5 · RETORNO LIMPIO EN GUÍAS
   Corrección de T20.24.5:
   - se elimina el desplazamiento negativo que hacía que la
     barra «Volver a la ficha» invadiera el título del hero;
   - en PWA la barra se coloca justo bajo la navegación,
     sin sumar de nuevo el safe-area que ya absorbe la cabecera;
   - el botón mantiene una franja propia y el hero empieza debajo.
   ========================================================= */
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-sticky{
  margin-top:0!important;
  top:64px!important;
  min-height:48px!important;
  padding:.45rem max(.8rem,env(safe-area-inset-right)) .45rem max(.8rem,env(safe-area-inset-left))!important;
  background:#061f34!important;
  border-bottom:1px solid rgba(255,255,255,.10)!important;
  justify-content:flex-start!important;
}
html.mscx-standalone.t20-guide-active .t20-excursion-guide .t20g-sticky,
html.pwa-standalone.t20-guide-active .t20-excursion-guide .t20g-sticky{
  top:64px!important;
}
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-sticky button{
  margin:0!important;
  min-height:36px!important;
  padding:.45rem .8rem!important;
  border-color:rgba(255,255,255,.30)!important;
  background:rgba(255,255,255,.10)!important;
  box-shadow:none!important;
}
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-sticky>span{
  display:none!important;
}
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-hero{
  padding-top:1.45rem!important;
}

/* =========================================================
   MSCxplorer T20.24.6 · CABECERA LIMPIA DE GUÍA
   - La barra «Volver a la ficha» deja de ser sticky para no
     superponerse al hero durante el desplazamiento.
   - Se elimina la línea inferior que cruzaba visualmente el
     icono de la escala.
   - El icono queda íntegramente dentro del hero.
   ========================================================= */
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-sticky{
  position:relative!important;
  top:auto!important;
  margin-top:0!important;
  border-bottom:0!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  z-index:3!important;
}
html.mscx-standalone.t20-guide-active .t20-excursion-guide .t20g-sticky,
html.pwa-standalone.t20-guide-active .t20-excursion-guide .t20g-sticky{
  top:auto!important;
}
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-hero{
  padding-top:1.6rem!important;
}
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-icon{
  position:relative!important;
  z-index:2!important;
  margin-top:0!important;
  transform:none!important;
}


/* =========================================================
   MSCxplorer T20.24.7 · RETORNO INTEGRADO EN HERO
   - Se elimina la franja azul marino independiente que seguía
     atravesando visualmente el icono de la escala.
   - «Volver a la ficha» pasa a apoyarse directamente sobre el
     fondo del hero, sin banda horizontal propia.
   - El hero gana espacio superior para que icono y botón no se
     molesten entre sí.
   ========================================================= */
.mscx-detail.t20-guide-open .t20-excursion-guide{
  position:relative!important;
}
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-sticky{
  position:absolute!important;
  top:0!important;
  left:0!important;
  right:0!important;
  margin-top:0!important;
  min-height:0!important;
  padding:.7rem max(.95rem,env(safe-area-inset-right)) 0 max(.95rem,env(safe-area-inset-left))!important;
  background:transparent!important;
  border-bottom:0!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  z-index:4!important;
}
html.mscx-standalone.t20-guide-active .t20-excursion-guide .t20g-sticky,
html.pwa-standalone.t20-guide-active .t20-excursion-guide .t20g-sticky{
  top:0!important;
}
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-sticky button{
  margin:0!important;
  min-height:38px!important;
  padding:.52rem .92rem!important;
  background:rgba(7,48,75,.9)!important;
  border:1px solid rgba(255,255,255,.28)!important;
  box-shadow:0 8px 18px rgba(0,0,0,.18)!important;
}
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-hero{
  padding-top:4.85rem!important;
}
.mscx-detail.t20-guide-open .t20-excursion-guide .t20g-icon{
  margin-top:.15rem!important;
}


/* =========================================================
   MSCxplorer T20.24.8 · SELECTOR DE NAVEGADOR
   - Solo afecta a enlaces web externos dentro de las guías.
   - Permite abrir expresamente en Chrome en iPhone/iPad.
   - Mantiene una opción de navegador predeterminado.
   ========================================================= */
.t20g-browser-sheet[hidden]{display:none!important}
.t20g-browser-sheet{
  position:fixed!important;
  inset:0!important;
  z-index:99999!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
  padding:max(1rem,env(safe-area-inset-top)) max(1rem,env(safe-area-inset-right)) calc(1rem + env(safe-area-inset-bottom)) max(1rem,env(safe-area-inset-left))!important;
  background:rgba(3,22,37,.58)!important;
  backdrop-filter:blur(10px)!important;
  -webkit-backdrop-filter:blur(10px)!important;
}
.t20g-browser-card{
  width:min(100%,31rem)!important;
  border-radius:24px!important;
  padding:1rem!important;
  background:linear-gradient(180deg,#ffffff 0%,#f3f8fb 100%)!important;
  border:1px solid rgba(13,82,124,.18)!important;
  box-shadow:0 24px 60px rgba(0,0,0,.28)!important;
  color:#0b3553!important;
  -webkit-text-fill-color:#0b3553!important;
}
.t20g-browser-card h3{
  margin:.15rem 0 .3rem!important;
  font-size:1.15rem!important;
  line-height:1.15!important;
  color:#082f4d!important;
  -webkit-text-fill-color:#082f4d!important;
}
.t20g-browser-card p{
  margin:0 0 .85rem!important;
  font-size:.82rem!important;
  line-height:1.35!important;
  color:#496579!important;
  -webkit-text-fill-color:#496579!important;
  word-break:break-word!important;
}
.t20g-browser-actions{
  display:grid!important;
  gap:.55rem!important;
}
.t20g-browser-btn{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:100%!important;
  min-height:48px!important;
  border-radius:16px!important;
  border:1px solid #b9cfdd!important;
  background:#ffffff!important;
  color:#0b3553!important;
  -webkit-text-fill-color:#0b3553!important;
  font:inherit!important;
  font-weight:850!important;
  font-size:.94rem!important;
  text-align:left!important;
  padding:.72rem .85rem!important;
  box-shadow:0 5px 14px rgba(7,57,91,.07)!important;
}
.t20g-browser-btn strong{
  display:block!important;
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
}
.t20g-browser-btn small{
  display:block!important;
  margin-top:.15rem!important;
  color:#657e90!important;
  -webkit-text-fill-color:#657e90!important;
  font-size:.72rem!important;
  font-weight:700!important;
}
.t20g-browser-btn.chrome{
  background:linear-gradient(135deg,#0a5e91,#073c63)!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  border-color:#d5b653!important;
}
.t20g-browser-btn.chrome small{
  color:#dcecf5!important;
  -webkit-text-fill-color:#dcecf5!important;
}
.t20g-browser-btn.cancel{
  background:#eef4f7!important;
  text-align:center!important;
  color:#466173!important;
  -webkit-text-fill-color:#466173!important;
}
@media (min-width:700px){
  .t20g-browser-sheet{align-items:center!important}
}


/* T20.24.13 · selector iOS/PWA conservado; fuente oficial de Corfú reforzada. */
.t20g-browser-actions a.t20g-browser-btn{
  text-decoration:none!important;
  display:flex!important;
  box-sizing:border-box!important;
  width:100%!important;
}
