/* LASTORIA RADIO / Stage 39 — unified editorial details.  Loaded after v37/v38.
   Calendar structure and archive functionality remain unchanged. */
body.lastoria-editorial-page {
  --lr39-ink:#2b4389; --lr39-link:#5362aa; --lr39-edge:#cbd3f3;
  --lr39-soft:#f4f5ff; --lr39-lilac:#e9e3fa;
}
/* Remove surviving warm/beige bands from the archive and the calendar. */
body.lastoria-editorial-page main .news-month-heading,
body.lastoria-editorial-page main .calendar-status,
body.lastoria-editorial-page main .calendar-card-v04 .empty-state,
body.lastoria-editorial-page main .news-archive-v04 .empty-state {
  background:#f1f2ff!important; color:#405390!important;
  border:1px solid #dce0fa!important; border-radius:12px!important;
  box-shadow:none!important;
}
body.lastoria-editorial-page main .news-month-heading {
  padding:12px 16px!important; margin:18px 0!important;
  font-size:clamp(1.2rem,2.3vw,1.65rem)!important;
}
body.lastoria-editorial-page main .calendar-status {display:inline-block!important;padding:8px 14px!important;margin:15px 0!important;font-size:.9rem!important;}
body.lastoria-editorial-page main .calendar-card-v04 .empty-state {padding:24px!important;min-height:100px!important;display:flex!important;align-items:center!important;}
/* Month navigation: one coherent group of lavender pills, responsive wrapping. */
body.lastoria-editorial-page .calendar-tools-v04 .calendar-months {
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;
  gap:8px!important;padding:8px 0!important;background:transparent!important;
}
body.lastoria-editorial-page .calendar-tools-v04 .calendar-months button {
  appearance:none!important;background:#f8f8ff!important;color:#43568f!important;
  border:1px solid #ccd4f3!important;border-radius:999px!important;
  min-height:34px!important;padding:7px 13px!important;font-size:.84rem!important;
  font-weight:600!important;letter-spacing:0!important;box-shadow:none!important;
  transition:background .16s ease,color .16s ease,border-color .16s ease!important;
}
body.lastoria-editorial-page .calendar-tools-v04 .calendar-months button span {color:#7263ae!important;opacity:1!important;font-size:.74rem!important;}
body.lastoria-editorial-page .calendar-tools-v04 .calendar-months button:is(:hover,:focus-visible){background:#eae6fb!important;color:#443e98!important;border-color:#aaa9e7!important;outline-offset:2px!important;}
body.lastoria-editorial-page .calendar-tools-v04 .calendar-months button.active {
  background:linear-gradient(105deg,#5676c4,#755dc0)!important;
  border-color:#655cb8!important;color:white!important;box-shadow:0 3px 10px rgba(82,76,166,.12)!important;
}
body.lastoria-editorial-page .calendar-tools-v04 .calendar-months button.active span {color:white!important;}
/* The calendar's left-hand date grid needs a defined surface, space, and border. */
body.lastoria-editorial-page main .calendar-board {
  display:grid!important;grid-template-columns:minmax(225px,260px) minmax(0,1fr)!important;
  gap:20px!important;align-items:start!important;margin-top:16px!important;
}
body.lastoria-editorial-page main .calendar-days-v04 {
  display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;
  gap:6px!important;padding:18px 13px!important;
  background:linear-gradient(155deg,#f6f8ff,#efedff)!important;
  border:1px solid #d4d9f4!important;border-radius:17px!important;
  box-shadow:0 5px 16px rgba(74,81,147,.06)!important;
  position:sticky!important;top:108px!important;min-width:0!important;
}
body.lastoria-editorial-page main .calendar-day-v04 {
  width:100%!important;min-width:0!important;aspect-ratio:1!important;
  border-radius:10px!important;border:1px solid #d8def5!important;
  background:#fff!important;color:#4a5996!important;font-weight:600!important;
  box-shadow:none!important;
}
body.lastoria-editorial-page main .calendar-day-v04.has-event {
  background:#e9e4fc!important;border-color:#bcb3ec!important;color:#4e448f!important;
}
body.lastoria-editorial-page main .calendar-day-v04.has-event::after {background:#806ac4!important;}
body.lastoria-editorial-page main .calendar-day-v04:is(:hover,:focus-visible) {
  background:#dddffc!important;border-color:#a9b2e8!important;color:#32477f!important;
}
body.lastoria-editorial-page main .calendar-day-v04.active {
  background:linear-gradient(135deg,#5678c7,#765bc0)!important;
  border-color:#625db7!important;color:#fff!important;
}
body.lastoria-editorial-page main .calendar-day-v04.active::after {background:#fff!important;}
body.lastoria-editorial-page main .calendar-events {min-width:0!important;padding:0!important;}
/* News listing: remove old warm grouping backgrounds and hover colors. */
body.lastoria-editorial-page main .news-archive-list,
body.lastoria-editorial-page main .calendar-events {background:transparent!important;}
body.lastoria-editorial-page main .news-card.lr-news-list-item:is(:hover,:focus-within) {
  background:linear-gradient(140deg,#f7f9ff,#eeeaff)!important;
  border-color:#b2b4e9!important;box-shadow:0 8px 22px rgba(80,86,162,.10)!important;
}
/* News-page section labels: editorial, human-sized, no vintage brown uppercase. */
body.lastoria-editorial-page .lr-news-detail-section .eyebrow,
body.lastoria-editorial-page .lr-news-detail-body .eyebrow {
  display:inline-flex!important;align-items:center!important;
  padding:6px 11px!important;margin:0 0 11px!important;
  color:#5b55a1!important;background:#eeebfc!important;
  border:1px solid #dad5f5!important;border-radius:999px!important;
  font-family:inherit!important;font-size:.86rem!important;line-height:1.3!important;
  font-weight:600!important;letter-spacing:0!important;text-transform:none!important;
  box-shadow:none!important;
}
body.lastoria-editorial-page .lr-news-detail-section h2 {margin:3px 0 15px!important;}
@media(max-width:900px){
  body.lastoria-editorial-page main .calendar-board{grid-template-columns:1fr!important;gap:14px!important;}
  body.lastoria-editorial-page main .calendar-days-v04{position:static!important;max-width:390px!important;}
}
@media(max-width:480px){
  body.lastoria-editorial-page main .calendar-days-v04{max-width:100%!important;padding:12px 9px!important;gap:4px!important;}
  body.lastoria-editorial-page .calendar-tools-v04 .calendar-months{gap:6px!important;}
  body.lastoria-editorial-page .calendar-tools-v04 .calendar-months button{padding:7px 10px!important;font-size:.8rem!important;}
}
