/* Weekend: plantilla común. Tipografía, colores, sello, botones, CTA y footer vienen de styles.css. */
.weekend-page figure { margin: 0; }
.weekend-page .wk-hero { position: relative; padding-top: calc(var(--topbar-pad) + var(--topbar-h) + 32px); }
/* Hero: los textos a la izquierda y a la derecha las tarjetas de información, centradas en alto con el bloque de texto */
.wk-hero__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); gap: 32px 64px; align-items: start; }
.wk-hero__copy { align-self: start; padding-top: calc(var(--seal-top) + var(--seal) + 36px - var(--topbar-pad) - var(--topbar-h) - 32px); }
.wk-hero h1 { margin-top: 24px; font-size: clamp(58px, 6.4vw, 98px); font-weight: 600; line-height: 0.96; letter-spacing: -0.055em; }
.wk-hero h1 > span { color: var(--c-white); }
.wk-hero__meta { display: grid; gap: 10px; margin-top: 28px; font-size: 16px; font-weight: 500; }
.wk-hero__meta p { display: flex; align-items: center; gap: 12px; }
.wk-hero__meta svg { flex: none; width: 22px; height: 22px; color: var(--c-white); }
.wk-hero__lead { max-width: 470px; margin-top: 24px; font-weight: 500; font-size: 17px; line-height: 1.65; color: var(--c-dim); }
.wk-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.wk-hero__actions .btn { padding-inline: 23px; font-size: 14px; }
/* Centrado con el bloque de texto (sin contar el aire del sello, que es su padding-top): el mismo desfase arriba
   y 60px de margen negativo a cada lado, así las tarjetas pueden ser más altas que el texto sin moverlo */
.wk-hero__mosaic { align-self: center; min-width: 0; margin-block: calc(var(--seal-top) + var(--seal) + 36px - var(--topbar-pad) - var(--topbar-h) - 32px - 60px) -60px; }
/* Tarjetas de información: la experiencia a dos alturas a la izquierda; a la derecha la edición y debajo la ruta
   en barco (azul oscuro) y los días. 16px entre tarjetas */
.wk-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(clamp(200px, 19vw, 280px), auto)); grid-template-areas: "intro intro stamp stamp" "intro intro route days"; gap: var(--card-gap); }
.wk-cards .wk-intro-card { grid-area: intro; }
.wk-cards .wk-hero__stamp { grid-area: stamp; }
.wk-cards .wk-fact--blue { grid-area: days; }
.wk-cards .wk-route { grid-area: route; }
.wk-hero__stamp { display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; border-radius: 22px; background: var(--c-blue-axis); color: var(--c-bg); }
.wk-hero__stamp > strong { margin: 0 0 12px -0.05em; font-size: clamp(56px, 5.8vw, 92px); font-weight: 600; letter-spacing: -0.07em; line-height: 1; }
.wk-hero__stamp p { font-size: clamp(19px, 1.55vw, 24px); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.wk-intro-card { display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; border-radius: 22px; background: var(--c-blue-ice); color: var(--c-bg); }
/* Logo opcional de la edición (p. ej. 20 aniversario en 2023): arriba a la izquierda, con los textos abajo */
.wk-intro-card__logo { align-self: flex-start; width: clamp(150px, 13vw, 210px); height: auto; margin-bottom: auto; }
.wk-intro-card__logo + h2,
.wk-intro-card__logo + .wk-intro-card__text { padding-top: 32px; }
.wk-intro-card h2 { font-size: clamp(36px, 3.4vw, 54px); font-weight: 600; line-height: 1.08; letter-spacing: -0.04em; }
.wk-intro-card p { margin-top: 18px; font-weight: 500; font-size: 17px; line-height: 1.6; }   /* como las entradillas bajo los h2 (.lead) */
/* De fondo, una foto vertical de la galería de la edición: textos en blanco sobre un degradado oscuro abajo y, si hay
   logo, otro suave arriba para que el logo (en blanco) se lea sobre el cielo */
.wk-intro-card--photo { --ov: 1; position: relative; isolation: isolate; overflow: hidden; background: var(--c-navy-2); color: var(--c-white); }   /* --ov: intensidad de la capa oscura (1 = la de diseño); cada edición fija la suya en el style de la tarjeta */
.wk-intro-card__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.wk-intro-card--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9, 26, 46, 0) 32%, rgba(9, 26, 46, min(1, 0.55 * var(--ov))) 56%, rgba(9, 26, 46, min(1, 0.92 * var(--ov)))); pointer-events: none; }
.wk-intro-card--photo:has(.wk-intro-card__logo)::before { background: linear-gradient(180deg, rgba(9, 26, 46, min(1, 0.6 * var(--ov))), rgba(9, 26, 46, 0) 26%, rgba(9, 26, 46, 0) 34%, rgba(9, 26, 46, min(1, 0.55 * var(--ov))) 56%, rgba(9, 26, 46, min(1, 0.92 * var(--ov)))); }
.wk-intro-card--photo .wk-intro-card__logo { filter: brightness(0) invert(1); }
.wk-intro-card--photo p { color: rgba(248, 250, 255, 0.86); }
/* Sombra extra justo detrás del título y el texto (va con su bloque, así los cubre a cualquier ancho): empieza un poco
   por encima del título y llega hasta el borde de abajo de la tarjeta */
