/*
Theme Name: Conciertos y Tocadas
Theme URI: https://www.conciertosytocadas.com/
Author: Conciertos y Tocadas
Description: Tema editorial y comercial completo para la agenda y la escena musical de Ecuador. Incluye eventos, bandas, noticias, lugares, galerías y API Headless.
Version: 1.1.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: conciertos-tocadas
*/

:root {
	--black: #090909;
	--panel: #111113;
	--paper: #f2f0eb;
	--white: #f7f5f1;
	--red: #f21d2f;
	--muted: #a4a1a5;
	--line: rgb(255 255 255 / 14%);
	--display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
	--body: Arial, Helvetica, sans-serif;
	--header-bg: #090909;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--black); color: var(--white); font-family: var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.site-container { width: min(100% - 24px, 1220px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 9999; top: 8px; left: 8px; padding: 12px 16px; background: white; color: black; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--header-bg) 94%, transparent); backdrop-filter: blur(16px); }
.admin-bar .site-header { top: 46px; }
.header-shell { min-height: 70px; display: flex; align-items: center; }
.header-brand-search { min-width: 0; display: flex; align-items: center; padding-left: 12px; }
.brand { width: 142px; display: flex; flex: 0 0 auto; }
.brand > a, .brand .custom-logo-link { width: 100%; display: flex; }
.brand img, .custom-logo { display: block; width: 100%; height: auto; }
.brand .logo-night { width: 100%; display: flex; }
.logo-day { display: none !important; }
.header-search { position: relative; display: none; width: min(270px, 24vw); }
.header-search input { width: 100%; min-height: 50px; border: 0; border-radius: 999px; padding: 0 50px 0 20px; background: rgb(255 255 255 / 15%); color: white; outline: 0; }
.header-search input::placeholder { color: #bdbdbd; }
.header-search input:focus { box-shadow: 0 0 0 2px var(--red); }
.header-search button { position: absolute; top: 0; right: 8px; width: 42px; height: 50px; display: grid; place-items: center; border: 0; background: transparent; color: #bdbdbd; cursor: pointer; }
.header-search svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; }
.header-nav-zone { min-width: 0; display: flex; flex: 1; align-items: center; justify-content: flex-end; gap: 9px; padding: 0 12px; }
.desktop-nav { display: none; min-width: 0; flex: 1; align-items: stretch; justify-content: center; align-self: stretch; margin-left: auto; }
.nav-list { margin: 0; padding: 0; list-style: none; }
.desktop-nav .nav-list { height: 100%; display: flex; align-items: stretch; }
.desktop-nav li { position: relative; display: flex; align-items: stretch; list-style: none; }
.desktop-nav a { position: relative; min-height: 100%; display: inline-flex; align-items: center; padding: 0 clamp(8px, 1vw, 15px); color: #747474; font-size: clamp(12px, 1vw, 15px); font-weight: 750; white-space: nowrap; transition: color .2s ease; }
.desktop-nav a::after { content: ""; position: absolute; inset: auto 15px 24px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.desktop-nav a:hover, .desktop-nav .current-menu-item > a, .desktop-nav .current_page_item > a { color: white; }
.desktop-nav a:hover::after, .desktop-nav .current-menu-item > a::after, .desktop-nav .current_page_item > a::after { transform: scaleX(1); }
.desktop-nav .menu-item-has-children > a { padding-right: 25px; }
.desktop-nav .menu-item-has-children > a::before { content: "⌄"; position: absolute; right: 8px; margin-top: -3px; color: var(--red); font-size: 12px; }
.desktop-nav .sub-menu { position: absolute; z-index: 5; top: calc(100% - 9px); left: 0; min-width: 220px; display: grid; visibility: hidden; margin: 0; border: 1px solid var(--line); padding: 8px; background: #101010; opacity: 0; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.desktop-nav li:hover > .sub-menu, .desktop-nav li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.desktop-nav .sub-menu li { display: block; }
.desktop-nav .sub-menu a { min-height: 42px; display: flex; padding: 0 12px; color: #a8a8a8; font-size: 12px; }
.desktop-nav .sub-menu a:hover { background: var(--red); color: white; }
.desktop-nav .sub-menu a::after, .desktop-nav .sub-menu a::before { display: none; }
.appearance-toggle { width: 49px; height: 28px; display: inline-flex; align-items: center; justify-content: space-between; flex: 0 0 auto; border: 1px solid #6d6d6d; border-radius: 999px; padding: 3px; background: transparent; color: white; cursor: pointer; }
.appearance-toggle span { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; font-size: 11px; line-height: 1; }
.appearance-toggle .theme-dark-icon { background: white; color: #111; }
.header-cta { display: none; min-height: 42px; align-items: center; justify-content: center; border: 1px solid #666; border-radius: 999px; padding: 0 17px; color: #aaa; font-size: 11px; font-weight: 700; white-space: nowrap; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.header-cta:hover { border-color: var(--red); background: var(--red); color: white; }
.header-cta span { margin-left: 8px; font-size: 15px; }
.search-button, .menu-button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: white; font-size: 21px; cursor: pointer; }
.mobile-nav { display: none; padding: 12px; border-top: 1px solid var(--line); background: var(--header-bg); }
.mobile-nav.is-open { display: grid; }
.mobile-nav .mobile-search { position: relative; display: block; width: 100%; margin-bottom: 10px; }
.mobile-nav .mobile-search input { min-height: 50px; }
.mobile-nav .nav-list { display: grid; }
.mobile-nav li { list-style: none; }
.mobile-nav a { min-height: 54px; display: flex; align-items: center; border-bottom: 1px solid var(--line); padding: 0 15px; font-family: var(--display); font-size: 24px; text-transform: uppercase; }
.mobile-nav .sub-menu { display: grid; margin: 0; padding: 0 0 0 18px; }
.mobile-nav .sub-menu a { min-height: 45px; color: #aaa; font-size: 18px; }
.mobile-nav .mobile-promo { justify-content: center; margin-top: 12px; border: 0; border-radius: 999px; background: var(--red); font-family: var(--body); font-size: 10px; font-weight: 900; letter-spacing: .08em; }

html.theme-light body { background: #f3f1ec; color: #111; }
html.theme-light { color-scheme: light; --black: #f3f1ec; --panel: #fff; --paper: #fff; --white: #111; --muted: #625f59; --line: rgb(9 9 9 / 16%); --header-bg: #faf9f6; }
html.theme-light .logo-night { display: none !important; }
html.theme-light .brand .logo-day { display: flex !important; }
html.theme-light .footer-brand .logo-day { display: block !important; }
html.theme-light .site-header { --line: rgb(0 0 0 / 14%); background: rgb(248 247 243 / 95%); }
html.theme-light .header-search input { background: rgb(0 0 0 / 9%); color: #111; }
html.theme-light .desktop-nav a { color: #666; }
html.theme-light .desktop-nav a:hover, html.theme-light .desktop-nav .current-menu-item > a, html.theme-light .desktop-nav .current_page_item > a { color: #111; }
html.theme-light .appearance-toggle { border-color: #777; color: #111; }
html.theme-light .appearance-toggle .theme-dark-icon { background: transparent; color: #777; }
html.theme-light .appearance-toggle .theme-light-icon { background: #111; color: white; }
html.theme-light .search-button, html.theme-light .menu-button { color: #111; }
html.theme-light .desktop-nav .sub-menu { background: #f8f7f3; }

.hero { padding: 12px 0 32px; background: radial-gradient(circle at 90% 10%, rgb(50 66 190 / 12%), transparent 26%), var(--black); }
.hero-stage { position: relative; min-height: 570px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #171719; box-shadow: 0 28px 80px rgb(0 0 0 / 42%); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 61% center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(4 4 8 / 9%), rgb(5 5 9 / 42%) 30%, rgb(3 3 7 / 97%)), linear-gradient(90deg, rgb(4 4 8 / 72%), transparent); }
.hero-copy { position: absolute; z-index: 2; inset: auto 18px 25px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.hero-tags span { min-height: 25px; display: inline-flex; align-items: center; border: 1px solid rgb(255 255 255 / 30%); border-radius: 99px; padding: 0 8px; background: rgb(5 5 8 / 34%); font-size: 7px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; backdrop-filter: blur(8px); }
.hero-tags span:first-child { border-color: var(--red); background: var(--red); }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; color: #99969a; font-size: 9px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow i { width: 28px; height: 2px; display: block; background: var(--red); }
.eyebrow.light { color: rgb(255 255 255 / 76%); }
.eyebrow.light i { background: white; }
.hero h1, .section-heading h2, .weekend h2, .feature-story h3, .media-card h2, .genres h2, .newsletter h2, .commercial-grid h2, .page-hero h1, .single-hero h1, .article-header h1, .form-section h2, .products h2, .placeholders h2, .manifesto h2 { font-family: var(--display); font-weight: 400; line-height: .88; letter-spacing: .005em; text-transform: uppercase; }
.hero h1 { max-width: 800px; margin: 0; font-size: clamp(58px, 18.5vw, 142px); line-height: .82; }
.hero h1 em { display: block; color: var(--red); font-style: normal; }
.hero-lede { max-width: 590px; margin: 17px 0 0; color: #d3d0d4; font-size: 13px; line-height: 1.52; }
.hero-actions { display: grid; gap: 9px; margin-top: 20px; }
.button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.button.primary { background: var(--red); color: white; }
.button.ghost { border: 1px solid rgb(255 255 255 / 42%); background: rgb(0 0 0 / 20%); }
.quick-search { display: grid; overflow: hidden; margin-top: 12px; border: 1px solid rgb(9 9 9 / 14%); border-radius: 12px; background: var(--paper); color: #090909; box-shadow: 0 18px 50px rgb(0 0 0 / 40%); }
.search-title { display: none; align-items: center; gap: 12px; border-right: 1px solid rgb(9 9 9 / 15%); padding: 12px 17px; }
.search-title b { color: var(--red); font-size: 24px; }
.search-title small, .search-title strong { display: block; }
.search-title small, .quick-search label > span { font-size: 8px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.search-title strong { margin-top: 3px; font-size: 11px; }
.quick-search label { min-height: 64px; display: grid; gap: 2px; padding: 11px 14px; border-bottom: 1px solid rgb(9 9 9 / 14%); }
.quick-search select { width: 100%; min-width: 0; border: 0; padding: 4px 0; background: transparent; color: #090909; font-size: 14px; font-weight: 750; outline: 0; }
.quick-search button { min-height: 56px; border: 0; background: var(--red); color: white; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }

.section-rail { border-block: 1px solid var(--line); background: #0d0d0e; }
.rail-grid { display: grid; }
.rail-grid > a { min-height: 70px; display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.rail-grid > a:last-child { border-bottom: 0; }
.rail-grid > a > span { color: var(--red); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.rail-grid strong, .rail-grid small { display: block; }
.rail-grid strong { font-family: var(--display); font-size: 19px; font-weight: 400; text-transform: uppercase; }
.rail-grid small { margin-top: 3px; color: #777; font-size: 8px; text-transform: uppercase; }
.rail-grid b { color: #777; }

.section { padding-block: 60px; }
.events-section { padding-top: 58px; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-heading h2 { margin: 0; font-size: clamp(40px, 13vw, 76px); }
.section-heading > a { display: none; padding-bottom: 6px; border-bottom: 1px solid var(--red); font-size: 10px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.event-grid, .listing-grid { display: grid; gap: 14px; }
.event-card { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(180deg, #111, #0b0b0c); }
.event-art { position: relative; min-height: 210px; display: flex; align-items: flex-end; justify-content: space-between; overflow: hidden; padding: 20px; background: radial-gradient(circle at 78% 22%, rgb(242 29 47 / 28%), transparent 33%), linear-gradient(145deg, #25262b, #0d0d0f 65%); }
.event-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-art.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgb(0 0 0 / 82%)); }
.event-art strong, .event-art span { position: relative; z-index: 1; text-transform: uppercase; }
.event-art strong { color: rgb(255 255 255 / 24%); font: 42px/1 var(--display); }
.event-art span { padding: 6px 8px; background: var(--red); color: white; font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.event-card > div:last-child { padding: 18px; }
.content-state { margin: 0 0 10px; color: var(--red); font-size: 8px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.event-card h2, .event-card h3 { margin: 0 0 16px; font: 400 29px/.98 var(--display); text-transform: uppercase; }
.event-meta { display: grid; gap: 8px; margin: 0; color: #aaa8a2; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.event-meta span { display: block; }
.card-link { min-height: 42px; display: flex; align-items: center; justify-content: space-between; margin-top: 16px; border-top: 1px solid var(--line); padding-top: 10px; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.card-link b { color: var(--red); }
.data-note { display: grid; gap: 5px; margin-top: 18px; border-left: 3px solid var(--red); padding: 15px; background: #111; color: var(--muted); font-size: 11px; line-height: 1.5; }
.data-note strong { color: white; text-transform: uppercase; }
.ad-slot { min-height: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; margin-bottom: 54px; border: 1px dashed rgb(255 255 255 / 28%); padding: 14px; background: repeating-linear-gradient(-45deg, #0d0d0d 0 10px, #101010 10px 20px); color: #777; text-align: center; text-transform: uppercase; }
.ad-slot span, .ad-slot small { font-size: 7px; letter-spacing: .13em; }
.ad-slot strong { color: #aaa8a2; font-size: 10px; letter-spacing: .08em; }
.ad-widget { margin-bottom: 54px; }
.ad-widget img, .ad-widget iframe { max-width: 100%; }

.discovery { overflow: hidden; background: linear-gradient(180deg, #101011, #080809); }
.section-intro { max-width: 670px; margin: 0 0 26px; color: #908d94; font-size: 12px; line-height: 1.7; }
.band-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 86vw); gap: 15px; overflow-x: auto; margin-right: -12px; padding-bottom: 12px; scroll-snap-type: x proximity; }
.band-card { position: relative; min-height: 405px; display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #171719; scroll-snap-align: start; }
.band-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.band-card:hover > img { transform: scale(1.04); }
.band-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgb(0 0 0 / 95%)); }
.band-card > small { position: absolute; z-index: 1; top: 16px; left: 16px; border-radius: 99px; padding: 7px 9px; background: rgb(0 0 0 / 50%); font-size: 7px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.band-card > div { position: absolute; z-index: 1; inset: auto 19px 21px; }
.band-card p { margin: 0 0 8px; color: #ff5260; font-size: 8px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.band-card h2, .band-card h3 { margin: 0 0 9px; font: 400 34px/.94 var(--display); text-transform: uppercase; }
.band-card div > span { color: #aaa7ad; font-size: 8px; font-weight: 800; text-transform: uppercase; }

.weekend { position: relative; min-height: 560px; display: flex; align-items: end; overflow: hidden; }
.weekend > img, .weekend > .weekend-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.weekend > img { object-fit: cover; }
.weekend-shade { background: linear-gradient(90deg, rgb(4 4 5 / 97%), rgb(4 4 5 / 60%)), linear-gradient(0deg, rgb(4 4 5 / 90%), transparent); }
.weekend-grid { position: relative; z-index: 1; display: grid; gap: 32px; padding-block: 54px; }
.weekend h2 { margin: 0; font-size: clamp(54px, 17vw, 110px); }
.weekend h2 em { display: block; color: var(--red); font-style: normal; }
.weekend-grid > div:last-child > p { max-width: 510px; margin: 0 0 20px; font-size: 14px; line-height: 1.6; }
.weekend form { display: grid; overflow: hidden; border-radius: 10px; background: white; color: #090909; }
.weekend form label { display: grid; gap: 3px; padding: 11px 14px; font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.weekend select { min-height: 35px; border: 0; background: white; color: #090909; font-weight: 750; }
.weekend button { min-height: 52px; border: 0; padding: 0 17px; background: var(--black); color: white; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.editorial-grid { display: grid; gap: 34px; }
.feature-story > img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 17px; }
.feature-story h3 { margin: 0; font-size: clamp(38px, 11vw, 62px); }
.feature-story > p:not(.content-state) { color: var(--muted); font-size: 13px; line-height: 1.6; }
.feature-story > a, .media-card a, .commercial-grid a { display: inline-flex; border-bottom: 1px solid var(--red); padding-bottom: 5px; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.story-list { border-top: 1px solid var(--line); }
.story-list > a, .story-list > article { display: grid; grid-template-columns: 24px minmax(0, 1fr) 16px; gap: 10px; padding-block: 19px; border-bottom: 1px solid var(--line); }
.story-list > a > span, .story-list > article > span { color: #68666a; font: 17px/1 var(--display); }
.story-list p { margin: 0 0 7px; color: var(--red); font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.story-list h2, .story-list h3 { margin: 0 0 8px; font: 400 22px/1 var(--display); text-transform: uppercase; }
.story-list small { color: #858287; font-size: 11px; line-height: 1.45; }
.story-list b { color: var(--red); }

.media-grid { display: grid; gap: 14px; padding-block: 10px 58px; }
.media-card { position: relative; min-height: 350px; display: flex; align-items: flex-end; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; padding: 22px; }
.media-card > img, .media-card > span { position: absolute; inset: 0; width: 100%; height: 100%; }
.media-card > img { object-fit: cover; }
.media-card > span { background: linear-gradient(180deg, transparent, rgb(0 0 0 / 92%)); }
.media-card > div { position: relative; z-index: 1; }
.media-card h2 { margin: 0; font-size: clamp(40px, 13vw, 76px); }
.media-card h2 em { color: var(--red); font-style: normal; }
.media-card p:not(.eyebrow) { color: #bbb8bc; font-size: 12px; line-height: 1.6; }
.photo { min-height: 330px; }
.photo > div > p:first-child { margin: 0 0 8px; color: #ff5c69; font-size: 8px; font-weight: 900; text-transform: uppercase; }

.genres { background: var(--paper); color: #090909; }
.genres h2 { max-width: 770px; margin: 0; font-size: clamp(43px, 13vw, 76px); }
.genre-grid { display: grid; gap: 8px; margin-top: 25px; }
.genre-grid a { min-height: 58px; display: grid; grid-template-columns: 27px 1fr auto; align-items: center; gap: 10px; border: 1px solid rgb(9 9 9 / 18%); border-radius: 9px; padding: 0 15px; background: rgb(255 255 255 / 48%); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.genre-grid a:hover { background: #090909; color: white; }
.genre-grid span { color: var(--red); font-size: 8px; }

.newsletter { background: linear-gradient(115deg, var(--red), #c61038 62%, #491740 130%); }
.newsletter-grid { display: grid; gap: 32px; }
.newsletter h2 { margin: 0; font-size: clamp(44px, 13vw, 86px); }
.newsletter-grid > div > p:last-child { max-width: 580px; font-size: 13px; line-height: 1.6; }
.newsletter form > label { display: block; margin-bottom: 7px; font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.newsletter form > div { display: grid; overflow: hidden; border-radius: 9px; }
.newsletter input { width: 100%; min-height: 54px; border: 0; padding: 0 15px; }
.newsletter button { min-height: 50px; border: 0; background: #090909; color: white; font-size: 9px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.newsletter form small, .newsletter form > p { display: block; margin-top: 8px; color: rgb(255 255 255 / 76%); font-size: 8px; line-height: 1.5; }

.commercial-grid { display: grid; gap: 14px; margin-block: 54px; }
.commercial-grid article { min-height: 300px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; border-radius: 17px; padding: 22px; background: var(--paper); color: #090909; }
.commercial-grid article.dark { background: linear-gradient(115deg, rgb(4 4 5 / 78%), rgb(4 4 5 / 96%)), url("assets/images/crowd.webp") center/cover; color: white; }
.commercial-grid article > span { color: var(--red); font-size: 8px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.commercial-grid h2 { margin: 12px 0; font-size: clamp(38px, 12vw, 61px); }
.commercial-grid p { color: #5b585b; font-size: 12px; line-height: 1.6; }
.commercial-grid .dark p { color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); background: #050505; }
.footer-grid { display: grid; gap: 40px; padding-block: 44px; }
.footer-brand img { width: min(250px, 80%); }
.footer-brand p { max-width: 370px; color: #777; font-size: 11px; line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 18px; }
.footer-links > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-links strong { margin-bottom: 5px; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.footer-links a { color: #858286; font-size: 10px; }
.footer-links a:hover { color: var(--red); }
.footer-bottom { min-height: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px; border-top: 1px solid var(--line); color: #666; font-size: 8px; letter-spacing: .05em; text-transform: uppercase; }

.page-hero { overflow: hidden; padding-block: 46px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 88% 15%, rgb(242 29 47 / 17%), transparent 32%), #0b0b0b; }
.page-hero h1 { max-width: 1050px; margin: 0; font-size: clamp(50px, 15vw, 124px); }
.page-hero > div > p:last-child, .page-intro { max-width: 660px; margin-top: 20px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.page-intro p { margin: 0; }
.listing-section { padding-block: 40px 60px; }
.listing-filter { display: grid; margin-bottom: 28px; border: 1px solid var(--line); background: #111; }
.listing-filter label { display: grid; gap: 6px; padding: 12px 15px; font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.listing-filter input { min-height: 36px; border: 0; padding: 0; background: transparent; color: white; outline: 0; }
.listing-filter button { min-height: 50px; border: 0; background: var(--red); color: white; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.story-card { border: 1px solid var(--line); padding: 18px; background: #111; }
.story-image { display: block; overflow: hidden; margin: -18px -18px 18px; }
.story-image img { width: 100%; aspect-ratio: 16/9; display: block; object-fit: cover; }
.story-card h2 { margin: 0; font: 400 30px/1 var(--display); text-transform: uppercase; }
.story-card > p:not(.content-state) { color: var(--muted); font-size: 12px; line-height: 1.55; }
.empty-state { grid-column: 1/-1; min-height: 320px; display: flex; flex-direction: column; justify-content: center; border: 1px dashed var(--line); padding: 24px; }
.empty-state > span { color: var(--red); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.empty-state h2 { max-width: 760px; margin: 12px 0; font: 400 clamp(38px, 10vw, 64px)/.95 var(--display); text-transform: uppercase; }
.empty-state p { max-width: 600px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.pagination a, .pagination span { min-width: 44px; min-height: 44px; display: grid; place-items: center; border: 1px solid var(--line); padding: 0 12px; font-size: 10px; }
.pagination .current { background: var(--red); }

.single-hero { position: relative; min-height: 520px; display: flex; align-items: flex-end; overflow: hidden; }
.single-hero > img, .single-hero > span { position: absolute; inset: 0; width: 100%; height: 100%; }
.single-hero > img { object-fit: cover; }
.single-hero > span { background: linear-gradient(180deg, rgb(0 0 0 / 18%), rgb(0 0 0 / 95%)); }
.single-hero > div { position: relative; z-index: 1; padding-block: 55px; }
.single-hero h1 { max-width: 1000px; margin: 0; font-size: clamp(52px, 15vw, 112px); }
.single-hero > div > p:last-child { font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.single-grid { display: grid; gap: 34px; padding-block: 50px 70px; }
.entry-content { color: #d0cdd1; font-size: 14px; line-height: 1.8; }
.entry-content > * { max-width: 760px; }
.entry-content h2, .entry-content h3 { color: white; font-family: var(--display); font-weight: 400; text-transform: uppercase; }
.entry-content h2 { font-size: 38px; }
.entry-content a { color: #ff4d5b; text-decoration: underline; }
.facts { align-self: start; display: grid; gap: 16px; border: 1px solid var(--line); padding: 20px; background: #111; }
.facts > strong { font: 400 26px/1 var(--display); text-transform: uppercase; }
.facts dl { display: grid; gap: 1px; margin: 0; background: var(--line); }
.facts dl div { padding: 13px; background: #111; }
.facts dt { color: var(--red); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.facts dd { margin: 5px 0 0; font-size: 12px; }
.disabled-button { min-height: 48px; display: grid; place-items: center; border: 1px solid var(--line); color: #777; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.social-link { min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid var(--line); color: var(--red); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.article-header { padding-block: 50px 32px; }
.article-header h1 { max-width: 1000px; margin: 0; font-size: clamp(46px, 14vw, 102px); }
.article-header > p:last-child { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.article-image img { width: 100%; max-height: 680px; object-fit: cover; }
.article-copy { padding-block: 45px 75px; }

.form-section { display: grid; gap: 35px; padding-block: 55px 75px; }
.form-section h2 { margin: 0; font-size: clamp(42px, 12vw, 72px); }
.form-section > div > p:last-child { color: var(--muted); font-size: 13px; line-height: 1.7; }
.lead-form { display: grid; gap: 14px; border: 1px solid var(--line); padding: 18px; background: #111; }
.lead-form label { display: grid; gap: 7px; font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.lead-form input, .lead-form textarea { width: 100%; border: 1px solid var(--line); padding: 12px; background: #090909; color: white; outline: 0; }
.lead-form input { min-height: 48px; }
.lead-form textarea { resize: vertical; }
.lead-form button { min-height: 52px; border: 0; background: var(--red); color: white; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.lead-form > p { color: #ff7782; font-size: 10px; }
.products, .placeholders, .manifesto { display: grid; gap: 14px; padding-block: 55px 75px; }
.products article, .manifesto article { min-height: 270px; border: 1px solid var(--line); padding: 22px; background: #111; }
.products span, .manifesto span { color: var(--red); font: 400 28px/1 var(--display); }
.products h2, .manifesto h2 { margin: 55px 0 10px; font-size: 35px; }
.products p, .manifesto p, .placeholders p { color: var(--muted); font-size: 12px; line-height: 1.6; }
.placeholders article { overflow: hidden; border: 1px solid var(--line); padding: 18px; background: #111; }
.placeholders img { width: calc(100% + 36px); max-width: none; aspect-ratio: 16/10; display: block; margin: -18px -18px 20px; object-fit: cover; }
.placeholders span { color: var(--red); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.placeholders h2 { margin: 10px 0; font-size: 36px; }

@media (min-width: 640px) {
	.site-container { width: min(100% - 56px, 1220px); }
	.admin-bar .site-header { top: 32px; }
	.header-shell { min-height: 78px; }
	.header-brand-search { padding-left: 28px; }
	.brand { width: 174px; }
	.header-nav-zone { padding-right: 28px; }
	.hero { padding-top: 34px; }
	.hero-stage { min-height: 680px; border-radius: 25px; }
	.hero-copy { inset: auto 44px 52px; }
	.hero h1 { font-size: clamp(86px, 13vw, 132px); }
	.hero-lede { font-size: 15px; }
	.hero-actions { display: flex; }
	.quick-search { grid-template-columns: 1fr 1fr auto; margin-top: 18px; }
	.quick-search label { border-bottom: 0; border-right: 1px solid rgb(9 9 9 / 14%); }
	.quick-search button { min-width: 125px; }
	.rail-grid { grid-template-columns: repeat(2, 1fr); }
	.rail-grid > a { border-right: 1px solid var(--line); }
	.rail-grid > a:nth-child(3) { border-bottom: 0; }
	.section-heading { align-items: flex-end; }
	.section-heading > a { display: inline-flex; }
	.event-grid, .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.band-grid { grid-auto-columns: minmax(290px, 42vw); margin-right: 0; }
	.weekend form { grid-template-columns: 1fr auto; }
	.weekend form label { grid-column: 1; }
	.weekend form button { grid-column: 2; grid-row: 1; min-width: 150px; }
	.genre-grid, .footer-links, .products, .placeholders, .manifesto { grid-template-columns: repeat(2, 1fr); }
	.newsletter form > div { grid-template-columns: 1fr auto; }
	.newsletter button { min-width: 170px; }
	.commercial-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-links { grid-template-columns: repeat(3, 1fr); }
	.listing-filter { grid-template-columns: 1fr auto; }
	.listing-filter button { min-width: 130px; }
	.lead-form { grid-template-columns: repeat(2, 1fr); padding: 24px; }
	.lead-form .wide, .lead-form button, .lead-form > p { grid-column: 1/-1; }
}

@media (min-width: 1040px) {
	.header-shell { min-height: 96px; display: grid; grid-template-columns: minmax(390px, 38%) minmax(0, 1fr); }
	.header-brand-search { height: 100%; justify-content: space-between; gap: clamp(18px, 2.1vw, 34px); border-right: 1px solid var(--line); padding: 0 clamp(24px, 3.2vw, 50px); }
	.brand { width: clamp(145px, 12vw, 176px); }
	.header-search { display: block; }
	.header-nav-zone { height: 100%; justify-content: flex-start; gap: clamp(8px, 1.1vw, 17px); padding: 0 clamp(18px, 2.2vw, 34px); }
	.desktop-nav { display: flex; }
	.appearance-toggle, .header-cta { display: inline-flex; flex: 0 0 auto; }
	.search-button { display: none; }
	.menu-button { display: none; }
	.mobile-nav { display: none !important; }
	.hero-stage { min-height: 700px; }
	.hero-copy { inset: auto 64px 66px; }
	.hero h1 { max-width: 820px; font-size: clamp(105px, 9.5vw, 142px); }
	.quick-search { grid-template-columns: minmax(280px, 1.35fr) minmax(190px, .8fr) minmax(190px, .8fr) auto; }
	.search-title { display: flex; }
	.rail-grid { grid-template-columns: repeat(4, 1fr); }
	.rail-grid > a { border-bottom: 0; padding-inline: 15px; }
	.event-grid { grid-template-columns: repeat(3, 1fr); }
	.band-grid { grid-auto-flow: initial; grid-auto-columns: initial; grid-template-columns: repeat(3, 1fr); overflow: visible; }
	.band-card { min-height: 480px; }
	.weekend-grid { grid-template-columns: 1.1fr .9fr; align-items: end; padding-block: 72px; }
	.editorial-grid { grid-template-columns: 1.2fr .8fr; }
	.media-grid { grid-template-columns: 1.35fr .65fr; padding-block: 70px; }
	.genre-grid { grid-template-columns: repeat(4, 1fr); }
	.newsletter-grid { grid-template-columns: 1.1fr .9fr; align-items: end; }
	.footer-grid { grid-template-columns: 1fr 1.25fr; }
	.listing-grid { grid-template-columns: repeat(3, 1fr); }
	.listing-grid.stories { grid-template-columns: repeat(3, 1fr); }
	.single-grid { grid-template-columns: minmax(0, 1fr) 300px; }
	.form-section { grid-template-columns: .8fr 1.2fr; }
	.products, .manifesto { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1040px) and (max-width: 1210px) {
	.header-shell { grid-template-columns: minmax(360px, 35%) minmax(0, 1fr); }
	.header-brand-search { padding-inline: 22px; }
	.brand { width: 142px; }
	.header-search { width: 190px; }
	.header-nav-zone { gap: 7px; padding-inline: 16px; }
	.desktop-nav a { padding-inline: 8px; font-size: 12px; }
	.header-cta { padding-inline: 13px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; }
}

@media (max-width: 359px) {
	.brand { width: 116px; }
	.header-nav-zone { gap: 6px; padding-right: 8px; }
}

/* Tema día completo. Los paneles fotográficos y el rojo editorial conservan
   contraste; el resto de superficies invierte negro/blanco. */
html.theme-light .hero,
html.theme-light .section-rail,
html.theme-light .event-card,
html.theme-light .data-note,
html.theme-light .discovery,
html.theme-light .story-card,
html.theme-light .listing-filter,
html.theme-light .facts,
html.theme-light .facts dl div,
html.theme-light .lead-form,
html.theme-light .products article,
html.theme-light .manifesto article,
html.theme-light .placeholders article,
html.theme-light .site-footer,
html.theme-light .desktop-nav .sub-menu,
html.theme-light .mobile-nav {
	background: #fff;
	color: #090909;
}
html.theme-light .hero { background: radial-gradient(circle at 90% 10%, rgb(242 29 47 / 10%), transparent 28%), #f3f1ec; }
html.theme-light .section-rail { background: #fff; }
html.theme-light .event-card { background: #fff; }
html.theme-light .discovery { background: linear-gradient(180deg, #fff, #ece8e1); }
html.theme-light .page-hero { background: radial-gradient(circle at 88% 15%, rgb(242 29 47 / 12%), transparent 32%), #f7f5f0; }
html.theme-light .page-hero > div > p:last-child,
html.theme-light .page-intro,
html.theme-light .event-meta,
html.theme-light .data-note,
html.theme-light .feature-story > p:not(.content-state),
html.theme-light .story-list small,
html.theme-light .section-intro,
html.theme-light .story-card > p:not(.content-state),
html.theme-light .empty-state p,
html.theme-light .entry-content,
html.theme-light .form-section > div > p:last-child,
html.theme-light .products p,
html.theme-light .manifesto p,
html.theme-light .placeholders p,
html.theme-light .footer-brand p,
html.theme-light .footer-links a,
html.theme-light .footer-bottom {
	color: #625f59;
}
html.theme-light .data-note strong,
html.theme-light .entry-content h2,
html.theme-light .entry-content h3,
html.theme-light .footer-links strong {
	color: #090909;
}
html.theme-light .header-search input,
html.theme-light .listing-filter input,
html.theme-light .lead-form input,
html.theme-light .lead-form textarea {
	background: #f3f1ec;
	color: #090909;
}
html.theme-light .header-search input::placeholder { color: #68645e; }
html.theme-light .search-button,
html.theme-light .menu-button { border-color: rgb(9 9 9 / 30%); }
html.theme-light .ad-slot {
	border-color: rgb(9 9 9 / 24%);
	background: repeating-linear-gradient(-45deg, #f7f6f2 0 10px, #e9e6df 10px 20px);
	color: #716d66;
}
html.theme-light .ad-slot strong { color: #3f3d39; }
html.theme-light .commercial-grid article.dark {
	background: linear-gradient(115deg, rgb(4 4 5 / 78%), rgb(4 4 5 / 96%)), url("assets/images/crowd.webp") center/cover;
	color: #fff;
}
html.theme-light .commercial-grid article.dark p { color: #aaa8a2; }
html.theme-light .hero-stage,
html.theme-light .band-card,
html.theme-light .weekend,
html.theme-light .media-card,
html.theme-light .newsletter,
html.theme-light .single-hero {
	color: #fff;
}
html.theme-light .hero-stage .button.ghost { color: #fff; }
html.theme-light .weekend button { background: #090909; color: #fff; }
html.theme-light .newsletter button { background: #090909; color: #fff; }
html.theme-light .band-card h2,
html.theme-light .band-card h3 { color: #fff; }
html.theme-light .listing-filter { border-color: var(--line); }
html.theme-light .pagination a,
html.theme-light .pagination span,
html.theme-light .disabled-button { color: #4f4c47; }
