/* assets/css/styles.css
   Cleaned and Updated:
   - Removed redundancies and organized sections
   - Roboto font (assumed linked in head.php)
   - Breaking-bar color: #de0000
   - Grid cards styled like FOX: image on top, eyebrow/category, title, date
   - Promo stack horizontal fixed for desktop
   - jsr-nav full-width
   - .page padding: 0 0 38px
   - Footer redesigned
   - Carousel/on-air integrated with lineup.js targeting #jsrShowCarousel
   - Responsive rules for desktop, laptop, iPad, mobile
*/

:root {
  --bg: #eef2f6;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #d7e0ea;

  --nav: #0b2a4a;
  --nav2: #083051;

  --red: #c6002b;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.10);

  --max: 1180px;
  --radius: 18px;
  --player-h: 80px;
}

/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  padding-bottom: var(--player-h);
  font-weight: 400;
}

a { color: inherit; text-decoration: none; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* Page */
.page { padding: 0 0 38px; }

/* Hide legacy top bars */
.top-strip, .top-bar, .header-top, .utility-bar, .site-topbar {
  display: none !important;
}

/* Header */
.jsr-header {
  background: #eef1f4;
  border-bottom: 1px solid var(--border);
}

.jsr-header__topInner {
  max-width: 980px;
  margin: 0 auto;
  padding: 14px 16px 10px;
  text-align: center;
}

.jsr-logo img {
  display: block;
  margin: 0 auto 10px;
  max-height: 100px;
  width: auto;
  height: auto;
}

/* Social icons */
.jsr-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 12px;
}

.jsr-social__link {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #0c3a5c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.jsr-social__link svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

/* Blue nav bar - full width */
.jsr-nav {
  background: var(--nav);
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

/* Rotating Ad Banner */
.jsr-adbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.jsr-adbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}

.jsr-adbar__img {
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .jsr-adbar__img { max-height: 96px; }
}

@media (max-width: 600px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .jsr-adbar__inner { padding: 8px 0; }
  .jsr-adbar__img { max-height: 76px; }
}

.jsr-nav__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 16px;
}

.jsr-nav__toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  padding: 8px 12px;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.jsr-nav__toggleBars {
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
  display: inline-block;
}

.jsr-nav__toggleBars::before,
.jsr-nav__toggleBars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #fff;
}

.jsr-nav__toggleBars::before { top: -6px; }
.jsr-nav__toggleBars::after { top: 6px; }

.jsr-nav__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.jsr-nav__list a {
  display: inline-block;
  color: #ffffff;
  font-weight: 900;
  font-size: 14px;
  padding: 10px 8px;
  border-radius: 10px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.jsr-nav__list a:hover {
  background: rgba(255,255,255,0.10);
}

.jsr-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--nav);
  font-weight: 950;
  font-size: 13px;
  white-space: nowrap;
}

/* Mobile nav */
@media (max-width: 900px) {
  .jsr-nav__inner {
    justify-content: space-between;
  }

  .jsr-nav__toggle {
    display: inline-flex;
  }

  .jsr-nav__list {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    background: var(--nav2);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    box-shadow: var(--shadow);
    z-index: 40;
  }

  .jsr-nav__list.is-open { display: flex; }

  .jsr-nav__list a {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
  }
}

/* On Air strip */
.jsr-onair {
  background: #e8edf3;
  border-bottom: 1px solid var(--border);
}

