/* ═══════════════════════════════════════════════════════════════
   PHARMACIST BEN — LIVE BROADCAST SCHEDULE STYLES
   Self-hosted external stylesheet conforming to strict CSP
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bc-navy: #0b2545;
  --bc-navy-mid: #133568;
  --bc-teal: #0d7377;
  --bc-teal-light: #14a8ad;
  --bc-gold: #d4af37;
  --bc-gold-light: #f5c842;
  --bc-orange: #e06c2b;
  --bc-cream: #f7f9fc;
  --bc-border: #dce7f5;
  --bc-muted: #4a6080;
  --bc-radius: 16px;
  --bc-radius-sm: 8px;
  --bc-shadow: 0 4px 24px rgba(11, 37, 69, 0.08);
  --bc-shadow-lg: 0 12px 36px rgba(11, 37, 69, 0.15);
}

/* Page background */
html.bc-page,
body.bc-body {
  background-color: var(--bc-cream) !important;
  color: var(--bc-navy);
  margin: 0;
}

/* LIVE pulse keyframe */
@keyframes bc-pulse-anim {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* ══════════════ HERO ══════════════ */
.bc-hero {
  background: linear-gradient(
    135deg,
    #0b2545 0%,
    #133568 55%,
    #1a4a7a 100%
  ) !important;
  color: #fff !important;
  padding: clamp(52px, 7vw, 88px) 0 clamp(44px, 6vw, 76px) !important;
  position: relative;
  overflow: hidden;
  margin: 0 !important;
}

.bc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 60% at 80% 45%,
      rgba(13, 115, 119, 0.35) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 40% 40% at 10% 85%,
      rgba(245, 200, 66, 0.12) 0%,
      transparent 60%
    );
  pointer-events: none;
}

.bc-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

/* Breadcrumb */
.bc-breadcrumb {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--bc-teal-light);
  text-transform: uppercase;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bc-breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.bc-breadcrumb a:hover {
  color: #fff;
}

.bc-breadcrumb-sep {
  color: rgba(255, 255, 255, 0.35);
}

/* Live pill badge in hero */
.bc-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bc-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 5px 14px 5px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(224, 108, 43, 0.35);
}

.bc-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  position: relative;
  flex: none;
}

.bc-pulse::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  animation: bc-pulse-anim 1.6s ease-out infinite;
}

/* Hero Typography */
.bc-hero h1 {
  font-family: var(--serif, Georgia, serif) !important;
  font-size: clamp(34px, 5.5vw, 60px) !important;
  font-weight: 400 !important;
  line-height: 1.12 !important;
  letter-spacing: -1.5px !important;
  margin: 0 0 16px !important;
  color: #ffffff !important;
}

.bc-hero h1 em {
  font-style: italic;
  color: var(--bc-gold-light) !important;
  font-weight: 400;
}

.bc-hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.85) !important;
  max-width: 580px;
  line-height: 1.65;
  margin: 0;
}

/* ══════════════ FILTER BAR ══════════════ */
.bc-filter-bar {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
  padding: 30px 0 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.bc-filter-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--bc-muted);
  text-transform: uppercase;
  flex: none;
  margin-right: 6px;
}

.bc-chip {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  padding: 8px 18px !important;
  border-radius: 100px !important;
  border: 1.5px solid var(--bc-border) !important;
  background: #ffffff !important;
  color: var(--bc-navy-mid) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  min-height: auto !important;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(11, 37, 69, 0.04) !important;
}

.bc-chip:hover {
  border-color: var(--bc-navy-mid) !important;
  color: var(--bc-navy) !important;
  transform: translateY(-1px);
}

.bc-chip[aria-pressed="true"] {
  background: var(--bc-navy) !important;
  border-color: var(--bc-navy) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(11, 37, 69, 0.22) !important;
}

.bc-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
  flex: none;
}

/* ══════════════ GRID ══════════════ */
.bc-grid-wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
  padding-bottom: 80px;
}

.bc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr));
  gap: 26px;
  padding-top: 24px;
}

/* ══════════════ CARD ══════════════ */
.bc-card {
  background: #ffffff;
  border-radius: var(--bc-radius);
  border: 1.5px solid var(--bc-border);
  box-shadow: var(--bc-shadow);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

.bc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent, var(--bc-teal));
  border-radius: var(--bc-radius) var(--bc-radius) 0 0;
}

.bc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bc-shadow-lg);
  border-color: var(--card-accent, var(--bc-teal));
}

.bc-card[hidden] {
  display: none !important;
}

/* Card Top Metadata */
.bc-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.bc-card-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--card-accent, var(--bc-teal));
}

.bc-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--bc-orange);
  text-transform: uppercase;
}

.bc-card-badge .bc-pulse {
  background: var(--bc-orange);
  width: 7px;
  height: 7px;
}

