
/* Locura Fitness RD — tokens del design system LFRD (oscuro por defecto). */
:root {
  --locura-black: #040505; --locura-orange: #f88733;
  --surface-0: var(--locura-black); --surface-1: #141417; --surface-2: #1c1c21;
  --ink: #e8e4e0; --ink-muted: #a9a49c;
  --brand: var(--locura-orange); --brand-strong: #e0721f; --brand-text: var(--locura-orange); --on-brand: var(--locura-black);
  --hairline: #26262c; --hairline-strong: #4a4a52; --whatsapp: #25d366; --focus: #ffb380; --overlay: #040505cc;
  --shadow-card: 0 1px 0 #26262c, 0 12px 32px #00000066; --shadow-brand: 0 8px 24px #f8873359;
  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: Barlow, "Helvetica Neue", Arial, sans-serif;
  --logo-display: block; --wordmark-display: none; --sun-display: block; --moon-display: none;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) {
  --surface-0: #ffffff; --surface-1: #f6f4f1; --surface-2: #ecebe7; --ink: #15130f; --ink-muted: #5c574f;
  --brand-strong: #d4681a; --brand-text: #c24e00; --hairline: #dad7d1; --hairline-strong: #8f8a82; --focus: #c24e00; --overlay: #15130fb3;
  --shadow-card: 0 1px 2px #15130f14, 0 12px 32px #15130f1a; --logo-display: none; --wordmark-display: inline-flex; --sun-display: none; --moon-display: block; color-scheme: light;
} }
:root[data-theme="light"] {
  --surface-0: #ffffff; --surface-1: #f6f4f1; --surface-2: #ecebe7; --ink: #15130f; --ink-muted: #5c574f;
  --brand-strong: #d4681a; --brand-text: #c24e00; --hairline: #dad7d1; --hairline-strong: #8f8a82; --focus: #c24e00; --overlay: #15130fb3;
  --shadow-card: 0 1px 2px #15130f14, 0 12px 32px #15130f1a; --logo-display: none; --wordmark-display: inline-flex; --sun-display: none; --moon-display: block; color-scheme: light;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--surface-0); color: var(--ink); font: 400 16px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--surface-0); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
section { padding-block: 64px; }
@media (min-width: 900px) { section { padding-block: 96px; } }
.eyebrow { font: 600 13px/1.2 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-text); }
.muted { color: var(--ink-muted); }
.meta { font-size: 14px; color: var(--ink-muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 32px; border-radius: 999px; border: 1px solid transparent; font: 700 15px/1 var(--font-body); letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s; }
.btn--sm { height: 40px; padding: 0 20px; font-size: 14px; }
.btn--primary { background: var(--brand); color: var(--on-brand); }
.btn--primary:hover { background: var(--brand-strong); }
.btn--hero { box-shadow: var(--shadow-brand); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--hairline-strong); }
.btn--secondary:hover { border-color: var(--ink); }
.btn--ghost { background: none; color: var(--brand-text); padding: 0 8px; height: auto; }
.btn--ghost:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn--whatsapp { background: var(--whatsapp); color: var(--on-brand); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: var(--surface-0); border-bottom: 1px solid var(--hairline); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { display: var(--logo-display); height: 44px; width: auto; border-radius: 4px; }
.wordmark { display: var(--wordmark-display); align-items: center; gap: 8px; font: 800 28px/1 var(--font-display); color: var(--ink); letter-spacing: .02em; }
.wordmark i { width: 10px; height: 26px; background: var(--brand); border-radius: 2px; }
.nav { display: none; gap: 28px; font: 600 14px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; }
.nav a { text-decoration: none; color: var(--ink-muted); }
.nav a:hover { color: var(--ink); }
@media (min-width: 900px) { .nav { display: flex; } }
.header__actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 999px; border: 1px solid var(--hairline-strong); background: transparent; color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s; }
.theme-toggle:hover { background: var(--surface-2); border-color: var(--ink-muted); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle__sun { display: var(--sun-display); }
.theme-toggle__moon { display: var(--moon-display); }

/* Ad slots */
.ad { position: relative; display: grid; place-items: center; margin: 0 auto; border-radius: 4px; overflow: hidden; max-width: 100%; }
.ad--leaderboard, .ad--banner { width: 970px; height: 90px; }
.ad--rectangle { width: 300px; height: 250px; border-radius: 16px; }
.ad--billboard { width: 970px; height: 250px; border-radius: 16px; }
.ad__label { position: absolute; top: 8px; left: 12px; font: 600 12px/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.ad--filled { background: var(--surface-2); }
.ad--filled img { width: 100%; height: 100%; object-fit: cover; }
.ad--open { border: 1px dashed var(--hairline-strong); text-align: center; padding: 16px; }
.ad__size { font: 600 12px/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.ad__cta { display: inline-block; margin-top: 8px; font: 700 15px/1 var(--font-body); color: var(--brand-text); text-decoration: none; }
.ad__cta:hover { text-decoration: underline; text-underline-offset: 4px; }
.ad--open:is(.ad--leaderboard, .ad--banner) { grid-auto-flow: column; gap: 16px; padding: 0 24px; }
.ad--open:is(.ad--leaderboard, .ad--banner) .ad__cta { margin: 0; }
@media (max-width: 700px) { .ad--leaderboard, .ad--banner { width: 320px; height: 50px; } .ad--open:is(.ad--leaderboard, .ad--banner) { grid-auto-flow: row; gap: 2px; padding: 0 12px; } .ad--open:is(.ad--leaderboard, .ad--banner) .ad__size { font-size: 10px; } .ad--open:is(.ad--leaderboard, .ad--banner) .ad__cta { font-size: 13px; } .ad--billboard { width: 300px; height: 250px; } }
.ad-band { padding-block: 24px; }
/* Banner propio (casa): composición en HTML a la medida del formato */
.ad--house { display: block; text-decoration: none; background: var(--brand); color: var(--on-brand); border: 0; }
.ad--house .bn { position: absolute; inset: 0; display: grid; align-items: center; gap: 4px 16px; padding: 10px 20px; }
.ad--house .bn__kicker { font: 600 11px/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.ad--house .bn__title { margin: 0; font: 800 28px/.95 var(--font-display); text-transform: uppercase; letter-spacing: -.01em; text-wrap: balance; }
.ad--house .bn__cta { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--locura-black); color: #e8e4e0; font: 700 13px/1 var(--font-body); white-space: nowrap; }
.ad--house .bn__size { position: absolute; right: 10px; bottom: 6px; font: 600 10px/1 var(--font-body); letter-spacing: .08em; opacity: .7; }
.ad--house .bn__mark { position: relative; width: 44px; height: 14px; justify-self: end; }
.ad--house .bn__mark::before, .ad--house .bn__mark::after { content: ""; position: absolute; top: 0; width: 10px; height: 14px; border-radius: 2px; background: var(--locura-black); }
.ad--house .bn__mark::before { left: 0; } .ad--house .bn__mark::after { right: 0; }
.ad--house .bn__mark i { position: absolute; left: 10px; right: 10px; top: 5px; height: 4px; background: var(--locura-black); }
.ad--house.ad--dark { background: var(--locura-black); color: #e8e4e0; border: 1px solid var(--hairline-strong); }
.ad--house.ad--dark .bn__cta { background: var(--brand); color: var(--on-brand); }
.ad--house.ad--dark .bn__mark::before, .ad--house.ad--dark .bn__mark::after, .ad--house.ad--dark .bn__mark i { background: var(--brand); }
.ad--house.ad--dark .bn__kicker { color: var(--brand); opacity: 1; }
/* leaderboard y banner: una fila */
:is(.ad--leaderboard, .ad--banner) .bn { grid-template-columns: 1fr auto auto; }
:is(.ad--leaderboard, .ad--banner) .bn__title { font-size: 24px; }
.ad--billboard .bn { grid-template-columns: 1fr auto auto; }
.ad--leaderboard .bn__title { font-size: 24px; }
@media (max-width: 700px) { :is(.ad--leaderboard, .ad--banner) .bn { grid-template-columns: 1fr auto; padding: 6px 12px; gap: 0 10px; } :is(.ad--leaderboard, .ad--banner) :is(.bn__kicker, .bn__mark, .bn__size) { display: none; } :is(.ad--leaderboard, .ad--banner) .bn__title { font-size: 16px; } :is(.ad--leaderboard, .ad--banner) .bn__cta { height: 26px; padding: 0 10px; font-size: 11px; } }
/* rectángulo: apilado */
.ad--rectangle .bn { align-content: space-between; padding: 20px; }
.ad--rectangle .bn__title { font-size: 34px; }
.ad--rectangle .bn__mark { justify-self: start; }
/* billboard: dos columnas */
.ad--billboard .bn { padding: 32px 40px; gap: 8px 32px; }
.ad--billboard .bn__title { font-size: 48px; }
.ad--billboard .bn__cta { height: 44px; padding: 0 24px; font-size: 15px; }
@media (max-width: 700px) { .ad--billboard .bn { grid-template-columns: 1fr; align-content: space-between; padding: 20px; } .ad--billboard .bn__title { font-size: 34px; } .ad--billboard .bn__mark { display: none; } }
/* Miniaturas de formato en la sección Anúnciate */
.formats { display: grid; gap: 24px; background: none; border: 0; border-radius: 0; overflow: visible; }
.format { display: grid; gap: 12px; padding: 0; background: none; grid-template-columns: 1fr; }
.format__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.format__thumb { position: relative; width: 100%; max-width: 100%; border-radius: 8px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--hairline); }
.format__thumb .ad { transform-origin: top left; position: absolute; top: 0; left: 0; margin: 0; }


/* Hero = latest edition */
.hero { padding-block: 48px 64px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.1fr .9fr; gap: 64px; } .hero { padding-block: 72px 96px; } }
.hero h1 { font: 800 clamp(52px, 9vw, 96px)/.92 var(--font-display); text-transform: uppercase; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--brand-text); }
.hero p { max-width: 54ch; margin: 24px 0 32px; font-size: 18px; color: var(--ink-muted); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.issue { position: relative; display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 24px; padding: 24px; background: var(--surface-1); border: 1px solid var(--hairline); border-radius: 16px; align-items: center; }
.cover { position: relative; aspect-ratio: 3 / 4; width: 100%; max-width: 100%; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover__ph { display: grid; place-content: center; text-align: center; height: 100%; padding: 12px; color: var(--ink-muted); font: 800 clamp(28px, 5vw, 56px)/1 var(--font-display); text-transform: uppercase; }
.cover__ph small { display: block; margin-top: 8px; font: 600 11px/1.3 var(--font-body); letter-spacing: .08em; }
.cover__ph b { color: var(--brand-text); }
.badge { position: absolute; top: 12px; left: 12px; padding: 4px 8px; background: var(--brand); color: var(--on-brand); border-radius: 4px; font: 600 12px/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.issue h2 { font: 700 32px/1 var(--font-display); margin: 4px 0 8px; }
.issue .theme { margin: 0 0 20px; color: var(--ink-muted); }
.issue__actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 480px) { .issue { grid-template-columns: 1fr; } .cover { max-width: 200px; } }

/* Section heading */
.sh { display: grid; gap: 8px; margin-bottom: 48px; }
.sh h2 { font: 800 clamp(40px, 6vw, 56px)/.95 var(--font-display); text-transform: uppercase; }
.sh h2::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 12px; background: var(--brand); border-radius: 4px; }
.sh p { margin: 0; max-width: 56ch; color: var(--ink-muted); }
.sh--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.sh--row > div { display: grid; gap: 8px; }

/* News */
/* Sobre nosotros */
#nosotros { scroll-margin-top: calc(72px + env(safe-area-inset-top, 0px)); }
.about-layout { display: grid; gap: 48px; }
@media (min-width: 1000px) { .about-layout { grid-template-columns: 1fr 300px; align-items: start; } }
.about .sh h2 em { font-style: normal; color: var(--brand-text); }
.about__body { display: grid; gap: 16px; max-width: 62ch; font-size: 17px; color: var(--ink-muted); }
.about__body p { margin: 0; }
.about__body p:first-child { font-size: 20px; line-height: 1.45; color: var(--ink); }
.about__quote { margin: 40px 0 0; padding: 28px 32px 32px; max-width: 62ch; background: var(--surface-1); border: 1px solid var(--hairline); border-radius: 16px; }
.about__quote::before { content: "\201C"; display: block; height: 36px; font: 800 88px/.8 var(--font-display); color: var(--brand); }
.about__quote p { margin: 0; font: 700 clamp(22px, 2.6vw, 28px)/1.15 var(--font-display); text-transform: uppercase; text-wrap: balance; }
.news-layout { display: grid; gap: 24px; }
@media (min-width: 1000px) { .news-layout { grid-template-columns: 1fr 300px; align-items: start; } }
.news-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .news-grid { grid-template-columns: 1.6fr 1fr; } }
.news { position: relative; display: grid; min-height: 320px; background: var(--surface-1); border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.news:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.news--lead { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .news--lead { grid-template-columns: 1fr; } }
.news__media { position: relative; min-height: 200px; background: var(--surface-2); }
.news--stacked .news__media { aspect-ratio: 16 / 9; min-height: 0; }
.news__media img { width: 100%; height: 100%; object-fit: cover; }
.news__ph { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 16px; color: var(--ink-muted); font: 600 12px/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.news__ph svg { width: 40px; height: 40px; margin: 0 auto 8px; stroke: var(--hairline-strong); }
.news__body { display: grid; align-content: end; gap: 8px; padding: 24px; min-width: 0; }
.news--lead h3 { font: 700 clamp(26px, 3vw, 32px)/1 var(--font-display); }
.news--stacked h3 { font: 700 20px/1.25 var(--font-body); }
.news h3 { overflow-wrap: anywhere; }
.news p { margin: 0; color: var(--ink-muted); }
.news__more { font: 700 15px/1 var(--font-body); color: var(--brand-text); }

/* Archive */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--hairline-strong); background: transparent; color: var(--ink-muted); font: 600 13px/1 var(--font-body); letter-spacing: .04em; cursor: pointer; }
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.mag-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 700px) { .mag-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; } }
.mag { display: grid; gap: 16px; align-content: start; padding: 16px; background: var(--surface-1); border: 1px solid var(--hairline); border-radius: 16px; transition: transform .15s, box-shadow .15s; }
.mag:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.mag h3 { font: 700 20px/1.25 var(--font-body); }
.mag .theme { margin: 4px 0 0; font-size: 14px; color: var(--ink-muted); }
.mag__actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 480px) { .mag__actions .btn { height: 36px; padding: 0 14px; font-size: 13px; } .mag__actions .btn svg { width: 14px; height: 14px; } }
.empty { padding: 48px; text-align: center; color: var(--ink-muted); border: 1px dashed var(--hairline-strong); border-radius: 16px; }

