/* Early Agenda — typography, space and real festival content. No external fonts. */
:root { --paper: #faf9f5; --white: #fffefa; --ink: var(--accent, #173f35); --muted: #626d65; --line: #d9dfd5; --pale: #edf1e8; --gold: #c5a96e; --serif: var(--gh-font-heading, Georgia, 'Times New Roman', serif); --sans: var(--gh-font-body, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; }
a:hover { color: var(--hover, #496b54); }
img { max-width: 100%; height: auto; }
svg { max-width: 100%; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #826522; outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; letter-spacing: -.035em; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 12px 20px; background: var(--ink); color: white; transform: translateY(-180%); z-index: 20; }
.skip-link:focus { transform: none; }
.site-header { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { width: 48px; height: 48px; border: 1px solid var(--ink); display: flex; align-items: center; justify-content: center; font: italic 29px var(--serif); letter-spacing: -.13em; padding-right: 5px; }
.brand-mark span { margin-top: 10px; }
.brand-name { font: 28px/1.05 var(--serif); letter-spacing: -.04em; }
.brand-name small { display: block; font: 10px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; margin-top: 8px; }
.brand-logo { width: 300px; max-width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 13px; }
.site-search { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 38px; padding: 8px; border: 0; background: none; }
.theme-control { position: relative; }
.theme-toggle, .theme-options button { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 9px; border: 0; background: transparent; }
.theme-toggle svg, .theme-options svg { width: 20px; height: 20px; }
.theme-options { position: absolute; top: calc(100% + 4px); right: 0; z-index: 10; display: flex; gap: 2px; padding: 4px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 4px 12px #0002; }
.theme-options button:hover, .theme-options button[aria-pressed="true"] { background: var(--pale); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; min-height: 48px; padding: 12px 24px; background: var(--ink); border: 1px solid var(--ink); border-radius: 2px; color: white; font-size: 13px; font-weight: 600; }
.button:hover { background: #305447; color: white; }
.button-small { min-height: 42px; padding: 9px 20px; }
.button-light { background: var(--paper); color: var(--ink); border-color: var(--paper); white-space: nowrap; }
.button-light:hover { background: #e3eadc; color: var(--ink); }
.menu-toggle { display: none; border: 1px solid var(--line); background: transparent; padding: 8px 12px; font-size: 13px; min-height: 44px; }
.menu-toggle span { margin-left: 12px; }
.eyebrow { font: 10px/1.6 var(--sans); text-transform: uppercase; letter-spacing: .16em; font-weight: 600; }
.text-link { display: inline-flex; align-items: center; gap: 24px; border: 0; border-bottom: 1px solid currentColor; padding: 0 0 5px; background: none; font-size: 13px; font-weight: 600; }
.live-dot { display: inline-block; width: 6px; height: 6px; margin: 0 7px 1px 0; border-radius: 50%; background: var(--ink); }
.home-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 76px; padding: 64px 0 76px; }
.hero-copy { padding-top: 8px; }
.hero-copy h1 { font-size: clamp(48px, 5.9vw, 80px); max-width: 620px; line-height: 1.04; margin: 26px 0; }
.hero-description { color: var(--muted); font-size: 16px; max-width: 430px; }
.hero-link { margin-top: 26px; }
.hero-footnote { display: flex; gap: 16px; align-items: center; margin-top: 46px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.hero-footnote > span { font: 48px/1 var(--serif); color: var(--gold); }
.upcoming { border: 1px solid var(--line); background: var(--pale); align-self: start; }
.upcoming-heading { padding: 25px 26px 17px; }
.upcoming-heading h2 { font-size: 29px; margin-top: 7px; }
.edition-card { position: relative; display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.edition-card-copy { flex: 1; min-width: 0; }
.edition-card h3 { font-size: 25px; margin: 8px 0 7px; }
.edition-card h3 a, .festival-card h3 a { display: block; }
.edition-card-copy > p { font-size: 13px; line-height: 1.6; color: var(--muted); }
.edition-card-date { display: flex; flex-direction: column; min-width: 56px; text-align: center; align-self: start; padding-top: 4px; }
.edition-card-date span { font: 9px/1.3 var(--sans); text-transform: uppercase; letter-spacing: .1em; }
.edition-card-date strong { font: 37px/1.15 var(--serif); margin: 4px 0 2px; }
.edition-card-date small { font: 10px/1.3 var(--sans); color: var(--muted); }
.arrow-link { align-self: center; font-size: 22px; padding: 8px; }
.upcoming .edition-card { padding: 20px 22px; gap: 15px; border-top: 1px solid var(--line); border-bottom: 0; }
.upcoming .edition-card h3 { font-size: 21px; margin-bottom: 5px; }
.upcoming .edition-card-copy > p { display: none; }
.upcoming .edition-card-date { min-width: 42px; }
.upcoming .edition-card-date strong { font-size: 34px; }
.upcoming .arrow-link { font-size: 18px; padding: 5px; }
.upcoming-note { border-top: 1px solid var(--line); padding: 17px 26px; font-size: 11px; color: var(--muted); line-height: 1.7; }
.upcoming-empty { padding: 22px 26px; font-size: 13px; }
.status-line { display: flex; flex-wrap: wrap; gap: 5px 8px; }
.status { display: inline-flex; font-size: 9px; font-weight: 600; line-height: 1.6; letter-spacing: .015em; padding: 3px 7px; border-radius: 2px; }
.status-complete { color: #1c5b44; background: #e0ecdf; }
.status-announced, .status-partial { color: #765c26; background: #f3ebd6; }
.status-archive { color: #61666a; background: #e9eae5; }
.status-approximate { color: #785532; background: #f2e4d4; }
.edition-date { display: block; font-size: 12px; line-height: 1.5; color: var(--muted); margin-top: 7px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 28px; }
.section-heading h2 { margin-top: 11px; font-size: clamp(30px, 3.2vw, 43px); }
.section-heading > p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.directory { padding-top: 40px; border-top: 1px solid var(--ink); scroll-margin-top: 28px; }
.directory-filters { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: 22px; padding: 22px 24px; background: var(--filter-background, #f0f1ea); border: 1px solid var(--line); }
.directory-filters label { display: block; font-size: 10px; letter-spacing: .06em; margin-bottom: 7px; }
.directory-filters input, .directory-filters select { width: 100%; min-height: 43px; background: var(--white); border: 1px solid var(--input-border, #c8d0c4); border-radius: 1px; padding: 9px 12px; font-size: 13px; color: var(--ink); }
.directory-filters input::placeholder { color: var(--placeholder, #777f76); }
.directory-filters select { cursor: pointer; }
.reset-filters { align-self: end; padding: 10px 2px; min-height: 43px; border: 0; background: transparent; font-size: 11px; white-space: nowrap; }
.reset-filters span { margin-left: 7px; }
.directory-meta { display: flex; justify-content: space-between; margin: 23px 0 17px; font-size: 11px; color: var(--muted); }
.festival-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.festival-card { min-width: 0; display: flex; flex-direction: column; background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 30px 25px; }
.concerts { padding: 70px 0; }
.concert-controls { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.concert-controls button { border: 1px solid var(--line); background: transparent; padding: 10px 16px; cursor: pointer; }
.concert-controls button[aria-pressed="true"] { background: var(--selected-background, #173f35); color: var(--selected-text, white); }
.concert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.concert-card { background: var(--white); min-width: 0; }
.concert-image, .festival-image { display: block; overflow: hidden; }
.concert-image img, .festival-image img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.concert-image img { object-position: center 25%; }
.festival-image { margin: -28px -30px 24px; }
.concert-copy { padding: 22px; }
.concert-copy h3 { font-size: 24px; margin: 10px 0; }
.concert-copy p { margin-bottom: 14px; }
.edition-program { margin-top: 3rem; }
.edition-program .program-day { margin: 2rem 0 1rem; }
.edition-program .program-day::first-letter { text-transform: uppercase; }
.edition-program .concert-card { display: grid; grid-template-columns: minmax(140px, 32%) 1fr; margin-bottom: 1rem; border: 1px solid var(--line); }
.edition-program .concert-image img { height: 100%; min-height: 160px; }
@media (max-width: 560px) { .edition-program .concert-card { grid-template-columns: 1fr; } .edition-program .concert-image img { max-height: 260px; } }
.festival-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.country { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.card-number { font-size: 10px; color: #909889; }
.festival-card h3 { font-size: clamp(26px, 2.5vw, 34px); max-width: 490px; margin-bottom: 16px; }
.festival-description { color: var(--muted); font-size: 13px; line-height: 1.75; max-width: 440px; }
.festival-card-bottom { margin-top: auto; padding-top: 28px; }
.festival-edition { padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.edition-mini { display: inline-block; font-size: 12px; margin-top: 8px; font-weight: 600; }
.edition-mini > span { margin-left: 8px; }
.festival-card .text-link { font-size: 11px; border-bottom: 0; padding-bottom: 0; }
.directory-note { font-size: 11px; color: var(--muted); margin-top: 18px; max-width: 750px; }
.empty-state { padding: 30px; color: var(--muted); grid-column: 1 / -1; }
.empty-state h3 { color: var(--ink); font-size: 28px; margin-bottom: 12px; }
.filter-empty { background: var(--pale); margin-top: 12px; }
.filter-empty .text-link { margin-top: 16px; }
.editorial-note { display: grid; grid-template-columns: .5fr 1fr 1fr; gap: 30px; align-items: start; padding: 68px 0 76px; }
.editorial-note > span { font-size: 11px; color: #827b63; padding-top: 7px; }
.editorial-note h2 { font-size: 32px; }
.editorial-note p { font-size: 13px; color: var(--muted); max-width: 360px; }
.newsletter { display: flex; align-items: center; justify-content: space-between; gap: 34px; background: var(--newsletter-background, var(--ink)); color: var(--newsletter-text, var(--paper)); padding: 38px 42px; }
.newsletter h2 { font-size: 32px; margin-top: 7px; letter-spacing: -.02em; }
.newsletter p:not(.eyebrow) { color: #c2d1c6; font-size: 12px; margin-top: 12px; max-width: 420px; }
.newsletter-symbol { color: var(--gold); font-size: 62px; font-family: var(--serif); font-weight: 400; }
.site-footer { display: flex; justify-content: space-between; align-items: end; gap: 36px; padding: 35px 0 40px; }
.footer-brand { font: 22px var(--serif); letter-spacing: -.025em; }
.site-footer p { font-size: 10px; color: var(--muted); margin-top: 7px; }
.footer-links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; font-size: 10px; color: var(--muted); }
.footer-links .nav { display: flex; gap: 18px; padding: 0; margin: 0; list-style: none; }
.article-layout { display: grid; grid-template-columns: minmax(0, 780px) minmax(240px, 300px); gap: 76px; padding: 40px 0 72px; }
.breadcrumb { font-size: 11px; color: var(--muted); }
.article-header { margin-top: 36px; margin-bottom: 36px; }
.article-header h1 { font-size: clamp(42px, 4.6vw, 62px); margin: 14px 0 20px; overflow-wrap: break-word; }
.article-header .status { font-size: 11px; padding: 5px 9px; }
.article-intro { font-size: 18px; color: var(--muted); margin-top: 22px; max-width: 640px; }
.article-dates { margin-top: 16px; font-size: 17px; color: var(--ink); }
.article-sidebar { border-left: 1px solid var(--line); padding-left: 26px; margin-top: 65px; align-self: start; }
.article-sidebar h2 { font-size: 26px; margin: 9px 0 20px; }
.article-sidebar .edition-card { gap: 12px; flex-wrap: wrap; padding: 22px 0; }
.article-sidebar .edition-card h3 { font-size: 21px; }
.article-sidebar .edition-card-date { min-width: 32px; }
.article-sidebar .edition-card-date strong { font-size: 29px; }
.article-sidebar .arrow-link { display: none; }
.article-sidebar .edition-card-copy > p { display: none; }
.small-note { font-size: 11px; color: var(--muted); line-height: 1.8; margin-top: 22px; }
.festival-return { border-bottom: 1px solid var(--line); padding-bottom: 26px; margin-bottom: 30px; }
.festival-return h2 { font-size: 25px; }
.festival-return .text-link { font-size: 11px; }
.contents-nav { margin: 30px 0; }
.contents-nav ol { list-style: none; padding: 0; margin: 16px 0 0; }
.contents-nav li { font-size: 12px; line-height: 1.5; margin: 14px 0; }
.contents-nav a { display: block; padding: 3px 0; }
.contents-nav .contents-subsection { padding-left: 12px; font-size: 11px; color: var(--muted); }
.mobile-contents { display: none; background: var(--pale); padding: 16px 20px; margin-bottom: 28px; font-size: 13px; }
.mobile-contents summary { cursor: pointer; font-weight: 600; min-height: 30px; }
.mobile-contents ol { padding: 10px 0 0 16px; }
.mobile-contents li { margin: 12px 0; }
.archive-notice { border-left: 3px solid #8a947f; background: var(--pale); padding: 16px 20px; font-size: 13px; margin-bottom: 30px; }
.article-image { margin: 30px 0; }
.article-image img { width: 100%; display: block; }
figcaption { font-size: 11px; color: var(--muted); margin: 10px 0; text-align: center; }
.gh-content { font-size: 17px; line-height: 1.85; overflow-wrap: break-word; }
.gh-content > * + * { margin-top: 22px; }
.gh-content h2 { font-size: 33px; margin-top: 45px; padding-top: 23px; border-top: 1px solid var(--line); scroll-margin-top: 30px; }
.gh-content h3 { font-size: 24px; margin-top: 30px; }
.gh-content h4, .gh-content h5, .gh-content h6 { line-height: 1.4; }
.gh-content a { color: var(--content-link, #2e684f); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.page-suscribirse .gh-content a[href="#/portal/signup"] { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border: 1px solid var(--ink); border-radius: 2px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 600; text-decoration: none; }
.page-suscribirse .gh-content a[href="#/portal/signup"]:hover { background: #305447; color: white; }
.page-suscribirse .newsletter { display: none; }
.gh-content p, .gh-content ul, .gh-content ol { max-width: 720px; }
.gh-content blockquote { font: italic 26px/1.5 var(--serif); border-left: 3px solid var(--gold); padding-left: 24px; margin-left: 0; }
.gh-content hr { border: 0; border-top: 1px solid var(--line); }
.gh-content table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 14px; width: 100%; }
.gh-content th, .gh-content td { border-bottom: 1px solid var(--line); padding: 10px 16px; text-align: left; }
.gh-content pre { overflow-x: auto; padding: 16px; background: var(--pale); font-size: 13px; }
.gh-content iframe { max-width: 100%; }
.gh-content .kg-width-wide { width: 100%; }
.gh-content .kg-width-full { width: 100%; }
.kg-image-card img { display: block; margin-inline: auto; }
.kg-gallery-container { display: flex; flex-direction: column; gap: 12px; }
.kg-gallery-row { display: flex; gap: 12px; }
.kg-gallery-image { flex: 1; min-width: 0; }
.kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; }
.kg-bookmark-container { display: flex; border: 1px solid var(--line); padding: 18px; gap: 20px; text-decoration: none !important; }
.kg-bookmark-content { min-width: 0; flex: 1; }
.kg-bookmark-title { font-size: 15px; font-weight: 600; }
.kg-bookmark-description { font-size: 12px; color: var(--muted); margin-top: 8px; }
.kg-bookmark-metadata { display: flex; gap: 8px; font-size: 11px; margin-top: 10px; }
.kg-bookmark-icon { width: 20px; height: 20px; }
.kg-bookmark-thumbnail { width: 30%; }
.kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.article-updated { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 40px; color: var(--muted); font-size: 11px; }
.archive-layout { padding: 50px 0 80px; }
.archive-layout h1 { font-size: 48px; margin-top: 12px; }
.edition-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 44px; }
.pagination { display: flex; justify-content: center; gap: 30px; margin-top: 38px; font-size: 12px; }
.error-page { padding: 80px 0 100px; }
.error-page h1 { font-size: 72px; margin: 24px 0; }
.error-page > p:not(.eyebrow) { color: var(--muted); max-width: 500px; }
.error-page .button { margin-top: 30px; }
@media (min-width: 1500px) { .hero-copy h1 { font-size: 80px; } }
@media (max-width: 1060px) {
    .wrap { width: calc(100% - 64px); }
    .home-hero { gap: 36px; grid-template-columns: 1.2fr 1fr; }
    .hero-copy h1 { font-size: 62px; }
    .directory-filters { gap: 14px; grid-template-columns: 1.4fr 1fr 1fr; }
    .reset-filters { grid-column: 1 / -1; justify-self: start; min-height: 30px; padding: 0; }
    .article-layout { gap: 32px; grid-template-columns: minmax(0, 1fr) 240px; }
    .newsletter { padding: 30px; gap: 22px; flex-wrap: wrap; }
    .newsletter h2 { font-size: 28px; }
    .newsletter-symbol { font-size: 48px; }
}
@media (max-width: 760px) {
    .wrap { width: calc(100% - 40px); }
    .site-header { min-height: 90px; gap: 12px; flex-wrap: wrap; padding-block: 18px; }
    .brand-logo { width: 240px; }
    .brand-mark { width: 38px; height: 38px; font-size: 25px; }
    .brand-name { font-size: 24px; }
    .brand-name small { font-size: 8px; letter-spacing: .07em; }
    .main-nav { gap: 14px; font-size: 12px; flex-wrap: wrap; width: 100%; padding-top: 12px; }
    .menu-toggle { display: block; }
    .has-js .main-nav { display: none; }
    .has-js .menu-open .main-nav { display: flex; }
    .home-hero { grid-template-columns: 1fr; gap: 38px; padding: 40px 0 44px; }
    .hero-copy h1 { font-size: clamp(44px, 12vw, 64px); max-width: 530px; margin: 20px 0 22px; }
    .hero-description { font-size: 15px; }
    .hero-footnote { margin-top: 28px; }
    .hero-link { margin-top: 22px; }
    .upcoming-heading { padding: 23px 22px 20px; }
    .upcoming .edition-card { padding: 20px 18px; }
    .upcoming .edition-card h3 { font-size: 22px; }
    .upcoming-note { padding: 16px 22px; }
    .section-heading { display: block; margin-bottom: 24px; }
    .section-heading > p { margin-top: 16px; }
    .section-heading > a { margin-top: 24px; }
    .directory { padding-top: 30px; }
    .directory-filters { grid-template-columns: 1fr 1fr; gap: 18px 14px; padding: 20px; }
    .filter-search { grid-column: 1 / -1; }
    .festival-grid { grid-template-columns: 1fr; }
    .festival-card { padding: 24px; }
    .festival-image { margin: -24px -24px 24px; }
    .festival-card h3 { font-size: 30px; }
    .festival-card-top { margin-bottom: 16px; }
    .directory-meta { font-size: 10px; gap: 15px; }
    .editorial-note { grid-template-columns: 1fr; gap: 20px; padding: 44px 0; }
    .editorial-note h2 { font-size: 31px; }
    .newsletter { display: block; padding: 28px 24px; }
    .newsletter-symbol { display: none; }
    .newsletter h2 { font-size: 30px; }
    .newsletter .button { margin-top: 24px; width: 100%; white-space: normal; }
    .site-footer { display: block; padding: 30px 0; }
    .footer-links { margin-top: 23px; row-gap: 12px; }
    .article-layout { grid-template-columns: 1fr; padding-top: 30px; padding-bottom: 46px; gap: 32px; }
    .article-header { margin-top: 28px; margin-bottom: 28px; }
    .article-header h1 { font-size: 43px; }
    .article-intro { font-size: 16px; }
    .article-sidebar { grid-row: 2; margin-top: 0; border-left: 0; border-top: 1px solid var(--line); padding: 26px 0 0; }
    .article-sidebar h2 { font-size: 29px; }
    .article-sidebar .contents-nav { display: none; }
    .mobile-contents { display: block; }
    .gh-content { font-size: 16px; }
    .gh-content h2 { font-size: 29px; }
    .gh-content h3 { font-size: 23px; }
    .edition-grid { grid-template-columns: 1fr; }
    .archive-layout { padding-block: 34px 50px; }
    .archive-layout h1 { font-size: 38px; }
    .error-page h1 { font-size: 49px; }
    .pagination { flex-wrap: wrap; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Follow the device unless the reader has chosen a theme. */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) { color-scheme: dark; --paper: #121e1a; --white: #1b2b25; --ink: #e1ece2; --muted: #b1c1b5; --line: #42564a; --pale: #22352b; --gold: #dec38a; --hover: #b8d9bc; --filter-background: #203128; --input-border: #61766a; --placeholder: #adbbb0; --content-link: #a8d9b6; --selected-background: #c5ddc8; --selected-text: #14251b; --newsletter-background: #263d30; --newsletter-text: #edf4ec; }
    :root:not([data-theme="light"]) .button:not(.button-light):hover { background: #b8d9bc; }
    :root:not([data-theme="light"]) .button:not(.button-light), :root:not([data-theme="light"]) .skip-link { color: #14251b; }
    :root:not([data-theme="light"]) .button-light { background: #edf4ec; color: #173f35; border-color: #edf4ec; }
    :root:not([data-theme="light"]) .brand-logo { filter: brightness(0) invert(.9); }
    :root:not([data-theme="light"]) .editorial-note > span { color: #c9c0a5; }
}
:root[data-theme="dark"] { color-scheme: dark; --paper: #121e1a; --white: #1b2b25; --ink: #e1ece2; --muted: #b1c1b5; --line: #42564a; --pale: #22352b; --gold: #dec38a; --hover: #b8d9bc; --filter-background: #203128; --input-border: #61766a; --placeholder: #adbbb0; --content-link: #a8d9b6; --selected-background: #c5ddc8; --selected-text: #14251b; --newsletter-background: #263d30; --newsletter-text: #edf4ec; }
:root[data-theme="dark"] .button:not(.button-light):hover { background: #b8d9bc; }
:root[data-theme="dark"] .button:not(.button-light), :root[data-theme="dark"] .skip-link { color: #14251b; }
:root[data-theme="dark"] .button-light { background: #edf4ec; color: #173f35; border-color: #edf4ec; }
:root[data-theme="dark"] .brand-logo { filter: brightness(0) invert(.9); }
:root[data-theme="dark"] .editorial-note > span { color: #c9c0a5; }
/* Ghost's light iframe must share the parent canvas scheme to remain transparent. */
:root:has(#ghost-portal-root iframe[title="portal-popup"]) { color-scheme: normal; }

/* Portada: collage editorial y próximas ediciones. */
.home-hero { grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: 60px; padding-bottom: 24px; }
.home-hero + .concerts { padding-top: 24px; }
.hero-mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-self: start; }
.hero-mosaic figure { margin: 0; overflow: hidden; aspect-ratio: 1 / 1; }
.hero-mosaic .hero-mosaic-wide { grid-column: 1 / -1; aspect-ratio: 2.25 / 1; }
.hero-mosaic img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-mosaic figure:nth-child(1) img { object-position: center 48%; }
.hero-mosaic figure:nth-child(2) img { object-position: center 45%; }
.hero-mosaic figure:nth-child(3) img { object-position: center top; }
.home-hero .upcoming { margin-top: 65px; border: 0; background: transparent; }
.home-hero .upcoming-heading { padding: 0 0 22px; }
.home-hero .upcoming-heading h2 { font: 700 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; margin: 0; }
.home-hero [data-upcoming-list] { display: flex; }
.home-hero .upcoming .edition-card:not([hidden]) { flex: 1 1 0; display: flex; gap: 10px; min-width: 0; padding: 0 12px; border: 0; border-left: 1px solid var(--line); }
.home-hero .upcoming .edition-card:not([hidden]):first-child { padding-left: 0; border-left: 0; }
.home-hero .upcoming .edition-card h3 { font-size: 15px; line-height: 1.18; margin: 0; overflow-wrap: anywhere; }
.home-hero .upcoming .edition-card-date { min-width: 32px; padding: 0; }
.home-hero .upcoming .edition-card-date strong { font-size: 30px; }
.home-hero .upcoming .status-line, .home-hero .upcoming .edition-date, .home-hero .upcoming .arrow-link { display: none; }
.home-hero .upcoming-note { border: 0; padding: 20px 0 0; }
.home-hero .upcoming-empty { padding: 0; }
.site-footer { flex-wrap: wrap; }
.footer-photo-credits { display: none; flex-basis: 100%; color: var(--muted); font-size: 11px; line-height: 1.6; }
.home-template .footer-photo-credits { display: block; }
.footer-photo-credits a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 850px) {
    .home-hero { grid-template-columns: 1fr; gap: 38px; }
    .hero-mosaic .hero-mosaic-wide { aspect-ratio: 2 / 1; }
    .hero-mosaic figure { aspect-ratio: 1 / 1; }
}
@media (max-width: 480px) {
    .home-hero .upcoming { margin-top: 46px; }
    .home-hero .upcoming .edition-card:not([hidden]) { display: block; padding: 0 8px; }
    .home-hero .upcoming .edition-card-date { align-items: flex-start; text-align: left; margin-bottom: 8px; }
    .home-hero .upcoming .edition-card h3 { font-size: 14px; }
}

/* Las próximas ediciones recorren toda la portada. */
.home-hero .hero-copy { align-self: center; }
.home-hero .upcoming { grid-column: 1 / -1; margin-top: 0; }
.home-hero [data-upcoming-list] { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.home-hero .upcoming .edition-card:not([hidden]) { display: block; padding: 0 14px; }
.home-hero .upcoming .edition-card-date { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 5px; text-align: left; margin-bottom: 8px; }
.home-hero .upcoming .edition-card-date strong { margin: 0; }
.home-hero .upcoming .edition-card h3 { font-size: 16px; overflow-wrap: normal; }
@media (max-width: 850px) {
    .home-hero [data-upcoming-list] { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 0; }
}
@media (max-width: 480px) {
    .home-hero [data-upcoming-list] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-hero .upcoming .edition-card:not([hidden]) { padding: 0 10px; }
    .home-hero .upcoming .edition-card h3 { font-size: 15px; }
}

/* Panel de próximas ediciones. */
.home-hero .upcoming { background: var(--pale); border: 1px solid var(--line); padding: 26px 28px 22px; }
.home-hero .upcoming-heading { padding-bottom: 22px; }
.home-hero .upcoming .edition-card:not([hidden]) { border-left-color: var(--line); }
.home-hero .upcoming-note { margin-top: 22px; padding: 16px 0 0; border-top: 1px solid var(--line); }
@media (max-width: 480px) {
    .home-hero .upcoming { padding: 22px 18px 18px; }
}

.home-hero .upcoming .edition-card-date strong { color: #80652d; }
:root[data-theme="dark"] .home-hero .upcoming .edition-card-date strong { color: var(--gold); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .home-hero .upcoming .edition-card-date strong { color: var(--gold); } }