.bc-card-badge .bc-pulse::after {
  background: rgba(224, 108, 43, 0.4);
}

/* Card Heading - Override global h2 */
.bc-card h2,
.bc-card-title {
  font-family: var(--serif, Georgia, serif) !important;
  font-size: clamp(22px, 2.5vw, 26px) !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.5px !important;
  color: var(--bc-navy) !important;
  margin: 0 0 12px 0 !important;
}

.bc-card-desc {
  font-size: 14px;
  color: var(--bc-muted);
  line-height: 1.65;
  margin: 0 0 20px;
}

/* Schedule Block */
.bc-sched {
  background: linear-gradient(135deg, #eef5ff 0%, #e4f0f7 100%);
  border-left: 3px solid var(--card-accent, var(--bc-teal));
  border-radius: var(--bc-radius-sm);
  padding: 14px 16px;
  margin-bottom: 20px;
}

.bc-sched-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bc-teal);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bc-sched-time {
  font-size: 14px;
  font-weight: 600;
  color: var(--bc-navy);
  line-height: 1.55;
  margin: 0;
}

.bc-tz {
  font-size: 12px;
  font-weight: 400;
  color: var(--bc-muted);
}

/* Call-in Box (The Mineral Way) */
.bc-callin {
  background: linear-gradient(
    135deg,
    var(--bc-navy) 0%,
    var(--bc-navy-mid) 100%
  );
  border-radius: var(--bc-radius-sm);
  padding: 18px 20px;
  margin-bottom: 20px;
}

.bc-callin-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--bc-gold-light);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bc-callin-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bc-callin-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bc-callin-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex: none;
}

.bc-callin-meta {
  line-height: 1.4;
}

.bc-callin-meta span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  display: block;
}

.bc-callin-meta a {
  font-size: 16px;
  font-weight: 700;
  color: var(--bc-gold-light);
  text-decoration: none;
  transition: color 0.2s;
}

.bc-callin-meta a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Action Buttons */
.bc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.bc-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px !important;
  border-radius: var(--bc-radius-sm) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: auto !important;
  white-space: nowrap;
}

.bc-btn svg {
  width: 15px !important;
  height: 15px !important;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.bc-btn .bc-icon-play circle {
  fill: currentColor;
  stroke: none;
}

.bc-btn .bc-icon-play path {
  fill: #fff;
  stroke: none;
}

.bc-btn-solid {
  background: var(--card-accent, var(--bc-teal)) !important;
  color: #ffffff !important;
  border: 2px solid var(--card-accent, var(--bc-teal)) !important;
  box-shadow: 0 2px 8px rgba(11, 37, 69, 0.12) !important;
}

.bc-btn-solid:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 37, 69, 0.22) !important;
}

.bc-btn-outline {
  background: transparent !important;
  color: var(--card-accent, var(--bc-teal)) !important;
  border: 2px solid var(--card-accent, var(--bc-teal)) !important;
  box-shadow: none !important;
}

.bc-btn-outline:hover {
  background: var(--card-accent, var(--bc-teal)) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Backup link note */
.bc-backup {
  font-size: 12px;
  color: var(--bc-muted);
  margin: 10px 0 0;
}

.bc-backup a {
  color: var(--card-accent, var(--bc-teal));
  font-weight: 600;
  text-decoration: underline;
}

/* Empty filter state */
.bc-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 24px;
  color: var(--bc-muted);
  font-size: 15px;
}

/* Footer */
.bc-footer {
  background: var(--bc-navy);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  padding: 36px 24px;
  font-size: 14px;
  line-height: 1.7;
}

.bc-footer p {
  margin: 0;
}

.bc-footer a {
  color: var(--bc-gold-light);
  font-weight: 600;
  text-decoration: none;
}

.bc-footer a:hover {
  text-decoration: underline;
}

/* Card Theme Variants (zero inline styles needed) */
.bc-card-teal {
  --card-accent: #0d7377;
}
.bc-card-orange {
  --card-accent: #e06c2b;
}
.bc-card-purple {
  --card-accent: #7c3aed;
}
.bc-card-gold {
  --card-accent: #c47c0a;
}
.bc-card-green {
  --card-accent: #0b6e4f;
}

/* SVG defs sprite hidden without inline style */
.bc-svg-defs {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Footer subtitle */
.bc-footer-sub {
  margin-top: 6px !important;
  font-size: 12px !important;
  opacity: 0.65 !important;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .bc-card {
    padding: 22px 18px;
  }
  .bc-actions {
    flex-direction: column;
  }
  .bc-btn {
    width: 100%;
    justify-content: center;
  }
  .bc-filter-bar {
    gap: 8px;
  }
  .bc-hero h1 {
    letter-spacing: -1px !important;
  }
}
