/* Reggae y Punto | Programación DJ IA 1.3.1
   Estilos limitados al componente .ryp-pg: no modifican el tema ni el player. */
.ryp-pg {
  --ryp-green:#f0d34a;
  --ryp-gold:#f0d34a;
  --ryp-hero:#123726;
  --ryp-panel:#12231c;
  --ryp-text:#f2f5ef;
  --ryp-muted:#acbdb1;
  --ryp-heading-size:40px;
  --ryp-section-size:21px;
  --ryp-body-size:16px;
  --ryp-radius:16px;
  --ryp-max-width:1200px;
  --ryp-line:color-mix(in srgb,var(--ryp-text) 12%,transparent);
  --ryp-soft:color-mix(in srgb,var(--ryp-text) 5%,var(--ryp-panel));
  --ryp-hover:color-mix(in srgb,var(--ryp-green) 7%,var(--ryp-panel));
  color:var(--ryp-text);
  font-family:inherit;
  font-size:var(--ryp-body-size);
  width:100%;max-width:var(--ryp-max-width);
  margin:0 auto 3.5rem;
  line-height:1.6;
  isolation:isolate;
}
.ryp-pg.alignfull {max-width:100%}
.ryp-pg *, .ryp-pg *::before, .ryp-pg *::after {box-sizing:border-box}
.ryp-pg [hidden] {display:none!important}
.ryp-pg p,.ryp-pg h2,.ryp-pg h3 {margin-block-start:0;margin-block-end:0}
.ryp-pg__hero {
  display:flex;flex-direction:column;justify-content:center;
  position:relative;overflow:hidden;
  padding:clamp(26px,4.6vw,52px);
  min-height:175px;
  border-radius:var(--ryp-radius);
  border:1px solid rgba(255,255,255,.09);
  background:linear-gradient(115deg,var(--ryp-hero) 0%,color-mix(in srgb,var(--ryp-hero) 77%,#06110b) 100%);
  color:#fff;
  margin:0 0 18px;
}
.ryp-pg__hero::before {
  content:"";position:absolute;left:0;top:25px;bottom:25px;width:4px;
  background:var(--ryp-green);border-radius:0 4px 4px 0;
}
.ryp-pg__hero::after {
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,transparent 58%,rgba(0,0,0,.12));
}
.ryp-pg__hero-mark {
  position:absolute;right:-60px;top:50%;width:300px;height:300px;
  transform:translateY(-50%);
  border:1px solid rgba(255,255,255,.13);
  border-radius:50%;pointer-events:none;
  box-shadow:0 0 0 18px rgba(255,255,255,.025),0 0 0 52px rgba(255,255,255,.025),0 0 0 89px rgba(255,255,255,.02);
}
.ryp-pg__hero-mark span {display:block;width:48px;height:48px;border-radius:50%;border:12px solid rgba(255,255,255,.075);position:absolute;top:calc(50% - 24px);left:calc(50% - 24px)}
.ryp-pg__eyebrow,.ryp-pg__kicker {
  color:var(--ryp-green);text-transform:uppercase;font-weight:800;letter-spacing:.16em;
  font-size:11px;line-height:1.4;margin:0 0 9px!important;
}
.ryp-pg__hero > :not(.ryp-pg__hero-mark){position:relative;z-index:1}
.ryp-pg__hero h2 {
  color:#fff!important;
  font-size:clamp(28px,4vw,var(--ryp-heading-size))!important;
  font-weight:850!important;letter-spacing:-.035em;line-height:1.08!important;
  margin:0 0 15px!important;
}
.ryp-pg__intro{max-width:640px;color:#d9e9dc!important;font-size:var(--ryp-body-size)!important;line-height:1.65!important}
.ryp-pg__intro strong{color:white;font-weight:800}
.ryp-pg__chip {
  display:inline-flex;align-items:center;white-space:nowrap;
  vertical-align:middle;border-radius:100px;
  background:rgba(240,211,74,.14);border:1px solid rgba(240,211,74,.33);
  color:#ffe278;font-size:11px;letter-spacing:.05em;font-weight:800;
  margin-inline-start:7px;padding:3px 10px;
}
.ryp-pg__panel {
  min-width:0;
  background:var(--ryp-panel)!important;
  color:var(--ryp-text)!important;
  border:1px solid var(--ryp-line)!important;
  border-radius:var(--ryp-radius);
  padding:clamp(21px,2.7vw,34px);
  box-shadow:0 8px 26px rgba(0,0,0,.13);
}
.ryp-pg__panel h3,.ryp-pg__heading h3 {
  font-size:var(--ryp-section-size)!important;
  color:var(--ryp-text)!important;
  font-weight:800!important;letter-spacing:-.02em;
  line-height:1.22!important;margin:0!important;
}
.ryp-pg__heading {
  display:flex;gap:12px;align-items:center;
  margin-bottom:21px;min-width:0;
}
.ryp-pg__heading--stack{justify-content:space-between;align-items:flex-end}
.ryp-pg__live-dot {
  flex:none;width:9px;height:9px;
  border-radius:50%;background:#72e59a;
  box-shadow:0 0 0 4px rgba(114,229,154,.13),0 0 18px rgba(114,229,154,.3);
}
.ryp-pg__live-source {
  font-size:10px;font-weight:800;letter-spacing:.11em;
  color:var(--ryp-muted);margin-inline-start:auto;white-space:nowrap;
}
.ryp-pg__now-panel {
  position:relative;
  background:linear-gradient(122deg,color-mix(in srgb,var(--ryp-panel) 93%,var(--ryp-green)),var(--ryp-panel))!important;
  overflow:hidden;
}
.ryp-pg__now-panel::before {
  content:"";position:absolute;top:0;left:26px;right:26px;height:3px;
  background:linear-gradient(90deg,#ec3843,var(--ryp-green) 70%,transparent 100%);
  border-radius:0 0 3px 3px;
}
.ryp-pg__current {display:flex;align-items:center;gap:clamp(17px,3vw,28px);min-width:0}
.ryp-pg__current-info{min-width:0;flex:1}
.ryp-pg__cover {
  width:110px;height:110px;flex:0 0 110px;
  display:grid;place-items:center;overflow:hidden;
  background:radial-gradient(circle at 50% 50%,#2d4737 0%,#0c1512 63%);
  border:1px solid var(--ryp-line);
  border-radius:calc(var(--ryp-radius) - 4px);
}
.ryp-pg__cover img{width:100%;height:100%;object-fit:cover}
.ryp-pg__vinyl {
  display:block;width:73px;height:73px;border-radius:50%;
  background:repeating-radial-gradient(circle at 50% 50%,#121d18 0px,#121d18 3px,#2e4138 4px,#121d18 6px);
  border:2px solid rgba(255,255,255,.13);
  position:relative;
}
.ryp-pg__vinyl::before {
  content:"";position:absolute;inset:25px;border-radius:50%;
  background:var(--ryp-green);border:6px solid #1d2a21;
}
.ryp-pg__vinyl::after {content:"";position:absolute;inset:34px;border-radius:50%;background:#141d16}
.ryp-pg__current-title {
  color:var(--ryp-text)!important;
  font-size:clamp(22px,2.4vw,30px)!important;font-weight:850;
  line-height:1.23!important;letter-spacing:-.03em;
  overflow-wrap:anywhere;margin:0 0 9px!important;
}
.ryp-pg__current-artist {color:var(--ryp-muted)!important;font-size:var(--ryp-body-size)!important;margin:0!important}
.ryp-pg__lower{
  display:grid;grid-template-columns:minmax(0,1.85fr) minmax(245px,.95fr);
  gap:18px;margin-top:18px;align-items:start;
}
.ryp-pg--side-left.ryp-pg--columns .ryp-pg__side{order:-1}
.ryp-pg--stacked .ryp-pg__lower,.ryp-pg--no-queue .ryp-pg__lower,.ryp-pg--no-side .ryp-pg__lower{grid-template-columns:minmax(0,1fr)}
.ryp-pg__side{display:grid;gap:18px;min-width:0}
.ryp-pg__count{
  white-space:nowrap;flex:none;
  padding:6px 12px;border:1px solid color-mix(in srgb,var(--ryp-green) 28%,transparent);
  color:var(--ryp-green);background:color-mix(in srgb,var(--ryp-green) 9%,transparent);
  border-radius:50px;font-size:12px;font-weight:800;
}
.ryp-pg__status{
  color:var(--ryp-green)!important;font-size:13px!important;font-weight:700;
  margin:0 0 5px!important;
}
.ryp-pg__note,.ryp-pg__muted {
  color:var(--ryp-muted)!important;
  font-size:13px!important;line-height:1.65!important;
  margin:0 0 14px!important;
}
.ryp-pg__songs{
  list-style:none!important;counter-reset:none;
  margin:15px 0 0!important;padding:0!important;
}
.ryp-pg__song{
  list-style:none!important;
  display:flex;align-items:center;gap:14px;
  margin:0!important;padding:15px 2px;
  border-bottom:1px solid var(--ryp-line);
  min-width:0;transition:background-color .15s ease;
}
.ryp-pg__song:last-child{border-bottom:0}
.ryp-pg__song:hover{background:color-mix(in srgb,var(--ryp-green) 3%,transparent)}
.ryp-pg__song--first{
  background:var(--ryp-hover);
  border:1px solid color-mix(in srgb,var(--ryp-green) 19%,transparent);
  border-radius:calc(var(--ryp-radius) - 5px);
  margin:5px 0 4px!important;padding:15px 13px;
}
.ryp-pg__song-num{
  width:33px;height:33px;flex:0 0 33px;
  display:grid;place-items:center;
  border-radius:10px;background:var(--ryp-soft);
  color:var(--ryp-green)!important;font-size:13px;font-weight:850;
}
.ryp-pg__song--first .ryp-pg__song-num{background:var(--ryp-green);color:#112018!important}
.ryp-pg__song-body{flex:1;min-width:0;overflow-wrap:anywhere}
.ryp-pg__song-body strong{
  color:var(--ryp-text)!important;font-weight:750;
  font-size:var(--ryp-body-size)!important;
  line-height:1.43!important;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden;
}
.ryp-pg__song-body small{display:block;margin-top:4px;color:var(--ryp-muted)!important;font-size:13px!important;line-height:1.4}
.ryp-pg__song-tag{
  display:block;color:var(--ryp-green);font-size:10px;letter-spacing:.12em;
  font-weight:850;margin-bottom:5px;line-height:1.4;
}
.ryp-pg__genre{
  display:inline-block;max-width:120px;flex:none;
  overflow-wrap:anywhere;text-align:center;
  padding:4px 8px;border:1px solid var(--ryp-line);
  color:var(--ryp-muted);border-radius:8px;font-size:11px;line-height:1.3;
}
.ryp-pg__time{
  flex:none;white-space:nowrap;font-size:13px;font-weight:800;
  color:var(--ryp-green);font-variant-numeric:tabular-nums;
}
.ryp-pg__more{
  width:100%;display:flex;align-items:center;justify-content:center;gap:10px;
  cursor:pointer;appearance:none;margin:16px 0 0;padding:13px 16px;
  border-radius:calc(var(--ryp-radius) - 5px);
  background:var(--ryp-soft);border:1px solid var(--ryp-line);
  color:var(--ryp-text);font:inherit;font-weight:800;font-size:14px;line-height:1.4;
}
.ryp-pg__more:hover,.ryp-pg__more:focus-visible{border-color:var(--ryp-green);color:var(--ryp-green)}
.ryp-pg__more:focus-visible{outline:2px solid var(--ryp-green);outline-offset:2px}
.ryp-pg__more span{font-size:20px;line-height:1;transition:transform .2s ease}
.ryp-pg__more[aria-expanded="true"] span{transform:rotate(180deg)}
.ryp-pg__genres{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.ryp-pg__genres span{
  display:inline-block;padding:6px 10px;border-radius:8px;
  background:var(--ryp-soft);border:1px solid var(--ryp-line);
  color:var(--ryp-text);font-size:12px;font-weight:750;
}
.ryp-pg__info-text{font-size:var(--ryp-body-size)!important;line-height:1.7!important;color:var(--ryp-text)!important;margin:12px 0 17px!important}
.ryp-pg__side .ryp-pg__panel:last-child{position:relative;overflow:hidden}
.ryp-pg__side .ryp-pg__panel:last-child::after{
  content:"";position:absolute;right:-30px;bottom:-35px;
  width:115px;height:115px;border-radius:50%;
  border:20px solid color-mix(in srgb,var(--ryp-green) 8%,transparent);
  pointer-events:none;
}
.ryp-pg__updated{display:block;color:var(--ryp-muted);font-size:12px;margin-top:18px}
.ryp-pg__empty{font-size:14px;color:var(--ryp-muted)!important;padding:18px 0!important}
.ryp-pg--theme-light .ryp-pg__hero{border-color:rgba(0,0,0,.03)}
.ryp-pg--theme-light .ryp-pg__panel{box-shadow:0 6px 22px rgba(9,29,20,.065)}
.ryp-pg--theme-light .ryp-pg__song--first .ryp-pg__song-num{color:white!important}
@media (max-width:900px){
  .ryp-pg__lower{grid-template-columns:minmax(0,1.5fr) minmax(220px,1fr)}
  .ryp-pg__song{gap:10px}
  .ryp-pg__genre{display:none}
}
@media (max-width:720px){
  .ryp-pg{margin-bottom:2.25rem}
  .ryp-pg__lower{grid-template-columns:1fr}
  .ryp-pg__heading--stack{align-items:flex-start}
  .ryp-pg__current{gap:16px}
  .ryp-pg__cover{width:83px;height:83px;flex-basis:83px}
  .ryp-pg__vinyl{width:59px;height:59px}
  .ryp-pg__vinyl::before{inset:21px;border-width:4px}
  .ryp-pg__vinyl::after{inset:28px}
  .ryp-pg__hero{padding:28px 24px;min-height:auto}
  .ryp-pg__hero-mark{width:210px;height:210px;right:-80px}
  .ryp-pg__hero h2{font-size:clamp(25px,7vw,var(--ryp-heading-size))!important}
  .ryp-pg__panel{padding:20px}
  .ryp-pg__current-title{font-size:clamp(20px,5vw,26px)!important}
  .ryp-pg__live-source{font-size:9px;letter-spacing:.06em}
}
@media (max-width:420px){
  .ryp-pg__heading{gap:7px;flex-wrap:wrap}
  .ryp-pg__live-source{margin-inline-start:auto}
  .ryp-pg__song{gap:9px}
  .ryp-pg__song-num{width:29px;height:29px;flex-basis:29px}
  .ryp-pg__time{font-size:11px}
  .ryp-pg__count{font-size:11px;padding:5px 9px}
  .ryp-pg__current{gap:12px}
  .ryp-pg__cover{width:72px;height:72px;flex-basis:72px}
  .ryp-pg__current-title{font-size:20px!important}
  .ryp-pg__song-body strong{font-size:max(14px,calc(var(--ryp-body-size) - 1px))!important}
}
@media (prefers-reduced-motion:reduce){.ryp-pg__song,.ryp-pg__more span{transition:none}}

.ryp-pg__now-panel[data-online="0"] .ryp-pg__live-dot {background:#8f9c91;box-shadow:0 0 0 4px rgba(143,156,145,.12)}

/* 1.3.1: el contenedor de portada solo existe si hay carátula real. */
.ryp-pg .ryp-pg__cover[hidden] {display:none!important}
.ryp-pg .ryp-pg__cover img {display:block;max-width:100%;max-height:100%;object-fit:cover}

/* 1.3.2 - Ficha individual y respaldo de estilo encapsulado */
.ryp-pg-single {background:#06100c;color:#f7faf8;}
.ryp-pg-single *,.ryp-pg-single *::before,.ryp-pg-single *::after{box-sizing:border-box}
.ryp-pg-single__hero{background:linear-gradient(110deg,#071710 0%,#0b1912 68%,#15110e 100%);border-bottom:1px solid rgba(255,255,255,.1);position:relative;overflow:hidden}
.ryp-pg-single__hero::after{content:"";position:absolute;width:380px;height:380px;border-radius:50%;border:1px solid rgba(255,210,28,.08);right:-100px;top:-170px;box-shadow:0 0 0 45px rgba(255,255,255,.01),0 0 0 100px rgba(255,255,255,.012);pointer-events:none}
.ryp-pg-single__hero-inner{width:min(calc(100% - 40px),1180px);margin:0 auto;padding:clamp(42px,6vw,74px) 0;position:relative;z-index:1}
.ryp-pg-single__eyebrow{display:block;color:#ffda26;letter-spacing:.17em;font-size:12px;font-weight:850;margin-bottom:16px}
.ryp-pg-single__hero h1{max-width:970px;color:#fff;font-size:clamp(40px,5.5vw,73px)!important;font-weight:900;line-height:1.06!important;letter-spacing:-.045em;margin:0 0 18px!important;text-transform:none;overflow-wrap:break-word}
.ryp-pg-single__subtitle{max-width:650px;color:#bdcec2;font-size:clamp(16px,1.9vw,19px);line-height:1.65;margin:0 0 24px!important}
.ryp-pg-single__meta{display:flex;gap:14px;align-items:center;flex-wrap:wrap;color:#c5d3c9;margin-bottom:24px;font-weight:650;font-size:13px}
.ryp-pg-single__meta span{display:inline-block;padding:7px 13px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(255,255,255,.025)}
.ryp-pg-single__listen{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#ef2734;color:#fff!important;border:0;border-radius:25px;padding:12px 22px;font-size:13px;font-weight:800;cursor:pointer;min-height:46px}
.ryp-pg-single__listen:hover{background:#dc1d29}
.ryp-pg-single__listen:focus-visible{outline:2px solid #ffda26;outline-offset:3px}
.ryp-pg-single__main{padding:clamp(26px,4.5vw,50px) 0 70px;background:#06100c}
.ryp-pg-single__content{width:min(calc(100% - 40px),1180px);max-width:1180px;margin:0 auto;min-width:0}
.ryp-pg-single__content>.ryp-pg{max-width:100%;margin:0 auto}
.ryp-pg-single__content>.wp-block-group,.ryp-pg-single__content>.wp-block-shortcode{max-width:100%}
.ryp-pg-single__content>.wp-block-shortcode .ryp-pg{max-width:100%}
.ryp-pg-single .ryp-pg__now-panel{margin-bottom:0}
.ryp-pg-single .ryp-pg__cover{display:none!important} /* La ficha NO muestra portada generica */
@media(max-width:720px){
  .ryp-pg-single__hero-inner{padding:36px 0 42px}
  .ryp-pg-single__hero h1{font-size:clamp(34px,9vw,50px)!important}
  .ryp-pg-single__main{padding:24px 0 50px}
  .ryp-pg-single__content,.ryp-pg-single__hero-inner{width:min(calc(100% - 28px),1180px)}
}