/* Anunciantes: galería de banners subidos por LFRD, cada uno enlaza a la página del anunciante */
.adv { background: var(--surface-0); }
.sponsors { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .sponsors { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1000px) { .sponsors { grid-template-columns: repeat(3, 1fr); } .sp--wide { grid-column: span 2; } }
.sp { position: relative; display: block; aspect-ratio: 2 / 1; max-width: 100%; border-radius: 16px; overflow: hidden; background: var(--surface-1); border: 1px solid var(--hairline); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.sp--wide { aspect-ratio: 4 / 1; }
@media (max-width: 999px) { .sp--wide { aspect-ratio: 2 / 1; } }
.sp:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.sp img { width: 100%; height: 100%; object-fit: cover; }
.sp__label { position: absolute; top: 10px; left: 12px; padding: 3px 8px; border-radius: 4px; background: var(--overlay); color: var(--ink); font: 600 11px/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.sp__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--overlay); color: var(--ink); font: 600 14px/1.2 var(--font-body); }
.sp__bar span:last-child { color: var(--brand-text); white-space: nowrap; }
.sp__bar svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }
/* Placeholder mientras no hay imagen: nombre del cliente sobre una superficie */
.sp__ph { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 24px; background: var(--surface-2); color: var(--ink-muted); }
.sp__ph b { display: block; font: 800 clamp(24px, 3vw, 36px)/1 var(--font-display); text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.sp__ph small { font: 600 11px/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }

/* Footer */
.footer { padding-block: 48px 32px; border-top: 1px solid var(--hairline); }
.footer .wrap { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer .wrap { grid-template-columns: 2fr 1fr 1fr; } }
.footer h4 { margin: 0 0 12px; font: 600 13px/1.2 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; color: var(--ink-muted); }
.footer a:hover { color: var(--ink); }
.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--hairline-strong); color: var(--ink-muted); }
.social a:hover { color: var(--brand-text); border-color: var(--brand-text); }
.social svg { width: 18px; height: 18px; }
.legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--hairline); font-size: 14px; color: var(--ink-muted); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Archivo: paginación y filtro */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--hairline-strong); color: var(--ink-muted); text-decoration: none; font: 600 14px/1 var(--font-body); }
.pagination a:hover { color: var(--ink); border-color: var(--ink); }
.pagination .active span { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.pagination .disabled span { opacity: .4; }
/* Noticia */
.article { max-width: 72ch; margin: 0 auto; }
.article__media { aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--surface-2); margin: 32px 0; }
.article__media img { width: 100%; height: 100%; object-fit: cover; }
.article h1 { font: 800 clamp(36px, 6vw, 56px)/.98 var(--font-display); }
.article__body { font-size: 18px; } .article__body p { margin: 0 0 1.2em; }
/* Hero: solo la edición más reciente */
.hero--single .wrap { grid-template-columns: 1fr; }
.hero--single .issue { grid-template-columns: minmax(200px, 320px) 1fr; }
@media (max-width: 600px) { .hero--single .issue { grid-template-columns: 1fr; } }
.flash { padding: 12px 16px; border-radius: 8px; background: var(--surface-1); border: 1px solid var(--brand); color: var(--ink); margin-bottom: 24px; }

