/*
Theme Name: Costa Norte
Author: Radio Costa Norte
Description: Tema de radio costera con portada editorial, streaming, noticias y caletas.
Version: 11.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: costa-norte
*/
:root { --background:oklch(.12 0 0); --foreground:oklch(.97 0 0); --primary:oklch(.91 .19 101); --primary-foreground:oklch(.12 0 0); --secondary:oklch(.75 .13 183); --muted:oklch(.19 0 0); --muted-foreground:oklch(.67 0 0); --accent:oklch(.25 0 0); --border:oklch(.28 0 0); --culture:oklch(.65 .19 350); --font-heading:'Anton',Impact,sans-serif; --font-body:'Barlow',Arial,sans-serif; --font-condensed:'Barlow Condensed',Arial,sans-serif; --shade:linear-gradient(180deg,transparent 35%,oklch(.08 0 0 / .45) 65%,var(--background) 100%); --image-shade:linear-gradient(180deg,transparent,oklch(.07 0 0 / .88)); --hero-shade:linear-gradient(90deg,oklch(.08 0 0 / .22),transparent 70%); }
*{box-sizing:border-box;border-color:var(--border)}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--background);color:var(--foreground);font-family:var(--font-body);font-size:14px}button,a,input,textarea{ -webkit-tap-highlight-color:transparent }a{color:inherit;text-decoration:none}button{font-family:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--font-heading);font-weight:400;letter-spacing:0}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--primary);outline-offset:4px}.site-width{width:calc(100% - 96px);max-width:1180px;margin:auto}.hero{height:790px;position:relative;isolation:isolate}.hero-image{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center 51%;z-index:-3}.hero:after{content:'';position:absolute;inset:0;background:var(--shade);z-index:-1}.hero:before{content:'';position:absolute;inset:0;background:var(--hero-shade);z-index:-2}.site-header{display:flex;align-items:center;justify-content:space-between;padding-top:30px;gap:25px}.brand{display:flex;align-items:center;gap:10px}.brand-mark{width:58px;height:58px;flex-shrink:0}.brand-name{font-size:17px;font-weight:700;line-height:.94;max-width:70px}.location{font-family:var(--font-condensed);font-size:12px;line-height:1.3;border-left:1px solid var(--foreground);padding-left:23px;margin-left:15px}.header-nav{display:flex;align-items:center;gap:30px;font-family:var(--font-condensed);font-size:13px;font-weight:600}.header-nav a{padding:10px 0}.header-nav a:hover,.header-nav .active{border-bottom:2px solid var(--primary)}.radio-button{background:var(--primary);color:var(--primary-foreground);border:0;border-radius:0;min-height:42px;padding:0 21px;font-family:var(--font-condensed);font-size:13px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:12px;cursor:pointer}.radio-button:hover,.arrow-button:hover{background:var(--foreground)}.live-dot{width:6px;height:6px;border-radius:50%;background:currentColor;display:inline-block}.hero-copy{padding-top:57px;position:relative}.hero-copy h1{font-size:151px;line-height:.96;width:min-content}.hero-last-line{display:flex;gap:28px;align-items:flex-end}.hero-tagline{color:var(--primary);font-family:var(--font-heading);font-size:29px;line-height:1.13;margin-bottom:7px}.vertical-label{position:absolute;left:-31px;top:64px;writing-mode:vertical-rl;font-family:var(--font-condensed);font-size:11px;letter-spacing:3px}.radio-panel{position:relative;margin-top:-90px;z-index:2;display:grid;grid-template-columns:1fr 300px 1.25fr;align-items:center;min-height:300px;border:1px solid var(--border);padding:24px 40px 24px 38px;background:linear-gradient(120deg,color-mix(in oklab,var(--background) 92%,transparent) 40%,color-mix(in oklab,var(--muted) 70%,transparent));box-shadow:0 34px 90px -42px oklch(.05 0 0/.95),inset 0 1px 0 color-mix(in oklab,var(--foreground) 9%,transparent);backdrop-filter:blur(14px)}.radio-intro{align-self:stretch;padding-top:20px;display:flex;flex-direction:column;gap:29px}.eyebrow{font-family:var(--font-condensed);font-size:13px;line-height:1.35;text-transform:uppercase}.eyebrow .live-dot{color:var(--primary);margin-right:9px;animation:live-pulse 2.2s ease-out infinite}@keyframes live-pulse{0%{box-shadow:0 0 0 0 color-mix(in oklab,var(--primary) 60%,transparent)}70%{box-shadow:0 0 0 7px transparent}100%{box-shadow:0 0 0 0 transparent}}.radio-intro p{color:var(--muted-foreground);font-family:var(--font-condensed);font-size:14px;line-height:1.3}.waveform{height:50px;display:flex;align-items:center;gap:3px;color:var(--primary)}.waveform i{display:block;width:2px;background:currentColor;animation:wave-bounce 1.5s ease-in-out infinite;transform-origin:center}.waveform i:nth-child(5n + 1){animation-delay:.12s}.waveform i:nth-child(5n + 2){animation-delay:.32s}.waveform i:nth-child(5n + 3){animation-delay:.05s}.waveform i:nth-child(5n + 4){animation-delay:.24s}.waveform i:nth-child(5n){animation-delay:.4s}@keyframes wave-bounce{0%,100%{transform:scaleY(.42)}50%{transform:scaleY(1.04)}}.waveform i:nth-child(5n){height:40px}.waveform i:nth-child(5n + 1){height:13px}.waveform i:nth-child(5n + 2){height:25px}.waveform i:nth-child(5n + 3){height:18px}.waveform i:nth-child(5n + 4){height:31px}.play-orbit{border:1px solid var(--border);width:275px;height:275px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative;margin-top:-12px;margin-bottom:-12px}.play-orbit:before{content:'';position:absolute;inset:28px;border:1px solid var(--border);border-radius:50%;pointer-events:none}.play-orbit:after{content:'';position:absolute;inset:11px;border:1px dashed color-mix(in oklab,var(--foreground) 22%,transparent);border-radius:50%;animation:orbit-spin 26s linear infinite;pointer-events:none}@keyframes orbit-spin{to{transform:rotate(360deg)}}.play-button{width:151px;height:151px;min-height:151px;border-radius:50%;border:0;background:var(--primary);color:var(--primary-foreground);cursor:pointer;transition:transform .25s ease,background .25s ease}.play-button:hover{background:var(--foreground);transform:scale(1.05)}.play-button svg{width:55px;height:55px}.radio-info{padding-left:35px}.radio-info h2{font-size:53px;line-height:1.06;margin:12px 0 20px}.radio-info h2 span{color:var(--primary)}.radio-genres{font-family:var(--font-condensed);font-size:13px;letter-spacing:1px;color:var(--muted-foreground)}.volume{display:flex;align-items:center;gap:18px;margin-top:29px}.volume input{accent-color:var(--primary);width:100%;height:3px;cursor:pointer}.radio-status{font-size:12px;color:var(--primary);margin-top:10px;line-height:1.4}.section{margin-top:58px}.section-heading{border-top:1px solid var(--border);padding:20px 0 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.section-heading h2{font-size:60px;line-height:1}.section-subtitle{font-family:var(--font-condensed);font-size:14px;color:var(--muted-foreground);line-height:1.35;text-transform:uppercase}.section-subtitle span{color:var(--primary)}.text-link{display:inline-flex;align-items:center;gap:25px;font-family:var(--font-condensed);font-size:13px;text-transform:uppercase;cursor:pointer}.text-link:hover{color:var(--primary)}.text-link svg{width:20px}.news-grid{display:grid;grid-template-columns:1fr 1fr;gap:27px}.news-item{position:relative;overflow:hidden;min-height:279px;cursor:pointer;background:var(--muted);border:0;text-align:left;color:var(--foreground);display:block}.news-item:after,.caleta-item:after{content:'';position:absolute;inset:0;background:var(--image-shade);pointer-events:none}.news-item img,.caleta-item img{position:absolute;width:100%;height:100%;object-fit:cover;transition:transform .5s}.news-item:hover img,.caleta-item:hover img{transform:scale(1.035)}.news-featured{min-height:581px}.news-stack{display:grid;gap:23px}.news-content{position:absolute;z-index:1;bottom:28px;left:30px;right:52px}.news-category{color:var(--secondary);font-family:var(--font-condensed);font-size:13px;font-weight:600}.news-category.culture{color:var(--culture)}.news-date{font-family:var(--font-condensed);font-size:11px;display:block;margin:7px 0 13px}.news-content h3{font-size:33px;line-height:1.1;max-width:310px}.news-content p{font-size:13px;line-height:1.5;max-width:290px;margin-top:18px;color:var(--muted-foreground)}.arrow-button{display:flex;align-items:center;justify-content:center;width:43px;height:43px;border:0;border-radius:0;color:var(--primary-foreground);background:var(--primary);position:absolute;z-index:2;right:25px;bottom:25px;cursor:pointer}.caletas-heading h2 span{color:var(--primary)}.caleta-grid{display:grid;grid-template-columns:1fr 1fr;gap:27px}.caleta-item{position:relative;min-height:340px;overflow:hidden}.caleta-item:nth-child(2) img{object-position:right center;filter:hue-rotate(12deg)}.caleta-content{position:absolute;left:30px;bottom:24px;z-index:1}.caleta-content h3{font-size:53px;line-height:1.04}.caleta-content p{font-family:var(--font-condensed);font-size:12px;margin:13px 0 10px}.caleta-arrow{border-radius:50%;background:var(--secondary);top:23px;bottom:auto}.socials{display:flex;gap:16px}.socials a{display:flex;align-items:center;justify-content:center;border-radius:50%;width:30px;height:30px;background:var(--foreground);color:var(--background)}.socials svg{width:17px;height:17px}.contact-grid{display:grid;grid-template-columns:.7fr 1.3fr;gap:42px}.contact-photo{width:100%;height:270px;object-fit:cover}.contact-form{display:grid;gap:12px;grid-template-columns:1fr 1fr}.contact-form input,.contact-form textarea{width:100%;border:1px solid transparent;background:var(--muted);color:var(--foreground);padding:14px 16px;font-family:var(--font-condensed);font-size:12px;border-radius:0}.contact-form input::placeholder,.contact-form textarea::placeholder{color:var(--muted-foreground)}.contact-form textarea{resize:vertical;min-height:121px;grid-column:1/-1}.contact-form .full{grid-column:1/-1}.contact-form .radio-button{justify-content:space-between;width:220px;height:39px;min-height:39px}.contact-status{font-size:13px;color:var(--primary);grid-column:1/-1}.site-footer{border-top:1px solid var(--border);margin-top:31px;padding:30px 0;display:flex;align-items:center;justify-content:space-between;gap:25px}.site-footer .brand-mark{width:52px;height:52px}.site-footer .brand-name{font-size:14px}.footer-copy{font-family:var(--font-condensed);font-size:11px;line-height:1.5;color:var(--muted-foreground)}.footer-links{display:grid;grid-template-columns:1fr 1fr;gap:2px 25px;font-family:var(--font-condensed);font-size:11px}.footer-social-label{font-size:10px;margin-bottom:10px}.footer-socials .socials a{width:25px;height:25px}.menu-toggle{display:none}.article-dialog{background:var(--background);color:var(--foreground);max-width:700px;width:calc(100% - 36px);border:1px solid var(--border);padding:0;max-height:90vh}.article-dialog::backdrop{background:oklch(.05 0 0 / .85)}.article-dialog img{width:100%;height:260px;object-fit:cover}.article-dialog-content{padding:30px}.article-dialog h2{font-size:38px;line-height:1.15;margin:12px 0 20px}.article-dialog p{line-height:1.7;color:var(--muted-foreground)}.article-close{float:right;position:sticky;top:10px;margin:10px;z-index:3}.preview-note{padding:12px 0;color:var(--primary);font-size:12px}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1600px){.hero{height:850px}.hero-image{object-position:center 57%}}
@media(max-width:1000px){.site-width{width:calc(100% - 56px)}.header-nav{gap:18px}.location{display:none}.hero{height:730px}.hero-copy h1{font-size:130px}.hero-tagline{font-size:25px}.radio-panel{grid-template-columns:1fr 230px 1fr;padding:20px;min-height:250px}.play-orbit{width:220px;height:220px}.play-button{width:125px;height:125px;min-height:125px}.radio-info{padding-left:20px}.radio-info h2{font-size:40px}.section-heading h2{font-size:50px}.news-content h3{font-size:28px}.news-featured{min-height:520px}.news-item{min-height:248px}.caleta-content h3{font-size:43px}.contact-grid{gap:25px}.site-footer{flex-wrap:wrap}}
@media(max-width:650px){.site-width{width:calc(100% - 36px)}.hero{height:640px}.hero-image{object-position:57% center}.site-header{padding-top:20px}.brand-mark{width:43px;height:43px}.brand-name{font-size:13px}.header-nav{display:none;position:absolute;left:18px;right:18px;top:78px;padding:18px;background:var(--background);z-index:5;flex-wrap:wrap}.header-nav.open{display:flex}.header-live{margin-left:auto}.header-live .radio-button{min-height:34px;padding:0 13px;font-size:11px}.menu-toggle{display:flex;width:32px;height:32px;padding:0;color:var(--foreground)}.hero-copy{padding-top:48px;padding-left:12px}.hero-copy h1{font-size:101px;line-height:.98}.hero-last-line{gap:15px}.hero-tagline{font-size:21px;line-height:1.15;max-width:118px}.vertical-label{left:-7px;top:53px;font-size:8px;letter-spacing:2px}.radio-panel{margin-top:-60px;padding:19px 18px;grid-template-columns:1fr 155px;gap:5px;min-height:310px}.radio-intro{gap:18px;padding-top:10px}.radio-intro p{font-size:12px}.eyebrow{font-size:11px}.waveform{gap:2px;height:40px}.waveform i{width:1px}.play-orbit{width:155px;height:155px;margin:0}.play-orbit:before{inset:17px}.play-button{width:97px;height:97px;min-height:97px}.play-button svg{width:35px;height:35px}.radio-info{grid-column:1/-1;padding:20px 0 0;display:grid;grid-template-columns:1fr 1fr;column-gap:15px;border-top:1px solid var(--border);margin-top:15px}.radio-info>.eyebrow{grid-column:1/-1}.radio-info h2{font-size:30px;margin:8px 0;grid-row:2/4}.radio-genres{font-size:9px;align-self:end;letter-spacing:0}.volume{margin-top:12px;gap:10px}.radio-status{grid-column:1/-1}.section{margin-top:35px}.section-heading{padding:17px 0 20px;gap:12px;flex-wrap:wrap}.section-heading h2{font-size:42px}.section-subtitle{font-size:10px}.text-link{font-size:10px;gap:10px;margin-left:auto}.section-heading .section-subtitle{margin-left:auto}.news-grid{grid-template-columns:1fr;gap:18px}.news-featured{min-height:440px}.news-stack{gap:18px;grid-template-columns:1fr 1fr}.news-stack .news-item{min-height:290px}.news-content{left:19px;right:22px;bottom:23px}.news-content h3{font-size:30px}.news-stack h3{font-size:23px}.news-stack .news-content{bottom:66px;left:14px;right:12px}.news-date{font-size:9px}.news-category{font-size:10px}.arrow-button{width:34px;height:34px;right:14px;bottom:17px}.news-content p{font-size:12px}.caleta-grid{gap:15px;grid-template-columns:1fr 1fr}.caleta-item{min-height:250px}.caleta-content{left:13px;bottom:17px}.caleta-content h3{font-size:28px}.caleta-content p{font-size:9px}.socials{gap:9px}.socials a{width:25px;height:25px}.caleta-arrow{top:15px}.caletas-heading .section-subtitle{max-width:145px}.contact-grid{grid-template-columns:1fr;gap:18px}.contact-photo{height:215px}.contact-form{gap:10px}.site-footer{gap:23px;padding:25px 0}.footer-copy{font-size:9px}.footer-links{font-size:10px}.site-footer>.footer-copy:last-child{width:100%}.article-dialog h2{font-size:30px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}

.hero-tagline{flex-shrink:0}.flex{display:flex}.items-center{align-items:center}.radio-button svg,.arrow-button svg{width:18px;height:18px}.menu-toggle{background:transparent;border:0;cursor:pointer}.header-nav ul{display:flex;list-style:none;gap:30px;padding:0;margin:0}.honeypot{display:none}.entry{padding:60px 0;min-height:70vh}.entry h1{font-size:60px;line-height:1.1;margin-bottom:30px}.entry-content{font-size:18px;line-height:1.8;max-width:850px}.entry-content p{margin-bottom:20px}.entry-content img{max-width:100%;height:auto}.entry-content a{color:var(--primary)}.post-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:25px}.post-list h2{font-size:30px}.pagination{margin-top:30px}.pagination a{padding:10px;color:var(--primary)}

/* Descripcion de caletas (v11) */
.caleta-content p.caleta-desc{font-size:12px;line-height:1.5;color:var(--muted-foreground);margin:12px 0 10px;max-width:330px}
.caleta-desc a{color:var(--primary);word-break:break-all}
@media(max-width:650px){.caleta-content p.caleta-desc{max-width:250px;font-size:11px}}