.wk-intro-card__text { position: relative; }
.wk-intro-card--photo .wk-intro-card__text::before { content: ""; position: absolute; z-index: -1; inset: -80px -28px -28px; background: linear-gradient(180deg, rgba(9, 26, 46, 0), rgba(9, 26, 46, 0.4) 40%, rgba(9, 26, 46, 0.55)); pointer-events: none; }
.wk-fact { display: grid; align-content: end; gap: 14px; padding: 24px; border-radius: 22px; background: var(--c-blue-axis); color: var(--c-bg); }
.wk-fact--blue { background: var(--c-blue); color: var(--c-white); }
.wk-fact strong { margin-left: -0.05em; font-size: clamp(72px, 6.6vw, 116px); line-height: 0.85; font-weight: 600; letter-spacing: -0.065em; }
.wk-fact > span { font-size: 16px; font-weight: 500; line-height: 1.35; }
/* La ruta en barco, en el azul oscuro del site: el barco arriba y el recorrido abajo, como las cifras */
.wk-route { display: grid; align-content: end; gap: 16px; padding: 24px; border-radius: 22px; background: var(--c-navy-2); box-shadow: inset 0 0 0 1px var(--c-line); color: var(--c-white); font-size: clamp(14px, 1.2vw, 18px); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.wk-route svg { width: clamp(64px, 5.6vw, 84px); height: clamp(64px, 5.6vw, 84px); color: var(--c-white); }
/* La del itinerario en el hero, en claro: en los Weekend y en Salamanca, el azul «relleno inicio» (el que no usan las otras
   tarjetas del hero); en el 20 aniversario, que ya los usa todos, el blanco corporativo. Icono, texto y paradas en azul oscuro */
.wk-route--ice,
.wk-route--white { box-shadow: none; color: var(--c-bg); }
.wk-route--ice { background: var(--c-blue-ice); }
.wk-route--white { background: var(--c-white); }
.wk-route--ice svg,
.wk-route--white svg { color: var(--c-bg); }
/* La ruta se dibuja: una línea roja recorre la tarjeta y cada parada se enciende al llegar (weekend.js pone las
   paradas y su posición, --at, de 0 a 1) */
.wk-route__line { position: relative; display: flex; justify-content: space-between; align-items: center; height: 12px; }
.wk-route__line::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; margin-top: -1px; background: var(--c-red); transform: scaleX(0); transform-origin: left; animation: routeDraw 1.8s 0.5s var(--ease-out) forwards; }
.wk-route__line i { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--c-navy-2); box-shadow: inset 0 0 0 2px var(--c-white); transform: scale(0.6); opacity: 0.4; animation: routeStop 0.4s var(--ease-out) forwards; animation-delay: calc(0.5s + var(--at) * 1.5s); }
.wk-route--ice .wk-route__line i,
.wk-route--white .wk-route__line i { background: transparent; box-shadow: inset 0 0 0 2px var(--c-bg); }
@keyframes routeDraw { to { transform: scaleX(1); } }
@keyframes routeStop { 60% { transform: scale(1.35); } to { transform: none; opacity: 1; background: var(--c-red); box-shadow: inset 0 0 0 2px var(--c-red); } }
@media (prefers-reduced-motion: reduce) {
  .wk-route__line::before { animation: none; transform: none; }
  .wk-route__line i { animation: none; transform: none; opacity: 1; background: var(--c-red); box-shadow: none; }
}
.wk-program { padding-bottom: 0; }
.wk-program .section-head--split .lead { max-width: 390px; }
.wk-day-tabs { display: flex; gap: 10px; overflow-x: auto; margin-top: 36px; padding: 2px; scrollbar-width: none; }
.wk-day-tab { display: flex; flex: none; align-items: center; gap: 14px; padding: 13px 22px; min-height: 54px; border: 1px solid rgba(248,250,255,0.24); border-radius: 999px; background: transparent; font-size: 16px; font-weight: 500; cursor: pointer; }
.wk-day-tab[aria-selected="true"] { border-color: var(--c-white); background: var(--c-white); color: var(--c-bg); }
.wk-day-tab > strong { font-size: 20px; line-height: 1; }
.wk-day-panel { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.65fr); align-items: start; gap: 24px 40px; margin-top: 28px; }
.wk-day-panel[hidden] { display: none; }
.wk-day-card { position: sticky; top: 104px; display: flex; flex-direction: column; overflow: hidden; padding: 32px; border-radius: 24px; background: var(--c-blue-axis); color: var(--c-bg); }
.wk-day-card__weekday { font-size: 16px; font-weight: 600; }
.wk-day-card__number { margin-left: -0.05em; font-size: clamp(100px, 11vw, 170px); font-weight: 600; line-height: 0.94; letter-spacing: -0.07em; }
.wk-day-card__month { margin-top: 8px; font-weight: 500; font-size: 15px; color: var(--c-muted); }
.wk-day-card h3 { margin-top: 28px; font-size: clamp(24px, 2.4vw, 36px); font-weight: 600; line-height: 1.12; letter-spacing: -0.03em; text-wrap: balance; }
.wk-day-card__route { margin-top: 16px; font-size: 14px; font-weight: 500; line-height: 1.6; }
.wk-day-timeline { display: grid; gap: var(--card-gap); }
.wk-slot { overflow: hidden; border: 1px solid var(--c-line); border-radius: 20px; background: var(--c-glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }   /* el vidrio de Teams: fondo translúcido con desenfoque */
.wk-slot > summary { display: flex; align-items: center; gap: 16px; padding: 24px; cursor: pointer; list-style: none; }
.wk-slot > summary::-webkit-details-marker { display: none; }
/* Mismo icono blanco sobre cuadrado rojo girado que Benefits en la home. */
.wk-slot__icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--c-red); color: var(--c-white); box-shadow: var(--shadow); transform: rotate(-8deg) translateZ(0); will-change: transform; backface-visibility: hidden; transition: transform 0.45s var(--ease-out); }
.wk-slot__icon .material-symbols-rounded { font-size: 21px; font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; }
.wk-slot:hover .wk-slot__icon,
.wk-slot > summary:focus-visible .wk-slot__icon { transform: rotate(0deg) translateZ(0); }
.wk-slot__heading { display: grid; gap: 6px; min-width: 0; }
.wk-slot__range { font-size: 13px; color: var(--c-faint); font-weight: 500; letter-spacing: 0.04em; }
.wk-slot__name { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; }
.wk-slot__expand { flex: none; width: 20px; height: 20px; margin-left: auto; color: var(--c-faint); transition: transform 0.2s; }
.wk-slot[open] .wk-slot__expand { transform: rotate(45deg); color: var(--c-red); }
.wk-slot__body { padding: 0 24px 24px; }
.wk-slot__body ol { display: grid; gap: 0; }
.wk-slot__body li { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--c-line); font-size: 15px; line-height: 1.6; }
.wk-slot__time { font-size: 14px; font-weight: 600; color: var(--c-white); font-variant-numeric: tabular-nums; }
.wk-slot__body li p { font-weight: 500; color: var(--c-dim); }   /* textos del programa en 500, como los de las demás tarjetas */
.wk-note { display: grid; gap: 8px; margin-top: 8px; padding: 18px 20px; border-left: 2px solid var(--c-red); border-radius: 0 12px 12px 0; background: rgba(248,250,255,0.035); font-size: 14px; line-height: 1.7; }
.wk-note > strong { font-size: 14px; font-weight: 600; }
.wk-note > p { font-weight: 500; color: var(--c-dim); }
.wk-slot__links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 18px; }
.wk-slot__links a { display: inline-flex; align-items: center; gap: 8px; padding-block: 1px; margin-block: -1px; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(248,250,255,0.35); }
.wk-slot__links svg { width: 15px; height: 15px; color: var(--c-red); }
.wk-moments { padding-bottom: 0; }
.wk-gallery { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); grid-auto-rows: clamp(180px,17vw,260px); gap: var(--card-gap); margin-top: 40px; }
.wk-gallery-card { position: relative; isolation: isolate; overflow: hidden; grid-column: span 4; padding: 0; min-width: 0; border: 0; border-radius: 20px; background: var(--c-navy-2); cursor: zoom-in; }
.wk-gallery-card:first-child { grid-column: span 8; grid-row: span 2; }
.wk-gallery-card:nth-child(2) { grid-row: span 2; }
.wk-gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.wk-gallery-card:first-child img { object-position: center; }
/* Al hacer scroll, las fotos aparecen como las tarjetas de Benefits de la home (main.js): por filas, con un zoom in
   desde el 40 % y en orden intercalado; la opacidad pasa de golpe, solo se ve el zoom */
