:root {
  --navy: #07143b;
  --blue: #193778;
  --ktrh-blue: #2a3191;
  --ktrh-bright-blue: #0055b7;
  --ktrh-green: #46815a;
  --ktrh-light-green: #62aa7b;
  --red: #c90019;
  --red-dark: #9f0014;
  --gold: #f4c54d;
  --teal: #46815a;
  --ink: #171b25;
  --muted: #626b78;
  --line: #dfe4ed;
  --paper: #f7f8fb;
  --white: #ffffff;
  --shadow: 0 14px 34px rgba(7, 20, 59, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "logo nav actions";
  align-items: center;
  gap: 24px;
  min-height: 92px;
  padding: 10px clamp(18px, 5vw, 74px);
  border-bottom: 1px solid rgba(7, 20, 59, 0.1);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
}

.logo {
  grid-area: logo;
  display: inline-flex;
  align-items: center;
}

.logo img {
  width: clamp(94px, 9vw, 130px);
}

.primary-nav {
  grid-area: nav;
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.header-actions {
  grid-area: actions;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.mobile-call-button {
  grid-area: call;
  display: none;
}

.primary-nav a,
.call-in-link,
.cart-button,
.menu-toggle,
.button,
.search-row button,
.directory-controls button,
.text-link,
.store-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 900;
}

.primary-nav a {
  padding: 0 13px;
  color: var(--navy);
}

.primary-nav a:hover {
  background: rgba(201, 0, 25, 0.08);
}

.call-in-link {
  flex-direction: column;
  align-items: flex-start;
  min-height: 50px;
  padding: 7px 14px;
  color: var(--white);
  background: var(--navy);
  line-height: 1.05;
}

.call-in-link span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.call-in-link strong {
  color: var(--white);
  font-size: 16px;
  font-weight: 950;
}

.call-in-link:hover {
  background: #15244a;
}

.primary-nav a.cart-link {
  display: none;
}

.primary-nav a.cart-link:hover {
  background: var(--red-dark);
}

.cart-button,
.menu-toggle,
.button.primary,
.search-row button {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 28px rgba(201, 0, 25, 0.22);
}

.cart-button {
  padding: 0 16px;
}

.menu-toggle {
  display: none;
  border: 0;
  padding: 0 14px;
  cursor: pointer;
}

main {
  padding: 30px clamp(18px, 5vw, 74px) 84px;
}

.hero,
.content-band,
.footer {
  width: min(1240px, 100%);
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(370px, 0.85fr);
  gap: 20px;
  align-items: stretch;
}

.hero-copy,
.broadcast-card,
.content-band {
  border: 1px solid rgba(7, 20, 59, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 430px;
  padding: clamp(28px, 4.8vw, 54px);
  color: var(--white);
  background: var(--navy);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy .eyebrow,
.sponsor-band .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.9;
}

.hero-logo {
  display: flex;
  width: 100%;
  max-width: none;
  margin: 0 0 26px;
  align-items: center;
  justify-content: center;
}

.hero-logo img {
  display: block;
  width: min(100%, 620px);
  max-height: 680px;
  margin-inline: auto;
  object-fit: contain;
  border-radius: 8px;
  background: var(--white);
}

.lede {
  max-width: 590px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.48;
}

.button {
  min-width: 152px;
  padding: 0 18px;
  border: 0;
  font-size: 18px;
  cursor: pointer;
}

.button.secondary {
  color: var(--white);
  background: var(--ktrh-green);
}

.button.danger {
  color: var(--white);
  background: var(--red-dark);
}

.broadcast-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 12px;
  min-height: 430px;
  padding: clamp(18px, 3vw, 30px);
  background: var(--white);
}

.live-strip {
  display: grid;
  align-content: stretch;
  gap: 8px;
  min-height: 150px;
  padding: 0;
  color: var(--navy);
  background: transparent;
}

.live-strip > span,
.quick-links span,
.sponsor-empty span,
.result-count {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.live-strip > span {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0 2px;
  color: var(--red);
}

.live-strip small {
  color: rgba(255, 255, 255, 0.78);
  font: inherit;
  text-transform: none;
}

.live-strip strong {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 126px;
  padding: 18px clamp(14px, 2vw, 20px);
  border-radius: 8px;
  background: var(--red);
  font-size: clamp(38px, 3.1vw, 42px);
  line-height: 0.94;
}

.live-strip .time-value {
  display: block;
  width: 100%;
  margin: 0;
  color: var(--white);
  font: inherit;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
  white-space: nowrap;
}

.live-strip .time-zone {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--white);
  background: transparent;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.live-times {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.live-times strong + strong {
  border-left: 0;
  box-shadow: none;
}

.email-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 16px 18px;
  border-radius: 8px;
  color: var(--white);
  background: #344463;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.email-tile strong {
  display: block;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.04;
  text-align: center;
  text-transform: uppercase;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(92px, 1fr));
  gap: 10px;
}

.quick-links a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--white);
  background: var(--ktrh-bright-blue);
}

