/* ctxd-gyg-v1.css · 9-nov-2026 · patrones de diseño tomados de GetYourGuide con la marca CTXplorer
   (rojo #e63946, sus fuentes y sus variables claro/oscuro). Va en MOVIL_TAGS después de ctxd-ficha-v3.css.
   §1 losetas de datos clave (#ctxd-gyg-kf, las crea ctxd-gyg-v1.js desde el JSON-LD Event de la ficha)
   §2 secciones de la ficha a dos columnas en escritorio (título a la izquierda, contenido a la derecha)
   §3 insignia roja «Últimos días» en el borde de la tarjeta de precio (solo si es cierto; la pone el JS)
   §4 tarjetas de evento de listados: título en negrita, precio «Desde» abajo a la derecha, chip «Gratis» sobre la foto */
:root{--gyk-box:#f1f1f4;--gyk-badge:#c1121f}
.dark{--gyk-box:#1f1f24;--gyk-badge:#d62839}

/* §1 */
#ctxd-gyg-kf{display:grid;grid-template-columns:minmax(0,1fr);gap:18px 28px;margin:0;padding:20px 0 4px;list-style:none;border-top:1px solid var(--border)}
@media (min-width:640px){#ctxd-gyg-kf{grid-template-columns:repeat(2,minmax(0,1fr))}}
#ctxd-gyg-kf>li{display:flex;gap:14px;align-items:flex-start;min-width:0;margin:0;padding:0}
#ctxd-gyg-kf>li::before{content:none}
#ctxd-gyg-kf .gyk-i{flex:0 0 48px;width:48px;height:48px;border-radius:12px;background:var(--gyk-box);display:flex;align-items:center;justify-content:center;color:var(--fg)}
#ctxd-gyg-kf .gyk-i svg{width:22px;height:22px}
#ctxd-gyg-kf .gyk-t{display:block;font-weight:700;font-size:1rem;line-height:1.35;color:var(--fg);margin:3px 0 0;overflow-wrap:anywhere}
#ctxd-gyg-kf .gyk-s{display:block;font-size:.875rem;line-height:1.4;color:var(--text-secondary);margin:2px 0 0}

/* §2 */
@media (min-width:1024px){
  .g-blk:has(>h2.g-h2:first-child),#section-keyfacts:has(>h2:first-child){display:grid!important;grid-template-columns:minmax(0,27%) minmax(0,1fr);column-gap:32px;align-items:start;padding-top:24px;border-top:1px solid var(--border)}
  .g-blk>h2.g-h2:first-child,#section-keyfacts>h2:first-child{grid-column:1;grid-row:1/span 40;margin:0!important;font-size:1.125rem;line-height:1.35}
  .g-blk:has(>h2.g-h2:first-child)>:not(h2:first-child),#section-keyfacts:has(>h2:first-child)>:not(h2:first-child){grid-column:2;min-width:0}
  .g-blk:has(>h2.g-h2:first-child)>:nth-child(2),#section-keyfacts:has(>h2:first-child)>:nth-child(2){margin-top:0}
}

/* §3 */
#g-precio:has(>[data-gyg-badge]){overflow:visible!important;position:relative}
#g-precio:has(>[data-gyg-badge])>.h-1:first-of-type{border-radius:15px 15px 0 0}
#g-precio>[data-gyg-badge]{position:absolute;top:-12px;left:20px;z-index:3;background:var(--gyk-badge);color:#fff;font-size:12px;font-weight:700;line-height:1;padding:6px 10px;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.18);letter-spacing:.01em;pointer-events:none}

/* §4 */
article.event-card-premium h3{font-weight:700}
article.event-card-premium>div.p-3>.mt-auto span[class=""]::before{content:"Desde ";font-size:.8125rem;font-weight:400;color:var(--text-secondary)}
@media (min-width:640px){
  article.event-card-premium>div.p-3>.mt-auto{justify-content:flex-end}
}
article.event-card-premium>div.relative:first-child>div.absolute.top-3.left-3{background:#1d7a6e!important;text-transform:none;letter-spacing:.01em;border-radius:6px;font-size:12px;padding:4px 8px;line-height:1.2}
article.event-card-premium:has(>div.p-3 span.text-\[\#2a9d8f\]):not(:has(>div.relative:first-child>div.absolute.top-3.left-3))>div.relative:first-child::after{content:"Gratis";position:absolute;bottom:8px;left:8px;z-index:2;background:#1d7a6e;color:#fff;font-size:12px;font-weight:700;line-height:1.2;padding:4px 8px;border-radius:6px;pointer-events:none}