.wk-gallery.is-animated > .wk-gallery-card,
.wk-moment__photos.is-animated > .wk-gallery-card { opacity: 0; transform: scale(0.4); transition: opacity 0s linear var(--d, 0ms), transform 1.3s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0ms); }
.wk-gallery.is-animated > .wk-gallery-card.is-in,
.wk-moment__photos.is-animated > .wk-gallery-card.is-in { opacity: 1; transform: none; }   /* también las fotos de los momentos del 20 aniversario */
.wk-gallery-card:hover img { transform: scale(1.035); }
.wk-gallery-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 65%,rgba(9,26,46,0.6)); opacity: 0; transition: opacity 0.25s; pointer-events: none; }
.wk-gallery-card:hover::after { opacity: 1; }
.wk-gallery-card__zoom { position: absolute; z-index: 1; right: 16px; bottom: 16px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(248,250,255,0.5); border-radius: 50%; background: rgba(9,26,46,0.32); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transition: opacity 0.25s; }
.wk-gallery-card__zoom svg { width: 19px; height: 19px; }
.wk-gallery-card:hover .wk-gallery-card__zoom,
.wk-gallery-card:focus-visible .wk-gallery-card__zoom { opacity: 1; }
.wk-gallery__more { display: flex; justify-content: center; margin-top: 32px; }
.wk-gallery__more .btn[hidden] { display: none; }
.wk-gallery__more .btn[aria-expanded="true"] svg { transform: rotate(45deg); }
.wk-editions { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: 40px 80px; padding-bottom: 0; }
.wk-editions__list { display: grid; gap: var(--card-gap); }
.wk-edition { display: flex; align-items: center; gap: 20px; padding: 24px; border: 1px solid var(--c-line); border-radius: 20px; background: var(--c-glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.wk-edition__name { display: grid; gap: 8px; min-width: 0; }
.wk-edition__name strong { font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -0.025em; }
.wk-edition__name > span { font-size: 15px; color: var(--c-dim); }
.wk-edition__state { margin-left: auto; padding: 8px 14px; border: 1px solid var(--c-line); border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--c-dim); white-space: nowrap; }
.wk-edition__go { display: grid; place-items: center; flex: none; width: 52px; height: 52px; margin-left: auto; border: 1px solid rgba(248,250,255,0.32); border-radius: 50%; color: var(--c-white); }
.wk-edition__go svg { width: 20px; height: 20px; }
/* Al pasar el ratón (o con el foco), como las tarjetas de «Más historias» del post: la tarjeta se aclara con el velo
   azul de «líneas secundarias» y la flecha pasa a botón principal (rojo). La de la edición actual no es enlace */
a.wk-edition { position: relative; isolation: isolate; }
a.wk-edition::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(116, 130, 164, 0.24); opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
a.wk-edition:hover::after,
a.wk-edition:focus-visible::after { opacity: 1; }
.wk-edition__go { transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
a.wk-edition:hover .wk-edition__go,
a.wk-edition:focus-visible .wk-edition__go { border-color: var(--c-red); background: var(--c-red); box-shadow: var(--shadow-red); }
.wk-lightbox { width: min(1240px,calc(100% - 40px)); max-width: none; height: min(92svh,1000px); max-height: calc(100svh - 32px); padding: 20px; overflow: hidden; border: 1px solid var(--c-line); border-radius: 24px; background: var(--c-bg); color: var(--c-white); }
.wk-lightbox[open] { display: flex; flex-direction: column; }
.wk-lightbox::backdrop { background: rgba(9,26,46,0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.wk-lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 42px; padding-bottom: 16px; }
.wk-lightbox__bar h2 { font-size: 14px; font-weight: 600; line-height: 1.4; }
.wk-icon-button { display: grid; place-items: center; flex: none; width: 38px; height: 38px; padding: 0; border: 1px solid var(--c-line); border-radius: 50%; background: transparent; cursor: pointer; }
.wk-icon-button:hover { border-color: rgba(248,250,255,0.5); }
.wk-icon-button[hidden] { display: none; }
.wk-icon-button svg { width: 18px; height: 18px; }
.wk-lightbox__image { flex: 1; min-height: 0; display: grid; place-items: center; overflow: hidden; border-radius: 12px; }
.wk-lightbox__image img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.wk-lightbox__bottom { display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 58px; padding-top: 16px; font-size: 12px; color: var(--c-dim); }
.wk-lightbox__bottom button:first-child svg { transform: rotate(180deg); }
.weekend-page:has(.wk-lightbox[open]) { overflow: hidden; }
@media (max-width: 1160px) {
  .wk-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .wk-hero__mosaic { align-self: auto; margin-block: 0; }
  .wk-hero__copy { padding-top: calc(var(--seal-top) + var(--seal) + 32px - var(--topbar-pad) - var(--topbar-h) - 32px); }
  .wk-hero h1 { font-size: clamp(64px,10vw,88px); }
  .wk-hero__lead { max-width: 620px; }
  .wk-hero__stamp > strong { font-size: 72px; }
  .wk-fact strong { font-size: 96px; }
  .wk-route { font-size: 17px; }
  .wk-route svg { width: 76px; height: 76px; }
  .wk-hero__actions { gap: 10px; }
  .wk-hero__actions .btn { padding-inline: 18px; font-size: 13px; }
  .wk-day-panel { gap: 24px; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); }
  .wk-day-card { padding: 28px; }
  .wk-slot > summary { padding: 20px; gap: 14px; }
  .wk-slot__body { padding-inline: 20px; }
  .wk-editions { gap: 32px; }
}
@media (max-width: 1000px) {
  .wk-day-panel { grid-template-columns: 1fr; }
  .wk-day-card { position: static; display: grid; grid-template-columns: auto 1fr; column-gap: 28px; }
  .wk-day-card__weekday { grid-column: 1; }
  .wk-day-card__number { grid-column: 1; grid-row: 2 / 4; font-size: 98px; }
  .wk-day-card__month { grid-column: 1; grid-row: 4; }
  .wk-day-card h3 { grid-column: 2; grid-row: 1 / 3; margin-top: 0; align-self: center; }
  .wk-day-card__route { grid-column: 2; grid-row: 3; margin-top: 0; }
  .wk-gallery { grid-auto-rows: 190px; }
  .wk-editions { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .weekend-page .wk-hero { padding-top: calc(var(--seal-top) + var(--seal) + 30px); }
  .wk-hero__copy { padding-top: 0; }
  .wk-hero__grid { gap: 28px; }
  .wk-hero h1 { margin-top: 20px; font-size: clamp(56px,14.5vw,82px); }
  .wk-hero__meta { gap: 10px; margin-top: 24px; font-size: 15px; }
  .wk-hero__meta svg { width: 20px; height: 20px; }
  .wk-hero__lead { margin-top: 22px; font-size: 16px; }
  .wk-hero__actions { margin-top: 26px; gap: 10px; }
  .wk-hero__actions .btn { height: 50px; padding-inline: 20px; font-size: 13px; }
  /* En móvil, en dos columnas: la experiencia, la edición, equipo y días juntos y la ruta */
  .wk-cards { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-template-areas: "intro intro" "stamp stamp" "route days"; gap: 12px; }
  .wk-intro-card { padding: 22px 20px; border-radius: 18px; }
  .wk-intro-card h2 { font-size: clamp(34px, 9vw, 44px); }
  .wk-intro-card p { font-size: 16px; }
  /* en móvil, sin foto: la tarjeta clara de antes, con el logo en su color */
  .wk-intro-card--photo { background: var(--c-blue-ice); color: var(--c-bg); }
  .wk-intro-card__photo,
  .wk-intro-card--photo::before,
  .wk-intro-card--photo .wk-intro-card__text::before { display: none; }
  .wk-intro-card--photo .wk-intro-card__logo { filter: none; }
  .wk-intro-card--photo p { color: inherit; }
    .wk-fact { padding: 20px; border-radius: 16px; }
  .wk-fact strong { font-size: 84px; }
  .wk-fact > span { font-size: 15px; }
  .wk-route { padding: 20px; border-radius: 16px; font-size: 15px; }
  .wk-route svg { width: 58px; height: 58px; }
  .wk-hero__stamp { border-radius: 18px; }
  .wk-hero__stamp > strong { font-size: 64px; }
  .wk-day-tabs { margin-top: 28px; gap: 8px; }
  .wk-day-tab { min-height: 50px; padding: 12px 18px; font-size: 15px; gap: 12px; }
  .wk-day-panel { margin-top: 20px; gap: 16px; }
  .wk-day-card { padding: 24px; border-radius: 20px; column-gap: 24px; }
  .wk-day-card__number { font-size: 88px; }
  .wk-day-card h3 { font-size: 24px; }
  .wk-day-card__route { font-size: 13px; }
  .wk-day-card__weekday,
  .wk-day-card__month { font-size: 14px; }
  .wk-slot { border-radius: 16px; }
  .wk-slot > summary { gap: 12px; padding: 18px; }
  .wk-slot__icon { width: 36px; height: 36px; }
  .wk-slot__name { font-size: 17px; }
  .wk-slot__range { font-size: 12px; }
  .wk-slot__expand { width: 17px; height: 17px; }
  .wk-slot__body { padding: 0 18px 18px; }
  .wk-slot__body li { grid-template-columns: 92px minmax(0,1fr); gap: 12px; font-size: 14px; }
  .wk-slot__time { font-size: 13px; }
  .wk-note { padding: 16px; font-size: 13px; }
  .wk-note > strong { font-size: 13px; }
  .wk-slot__links a { font-size: 13px; }
  .wk-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: auto; gap: 12px; margin-top: 28px; }
  .wk-gallery-card,
  .wk-gallery-card:nth-child(2) { grid-column: auto; grid-row: auto; aspect-ratio: 1; border-radius: 16px; }
  .wk-gallery-card:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; }
  .wk-gallery-card__zoom { opacity: 1; width: 30px; height: 30px; right: 12px; bottom: 12px; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .wk-gallery-card__zoom svg { width: 16px; height: 16px; }
  .wk-gallery__more { margin-top: 24px; }
  .wk-editions { gap: 28px; }
  .wk-edition { gap: 14px; padding: 20px; border-radius: 16px; }
  .wk-edition__name strong { font-size: 19px; }
  .wk-edition__name > span { font-size: 14px; }
  .wk-edition__state { padding: 6px 12px; font-size: 12px; }
  .wk-edition__go { width: 44px; height: 44px; }
  .wk-edition__go svg { width: 18px; height: 18px; }
  .wk-lightbox { width: calc(100% - 20px); height: min(88svh,800px); padding: 12px; border-radius: 16px; }
  .wk-lightbox__bar { gap: 16px; }
  .wk-lightbox__bar h2 { font-size: 12px; }
  .wk-lightbox__bottom { padding-top: 12px; }
}
@media (max-width: 370px) {
  .wk-hero__actions .btn { flex: 1 1 100%; }
  .wk-day-card { column-gap: 18px; }
  .wk-day-card h3 { font-size: 20px; }
  .wk-edition__state { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wk-gallery-card img,
  .wk-slot__expand { transition: none; }
}

/* ==========================================================================
   Landings que no son un Weekend, con la misma plantilla: 20 aniversario y oficina de Salamanca
   ========================================================================== */
/* Programa sin horas (el itinerario de la Cena de Gala): sin la línea de la hora ni su columna */
.wk-slot__range:empty,
.wk-slot__time:empty { display: none; }
.wk-slot__body li:has(> .wk-slot__time:empty) { grid-template-columns: minmax(0, 1fr); }
/* Salamanca, la oficina: la imagen cuadrada a la izquierda; a la derecha el texto y la cita (tarjeta .story de la home) */
.wk-office { padding-bottom: 0; }
.wk-office__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 40px 64px; margin-top: 40px; }
.wk-office__media { overflow: hidden; aspect-ratio: 1; border-radius: 22px; background: var(--c-navy-2); }
.wk-office__media img { width: 100%; height: 100%; object-fit: cover; }
.wk-office__copy { display: grid; gap: 18px; }
.wk-office__copy > p { font-size: 17px; line-height: 1.7; color: var(--c-dim); }
.wk-office__quote { margin-top: 14px; }
.wk-office__quote blockquote { font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; line-height: 1.5; color: var(--c-white); }
.wk-office__source { display: grid; place-items: center; flex: none; width: 42px; height: 42px; margin-left: auto; border: 1px solid rgba(248, 250, 255, 0.32); border-radius: 50%; color: var(--c-white); transition: border-color 0.2s, color 0.2s; }
.wk-office__source:hover,
.wk-office__source:focus-visible { border-color: var(--c-red); color: var(--c-red); }
.wk-office__source svg { width: 18px; height: 18px; }
/* Salamanca, en cifras: las tarjetas de cifra del hero, de cuatro en cuatro y cada una en un tono de la paleta */
.wk-figures-section { padding-bottom: 0; }
.wk-figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--card-gap); margin-top: 40px; }
.wk-figures .wk-fact { min-height: clamp(220px, 19vw, 280px); }
.wk-figures .wk-fact strong { font-size: clamp(64px, 6vw, 100px); }
.wk-fact--navy { background: var(--c-navy-2); box-shadow: inset 0 0 0 1px var(--c-line); color: var(--c-white); }
.wk-fact--ice { background: var(--c-blue-ice); color: var(--c-bg); }
@media (max-width: 1000px) {
  .wk-office__grid { grid-template-columns: 1fr; }
  .wk-office__media { max-width: 560px; }
  .wk-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .wk-office__grid { gap: 28px; margin-top: 28px; }
  .wk-office__copy > p { font-size: 16px; }
  .wk-office__quote { padding: 24px; }
  .wk-office__quote blockquote { font-size: 17px; }
  .wk-figures { gap: 12px; margin-top: 28px; }
  .wk-figures .wk-fact { min-height: 168px; padding: 20px; border-radius: 16px; }   /* sin cuadrado fijo: el texto largo (41 %) estira la tarjeta */
  .wk-figures .wk-fact strong { font-size: clamp(48px, 13vw, 64px); }
  .wk-figures .wk-fact > span { font-size: 14px; }
}
/* 20 aniversario, la noche momento a momento: el itinerario y la galería juntos. Cada momento con fotos va en dos
   columnas (texto y mosaico) alternando el lado; los transfers abren y cierran la noche en una tarjeta con su ruta */