.jsr-onair__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.jsr-onair__block {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.jsr-onair__kicker {
  font-size: 12px;
  font-weight: 950;
  color: var(--nav);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.jsr-onair__text {
  font-size: 13px;
  font-weight: 850;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 40vw;
}

.jsr-onair__divider {
  width: 1px;
  height: 22px;
  background: rgba(15, 23, 42, 0.18);
}

.jsr-player-toggle {
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: #0c3a5c;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

/* Lineup section + Carousel */
.jsr-lineup { background: #eef1f4; }

.jsr-carousel {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 16px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.jsr-carousel::-webkit-scrollbar { display: none; }

/* Carousel cards */
.jsr-card {
  min-width: 260px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  text-align: left;
}

.jsr-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.jsr-badge {
  display: inline-flex;
  align-items: center;
  font-weight: 900;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e7eef6;
  color: #0c3a5c;
}

.jsr-badge--live {
  background: #ffe6e6;
  color: #a10000;
}

.jsr-time {
  font-weight: 900;
  font-size: 12px;
  color: #3a4a57;
}

/* Body: logo left + stacked text right */
.jsr-card__body {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

/* Logo: max 40x40 always */
.jsr-card__logo {
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  border-radius: 999px;
  object-fit: cover;
  background: #d9dde2;
  flex: 0 0 40px;
}

/* Text stack */
.jsr-card__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.jsr-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  color: #0a2233;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jsr-card__subtitle {
  margin: 4px 0 0;
  font-size: 13px;
  color: #52616d;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .jsr-card { min-width: 240px; }
  .jsr-card__title { font-size: 15px; }
  .jsr-card__subtitle { font-size: 12px; }
}

@media (max-width: 420px) {
  .jsr-card__subtitle {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;
    white-space: normal;

    /* Firefox + future support */
    line-clamp: 2;
  }
}

/* Bottom audio dock */
.jsr-audioDock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: rgba(10, 34, 51, 0.92);
  backdrop-filter: blur(8px);
  transform: translateY(110%);
  transition: transform 220ms ease;
  z-index: 9999;
}

.jsr-audioDock.is-open { transform: translateY(0); }

.jsr-audioDock__inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

.jsr-audioDock__close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

#jsrAudio { width: 100%; }

/* Schedule strip */
.schedule-strip {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-left: 0;
  border-right: 0;
}

.schedule-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
}

.schedule-col { display: flex; flex-direction: column; gap: 2px; }
.schedule-col.center { align-items: center; }
.schedule-col.right { align-items: flex-end; }

.kicker {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.4px;
  color: var(--muted);
  text-transform: uppercase;
}

.title {
  font-size: 16px;
  font-weight: 950;
  color: #0f172a;
}

.btn-schedule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 14px;
  border: 2px solid var(--nav);
  color: var(--nav);
  background: #fff;
  font-weight: 950;
}

/* Hero layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  margin-top: 18px;
}

.hero-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-link { display: block; }

.hero-media {
  height: 320px;
  background: linear-gradient(135deg, #d9e2ee, #f3f6fb);
  background-size: cover;
  background-position: center;
}

.breaking-bar {
  height: 44px;
  background: #de0000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.breaking-text {
  color: #fff;
  font-weight: 1000;
  letter-spacing: 6px;
  text-transform: uppercase;
  font-size: 14px;
}

.hero-body { padding: 16px 18px 18px; }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ffe8ee;
  border: 1px solid rgba(198, 0, 43, 0.25);
  color: var(--red);
  font-weight: 1000;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.date {
  color: var(--muted);
  font-weight: 850;
  font-size: 13px;
}

.hero-title {
  margin: 0 0 8px;
  font-size: 38px;
  line-height: 1.05;
  font-weight: 1000;
}

.hero-subhead {
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 650;
  font-size: 16px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 14px;
  background: var(--red);
  color: #fff;
  font-weight: 950;
}

/* Promo stack */
.promo-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.promo-stack.horizontal {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px;
}

.promo-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  flex: 1;
  min-width: 200px;
}

.promo-thumb {
  width: 64px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #d9e2ee, #f3f6fb);
  border: 1px solid var(--border);
  flex: 0 0 auto;
}

.promo-title {
  font-weight: 950;
  font-size: 16px;
  margin-bottom: 2px;
}

.promo-sub {
  color: var(--muted);
  font-weight: 650;
  font-size: 13px;
}

/* Section header */
.section { margin-top: 24px; }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 1000;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--nav);
  font-weight: 950;
}

/* Rail */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 250px;
  gap: 14px;
  overflow: auto;
  padding-bottom: 6px;
}

.rail-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.rail-img {
  height: 140px;
  background: linear-gradient(135deg, #d9e2ee, #f3f6fb);
}

.rail-body { padding: 12px; }

.rail-meta {
  color: var(--muted);
  font-weight: 850;
  font-size: 12px;
}

.rail-title {
  margin-top: 8px;
  font-weight: 950;
  line-height: 1.25;
}

/* Player bar */
.playerbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--player-h);
  border-top: 1px solid var(--border);
  background: #fff;
}

