/* LASTORIA RADIO / STAGE 29
   Four-zone finishing pass ONLY: header, empty albums, radio+stream, footer.
   Existing homepage hierarchy, links and behavior are unchanged.
   Loaded after stage 28 to avoid introducing another competing visual system. */

/* HEADER: remove the legacy beige inner panel, make one continuous airy masthead. */
body:has(.lr-home) .site-header,
body:has(.lr-home) .site-header .header-inner {
  background: transparent !important;
}
body:has(.lr-home) .site-header {
  position: relative !important;
  background: linear-gradient(103deg,#c6dfff 0%,#c9d7fc 46%,#d9c9f3 100%) !important;
  border-bottom: 1px solid #abbbea !important;
  box-shadow: 0 5px 16px rgba(62,79,150,.13) !important;
}
body:has(.lr-home) .site-header::before {
  background: url('/assets/img/site/lastoria-orchestra-header-v28.svg') center center / cover no-repeat !important;
  opacity: .52 !important;
}
body:has(.lr-home) .site-header .header-inner {
  min-height: 106px !important;
  padding-block: 17px !important;
  max-width: 1160px !important;
  margin-inline: auto !important;
}
body:has(.lr-home) .site-header .brand,
body:has(.lr-home) .site-header .brand-copy { background: transparent !important; }
body:has(.lr-home) .site-header .brand-title {color:#213e82!important;text-shadow:0 1px 8px rgba(255,255,255,.9)!important}
body:has(.lr-home) .site-header .site-nav {
  background: rgba(255,255,255,.78) !important;
  border: 1px solid rgba(255,255,255,.7) !important;
  border-radius: 14px !important;
  box-shadow: 0 5px 16px rgba(72,81,145,.12) !important;
}

/* ALBUMS: elegant empty state, no leftover yellow/beige box. */
.lr-home .home-albums-section .album-grid:has(.empty-state) {
  display:block !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none!important;
}
.lr-home .home-albums-section .empty-state {
  position:relative !important;
  display:flex!important;
  align-items:center!important;
  gap:17px!important;
  min-height:98px!important;
  padding:20px 24px!important;
  border:1px solid #ced1f5!important;
  border-radius:17px!important;
  background:linear-gradient(105deg,#eff4ff 0%,#f5f1ff 58%,#ede9fc 100%)!important;
  color:#3e4d82!important;
  font-size:.98rem!important;
  line-height:1.6!important;
  box-shadow:inset 0 1px rgba(255,255,255,.8)!important;
}
.lr-home .home-albums-section .empty-state::before {
  content:'♫';
  flex:0 0 52px;
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  font:400 33px/1 Georgia,serif;
  color:#7860bf;
  border-radius:50%;
  background:#e4dffc;
  border:1px solid #c9c2ee;
}

/* RADIO + STREAM: same two-column HTML; remove old beige inner rectangles. */
.lr-home .home-listen-section {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(245px,.92fr)!important;
  align-items:center!important;
  gap:clamp(20px,3vw,34px)!important;
  min-height:unset!important;
  padding:clamp(23px,3vw,34px)!important;
  color:#243d7a!important;
  background:linear-gradient(110deg,#dce9ff 0%,#e1e2fa 53%,#d9d4f4 100%)!important;
  border:1px solid #b9c4ee!important;
  border-radius:22px!important;
  box-shadow:0 11px 28px rgba(78,84,157,.16)!important;
}
.lr-home .home-listen-section::before {
  background:url('/assets/img/site/lastoria-radio-wave-v28.svg') left center/cover no-repeat!important;
  opacity:.14!important;
}
.lr-home .home-listen-copy,
.lr-home .home-listen-actions {
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  min-width:0!important;
  padding:0!important;
}
.lr-home .home-listen-copy {display:block!important}
.lr-home .home-listen-section .section-title,
.lr-home .home-listen-copy h2 {
  color:#253f83!important;
  text-shadow:none!important;
  font:italic 650 clamp(1.65rem,2.55vw,2.3rem)/1.1 Georgia,serif!important;
  max-width:390px;
}
.lr-home .home-listen-section .eyebrow,
.lr-home .home-listen-section .section-number {color:#7257b8!important;text-shadow:none!important}
.lr-home .home-listen-section p {
  color:#4b5c88!important;
  text-shadow:none!important;
  line-height:1.62!important;
  margin-bottom:0!important;
}
.lr-home .home-listen-actions {
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:12px!important;
}
.lr-home .home-listen-link,
.lr-home .home-listen-link.is-radio {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  padding:15px 20px!important;
  min-height:75px!important;
  color:#283e7d!important;
  background:rgba(255,255,255,.84)!important;
  border:1px solid #c7cbed!important;
  border-radius:15px!important;
  box-shadow:0 5px 13px rgba(73,85,156,.12)!important;
}
.lr-home .home-listen-link small {grid-column:1/-1;color:#6a5aae!important}
.lr-home .home-listen-link strong {font-size:1.08rem!important;color:#233e80!important}
.lr-home .home-listen-link>span:last-child {color:#6754ac!important;white-space:nowrap}
.lr-home .home-listen-dot {display:none!important}

/* FOOTER: light, integrated, no legacy black field or gold stripe. */
body:has(.lr-home) .site-footer {
  background:linear-gradient(110deg,#dce8ff 0%,#e9e5fc 52%,#dcd9f8 100%)!important;
  color:#304475!important;
  border-top:1px solid #b9c5ec!important;
  box-shadow:none!important;
  margin-top:38px!important;
}
body:has(.lr-home) .site-footer::before,
body:has(.lr-home) .site-footer::after {border:0!important;background:none!important;box-shadow:none!important}
body:has(.lr-home) .site-footer .footer-inner {
  max-width:1160px!important;
  padding-block:30px!important;
}
body:has(.lr-home) .site-footer strong,
body:has(.lr-home) .site-footer p,
body:has(.lr-home) .site-footer a,
body:has(.lr-home) .site-footer .footer-cookie-button {
  color:#344978!important;
  text-shadow:none!important;
}
body:has(.lr-home) .site-footer strong {font-size:1.18rem!important}
body:has(.lr-home) .site-footer p {font-size:.91rem!important}
body:has(.lr-home) .site-footer .footer-cookie-button {
  display:inline!important;
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  padding:0!important;
  font:inherit!important;
  font-size:.91rem!important;
  text-decoration:none!important;
  cursor:pointer;
}
body:has(.lr-home) .site-footer a:hover,
body:has(.lr-home) .site-footer .footer-cookie-button:hover {text-decoration:underline!important}

@media(max-width:800px){
  body:has(.lr-home) .site-header .header-inner{min-height:90px!important}
  .lr-home .home-listen-section {grid-template-columns:1fr!important}
  .lr-home .home-listen-section .section-title {max-width:none!important}
}
@media(max-width:500px){
  .lr-home .home-albums-section .empty-state {padding:15px!important;gap:12px!important}
  .lr-home .home-albums-section .empty-state::before {width:42px;height:42px;flex-basis:42px}
  .lr-home .home-listen-link,.lr-home .home-listen-link.is-radio{padding:14px!important}
}
