/*
Theme Name: Artemis Radio
Theme URI: https://artemisradio.com.ar/
Author: Diego Ortiz / Master Servicios Informáticos
Description: Theme propio para Artemis Radio. Ligero, responsive y preparado para reproductor, programación, noticias y banners.
Version: 1.1.9
Text Domain: artemis-radio
*/

:root{
  --ar-black:#111111;
  --ar-orange:#ff6500;
  --ar-orange-2:#ff7a18;
  --ar-text:#172033;
  --ar-muted:#6b7280;
  --ar-border:#e5e7eb;
  --ar-bg:#ffffff;
  --ar-soft:#f7f7f8;
  --ar-radius:18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Manrope",Arial,Helvetica,sans-serif;
  color:var(--ar-text);
  background:var(--ar-bg);
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}

.ar-container{
  width:min(1220px, calc(100% - 32px));
  margin-inline:auto;
}

/* TOPBAR */
.ar-topbar{
  border-bottom:1px solid var(--ar-border);
  background:#fff;
}
.ar-topbar-inner{
  min-height:32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  font-size:11px;
  font-weight:500;
  color:var(--ar-muted);
}

/* HEADER */
.ar-header{
  background:#fff;
  border-bottom:1px solid var(--ar-border);
}
.ar-header-inner{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.ar-brand{
  display:flex;
  align-items:center;
}
.ar-brand .custom-logo-link,.ar-dark-logo-link{display:flex;align-items:center}
.ar-brand img{
  max-height:78px;
  width:auto;
  display:block;
}

.ar-nav ul{
  list-style:none;
  display:flex;
  align-items:center;
  gap:24px;
  margin:0;
  padding:0;
  font-weight:700;
  font-size:13px;
}
.ar-nav a{transition:color .2s ease}
.ar-nav a:hover{color:var(--ar-orange)}

/* HERO */
.ar-hero{
  position:relative;
  overflow:hidden;
  padding:58px 0;
  background:
    radial-gradient(circle at 78% 32%, rgba(255,101,0,.18), transparent 26%),
    linear-gradient(115deg,#101112 0%,#171717 55%,#2b170d 100%);
  color:#fff;
}
.ar-hero::after{
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  right:-180px;
  bottom:-260px;
  border-radius:50%;
  border:1px solid rgba(255,101,0,.14);
  box-shadow:0 0 0 80px rgba(255,101,0,.03),0 0 0 150px rgba(255,101,0,.025);
  pointer-events:none;
}
.ar-hero-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:54px;
  align-items:center;
}
.ar-hero-copy{max-width:650px}
.ar-kicker{
  display:flex;
  align-items:center;
  gap:9px;
  color:var(--ar-orange);
  font-size:12px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.ar-kicker span{width:26px;height:3px;border-radius:99px;background:var(--ar-orange)}
.ar-hero h1{
  margin:14px 0 18px;
  font-size:clamp(44px,5.5vw,72px);
  line-height:.98;
  letter-spacing:-.045em;
  font-weight:700;
}
.ar-hero h1 strong{color:var(--ar-orange);font-weight:800}
.ar-hero p{
  max-width:560px;
  margin:0;
  color:#d1d5db;
  font-size:17px;
}
.ar-hero-slogan{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:24px;
  color:#fff;
  font-size:13px;
  font-weight:800;
  letter-spacing:.06em;
}
.ar-hero-slogan::after{
  content:"";
  width:38px;
  height:3px;
  border-radius:99px;
  background:var(--ar-orange);
}

/* PLAYER */
.ar-player-shell{
  position:relative;
  overflow:hidden;
  padding:26px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:24px;
  background:
    radial-gradient(circle at 88% 15%,rgba(255,101,0,.16),transparent 30%),
    linear-gradient(145deg,rgba(255,255,255,.10),rgba(255,255,255,.055));
  box-shadow:0 24px 55px rgba(0,0,0,.30);
  backdrop-filter:blur(10px);
}
.ar-player-shell::before{
  content:"";
  position:absolute;
  inset:auto -40px -70px auto;
  width:190px;
  height:190px;
  border-radius:50%;
  border:1px solid rgba(255,101,0,.12);
  box-shadow:0 0 0 34px rgba(255,101,0,.025),0 0 0 68px rgba(255,101,0,.018);
  pointer-events:none;
}
.ar-player-head{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.ar-player-brandline{display:flex;align-items:center;gap:11px;flex-wrap:wrap}
.ar-live{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:linear-gradient(135deg,var(--ar-orange),var(--ar-orange-2));
  color:#fff;
  padding:6px 11px;
  border-radius:999px;
  font-size:10px;
  font-weight:800;
  box-shadow:0 8px 18px rgba(255,101,0,.20);
}
.ar-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#fff;
  animation:arPulse 1.2s infinite;
}
@keyframes arPulse{50%{opacity:.35}}
.ar-player-signal{
  color:#c8ccd3;
  font-size:10px;
  font-weight:800;
  letter-spacing:.14em;
}
.ar-wave{
  height:56px;
  display:flex;
  align-items:center;
  gap:4px;
}
.ar-wave span{
  display:block;
  width:4px;
  height:17px;
  border-radius:99px;
  background:linear-gradient(180deg,var(--ar-orange-2),var(--ar-orange));
  box-shadow:0 0 12px rgba(255,101,0,.15);
  animation:arWave .9s ease-in-out infinite;
  animation-play-state:paused;
}
.ar-wave.playing span{animation-play-state:running}
.ar-wave span:nth-child(2){height:29px;animation-delay:.08s}
.ar-wave span:nth-child(3){height:45px;animation-delay:.16s}
.ar-wave span:nth-child(4){height:25px;animation-delay:.24s}
.ar-wave span:nth-child(5){height:54px;animation-delay:.32s}
.ar-wave span:nth-child(6){height:35px;animation-delay:.40s}
.ar-wave span:nth-child(7){height:47px;animation-delay:.48s}
.ar-wave span:nth-child(8){height:27px;animation-delay:.56s}
.ar-wave span:nth-child(9){height:39px;animation-delay:.64s}
@keyframes arWave{0%,100%{transform:scaleY(.45)}50%{transform:scaleY(1)}}

.ar-player-main{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:18px;
  margin-top:18px;
}
.ar-play{
  width:68px;
  height:68px;
  flex:0 0 68px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:50%;
  background:linear-gradient(135deg,var(--ar-orange),#ff7f22);
  color:#fff;
  cursor:pointer;
  box-shadow:0 12px 28px rgba(255,101,0,.32),inset 0 1px 0 rgba(255,255,255,.25);
  transition:transform .2s ease,filter .2s ease;
}
.ar-play:hover{transform:scale(1.055);filter:brightness(1.06)}
.ar-play-icon{
  width:0;
  height:0;
  margin-left:4px;
  border-top:9px solid transparent;
  border-bottom:9px solid transparent;
  border-left:15px solid #fff;
}
.ar-play.is-playing .ar-play-icon{
  width:14px;
  height:14px;
  margin-left:0;
  border:0;
  background:linear-gradient(90deg,#fff 0 36%,transparent 36% 64%,#fff 64% 100%);
}
.ar-player-copy{min-width:0}
.ar-player-title{
  font-size:25px;
  font-weight:800;
  line-height:1.08;
  letter-spacing:-.02em;
}
.ar-player-status{
  margin-top:5px;
  color:#c2c7cf;
  font-size:13px;
  font-weight:600;
}
.ar-player-footer{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.11);
}
.ar-now-live{
  display:flex;
  align-items:center;
  gap:8px;
  color:#e4e7eb;
  font-size:11px;
  font-weight:700;
  letter-spacing:.03em;
}
.ar-now-live span{width:18px;height:3px;border-radius:99px;background:var(--ar-orange)}
.ar-volume-wrap{
  width:min(190px,46%);
  display:flex;
  align-items:center;
  gap:12px;
}
.ar-volume-icon{
  width:18px;
  height:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 18px;
  color:#fff;
}
.ar-volume-icon svg{width:18px;height:18px;fill:currentColor;display:block}
.ar-volume{
  width:100%;
  accent-color:var(--ar-orange);
  cursor:pointer;
}

/* HOME */
.ar-home-banner{padding-top:26px}
.ar-section{padding:60px 0}
.ar-section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:22px}
.ar-section-kicker{color:var(--ar-orange);font-size:11px;font-weight:800;letter-spacing:.14em}
.ar-section-title{margin:4px 0 0;font-size:32px;line-height:1.15;letter-spacing:-.02em}
.ar-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.ar-card{
  border:1px solid var(--ar-border);
  border-radius:var(--ar-radius);
  overflow:hidden;
  background:#fff;
  transition:transform .2s ease,box-shadow .2s ease;
}
.ar-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(15,23,42,.08)}
.ar-card img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.ar-card-body{padding:18px}
.ar-card h3{margin:0 0 8px;font-size:18px;line-height:1.25}
.ar-card p{margin:0;color:var(--ar-muted);font-size:14px}

.ar-footer{
  margin-top:60px;
  padding:34px 0;
  background:#111;
  color:#d1d5db;
}
.ar-footer strong{color:#fff}

@media(max-width:900px){
  .ar-hero-grid{grid-template-columns:1fr;gap:34px}
  .ar-grid-3{grid-template-columns:1fr 1fr}
  .ar-header-inner{min-height:72px}
  .ar-brand img{max-height:70px}
}

@media(max-width:700px){
  .ar-nav{display:none}
  .ar-topbar-inner{justify-content:center;text-align:center;flex-wrap:wrap;padding:5px 0}
  .ar-topbar-inner span:last-child{display:none}
  .ar-header-inner{min-height:68px;justify-content:center}
  .ar-brand img{max-height:64px}
  .ar-hero{padding:42px 0}
  .ar-hero h1{font-size:clamp(38px,12vw,54px)}
  .ar-hero p{font-size:15px}
  .ar-player-shell{padding:20px}
  .ar-player-title{font-size:21px}
  .ar-play{width:60px;height:60px;flex-basis:60px}
  .ar-player-footer{align-items:flex-start;flex-direction:column}
  .ar-volume-wrap{width:100%}
  .ar-wave{height:48px;gap:3px}
  .ar-grid-3{grid-template-columns:1fr}
}

@media(max-width:480px){
  .ar-container{width:min(100% - 22px,1220px)}
  .ar-hero{padding:34px 0}
  .ar-hero-slogan{font-size:11px}
  .ar-wave{display:none}
  .ar-player-controls{margin-top:18px}
}

/* PROGRAMACIÓN + BANNER HOME - 0.4 */
.ar-programacion-section{
  background:linear-gradient(180deg,#fff 0%,#fbfbfc 100%);
}
.ar-section-note{
  color:var(--ar-muted);
  font-size:12px;
  font-weight:600;
}
.ar-section-note-brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--ar-muted);
  white-space:nowrap;
}
.ar-section-note-logo{
  display:block;
  width:178px;
  max-width:178px;
  height:auto;
  object-fit:contain;
  object-position:left center;
  flex-shrink:0;
}
.ar-program-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.ar-program-card{
  overflow:hidden;
  border:1px solid var(--ar-border);
  border-radius:20px;
  background:#fff;
  box-shadow:0 8px 24px rgba(15,23,42,.045);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.ar-program-card:hover{
  transform:translateY(-4px);
  border-color:rgba(255,101,0,.24);
  box-shadow:0 16px 34px rgba(15,23,42,.09);
}
.ar-program-media{
  position:relative;
  aspect-ratio:1/1;
  overflow:hidden;
  background:#171717;
}
.ar-program-media img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  display:block;
  transition:transform .3s ease;
}
.ar-program-card:hover .ar-program-media img{transform:scale(1.035)}
.ar-program-placeholder{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(circle at 70% 30%,rgba(255,101,0,.28),transparent 30%),
    linear-gradient(135deg,#141414,#2b170d);
  color:#fff;
}
.ar-program-placeholder span{
  width:64px;
  height:64px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.17);
  border-radius:50%;
  color:var(--ar-orange);
  font-size:21px;
  font-weight:800;
  letter-spacing:.08em;
}
.ar-program-time{
  position:absolute;
  right:12px;
  bottom:12px;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(17,17,17,.88);
  color:#fff;
  font-size:10px;
  font-weight:800;
  backdrop-filter:blur(6px);
}
.ar-program-body{padding:16px 17px 18px}
.ar-program-day{
  margin-bottom:5px;
  color:var(--ar-orange);
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.ar-program-card h3{
  margin:0;
  font-size:18px;
  line-height:1.2;
  letter-spacing:-.02em;
}
.ar-program-card p{
  margin:6px 0 0;
  color:var(--ar-muted);
  font-size:12px;
}
.ar-empty-state{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  gap:15px;
  min-height:118px;
  padding:22px;
  border:1px dashed #d8dce3;
  border-radius:20px;
  background:#fff;
}
.ar-empty-icon{
  width:48px;
  height:48px;
  flex:0 0 48px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#fff1e8;
  color:var(--ar-orange);
  font-size:22px;
  font-weight:800;
}
.ar-empty-state strong{display:block;font-size:15px}
.ar-empty-state p{margin:4px 0 0;color:var(--ar-muted);font-size:13px}

.ar-home-banner-middle{padding:0 0 4px}
.ar-banner{overflow:hidden;border-radius:18px}
.ar-banner img{width:100%;height:auto;display:block}
.ar-banner-placeholder{
  min-height:120px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:20px;
  border:1px dashed rgba(255,101,0,.42);
  border-radius:18px;
  background:linear-gradient(135deg,#fff8f3,#fff);
  color:#6b7280;
  text-align:center;
}
.ar-banner-placeholder strong{color:var(--ar-text);font-size:14px}
.ar-banner-placeholder span{font-size:11px}

.ar-news-section{padding-top:56px}
.ar-news-meta{
  margin-bottom:7px;
  color:var(--ar-orange);
  font-size:10px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.ar-news-image{display:block;overflow:hidden}
.ar-news-image img{transition:transform .3s ease}
.ar-news-card:hover .ar-news-image img{transform:scale(1.025)}
.ar-news-empty{background:#fbfbfc}

@media(max-width:1050px){
  .ar-program-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .ar-section-note{font-size:11px}
  .ar-section-note-brand{gap:8px;white-space:normal;justify-content:flex-start}
  .ar-section-note-logo{width:138px;max-width:138px;height:auto}
  .ar-program-grid{grid-template-columns:1fr}
  .ar-program-media{aspect-ratio:1/1}
  .ar-banner-placeholder{min-height:94px}
}

/* PROGRAMACIÓN - múltiples emisiones + descripción (0.7) */
.ar-program-body{padding:16px 17px 18px}
.ar-program-card h3{margin:0 0 10px;font-size:18px;line-height:1.2;letter-spacing:-.02em}
.ar-program-emissions{display:flex;flex-direction:column;gap:6px;margin-top:3px}
.ar-program-emission{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 9px;border-radius:10px;background:#fff7f1;font-size:10px;line-height:1.2}
.ar-program-emission span{color:var(--ar-orange);font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.ar-program-emission strong{color:#20242a;font-size:10px;white-space:nowrap}
.ar-program-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:10px 0 0!important;color:var(--ar-muted);font-size:12px!important;line-height:1.45;min-height:34px}
@media(max-width:700px){.ar-program-emission{font-size:10px}.ar-program-description{min-height:0}}

/* Noticias de Castex Online */
.ar-news-grid{align-items:stretch}
.ar-news-card{height:100%;display:flex;flex-direction:column}
.ar-news-card .ar-card-body{display:flex;flex-direction:column;flex:1}
.ar-news-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.ar-news-category{color:var(--ar-orange);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.ar-news-meta{color:var(--ar-muted);font-size:11px;font-weight:600;white-space:nowrap}
.ar-news-card h3 a{color:inherit;text-decoration:none}
.ar-news-card h3 a:hover{color:var(--ar-orange)}
.ar-news-more{display:inline-flex;align-items:center;gap:5px;margin-top:auto;padding-top:16px;color:var(--ar-orange);font-size:12px;font-weight:800;text-decoration:none}
.ar-news-more:hover{text-decoration:underline}
.ar-news-external .ar-news-image{background:#f3f4f6}
.ar-news-external .ar-news-image img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}

/* Fallback visual si una imagen externa de Castex Online no carga */
.ar-news-external .ar-news-image{position:relative;min-height:180px;background:linear-gradient(135deg,#171717,#2b1a11)}
.ar-news-external .ar-news-image.is-broken::after{content:'CASTEX ONLINE';position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;letter-spacing:.12em;font-size:14px;background:linear-gradient(135deg,#171717 0%,#2b1a11 65%,#4a2108 100%)}

/* CIERRE DE HOME + FOOTER - 0.9 */
.ar-home-banner-top{padding-top:28px}
.ar-banner img{display:block;width:100%;height:auto;border-radius:16px}
.ar-banner-placeholder{
  min-height:88px;
  border:1px dashed #d1d5db;
  border-radius:16px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  color:#6b7280;
  background:#fafafa;
  font-size:12px;
  text-align:center;
  padding:14px;
}
.ar-banner-placeholder strong{color:#374151}
.ar-footer-banner-wrap{padding:34px 0 0}

.ar-footer{
  margin-top:64px;
  padding:52px 0 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(255,101,0,.13), transparent 25%),
    linear-gradient(135deg,#111 0%,#171717 70%,#23130c 100%);
  color:#cfd3da;
}
.ar-footer-grid{
  display:grid;
  grid-template-columns:1.5fr .8fr .8fr;
  gap:56px;
  align-items:start;
  padding-bottom:42px;
}
.ar-footer-brand{max-width:440px}
.ar-footer-logo{display:inline-flex;align-items:center;text-decoration:none}
.ar-footer-logo-img{display:block;max-width:285px;max-height:92px;width:auto;height:auto;object-fit:contain}
.ar-footer-wordmark{display:flex;flex-direction:column;align-items:flex-start;line-height:.9}
.ar-footer-wordmark-radio{color:var(--ar-orange);font-size:12px;font-weight:800;letter-spacing:.42em;margin:0 0 6px 3px}
.ar-footer-wordmark-artemis{color:#fff;font-size:34px;font-weight:800;letter-spacing:-.045em}
.ar-footer-wordmark-tagline{margin-top:7px;color:#bfc4cc;font-size:9px;font-weight:700;letter-spacing:.28em;white-space:nowrap}
.ar-footer-brand p{margin:14px 0 18px;color:#9ca3af;font-size:13px;font-weight:700;letter-spacing:.08em}
.ar-footer-live{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 13px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  color:#fff;
  font-size:11px;
  font-weight:800;
  letter-spacing:.04em;
  transition:.2s ease;
}
.ar-footer-live:hover{border-color:rgba(255,101,0,.6);color:var(--ar-orange)}
.ar-footer-live-dot{width:7px;height:7px;border-radius:50%;background:var(--ar-orange);box-shadow:0 0 0 5px rgba(255,101,0,.1)}
.ar-footer-col h3{margin:5px 0 16px;color:#fff;font-size:13px;text-transform:uppercase;letter-spacing:.12em}
.ar-footer-menu{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.ar-footer-menu a,.ar-footer-contact{font-size:13px;color:#aeb4bd;transition:color .2s ease}
.ar-footer-menu a:hover,.ar-footer-contact:hover{color:#fff}
.ar-socials{display:flex;align-items:center;gap:9px;margin-top:18px;flex-wrap:wrap}
.ar-socials a{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  color:#fff;
  font-size:11px;
  font-weight:800;
  transition:.2s ease;
}
.ar-socials a:hover{background:var(--ar-orange);border-color:var(--ar-orange);transform:translateY(-2px)}
.ar-footer-bottom{
  min-height:58px;
  border-top:1px solid rgba(255,255,255,.09);
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:18px;
  color:#7f8792;
  font-size:11px;
}
.ar-footer-credit{text-align:center;white-space:nowrap}
.ar-footer-credit a{color:#b8bec7;font-weight:700;transition:color .2s ease}
.ar-footer-credit a:hover{color:var(--ar-orange)}
.ar-footer-slogan{text-align:right}

@media(max-width:900px){
  .ar-footer-grid{grid-template-columns:1fr 1fr;gap:34px}
  .ar-footer-brand{grid-column:1/-1}
}
@media(max-width:620px){
  .ar-footer{margin-top:46px;padding-top:38px}
  .ar-footer-grid{grid-template-columns:1fr;gap:28px;padding-bottom:32px}
  .ar-footer-brand{grid-column:auto}
  .ar-footer-wordmark-artemis{font-size:30px}
  .ar-footer-logo-img{max-width:235px;max-height:78px}
  .ar-footer-bottom{padding:16px 0;min-height:auto;grid-template-columns:1fr;align-items:start;gap:5px}
  .ar-footer-credit{text-align:left;white-space:normal}
  .ar-footer-slogan{text-align:left}
}


/* ==========================================================
   HEADER + HERO VISUAL POLISH - 1.0.0
   ========================================================== */
.ar-topbar{
  position:relative;
  z-index:32;
  background:#0b0b0c;
  border-bottom:1px solid rgba(255,255,255,.07);
}
.ar-topbar-inner{
  min-height:28px;
  color:#8f96a0;
  font-size:10px;
  letter-spacing:.035em;
}

.ar-header{
  position:sticky;
  top:0;
  z-index:30;
  background:rgba(9,9,10,.96);
  border-bottom:1px solid rgba(255,255,255,.08);
  box-shadow:0 8px 24px rgba(0,0,0,.12);
  backdrop-filter:blur(14px);
}
body.admin-bar .ar-header{top:32px}
.ar-header-inner{
  min-height:84px;
  gap:28px;
}
.ar-brand{flex:0 0 auto}
.ar-brand .custom-logo-link,.ar-dark-logo-link{display:flex;align-items:center}
.ar-brand img{
  max-width:270px;
  max-height:70px;
  width:auto;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 8px 20px rgba(0,0,0,.16));
}
.ar-brand a{color:#fff}
.ar-nav{margin-left:auto}
.ar-nav ul{gap:30px;font-size:13px;font-weight:700}
.ar-nav a{
  position:relative;
  display:block;
  padding:30px 0 27px;
  color:#eef0f3;
}
.ar-nav a::after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:19px;
  height:3px;
  border-radius:99px;
  background:var(--ar-orange);
  transition:right .2s ease;
}
.ar-nav a:hover{color:#fff}
.ar-nav a:hover::after,.ar-nav .current-menu-item>a::after{right:0}

.ar-header-listen{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:44px;
  padding:0 18px;
  border-radius:12px;
  color:#fff;
  background:linear-gradient(135deg,#ff6500,#ff7d16);
  box-shadow:0 10px 24px rgba(255,101,0,.22);
  font-size:12px;
  font-weight:800;
  transition:transform .2s ease,box-shadow .2s ease;
}
.ar-header-listen:hover{color:#fff;transform:translateY(-2px);box-shadow:0 14px 28px rgba(255,101,0,.3)}
.ar-header-listen-icon{
  width:17px;height:17px;border:2px solid #fff;border-radius:50%;position:relative;display:block
}
.ar-header-listen-icon::after{
  content:"";position:absolute;left:5px;top:3px;border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:6px solid #fff
}
.ar-menu-toggle{display:none}

.ar-hero{
  min-height:510px;
  display:flex;
  align-items:center;
  padding:64px 0 70px;
  background:
    linear-gradient(90deg,rgba(6,7,8,.98) 0%,rgba(9,10,11,.96) 42%,rgba(18,14,11,.89) 67%,rgba(31,14,5,.82) 100%),
    radial-gradient(circle at 77% 34%,rgba(255,101,0,.22),transparent 29%),
    #090a0b;
}
.ar-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:34px 34px;
  mask-image:linear-gradient(90deg,transparent 0%,#000 48%,#000 100%);
  pointer-events:none;
}
.ar-hero::after{display:none}
.ar-hero-visual{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.ar-onair-sign{
  position:absolute;
  right:5.4%;
  top:21%;
  padding:11px 17px;
  border:1px solid rgba(255,112,28,.4);
  border-radius:8px;
  color:#ff7a18;
  background:rgba(9,9,9,.58);
  box-shadow:0 0 24px rgba(255,101,0,.12),inset 0 0 18px rgba(255,101,0,.05);
  font-size:22px;
  font-weight:800;
  letter-spacing:.08em;
  transform:rotate(-2deg);
  opacity:.58;
}
.ar-hero-ring{position:absolute;border-radius:50%;border:1px solid rgba(255,101,0,.13)}
.ar-hero-ring-1{width:470px;height:470px;right:-115px;bottom:-280px;box-shadow:0 0 0 70px rgba(255,101,0,.023),0 0 0 140px rgba(255,101,0,.018)}
.ar-hero-ring-2{width:230px;height:230px;right:11%;top:12%;border-color:rgba(255,101,0,.08)}
.ar-hero-glow{position:absolute;width:420px;height:420px;right:8%;top:11%;border-radius:50%;background:radial-gradient(circle,rgba(255,92,0,.15),transparent 68%);filter:blur(2px)}

.ar-hero-grid{
  grid-template-columns:.95fr 1.05fr;
  gap:70px;
}
.ar-hero-copy{max-width:600px}
.ar-kicker{font-size:11px;letter-spacing:.19em}
.ar-hero h1{
  margin:15px 0 20px;
  font-size:clamp(46px,5.2vw,76px);
  line-height:.94;
  letter-spacing:-.055em;
}
.ar-hero p{max-width:540px;color:#b9bec7;font-size:16px;line-height:1.7}
.ar-hero-actions{display:flex;align-items:center;gap:14px;margin-top:26px;flex-wrap:wrap}
.ar-hero-primary,.ar-hero-secondary{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 17px;border-radius:12px;font-size:12px;font-weight:800
}
.ar-hero-primary{background:var(--ar-orange);color:#fff;box-shadow:0 12px 25px rgba(255,101,0,.22)}
.ar-hero-primary:hover{color:#fff;background:#ff7410}
.ar-hero-secondary{border:1px solid rgba(255,255,255,.14);color:#d5d9df;background:rgba(255,255,255,.035)}
.ar-hero-secondary:hover{color:#fff;border-color:rgba(255,101,0,.45)}
.ar-hero-slogan{margin-top:26px;color:var(--ar-orange);font-size:13px}

.ar-player-stage{position:relative;max-width:610px;width:100%;justify-self:end}
.ar-player-shell{
  min-height:285px;
  padding:28px 30px 24px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(145deg,rgba(14,15,16,.92),rgba(20,18,16,.88)),
    radial-gradient(circle at 85% 20%,rgba(255,101,0,.16),transparent 35%);
  box-shadow:0 26px 70px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter:blur(18px);
}
.ar-player-shell::before{
  width:260px;height:260px;right:-72px;bottom:-115px;border-color:rgba(255,101,0,.11);box-shadow:0 0 0 44px rgba(255,101,0,.018),0 0 0 88px rgba(255,101,0,.014)
}
.ar-player-head{min-height:58px}
.ar-wave{height:64px;gap:4px}
.ar-wave span{width:4px;box-shadow:0 0 14px rgba(255,101,0,.24)}
.ar-player-main{margin-top:10px;gap:19px}
.ar-play{width:70px;height:70px;flex-basis:70px}
.ar-player-overline{display:block;margin-bottom:3px;color:#8d949e;font-size:9px;font-weight:800;letter-spacing:.16em}
.ar-player-title{font-size:27px}
.ar-player-schedule{margin-top:2px;color:#9ba2ac;font-size:11px;font-weight:700;line-height:1.35}
.ar-player-status{margin-top:5px;font-size:13px}
.ar-player-progress{
  display:flex;align-items:center;justify-content:flex-end;gap:5px;height:42px;margin:13px 0 3px;padding-right:2px
}
.ar-player-progress span{width:4px;border-radius:99px;background:linear-gradient(180deg,#ff8b2f,#ff6500);opacity:.85}
.ar-player-progress span:nth-child(1){height:9px}.ar-player-progress span:nth-child(2){height:17px}.ar-player-progress span:nth-child(3){height:28px}.ar-player-progress span:nth-child(4){height:18px}.ar-player-progress span:nth-child(5){height:35px}.ar-player-progress span:nth-child(6){height:22px}.ar-player-progress span:nth-child(7){height:31px}.ar-player-progress span:nth-child(8){height:15px}.ar-player-progress span:nth-child(9){height:26px}.ar-player-progress span:nth-child(10){height:19px}.ar-player-progress span:nth-child(11){height:12px}
.ar-player-footer{margin-top:9px;padding-top:16px}
.ar-player-caption{margin-top:10px;color:#6f7680;text-align:right;font-size:9px;font-weight:800;letter-spacing:.16em}

@media(max-width:1060px){
  .ar-header-inner{gap:20px}
  .ar-nav ul{gap:19px}
  .ar-header-listen{padding:0 14px}
  .ar-hero-grid{grid-template-columns:1fr 1fr;gap:38px}
}

@media(max-width:900px){
  .ar-header{position:relative;top:auto!important}
  .ar-header-inner{min-height:74px}
  .ar-brand img{max-width:235px;max-height:62px}
  .ar-menu-toggle{
    display:flex;flex-direction:column;justify-content:center;gap:5px;width:42px;height:42px;margin-left:auto;padding:0 10px;border:1px solid rgba(255,255,255,.12);border-radius:10px;background:rgba(255,255,255,.04);cursor:pointer
  }
  .ar-menu-toggle span{width:100%;height:2px;border-radius:99px;background:#fff;transition:.2s ease}
  .ar-menu-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .ar-menu-toggle.is-open span:nth-child(2){opacity:0}
  .ar-menu-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .ar-nav{
    position:absolute;left:16px;right:16px;top:calc(100% + 8px);display:none;margin:0;padding:10px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:#111214;box-shadow:0 18px 40px rgba(0,0,0,.28)
  }
  .ar-nav.is-open{display:block}
  .ar-nav ul{display:grid;gap:0}
  .ar-nav a{padding:12px 11px;border-radius:8px}
  .ar-nav a::after{display:none}
  .ar-nav a:hover{background:rgba(255,255,255,.05)}
  .ar-header-listen{min-height:42px}
  .ar-hero{min-height:auto;padding:54px 0}
  .ar-hero-grid{grid-template-columns:1fr;gap:36px}
  .ar-player-stage{justify-self:stretch;max-width:680px}
  .ar-onair-sign{right:4%;top:52%;opacity:.28}
}

@media(max-width:700px){
  .ar-topbar{display:none}
  .ar-header-inner{justify-content:space-between;min-height:68px}
  .ar-brand img{max-width:205px;max-height:56px}
  .ar-header-listen{display:none}
  .ar-hero{padding:38px 0 44px}
  .ar-hero h1{font-size:clamp(40px,13vw,58px)}
  .ar-hero p{font-size:14px;line-height:1.65}
  .ar-player-shell{padding:20px;border-radius:18px;min-height:0}
  .ar-player-head{min-height:48px}
  .ar-wave{height:48px}
  .ar-player-progress{display:none}
  .ar-player-footer{margin-top:18px}
  .ar-player-caption{text-align:left}
  .ar-onair-sign{display:none}
}

@media(max-width:480px){
  .ar-brand img{max-width:185px;max-height:50px}
  .ar-menu-toggle{width:40px;height:40px}
  .ar-hero-actions{align-items:stretch;flex-direction:column}
  .ar-hero-primary,.ar-hero-secondary{width:100%}
  .ar-player-main{gap:13px}
  .ar-play{width:58px;height:58px;flex-basis:58px}
  .ar-player-title{font-size:22px}
  .ar-player-footer{gap:12px}
}


/* PULIDO HOME - 1.0.2
   Programación y noticias más compactas + banners horizontales */
.ar-programacion-section{
  padding:44px 0 42px;
}
.ar-programacion-section .ar-section-heading,
.ar-news-section .ar-section-heading{
  margin-bottom:16px;
}
.ar-programacion-section .ar-section-title,
.ar-news-section .ar-section-title{
  font-size:30px;
}
.ar-program-grid{
  gap:14px;
}
.ar-program-body{
  padding:13px 14px 15px;
}
.ar-program-card h3{
  margin-bottom:8px;
  font-size:17px;
}
.ar-program-emissions{
  gap:5px;
}
.ar-program-emission{
  padding:6px 8px;
}
.ar-program-description{
  margin-top:8px!important;
  min-height:32px;
}
.ar-home-banner-top{
  padding-top:20px;
}
.ar-home-banner-middle{
  padding:8px 0 0;
}
.ar-banner{
  width:100%;
  overflow:hidden;
  border-radius:16px;
  background:#f4f4f5;
}
.ar-banner img{
  width:100%;
  height:auto;
  max-height:300px;
  object-fit:cover;
  object-position:center;
}
.ar-banner-placeholder{
  min-height:96px;
  padding:12px 18px;
  border:1px dashed #d1d5db;
  border-radius:14px;
  background:#fafafa;
  color:#9ca3af;
}
.ar-banner-placeholder strong{
  color:#6b7280;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.ar-banner-placeholder span{display:none}
.ar-news-section{
  padding:42px 0 48px;
}
.ar-news-grid{
  gap:16px;
}
.ar-news-card .ar-card-body{
  padding:15px 16px 16px;
}
.ar-news-card h3{
  margin-bottom:6px;
  font-size:17px;
}
.ar-news-more{
  padding-top:12px;
}

@media(max-width:700px){
  .ar-programacion-section{padding:34px 0 32px}
  .ar-news-section{padding:32px 0 38px}
  .ar-programacion-section .ar-section-heading,
  .ar-news-section .ar-section-heading{margin-bottom:13px}
  .ar-programacion-section .ar-section-title,
  .ar-news-section .ar-section-title{font-size:27px}
  .ar-program-grid,.ar-news-grid{gap:12px}
  .ar-home-banner-top{padding-top:14px}
  .ar-home-banner-middle{padding-top:6px}
  .ar-banner-placeholder{min-height:74px}
  .ar-banner img{max-height:none}
}


/* Fuente de noticias Castex Online - 1.1.3
   Bloque independiente para no heredar reglas viejas del logo. */
.ar-news-source{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  flex:0 0 auto;
}
.ar-news-source-label{
  color:var(--ar-muted);
  font-size:12px;
  font-weight:600;
  line-height:1;
  white-space:nowrap;
}
.ar-news-source-logo-wrap{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  width:190px;
  height:28px;
  flex:0 0 190px;
  overflow:visible;
}
.ar-news-source-logo{
  display:block !important;
  width:190px !important;
  max-width:none !important;
  height:auto !important;
  max-height:none !important;
  margin:0 !important;
  padding:0 !important;
  object-fit:contain;
  object-position:left center;
  transform:none !important;
}

@media(max-width:700px){
  .ar-section-heading{
    align-items:flex-start;
    flex-direction:column;
  }
  .ar-news-source{
    justify-content:flex-start;
    gap:9px;
  }
  .ar-news-source-label{
    font-size:11px;
  }
  .ar-news-source-logo-wrap{
    width:145px;
    height:22px;
    flex-basis:145px;
  }
  .ar-news-source-logo{
    width:145px !important;
  }
}


/* =========================================================
   MOBILE APP-LIKE HOME - 1.1.4
   Desktop queda intacto. En móvil: reproductor protagonista,
   programación oculta, noticias en carrusel horizontal.
   ========================================================= */
@media(max-width:700px){

  /* Header compacto tipo app */
  .ar-header-inner{
    min-height:58px;
  }
  .ar-brand img,
  .ar-header-logo-img{
    max-width:170px;
    max-height:44px;
  }
  .ar-menu-toggle,
  .ar-nav,
  .ar-header-listen{
    display:none !important;
  }

  /* Hero: solo reproductor */
  .ar-hero{
    padding:18px 0 24px;
    min-height:auto;
  }
  .ar-hero-grid{
    display:block;
  }
  .ar-hero-copy{
    display:none !important;
  }
  .ar-hero-visual .ar-hero-ring,
  .ar-hero-visual .ar-hero-glow,
  .ar-onair-sign{
    display:none !important;
  }
  .ar-player-stage{
    width:100%;
    max-width:none;
    justify-self:stretch;
  }
  .ar-player-shell{
    width:100%;
    padding:16px 16px 15px;
    border-radius:22px;
    min-height:0;
    box-shadow:0 18px 42px rgba(0,0,0,.28);
  }
  .ar-player-shell::before{
    border-radius:22px;
  }
  .ar-player-head{
    min-height:34px;
  }
  .ar-player-brandline{
    gap:8px;
  }
  .ar-live{
    font-size:10px;
  }
  .ar-player-signal{
    font-size:9px;
  }
  .ar-wave{
    height:32px;
  }
  .ar-player-main{
    margin-top:10px;
    gap:14px;
    align-items:center;
  }
  .ar-play{
    width:64px;
    height:64px;
    flex:0 0 64px;
  }
  .ar-player-overline{
    font-size:9px;
  }
  .ar-player-title{
    font-size:22px;
    line-height:1.08;
  }
  .ar-player-schedule{
    margin-top:4px;
    font-size:10px;
  }
  .ar-player-status{
    margin-top:4px;
    font-size:11px;
  }
  .ar-player-progress{
    display:none !important;
  }
  .ar-player-footer{
    margin-top:14px;
    padding-top:13px;
    gap:10px;
  }
  .ar-now-live{
    font-size:9px;
  }
  .ar-volume-wrap{
    width:118px;
    min-width:118px;
  }
  .ar-player-caption{
    display:none !important;
  }

  /* Home móvil: sin programación ni banners */
  .ar-programacion-section,
  .ar-home-banner-top,
  .ar-home-banner-middle,
  .ar-footer-banner-wrap{
    display:none !important;
  }

  /* Noticias compactas y con swipe horizontal */
  .ar-news-section{
    padding:26px 0 30px;
    overflow:hidden;
  }
  .ar-news-section .ar-container{
    overflow:visible;
  }
  .ar-news-section .ar-section-heading{
    margin-bottom:12px;
    gap:8px;
  }
  .ar-news-section .ar-section-kicker{
    font-size:9px;
  }
  .ar-news-section .ar-section-title{
    font-size:24px;
  }
  .ar-news-source{
    gap:8px;
  }
  .ar-news-source-label{
    font-size:10px;
  }
  .ar-news-source-logo-wrap{
    width:125px;
    height:20px;
    flex-basis:125px;
  }
  .ar-news-source-logo{
    width:125px !important;
  }

  .ar-news-grid{
    display:grid !important;
    grid-auto-flow:column;
    grid-auto-columns:minmax(245px,82vw);
    grid-template-columns:none !important;
    gap:12px !important;
    overflow-x:auto;
    overflow-y:hidden;
    padding:2px 4px 10px 0;
    margin-right:-16px;
    scroll-snap-type:x mandatory;
    scroll-padding-left:0;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    overscroll-behavior-x:contain;
  }
  .ar-news-grid::-webkit-scrollbar{
    display:none;
  }
  .ar-news-card{
    scroll-snap-align:start;
    min-width:0;
    height:100%;
    border-radius:16px;
    overflow:hidden;
  }
  .ar-news-external .ar-news-image{
    min-height:0;
  }
  .ar-news-external .ar-news-image img{
    aspect-ratio:16/9;
  }
  .ar-news-card .ar-card-body{
    padding:12px 13px 13px;
  }
  .ar-news-topline{
    margin-bottom:7px;
  }
  .ar-news-category{
    font-size:9px;
  }
  .ar-news-meta{
    font-size:9px;
  }
  .ar-news-card h3{
    margin-bottom:0;
    font-size:15px;
    line-height:1.25;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .ar-news-card .ar-card-body > p{
    display:none !important;
  }
  .ar-news-more{
    padding-top:10px;
    font-size:10px;
  }

  /* Footer mínimo en móvil */
  .ar-footer{
    margin-top:0;
    padding-top:0;
  }
  .ar-footer-grid{
    display:none !important;
  }
  .ar-footer-bottom{
    min-height:auto;
    padding:16px 0 18px;
    gap:4px;
    font-size:10px;
    text-align:center;
  }
  .ar-footer-bottom > span{
    text-align:center;
  }
  .ar-footer-slogan{
    display:none;
  }
  .ar-footer-credit{
    text-align:center;
  }
}

@media(max-width:430px){
  .ar-container{
    width:min(100% - 24px, var(--ar-container));
  }
  .ar-brand img,
  .ar-header-logo-img{
    max-width:155px;
  }
  .ar-player-shell{
    padding:14px;
    border-radius:20px;
  }
  .ar-play{
    width:58px;
    height:58px;
    flex-basis:58px;
  }
  .ar-player-title{
    font-size:20px;
  }
  .ar-player-footer{
    align-items:center;
    flex-direction:row;
    justify-content:space-between;
  }
  .ar-volume-wrap{
    width:104px;
    min-width:104px;
  }
  .ar-news-grid{
    grid-auto-columns:minmax(230px,86vw);
    margin-right:-12px;
  }
}


/* Mobile centering refinements - 1.1.5 */
@media(max-width:700px){
  .ar-header-inner{
    justify-content:center;
    padding-inline:0;
  }
  .ar-brand{
    width:100%;
    display:flex;
    justify-content:center;
  }
  .ar-brand .custom-logo-link,
  .ar-dark-logo-link{
    justify-content:center;
  }
  .ar-player-stage{
    max-width:340px;
    margin:0 auto;
  }
  .ar-player-shell{
    margin:0 auto;
  }
  .ar-news-section .ar-section-heading{
    align-items:center;
    justify-content:center;
    flex-direction:column;
    text-align:center;
    gap:10px;
  }
  .ar-news-source{
    justify-content:center;
  }
  .ar-news-grid{
    grid-auto-columns:minmax(250px, calc(100vw - 52px));
    padding:2px 12px 10px;
    margin-left:-12px;
    margin-right:-12px;
    scroll-padding-left:12px;
  }
  .ar-news-card{
    margin:0;
  }
}
@media(max-width:430px){
  .ar-player-stage{
    max-width:100%;
  }
  .ar-news-grid{
    grid-auto-columns:minmax(236px, calc(100vw - 40px));
    padding:2px 8px 10px;
    margin-left:-8px;
    margin-right:-8px;
    scroll-padding-left:8px;
  }
}


/* Firma ClouDix - 1.1.8 */
.cloudix-credit{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:5px;
  color:#cccccc;
  font-family:Inter,Arial,sans-serif;
  font-size:12px;
  line-height:1.5;
  text-align:center;
  white-space:normal;
}
.cloudix-credit strong{
  color:#ffffff;
  font-weight:600;
}
.cloudix-credit .cloudix-separator{
  color:#777777;
  margin:0 4px;
}
.cloudix-credit .cloudix-brand{
  display:inline-flex;
  align-items:center;
  font-family:Inter,Arial,sans-serif;
  font-size:17px;
  font-weight:800;
  letter-spacing:-.6px;
  line-height:1;
  text-decoration:none !important;
  white-space:nowrap;
  transition:opacity .2s ease;
  transform:translateY(-1px);
}
.cloudix-credit .cloudix-clou{color:#ffffff}
.cloudix-credit .cloudix-dix{color:#29b6f6}
.cloudix-credit .cloudix-brand:hover{opacity:.8}

@media(max-width:767px){
  .cloudix-credit{
    justify-content:center;
    text-align:center;
  }
}
