: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;
}

.primary-nav a,
.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);
}

.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 {
  max-width: 560px;
  margin: 0 0 26px;
}

.hero-logo img {
  width: min(100%, 500px);
  padding: clamp(12px, 2vw, 18px);
  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-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);
}

.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: #eef2f7;
}

.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;
}

.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(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.admin-summary div,
.admin-toolbar,
.form-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.admin-summary div {
  padding: 16px;
}

.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: 16px;
}

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

.admin-toolbar p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
  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;
}

.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: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 2px 0 0;
}

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

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

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.admin-table th,
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

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

.admin-table td strong {
  color: var(--navy);
}

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

.admin-table tr.is-editing > td {
  background: #f8fafc;
}

.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 var(--line);
  color: var(--navy);
  background: var(--white);
}

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

.inline-sponsor-editor {
  padding: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.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 {
  background: var(--white);
}

.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;
}

.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: 96px;
  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(--navy);
  background: #e7ebf3;
}

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

.quiet-danger {
  min-height: auto;
  padding: 0;
  border: 0;
  color: var(--red-dark);
  background: transparent;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

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

.admin-danger-zone {
  margin-left: auto;
}

.delete-confirm {
  display: grid;
  grid-template-columns: minmax(240px, 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: auto auto;
    grid-template-areas:
      "logo actions"
      "nav nav";
    min-height: auto;
    gap: 8px 12px;
    padding: 8px 12px;
    align-items: center;
  }

  .logo img {
    width: 82px;
  }

  .header-actions {
    gap: 6px;
  }

  .cart-button,
  .menu-toggle {
    min-height: 38px;
    padding: 0 11px;
    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;
  }

  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 {
    min-height: 136px;
  }

  .live-strip > span {
    padding: 13px 14px 6px;
    font-size: 11px;
  }

  .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-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-toolbar,
  .form-grid,
  .keyword-input-row {
    grid-template-columns: 1fr;
  }

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

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