.arta-radio-page{
  --rs-yellow:#ffc21c;
  --rs-yellow-soft:#fff6cf;
  --rs-sky:#1f9bd7;
  --rs-blue:#0068a8;
  --rs-deep:#073a5e;
  --rs-coral:#ff6f61;
  --rs-ink:#102033;
  --rs-muted:#5f7084;
  --rs-line:#dbe7ef;
  --rs-paper:#fffdf7;
  --rs-white:#fff;
  color:var(--rs-ink);
  background:linear-gradient(180deg,#fffdf7 0,#ffffff 32%);
  font-family:'Nunito Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  width:100%;
  max-width:none!important;
  margin:0!important;
}
.arta-radio-page *{box-sizing:border-box}
.arta-radio-page a{color:inherit}
.arta-radio-wrap{width:min(1180px,calc(100% - 44px));margin:0 auto}
.arta-radio-groupbar{background:var(--rs-deep);color:#fff;font-size:12px;font-weight:800;letter-spacing:.04em}
.arta-radio-groupbar .arta-radio-wrap{display:flex;gap:22px;align-items:center;min-height:36px;overflow:auto;white-space:nowrap}
.arta-radio-groupbar a,.arta-radio-groupbar span,.arta-radio-groupbar strong{text-decoration:none;opacity:.86}
.arta-radio-groupbar strong{opacity:1;color:var(--rs-yellow)}
.arta-radio-header{background:#fff;border-bottom:1px solid var(--rs-line);position:sticky;top:0;z-index:20}
.admin-bar .arta-radio-header{top:32px}
.arta-radio-header>.arta-radio-wrap{display:flex;justify-content:space-between;align-items:center;gap:28px;min-height:104px}
.arta-radio-brand{display:flex;align-items:center;gap:16px;text-decoration:none;min-width:280px}
.arta-radio-brand img{width:110px;height:auto;display:block}
.arta-radio-brand div{display:flex;flex-direction:column;line-height:1}
.arta-radio-brand strong,.arta-radio-page h1,.arta-radio-page h2,.arta-radio-page h3{font-family:'Fredoka',system-ui,sans-serif}
.arta-radio-brand strong{font-size:28px;color:var(--rs-deep);font-weight:700}
.arta-radio-brand span{font-size:13px;color:var(--rs-muted);font-weight:700;margin-top:7px}
.arta-radio-header nav{display:flex;gap:18px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.arta-radio-header nav a{text-decoration:none;font-weight:800;color:var(--rs-deep);font-size:13px}
.arta-radio-header nav a:hover{color:var(--rs-sky)}
.arta-radio-main{padding:36px 0 72px}
.arta-radio-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);background:linear-gradient(135deg,var(--rs-yellow-soft),#fff 58%);border-radius:28px;overflow:hidden;box-shadow:0 12px 40px rgba(7,58,94,.08);min-height:440px}
.arta-radio-hero-art{position:relative;overflow:hidden;background:linear-gradient(135deg,var(--rs-sky),var(--rs-deep));min-height:440px}
.arta-radio-hero-art img{width:100%;height:100%;min-height:440px;object-fit:cover;display:block}
.arta-radio-hero-art.is-fallback{display:grid;place-items:center}
.arta-radio-sunburst{font-size:160px;filter:drop-shadow(0 12px 30px rgba(0,0,0,.16))}
.arta-radio-hero-copy{padding:56px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.arta-radio-eyebrow,.arta-radio-section-kicker{text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:900;color:var(--rs-blue)}
.arta-radio-hero-copy h1{font-size:clamp(46px,6vw,76px);line-height:.95;letter-spacing:-.045em;margin:12px 0 18px;color:var(--rs-ink)}
.arta-radio-lead{font-size:19px;line-height:1.55;color:var(--rs-muted);margin:0 0 20px}
.arta-radio-chips{display:flex;gap:10px;flex-wrap:wrap;margin:4px 0 22px}
.arta-radio-chips span{padding:9px 12px;border-radius:999px;background:#fff;border:1px solid var(--rs-line);font-weight:800;font-size:13px}
.arta-radio-actions{display:flex;gap:10px;flex-wrap:wrap}
.arta-radio-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:999px;background:#fff;border:2px solid var(--rs-deep);color:var(--rs-deep);font-weight:900;text-decoration:none}
.arta-radio-btn.is-primary{background:var(--rs-deep);color:#fff}
.arta-radio-btn:hover{transform:translateY(-1px)}
.arta-radio-now-next{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}
.arta-radio-now-next article{padding:20px 24px;border:1px solid var(--rs-line);border-radius:20px;background:#fff;display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center}
.arta-radio-now-next article.is-current{border-color:var(--rs-yellow);box-shadow:inset 5px 0 0 var(--rs-yellow)}
.arta-radio-now-next span{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--rs-blue);font-weight:900}
.arta-radio-now-next strong{font-family:'Fredoka',system-ui,sans-serif;font-size:20px}
.arta-radio-now-next small{color:var(--rs-muted);font-weight:700}
.arta-radio-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}
.arta-radio-section-head h2{font-size:38px;line-height:1;margin:5px 0 0}
.arta-radio-section-head p{margin:7px 0 0;color:var(--rs-muted)}
.arta-radio-listen,.arta-radio-chart,.arta-radio-schedule,.arta-radio-shows{margin-top:58px}
.arta-radio-listen{display:grid;grid-template-columns:minmax(240px,.65fr) minmax(0,1.35fr);gap:30px;align-items:center;background:var(--rs-deep);color:#fff;padding:30px;border-radius:28px}
.arta-radio-listen .arta-radio-section-kicker{color:var(--rs-yellow)}
.arta-radio-listen h2{font-size:38px;margin:6px 0 10px}
.arta-radio-listen p{color:rgba(255,255,255,.74)}
.arta-radio-youtube{position:relative;padding-top:56.25%;border-radius:20px;overflow:hidden;background:#000}
.arta-radio-youtube iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.arta-radio-chart{background:linear-gradient(135deg,#e9f7ff,#fff7cf);padding:30px;border-radius:30px}
.arta-radio-chart-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.arta-radio-chart-list article{display:grid;grid-template-columns:54px 1fr auto auto;gap:14px;align-items:center;background:#fff;border-radius:18px;padding:15px 16px;box-shadow:0 5px 18px rgba(7,58,94,.06)}
.arta-radio-rank{width:46px;height:46px;border-radius:50%;background:var(--rs-yellow);display:grid;place-items:center;font-family:'Fredoka',system-ui,sans-serif;font-size:22px;color:var(--rs-deep)}
.arta-radio-chart-list h3{font-size:19px;margin:0}
.arta-radio-chart-list p{margin:2px 0 0;color:var(--rs-muted)}
.arta-radio-move{font-weight:900;font-size:12px}.arta-radio-move.is-up{color:#07864b}.arta-radio-move.is-down{color:#c6403b}.arta-radio-move.is-stable{color:var(--rs-muted)}
.arta-radio-track-link{font-size:12px;font-weight:900;color:var(--rs-blue);text-decoration:none;white-space:nowrap}
.arta-radio-schedule-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.arta-radio-schedule-grid article{background:#fff;border:1px solid var(--rs-line);border-radius:18px;padding:18px}
.arta-radio-schedule-grid h3{margin:0 0 14px;font-size:22px}.arta-radio-schedule-grid h3 small{display:block;font-family:'Nunito Sans',sans-serif;font-size:11px;color:var(--rs-muted);margin-top:3px;text-transform:uppercase;letter-spacing:.08em}
.arta-radio-schedule-grid ol{list-style:none;margin:0;padding:0}.arta-radio-schedule-grid li{display:grid;grid-template-columns:54px 1fr;gap:10px;padding:10px 0;border-bottom:1px solid var(--rs-line)}.arta-radio-schedule-grid li:last-child{border:0}.arta-radio-schedule-grid time{color:var(--rs-blue);font-weight:900}.arta-radio-schedule-grid strong{display:block}.arta-radio-schedule-grid strong a{text-decoration:none}.arta-radio-schedule-grid small{color:var(--rs-muted)}
.arta-radio-empty{color:var(--rs-muted);font-size:13px}
.arta-radio-show-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.arta-radio-show-grid article{background:#fff;border:1px solid var(--rs-line);border-radius:22px;padding:16px;overflow:hidden}.arta-radio-show-image{display:block;border-radius:16px;overflow:hidden;margin-bottom:16px;aspect-ratio:16/10;background:var(--rs-yellow-soft)}.arta-radio-show-image img{width:100%;height:100%;object-fit:cover;display:block}.arta-radio-show-grid article>span{font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:var(--rs-blue)}.arta-radio-show-grid h3{font-size:26px;margin:6px 0}.arta-radio-show-grid h3 a{text-decoration:none}.arta-radio-show-grid p{color:var(--rs-muted);line-height:1.5}
.arta-radio-footer{margin-top:64px;background:var(--rs-deep);color:#fff;padding:30px 0}.arta-radio-footer .arta-radio-wrap{display:flex;justify-content:space-between;gap:20px;align-items:center}.arta-radio-footer strong{font-family:'Fredoka',system-ui,sans-serif;font-size:22px}.arta-radio-footer span{opacity:.72}.arta-radio-footer a{color:var(--rs-yellow);font-weight:900;text-decoration:none}
.arta-radio-show-page{padding:36px 0 64px}.arta-radio-show-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;align-items:center}.arta-radio-show-hero>img{width:100%;max-height:520px;object-fit:cover;border-radius:26px}.arta-radio-show-hero h1{font-size:clamp(48px,6vw,72px);line-height:.96;margin:10px 0 16px}.arta-radio-show-content{margin-top:36px;font-size:17px;line-height:1.75}.arta-radio-show-content h2,.arta-radio-show-content h3{font-family:'Fredoka',system-ui,sans-serif}
/* Accueil ARTA : radio distincte de la météo */
.arta-page .arta-radio-home-banner{margin-top:38px;margin-bottom:20px;background:linear-gradient(100deg,#fff3b0,#dff5ff);border-radius:20px;padding:22px 26px;display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center}.arta-page .arta-radio-home-banner img{width:94px;height:auto}.arta-page .arta-radio-home-banner h3{margin:2px 0 4px;font-size:25px}.arta-page .arta-radio-home-banner p{margin:0;color:var(--arta-muted)}.arta-page .arta-radio-home-banner a{font-weight:800;color:var(--arta-blue);text-decoration:none}
.arta-page .arta-weather-home-section{margin-top:18px;margin-bottom:56px!important}.arta-page .arta-weather-home-section .arta-weather-table-widget{margin-bottom:0}
@media(max-width:900px){.arta-radio-header>.arta-radio-wrap{align-items:flex-start;flex-direction:column;padding:16px 0}.arta-radio-header nav{justify-content:flex-start}.arta-radio-hero,.arta-radio-listen,.arta-radio-show-hero{grid-template-columns:1fr}.arta-radio-hero-copy{padding:34px}.arta-radio-now-next{grid-template-columns:1fr}.arta-radio-chart-list{grid-template-columns:1fr}.arta-radio-schedule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.arta-radio-show-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.arta-radio-wrap{width:min(100% - 28px,1180px)}.arta-radio-brand{min-width:0}.arta-radio-brand img{width:86px}.arta-radio-brand strong{font-size:24px}.arta-radio-header{position:relative;top:auto!important}.arta-radio-hero{border-radius:20px}.arta-radio-hero-art,.arta-radio-hero-art img{min-height:280px}.arta-radio-hero-copy h1{font-size:46px}.arta-radio-hero-copy{padding:28px}.arta-radio-now-next article{grid-template-columns:1fr}.arta-radio-listen{padding:22px}.arta-radio-chart{padding:20px}.arta-radio-chart-list article{grid-template-columns:46px 1fr auto}.arta-radio-track-link{grid-column:2/4}.arta-radio-schedule-grid,.arta-radio-show-grid{grid-template-columns:1fr}.arta-radio-footer .arta-radio-wrap{align-items:flex-start;flex-direction:column}.arta-page .arta-radio-home-banner{grid-template-columns:1fr}.arta-page .arta-radio-home-banner img{width:80px}}

/* 0.6.1 — fiches émissions et médiathèque */
.arta-radio-show-page{padding:0!important;max-width:1280px!important;width:min(1280px,100%)!important;margin-left:auto!important;margin-right:auto!important}
.arta-radio-show-main{padding:36px 0 64px}
.arta-radio-show-hero.is-no-image{grid-template-columns:1fr;max-width:900px}
.arta-radio-show-hero.is-no-image>div{padding:26px 0}
.arta-radio-chart-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.arta-radio-chart-list article small{display:block;margin-top:3px;color:var(--rs-blue);font-size:11px;font-weight:800}
.arta-radio-chart-history{margin-top:58px}
.arta-radio-history-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.arta-radio-history-grid article{background:#fff;border:1px solid var(--rs-line);border-radius:18px;padding:18px}
.arta-radio-history-grid article>span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--rs-blue);font-weight:900}
.arta-radio-history-grid ol{margin:12px 0 0;padding:0;list-style:none;counter-reset:history-rank}
.arta-radio-history-grid li{counter-increment:history-rank;display:grid;grid-template-columns:26px 1fr;column-gap:8px;padding:8px 0;border-bottom:1px solid var(--rs-line)}
.arta-radio-history-grid li:last-child{border-bottom:0}
.arta-radio-history-grid li::before{content:counter(history-rank);grid-row:1/3;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--rs-yellow);color:var(--rs-deep);font-weight:900;font-size:11px}
.arta-radio-history-grid strong{font-size:13px}
.arta-radio-history-grid small{color:var(--rs-muted)}
@media(max-width:900px){.arta-radio-history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.arta-radio-chart-actions{justify-content:flex-start}.arta-radio-history-grid{grid-template-columns:1fr}.arta-radio-show-main{padding-top:24px}}


/* 0.6.2 — Les fiches Radiò Szorèli sont autonomes par rapport à ARTA Primè.
   Le header global Albanuova reste géré par le thème, mais le masthead, la
   navigation et le ticker ARTA Primè ne doivent jamais apparaître ici. */
body.alb-arta-radio-singular .arta-topline,
body.alb-arta-radio-singular .arta-masthead,
body.alb-arta-radio-singular .arta-section-nav,
body.alb-arta-radio-singular .arta-breaking,
body.alb-arta-radio-singular .arta-group-section {
  display: none !important;
}

body.alb-arta-radio-singular .arta-radio-page {
  margin-top: 0 !important;
}


/* =========================================================
   ARTA 0.6.6 — Fiches radio sur le même canevas que l'accueil
   ========================================================= */

/* front.js remonte la fiche radio comme enfant unique du main du thème. */
body.single-arta_radio_show main.alb-arta-radio-main-host,
body.alb-arta-radio-singular main.alb-arta-radio-main-host {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.single-arta_radio_show main.alb-arta-radio-main-host > .arta-radio-page,
body.alb-arta-radio-singular main.alb-arta-radio-main-host > .arta-radio-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  position: static !important;
}

/* Même largeur éditoriale que l'accueil radio. */
body.single-arta_radio_show .arta-radio-page .arta-radio-wrap,
body.alb-arta-radio-singular .arta-radio-page .arta-radio-wrap {
  width: min(1180px, calc(100% - 44px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Aucun morceau de l'ancien habillage ARTA Primè sur une émission radio. */
body.single-arta_radio_show .arta-topline,
body.single-arta_radio_show .arta-masthead,
body.single-arta_radio_show .arta-section-nav,
body.single-arta_radio_show .arta-breaking,
body.single-arta_radio_show .arta-group-section,
body.alb-arta-radio-singular .arta-topline,
body.alb-arta-radio-singular .arta-masthead,
body.alb-arta-radio-singular .arta-section-nav,
body.alb-arta-radio-singular .arta-breaking,
body.alb-arta-radio-singular .arta-group-section {
  display: none !important;
}

/* Charte typographique radio : même règles sur accueil et fiches. */
.arta-radio-page {
  font-family: 'Nunito Sans', 'Segoe UI', Arial, sans-serif !important;
  font-synthesis: none;
}
.arta-radio-page :where(p,a,span,small,time,li,button,input,select,textarea,label,td,th) {
  font-family: 'Nunito Sans', 'Segoe UI', Arial, sans-serif !important;
}
.arta-radio-page :where(h1,h2,h3,h4,h5,h6),
.arta-radio-page .arta-radio-brand strong,
.arta-radio-page .arta-radio-rank,
.arta-radio-page .arta-radio-now-next strong,
.arta-radio-page .arta-radio-footer strong {
  font-family: 'Fredoka', 'Arial Rounded MT Bold', 'Trebuchet MS', sans-serif !important;
  font-synthesis: none;
}

/* La fiche d'émission reprend maintenant le hero de l'accueil. */
.arta-radio-show-page { padding: 0 !important; }
.arta-radio-show-main { padding: 36px 0 72px; }
.arta-radio-show-main .arta-radio-show-intro { margin-bottom: 0; }
.arta-radio-show-main .arta-radio-hero-copy h1 { font-size: clamp(46px,6vw,76px) !important; }
.arta-radio-show-content { margin-top: 42px; }

@media (max-width: 620px) {
  body.single-arta_radio_show .arta-radio-page .arta-radio-wrap,
  body.alb-arta-radio-singular .arta-radio-page .arta-radio-wrap {
    width: min(100% - 28px, 1180px) !important;
  }
}


/* =========================================================
   ARTA 0.6.7 — correction définitive largeur + typographie
   ========================================================= */

/*
 * Filet de sécurité sans JavaScript : une fiche radio placée dans le
 * conteneur Gutenberg 620px s'étend tout de même sur la largeur du viewport.
 * Quand front.js a remonté la page comme enfant direct du main, les règles
 * .alb-arta-radio-main-host ci-dessous neutralisent ce full-bleed de secours.
 */
body.single-arta_radio_show .arta-radio-page,
body.alb-arta-radio-singular .arta-radio-page {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.single-arta_radio_show main.alb-arta-radio-main-host > .arta-radio-page,
body.alb-arta-radio-singular main.alb-arta-radio-main-host > .arta-radio-page {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.single-arta_radio_show .arta-radio-page .arta-radio-wrap,
body.alb-arta-radio-singular .arta-radio-page .arta-radio-wrap {
  width: min(1180px, calc(100% - 44px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Typographie : priorité absolue sur les presets du block theme. */
body .arta-radio-page,
body .arta-radio-page :where(p, a, span, small, time, li, button, input, select, textarea, label, td, th, strong, em) {
  font-family: 'Nunito Sans', Arial, sans-serif !important;
}

body .arta-radio-page :where(h1, h2, h3, h4, h5, h6),
body .arta-radio-page .arta-radio-brand strong,
body .arta-radio-page .arta-radio-rank,
body .arta-radio-page .arta-radio-now-next strong,
body .arta-radio-page .arta-radio-footer strong,
body .arta-radio-page .arta-radio-btn {
  font-family: 'Fredoka', 'Arial Rounded MT Bold', Arial, sans-serif !important;
  font-weight: 600 !important;
  font-synthesis: none !important;
}

body .arta-radio-page .arta-radio-hero-copy h1 {
  font-weight: 600 !important;
  letter-spacing: -0.035em !important;
}

body .arta-radio-page .arta-radio-brand strong {
  font-weight: 600 !important;
}

/* Plus aucun footer/fragment ARTA Primè sur le post type radio. */
body.single-arta_radio_show .arta-group-section,
body.alb-arta-radio-singular .arta-group-section {
  display: none !important;
}

@media (max-width: 620px) {
  body.single-arta_radio_show .arta-radio-page .arta-radio-wrap,
  body.alb-arta-radio-singular .arta-radio-page .arta-radio-wrap {
    width: calc(100% - 28px) !important;
  }
}