/* Galería de anunciantes: distribución elegida en /admin/advertisers/layout */
@media (min-width: 1000px) {
  .sponsors--grid.sponsors--cols-2 { grid-template-columns: repeat(2, 1fr); }
  .sponsors--grid.sponsors--cols-4 { grid-template-columns: repeat(4, 1fr); }
  .sponsors--grid.sponsors--cols-2 .sp--wide { grid-column: 1 / -1; }
}
.sponsors--list { grid-template-columns: 1fr !important; max-width: 960px; margin-inline: auto; }
.sponsors--list .sp, .sponsors--list .sp--wide { aspect-ratio: 2 / 1; grid-column: auto; }
@media (min-width: 700px) { .sponsors--list .sp, .sponsors--list .sp--wide { aspect-ratio: 3 / 1; } }
.sponsors--carousel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; --cols: 3; }
.sponsors--carousel::-webkit-scrollbar { display: none; }
.sponsors--carousel .sp { flex: 0 0 85%; scroll-snap-align: start; }
@media (min-width: 700px) { .sponsors--carousel { gap: 24px; } .sponsors--carousel .sp { flex-basis: calc((100% - 24px) / 2); } }
@media (min-width: 1000px) {
  .sponsors--carousel .sp { flex-basis: calc((100% - 24px * (var(--cols) - 1)) / var(--cols)); }
  .sponsors--carousel .sp--wide { flex-basis: calc((100% - 24px * (var(--cols) - 1)) / var(--cols) * 2 + 24px); }
}
.sponsors--carousel .sp:hover { transform: none; }
.carousel-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }
.carousel-nav button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--hairline-strong); background: transparent; color: var(--ink); font: 700 18px/1 var(--font-body); cursor: pointer; }
.carousel-nav button:hover { border-color: var(--brand); color: var(--brand-text); }
.sponsors--no-names .sp__bar { display: none; }
.sponsors--no-label .sp__label { display: none; }

/* Franja de aviso sobre el menú, editable en /admin/settings */
.announce { background: var(--brand); color: var(--on-brand); font: 600 14px/1.3 var(--font-body); text-align: center; padding: 10px 16px; }
.announce a { color: inherit; text-underline-offset: 3px; }
/* La franja y la etiqueta de los banners van sobre --overlay (oscuro en ambos temas): texto claro siempre */
.sp__label, .sp__bar { color: #f5f2ee; }
.sp__bar span:last-child { color: var(--locura-orange); }
