/* ==========================================================================
   FIDE World U7–U17 Championships 2026 · Web pública
   Identidad: menta y grafito del logotipo, azul del cielo del cartel,
   blanco porcelana de la mascota y el damero de su pecho.
   ========================================================================== */

@font-face { font-family: "Chakra Petch"; font-weight: 500; font-display: swap; src: url(../fonts/chakra-petch-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 600; font-display: swap; src: url(../fonts/chakra-petch-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 600; font-display: swap; src: url(../fonts/chakra-petch-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "Chakra Petch"; font-weight: 700; font-display: swap; src: url(../fonts/chakra-petch-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 700; font-display: swap; src: url(../fonts/chakra-petch-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF; }

@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url(../fonts/source-sans-3-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url(../fonts/source-sans-3-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/source-sans-3-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url(../fonts/source-sans-3-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-display: swap; src: url(../fonts/source-sans-3-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-display: swap; src: url(../fonts/source-sans-3-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF; }

:root {
  /* Marca */
  --mint: #7bd2bf;          /* «FIDE» del logotipo */
  --mint-d: #1d7a67;        /* menta legible sobre blanco */
  --mint-l: #e4f6f1;
  --graphite: #4a4a4a;      /* «WORLD CHAMPIONSHIPS» */
  --graphite-d: #2d3236;
  --graphite-xd: #1d2124;
  --sky: #0290d1;           /* cielo del cartel */
  --sky-d: #0272ad;         /* azul de botones (contraste AA con blanco) */
  --sky-l: #5ed2f6;
  --sky-xl: #e2f5fc;
  --porcelain: #f2f6f9;     /* cuerpo de la mascota */
  --white: #fff;
  --eye: #1ea7ff;           /* ojos de la mascota */
  --live: #e5484d;

  --ink: #22282c;
  --muted: #59646d;
  --line: #d9e3e9;

  --f-d: "Chakra Petch", "Bai Jamjuree", "Segoe UI", system-ui, sans-serif;
  --f-b: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: .875rem;
  --step-0: 1.125rem;
  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  --step-4: clamp(2.1rem, 1.5rem + 2.4vw, 3.05rem);

  --gut: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --cut: 14px;              /* esquina achaflanada, como la tipografía */
  --sh: 0 1px 2px rgba(29, 33, 36, .06), 0 8px 24px -12px rgba(29, 33, 36, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
html, body { overflow-x: clip; }
body { margin: 0; font: 400 var(--step-0)/1.6 var(--f-b); color: var(--ink); background: var(--porcelain); overflow-x: hidden; }
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--sky-d); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--f-d); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; color: var(--graphite-d); letter-spacing: -.005em; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--eye); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--graphite-d); color: #fff; padding: .6rem 1rem; border-radius: 6px; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 820px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.ico--s { width: 1em; height: 1em; }
.ico--l { width: 2.2em; height: 2.2em; }

/* --------------------------------------------------------------------------
   Damero (pecho de la mascota)
   -------------------------------------------------------------------------- */
.checker {
  --sq: 14px;
  height: calc(var(--sq) * 2);
  background:
    conic-gradient(var(--graphite) 25%, var(--white) 0 50%, var(--graphite) 0 75%, var(--white) 0)
    0 0 / calc(var(--sq) * 2) calc(var(--sq) * 2);
}

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */
.btn {
  --bg: var(--white); --fg: var(--graphite-d); --bd: var(--line);
  display: inline-flex; align-items: center; gap: .55em;
  min-height: 46px; padding: .6em 1.15em;
  font: 600 1rem/1.1 var(--f-d); letter-spacing: .01em; text-decoration: none;
  color: var(--fg); background: var(--bg); border: 1.5px solid var(--bd);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { --bd: var(--graphite); }
.btn--primary { --bg: var(--sky-d); --fg: #fff; --bd: var(--sky-d); }
.btn--primary:hover { --bg: #025f90; --bd: #025f90; }
.btn--ghost { --bg: rgba(255,255,255,.75); --bd: var(--graphite); }
.btn--ghost:hover { --bg: #fff; }
.btn--mint { --bg: var(--mint); --fg: var(--graphite-xd); --bd: var(--mint); }
.btn--mint:hover { --bg: #9de0d1; --bd: #9de0d1; }
.btn--line { --bg: transparent; --fg: inherit; --bd: currentColor; }
.btn--live { --bg: var(--live); --fg: #fff; --bd: var(--live); }
.btn--live:hover { --bg: #c93439; --bd: #c93439; }
.btns { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0 0; }

.dot { width: .6em; height: .6em; border-radius: 50%; background: var(--live); display: inline-block; flex: none; }
.more { display: inline-flex; align-items: center; gap: .4em; font: 600 1rem var(--f-d); text-decoration: none; color: inherit; white-space: nowrap; border-bottom: 2px solid var(--mint); padding-bottom: 2px; }
.more:hover { border-color: currentColor; }

/* --------------------------------------------------------------------------
   Aviso y cabecera
   -------------------------------------------------------------------------- */
.announce { background: var(--graphite-d); color: #fff; font-size: var(--step--1); }
.announce .wrap { display: flex; align-items: center; gap: .6rem; padding-block: .55rem; }
.announce .ico { color: var(--mint); }
.announce a { color: #fff; }

.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.top__logo { flex: none; display: block; }
.top__logo img { width: auto; height: 44px; }
.nav { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.nav__list { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link { display: flex; align-items: center; gap: .3rem; padding: .55rem .75rem; font: 600 1rem var(--f-d); color: var(--graphite-d); text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: 6px; }
.nav__link:hover, .nav__item.is-active > .nav__link { color: var(--mint-d); }
.nav__item.is-active > .nav__link { box-shadow: inset 0 -3px 0 var(--mint); border-radius: 0; }
.nav__sub { position: absolute; top: 100%; left: 0; min-width: 240px; list-style: none; margin: 0; padding: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 0 0 10px 10px; box-shadow: var(--sh); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav__item:hover > .nav__sub, .nav__item.open > .nav__sub, .nav__item:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: .5rem .7rem; color: var(--ink); text-decoration: none; border-radius: 6px; }
.nav__sub a:hover, .nav__sub a[aria-current] { background: var(--mint-l); color: var(--mint-d); }
.langs { display: flex; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; }
.langs a { padding: .3rem .55rem; font: 600 .82rem var(--f-d); color: var(--muted); text-decoration: none; }
.langs a[aria-current] { background: var(--graphite); color: #fff; }
.langs a:not([aria-current]):hover { background: var(--porcelain); color: var(--ink); }
.livepill { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; border-radius: 999px; font: 700 .9rem var(--f-d); text-decoration: none; color: var(--graphite-d); border: 1.5px solid var(--graphite); white-space: nowrap; }
.livepill .dot { background: var(--graphite); }
.livepill--live { background: var(--live); border-color: var(--live); color: #fff; }
.livepill--live .dot { background: #fff; animation: pulse 1.6s ease-in-out infinite; }
.burger { display: none; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger .ico { width: 24px; height: 24px; }

@keyframes navin { from { opacity: 0; transform: translateY(-8px); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.75); } }

@media (max-width: 1080px) {
  .burger { display: inline-flex; }
  .top__in { min-height: 64px; }
  .top__logo img { height: 36px; }
  .livepill { margin-left: auto; }
  .nav { position: fixed; inset: 64px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem var(--gut) 2rem; overflow-y: auto; display: none; }
  .nav.open { display: flex; animation: navin .2s ease; }
  .nav__list { flex-direction: column; }
  .nav__link { width: 100%; justify-content: space-between; padding: .85rem .25rem; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__item.is-active > .nav__link { box-shadow: none; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: .25rem 0 .5rem .75rem; display: none; }
  .nav__item.open > .nav__sub { display: block; }
  .nav__item:hover > .nav__sub { display: none; }
  .nav__item.open:hover > .nav__sub { display: block; }
  .langs { align-self: flex-start; }
  .langs a { padding: .55rem .9rem; font-size: 1rem; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 520px) {
  .top__logo img { height: 28px; }
  .livepill__txt { display: none; }
  .livepill { padding: .6rem; }
}

/* --------------------------------------------------------------------------
   Portada · cabecera
   -------------------------------------------------------------------------- */
.hero { position: relative; background: var(--white); overflow: hidden; }
.hero__sky { position: absolute; inset: 0; background:
  radial-gradient(120% 90% at 100% 0%, var(--sky-xl) 0%, rgba(226,245,252,0) 60%),
  linear-gradient(180deg, #fff 0%, var(--porcelain) 100%); }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-block: clamp(2rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3.5rem); }
.hero__title { margin: 0 0 1.4rem; }
.hero__title img { width: 100%; max-width: 640px; }
.hero__place { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1.1rem; margin: 0 0 1rem; font-family: var(--f-d); }
.hero__city { font-size: var(--step-3); font-weight: 700; color: var(--sky-d); line-height: 1.1; }
.hero__dates { font-size: var(--step-2); font-weight: 600; color: var(--graphite); }
.hero__sub { font-size: var(--step-1); color: var(--muted); max-width: 34ch; margin-bottom: 1.5rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 2rem; }
.hero__art { position: relative; justify-self: center; width: 100%; max-width: 440px; }
.arch { position: relative; border-radius: 999px 999px 18px 18px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sky); box-shadow: 0 30px 60px -30px rgba(2, 114, 173, .55); }
.arch::after { content: ""; position: absolute; inset: 10px; border: 2px solid rgba(255,255,255,.65); border-radius: inherit; pointer-events: none; }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero__art::before { content: ""; position: absolute; inset: -18px -18px auto auto; width: 120px; height: 120px; border-radius: 50%; background: var(--mint); opacity: .5; z-index: -1; }

@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__art { max-width: 340px; order: -1; }
  .arch { aspect-ratio: 1 / 1; border-radius: 999px 999px 16px 16px; }
}

/* --------------------------------------------------------------------------
   Reloj de ajedrez (cuenta atrás)
   -------------------------------------------------------------------------- */
.clock { position: relative; max-width: 560px; padding-top: 14px; }
.clock__btn { position: absolute; top: 0; height: 16px; width: 64px; background: var(--graphite); border-radius: 6px 6px 0 0; }
.clock__btn--a { left: 22%; height: 10px; top: 6px; background: var(--mint); }
.clock__btn--b { right: 14%; }
.clock__body { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 12px; background: linear-gradient(180deg, var(--graphite) 0%, var(--graphite-d) 100%); color: #fff;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }
.clock__face { border-radius: 6px; padding: .7rem .9rem; }
.clock__face--main { background: #16262a; box-shadow: inset 0 0 0 1px rgba(123,210,191,.25), inset 0 8px 24px rgba(0,0,0,.35); }
.clock__face--side { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-width: 108px; background: rgba(255,255,255,.08); }
.clock__label { display: block; font: 600 .9rem var(--f-d); color: rgba(255,255,255,.8); margin-bottom: .25rem; }
.clock__digits { display: flex; gap: .6rem; font-family: var(--f-d); }
.clock__digits > span { display: flex; flex-direction: column; align-items: center; min-width: 2.7ch; }
.clock__digits b { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.9rem); font-weight: 600; line-height: 1; color: var(--mint); font-variant-numeric: tabular-nums; text-shadow: 0 0 18px rgba(123,210,191,.45); }
.clock__digits i { font-style: normal; font-size: .72rem; color: rgba(255,255,255,.6); margin-top: .2rem; }
.clock__digits > span + span::before { content: ""; }
.clock__digits--msg { align-items: center; gap: .6rem; font-size: var(--step-2); font-weight: 700; color: var(--mint); min-height: 3.2rem; }
.clock__round { font: 700 var(--step-3) var(--f-d); color: var(--mint); line-height: 1; }
.clock__when { font-size: .8rem; color: rgba(255,255,255,.75); margin-top: .35rem; line-height: 1.35; }
.clock__digits--msg > .dot { min-width: 0; width: .55em; height: .55em; }
.clock__when b { display: block; font-weight: 600; color: #fff; }
.clock--live .clock__digits--msg .dot { animation: pulse 1.6s ease-in-out infinite; }
@media (max-width: 460px) {
  .clock__body { grid-template-columns: 1fr; }
  .clock__face--side { flex-direction: row; gap: .8rem; justify-content: flex-start; min-width: 0; }
  .clock__when { margin: 0; }
  .clock__when b { display: inline; margin-left: .3em; }
  .clock__digits { gap: .35rem; }
}

/* --------------------------------------------------------------------------
   Marcador de rondas
   -------------------------------------------------------------------------- */
.status { background: var(--graphite-d); color: #fff; }
.status__in { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 2fr) auto; gap: 1.5rem 2rem; align-items: center; padding-block: 1.6rem; }
.status__label { display: flex; align-items: center; gap: .55rem; font: 700 var(--step-1) var(--f-d); margin: 0; }
.status--live .status__label .dot { animation: pulse 1.6s ease-in-out infinite; }
.status__sub { margin: .2rem 0 0; color: rgba(255,255,255,.72); font-size: var(--step--1); }
.status__cta { display: flex; gap: .6rem; flex-wrap: wrap; }
.status .btn--line { --fg: #fff; --bd: rgba(255,255,255,.55); }
.track { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; border: 2px solid var(--graphite); }
.track__sq { position: relative; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--f-d); background: var(--graphite); color: rgba(255,255,255,.7); min-width: 0; }
.track__sq:nth-child(even) { background: #3c4145; }
.track__n { font-size: clamp(.95rem, .6rem + 1vw, 1.4rem); font-weight: 700; line-height: 1; }
.track__d { font-size: .62rem; opacity: .75; margin-top: .2rem; white-space: nowrap; }
.track__sq--done { background: var(--mint) !important; color: var(--graphite-xd); }
.track__sq--live { background: #fff !important; color: var(--graphite-xd); box-shadow: inset 0 0 0 3px var(--live); }
.track__sq--live::after { content: ""; position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: pulse 1.6s ease-in-out infinite; }
.track__sq--next { box-shadow: inset 0 0 0 2px var(--mint); color: #fff; }
@media (max-width: 1000px) {
  .status__in { grid-template-columns: 1fr; }
  .track__d { display: none; }
}

/* --------------------------------------------------------------------------
   Bloques: estructura y fondos
   -------------------------------------------------------------------------- */
.blk { padding-block: clamp(2.75rem, 6vw, 5rem); }
.blk--tight { padding-block: 1.5rem 3rem; }
.theme-light { background: var(--porcelain); }
.theme-white { background: var(--white); }
.theme-sky { background: var(--sky-d); color: #fff; }
.theme-sky h2, .theme-sky h3 { color: #fff; }
.theme-sky a:not(.btn) { color: #fff; }
.theme-graphite { background: var(--graphite-d); color: #fff; }
.theme-graphite h2, .theme-graphite h3 { color: #fff; }
.theme-graphite .bhead__s, .theme-sky .bhead__s { color: rgba(255,255,255,.78); }
.theme-mint { background: var(--mint-l); }
.theme-sky .btn--ghost, .theme-graphite .btn--ghost { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.7); }

.bhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.bhead__t { font-size: var(--step-4); margin: 0; }
.bhead__s { margin: .55rem 0 0; max-width: 62ch; color: var(--muted); font-size: var(--step-1); line-height: 1.45; }
.note { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: var(--step--1); margin: 1.4rem 0 0; }
.theme-graphite .note, .theme-sky .note { color: rgba(255,255,255,.75); }
.empty { display: flex; align-items: center; gap: 1rem; padding: 1.4rem; background: var(--porcelain); border-radius: 12px; color: var(--muted); max-width: 640px; }
.empty img { width: 64px; height: auto; }
.meta, .status__sub, .clock__when, .day__m, .vcard__date, .ev__t { font-family: var(--f-d); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: var(--step--1); color: var(--muted); margin: 0 0 .4rem; }
.tag { display: inline-block; padding: .1rem .5rem; font: 600 .78rem var(--f-d); background: var(--mint-l); color: var(--mint-d); border-radius: 4px; }
.lead-p { font-size: var(--step-1); color: var(--muted); max-width: 62ch; }

/* --------------------------------------------------------------------------
   Accesos rápidos
   -------------------------------------------------------------------------- */
.quick { background: var(--porcelain); padding-block: 2.2rem; }
.quick .bhead { margin-bottom: 1.2rem; }
.quick__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .75rem; list-style: none; margin: 0; padding: 0; }
.qtile { display: flex; align-items: center; gap: .9rem; height: 100%; padding: 1rem 1.1rem; text-decoration: none; color: var(--ink); background: #fff; border: 1.5px solid var(--line);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); transition: border-color .15s; }
.qtile:hover { border-color: var(--graphite); }
.qtile__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--sky-xl); color: var(--sky-d); flex: none; }
.qtile__ico .ico { width: 24px; height: 24px; }
.qtile__txt { display: flex; flex-direction: column; min-width: 0; }
.qtile__l { display: flex; align-items: center; gap: .35rem; font: 700 1.08rem/1.2 var(--f-d); color: var(--graphite-d); }
.qtile__l .ico { color: var(--muted); }
.qtile__s { font-size: .9rem; color: var(--muted); line-height: 1.35; margin-top: .15rem; }
.qtile--hl { background: var(--graphite-d); border-color: var(--graphite-d); color: #fff; }
.qtile--hl .qtile__l { color: #fff; }
.qtile--hl .qtile__s { color: rgba(255,255,255,.75); }
.qtile--hl .qtile__ico { background: var(--live); color: #fff; }
.qtile--hl .qtile__l .ico { color: rgba(255,255,255,.7); }

/* --------------------------------------------------------------------------
   Resultados: el tablero
   -------------------------------------------------------------------------- */
.board { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); border: 3px solid var(--graphite); background: var(--graphite); }
.board__row-label { grid-column: 1 / -1; margin: 0; padding: .45rem .9rem; font: 700 .95rem var(--f-d); color: var(--graphite-xd); background: var(--mint); }
.sq { position: relative; display: flex; flex-direction: column; min-height: 210px; padding: 1rem; background: var(--porcelain); color: var(--ink); }
.sq--dark { background: var(--graphite); color: #fff; }
.sq--empty { min-height: 0; }
h3.sq__code { color: var(--graphite-d); }
.sq--dark h3.sq__code { color: #fff; }
.sq__code { font: 700 clamp(2rem, 1.2rem + 2.6vw, 3.3rem)/1 var(--f-d); margin: 0 0 .35rem; letter-spacing: -.02em; }
.sq__main { color: inherit; text-decoration: none; }
.sq__main::after { content: ""; position: absolute; inset: 0; }
.sq:hover { box-shadow: inset 0 0 0 3px var(--mint); }
.sq__name { font-size: .9rem; margin: 0 0 .6rem; opacity: .85; }
.sq__leader { font-size: .88rem; margin: 0 0 .3rem; }
.sq__leader span { font: 600 .75rem var(--f-d); color: var(--mint-d); }
.sq--dark .sq__leader span { color: var(--mint); }
.sq__meta { font-size: .82rem; margin: 0; opacity: .75; }
.sq__links { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .3rem; margin: auto 0 0; padding-top: .8rem; }
.sq__links a { font: 600 .78rem var(--f-d); padding: .25rem .5rem; border: 1px solid currentColor; border-radius: 4px; color: inherit; text-decoration: none; opacity: .9; }
.sq__links a:hover { background: var(--mint); color: var(--graphite-xd); border-color: var(--mint); opacity: 1; }
.sq__links a.is-live { border-color: var(--live); color: var(--live); }
.sq--dark .sq__links a.is-live { color: #ff8b8f; border-color: #ff8b8f; }
@media (max-width: 900px) {
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; }
  .board__row-label { display: none; }
  .sq { min-height: 170px; }
}
@media (max-width: 900px) {
  /* En móvil: columna Open / columna Femenino, y el damero se mantiene */
  .sq { order: var(--o); }
}

/* --------------------------------------------------------------------------
   Noticias
   -------------------------------------------------------------------------- */
.newsgrid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.lead__img { display: block; overflow: hidden; border-radius: 14px; aspect-ratio: 16 / 10; background: var(--sky-xl); }
.lead__img img { width: 100%; height: 100%; object-fit: cover; }
.lead__txt { padding-top: 1.1rem; }
.lead h3 { font-size: var(--step-3); margin-bottom: .5rem; }
.lead h3 a, .nlist__a, .card h2 a, .card h3 a { color: var(--graphite-d); text-decoration: none; }
.lead h3 a:hover, .card h2 a:hover, .card h3 a:hover { text-decoration: underline; text-decoration-color: var(--mint); text-decoration-thickness: 3px; }
.lead p:last-child { color: var(--muted); font-size: var(--step-1); line-height: 1.5; max-width: 60ch; }
.nlist { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--graphite); }
.nlist li { border-bottom: 1px solid var(--line); }
.nlist__a { display: grid; grid-template-columns: 112px 1fr; gap: 1rem; padding: 1rem 0; align-items: center; }
.nlist__img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--porcelain); }
.nlist__img img { width: 100%; height: 100%; object-fit: cover; }
.nlist__a:not(:has(.nlist__img)) { grid-template-columns: 1fr; }
.nlist__t { display: block; font: 700 1.12rem/1.25 var(--f-d); }
.nlist__a:hover .nlist__t { color: var(--mint-d); }
@media (max-width: 860px) { .newsgrid { grid-template-columns: 1fr; } }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem 1.5rem; }
.cards--3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { display: flex; flex-direction: column; }
.card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.5rem 2rem; align-items: center; }
.card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; background: var(--sky-xl); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__ph { display: grid; place-items: center; height: 100%; background: linear-gradient(180deg, var(--sky) 0%, var(--sky-l) 100%); }
.card__ph img { width: 34%; height: auto; object-fit: contain; }
.card__txt { padding-top: .9rem; }
.card h2, .card h3 { font-size: var(--step-1); margin-bottom: .4rem; }
.card--wide h2 { font-size: var(--step-3); }
.card p:last-child { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .card--wide { grid-template-columns: 1fr; } }
.pager { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-top: 3rem; font-family: var(--f-d); font-weight: 600; }
.pager a { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; }

/* --------------------------------------------------------------------------
   Calendario
   -------------------------------------------------------------------------- */
.days { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; overflow-x: auto; scroll-snap-type: x mandatory; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; scrollbar-width: thin; }
.day { scroll-snap-align: start; border-right: 1px solid var(--line); min-width: 0; }
.day:last-child { border-right: 0; }
.day__h { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "n wd" "n m"; column-gap: .55rem; align-items: center; margin: 0; padding: .9rem .9rem .7rem; border-bottom: 1px solid var(--line); font-family: var(--f-d); position: relative; }
.day__n { grid-area: n; font-size: 2.1rem; font-weight: 700; line-height: 1; color: var(--graphite-d); }
.day__wd { grid-area: wd; font-weight: 700; font-size: .95rem; color: var(--graphite-d); line-height: 1.1; }
.day__m { grid-area: m; font-size: .8rem; color: var(--muted); line-height: 1.1; }
.day__today { position: absolute; top: .5rem; right: .6rem; font-size: .7rem; font-weight: 700; padding: .05rem .4rem; background: var(--live); color: #fff; border-radius: 4px; }
.day--today { background: var(--sky-xl); }
.day--today .day__h { border-bottom-color: var(--sky); box-shadow: inset 0 3px 0 var(--sky); }
.day--past { color: var(--muted); }
.day--past .day__n { color: #9aa6ae; }
.day--rest { background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(123,210,191,.12) 10px 20px); }
.day__ev { list-style: none; margin: 0; padding: .55rem .6rem .9rem; display: flex; flex-direction: column; gap: .35rem; }
.ev { display: grid; grid-template-columns: auto 1fr; column-gap: .5rem; align-items: baseline; padding: .4rem .45rem; border-radius: 6px; font-size: .93rem; line-height: 1.3; }
.ev__t { font: 600 .85rem var(--f-d); color: var(--muted); font-variant-numeric: tabular-nums; }
.ev:not(:has(.ev__t)) .ev__l { grid-column: 1 / -1; }
.ev__l { font-weight: 700; }
.ev--round { background: var(--porcelain); }
.ev--round .ev__l { font-family: var(--f-d); font-size: 1rem; }
.ev--ceremony { background: var(--mint-l); }
.ev--done { opacity: .55; }
.ev--done.ev--round { background: transparent; }
.ev--now { background: #fff; box-shadow: inset 0 0 0 2px var(--live); }
.ev__now { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: .3rem; font: 700 .72rem var(--f-d); color: var(--live); margin-top: .15rem; }
.ev__now .dot { width: .5rem; height: .5rem; animation: pulse 1.6s infinite; }
.ev__p { grid-column: 1 / -1; display: flex; align-items: center; gap: .3rem; font-size: .82rem; color: var(--muted); }
/* Página completa: lista vertical */
.days--full { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; overflow: visible; }
.days--full .day { display: grid; grid-template-columns: 200px 1fr; border-right: 0; border-bottom: 1px solid var(--line); }
.days--full .day:last-child { border-bottom: 0; }
.days--full .day__h { border-bottom: 0; border-right: 1px solid var(--line); align-content: start; padding: 1.1rem; }
.days--full .day--today .day__h { box-shadow: inset 4px 0 0 var(--sky); }
.days--full .day__ev { flex-direction: row; flex-wrap: wrap; padding: .9rem; gap: .5rem; align-content: center; }
.days--full .ev { min-width: 200px; padding: .6rem .8rem; }
@media (max-width: 640px) {
  .days--full .day { grid-template-columns: 1fr; }
  .days--full .day__h { border-right: 0; border-bottom: 1px solid var(--line); }
  .days--full .ev { min-width: 0; flex: 1 1 100%; }
}

/* --------------------------------------------------------------------------
   Fotos
   -------------------------------------------------------------------------- */
.photo { display: block; overflow: hidden; background: var(--porcelain); border-radius: 8px; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.photo:hover img { transform: scale(1.03); }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(120px, 15vw, 200px); grid-auto-flow: dense; gap: 8px; }
.mosaic .photo:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic--post { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 160px; }
.mosaic--post .photo:first-child { grid-column: span 1; grid-row: span 1; }
@media (max-width: 700px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; }
  .mosaic .photo:first-child { grid-column: span 2; grid-row: span 2; }
  .mosaic--post { grid-template-columns: repeat(2, 1fr); }
}
.masonry { columns: 3 280px; column-gap: 10px; }
.masonry .photo { margin-bottom: 10px; break-inside: avoid; }
.masonry .photo img { height: auto; }
.strip { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; height: 100%; min-height: 320px; }
.strip .photo:first-child { grid-row: span 2; }
.strip .photo:nth-child(n+4) { display: none; }
.strip .photo:only-child { grid-column: span 2; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1.2rem 0 0; padding: 0; }
.chips a { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .8rem; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .92rem; }
.chips a span { font: 600 .78rem var(--f-d); color: var(--muted); }
.chips a:hover { border-color: var(--graphite); }
.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.album { display: block; text-decoration: none; color: inherit; }
.album__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: var(--porcelain); position: relative; }
.album__img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 10px; background: conic-gradient(var(--graphite) 25%, #fff 0 50%, var(--graphite) 0 75%, #fff 0) 0 0 / 10px 10px; opacity: .9; }
.album__img img { width: 100%; height: 100%; object-fit: cover; }
.album__txt { display: block; padding-top: .7rem; }
.album__t { display: block; font: 700 var(--step-1) var(--f-d); color: var(--graphite-d); }
.album:hover .album__t { color: var(--mint-d); }

/* --------------------------------------------------------------------------
   Vídeos
   -------------------------------------------------------------------------- */
.vgrid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1.2rem; }
.vgrid--one { grid-template-columns: minmax(0, 900px); }
.vgrid__side { display: grid; gap: 1rem; align-content: start; }
.vgrid__side .vcard { display: grid; grid-template-columns: 150px 1fr; gap: .8rem; align-items: center; text-align: left; }
.vgrid__side .vcard__img { aspect-ratio: 16 / 9; }
.vcard { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; }
.vcard__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: var(--graphite-d); }
.vcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.vcard:hover .vcard__img img { transform: scale(1.03); }
.vcard__ph { display: grid; place-items: center; height: 100%; color: var(--mint); }
.vcard__ph .ico { width: 48px; height: 48px; }
.vcard__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; background: rgba(255,255,255,.95); color: var(--sky-d); border-radius: 50%; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.vcard__play svg { width: 26px; height: 26px; margin-left: 4px; }
.vgrid__side .vcard__play { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
.vgrid__side .vcard__play svg { width: 16px; height: 16px; }
.vcard__title { display: block; font: 700 1.05rem/1.25 var(--f-d); margin-top: .6rem; }
.vgrid__side .vcard__title { margin: 0; }
.vgrid__side .vcard__date { display: none; }
.vcard--big .vcard__title { font-size: var(--step-2); }
.vcard__date { display: block; font-size: .85rem; opacity: .75; margin-top: .2rem; }
.vlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem 1.5rem; }
.vlist__d { color: var(--muted); margin: .4rem 0 0; font-size: .95rem; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; margin-bottom: 1.2rem; }
.player iframe, .player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) {
  .vgrid { grid-template-columns: 1fr; }
  .vgrid__side .vcard { grid-template-columns: 120px 1fr; }
}

/* --------------------------------------------------------------------------
   Sede y hoteles
   -------------------------------------------------------------------------- */
.venue { display: grid; gap: 1.5rem; }
.venue__main { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); background: #fff; border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; }
.venue__photos { min-height: 360px; padding: 6px; }
.venue__txt { padding: clamp(1.4rem, 3vw, 2.4rem); align-self: center; }
.venue__role { display: inline-flex; align-items: center; gap: .4rem; font: 700 .85rem var(--f-d); color: var(--mint-d); background: var(--mint-l); padding: .25rem .6rem; border-radius: 4px; margin-bottom: .8rem; }
.venue__txt h3 { font-size: var(--step-3); }
.stars { color: #e3a008; font-size: .6em; letter-spacing: .05em; vertical-align: middle; }
.venue__addr { display: flex; gap: .4rem; align-items: flex-start; color: var(--muted); font-size: .95rem; }
.venue__addr .ico { margin-top: .25em; }
.hotels { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.hotel { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; align-items: start; padding: .75rem; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; }
.hotel__img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 10px; }
.hotel__img img { width: 100%; height: 100%; object-fit: cover; }
.hotel__txt { padding: .3rem .3rem 0 0; }
.hotel h3 { font-size: var(--step-1); margin-bottom: .2rem; }
.hotel__role { color: var(--muted); font-size: .92rem; margin-bottom: .5rem; }
.hotel__map { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .92rem; }
@media (max-width: 860px) {
  .venue__main { grid-template-columns: 1fr; }
  .venue__photos { min-height: 260px; }
}
@media (max-width: 420px) { .hotel { grid-template-columns: 96px 1fr; } }
.map { position: relative; aspect-ratio: 16 / 7; border-radius: 14px; overflow: hidden; background: var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) { .map { aspect-ratio: 4 / 3; } }

/* --------------------------------------------------------------------------
   Actividades, cartel, preguntas, cifras, patrocinadores, bloque libre
   -------------------------------------------------------------------------- */
.event { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.event + .event { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.event__when { display: inline-flex; align-items: center; gap: .4rem; font: 700 .95rem var(--f-d); color: var(--mint-d); margin-bottom: .5rem; }
.event h3 { font-size: var(--step-3); }
.event__media { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.event__media > :first-child { grid-column: 1 / -1; }
.event__img { border-radius: 12px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1px; margin: 1.4rem 0 0; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.facts div { background: #fff; padding: .7rem .9rem; }
.facts dt { font: 600 .8rem var(--f-d); color: var(--muted); }
.facts dd { margin: .1rem 0 0; font-weight: 700; line-height: 1.35; }
.theme-mint .facts div { background: #fff; }
@media (max-width: 860px) { .event { grid-template-columns: 1fr; } }

.poster { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.poster__img { display: block; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 60px -25px rgba(0,0,0,.5); transform: rotate(-2deg); transition: transform .3s; }
.poster__img:hover { transform: rotate(0); }
.poster__lead { font-size: var(--step-1); line-height: 1.5; max-width: 56ch; opacity: .92; }
.poster__mail { display: flex; align-items: center; gap: .5rem; margin-top: 1.4rem; font-weight: 700; }
.theme-sky .btn--primary { --bg: #fff; --fg: var(--sky-d); --bd: #fff; }
@media (max-width: 760px) { .poster { grid-template-columns: 1fr; } .poster__img { max-width: 260px; } }

.faqwrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.faqwrap__bot { width: 120px; margin: .5rem 0 1rem; }
.faqwrap__ask { color: var(--muted); max-width: 36ch; }
.faqs { border-top: 3px solid var(--graphite); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; font: 700 var(--step-1)/1.3 var(--f-d); color: var(--graphite-d); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .2s; flex: none; }
.faq[open] summary .ico { transform: rotate(180deg); }
.faq .prose { padding: 0 0 1.2rem; color: var(--ink); }
@media (max-width: 860px) { .faqwrap { grid-template-columns: 1fr; } .faqwrap__bot { display: none; } }

.nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; margin: 0; border-top: 2px solid rgba(255,255,255,.25); }
.nums div { display: flex; flex-direction: column-reverse; padding: 1.2rem 1rem 0 0; }
.nums dd { margin: 0; font: 700 clamp(2.6rem, 2rem + 3vw, 4.2rem)/1 var(--f-d); color: var(--mint); }
.nums dt { font-size: var(--step-0); opacity: .85; margin-top: .3rem; }

.orgs-band { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.2rem clamp(2rem, 5vw, 4.5rem); }
.orgs__h { text-align: center; font: 600 .82rem var(--f-d); color: var(--muted); margin: 0 0 .9rem; }
.orgs ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .8rem 1.4rem; list-style: none; margin: 0; padding: 0; }
.orgs li a { display: block; padding: .35rem; border-radius: 8px; transition: background .15s; }
.orgs li a:hover { background: var(--porcelain); }
.orgs li img { height: 76px; width: auto; max-width: 230px; object-fit: contain; }
.orgs--strip { flex-basis: 100%; }
.orgs--strip li img { height: auto; max-height: none; width: 100%; max-width: 1100px; }
@media (max-width: 760px) {
  .orgs { flex-basis: 100%; }
  .orgs + .orgs { border-top: 1px solid var(--line); padding-top: 1.4rem; }
  .orgs li img { height: 54px; max-width: 160px; }
}
.blk--orgs { padding-block: 2.5rem; border-top: 1px solid var(--line); }

.custom { display: grid; gap: 2rem; }
.custom--img { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.custom__img img { border-radius: 14px; }
@media (max-width: 760px) { .custom--img { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Páginas interiores
   -------------------------------------------------------------------------- */
.phead { position: relative; background: var(--graphite-d); color: #fff; padding-block: clamp(2.4rem, 6vw, 4.2rem) clamp(2rem, 5vw, 3.4rem); overflow: hidden; }
.phead::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: conic-gradient(var(--graphite) 25%, #fff 0 50%, var(--graphite) 0 75%, #fff 0) 0 0 / 14px 14px; opacity: .9; }
.phead--img { background: linear-gradient(90deg, rgba(29,33,36,.88) 0%, rgba(29,33,36,.55) 60%, rgba(29,33,36,.25) 100%), var(--hero-img) var(--hero-pos, center) / cover no-repeat; }
.phead h1 { color: #fff; font-size: var(--step-4); margin: 0; max-width: 22ch; }
.phead__lead { font-size: var(--step-1); color: rgba(255,255,255,.85); margin: .8rem 0 0; max-width: 60ch; line-height: 1.45; }
.phead__kicker { margin: 0 0 .6rem; }
.phead__kicker a { display: inline-flex; align-items: center; gap: .35rem; color: var(--mint); font-weight: 700; text-decoration: none; }

.pagegrid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.sidenav { position: sticky; top: 100px; display: flex; flex-direction: column; border-top: 3px solid var(--graphite); }
.sidenav a { display: flex; align-items: center; gap: .55rem; padding: .75rem .2rem; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; }
.sidenav a .ico { color: var(--sky-d); }
.sidenav a:hover { color: var(--mint-d); }
@media (max-width: 860px) { .pagegrid { grid-template-columns: 1fr; } .sidenav { position: static; } }

.prose { max-width: 70ch; }
.prose--s { font-size: .95rem; }
.prose h2 { font-size: var(--step-2); margin: 2rem 0 .6rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--step-1); margin: 1.6rem 0 .5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--mint-d); font-weight: 700; }
.prose img { border-radius: 10px; margin: 1.2rem 0; }
.prose blockquote { margin: 1.5rem 0; padding: .4rem 0 .4rem 1.2rem; border-left: 4px solid var(--mint); font-size: var(--step-1); color: var(--graphite-d); }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; font-size: .95rem; }
.prose th, .prose td { padding: .6rem .7rem; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { font: 700 .88rem var(--f-d); background: var(--porcelain); }
.prose td { font-variant-numeric: tabular-nums; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }
.prose--post { font-size: 1.12rem; line-height: 1.7; }
.fallback-note { display: table; font-size: .85rem; color: var(--muted); background: var(--porcelain); border-left: 3px solid var(--mint); padding: .3rem .7rem; border-radius: 0 6px 6px 0; }

.files { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .6rem; }
.files a { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); background: #fff; }
.files a:hover { border-color: var(--graphite); }
.files a > .ico:first-child { color: var(--sky-d); width: 28px; height: 28px; }
.files a > span { flex: 1; font-weight: 700; display: flex; flex-direction: column; }
.files small { font-weight: 400; color: var(--muted); font-size: .88rem; }
.files--big a { padding: 1.2rem 1.3rem; font-size: 1.08rem; }

.post__head { background: #fff; padding-block: clamp(2rem, 5vw, 3.5rem) 1.5rem; }
.post__head h1 { font-size: var(--step-4); }
.post__lead { font-size: var(--step-1); color: var(--muted); line-height: 1.5; }
.crumb { margin-bottom: 1rem; }
.crumb a { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; text-decoration: none; }
.post__img { margin: 0 auto 2rem; max-width: 1080px; }
.post__img img { width: 100%; border-radius: 14px; }
.post__img figcaption { font-size: .88rem; color: var(--muted); margin-top: .5rem; }
.post { background: #fff; padding-bottom: 3rem; }
.post__h { font-size: var(--step-2); margin-top: 2.5rem; }
.share { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.share a, .share button { padding: .45rem .9rem; border: 1.5px solid var(--line); border-radius: 999px; font: 600 .9rem var(--f-d); text-decoration: none; color: var(--ink); background: #fff; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--graphite); }

.contact { display: grid; gap: 2rem; }
.contact__card { display: grid; grid-template-columns: 180px 1fr; gap: 2rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--porcelain); border-radius: 16px; }
.contact__bot { width: 100%; }
.contact__k { font: 700 .85rem var(--f-d); color: var(--muted); margin: 1rem 0 .2rem; }
.contact__k:first-child { margin-top: 0; }
.contact__mail { font: 700 var(--step-2) var(--f-d); margin: 0; word-break: break-word; }
@media (max-width: 600px) { .contact__card { grid-template-columns: 1fr; } .contact__bot { width: 120px; } }

.notfound { text-align: center; padding-block: 5rem; background: #fff; }
.notfound img { margin: 0 auto 1.5rem; width: 140px; }
.notfound .btns { justify-content: center; }

/* --------------------------------------------------------------------------
   Pie
   -------------------------------------------------------------------------- */
.foot { background: var(--graphite-xd); color: rgba(255,255,255,.82); }
.foot .checker { --sq: 12px; }
.foot__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 2.5rem; padding-block: 3rem 2rem; }
.foot__brand { display: grid; grid-template-columns: 96px 1fr; gap: 1.2rem; align-items: start; }
.foot__mascot { width: 96px; }
.foot__name { font: 700 1.2rem/1.2 var(--f-d); color: #fff; margin-bottom: .4rem; }
.foot__meta { font-family: var(--f-d); color: var(--mint); font-weight: 700; font-size: .95rem; }
.foot__text { font-size: .9rem; line-height: 1.55; max-width: 46ch; }
.foot__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; }
.foot__h { font: 700 .95rem var(--f-d); color: #fff; margin-bottom: .6rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: .4rem; }
.foot a { color: rgba(255,255,255,.82); text-decoration: none; font-size: .94rem; }
.foot a:hover { color: var(--mint); }
.social { display: flex; gap: .4rem; margin-top: 1rem; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid rgba(255,255,255,.25); border-radius: 50%; }
.social a:hover { border-color: var(--mint); }
.social .ico { width: 18px; height: 18px; }
.social--dark a { border-color: var(--line); color: var(--graphite-d); }
.foot__legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.2rem 1.6rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
@media (max-width: 860px) { .foot__in { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Visor de fotos y vídeos
   -------------------------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; background: rgba(15, 19, 21, .94); }
.lightbox[hidden] { display: none; }
.lightbox__stage { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; height: 100dvh; padding: 56px 0 24px; min-width: 0; }
.lightbox__media { display: flex; align-items: center; justify-content: center; width: 100%; flex: 1; min-height: 0; }
.lightbox__media img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lightbox__media .player { width: min(100%, 1200px); margin: 0; }
.lightbox__cap { color: rgba(255,255,255,.85); font-size: .95rem; padding-top: .8rem; text-align: center; min-height: 1.5em; }
.lightbox__close { position: absolute; top: 12px; right: 12px; z-index: 2; }
.lightbox__close, .lightbox__nav { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; justify-self: center; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox.single .lightbox__nav { visibility: hidden; }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 1fr; }
  .lightbox__nav { position: absolute; bottom: 16px; }
  .lightbox__nav--prev { left: 16px; } .lightbox__nav--next { right: 16px; }
  .lightbox__stage { padding: 60px 8px 80px; }
}


/* --------------------------------------------------------------------------
   Animación de los hoteles
   -------------------------------------------------------------------------- */
.dtabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px 2px 10px; margin-bottom: 1.4rem; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.dtab { flex: 1 0 74px; scroll-snap-align: start; display: grid; justify-items: center; gap: 0; padding: .6rem .4rem .55rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font-family: var(--f-d); color: var(--graphite-d); }
.dtab:hover { border-color: var(--graphite); }
.dtab__wd { font-size: .8rem; font-weight: 600; color: var(--muted); }
.dtab__n { font-size: 1.7rem; font-weight: 700; line-height: 1.05; }
.dtab__m { font-size: .72rem; color: var(--muted); }
.dtab--past { opacity: .6; }
.dtab--today .dtab__wd { color: var(--live); }
.dtab[aria-selected=true] { background: var(--graphite-d); border-color: var(--graphite-d); color: #fff; opacity: 1; }
.dtab[aria-selected=true] .dtab__wd, .dtab[aria-selected=true] .dtab__m { color: var(--mint); }
.dpanel__h { font-size: var(--step-2); margin-bottom: 1rem; }
.js .dpanel__h { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dpanel + .dpanel { margin-top: 2.5rem; }
.js .dpanel + .dpanel { margin-top: 0; }
.anim-cols { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 1.2rem; align-items: start; }
@media (max-width: 760px) { .anim-cols { grid-template-columns: 1fr; } }
.anim-cols[style*="--n:1"] { max-width: 640px; }
.anim { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; }
.theme-white .anim { background: var(--porcelain); border-color: transparent; }
.anim__head { display: flex; align-items: center; gap: .9rem; padding: .9rem 1.1rem; border-bottom: 3px solid var(--mint); }
.anim__head h3 { font-size: var(--step-1); margin: 0; }
.anim__head p { margin: 0; font-size: .88rem; color: var(--muted); }
.anim__img { flex: none; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; }
.anim__img img { width: 100%; height: 100%; object-fit: cover; }
.anim__list { list-style: none; margin: 0; padding: .4rem .5rem .6rem; }
.anim__row { display: grid; grid-template-columns: 5.6rem 1.9rem 1fr; align-items: center; gap: .25rem .4rem; padding: .55rem .6rem; border-radius: 10px; }
.anim__row + .anim__row { border-top: 1px dashed var(--line); }
.anim__t { font: 700 1rem var(--f-d); color: var(--graphite-d); font-variant-numeric: tabular-nums; }
.anim__end { font-weight: 500; color: var(--muted); font-size: .85rem; }
.anim__e { font-size: 1.35rem; line-height: 1; text-align: center; }
.anim__title { display: block; font-weight: 700; line-height: 1.25; }
.anim__meta { display: block; font-size: .86rem; color: var(--muted); line-height: 1.3; }
.anim__none { padding: 1.2rem 1.1rem; margin: 0; color: var(--muted); }
.anim__more { margin: 0; padding: 0 1.1rem .9rem; font-weight: 700; }
.anim--compact .anim__head { padding: .75rem 1rem; }
.anim--compact .anim__row { grid-template-columns: 4.9rem 1.7rem 1fr; padding: .45rem .5rem; }
.anim-day { display: flex; align-items: baseline; gap: .6rem; font: 600 var(--step-1) var(--f-d); color: var(--graphite-d); margin: -.6rem 0 1.2rem; }
.anim-day__l { padding: .1rem .6rem; border-radius: 6px; background: var(--graphite-d); color: var(--mint); font-size: .9rem; }
.anim-notes { margin-top: 1.6rem; display: grid; gap: .4rem; color: var(--muted); font-size: .95rem; max-width: 80ch; }
.anim-notes p { margin: 0; padding-left: 1.5rem; text-indent: -1.5rem; }
.anim-notes .ico { display: inline-block; width: 1rem; margin-right: .5rem; vertical-align: -2px; }

@media (max-width: 560px) {
  .quick__list { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .qtile { flex-direction: column; align-items: flex-start; gap: .6rem; padding: .9rem; }
  .qtile__s { font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .top, .announce, .foot, .lightbox, .status__cta, .hero__cta, .share { display: none !important; }
  body { background: #fff; }
}

/* Lichess broadcasts */
.broadcast-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem; margin-bottom: 1.5rem; }
.broadcast-controls label { display: grid; gap: .4rem; font-weight: 700; flex: 1 1 220px; }
.broadcast-controls select { width: 100%; min-height: 48px; padding: .65rem; border: 1px solid var(--graphite); border-radius: 6px; background: #fff; color: var(--graphite); font: inherit; }
.broadcast-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.broadcast-heading h2 { margin: 0; }
.broadcast-frame { display: block; width: 100%; height: 820px; border: 1px solid #dfe6ec; border-radius: 8px; background: #fff; }
@media (max-width: 600px) { .broadcast-frame { height: 760px; } }