.wk-night { padding-bottom: 0; }
.wk-night__moments { display: grid; gap: clamp(64px, 7vw, 112px); margin-top: 56px; }
.wk-moment { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.5fr); align-items: center; gap: 32px clamp(40px, 5vw, 80px); }
.wk-moment--flip { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.78fr); }
.wk-moment--flip .wk-moment__text { order: 2; }
.wk-moment__step { display: flex; align-items: center; gap: 16px; font-size: 15px; font-weight: 600; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.wk-moment__step .wk-slot__icon { width: 44px; height: 44px; border-radius: 12px; }
.wk-moment__step .material-symbols-rounded { font-size: 24px; }
.wk-moment__total { color: var(--c-faint); }
.wk-moment__title { margin-top: 22px; font-size: clamp(30px, 3vw, 46px); font-weight: 600; line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
.wk-moment__text > p:not(.wk-moment__step) { margin-top: 14px; font-size: 16.5px; line-height: 1.7; color: var(--c-dim); }
.wk-moment__title + p { margin-top: 18px; }
/* Mosaicos según cuántas fotos tiene el momento */
.wk-moment__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, clamp(150px, 14vw, 230px)); gap: var(--card-gap); }
.wk-moment__photos--feature { grid-template-areas: "a a b" "c d b"; }   /* la grande arriba, la vertical a la derecha */
.wk-moment__photos--trio { grid-template-areas: "a a b" "a a c"; }
.wk-moment__photos--row { grid-template-areas: "a a a" "b c d"; grid-template-rows: clamp(220px, 21vw, 340px) clamp(130px, 12vw, 190px); }   /* la sala arriba y los tres premios en fila */
.wk-moment__photos--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "a b"; grid-template-rows: clamp(300px, 28vw, 440px); }
.wk-moment__photos > :nth-child(1) { grid-area: a; }
.wk-moment__photos > :nth-child(2) { grid-area: b; }
.wk-moment__photos > :nth-child(3) { grid-area: c; }
.wk-moment__photos > :nth-child(4) { grid-area: d; }
/* Transfers: tarjeta azul oscuro a todo el ancho; la ruta se dibuja cuando la tarjeta aparece en pantalla */
.wk-moment--route { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); padding: clamp(28px, 3.4vw, 52px); border-radius: 22px; background: var(--c-navy-2); box-shadow: inset 0 0 0 1px var(--c-line); }
.wk-moment__route { display: grid; align-content: center; gap: 18px; font-size: clamp(16px, 1.4vw, 20px); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.wk-moment__route > svg { width: clamp(60px, 5.4vw, 80px); height: clamp(60px, 5.4vw, 80px); }
.wk-moment .wk-route__line::before,
.wk-moment .wk-route__line i { animation-play-state: paused; }
.wk-moment.is-visible .wk-route__line::before,
.wk-moment.is-visible .wk-route__line i { animation-play-state: running; }
@media (max-width: 1000px) {
  .wk-moment,
  .wk-moment--flip,
  .wk-moment--route { grid-template-columns: minmax(0, 1fr); }
  .wk-moment--flip .wk-moment__text { order: 0; }
  .wk-moment__text { max-width: 620px; }
}
@media (max-width: 767px) {
  .wk-night__moments { gap: 56px; margin-top: 32px; }
  .wk-moment { gap: 24px; }
  .wk-moment__step .wk-slot__icon { width: 38px; height: 38px; border-radius: 10px; }
  .wk-moment__step .material-symbols-rounded { font-size: 21px; }
  .wk-moment__title { margin-top: 18px; font-size: clamp(28px, 8vw, 34px); }
  .wk-moment__text > p:not(.wk-moment__step) { font-size: 15.5px; }
  .wk-moment__photos { gap: 10px; grid-template-rows: repeat(2, 120px); }
  .wk-moment__photos .wk-gallery-card { aspect-ratio: auto; border-radius: 14px; }
  .wk-moment__photos > :not(:first-child) .wk-gallery-card__zoom { display: none; }   /* en las fotos pequeñas el «+» tapa la foto: solo en la grande */
  .wk-moment__photos--feature { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "a a" "b c" "b d"; grid-template-rows: 170px 120px 120px; }
  .wk-moment__photos--trio { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "a a" "b c"; grid-template-rows: 200px 120px; }
  .wk-moment__photos--row { grid-template-rows: 180px 92px; }
  .wk-moment__photos--pair { grid-template-rows: 240px; }
  .wk-moment--route { padding: 24px 20px; border-radius: 18px; }
}
/* 20 aniversario, hero sin foto: la tarjeta de la experiencia partida en dos. Arriba, una franja clara con el logo de
   los 20 años en sus colores, de la mitad de alto que la tarjeta del año; debajo, más larga, la de los textos en el azul
   «líneas secundarias» de la paleta (con texto blanco, como .place--blue de la home). Filas: media fila, media fila
   menos el hueco y una fila entera, así el año sigue midiendo una fila; si el texto no cabe, crece solo la última */
.wk-cards--logo { --row: clamp(200px, 19vw, 280px); grid-template-rows: calc(var(--row) / 2) calc(var(--row) / 2 - var(--card-gap)) minmax(var(--row), auto); grid-template-areas: "logo logo stamp stamp" "intro intro stamp stamp" "intro intro route days"; }
.wk-logo-card { grid-area: logo; display: grid; place-items: center; padding: 20px 28px; border-radius: 22px; background: var(--c-blue-ice); }
.wk-logo-card img { width: min(72%, 330px); height: auto; }
.wk-cards--logo .wk-intro-card { background: var(--c-blue-line); color: var(--c-white); }
.wk-cards--logo .wk-intro-card p { color: rgba(248, 250, 255, 0.9); }
/* Mosaico de tres con la grande a la derecha (la fiesta, para no repetir el de la presentación) */
.wk-moment__photos--trio-right { grid-template-areas: "b a a" "c a a"; }
@media (max-width: 767px) {
  .wk-cards--logo { grid-template-rows: none; grid-template-areas: "logo logo" "intro intro" "stamp stamp" "route days"; }
  .wk-logo-card { padding: 26px 20px; border-radius: 18px; }
  .wk-moment__photos--trio-right { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "a a" "b c"; grid-template-rows: 200px 120px; }
}
/* 20 aniversario: el vídeo del escudo en bucle ocupa toda la tarjeta de la cifra («01 noche para recordar», que se
   queda solo para lectores de pantalla), sobre el azul vivo de la paleta. El vídeo tiene fondo negro opaco (un MP4 no
   admite transparencia): el filtro SVG #key-black de la página convierte el negro en transparente y deja el escudo en
   su dorado (mix-blend-mode lo volvía lila sobre este azul). Entero y centrado (contain), así no se recorta el escudo */
.wk-fact--video { position: relative; overflow: hidden; padding: 0; background: var(--c-blue); }
.wk-fact__video { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); object-fit: contain; filter: url(#key-black); pointer-events: none; }   /* con margen dentro de la tarjeta */
.wk-fact__video.is-canvas-source { opacity: 0; }   /* weekend.js lo pinta en un canvas encima (data-canvas): el vídeo sigue reproduciéndose debajo, invisible */
/* 20 aniversario, asistentes: los nombres seguidos con un punto rojo entre ellos, plegados en cinco líneas que se
   desvanecen; el botón los despliega todos */
.wk-attendees { padding-bottom: 0; }
.wk-attendees__list { max-height: calc(5 * 1.65em); margin-top: 40px; overflow: hidden; font-size: clamp(18px, 1.55vw, 23px); font-weight: 500; line-height: 1.65; letter-spacing: -0.01em; color: rgba(248, 250, 255, 0.82); -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent); mask-image: linear-gradient(180deg, #000 45%, transparent); }
.wk-attendees__list.is-open { max-height: none; -webkit-mask-image: none; mask-image: none; }
.wk-attendees__list li { display: inline-block; white-space: nowrap; }   /* cada nombre entero: solo se parte entre nombres */
.wk-attendees__list li:not(:last-child)::after { content: "·"; margin: 0 0.5em; color: var(--c-red); font-weight: 700; }
.wk-attendees__more { display: flex; justify-content: center; margin-top: 28px; }
.wk-attendees__more .btn svg { transition: transform 0.2s; }
.wk-attendees__more .btn[aria-expanded="true"] svg { transform: rotate(45deg); }
@media (max-width: 767px) {
  .wk-attendees__list { margin-top: 28px; font-size: 16px; }
}
/* Teclas de marca de agua de las dos landings: las formas del programa de Weekend, cada una anclada a su sección (que va
   en position relative sin z-index, como .wk-program). Salamanca: la primera asoma al empezar «La oficina» y la segunda
   en medio de la galería. 20 aniversario: la primera al empezar «La noche» y la segunda desde el momento 05 (Que empiece
   la fiesta): weekend.js pone en la sección --key-at, la distancia hasta el momento con decoKey */
.wk-office, .wk-night, .wk-moments { position: relative; }
.deco-key--office .deco-key__shape,
.deco-key--night .deco-key__shape:first-child { left: 47.19vw; top: -11.9vw; width: 85.31vw; height: 64.62vw; transform: rotate(-45deg); }
.deco-key--gallery .deco-key__shape,
.deco-key--night .deco-key__shape:last-child { left: -48.11vw; width: 67.89vw; height: 51.42vw; transform: rotate(135.02deg); }
.deco-key--gallery .deco-key__shape { top: calc(50% - 25.7vw); }
.deco-key--night .deco-key__shape:last-child { top: calc(var(--key-at, 100%) - 6vw); }
