/*
Theme Name: La Clásica 80s
Theme URI: https://laclasicaonline.com
Author: Medios La Agencia Digital
Description: Tema a medida para La Clásica: emisora y canal de TV de clásicos de los 80. Diseño editorial oscuro, nota destacada con slider, TV retro con el canal en vivo, radio en vivo, notas en 3 columnas y espacios de Google AdSense configurables desde el Personalizador.
Version: 2.3.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: lc80
*/

:root {
	--bg: #0A0A0B;
	--bg-2: #0E0E10;
	--surface: #131316;
	--surface-2: #1A1A1E;
	--line: #232327;
	--line-2: #2E2E33;
	--line-3: #3A3A40;
	--text: #F4F4F5;
	--text-2: #D4D4D8;
	--muted: #A1A1AA;
	--faint: #8A8A93;
	--accent: #FF2D7A;
	--accent-hover: #FF5A97;
	--live: #FF3B3B;
	--radius: 14px;
	--radius-lg: 16px;
	--wrap: 1240px;
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--text); text-decoration: none; transition: color .2s, background-color .2s, border-color .2s; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 999; background: var(--accent); color: #0A0A0B; padding: 8px 14px; border-radius: 6px; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--live); flex: none; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 14px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn--lg { height: 52px; padding: 0 26px; font-size: 15px; }
.btn--accent { background: var(--accent); color: #0A0A0B; }
.btn--accent:hover { background: var(--accent-hover); color: #0A0A0B; }
.btn--light { background: #fff; color: #0A0A0B; height: 48px; padding: 0 24px; font-size: 15px; }
.btn--light:hover { background: var(--accent); color: #0A0A0B; }
.btn--outline { border-color: var(--line-3); color: var(--text); height: 48px; padding: 0 28px; }
.btn--outline:hover { border-color: var(--accent); color: var(--text); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; transition: border-color .2s, background .2s; }
.icon-btn:hover { border-color: var(--accent); }
.icon-btn--glass { border-color: rgba(255, 255, 255, .3); background: rgba(10, 10, 11, .5); backdrop-filter: blur(6px); }

/* ---------- Barra superior ---------- */
.topbar { background: #111113; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.topbar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.now-playing { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: var(--muted); min-width: 0; }
.now-playing strong { color: var(--text); font-weight: 600; }
.now-playing span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social { display: flex; gap: 14px; align-items: center; }
.social a { color: var(--muted); display: inline-flex; }
.social a:hover { color: var(--accent); }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 10, 11, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.header-inner { display: flex; align-items: center; gap: 16px 32px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-logo { height: 52px; width: auto; max-width: 140px; object-fit: contain; }
.brand-badge { width: 48px; height: 48px; border-radius: 12px; background: var(--accent); color: #0A0A0B; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 24px; }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 900; font-size: 30px; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.brand-sub { font-size: 11px; letter-spacing: .2em; color: var(--muted); margin-top: 5px; text-transform: uppercase; }

.primary-nav { min-width: 0; }
.primary-nav .menu { list-style: none; display: flex; flex-wrap: nowrap; gap: 4px 22px; margin: 0; padding: 0; }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu a { display: block; padding: 10px 0; font-size: 14.5px; font-weight: 600; color: var(--text-2); border-bottom: 2px solid transparent; white-space: nowrap; }
.primary-nav .menu a:hover { color: #fff; border-bottom-color: var(--accent); }
.primary-nav .current-menu-item > a, .primary-nav .current-cat > a { color: #fff; border-bottom-color: var(--accent); }
.primary-nav .sub-menu { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: -16px; min-width: 230px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { padding: 9px 16px; border: 0; font-size: 14px; }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-toggle { display: none; flex-direction: column; gap: 4px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; transition: .25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.header-search { border-top: 1px solid var(--line); padding: 16px 0; }
.header-search .search-form { max-width: 640px; margin: 0 auto; }

/* ---------- Cinta (opcional) ---------- */
.ticker { display: flex; background: var(--surface); border-bottom: 1px solid var(--line); overflow: hidden; font-size: 14px; }
.ticker-label { flex: none; display: flex; align-items: center; padding: 0 16px; background: var(--accent); color: #0A0A0B; font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: .12em; }
.ticker-track { overflow: hidden; flex: 1; }
.ticker-move { display: inline-flex; white-space: nowrap; animation: ticker 55s linear infinite; }
.ticker:hover .ticker-move { animation-play-state: paused; }
.ticker-move a { padding: 10px 24px; font-weight: 600; color: var(--text-2); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- AdSense ---------- */
.lc80-ad { margin: 32px auto 0; text-align: center; position: relative; }
.lc80-ad-label { display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.lc80-ad--placeholder { display: flex; align-items: center; justify-content: center; min-height: 90px; max-width: 970px; border: 1px dashed var(--line-3); border-radius: 8px; background: #111113; color: var(--faint); font-size: 13px; }
.ad-leader, .ad-header { max-width: 970px; }
.ad-square { margin: 0; }
.ad-square.lc80-ad--placeholder { width: 300px; min-height: 250px; }
.ad-sidebar { margin: 0 0 24px; }
.ad-sidebar.lc80-ad--placeholder { min-height: 250px; }

/* ---------- Hero ---------- */
.hero { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 32px; }
.hero-feature { position: relative; flex: 999 1 620px; min-width: 0; min-height: 540px; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); isolation: isolate; }
.slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 8s ease; }
.slide.is-active .slide-bg { transform: scale(1); }
.slide-bg--empty { display: grid; place-items: center; background: radial-gradient(circle at 75% 30%, rgba(255, 45, 122, .55), transparent 45%), radial-gradient(circle at 20% 80%, rgba(59, 29, 143, .7), transparent 55%), #14101C; }
.slide-bg--empty span { font-family: var(--display); font-weight: 900; font-size: 200px; color: rgba(255, 255, 255, .08); }
.slide-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 10, 11, .97) 6%, rgba(10, 10, 11, .55) 50%, rgba(10, 10, 11, .05) 100%); }
.slide-content { position: relative; padding: 40px 40px 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 700px; }
.slide.is-active .slide-content > * { animation: rise .7s both; }
.slide.is-active .slide-content > *:nth-child(2) { animation-delay: .08s; }
.slide.is-active .slide-content > *:nth-child(3) { animation-delay: .16s; }
.slide.is-active .slide-content > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.slide-title { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(38px, 4.6vw, 62px); line-height: .98; color: #fff; }
.slide-title a { color: #fff; }
.slide-title a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; text-decoration-color: var(--accent); }
.slide-excerpt { margin: 0; font-size: 17px; color: var(--text-2); }
.hero-arrows { position: absolute; top: 20px; right: 20px; z-index: 3; display: flex; gap: 8px; }
.hero-arrows .icon-btn { color: #fff; }
.hero-dots { position: absolute; left: 40px; bottom: 28px; z-index: 3; display: flex; gap: 8px; }
.hero-dots button { width: 16px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: #52525B; cursor: pointer; transition: width .3s, background .3s; }
.hero-dots button.is-active { width: 32px; background: var(--accent); }
.hero-dots button::before { content: ""; display: block; height: 24px; margin-top: -10px; }

.kicker-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.kicker-row--sm { font-size: 11px; color: var(--faint); }
.tag { background: var(--accent); color: #0A0A0B; padding: 4px 10px; border-radius: 4px; }
.kicker { color: var(--accent); }
.kicker:hover { color: var(--accent-hover); }

/* ---------- Columna en vivo ---------- */
.hero-live { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.panel-head { display: flex; align-items: center; gap: 10px; }
.panel-head h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: .04em; text-transform: uppercase; }
.live-tag { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #FF6B6B; border: 1px solid #FF6B6B; border-radius: 4px; padding: 2px 8px; }
.panel-note { margin: 0; font-size: 14px; color: var(--muted); }
.radio-embed iframe { display: block; width: 100%; border: 0; border-radius: 10px; }
.eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 16px; }
.eq i { width: 3px; background: var(--accent); border-radius: 1px; animation: eq 1s infinite ease-in-out; }
.eq i:nth-child(2) { animation-delay: .2s; }
.eq i:nth-child(3) { animation-delay: .4s; }
.eq i:nth-child(4) { animation-delay: .1s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }

/* TV retro */
.retro-tv { align-self: center; width: 100%; max-width: 380px; animation: tvFloat 6s ease-in-out infinite; }
@keyframes tvFloat { 0%, 100% { transform: translateY(0) rotate(-.8deg); } 50% { transform: translateY(-6px) rotate(.8deg); } }
.tv-cabinet { display: flex; gap: 12px; padding: 14px; border-radius: 22px; background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .12) 0 3px, transparent 3px 9px), linear-gradient(160deg, #7A4E2E 0%, #55361F 50%, #352113 100%); box-shadow: 0 0 0 3px #1C120B, inset 0 2px 0 rgba(255, 255, 255, .15), 0 24px 40px rgba(0, 0, 0, .6); }
.tv-screen { position: relative; flex: 1; aspect-ratio: 4 / 3; border-radius: 22% / 18%; border: 8px solid #151515; overflow: hidden; background: #050505; }
.tv-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.tv-idle { position: absolute; inset: 0; background: radial-gradient(circle at 25% 25%, rgba(245, 197, 66, .8), transparent 40%), radial-gradient(circle at 80% 75%, rgba(179, 18, 62, .9), transparent 55%), #1A1010; transition: opacity .4s; }
.tv-screen.is-playing .tv-idle { opacity: 0; }
.tv-logo { position: absolute; right: 9%; bottom: 9%; z-index: 3; font-family: var(--display); font-weight: 900; font-size: 42px; line-height: 1; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .6); animation: logoDance 6s ease-in-out infinite; }
.tv-logo small { font-size: 18px; color: var(--accent); }
.tv-screen.is-playing .tv-logo { font-size: 24px; opacity: .85; }
.tv-screen.is-playing .tv-logo small { font-size: 11px; }
@keyframes logoDance { 0%, 100% { transform: rotate(0) scale(1); } 20% { transform: rotate(-7deg) scale(1.08); } 40% { transform: rotate(5deg) scale(.96); } 70% { transform: rotate(-3deg) scale(1.1); } }
.tv-osd { position: absolute; top: 8%; left: 9%; z-index: 3; font: 700 13px/1 "Courier New", monospace; color: #6BFF6B; text-shadow: 0 0 6px #2BFF2B; }
.tv-scan { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .25) 0 2px, transparent 2px 4px); }
.tv-glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, .14), transparent 45%), radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .7) 100%); }
.tv-play { position: absolute; left: 50%; top: 50%; z-index: 4; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 50%; border: 2px solid #fff; background: rgba(10, 10, 11, .55); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, opacity .2s; }
.tv-play:hover { background: var(--accent); color: #0A0A0B; }
.tv-screen.is-playing .tv-play { opacity: 0; }
.tv-screen.is-playing:hover .tv-play, .tv-screen.is-playing .tv-play:focus-visible { opacity: 1; }
.tv-full { position: absolute; right: 9%; top: 7%; z-index: 4; width: 34px; height: 34px; border-radius: 8px; border: 0; background: rgba(10, 10, 11, .6); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.tv-panel { width: 52px; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 6px 0; background: #1A1A1A; border-radius: 8px; }
.tv-knob { width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(#666, #DDD, #555, #BBB, #666); box-shadow: 0 2px 4px rgba(0, 0, 0, .6); animation: knob 8s ease-in-out infinite; }
.tv-knob--sm { width: 22px; height: 22px; animation-direction: reverse; }
@keyframes knob { 50% { transform: rotate(140deg); } }
.tv-speaker { flex: 1; width: 70%; min-height: 30px; border-radius: 4px; background: repeating-linear-gradient(0deg, #0A0A0A 0 3px, #2E2E2E 3px 6px); }
.tv-led { width: 7px; height: 7px; border-radius: 50%; background: #3DFF6B; box-shadow: 0 0 6px #3DFF6B; animation: blink 2.4s infinite; }

/* ---------- Secciones ---------- */
.section { padding-top: 72px; }
.news { padding-top: 64px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 24px; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.section-head-text { display: flex; flex-direction: column; gap: 6px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.section-title { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(34px, 4vw, 48px); line-height: 1; color: #fff; }
.section-title--md { font-size: clamp(28px, 3vw, 34px); margin-bottom: 18px; }
.archive-desc { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--text-2); }
.chip:hover { border-color: var(--accent); color: #fff; }
.chip.is-active { background: #fff; border-color: #fff; color: #0A0A0B; }

/* Cuadrícula de notas: 3 columnas */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.grid-ad { grid-column: 1 / -1; }
.grid-ad .lc80-ad { margin: 0 auto; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, transform .25s; }
.card:hover { border-color: var(--accent); transform: translateY(-3px); }
.card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 70% 70%, rgba(31, 182, 201, .5), transparent 45%), radial-gradient(circle at 20% 20%, rgba(90, 24, 154, .7), transparent 55%), #0E1118; }
.card-fallback span { font-family: var(--display); font-weight: 900; font-size: 84px; color: rgba(255, 255, 255, .14); }
.card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 22px 22px; }
.card-title { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 700; }
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--accent-hover); }
.card-excerpt { font-size: 15px; color: var(--muted); }
.card-excerpt p { margin: 0; }
.card-more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: #fff; }
.card-more svg { transition: transform .2s; }
.card-more:hover svg { transform: translateX(3px); }
.more-wrap { display: flex; justify-content: center; margin-top: 40px; }

.pagination { margin-top: 44px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text-2); font-weight: 600; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: #fff; border-color: #fff; color: #0A0A0B; }
.pagination .dots { border: 0; }

/* Explora por año */
.years-grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 12px; }
.year { height: 72px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-family: var(--display); font-weight: 800; font-size: 28px; color: #fff; }
.year:hover { border-color: var(--accent); color: #fff; background: var(--surface-2); }

/* Más leído / Programación / anuncio */
.trio { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.trio-col { flex: 1 1 340px; min-width: 0; }
.trio-ad { flex: 0 1 300px; margin: 0 auto; }
.trio-ad .lc80-ad { margin: 0; }
.ranked { list-style: none; margin: 0; padding: 0; }
.ranked li { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ranked-n { font-family: var(--display); font-weight: 900; font-size: 32px; line-height: 1; color: var(--accent); min-width: 28px; }
.ranked a { font-weight: 600; line-height: 1.4; }
.schedule { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.schedule li { display: flex; gap: 16px; align-items: center; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.schedule-time { font: 700 14px/1 "Courier New", monospace; color: var(--muted); min-width: 56px; }
.schedule-info { display: flex; flex-direction: column; }
.schedule-info span { font-size: 13px; color: var(--muted); }

/* Franja WhatsApp */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.cta-text { flex: 1 1 420px; min-width: 0; }
.cta-text h2 { margin: 0 0 8px; font-family: var(--display); font-weight: 900; font-size: 40px; line-height: 1; color: #fff; }
.cta-text p { margin: 0; color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Nota individual / página ---------- */
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-top: 40px; }
.entry-header { margin-bottom: 24px; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 4px; background: var(--accent); color: #0A0A0B; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.badge:hover { background: var(--accent-hover); color: #0A0A0B; }
.entry-title { margin: 14px 0 12px; font-family: var(--display); font-weight: 900; font-size: clamp(38px, 5vw, 60px); line-height: 1; color: #fff; }
.entry-meta { color: var(--muted); font-size: 14px; }
.entry-thumb { margin: 0 0 24px; border-radius: var(--radius); overflow: hidden; }
.entry-thumb img { width: 100%; }
.entry-content { font-size: 18px; line-height: 1.75; color: var(--text-2); }
.entry-content > * { margin-top: 0; margin-bottom: 1.2em; }
.entry-content h2, .entry-content h3 { color: #fff; margin-top: 1.6em; }
.entry-content h2 { font-size: 28px; }
.entry-content a { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { margin-left: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); color: #fff; font-size: 20px; }
.entry-content iframe, .entry-content video { width: 100%; border-radius: 10px; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption, .wp-element-caption { color: var(--muted); font-size: 14px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 8px; }
.entry-content .lc80-ad { margin: 32px auto; }
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.entry-tags a { padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: var(--muted); }
.entry-tags a:hover { border-color: var(--accent); color: #fff; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
.post-navigation a { display: block; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.post-navigation a:hover { border-color: var(--accent); color: var(--text); }
.post-navigation .nav-next { text-align: right; }
.nav-sub { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.nav-t { font-weight: 700; }
.related { margin-top: 48px; }
.related .section-title { margin-bottom: 22px; font-size: 32px; }
.post-grid--compact { gap: 18px; }
.post-grid--compact .card-excerpt { display: none; }
.post-grid--compact .card-title { font-size: 17px; }

.sidebar .widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; }
.widget-title { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; color: #fff; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.widget li:last-child { border: 0; }
.mini-list a { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 14px; line-height: 1.35; }
.mini-list img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; }

/* ---------- Formularios ---------- */
.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form input, .comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { flex: 1; width: 100%; height: 48px; padding: 0 18px; background: var(--bg); border: 1px solid var(--line-3); border-radius: 999px; }
.comment-form textarea { height: auto; padding: 14px 18px; border-radius: 14px; }
.search-form input:focus, .comment-form input:focus, .comment-form textarea:focus { border-color: var(--accent); outline: none; }
.search-form button, .comment-form .submit { height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--accent); color: #0A0A0B; font-weight: 700; cursor: pointer; }
.search-form button:hover, .comment-form .submit:hover { background: var(--accent-hover); }
.comments { margin-top: 48px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-author img { border-radius: 50%; float: left; margin-right: 12px; }
.comment-metadata { font-size: 12px; }
.comment-metadata a { color: var(--muted); }
.comment-reply-title { font-family: var(--display); font-weight: 800; font-size: 28px; }

/* ---------- 404 / vacío ---------- */
.error-404, .empty-state { padding-top: 64px; text-align: center; }
.error-404 .search-form, .empty-state .search-form { margin: 26px auto; }
.big-404 { font-family: var(--display); font-weight: 900; font-size: clamp(110px, 18vw, 200px); line-height: 1; margin: 0; color: var(--accent); }
.error-404 .section-title::after { display: none; }

/* ---------- Pie ---------- */
.site-footer { margin-top: 80px; background: var(--bg-2); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.footer-brand .brand-name { font-size: 28px; }
.footer-brand p { margin: 10px 0 16px; max-width: 320px; }
.footer-title, .footer-col .widget-title { margin: 0 0 12px; font-family: var(--font); font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; color: #fff; border: 0; padding: 0; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col li { padding: 0; border: 0; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }

/* ---------- Bloques WP ---------- */
.alignwide { margin-left: -40px; margin-right: -40px; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.wp-block-button__link { background: var(--accent); color: #0A0A0B; border-radius: 999px; }
.wp-block-separator { border-color: var(--line); }
.has-text-align-center { text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.nav-toggle { display: inline-flex; }
	.primary-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg-2); border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height .35s ease; }
	.primary-nav.is-open { max-height: 80vh; overflow-y: auto; }
	.primary-nav .menu { flex-direction: column; gap: 0; padding: 8px 24px 16px; }
	.primary-nav .menu a { padding: 13px 0; border-bottom: 1px solid var(--line); white-space: normal; }
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; background: none; box-shadow: none; padding: 0 0 0 16px; }
	.years-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
	.layout-sidebar { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.alignwide { margin-left: 0; margin-right: 0; }
}
@media (max-width: 640px) {
	.container { padding: 0 16px; }
	.topbar-date { display: none; }
	.now-playing { margin-left: 0; max-width: 100%; }
	.header-inner { min-height: 68px; gap: 12px; }
	.brand-name { font-size: 22px; }
	.brand-sub { display: none; }
	.brand-logo { height: 42px; }
	.brand-badge { width: 40px; height: 40px; font-size: 20px; }
	.btn-live span { display: none; }
	.btn-live { width: 44px; padding: 0; }
	.hero { padding-top: 20px; }
	.hero-feature { min-height: 480px; flex-basis: 100%; }
	.slide-content { padding: 24px 20px 56px; }
	.slide-excerpt { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.hero-dots { left: 20px; bottom: 24px; }
	.hero-arrows { top: 14px; right: 14px; }
	.post-grid { grid-template-columns: 1fr; }
	.section { padding-top: 56px; }
	.chips { margin-left: 0; }
	.years-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
	.year { height: 56px; font-size: 22px; }
	.cta-band { padding: 28px 22px; }
	.cta-text h2 { font-size: 32px; }
	.footer-grid { grid-template-columns: 1fr; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.entry-content { font-size: 17px; }
	.ad-square.lc80-ad--placeholder { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- v2.1: banner junto al slider + TV grande ---------- */
.hero { align-items: stretch; }
.hero-feature { min-height: 560px; }
.hero-promo { flex: 0 1 400px; min-width: 0; display: flex; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.hero-promo a { display: block; width: 100%; }
.hero-promo-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .4s; }
.hero-promo a:hover .hero-promo-img { transform: scale(1.02); }

.live-row { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 24px; padding-top: 32px; align-items: start; }
.live-row .live-tv { padding: 28px; }
.live-row .retro-tv { max-width: 780px; }
.live-row .tv-cabinet { padding: 22px; gap: 20px; border-radius: 30px; }
.live-row .tv-screen { border-width: 12px; }
.live-row .tv-panel { width: 90px; gap: 16px; padding: 12px 0; }
.live-row .tv-knob { width: 52px; height: 52px; }
.live-row .tv-knob--sm { width: 38px; height: 38px; }
.live-row .tv-logo { font-size: 64px; }
.live-row .tv-logo small { font-size: 26px; }
.live-row .tv-screen.is-playing .tv-logo { font-size: 30px; }
.live-row .tv-osd { font-size: 16px; }
.live-row .tv-play { width: 84px; height: 84px; }
.live-row .panel-head h2 { font-size: 30px; }
.live-row .live-radio { position: sticky; top: 110px; }

@media (max-width: 1024px) {
	.hero-promo { flex: 1 1 100%; max-width: 480px; margin: 0 auto; }
	.hero-promo-img { height: auto; }
	.live-row { grid-template-columns: 1fr; }
	.live-row .live-radio { position: static; }
}
@media (max-width: 640px) {
	.live-row .live-tv { padding: 16px; }
	.live-row .tv-cabinet { padding: 12px; gap: 10px; border-radius: 20px; }
	.live-row .tv-screen { border-width: 7px; }
	.live-row .tv-panel { width: 46px; }
	.live-row .tv-knob { width: 28px; height: 28px; }
	.live-row .tv-knob--sm { width: 20px; height: 20px; }
	.live-row .tv-logo { font-size: 38px; }
	.live-row .tv-logo small { font-size: 16px; }
	.live-row .tv-play { width: 60px; height: 60px; }
}

/* v2.2: autoplay silenciado + botón de sonido */
.tv-sound { position: absolute; left: 50%; bottom: 9%; z-index: 5; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--accent); color: #0A0A0B; font-weight: 700; font-size: 14px; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .5); animation: soundPulse 2s ease-in-out infinite; }
.tv-sound:hover { background: var(--accent-hover); }
@keyframes soundPulse { 50% { transform: translateX(-50%) scale(1.06); } }

/* v2.3: anuncios */
.lc80-ad { width: 100%; }
.lc80-ad ins.adsbygoogle { min-height: 90px; }
.ad-leader { margin-top: 32px; }
.live-row .live-side-ad, .live-radio + .lc80-ad { margin: 24px 0 0; }
.live-radio + .lc80-ad ins.adsbygoogle, .ad-sidebar ins.adsbygoogle, .ad-square ins.adsbygoogle { min-height: 250px; }
.ad-incontent { margin: 32px auto; }
.ad-single-top, .ad-single-bottom { margin: 28px auto; }
.live-col { display: flex; flex-direction: column; gap: 24px; }
.live-col .lc80-ad { margin: 0; }
@media (min-width: 1025px) { .live-col { position: sticky; top: 110px; } .live-row .live-radio { position: static; } }