.quick-links a:nth-child(2) {
  color: var(--white);
  background: var(--navy);
}

.quick-links a:nth-child(3) {
  color: var(--navy);
  background: var(--gold);
  border-color: rgba(7, 20, 59, 0.08);
}

.quick-links a:nth-child(4) {
  color: var(--white);
  background: var(--ktrh-green);
}

.quick-links span {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  text-transform: none;
}

.quick-links a:nth-child(3) span {
  color: rgba(7, 20, 59, 0.68);
}

.quick-links strong {
  display: block;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.04;
  text-transform: uppercase;
}

.content-band {
  margin-top: 20px;
  padding: clamp(22px, 3.6vw, 34px);
  background: var(--white);
  scroll-margin-top: 106px;
}

.sponsor-band {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.12);
  background: var(--navy);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.section-heading h2 {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
}

.sponsor-band .section-heading h2 {
  color: var(--white);
}

.text-link {
  flex: 0 0 auto;
  min-width: 126px;
  padding: 0 16px;
  border: 0;
  color: var(--white);
  background: var(--red);
  cursor: pointer;
}

.sponsor-band .text-link {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.directory-shell {
  display: grid;
  gap: 14px;
  padding: clamp(14px, 2.4vw, 20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #f7f9fd;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: clamp(14px, 2vw, 18px);
  border: 3px solid var(--gold);
  border-radius: 8px;
  background: var(--white);
  box-shadow:
    0 18px 36px rgba(7, 20, 59, 0.13),
    0 0 0 6px rgba(244, 197, 77, 0.14);
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.search-row:focus-within {
  border-color: var(--red);
  box-shadow:
    0 18px 36px rgba(7, 20, 59, 0.14),
    0 0 0 6px rgba(201, 0, 25, 0.14);
}

.search-label {
  grid-column: 1 / -1;
  color: var(--navy);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.search-help {
  grid-column: 1 / -1;
  max-width: 980px;
  margin: -4px 0 2px;
  color: #42506a;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.search-row input {
  min-width: 0;
  min-height: 64px;
  padding: 0 20px;
  border: 2px solid #aab7c9;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font-size: 20px;
  font-weight: 850;
  box-shadow: inset 0 1px 0 rgba(7, 20, 59, 0.04);
}

.search-row input::placeholder {
  color: #4f5b6d;
  opacity: 1;
}

.search-row input:focus {
  border-color: var(--red);
  outline: 3px solid rgba(201, 0, 25, 0.16);
  outline-offset: 1px;
}

.search-row button {
  min-width: 156px;
  min-height: 64px;
  border: 0;
  font-size: 20px;
  box-shadow: 0 12px 24px rgba(201, 0, 25, 0.2);
}

@media (max-width: 720px) {
  body.sponsor-search-locked .search-row {
    position: sticky;
    top: 0;
    z-index: 40;
  }
}

.directory-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 0;
  border: 1px solid #dfe4ed;
  border-radius: 8px;
  background: var(--white);
}

.view-controls {
  padding: 12px;
}

.optional-filter {
  display: none !important;
}

.directory-controls label {
  display: grid;
  gap: 6px;
}

.directory-controls label.is-disabled {
  opacity: 0.58;
}

.directory-controls label span {
  color: var(--navy);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.view-hint {
  margin: 0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.directory-controls select {
  min-height: 44px;
  width: 100%;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font-weight: 800;
}

.view-toggle {
  display: grid;
  grid-template-columns: repeat(2, 86px);
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.view-toggle button,
.clear-filters,
.more-results button {
  min-height: 44px;
  border: 1px solid #cbd3df;
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  font-weight: 900;
  cursor: pointer;
  box-shadow: none;
}

.view-toggle button,
.clear-filters {
  min-width: 86px;
}

.view-toggle button.is-active,
.more-results button {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.clear-filters {
  padding: 0 16px;
}

.result-count {
  margin: 0;
  color: #4f5b6d;
}

.sponsor-footer-link {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.sponsor-footer-link .text-link {
  min-width: 190px;
}

.sponsor-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.sponsor-list.list-view {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sponsor-list article {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid #dfe4ed;
  border-radius: 8px;
  background: var(--white);
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.sponsor-list.list-view article {
  min-height: 0;
}

.sponsor-list article[hidden] {
  display: none;
}

.sponsor-list article:hover,
.sponsor-list article.is-expanded {
  border-color: rgba(201, 0, 25, 0.28);
  box-shadow: 0 10px 22px rgba(7, 20, 59, 0.08);
}

.sponsor-card-toggle {
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 86px;
  padding: 14px 14px 10px;
  border: 0;
  color: var(--navy);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.sponsor-card-name {
  display: block;
  margin-bottom: 0;
  color: var(--navy);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.08;
  text-transform: none;
}

.sponsor-card-phone {
  display: block;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
  text-transform: none;
}

.sponsor-card-cue {
  display: block;
  margin-bottom: 0;
  color: var(--red);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.sponsor-card-website {
  justify-self: start;
  margin: 0 14px 14px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 950;
  text-decoration: underline;
  text-decoration-color: rgba(201, 0, 25, 0.72);
  text-underline-offset: 4px;
  white-space: nowrap;
}

.sponsor-card-website.is-disabled {
  color: var(--muted);
  text-decoration: none;
}

.sponsor-details {
  display: grid;
  gap: 10px;
  padding: 12px 14px 14px;
  border-top: 1px solid #e8edf5;
  background: #fbfcff;
}

.sponsor-details[hidden] {
  display: none;
}

.sponsor-details p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.sponsor-details dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.sponsor-details div {
  display: grid;
  gap: 2px;
}

.sponsor-details dt {
  color: var(--red);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.sponsor-details dd {
  margin: 0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.3;
}

.sponsor-empty {
  grid-column: 1 / -1;
  padding: 18px;
}

.sponsor-empty span {
  color: var(--red);
}

.sponsor-empty h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 21px;
}

.sponsor-empty p {
  margin-bottom: 0;
  color: var(--muted);
}

.more-results {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.more-results button {
  min-width: 126px;
  padding: 0 18px;
}

.more-results span {
  color: #4f5b6d;
  font-size: 13px;
  font-weight: 850;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  min-height: 388px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: contain;
  background: var(--white);
}

.product-card span {
  display: block;
  margin: 14px 0 6px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.15;
}

.product-card strong {
  color: var(--red);
  font-size: 18px;
}

.store-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.store-links a {
  min-height: 58px;
  padding: 0 14px;
  color: var(--white);
  background: var(--navy);
}

.store-links a:nth-child(2) {
  background: var(--red);
}

.store-links a:nth-child(3) {
  background: var(--teal);
}

.footer {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 30px 0 0;
  color: var(--muted);
  font-weight: 850;
}

.footer a:hover {
  color: var(--red);
}

.media-dock {
  position: fixed;
  z-index: 40;
  right: clamp(10px, 3vw, 28px);
  bottom: 12px;
  left: clamp(10px, 3vw, 28px);
  width: min(1120px, calc(100% - 20px));
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(7, 20, 59, 0.14);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 18px 46px rgba(7, 20, 59, 0.22);
}

.media-dock[data-player-kind="live"][data-player-state="open"] {
  width: min(960px, calc(100% - 20px));
}

.media-dock[data-player-state="minimized"],
.media-dock[data-player-state="collapsed"] {
  left: auto;
  width: min(470px, calc(100% - 20px));
}

.media-dock[data-player-state="minimized"] [data-player-open],
.media-dock[data-player-state="minimized"] #media-open-link,
.media-dock[data-player-state="collapsed"] #media-open-link,
.media-dock[data-player-state="collapsed"] #media-close {
  display: none;
}

.media-dock[data-player-state="minimized"] .media-dock-bar {
  display: flex;
  gap: 8px;
  padding: 6px 8px;
}

.media-dock[data-player-state="minimized"] .media-dock-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.media-dock[data-player-state="minimized"] .media-dock-copy span {
  margin-bottom: 0;
  font-size: 10px;
}

.media-dock[data-player-state="minimized"] .media-dock-copy strong {
  font-size: 13px;
}

.media-dock[data-player-state="minimized"] .media-dock-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
  width: auto;
  flex-wrap: nowrap;
}

.media-dock[data-player-state="minimized"] .media-dock-actions button {
  width: auto;
  min-height: 30px;
  padding: 0 9px;
  border-radius: 7px;
  font-size: 12px;
}

.media-dock[data-player-state="minimized"] .media-frame-wrap {
  position: static;
  width: auto;
  height: auto;
  overflow: hidden;
  padding: 3px;
  opacity: 1;
  pointer-events: auto;
}

.media-dock[data-player-state="minimized"] .media-frame-wrap iframe {
  height: 78px;
}

.media-dock-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
}

.media-dock-copy {
  min-width: 0;
}

.media-dock-copy span {
  display: block;
  margin-bottom: 2px;
  color: var(--red);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.media-dock-copy strong {
  display: block;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-dock-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.media-dock-actions button,
.media-dock-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #cbd3df;
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.media-dock-actions button.is-active,
.media-dock-actions a:hover {
  color: var(--white);
  border-color: var(--navy);
  background: var(--navy);
}

#media-close {
  color: var(--muted);
}

.media-frame-wrap {
  padding: 8px;
  border-top: 1px solid var(--line);
  background: #050d2a;
}

.media-dock[data-player-kind="live"] .media-frame-wrap {
  padding: 6px;
}

.media-frame-wrap iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: #050d2a;
}

.media-dock[data-player-kind="live"] .media-frame-wrap iframe {
  height: 118px;
}

.media-dock[data-player-kind="podcast"] .media-frame-wrap iframe {
  height: min(500px, 58vh);
}

.media-dock[data-player-kind][data-player-state="minimized"] .media-frame-wrap iframe {
  height: 78px;
}

.admin-body {
  background: #e8eef5;
}

.admin-main {
  padding-bottom: 80px;
}

.admin-header {
  grid-template-columns: auto 1fr auto;
}

.admin-panel h1 {
  max-width: 920px;
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 0.98;
}

.admin-lede {
  max-width: 820px;
  margin: 0;
  color: #4f5b6d;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.45;
}

.admin-auth-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 0.65fr);
  gap: 28px;
  align-items: center;
}

.admin-auth-panel h2 {
  max-width: 560px;
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1;
}

.admin-auth-panel p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
}

.admin-login-form {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.admin-login-form label {
  display: grid;
  gap: 7px;
}

.admin-login-form span {
  color: var(--navy);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-login-form input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}

.admin-login-form input:focus {
  outline: 3px solid rgba(25, 55, 120, 0.16);
  border-color: var(--blue);
}

.admin-login-form .button {
  width: 100%;
}

.admin-password-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.admin-intro .admin-password-panel {
  margin-top: 20px;
  margin-bottom: 0;
}

.admin-password-panel strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 16px;
}

.admin-password-panel span {
  display: block;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
}

.password-requirements {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 14px;
  margin: 12px 0 0;
  padding-left: 18px;
  color: #4f5b6d;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.admin-password-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
}

.admin-password-form label {
  display: grid;
  gap: 7px;
}

.admin-password-form label span {
  color: var(--navy);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-password-form input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.admin-password-form input:focus {
  outline: 3px solid rgba(25, 55, 120, 0.16);
  border-color: var(--blue);
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.inline-sponsor-editor {
  display: grid;
  gap: 14px;
}

.inline-sponsor-editor label,
.admin-toolbar label span {
  color: var(--navy);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.admin-summary div,
.admin-toolbar,
.form-section {
  border: 1px solid #c9d5e2;
  border-radius: 8px;
  background: #f8fbfd;
}

.admin-summary div {
  padding: 16px;
  border-left: 5px solid #344764;
}

.admin-summary span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-summary strong {
  color: var(--navy);
  font-size: 34px;
  line-height: 1;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) 1fr;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
  padding: 18px;
  border-color: #9fb5ca;
  border-left: 6px solid var(--blue);
  background: #e7f0f7;
  box-shadow: 0 10px 22px rgba(7, 20, 59, 0.08);
}

.admin-toolbar label {
  display: grid;
  gap: 7px;
}

.admin-toolbar p {
  margin: 0;
  color: #344764;
  font-weight: 850;
  line-height: 1.35;
}

.form-section {
  padding: 18px;
}

.form-section h3 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 23px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.full-span {
  grid-column: 1 / -1;
}

.inline-sponsor-editor input,
.inline-sponsor-editor select,
.inline-sponsor-editor textarea,
.admin-toolbar input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.admin-toolbar input {
  min-height: 54px;
  border: 2px solid #344764;
  background: #ffffff;
  font-size: 16px;
  font-weight: 750;
  box-shadow: inset 0 1px 0 rgba(7, 20, 59, 0.04);
}

.admin-toolbar input::placeholder {
  color: #59677b;
  opacity: 1;
}

.inline-sponsor-editor input:focus,
.inline-sponsor-editor select:focus,
.inline-sponsor-editor textarea:focus,
.admin-toolbar input:focus {
  outline: 3px solid rgba(25, 55, 120, 0.16);
  border-color: var(--blue);
}

.field-help {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.keyword-manager {
  display: grid;
  gap: 10px;
}

.keyword-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.keyword-input-row .button {
  min-width: 136px;
  border: 0;
}

.keyword-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 38px;
  align-items: center;
}

.keyword-chips p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.keyword-chips button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(7, 20, 59, 0.16);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  font-weight: 850;
  cursor: pointer;
}

.keyword-chips strong {
  color: var(--red);
}

.admin-actions {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto;
  align-items: end;
  gap: 12px;
  padding: 2px 0 0;
}

.admin-actions > div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.admin-save-actions {
  justify-self: end;
}

.admin-status {
  margin: 22px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid #c8d5e2;
  border-radius: 8px;
  background: #ffffff;
}

.admin-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  background: var(--white);
  table-layout: fixed;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.28;
}

.admin-table th:nth-child(1),
.admin-table td:nth-child(1) {
  width: 108px;
  padding-left: 12px;
  padding-right: 10px;
}

.admin-table th:nth-child(2),
.admin-table td:nth-child(2) {
  width: 32%;
}

.admin-table th:nth-child(3),
.admin-table td:nth-child(3) {
  width: 20%;
}

.admin-table th:nth-child(4),
.admin-table td:nth-child(4) {
  width: 31%;
}

.admin-table th:nth-child(5),
.admin-table td:nth-child(5) {
  width: 88px;
}

.admin-table th {
  color: #344764;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  background: #edf3f8;
}

.admin-table tbody tr:not(.admin-edit-row):not(.is-editing):hover > td {
  background: #f6fafc;
}

.admin-table td strong,
.admin-table td small {
  display: block;
}

.admin-table td strong {
  color: var(--navy);
  font-size: 16px;
  line-height: 1.12;
}

.admin-table td small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.admin-table tr.is-editing > td {
  background: #dbe7f1;
  border-top: 2px solid #9fb5ca;
  border-bottom: 0;
}

.admin-table tr.is-editing > td:first-child {
  box-shadow: inset 6px 0 0 var(--blue);
}

.admin-table button {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.admin-table button.button {
  min-height: 42px;
}

.admin-table .button.primary {
  color: var(--white);
  background: var(--red);
}

.admin-table .button.secondary {
  border: 1px solid #344764;
  color: var(--white);
  background: #344764;
  box-shadow: none;
}

.admin-edit-row > td {
  padding: 0;
  background: #dbe7f1;
}

.inline-sponsor-editor {
  padding: 20px;
  border-top: 0;
  border-bottom: 2px solid #9fb5ca;
  border-left: 6px solid var(--blue);
  background: #dbe7f1;
}

.inline-editor-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.inline-editor-heading strong,
.inline-editor-heading span {
  display: block;
}

.inline-editor-heading strong {
  color: var(--navy);
  font-size: 22px;
  line-height: 1.1;
}

.inline-editor-heading span {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 750;
}

.compact-form {
  border-color: #b9c9d8;
  background: #f7fafc;
  box-shadow: 0 1px 0 rgba(7, 20, 59, 0.04);
}

.compact-form h3 {
  font-size: 18px;
}

.admin-keyword-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.admin-keyword-list span,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.admin-keyword-list span {
  color: var(--navy);
  background: #eef2f7;
}

.admin-keyword-list em {
  color: var(--muted);
  font-style: normal;
  font-weight: 750;
}

.admin-status-cell {
  white-space: nowrap;
}

.status-pill {
  color: var(--white);
  background: var(--ktrh-green);
}

.status-pill.is-inactive,
.status-pill.is-draft {
  color: var(--navy);
  background: var(--gold);
}

.status-pill.is-archived {
  background: var(--muted);
}

.admin-table .status-toggle {
  min-width: 82px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(38, 132, 90, 0.24);
  color: #ffffff;
  background: var(--ktrh-green);
}

.admin-table .status-toggle.is-inactive {
  border-color: rgba(7, 20, 59, 0.18);
  color: var(--white);
  background: #667085;
}

body.has-admin-modal {
  overflow: hidden;
}

.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(7, 20, 59, 0.56);
}

.admin-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 81;
  width: min(520px, calc(100vw - 32px));
  transform: translate(-50%, -50%);
  padding: 24px;
  border: 1px solid #c5d2e0;
  border-radius: 8px;
  color: var(--navy);
  background: #f8fbff;
  box-shadow: 0 30px 90px rgba(7, 20, 59, 0.34);
}

.admin-modal .eyebrow {
  margin: 0 0 8px;
}

.admin-modal h3 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.05;
}

.admin-modal p {
  margin: 0 0 12px;
  color: #344764;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.35;
}

.admin-modal p strong {
  color: var(--navy);
  font-weight: 900;
}

.admin-modal-warning {
  padding: 12px 14px;
  border-left: 5px solid var(--red);
  border-radius: 8px;
  background: #fff4f4;
}

.admin-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.admin-modal .button {
  min-width: 142px;
  box-shadow: none;
}

.admin-modal .button.secondary {
  color: var(--white);
  background: #344764;
}

.button.success {
  color: var(--white);
  background: var(--ktrh-green);
}

@media (max-width: 520px) {
  .admin-modal {
    padding: 18px;
  }

  .admin-modal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-modal .button {
    width: 100%;
  }
}

.admin-row-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.quiet-danger {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(201, 0, 25, 0.28);
  border-radius: 8px;
  color: var(--red-dark);
  background: #fff4f4;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.admin-table .quiet-danger {
  min-height: 36px;
  color: var(--red-dark);
  background: #fff4f4;
}

.admin-danger-zone {
  justify-self: start;
}

.delete-confirm {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  max-width: 720px;
  padding: 12px;
  border: 1px solid rgba(214, 0, 28, 0.28);
  border-radius: 8px;
  background: #fff4f4;
}

.delete-confirm strong,
.delete-confirm span {
  display: block;
}

.delete-confirm strong {
  color: var(--red-dark);
}

.delete-confirm span {
  color: #5c6677;
  font-size: 13px;
  font-weight: 750;
}

.admin-row-actions button[data-action="delete"],
.delete-confirm .button.danger {
  background: var(--red-dark);
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .broadcast-card {
    min-height: auto;
  }

  .broadcast-card {
    grid-template-rows: auto auto auto;
  }

  .sponsor-list,
  .product-grid,
  .directory-controls:not(.view-controls) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .view-toggle,
  .clear-filters {
    grid-column: span 1;
  }
}

@media (max-width: 700px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas:
      "logo call actions"
      "nav nav nav";
    min-height: auto;
    gap: 8px 0;
    padding: 8px 12px;
    align-items: center;
  }

  .logo {
    justify-self: start;
  }

  .logo img {
    width: 82px;
  }

  .header-actions {
    display: inline-flex;
    gap: 0;
    justify-self: end;
  }

  .header-actions .cart-button {
    display: none;
  }

  .header-actions .call-in-link {
    display: none;
  }

  .mobile-call-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 8px;
    border-radius: 8px;
    color: var(--white);
    background: var(--navy);
    line-height: 1;
    white-space: nowrap;
    justify-self: center;
  }

  .mobile-call-button span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .mobile-call-button strong {
    color: var(--white);
    font-size: 12px;
    font-weight: 950;
  }

  .cart-button,
  .menu-toggle {
    min-height: 38px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 14px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-header .primary-nav {
    display: none;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding-top: 4px;
  }

  .site-header.is-menu-open .primary-nav {
    display: grid;
  }

  .site-header .primary-nav a {
    min-height: 38px;
    padding: 0 8px;
    border: 1px solid rgba(7, 20, 59, 0.1);
    background: #f7f8fb;
    font-size: 14px;
  }

  .site-header .primary-nav a.cart-link {
    display: inline-flex;
    color: var(--white);
    border: 0;
    background: var(--red);
  }

  .site-header .primary-nav a.call-in-link {
    display: none;
  }

  .call-in-link span {
    font-size: 11px;
  }

  .call-in-link strong {
    font-size: 17px;
  }

  @media (max-width: 370px) {
    .topbar {
      gap: 8px 0;
      padding-inline: 8px;
    }

    .logo img {
      width: 72px;
    }

    .mobile-call-button {
      padding: 0 6px;
    }

    .mobile-call-button strong {
      font-size: 11px;
    }

    .cart-button,
    .menu-toggle {
      padding: 0 8px;
      font-size: 13px;
    }
  }

  main {
    padding: 16px 12px 42px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-logo {
    margin-bottom: 22px;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .sponsor-list,
  .product-grid,
  .store-links,
  .search-row,
  .directory-controls {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .live-times {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .live-strip {
    align-content: start;
    min-height: auto;
  }

  .live-strip > span {
    align-items: flex-start;
    padding: 0 2px 4px;
    font-size: 11px;
    line-height: 1;
  }

  .live-strip strong {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 82px;
    padding: 0 8px;
    font-size: clamp(31px, 8.4vw, 36px);
  }

  .live-strip .time-zone {
    margin: 0;
    padding: 0;
    font-size: 12px;
  }

  .email-tile {
    min-height: 64px;
    padding: 14px;
  }

  .email-tile strong {
    font-size: 18px;
  }

  .quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(112px, 1fr));
    gap: 8px;
  }

  .quick-links a {
    padding: 12px;
  }

  .quick-links strong {
    font-size: 18px;
    line-height: 1.05;
  }

  .quick-links span {
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.25;
  }

  .sponsor-band {
    padding: 18px;
  }

  .sponsor-band .section-heading h2 {
    font-size: 30px;
    line-height: 1.06;
  }

  .directory-shell {
    gap: 12px;
    padding: 10px;
  }

  .search-row {
    padding: 10px;
  }

  .search-row input,
  .search-row button {
    min-height: 52px;
  }

  .search-row input {
    font-size: 16px;
  }

  .search-help {
    margin-top: -2px;
    font-size: 15px;
    line-height: 1.3;
  }

  .search-row button {
    font-size: 18px;
  }

  .directory-controls {
    gap: 10px;
    padding: 12px;
  }

  .view-controls {
    grid-template-columns: 1fr;
  }

  .view-hint {
    text-align: center;
  }

  .button,
  .text-link,
  .store-links a,
  .search-row button,
  .clear-filters {
    width: 100%;
  }

  .view-toggle {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .view-toggle button {
    min-width: 0;
    width: 100%;
  }

  .sponsor-list.list-view article {
    flex-direction: column;
    align-items: stretch;
  }

  .product-card {
    min-height: auto;
  }

  .media-dock {
    right: 8px;
    bottom: 8px;
    left: 8px;
    width: calc(100% - 16px);
  }

  .media-dock-bar {
    grid-template-columns: 1fr;
  }

  .media-dock-copy strong {
    font-size: 14px;
  }

  .media-dock-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .media-dock-actions button,
  .media-dock-actions a {
    width: 100%;
    min-height: 40px;
    padding: 0 8px;
  }

  .media-dock[data-player-state="minimized"] .media-dock-bar {
    display: flex;
    flex-direction: row;
    gap: 8px;
    padding: 6px 8px;
  }

  .media-dock[data-player-state="minimized"] .media-dock-copy {
    flex: 1 1 auto;
    min-width: 0;
  }

  .media-dock[data-player-state="minimized"] .media-dock-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 6px;
    width: auto;
  }

  .media-dock[data-player-state="minimized"] .media-dock-actions button {
    width: auto;
    min-height: 28px;
    padding: 0 8px;
    font-size: 12px;
  }

  .media-dock[data-player-state="minimized"] .media-frame-wrap {
    padding: 3px;
  }

  .media-dock[data-player-state="minimized"] .media-frame-wrap iframe,
  .media-dock[data-player-kind][data-player-state="minimized"] .media-frame-wrap iframe {
    height: 72px;
  }

  .media-dock[data-player-kind="live"][data-player-state="open"] #media-open-link {
    display: none;
  }

  .media-dock[data-player-kind="live"][data-player-state="open"] .media-dock-bar {
    gap: 8px;
    padding: 8px;
  }

  .media-dock[data-player-kind="live"][data-player-state="open"] .media-dock-actions button {
    min-height: 36px;
  }

  .media-dock[data-player-kind="live"] .media-frame-wrap {
    padding: 5px;
  }

  .media-dock[data-player-kind="live"] .media-frame-wrap iframe {
    height: 92px;
  }

  .media-frame-wrap iframe {
    max-height: 58vh;
  }

  .admin-panel h1 {
    font-size: 36px;
  }

  .admin-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-auth-panel {
    grid-template-columns: 1fr;
  }

  .admin-toolbar,
  .admin-password-panel,
  .form-grid,
  .keyword-input-row {
    grid-template-columns: 1fr;
  }

  .admin-password-form {
    grid-template-columns: 1fr;
  }

  .password-requirements {
    grid-template-columns: 1fr;
  }

  .admin-actions .button {
    width: 100%;
  }

  .admin-actions {
    grid-template-columns: 1fr;
  }

  .admin-save-actions,
  .admin-danger-zone {
    justify-self: stretch;
  }

  .delete-confirm {
    grid-template-columns: 1fr;
  }

  .admin-table {
    min-width: 840px;
  }
}