.playerbar iframe { width: 100%; height: 100%; border: 0; }

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.grid-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  font-family: "Roboto", sans-serif;
}

.grid-img {
  height: 180px;
  background-size: cover;
  background-position: center top;
  position: relative;
  overflow: hidden;
}

.grid-img--empty {
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-img__fallback {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.grid-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.grid-meta {
  font-size: 12px;
  font-weight: 500;
  color: #757575;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.grid-meta a {
  color: #757575;
  text-decoration: none;
}

.grid-meta a:hover { text-decoration: underline; }

.grid-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
  margin: 0 0 8px;
  letter-spacing: -0.2px;
}

.grid-title:hover { color: #0056b3; }

.component-date-display {
  font-size: 13px;
  color: #999;
  font-weight: 400;
  margin-top: auto;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .schedule-inner { grid-template-columns: 1fr; }
  .schedule-col.center, .schedule-col.right { align-items: flex-start; }
  .grid { grid-template-columns: 1fr; }
  .promo-stack.horizontal { flex-direction: column; }
}

@media (max-width: 820px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .hero-title { font-size: 30px; }
  .breaking-text { letter-spacing: 4px; }
  .jsr-onair__text { max-width: 52vw; }
}

/* =========================
   FOOTER (authoritative)
   Paste at very bottom
   ========================= */

.site-footer {
  background: #0b2a4a;
  color: #ffffff;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 36px 0 22px;
}

.site-footer a {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* top area */
.site-footer .footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

/* brand */
.footer-brand {
  font-weight: 1000;
  font-size: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* social row */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  row-gap: 10px;
  align-items: center;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  font-weight: 850;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.footer-social a:hover {
  background: rgba(255,255,255,0.18);
}

/* columns */
.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-weight: 700;
  font-size: 14px;
  opacity: 0.95;
}

/* bottom bar */
.site-footer .footer-bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.site-footer small {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-weight: 650;
}

/* Desktop layout */
@media (min-width: 900px) {
  .site-footer .footer-top {
    grid-template-columns: 1.1fr 1.4fr;
    grid-template-areas:
      "brand social"
      "cols cols";
    gap: 18px 28px;
  }

  .footer-brand { grid-area: brand; }
  .footer-social { grid-area: social; justify-content: flex-end; }
  .footer-cols {
    grid-area: cols;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
}

/* =========================
   JSR FOOTER (FINAL)
   ========================= */

/*
  Footer is split into two full-width bars:
  - Top: #003057
  - Bottom: #000000
  Everything centered on all breakpoints.
*/

.site-footer {
  background: transparent;
  padding: 0;
  border-top: 0;
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

/* Top footer */
.site-footer .footer-top {
  background: #003057;
  padding: 28px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0;
  width: 100%;
}

.site-footer .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  align-items: center;
}

.site-footer .footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 160ms ease, transform 160ms ease;
}

.site-footer .footer-social a:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

.site-footer .footer-social svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

/* Bottom footer */
.site-footer .footer-bottom {
  background: #000000;
  padding: 26px 0 22px;
  text-align: center;
  margin: 0;
  width: 100%;
  border-top: 0;
}

.site-footer .footer-logo {
  display: block;
  margin: 0 auto 10px;
  max-width: 120px;
  height: auto;
}

.site-footer .footer-bottom small {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}

/* Acknowledgement Popup (JSR styled) */
.jsr-ack-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.65);
  z-index: 99999;
}

.jsr-ack-overlay.is-open {
  display: flex;
}

.jsr-ack-modal {
  width: min(620px, 100%);
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 12px 34px rgba(0,0,0,0.35);
}

/* Header */
.jsr-ack-header {
  background: #0b2a4a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
}

.jsr-ack-header img {
  height: 44px;
  width: auto;
  display: block;
}

/* Body */
.jsr-ack-body {
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;
}

/* Footer */
.jsr-ack-footer {
  background: #64748b;
  padding: 14px 16px;
}

.jsr-ack-btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 900;
  cursor: pointer;
}
/* Acknowledgement Popup */
.jsr-ack-overlay{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(0,0,0,0.65);
  z-index:99999;
}

