/* Shared station identity. Loaded after page-specific layouts. */
.radio-home .zmanim-glance { max-width: 1320px; margin: 18px auto; padding: 16px 20px; border: 1px solid #d5e1eb; border-radius: 14px; background: linear-gradient(110deg,#f0f6fb,#fff); }
.zmanim-glance-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; }
.zmanim-glance-heading strong { font-size: 15px; }
.zmanim-glance-heading span { color: #526a7c; font-size: 12px; flex: 1; }
.zmanim-glance-heading a { font-size: 13px; color: #255d8e; }
.radio-home .zmanim-glance .zmanim-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; margin: 12px 0; }
.zmanim-glance .zman-time { border: 0; border-inline-start: 2px solid #d5e1eb; border-radius: 0; background: transparent; padding: 0 10px; display: grid; gap: 4px; }
.zmanim-glance .zman-time span { font-size: 12px; color: #526a7c; }
.zmanim-glance .zman-time strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.zmanim-glance small { font-size: 11px; color: #526a7c; }
.zmanim-glance .zmanim-placeholder { grid-column: 1/-1; font-size: 13px; }
@media(max-width:1400px) { .radio-home .zmanim-glance { margin-inline: 32px; } }
@media(max-width:700px) { .radio-home .zmanim-glance { margin: 14px 16px; padding: 14px; } .zmanim-glance-heading span { flex-basis: 100%; order: 2; } .zmanim-glance-heading a { margin-inline-start: auto; } .radio-home .zmanim-glance .zmanim-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px 8px; } }
:root, body.radio-home {
  --ink: #173346;
  --muted: #566b77;
  --blue-950: #163d55;
  --blue-900: #163d55;
  --blue-800: #1d526f;
  --blue-650: #25688a;
  --line: #dce5e6;
  --soft: #f3f6f5;
  --radius: 14px;
  --shadow: 0 8px 28px #17334609;
  --page-width: 1320px;
}
body { background: #fafbf9; padding-bottom: 0; -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }
img { max-width: 100%; }
button, input, select { font-family: inherit; }
:focus-visible { outline: 3px solid #2e8abb; outline-offset: 4px; }
.site-header, .radio-home .site-header {
  grid-template-columns: minmax(240px, 1fr) auto auto;
  min-height: 88px; gap: 28px;
  padding: 16px max(28px, calc((100vw - var(--page-width))/2));
  background: #fafbf9f5;
}
.brand { gap: 12px; }
.brand-mark, .radio-home .brand-mark { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 50%; }
.brand strong, .radio-home .brand strong { font-size: 22px; line-height: 1.15; font-weight: 400; max-width: none; }
.brand small, .radio-home .brand small { font-size: 12px; line-height: 1.5; font-weight: 400; }
.top-nav, .radio-home .top-nav { gap: 24px; font-size: 14px; font-weight: 500; }
.top-nav a { display: inline-flex; min-height: 44px; align-items: center; }
.listen-shortcut, .radio-home .listen-shortcut {
  min-height: 44px; background: #eef3f3; color: var(--blue-950);
  border: 1px solid var(--line); border-radius: 10px;
  text-transform: none; font-size: 14px; font-weight: 600; box-shadow: none;
}
.listen-shortcut span { display: inline; }
.listen-shortcut { width: auto; }
.button, .radio-home .button, .location-button, .radio-home .location-button {
  min-height: 44px; padding: 11px 18px; border-radius: 10px;
  font-size: 14px; font-weight: 600; line-height: 1.4; box-shadow: none;
  text-transform: none; text-align: center;
}
.button-primary, .button-download, .radio-home .button-primary, .radio-home .button-download {
  background: var(--blue-950); border: 1px solid var(--blue-950); color: #fff;
}
.button-secondary, .radio-home .button-secondary, .location-button {
  background: #fff; color: var(--blue-950); border: 1px solid #c8d7dc;
}
.button-primary:hover, .button-primary:focus-visible,
.button-download:hover, .button-download:focus-visible,
.radio-home .button-primary:hover, .radio-home .button-download:hover { background: #256080; color: #fff; }
.button-secondary:hover, .button-secondary:focus-visible,
.location-button:hover, .listen-shortcut:hover, .listen-shortcut:focus-visible { background: #e8f0f2; color: var(--blue-950); }
.section-kicker, .radio-home .section-kicker, .library-eyebrow, .studio-kicker { color: #536e64; font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.radio-home .hero { padding-top: 44px; border: 0; }
.radio-home .hero h1 { font-size: clamp(38px, 4.4vw, 60px); letter-spacing: -.035em; }
.radio-home .hero-lede { color: var(--muted); }
.welcome-row { margin-bottom: 32px; }
.listening-choices { display: flex; flex-wrap: wrap; gap: 12px; margin: -8px 0 24px; }
.listening-choices .button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; }
.listening-choices svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.listening-choices button:disabled { opacity: .55; cursor: not-allowed; }
.broadcast-grid { grid-template-columns: minmax(0, 1.85fr) minmax(310px, 1fr); gap: 24px; }
.watch-panel { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.watch-heading { min-height: 32px; margin-bottom: 16px; }
.watch-heading h2, .audio-heading h2 { font-size: 26px; color: var(--ink); }
.live-video-stage { min-height: 200px; aspect-ratio: 16/9; border-radius: 10px; background: radial-gradient(ellipse at 15% 0%, #315e76, #102c41 85%); }
.video-welcome { gap: 14px; padding: 22px; }
.video-welcome img { width: 62px; height: 62px; opacity: 1; }
.video-welcome p { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; }
.radio-home .video-welcome .button-primary { background: #fff; color: var(--blue-950); border-color: #fff; min-width: 146px; }
.radio-home .video-welcome .button-primary:hover { background: #e8f0f2; }
.watch-footer { gap: 0 10px; margin-top: 12px; font-size: 13px; }
.watch-footer p { flex: 1 1 100%; line-height: 1.55; margin-bottom: 6px; color: var(--muted); }
.watch-footer .text-button, .watch-footer a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; color: var(--blue-950); text-decoration: none; }
.watch-footer .text-button:hover, .watch-footer a:hover { background: var(--soft); }
.watch-note { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.65; color: var(--muted); }
.audio-column { border-radius: 16px; }
.audio-heading { padding: 23px 24px 0; }
.audio-heading h2 { margin: 8px 0; }
.audio-heading p { font-size: 14px; }
.radio-home .player-panel { padding: 20px 24px 24px; }
.radio-home .player-topline { font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.radio-home .player-main { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; margin: 16px 0; min-height: 70px; }
.radio-home .play-button { width: 56px; height: 56px; min-width: 56px; background: var(--blue-950); }
.radio-home .play-button:hover { background: #256080; }
.radio-home .now-playing strong { font-size: 16px; line-height: 1.4; }
.radio-home .now-playing small { font-size: 13px; margin-top: 4px; }
.radio-home .shabbos-panel { padding: 14px; margin: 18px 0; background: var(--soft); border-radius: 10px; font-size: 13px; line-height: 1.6; }
.radio-home .shabbos-panel strong { font-size: 13px; }
.radio-home .shabbos-panel p { color: var(--muted); margin: 7px 0; }
.playback-settings { margin-top: 8px; border-top: 1px solid var(--line); }
.playback-settings summary { padding-top: 10px; cursor: pointer; color: var(--blue-950); font-size: 12px; }
.radio-home .resume-option { font-size: 12px; align-items: start; }
.radio-home .resume-option input { flex: 0 0 auto; margin-top: 4px; accent-color: var(--blue-950); }
.radio-home .shabbos-panel small { font-size: 12px; line-height: 1.6; margin-top: 8px; }
.settings-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: var(--blue-950); text-underline-offset: 4px; }
.radio-home .player-actions .button { width: 100%; min-height: 44px; font-size: 14px; padding: 11px 16px; }
.stream-details { margin-top: 16px; font-size: 12px; }
.stream-details summary { min-height: 30px; }
.radio-home .player-facts, .radio-home .player-facts dd { font-size: 12px; }
.channel-paths { padding: 24px 0; gap: 16px 28px; font-size: 13px; }
.channel-paths a { padding: 8px 0; }
.daily-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 32px; }
.radio-home .schedule-section, .radio-home .local-times-card { border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 26px; }
.radio-home .section-heading p, .radio-home .schedule-list p { font-size: 14px; line-height: 1.65; }
.radio-home .section-heading h2, .radio-home .local-times-head h2 { font: 400 28px/1.2 Georgia, serif; }
.radio-home .schedule-list time { font-size: 14px; }
.radio-home .schedule-list article { gap: 20px; }
.radio-home .local-times-head p { font-size: 13px; }
.radio-home .shabbos-settings { font-size: 13px; }
.radio-home .shabbos-settings input, .radio-home .shabbos-settings select { font-size: 16px; }
.location-search > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.location-search input { min-width: 0; width: 100%; min-height: 44px; }
.radio-home .moon-row { font-size: 12px; gap: 12px; flex-wrap: wrap; }
.radio-home .classes-section { margin-top: 40px; padding-top: 36px; }
.radio-home .class-browser { padding: 26px; border: 1px solid var(--line); border-radius: 16px; box-shadow: none; background: #fff; }
.class-picker-fields select { min-height: 48px; font-size: 16px; }
.caption-language-controls button { min-height: 44px; border-radius: 10px; }
.caption-pair { background: var(--blue-950); }
.sefer-feature { border-radius: 16px; padding: 36px 50px; }
.sefer-feature p { color: var(--muted); font-size: 15px; }
.sefer-feature .image-credit { color: var(--muted); font-size: 12px; }
.radio-home .install-section, .radio-home .support-strip { gap: 24px; padding: 30px 0; }
.radio-home .install-section p, .radio-home .support-strip p { font-size: 14px; line-height: 1.7; }
.site-footer, .radio-home .site-footer { background: #eff4f2; color: var(--ink); border-top: 1px solid var(--line); padding: 36px max(28px, calc((100vw - var(--page-width))/2)); gap: 32px; }
.site-footer p, .radio-home .site-footer p { color: var(--muted); font-size: 13px; max-width: 420px; }
.site-footer nav, .radio-home .site-footer nav { font-size: 13px; gap: 8px 22px; }
.site-footer a { color: var(--blue-950); }
.site-footer nav a { display: inline-flex; min-height: 36px; align-items: center; }
.footer-brand { padding: 0; }
.sponsor-bar, .radio-home .sponsor-bar { position: static; padding: 26px max(28px, calc((100vw - var(--page-width))/2)); border: 0; border-top: 1px solid var(--line); background: #eff4f2; box-shadow: none; }
.sponsor-bar-inner, .radio-home .sponsor-bar-inner { width: 100%; max-width: var(--page-width); margin: auto; padding: 0; flex-wrap: wrap; gap: 22px; }
.sponsor-copy { display: grid; flex-shrink: 0; }
.sponsor-copy strong, .radio-home .sponsor-copy strong { color: var(--ink); font-size: 13px; white-space: normal; }
.sponsor-kicker { color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.sponsor-logo-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); flex: 1; overflow: visible; gap: 12px; min-width: 0; }
.sponsor-logo, .radio-home .sponsor-logo { display: flex; flex-direction: column; align-items: center; gap: 8px; width: auto; min-width: 0; height: auto; padding: 12px 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: none; color: var(--ink); font-size: 11px; white-space: normal; text-align: center; }
.sponsor-image-frame { width: 84px; height: 38px; flex: 0 0 38px; border: 0; border-radius: 0; background: #fff; }
.sponsor-image-frame img { width: 84px; height: 38px; max-width: 100%; max-height: 38px; object-fit: contain; }
.sponsor-logo > span:last-child { display: block; font-size: 11px; }
.sponsor-logo[href] { text-decoration: none; }
.sponsor-logo[href]:hover, .sponsor-logo[href]:focus-visible { border-color: var(--ink); background: #f6f3eb; }
.sponsor-logo[href]:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sponsor-offer { flex-basis: 100%; justify-content: flex-end; }
.sponsor-partner-link { background: var(--blue-950); color: #fff; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.donate-hero, .studio-hero { background: #fafbf9; }
.donate-copy h1, .studio-hero h1 { font-weight: 400; font-size: clamp(38px, 4.4vw, 60px); line-height: 1.12; letter-spacing: -.025em; }
.donate-copy p { font-size: 17px; line-height: 1.75; }
.donation-panel, .partner-sponsorship-card { background: var(--blue-950); box-shadow: none; border-radius: 16px; }
.donation-panel strong { font-weight: 400; line-height: 1.25; }
.partner-sponsorship-section h2, .donation-embed-heading h2, .studio-section h2 { font-size: 32px; font-weight: 400; line-height: 1.2; }
.partner-sponsorship-section p { font-size: 16px; line-height: 1.7; }
.studio-status, .studio-card, .donation-frame-shell { border-radius: 16px; box-shadow: none; }
.partner-sponsorship-card .button-primary { color: var(--blue-950); background: #fff; border-color: #fff; }
.privacy-page main.schedule-section { display: block; max-width: 880px; min-height: 60vh; margin: auto; padding: 56px 28px; }
.privacy-page h1 { font: 400 44px/1.2 Georgia, serif; }
.privacy-page .section-heading p { font-size: 16px; line-height: 1.8; margin-top: 24px; }
.speak-page header.bar { background: var(--blue-950); }
.speak-page header.bar img { width: 44px; height: 44px; border-radius: 50%; }
.speak-page header.bar strong { font: 400 22px/1.2 Georgia, serif; }
.speak-page .btn-live:not([disabled]) { background: var(--blue-950); }
@media (max-width: 1100px) {
  .site-header, .radio-home .site-header { gap: 20px; }
  .top-nav, .radio-home .top-nav { gap: 16px; font-size: 13px; }
  .brand strong, .radio-home .brand strong { font-size: 19px; }
  .broadcast-grid { grid-template-columns: minmax(0, 1.45fr) minmax(290px, 1fr); gap: 20px; }
  .watch-panel { padding: 18px; }
  .video-welcome { gap: 10px; padding: 16px; }
  .video-welcome img { width: 48px; height: 48px; }
  .video-welcome p { font-size: 24px; }
  .sponsor-copy { flex-basis: 100%; }
}
@media (max-width: 850px) {
  .site-header, .radio-home .site-header { grid-template-columns: minmax(0, 1fr) auto; position: relative; padding: 16px 24px; gap: 12px; }
  .site-header .top-nav, .radio-home .top-nav { grid-column: 1/-1; grid-row: 2; display: flex; justify-content: flex-start; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 6px; gap: 8px 24px; }
  .header-actions, .site-header > .listen-shortcut { grid-column: 2; grid-row: 1; }
  .hebrew-date { display: none; }
  .broadcast-grid, .daily-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .video-welcome p { font-size: 30px; }
  .video-welcome img { width: 62px; height: 62px; }
  .audio-heading { padding: 24px 24px 0; }
  .audio-heading h2 { display: inline; margin-right: 10px; }
  .audio-heading .section-kicker { display: block; margin-bottom: 8px; }
  .audio-heading p { display: inline; }
  .radio-home .hero, .daily-grid, .radio-home .classes-section, .sefer-feature, .radio-home .install-section, .radio-home .support-strip { margin-left: 24px; margin-right: 24px; }
  .donate-hero, .studio-hero, .donation-section, .partner-sponsorship-section { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .studio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer, .radio-home .site-footer { grid-template-columns: minmax(0, 1fr); padding: 30px 24px; }
  .sponsor-bar, .radio-home .sponsor-bar { padding: 24px; }
}
@media (max-width: 540px) {
  .site-header, .radio-home .site-header { padding: 16px; }
  .brand, .radio-home .brand { gap: 9px; }
  .brand-mark, .radio-home .brand-mark { width: 40px; height: 40px; }
  .brand strong, .radio-home .brand strong { font-size: 17px; }
  .brand small, .radio-home .brand small { font-size: 11px; }
  .site-header .listen-shortcut { padding: 0 12px; font-size: 13px; }
  .site-header .listen-shortcut svg { display: none; }
  .site-header .top-nav, .radio-home .top-nav { gap: 4px 22px; font-size: 13px; }
  .radio-home .hero, .daily-grid, .radio-home .classes-section, .sefer-feature, .radio-home .install-section, .radio-home .support-strip { margin-left: 16px; margin-right: 16px; }
  .radio-home .hero { padding-top: 30px; }
  .radio-home .hero h1 { font-size: 40px; }
  .radio-home .hero-lede { font-size: 15px; line-height: 1.75; }
  .listening-choices { gap: 8px; }
  .radio-home .listening-choices .button { flex: 1 1 auto; padding: 11px 12px; font-size: 13px; gap: 8px; }
  .watch-panel { padding: 14px; }
  .watch-heading h2 { font-size: 23px; }
  .watch-heading .moon-phase { display: flex; }
  .moon-phase .moon-label { display: none; }
  .live-video-stage { min-height: 200px; }
  .video-welcome { gap: 8px; padding: 12px; }
  .video-welcome img { width: 42px; height: 42px; }
  .video-welcome p { font-size: 23px; }
  .watch-footer { gap: 8px; }
  .watch-footer p { font-size: 12px; }
  .watch-footer .text-button, .watch-footer a { font-size: 12px; padding: 8px; }
  .audio-heading { padding: 22px 20px 0; }
  .radio-home .player-panel { padding: 18px 20px 20px; }
  .radio-home .schedule-section, .radio-home .local-times-card, .radio-home .class-browser { padding: 20px; }
  .radio-home .schedule-list article { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; }
  .radio-home .local-times-head { gap: 16px; }
  .location-search > div { grid-template-columns: minmax(0, 1fr); }
  .location-search .location-button { width: 100%; }
  .radio-home .section-heading h2, .radio-home .local-times-head h2 { font-size: 26px; }
  .class-picker-fields { gap: 20px; }
  .sefer-feature { padding: 24px; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; }
  .sefer-image img { width: 72px; }
  .sefer-feature h2 { font-size: 26px; }
  .sefer-feature p { font-size: 14px; }
  .sefer-feature .quiet-link { white-space: normal; }
  .radio-home .install-section, .radio-home .support-strip { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .site-footer, .radio-home .site-footer { padding: 28px 20px; }
  .sponsor-bar, .radio-home .sponsor-bar { padding: 24px 20px; }
  .sponsor-logo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sponsor-logo > span:last-child { display: block; }
  .studio-grid { grid-template-columns: minmax(0, 1fr); }
  .donation-embed-heading { flex-direction: column; align-items: start; gap: 16px; }
}
@media (max-width: 360px) {
  .site-header, .radio-home .site-header { padding: 12px; }
  .brand strong, .radio-home .brand strong { font-size: 15px; }
  .radio-home .hero h1 { font-size: 35px; }
  .site-header .listen-shortcut { padding: 0 10px; }
  .radio-home .hero, .daily-grid, .radio-home .classes-section, .sefer-feature, .radio-home .install-section, .radio-home .support-strip { margin-left: 12px; margin-right: 12px; }
  .sefer-feature { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Compact, automatically refreshed broadcast queue. */
.upcoming-panel { margin-top: 24px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.upcoming-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.upcoming-heading h2 { margin: 7px 0 0; font: 400 28px/1.2 Georgia, serif; color: var(--ink); }
.upcoming-heading a { font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; }
.upcoming-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 22px 0 0; }
.upcoming-list li { border-top: 2px solid #c8dcd5; padding-top: 16px; min-width: 0; }
.upcoming-list li > div:first-child { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 10px; }
.upcoming-list span { font-size: 10px; font-weight: 700; letter-spacing: .09em; color: #536e64; }
.upcoming-list time { color: var(--ink); font-size: 13px; font-weight: 600; }
.upcoming-list h3 { margin: 0; font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.upcoming-list p { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 5px 0 0; }
#upcoming-status { margin: 20px 0 0; font-size: 12px; color: var(--muted); line-height: 1.65; }
@media (max-width: 680px) {
  .upcoming-panel { padding: 20px; }
  .upcoming-list { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .upcoming-list li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 14px; }
  .upcoming-list li > div:first-child { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 5px; }
}

/* A quiet family remembrance, separate from listening and donation controls. */
.memorial-section {
  max-width: var(--page-width); margin: 0 auto 42px; padding: 32px 38px;
  display: grid; grid-template-columns: 68px minmax(0, 760px); gap: 28px;
  align-items: start; border: 1px solid #e2e3da; border-radius: 16px;
  background: #f6f5f0; color: var(--ink);
}
.memorial-mark {
  width: 68px; height: 82px; display: grid; place-items: center;
  border: 1px solid #d8ddd6; border-radius: 34px 34px 12px 12px;
  color: #647d72; background: #eff1e9;
}
.memorial-mark svg { width: 35px; height: 49px; }
.memorial-copy { min-width: 0; }
.memorial-copy h2 { margin: 9px 0 5px; font: 400 30px/1.2 Georgia, serif; }
.memorial-copy p { font-size: 14px; line-height: 1.75; }
.memorial-copy .memorial-hebrew-name { margin: 0 0 17px; color: var(--muted); font-size: 13px; }
.memorial-dedication { max-width: 670px; margin: 0; }
.memorial-copy .memorial-blessing { margin: 10px 0 0; font: italic 16px/1.6 Georgia, serif; color: #506b61; }
.memorial-memories { margin-top: 18px; border-top: 1px solid #dddfd6; padding-top: 3px; }
.memorial-memories summary { min-height: 44px; padding: 12px 0; color: var(--blue-950); font-size: 13px; font-weight: 600; cursor: pointer; }
.memorial-memories p { margin: 4px 0 8px; color: var(--muted); }
.memorial-recording-link { display: inline-block; padding: 10px 0; min-height: 44px; font-size: 13px; color: var(--blue-950); text-underline-offset: 4px; }
.memorial-memories small { display: block; font-size: 11px; line-height: 1.6; color: var(--muted); margin-top: 2px; }
@media (max-width: 1400px) { .memorial-section { margin-left: 32px; margin-right: 32px; } }
@media (max-width: 850px) { .memorial-section { margin-left: 24px; margin-right: 24px; padding: 28px; gap: 22px; } }
@media (max-width: 540px) {
  .memorial-section { margin: 0 16px 32px; padding: 24px 20px; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
  .memorial-mark { width: 40px; height: 56px; border-radius: 22px 22px 9px 9px; }
  .memorial-mark svg { width: 26px; height: 39px; }
  .memorial-copy h2 { font-size: 26px; }
  .memorial-copy .section-kicker { font-size: 10px; }
  .memorial-copy p { font-size: 13px; }
}
@media (max-width: 360px) { .memorial-section { margin-left: 12px; margin-right: 12px; padding: 22px 16px; gap: 12px; } }

/* Keep local times compact when the inactive live timetable is absent. */
@media (min-width: 951px) {
  .radio-home .zmanim-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Group secondary actions after the learning content. */
.station-actions { max-width: var(--page-width); margin: 0 auto 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.radio-home .station-actions > section { margin: 0; padding: 24px 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.radio-home .station-actions h2 { font-size: 24px; }
.radio-home .station-actions .button { margin-top: auto; }
@media (max-width: 1400px) { .station-actions { margin-left: 32px; margin-right: 32px; } }
@media (max-width: 850px) { .station-actions { margin-left: 24px; margin-right: 24px; } }
@media (max-width: 740px) { .station-actions { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
@media (max-width: 540px) { .station-actions { margin-left: 16px; margin-right: 16px; } .radio-home .station-actions > section { padding: 22px 20px; } }
@media (max-width: 360px) { .station-actions { margin-left: 12px; margin-right: 12px; } }

.radio-home .daily-grid .local-times-card { max-width: none; width: 100%; gap: 8px; }
.radio-home .daily-grid .shabbos-settings { margin: 8px 0; }
.radio-home .daily-grid .shabbos-settings:not([open]) summary { margin-bottom: 0; }

.contact-section { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin: 24px 0; padding: clamp(20px, 4vw, 36px); border: 1px solid var(--line); border-radius: 16px; background: #f0f6fb; scroll-margin-top: 24px; }
.contact-section h2 { margin: 8px 0; }
.contact-section p { max-width: 540px; color: var(--muted); line-height: 1.6; }
.contact-options { display: grid; gap: 12px; justify-items: start; min-width: 0; }
.contact-address { color: var(--ink); font-size: .9rem; overflow-wrap: anywhere; }
.gratitude-note { margin-top: 24px; max-width: 560px; line-height: 1.8; }

/* Compact local times, available immediately in the upper-right corner. */
.radio-home .site-header { grid-template-columns: minmax(240px, 1fr) auto auto; gap: 20px; }
.header-zmanim { position: relative; width: 210px; flex: 0 0 auto; }
.header-zmanim > summary { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; list-style: none; font-size: 13px; line-height: 1.5; }
.header-zmanim > summary::-webkit-details-marker { display: none; }
.header-zmanim > summary strong { color: var(--ink); }
#zmanim-preview { font-size: 11px; color: var(--muted); }
.radio-home .header-zmanim-panel { position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; width: min(430px, calc(100vw - 32px)); max-height: min(72vh, 660px); overflow: auto; overscroll-behavior: contain; padding: 20px; box-shadow: 0 12px 40px #17334620; }
.radio-home .header-zmanim-panel .local-times-head { gap: 12px; }
.radio-home .header-zmanim-panel .local-times-head h2 { font-size: 23px; }
.radio-home .header-zmanim-panel .zmanim-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.radio-home .header-zmanim-panel .shabbos-settings { margin: 12px 0; }
.radio-home .top-nav .mobile-donate { display: none; }
@media (max-width: 1250px) {
  .radio-home .site-header { grid-template-columns: minmax(0, 1fr) auto; }
  .radio-home .site-header .top-nav { grid-column: 1/-1; grid-row: 2; justify-content: flex-start; flex-wrap: wrap; }
  .radio-home .header-actions { grid-column: 2; grid-row: 1; }
}
@media (max-width: 850px) {
  .radio-home .header-actions { display: flex; }
  .radio-home .header-actions > .listen-shortcut { display: none; }
  .radio-home .top-nav .mobile-donate { display: inline-flex; }
  .header-zmanim { position: static; width: 154px; }
  .header-zmanim > summary { padding: 8px 10px; font-size: 12px; }
  .radio-home .header-zmanim-panel { right: 16px; }
}
@media (max-width: 390px) { .header-zmanim { width: 140px; } .radio-home .site-header { gap: 12px; } }
@media (max-width: 540px) { .radio-home .site-header .top-nav { gap: 4px 14px; } }

.broadcast-status { display:flex; align-items:center; gap:14px; max-width:1320px; margin:18px auto 0; padding:16px 20px; border:1px solid #c7d9e6; border-radius:14px; background:#eaf2f8; color:#173e60; }
.broadcast-status strong { display:block; font-size:16px; letter-spacing:.025em; }
.broadcast-status p { margin:4px 0 0; font-size:12px; line-height:1.6; }
.broadcast-status-dot { width:13px;height:13px;border-radius:50%;background:currentColor;flex-shrink:0; }
.broadcast-status[data-mode=live] { background:#fff0ee; color:#a32323; border-color:#edb5b0; box-shadow:inset 4px 0 #ba302a; }
.broadcast-status[data-mode=unknown] { background:#fff7e7; color:#805d17; border-color:#e5d4a9; }
.broadcast-status[data-mode=offline] { background:#f1f3f4; color:#526570; }
@media(max-width:1400px){.broadcast-status{margin-inline:32px;}}@media(max-width:700px){.broadcast-status{margin:14px 16px 0;padding:14px;}.broadcast-status strong{font-size:14px;}}

.radio-home .header-actions>.quick-listen{display:inline-flex;align-items:center;justify-content:center;background:#163d55;color:#fff;border-color:#163d55;cursor:pointer;min-width:100px;}.quick-listen:disabled{opacity:.55;cursor:default;}

.programming-panel { margin:24px 0; border:1px solid #c7d6e7; border-radius:18px; background:#f4f8fd; padding:20px 24px; }
.programming-panel summary { display:flex; align-items:center; justify-content:space-between; gap:16px; cursor:pointer; min-height:44px; }
.programming-panel summary strong { font-size:1.2rem; color:#17395f; }
.programming-panel summary small { display:block; color:#4e657e; margin-top:5px; }
.programming-panel p { color:#3c536b; line-height:1.6; }
.programming-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:0; list-style:none; }
.programming-grid li { display:grid; gap:6px; padding:14px; background:white; border-radius:10px; border:1px solid #dae4ef; }
.programming-grid span { font-size:.85rem; color:#476483; }
.programming-grid strong { color:#17395f; font-size:.96rem; }
.programming-note { font-size:.88rem; }
@media(max-width:600px) { .programming-grid { grid-template-columns:1fr; } .programming-panel { padding:16px; } }