.jsr-ack-overlay.is-open{
  display:flex;
}

.jsr-ack-modal{
  width:min(620px, 100%);
  background:#ffffff;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 20px 50px rgba(0,0,0,0.35);
}

.jsr-ack-header{
  background:#0b2a4a;
  padding:18px 16px;
  display:flex;
  justify-content:center;
  align-items:center;
}

.jsr-ack-logo{
  max-width:220px;
  width:70%;
  height:auto;
  display:block;
}

.jsr-ack-body{
  padding:18px 18px 16px;
}

.jsr-ack-title{
  margin:0 0 10px 0;
  font-size:18px;
  font-weight:900;
  color:#0f172a;
  text-align:center;
}

.jsr-ack-message{
  font-size:14px;
  line-height:1.6;
  color:#0f172a;
  text-align:justify;
}

.jsr-ack-footer{
  background:#64748b;
  padding:14px 16px;
}

.jsr-ack-btn{
  width:100%;
  border:0;
  border-radius:12px;
  padding:12px 14px;
  font-weight:900;
  cursor:pointer;
}
/* Acknowledgement Popup (Updated layout) */
.jsr-ack-overlay{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(0,0,0,0.65);
  z-index:99999;
}

.jsr-ack-overlay.is-open{
  display:flex;
}

.jsr-ack-modal{
  width:min(760px, 100%);
  background:#ffffff;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 20px 50px rgba(0,0,0,0.35);
}

/* Header bar */
.jsr-ack-headerbar{
  background:#0b2a4a;
  padding:18px 16px 16px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:12px;
}

.jsr-ack-logo{
  max-width:220px;
  width:70%;
  height:auto;
  display:block;
}

.jsr-ack-headwrap{
  width:100%;
  max-width:680px;
}

.jsr-ack-headline{
  font-size:18px;
  font-weight:900;
  color:#ffffff;
  line-height:1.25;
  margin:0;
}

.jsr-ack-subhead{
  margin-top:6px;
  font-size:13px;
  font-weight:700;
  color:rgba(255,255,255,0.85);
}

/* Body */
.jsr-ack-body{
  padding:18px 18px 10px;
  max-height:min(70vh, 640px);
  overflow:auto;
}

.jsr-ack-message{
  font-size:14px;
  line-height:1.65;
  color:#0f172a;
  text-align:justify;
}

.jsr-ack-message p{
  margin:0 0 12px 0;
}

/* Footer bar */
.jsr-ack-footerbar{
  background:#64748b;
  padding:14px 16px;
}

.jsr-ack-btn{
  width:100%;
  border:0;
  border-radius:12px;
  padding:12px 14px;
  font-weight:900;
  cursor:pointer;
}
/* Acknowledgement Popup (Final) */
.jsr-ack-overlay{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(0,0,0,0.65);
  z-index:99999;
}
.jsr-ack-overlay.is-open{ display:flex; }

.jsr-ack-modal{
  width:min(760px, 100%);
  background:#ffffff;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 20px 50px rgba(0,0,0,0.35);
}

.jsr-ack-headerbar{
  background:#0b2a4a;
  padding:18px 16px 16px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:12px;
}
.jsr-ack-logo{
  max-width:220px;
  width:70%;
  height:auto;
  display:block;
}
.jsr-ack-headwrap{ width:100%; max-width:680px; }
.jsr-ack-headline{
  font-size:18px;
  font-weight:900;
  color:#ffffff;
  line-height:1.25;
}
.jsr-ack-subhead{
  margin-top:6px;
  font-size:13px;
  font-weight:700;
  color:rgba(255,255,255,0.85);
}

.jsr-ack-body{
  padding:18px 18px 10px;
  max-height:min(70vh, 640px);
  overflow:auto;
}
.jsr-ack-message{
  font-size:14px;
  line-height:1.65;
  color:#0f172a;
  text-align:justify;
}
.jsr-ack-message p{ margin:0 0 12px 0; }

.jsr-ack-footerbar{
  background:#a0a0a0;
  padding:14px 16px;
}
.jsr-ack-btn{
  width:100%;
  border:0;
  border-radius:12px;
  padding:12px 14px;
  font-weight:900;
  cursor:pointer;
  color: #c6002b;
}
