/* ============================================
   Busy Blooming HQ — Ghost Theme Styles
   ============================================ */

@font-face {
  font-family: 'TNR Condensed';
  src: url('../fonts/tnr-condensed.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Warm editorial palette */
  --bg: #faf6f3;
  --bg-light: #fdfbfa;
  --bg-card: #FFFFFF;
  --paper: #F7F1EB;
  --beige: #EFE6DE;
  --stone: #C8B8A8;
  --bg-dark: #EDE6DF;
  --bg-darker: #E2DAD1;
  --text: #2C3E50;
  --text2: #5A5550;
  --text3: #7B746D;
  --accent: #8CAAB8;
  --accent-light: #D6E4EA;
  --accent-lighter: #EBF1F4;
  --accent-hover: #7399A8;
  --accent-dark: #6B8D9C;
  --accent-soft: #E7EFF2;
  --alert-gold: #D4A843;
  --alert-gold-light: #FBF4E4;
  --green: #5A9E6F;
  --green-light: #E4F0E8;
  --red: #C0392B;
  --border: #DCCFC4;
  --border-light: #E7DDD6;
  --shadow-sm: 0 2px 6px rgba(80,60,40,0.04);
  --shadow-md: 0 6px 20px rgba(80,60,40,0.06);
  --shadow-lg: 0 10px 30px rgba(80,60,40,0.08);
  --shadow-float: 0 16px 40px rgba(80,60,40,0.10);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-xl: 28px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(140,170,184,0.06), transparent 35%),
    radial-gradient(ellipse at 85% 15%, rgba(198,182,168,0.10), transparent 30%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container { max-width: 1220px; margin: 0 auto; padding: 0 40px; }

@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
  background: var(--paper);
  color: var(--text);
  padding: 7px 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border-light);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar .date { color: var(--text3); }
.top-bar .greeting { color: var(--text2); }
.top-bar .greeting strong { color: var(--text); font-weight: 600; }

/* ============================================
   Header
   ============================================ */
.header {
  background: rgba(252,249,248,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}
.logo-text {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}
.logo-text span { font-weight: 400; color: var(--text3); }

.nav { display: flex; gap: 36px; align-items: center; }
.nav a {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text3);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.nav > .nav-dropdown { display: inline-flex; align-items: center; }
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); }
.nav a.active::after {
  content: '';
  display: block;
  margin-top: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* ── Nav dropdown ────────────────────────────────────── */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text3);
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
  line-height: 1;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: content-box;
}
.nav-dropdown-trigger:hover,
.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger {
  color: var(--text);
}
.nav-dropdown-trigger svg {
  transition: transform 0.2s;
  opacity: 0.7;
}
.nav-dropdown:hover .nav-dropdown-trigger svg,
.nav-dropdown:focus-within .nav-dropdown-trigger svg {
  transform: rotate(180deg);
  opacity: 1;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 180px;
  background: var(--paper);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(44, 62, 80, 0.08);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text2);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus {
  background: var(--bg-dark);
  color: var(--text);
}

.header-actions { display: flex; align-items: center; gap: 14px; }
.search-btn {
  background: var(--paper);
  border: 1px solid var(--border-light);
  color: var(--text3);
  cursor: pointer;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  font-family: inherit;
}
.search-btn:hover { border-color: var(--border); color: var(--text2); background: var(--beige); }
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.sign-in-btn {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--text);
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s;
}
.sign-in-btn:hover { background: #3d5060; }

/* ============================================
   Mobile Nav Tabs
   ============================================ */
.nav-tabs {
  background: var(--paper);
  border-bottom: 1px solid var(--border-light);
  padding: 0 20px;
  display: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.nav-tabs::-webkit-scrollbar { display: none; }
.nav-tabs a {
  font-size: 11px;
  font-weight: 600;
  color: var(--text3);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 14px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.nav-tabs a.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav-tabs { display: none; }
  .header .container { padding-top: 12px; padding-bottom: 12px; }
  .logo-mark { width: 32px; height: 32px; }
  .logo-text { font-size: 17px; }
  .search-btn span { display: none; }
  .search-btn { padding: 7px; border: none; }
}

/* ============================================
   Alert Ticker
   ============================================ */
.alert-ticker {
  background: var(--text);
  border-bottom: none;
  padding: 9px 0;
  overflow: hidden;
  position: relative;
}
.alert-ticker .container {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
}
.alert-badge {
  background: var(--accent-light);
  color: var(--text);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  margin-left: 40px;
}
.alert-ticker .ticker-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.alert-ticker .ticker-content {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  gap: 0;
}
.alert-ticker .ticker-content:hover { animation-play-state: paused; }
.alert-ticker .ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  padding: 0 40px;
}
.alert-ticker .ticker-item + .ticker-item {
  border-left: 1px solid rgba(255,255,255,0.2);
}
.alert-ticker a { color: #fff; font-weight: 600; text-decoration: none; }
.alert-ticker a:hover { text-decoration: underline; }

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .alert-badge { margin-left: 20px; }
  .alert-ticker .ticker-item { font-size: 12px; }
}

/* ============================================
   Sections
   ============================================ */
.section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label .dot {
  width: 6px;
  height: 6px;
  min-width: 6px;
  flex-shrink: 0;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.section { padding: 52px 0; border-top: none; }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
}
.section-title {
  font-family: 'TNR Condensed', 'Times New Roman', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}
.see-all {
  font-size: 12px;
  font-weight: 600;
  color: var(--text3);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.see-all:hover { color: var(--text); }

@media (max-width: 768px) {
  .section { padding: 24px 0; }
  .section-header { padding: 0 20px; margin-bottom: 16px; }
  .section-title { font-size: 20px; }
}

/* ============================================
   Episode Hero
   ============================================ */
.episode-hero {
  padding: 48px 0 52px;
  background: var(--paper);
  color: var(--text);
}
.episode-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-dark);
  margin-bottom: 20px;
}
.episode-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: start;
}
.episode-thumb {
  display: block;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--beige);
  box-shadow: var(--shadow-float);
}
.episode-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.episode-thumb:hover img {
  transform: scale(1.03);
}
.episode-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--beige), var(--paper));
}
.episode-player {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #1a1a1a;
  box-shadow: var(--shadow-float);
}
.episode-player iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.episode-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.episode-thumb:hover .episode-play-overlay {
  opacity: 1;
}
.episode-title {
  font-family: 'TNR Condensed', 'Times New Roman', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.05;
  font-weight: 400;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
  color: var(--text);
}
.episode-meta {
  font-size: 13px;
  color: var(--text3);
  margin-bottom: 16px;
}
.episode-excerpt {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text2);
  margin-bottom: 20px;
}

/* Episode resources */
.ep-resources {
  margin-bottom: 24px;
  padding: 18px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}
.ep-resources-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  margin-bottom: 10px;
}
.ep-resource-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  text-decoration: none;
  border-bottom: 1px solid var(--border-light);
}
.ep-resource-link:last-child { border-bottom: none; }
.ep-resource-link:hover { color: var(--text); }
.ep-resource-link svg {
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s;
}
.ep-resource-link:hover svg {
  opacity: 1;
  transform: translateX(0);
}
.ep-topics {
  font-size: 13px;
  line-height: 2;
  color: var(--text2);
}

/* Episode action buttons */
.episode-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.episode-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 11px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s;
}
.episode-watch-btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.episode-listen-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  background: rgba(255,255,255,0.6);
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  text-decoration: none;
  transition: all 0.2s;
}
.episode-listen-btn:hover {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(255,255,255,0.9);
}
.episode-listen-btn svg { flex-shrink: 0; }

@media (max-width: 768px) {
  .episode-hero { padding: 28px 20px 32px; }
  .episode-grid { grid-template-columns: 1fr; gap: 24px; }
  .episode-title { font-size: 22px; }
  .episode-excerpt { font-size: 14px; }
  .episode-actions { flex-direction: column; }
  .episode-watch-btn, .episode-listen-btn { justify-content: center; }
}

/* ============================================
   Hero Desk / Clock In
   ============================================ */
.hero-desk {
  padding: 36px 0 16px;
}

/* Clock-In status bar */
.clock-in-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.hq-chat-pill {
  text-decoration: none;
  color: var(--text2);
  transition: all 0.2s;
  margin-left: auto;
}
.hq-chat-pill:hover {
  border-color: var(--accent);
  color: var(--text);
}
.hq-chat-pill svg {
  flex-shrink: 0;
}
.clock-in {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  width: fit-content;
}
.clock-in-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}
.clock-in-day {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text);
  white-space: nowrap;
}
.clock-in-date {
  font-size: 12px;
  color: var(--text3);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
/* Toggle full vs short labels per breakpoint (set in mobile media query below) */
.clock-in-day--short, .clock-in-date--short { display: none; }

/* Founding Member pill (shows in clock-in row for founders only) */
.founding-pill {
  background: linear-gradient(135deg, rgba(212,168,67,0.12), rgba(212,168,67,0.22));
  border-color: rgba(212,168,67,0.45);
  color: #8a6a1f;
  cursor: default;
}
.founding-pill .clock-in-day {
  color: #8a6a1f;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11px;
}
.founding-pill .founding-star {
  color: #D4A843;
  flex-shrink: 0;
}

/* Desk grid layout */
.hero-desk-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}

/* Main hero card */
.hero-main-card {
  background: var(--paper);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  display: flex;
  flex-direction: column;
}
.hero-main-card .hero-cta-inner {
  margin-top: auto;
  align-self: flex-start;
}
#featuredArticleSlot {
  display: flex;
  flex-direction: column;
  height: 100%;
}
#featuredArticleSlot > .hero-main-card {
  flex: 1;
}
.hero-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-dark);
  margin-bottom: 14px;
}
.hero-title {
  font-family: 'TNR Condensed', 'Times New Roman', serif;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--text);
}

.hero-cta-inner {
  margin-top: 20px;
}
.hero-subtext {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text2);
  margin-top: 14px;
}

/* Widget stack */
.hero-widgets {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
  align-self: stretch;
  height: 100%;
}
.hero-widgets > :last-child {
  margin-top: auto;
}

/* Widget cards (frosted glass) */
.widget-card {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 20px 22px;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s, transform 0.2s;
}
.widget-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.widget-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text3);
  margin-bottom: 10px;
}
.widget-label-live {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
}
.widget-title {
  font-family: 'TNR Condensed', 'Times New Roman', serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 4px;
}
.widget-date {
  font-size: 12px;
  color: var(--text3);
}
.widget-meta {
  font-size: 12px;
  color: var(--text3);
  margin-bottom: 12px;
}

/* Quick hits inside widget */
.widget-quick-hits {
  background: var(--paper);
}
.widget-quick-hits .quick-hit-item {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.widget-quick-hits .quick-hit-item:last-child { border-bottom: none; }
.widget-quick-hits .quick-hit-item:hover { opacity: 0.7; }

/* Compact widget (single item) */
.widget-compact {
  padding: 14px 18px;
}
.widget-compact .quick-hit-item {
  padding: 4px 0;
  border-bottom: none;
}

/* Report widget as link */
.widget-report {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}
.widget-report:hover .widget-title {
  color: var(--accent-dark);
}

/* Event widget */
.widget-event .cal-buttons {
  margin-top: 4px;
}

/* Daily Action Item widget (shared styling used by What's New + What's Trending too) */
.widget-action,
.widget-news-card,
.widget-trending-card {
  background: linear-gradient(135deg, #f5efe7 0%, #ece4d8 100%);
  border: 1px solid #e4d9c8;
}
.widget-action-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.widget-action-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.widget-action .widget-label {
  margin-bottom: 4px;
}
.widget-action-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
  font-weight: 500;
}

/* Linkable widget variant */
.widget-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.widget-card-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(44, 62, 80, 0.08);
}

/* Trending date pill (used inside slider header) */
.trending-date {
  font-size: 10px;
  font-weight: 500;
  color: var(--text3);
  letter-spacing: 0.06em;
  margin-left: 4px;
}

/* What's Trending — embedded Canva report (16:9 / 1920x1080) */
.widget-trending-canva {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.trending-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trending-header.trending-header--stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.trending-header .trending-title {
  flex: 1;
  margin-bottom: 0;
  color: var(--accent-dark);
}
.trending-canva-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #f5efe7;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}
.trending-canva-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.trending-vault-link {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  text-decoration: none;
}
.trending-vault-link:hover { text-decoration: underline; }


/* What's New in HQ widget — richer layout */
.widget-whats-new .quick-hit-item {
  display: block;
  padding: 12px 0;
}
.widget-whats-new .qh-content { width: 100%; }
.widget-whats-new .qh-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.widget-whats-new .qh-date {
  color: var(--text3);
  font-weight: 600;
}
.widget-whats-new .qh-pill {
  background: var(--bg-dark);
  color: var(--text2);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.widget-whats-new .qh-pill-ep { background: #dfe8ee; color: #3a5f74; }
.widget-whats-new .qh-pill-ci { background: #efe3d6; color: #8a6244; }
.widget-whats-new .qh-pill-tool { background: #e5e1ef; color: #56457a; }
.widget-whats-new .qh-pill-upd { background: #e4eee0; color: #4a6f3a; }
.widget-whats-new .qh-pill-dd { background: #f0e4e0; color: #8a4d3d; }
.widget-whats-new .qh-pill-ev { background: #f2e0cc; color: #8a5a1f; }
.widget-whats-new .qh-pill-news { background: #e9e4d4; color: #7a6a3a; }
.widget-whats-new .quick-hit-item h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  margin: 0;
}

@media (max-width: 768px) {
  .hero-desk {
    padding: 20px 0 8px;
  }
  .hero-desk .container {
    padding: 0 16px;
  }
  .clock-in-row {
    flex-wrap: nowrap;
    gap: 6px;
    margin-bottom: 20px;
  }
  .clock-in-row-left { gap: 8px; }
  .clock-in {
    padding: 6px 10px;
    gap: 6px;
    flex-shrink: 1;
    min-width: 0;
  }
  .clock-in-dot { width: 6px; height: 6px; }
  /* Compact pill content on mobile so date + (founding) + HQ Chat all fit one line */
  .clock-in-day { font-size: 11px; }
  .clock-in-date { font-size: 11px; }
  .clock-in-day--full, .clock-in-date--full { display: none; }
  .clock-in-day--short, .clock-in-date--short { display: inline; }
  .founding-pill .clock-in-day { font-size: 9.5px; letter-spacing: 0.03em; }
  .founding-pill { padding: 6px 10px; }
  .hq-chat-pill { margin-left: auto; padding: 6px 10px; }
  .hq-chat-pill .clock-in-day { font-size: 11px; }
  .hero-desk-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero-main-card {
    padding: 28px 24px;
    border-radius: var(--radius-lg);
  }
  .hero-title {
    font-size: 1.8rem;
    line-height: 1;
  }
  .widget-card {
    border-radius: var(--radius-lg);
    padding: 16px 18px;
  }
  .widget-title { font-size: 16px; }
  .read-btn { display: block; text-align: center; padding: 12px; }
}

/* Legacy support */
.briefing-title { /* alias for hero-title when used outside hero */
  font-family: 'TNR Condensed', 'Times New Roman', serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.briefing-excerpt {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text2);
  margin-bottom: 22px;
}
.read-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 11px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s;
}
.read-btn:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* (old hero mobile rules replaced by .hero-desk responsive rules above) */

/* ============================================
   Quick Hits
   ============================================ */
.quick-hits {
  margin-top: 24px;
  padding: 22px;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}
.quick-hits h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text3);
  margin-bottom: 14px;
  font-weight: 700;
}
.quick-hit-item {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.quick-hit-item:last-child { border-bottom: none; }
.quick-hit-item:hover { opacity: 0.7; }
.qh-num {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  color: var(--accent-light);
  font-weight: 600;
  min-width: 24px;
  line-height: 1;
}
.qh-content h5 { font-size: 14px; font-weight: 600; line-height: 1.35; }
.qh-content .qh-tag { font-size: 11px; color: var(--text3); }

@media (max-width: 768px) {
  .quick-hits { margin: 0 20px 16px; padding: 16px; }
  .qh-content h5 { font-size: 13px; }
}

.cal-buttons {
  display: flex;
  gap: 8px;
}
.cal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  padding: 10px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}
.cal-btn-primary {
  background: var(--accent);
  color: #fff;
}
.cal-btn-primary:hover { background: var(--accent-hover); }
.cal-btn-secondary {
  background: var(--bg-light);
  color: var(--text);
  border: 1px solid var(--border);
}
.cal-btn-secondary:hover { background: var(--border-light); }

/* ============================================
   Horizontal Scroll (mobile carousels)
   ============================================ */
.h-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 0 20px 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.h-scroll::-webkit-scrollbar { display: none; }

/* Desktop: grid, not scroll */
@media (min-width: 769px) {
  .h-scroll {
    display: grid;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }
  .h-scroll.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .h-scroll.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .h-scroll.cols-2 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* ============================================
   Update Cards
   ============================================ */
.update-card {
  background: var(--paper);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.3s, transform 0.2s;
}
.update-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.platform-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.badge-instagram { background: #F0E0E8; color: #8E3A6E; }
.badge-tiktok { background: #E0EEF3; color: #2A6F8E; }
.badge-youtube { background: #F4E0E0; color: #A82020; }
.badge-threads { background: #E8E8E8; color: #444; }
.badge-general { background: var(--accent-lighter); color: var(--accent-dark); }

.update-card h3 { font-size: 15px; font-weight: 600; line-height: 1.35; margin-bottom: 8px; }
.update-card p { font-size: 13px; color: var(--text2); line-height: 1.5; margin-bottom: 10px; }
.update-card .card-meta { font-size: 11px; color: var(--text3); }
.tess-take {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text2);
  font-style: italic;
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}
.tess-take::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* Updates lane */
.updates-lane {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .updates-lane {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 8px;
  }
  .updates-lane::-webkit-scrollbar { display: none; }
  .update-card {
    min-width: 280px;
    max-width: 300px;
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 18px;
  }
  .update-card-featured { grid-row: auto; }
  .update-card-featured h3 { font-size: 16px; }
  .update-card h3 { font-size: 14px; }
  .update-card p { font-size: 12.5px; }
  .tess-take { font-size: 12px; }
}

/* ============================================
   Resources Library Page
   ============================================ */
.resource-filters {
  display: flex;
  gap: 8px;
  margin: 0 0 28px;
  flex-wrap: wrap;
}
.rf-btn {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.rf-btn svg { flex-shrink: 0; }
.rf-btn:hover { border-color: var(--accent); color: var(--text); }
.rf-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.resource-library {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-bottom: 60px;
}
.resource-lib-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}
.resource-lib-card:hover { transform: translateY(-4px); }
.resource-lib-card:hover .rl-image img,
.resource-lib-card:hover .rl-image-placeholder {
  transform: scale(1.03);
}

/* Image area */
.rl-image {
  position: relative;
  background: #eee8e1;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  margin-bottom: 14px;
}
.ci-folder-image {
  background: transparent;
}
.rl-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.rl-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  opacity: 0.5;
  transition: transform 0.3s;
}

/* Badge overlay */
.rl-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 6px;
}
.rl-badge span + span::before {
  content: " | ";
  opacity: 0.7;
  margin: 0 2px;
}

/* Info below image */
.rl-info h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

@media (max-width: 1024px) {
  .resource-library { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .resource-library {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .resource-filters { margin: 0 0 20px; }
  .rf-btn { font-size: 12px; padding: 6px 14px; }
  .rl-info h3 { font-size: 13px; }
}

/* ============================================
   Background Sections
   ============================================ */
.bg-light { background: var(--paper); }

/* ============================================
   Post / Article Content
   ============================================ */
.post-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 40px;
}

/* Alert posts: style the first link in the body as a navy pill button
   (Ghost's Lexical editor strips inline <a> styles, so this lives in theme CSS) */
.post-alert .gh-content p:first-child a,
.post-alert .gh-content > p:first-child a[href] {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 11px 22px !important;
  background: var(--text) !important;
  color: #fff !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: 0.01em;
  transition: background 0.18s, transform 0.15s;
  box-shadow: none !important;
  background-image: none !important;
}
.post-alert .gh-content p:first-child a:hover {
  background: #1f2c3a !important;
  transform: translateY(-1px);
}
.post-alert .gh-content p:first-child {
  margin-bottom: 28px !important;
}

/* Koenig button card — matches site pill aesthetic (slate bg, white, uppercase Inter) */
.post-content .gh-content .kg-button-card {
  margin: 32px 0 8px;
  text-align: center;
}
.post-content .gh-content .kg-button-card.kg-align-left { text-align: left; }
.post-content .gh-content .kg-button-card.kg-align-right { text-align: right; }
.post-content .gh-content .kg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--text);
  color: #fff !important;
  border-radius: 999px;
  text-decoration: none !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: none !important;
  transition: background 0.18s, transform 0.15s;
}
.post-content .gh-content .kg-btn:hover {
  background: var(--accent);
  transform: translateY(-1px);
  color: #fff !important;
  border-bottom: none !important;
}

.post-content h1 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 16px;
  font-weight: 700;
}
.post-content .post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--text3);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.post-content .gh-content {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text2);
}
.post-content .gh-content h2 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 28px;
  line-height: 1.2;
  margin: 32px 0 10px;
  color: var(--text);
}
.post-content .gh-content h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  margin: 24px 0 6px;
  color: var(--text);
}
.post-content .gh-content p { margin-bottom: 18px; }
.post-content .gh-content a.ts-link {
  color: var(--accent-dark);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dotted var(--accent-dark);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
  cursor: pointer;
}
.post-content .gh-content a.ts-link:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

/* Chapters card — wraps the heading + UL of clickable timestamps */
.post-content .gh-content .chapters-box {
  background: var(--paper);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin: 24px 0 32px;
  box-shadow: var(--shadow-sm);
}
.post-content .gh-content .chapters-box > h2,
.post-content .gh-content .chapters-box > h3 {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}
.post-content .gh-content .chapters-box > ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.post-content .gh-content .chapters-box > ul > li {
  padding: 7px 0;
  border-bottom: 1px dashed rgba(228, 217, 200, 0.7);
  line-height: 1.5;
}
.post-content .gh-content .chapters-box > ul > li:last-child {
  border-bottom: none;
}

/* YouTube-style: comments moved under the video, above the description.
   The card itself provides the visual containment, so we just tighten
   the surrounding margins when the section is hoisted under the video. */
.post-content .gh-content.has-video-top > .post-comments {
  margin: 24px 0 32px;
}

/* "Listen in your podcast app" navy pill button (Ghost strips inline styles,
   so we target it via href in theme CSS) */
.post-content .gh-content hr:has(+ p > a[href*="bbhqpodcast"]) {
  display: none;
}
.post-content .gh-content p:has(> a[href*="bbhqpodcast"]) {
  text-align: center;
  margin-top: 28px;
}
.post-content .gh-content a[href*="bbhqpodcast"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: var(--text);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: background 0.18s, transform 0.15s;
  border: 0;
}
.post-content .gh-content a[href*="bbhqpodcast"]::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 18v-6a9 9 0 0118 0v6'/><path d='M21 19a2 2 0 01-2 2h-1a2 2 0 01-2-2v-3a2 2 0 012-2h3v5zM3 19a2 2 0 002 2h1a2 2 0 002-2v-3a2 2 0 00-2-2H3v5z'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 18v-6a9 9 0 0118 0v6'/><path d='M21 19a2 2 0 01-2 2h-1a2 2 0 01-2-2v-3a2 2 0 012-2h3v5zM3 19a2 2 0 002 2h1a2 2 0 002-2v-3a2 2 0 00-2-2H3v5z'/></svg>");
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}
.post-content .gh-content a[href*="bbhqpodcast"]:hover {
  background: #1f2c3a;
  transform: translateY(-1px);
  text-decoration: none;
}
.post-content .gh-content a { color: var(--accent-dark); text-decoration: underline; }
.post-content .gh-content img { border-radius: var(--radius); margin: 32px 0; }
.post-content .gh-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin: 32px 0;
  font-style: italic;
  color: var(--text2);
}

/* Ghost content card widths */
.post-content .gh-content .kg-width-wide {
  max-width: min(1040px, calc(100vw - 80px));
  margin-left: calc(50% - min(520px, calc(50vw - 40px)));
}
.post-content .gh-content .kg-width-full {
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}
.post-content .gh-content .kg-width-wide img,
.post-content .gh-content .kg-width-full img {
  width: 100%;
}

/* Responsive video embeds — give .kg-embed-card a containing box
   so iframes with inline position:absolute fill the card, not the viewport */
.post-content .gh-content .kg-embed-card {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  margin: 16px 0 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
}
.post-content .gh-content .kg-embed-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
/* Keep the custom .video-embed wrapper working the same way */
.post-content .gh-content .video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  margin: 16px 0 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
}
.post-content .gh-content .video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .post-content { padding: 24px 20px; }
  .post-content h1 { font-size: 28px; }
  .post-content .gh-content { font-size: 16px; }
  .post-content .gh-content .kg-width-wide {
    max-width: calc(100vw - 40px);
    margin-left: calc(50% - calc(50vw - 20px));
  }
}

/* ============================================
   Post Audio Player (template-level, for content-ideas/voice-notes)
   ============================================ */
.post-audio-player {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 32px;
}
.pap-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}
.pap-btn:hover { background: var(--accent-hover); }
.pap-info { flex: 1; min-width: 0; }
.pap-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  display: block;
}
.pap-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  cursor: pointer;
}
.pap-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}
.pap-time {
  font-size: 12px;
  color: var(--text3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Voice note "New" badge */
.vn-new-badge {
  display: inline-block;
  background: var(--alert-gold-light);
  color: #9A7A2A;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 8px;
  vertical-align: middle;
}

/* "New" badge — latest Content Ideas report + Vault ideas from newest report.
   Matches the existing voice-note gold language so "new" reads consistently site-wide.
   Default is inline (pill). Add .is-new-badge--corner to absolutely position on an image. */
.is-new-badge {
  display: inline-block;
  background: var(--alert-gold-light);
  color: #9A7A2A;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 20px;
  vertical-align: middle;
}
.is-new-badge--corner {
  position: absolute;
  top: 12px;
  right: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  pointer-events: none;
  z-index: 2;
}
.idea-date .is-new-badge { margin-right: 6px; }

/* Canva embed in posts (1920x1080 reports).
   Canva renders viewer chrome (top title bar, bottom page nav) when the iframe
   is wider than ~500px. We render at 500x281.25 so Canva sees a "small" embed
   and skips chrome, then JS applies a transform: scale() to fill the container.
   See post.hbs for the scale-on-resize logic. */
.post-content .gh-content .kg-embed-card:has(.canva-embed) {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin: 16px 0 32px;
  position: relative;
}
.post-content .gh-content .kg-embed-card iframe.canva-embed {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  bottom: auto !important;
  width: 500px !important;
  height: 281.25px !important;
  border: none !important;
  display: block !important;
  transform-origin: top left;
}

@media (max-width: 768px) {
  .post-audio-player { padding: 12px 16px; gap: 12px; }
  .pap-btn { width: 38px; height: 38px; }
  .pap-label { font-size: 12px; margin-bottom: 6px; }
}

/* ============================================
   Inline Audio Player (for .mp3 links in posts)
   ============================================ */
.inline-audio-player {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 16px 0;
}
.iap-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}
.iap-btn:hover { background: var(--accent-hover); }
.iap-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.iap-bar {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  cursor: pointer;
  min-width: 60px;
}
.iap-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}
.iap-time {
  font-size: 11px;
  color: var(--text3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .inline-audio-player { padding: 12px 14px; gap: 10px; }
  .iap-label { font-size: 12px; display: none; }
  .iap-btn { width: 34px; height: 34px; }
}

/* ============================================
   Comments Section
   ============================================ */
.post-comments {
  max-width: 720px;
  margin: 32px auto 0;
  padding: 0;
  border: 0;
}
.post-comments-header {
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.post-comments-title {
  font-family: 'TNR Condensed', 'Times New Roman', Times, serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
  margin: 0;
}
.post-comments-card {
  background: var(--paper);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 30px 24px;
  box-shadow: var(--shadow-sm);
}
/* Never cap the Ghost iframe height — it self-reports its size as the
   user types, and clipping would hide the input or new comments. */
.post-comments-card iframe[data-frame="ghost-comments-frame"],
.post-comments-card iframe[data-frame="comments-frame"],
.post-comments-card .gh-comments,
.post-comments-card .gh-comments iframe {
  background: transparent !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  border: 0 !important;
  display: block;
}

@media (max-width: 768px) {
  .post-comments { margin-top: 24px; }
  .post-comments-header { margin-bottom: 12px; gap: 10px; }
  .post-comments-card { padding: 18px 16px 16px; border-radius: 18px; }
}

/* ============================================
   Member CTA (non-members)
   ============================================ */
.content-cta {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin: 40px 0;
}
.content-cta h3 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 24px;
  margin-bottom: 8px;
}
.content-cta p { color: var(--text2); margin-bottom: 20px; }
.content-cta a {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s;
}
.content-cta a:hover { background: var(--accent-hover); }

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 36px;
}
.footer-logo {
  font-family: 'TNR Condensed', 'Times New Roman', serif;
  font-size: 24px;
  color: #fff;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  display: block;
}
.footer p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}
.footer h4 {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  font-weight: 700;
}
.footer a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 13px;
  padding: 3px 0;
  transition: color 0.2s;
}
.footer a:hover { color: #fff; }
.footer-affiliates {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 28px 0 24px;
  margin-bottom: 8px;
}
.footer-affiliates h4 {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.footer-affiliates-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 14px;
}
.footer-affiliates-grid a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.footer-affiliates-grid a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.footer-disclosure {
  font-size: 11px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  max-width: 640px;
  margin: 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.55);
}
.footer-legal {
  margin: 16px 0 0;
  font-size: 11px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.4);
  max-width: 720px;
}

@media (max-width: 768px) {
  .footer { padding: 36px 0 100px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}

/* ============================================
   Bottom Nav (mobile only)
   ============================================ */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(252,249,248,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-light);
  display: none;
  justify-content: space-around;
  padding: 8px 0 env(safe-area-inset-bottom, 16px);
  z-index: 100;
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  font-size: 10px;
  font-weight: 500;
  color: var(--text3);
  padding: 4px 8px;
}
.bottom-nav a.active { color: var(--accent-dark); }
.bottom-nav svg { opacity: 0.5; }
.bottom-nav a.active svg { opacity: 1; }
.bottom-nav .bn-trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: 0;
  font: inherit;
  font-size: 10px;
  font-weight: 500;
  color: var(--text3);
  padding: 4px 8px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.bottom-nav .bn-trigger svg { opacity: 0.5; }
.bottom-nav .bn-trigger[aria-expanded="true"] { color: var(--accent-dark); }
.bottom-nav .bn-trigger[aria-expanded="true"] svg { opacity: 1; }

@media (max-width: 768px) {
  .bottom-nav { display: flex; }
}

/* ============================================
   Mobile Ideas chooser sheet
   ============================================ */
.ic-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(44, 62, 80, 0.32);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 110;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.ic-backdrop.is-open {
  opacity: 1;
}
.ic-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  background: var(--paper);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  padding: 14px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 32px rgba(0,0,0,0.12);
  transform: translateY(110%);
  transition: transform 0.24s cubic-bezier(0.32, 0.72, 0.2, 1);
  max-width: 520px;
  margin: 0 auto;
}
.ic-sheet.is-open {
  transform: translateY(0);
}
.ic-grabber {
  width: 38px;
  height: 4px;
  border-radius: 2px;
  background: var(--border-light);
  margin: 0 auto 12px;
}
.ic-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: 0;
  padding: 8px;
  color: var(--text3);
  cursor: pointer;
  border-radius: 50%;
  line-height: 0;
}
.ic-close:hover { color: var(--text); background: rgba(0,0,0,0.04); }
.ic-title {
  font-family: var(--font-headline, 'TNR Condensed', 'Times New Roman', serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 2px;
  color: var(--text);
}
.ic-sub {
  font-size: 13px;
  color: var(--text3);
  margin: 0 0 14px;
}
.ic-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  background: #fff;
  margin-bottom: 10px;
  transition: border-color 0.15s, transform 0.15s;
}
.ic-card:last-child { margin-bottom: 0; }
.ic-card:active { transform: scale(0.98); border-color: var(--accent); }
.ic-card-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
}
.ic-card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ic-card-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.ic-card-desc {
  font-size: 12px;
  color: var(--text3);
}
.ic-card-arrow {
  flex: 0 0 auto;
  color: var(--text3);
  font-size: 18px;
}

@media (min-width: 769px) {
  .ic-backdrop, .ic-sheet { display: none !important; }
}

/* ============================================
   Gate (non-paid visitors)
   ============================================ */
.gate {
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.gate-inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.gate-stripes {
  display: none;
}
.gate-content {
  position: relative;
  text-align: center;
  max-width: 480px;
  padding: 60px 40px;
  background: var(--paper);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-float);
  margin: 40px 20px;
}
.gate-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 24px;
  display: block;
}
.gate-title {
  font-family: 'TNR Condensed', 'Times New Roman', serif;
  font-size: 38px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.0;
  letter-spacing: -0.06em;
  margin-bottom: 12px;
}
.gate-tagline {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 24px;
}
.gate-divider {
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0 auto 24px;
}
.gate-desc {
  font-size: 14px;
  color: var(--text3);
  line-height: 1.7;
  margin-bottom: 32px;
}
.gate-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.gate-note {
  font-size: 13px;
  color: var(--text3);
  margin-bottom: 4px;
}
.gate-btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  width: 100%;
  max-width: 280px;
  text-align: center;
}
.gate-btn-primary {
  background: var(--accent);
  color: #fff;
}
.gate-btn-primary:hover {
  background: var(--accent-hover);
}
.gate-btn-secondary {
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border);
}
.gate-btn-secondary:hover {
  border-color: var(--accent);
  color: var(--text);
}
.gate-footer {
  padding: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--text3);
}

@media (max-width: 768px) {
  .gate-content { padding: 40px 24px; margin: 20px 16px; }
  .gate-title { font-size: 26px; }
  .gate-tagline { font-size: 15px; }
  .gate-stripes { display: none; }
}

/* ============================================
   Coming Up This Week
   ============================================ */
/* ============================================
   Coming Up This Week
   ============================================ */
.coming-up {
  padding: 16px 0 48px;
}
.cu-header {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text3);
  margin-bottom: 10px;
}
.coming-up-grid {
  display: flex;
  gap: 10px;
}
.cu-tile {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #e3e8ed;
  border: 1px solid #e3e8ed;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  transition: opacity 0.2s, transform 0.18s;
}
.cu-tile:hover { transform: translateY(-1px); }
.cu-tile.is-today {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent) inset;
}
.cu-tile.is-done { opacity: 0.5; }
.cu-day {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text3);
  min-width: 28px;
}
.cu-tile.is-today .cu-day { color: var(--accent-dark); }
.cu-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  flex: 1;
}
.cu-status {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
  color: var(--text3);
}
.cu-updated {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 20px;
  background: var(--alert-gold-light);
  color: #9A7A2A;
  vertical-align: middle;
}
.cu-tile.is-today .cu-status {
  background: var(--alert-gold-light);
  color: #9A7A2A;
}
.cu-link {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-dark);
  text-decoration: none;
  white-space: nowrap;
}
.cu-link:hover { color: var(--text); }

@media (max-width: 768px) {
  .coming-up { padding: 12px 0 4px; }
  .coming-up-grid { flex-direction: column; gap: 6px; }
  .cu-tile { padding: 9px 14px; }
  .cu-day { min-width: 30px; }
}

/* ============================================
   This Month at HQ
   ============================================ */
.new-at-hq {
  padding: 56px 0;
  background: var(--paper);
}
.new-at-hq-feature {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}
.new-at-hq-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.new-at-hq-card .hero-title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}
.new-at-hq-card--lead .hero-title {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}
.new-at-hq-card .hero-subtext {
  margin-bottom: 20px;
}
.new-at-hq-card .read-btn {
  margin-top: auto;
  align-self: flex-start;
}
@media (max-width: 720px) {
  .new-at-hq-feature { grid-template-columns: 1fr; }
}

.month-at-hq {
  padding: 64px 0;
}
.month-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}
.month-card {
  background: var(--paper);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.month-card-icon {
  color: var(--accent);
}
.month-card-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.month-card-subtext {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}
.month-card-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.5;
  margin: 0;
}
.month-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--text);
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.15s;
  width: fit-content;
  margin-top: auto;
}
.month-card-btn:hover { background: var(--accent); }
.month-card-btn-alt {
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border);
}
.month-card-btn-alt:hover {
  background: transparent;
  border-color: var(--accent);
  color: var(--text);
}
.month-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
@media (max-width: 768px) {
  .month-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .month-card { padding: 18px 16px; }
}

/* ============================================
   Homepage Sections: Strategy, New in HQ, Tools
   ============================================ */
.hp-section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}
.hp-section-title {
  font-family: 'TNR Condensed', 'Times New Roman', serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--text);
}
.hp-section-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.hp-section-link:hover { text-decoration: underline; }




/* ============================================
   Meeting Room Library (page-meetings.hbs)
   ============================================ */
.meetings-hero {
  padding: 40px 0 8px;
}
.meetings-hero-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.meetings-hero-title {
  font-family: 'TNR Condensed', 'Times New Roman', Times, serif;
  font-size: 56px;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.05;
}
.meetings-hero p {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 560px;
}
.meeting-stats {
  display: flex;
  gap: 28px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.meeting-stat { display: flex; flex-direction: column; gap: 2px; }
.meeting-stat .stat-num {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
}
.meeting-stat .stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text3);
}

/* Meetings Upcoming */
.meetings-upcoming {
  padding: 0 0 24px;
}

.meetings-library { padding-bottom: 60px; }

.month-group { padding: 36px 0 12px; }
.month-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text3);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.ep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ep-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.15s;
  display: flex;
  flex-direction: column;
}
.ep-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.ep-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-dark);
  overflow: hidden;
}
.ep-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ep-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-darker));
}
.ep-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,42,56,0.35);
  opacity: 0;
  transition: opacity 0.2s;
}
.ep-card:hover .ep-play-overlay { opacity: 1; }
.ep-play-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.ep-play-circle svg { margin-left: 3px; }

.ep-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ep-date {
  font-size: 11px;
  color: var(--text3);
  font-weight: 500;
  margin-bottom: 8px;
}
.ep-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 10px;
  flex: 1;
}

@media (max-width: 1024px) {
  .ep-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .meetings-hero { padding: 32px 0 28px; }
  .meetings-hero-inner { padding: 28px 24px; }
  .meetings-hero h1 { font-size: 26px; }
  .meetings-hero p { font-size: 15px; }
  .meeting-stats { gap: 20px; }
  .meeting-stat .stat-num { font-size: 22px; }
  .ep-grid { grid-template-columns: 1fr; gap: 16px; }
  .ep-card { flex-direction: row; }
  .ep-thumb {
    width: 140px;
    min-height: 100%;
    aspect-ratio: auto;
    flex-shrink: 0;
  }
  .ep-body { padding: 14px 16px; }
  .ep-title { font-size: 14px; }
}

/* ============================================
   Social Media News — Editorial Layout
   ============================================ */

/* Masthead */
/* News page — warm editorial */
.news-hero-editorial { padding: 80px 0 0; }
.news-masthead { text-align: center; max-width: 900px; margin: 0 auto; white-space: nowrap; }
.masthead-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-dark);
  margin-bottom: 16px;
}
.masthead-title {
  font-family: 'TNR Condensed', 'Times New Roman', serif;
  font-size: clamp(2.8rem, 6.5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 18px;
  color: var(--text);
}
.masthead-tagline {
  font-size: 15px;
  color: var(--text2);
  font-style: italic;
  margin-bottom: 14px;
}
.masthead-date {
  font-size: 12px;
  color: var(--text3);
  letter-spacing: 0.02em;
}

/* Filter tabs — pill style */
.news-ed-filters {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  margin: 40px 0 40px;
  flex-wrap: wrap;
}
.nf-btn {
  padding: 8px 20px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  background: var(--paper);
  color: var(--text2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.nf-btn:hover { border-color: var(--border); color: var(--text); background: var(--beige); }
.nf-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* News search */
.news-search-wrap {
  max-width: 400px;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--paper);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  transition: border-color 0.2s;
}
.news-search-wrap:focus-within {
  border-color: var(--accent);
}
.news-search-wrap svg {
  flex-shrink: 0;
  color: var(--text3);
}
.news-search {
  border: none;
  background: none;
  outline: none;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  width: 100%;
}
.news-search::placeholder {
  color: var(--text3);
}

/* Editorial news layout — type-first, no images */
.news-magazine {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
}
.news-mag-lead {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 10px;
  border-top: 3px solid var(--text);
  transition: opacity 0.2s;
}
.news-mag-lead:hover { opacity: 0.75; }
.news-mag-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-dark);
}
.news-mag-title-lg {
  font-family: 'TNR Condensed', 'Times New Roman', serif;
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
  margin: 0;
}
.news-mag-excerpt {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.55;
  margin: 6px 0 0;
  max-width: 52ch;
}
.news-mag-lead-date {
  font-size: 11px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}
.news-mag-side {
  display: flex;
  flex-direction: column;
}
.news-mag-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-light);
  transition: opacity 0.2s;
}
.news-mag-card:first-child { padding-top: 0; }
.news-mag-card:last-child { border-bottom: none; padding-bottom: 0; }
.news-mag-card:hover { opacity: 0.7; }
.news-mag-title-sm {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text);
  margin: 0;
}
.news-mag-side-date {
  font-size: 10.5px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Remaining articles — text grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding-bottom: 80px;
  border-top: 1px solid var(--border-light);
}
.news-grid-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  transition: opacity 0.2s;
}
.news-grid-card:hover { opacity: 0.7; }
.news-grid-card:nth-child(3n+1) { padding-left: 0; }
.news-grid-card:nth-child(3n) { padding-right: 0; border-right: none; }
.news-grid-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text);
  margin: 0;
}
.news-grid-date {
  font-size: 10.5px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: auto;
  padding-top: 8px;
}

@media (max-width: 900px) {
  .news-magazine { grid-template-columns: 1fr; gap: 32px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-grid-card { padding: 22px; border-right: 1px solid var(--border-light); }
  .news-grid-card:nth-child(2n+1) { padding-left: 0; padding-right: 22px; border-right: 1px solid var(--border-light); }
  .news-grid-card:nth-child(2n) { padding-right: 0; padding-left: 22px; border-right: none; }
}
@media (max-width: 600px) {
  .news-hero-editorial { padding: 24px 0 0; }
  .news-masthead { white-space: normal; }
  .masthead-title { font-size: 2.5rem; }
  .news-ed-filters { gap: 6px; }
  .nf-btn { padding: 7px 14px; font-size: 11px; }
  .news-search-wrap { margin: 0 0 16px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-grid-card, .news-grid-card:nth-child(n) { border-right: none; padding: 18px 0; }
}

/* Legacy news styles (kept for compatibility) */
.news-library { padding: 24px 0 60px; }
.news-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 12px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.15s;
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.news-date { font-size: 11px; color: var(--text3); margin-bottom: 6px; font-weight: 500; }
.news-title { font-size: 16px; font-weight: 600; line-height: 1.35; margin-bottom: 8px; }
.news-excerpt { font-size: 13px; color: var(--text2); line-height: 1.5; }

/* ============================================
   Content Ideas — Collage Layout
   ============================================ */

/* Hero collage */
.ci-hero-collage { padding: 48px 0 40px; }
.ci-collage-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 340px;
}

/* Left text */
.ci-collage-text { padding-right: 20px; }
.ci-collage-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.ci-collage-title {
  font-family: 'TNR Condensed', 'Times New Roman', Times, serif; letter-spacing: -0.03em;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 16px;
  color: var(--text);
}
.ci-collage-sub {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 20px;
}
.ci-collage-stat {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text3);
  font-weight: 500;
}

/* Latest report embed */
.ci-report-embed {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.ci-report-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.ci-latest-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 24px;
  background: var(--text);
  color: #fff;
  text-decoration: none;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s;
}
.ci-latest-btn:hover { background: var(--accent); }

/* Archive section */
.ci-archive-label {
  font-family: 'TNR Condensed', 'Times New Roman', Times, serif; letter-spacing: -0.03em;
  font-size: 28px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
}
.ci-archive-rule {
  height: 1px;
  background: var(--text);
  margin-bottom: 28px;
}

/* Month group labels */
.month-group { margin-bottom: 28px; }
.month-label {
  font-family: 'TNR Condensed', 'Times New Roman', Times, serif; letter-spacing: -0.03em;
  font-size: 20px;
  font-weight: 400;
  color: var(--text3);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

/* Condensed list */
.ci-list { padding-bottom: 60px; }
.ci-list-month {
  font-family: 'TNR Condensed', 'Times New Roman', Times, serif; letter-spacing: -0.03em;
  font-size: 18px;
  font-weight: 400;
  color: var(--text3);
  padding: 16px 0 8px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 0;
}
.ci-list-month:first-child { padding-top: 0; }
.ci-list-group { margin-bottom: 8px; }
.ci-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  color: inherit;
  transition: color 0.15s;
}
.ci-list-item:hover { color: var(--accent); }
.ci-list-date {
  font-size: 12px;
  color: var(--text3);
  min-width: 100px;
  flex-shrink: 0;
}
.ci-list-title {
  font-size: 15px;
  font-weight: 500;
  flex: 1;
}
.ci-list-arrow {
  font-size: 14px;
  color: var(--text3);
  flex-shrink: 0;
  transition: transform 0.15s;
}
.ci-list-item:hover .ci-list-arrow { transform: translateX(3px); color: var(--accent); }

@media (max-width: 768px) {
  .ci-report-embed { aspect-ratio: 16 / 9; }
  .ci-collage-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ci-collage-title { font-size: 40px; }
  .ci-collage-text { padding-right: 0; text-align: center; }
  .ci-report-embed { margin-top: 8px; }
  .ci-hero-collage { padding: 28px 0 24px; }
  .ci-list-item { gap: 10px; }
  .ci-list-date { min-width: 80px; font-size: 11px; }
  .ci-list-title { font-size: 14px; }
}

/* ============================================
   PWA — Standalone Mode
   ============================================ */
@media (display-mode: standalone) {
  /* Safe area insets for notch / Dynamic Island */
  body {
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .top-bar {
    padding-top: env(safe-area-inset-top);
  }

  .bottom-nav {
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
  }

  /* Slightly tighter top spacing without browser chrome */
  .header { padding-top: 6px; padding-bottom: 6px; }
}

/* ============================================
   PWA — Install Prompt
   ============================================ */
.pwa-install-prompt {
  position: fixed;
  bottom: 80px;
  left: 16px;
  right: 16px;
  z-index: 9000;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(44,62,80,0.18);
  padding: 20px;
  display: none;
  animation: pwa-slide-up 0.3s ease-out;
}

.pwa-install-prompt.visible { display: block; }

@keyframes pwa-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.pwa-install-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.pwa-install-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.pwa-install-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.pwa-install-info p {
  font-size: 12px;
  color: var(--text3);
}

.pwa-install-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.5;
  margin-bottom: 14px;
}

/* iOS step-by-step instructions */
.pwa-ios-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.pwa-ios-step {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pwa-ios-step-num {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--accent-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.pwa-ios-step-text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.pwa-ios-step-text span {
  font-size: 11px;
  color: var(--text3);
}

.pwa-install-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  transition: background 0.2s;
}

.pwa-install-btn:hover { background: var(--accent-hover); }

.pwa-install-dismiss {
  display: block;
  width: 100%;
  padding: 8px;
  background: none;
  border: none;
  color: var(--text3);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  margin-top: 4px;
  font-family: inherit;
}

/* ============================================
   PWA — Notification Opt-in
   ============================================ */
.pwa-notif-prompt {
  position: fixed;
  bottom: 80px;
  left: 16px;
  right: 16px;
  z-index: 8999;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(44,62,80,0.18);
  padding: 20px;
  display: none;
  animation: pwa-slide-up 0.3s ease-out;
}

.pwa-notif-prompt.visible { display: block; }

.pwa-notif-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.pwa-notif-header svg {
  flex-shrink: 0;
  color: var(--accent);
}

.pwa-notif-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.pwa-notif-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.5;
  margin-bottom: 14px;
}

.pwa-notif-actions {
  display: flex;
  gap: 8px;
}

.pwa-notif-actions .pwa-install-btn { flex: 1; }

.pwa-notif-actions .pwa-install-dismiss {
  flex: 0;
  white-space: nowrap;
  padding: 12px 16px;
  margin: 0;
}

@media (min-width: 769px) {
  .pwa-install-prompt,
  .pwa-notif-prompt {
    left: auto;
    right: 24px;
    bottom: 24px;
    max-width: 380px;
  }
}

/* ============================================
   THE IDEA VAULT (/ideas/) library page
   ============================================ */

/* Hero */
.ideas-hero {
  padding: 56px 0 32px;
}
.ideas-hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: end;
}
.ideas-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 14px;
}
.ideas-title {
  font-family: 'TNR Condensed', 'Times New Roman', Times, serif;
  letter-spacing: -0.03em;
  font-size: 84px;
  line-height: 0.95;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 18px;
}
.ideas-subtitle {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text2);
  max-width: 520px;
}
.ideas-hero-stats {
  display: flex;
  gap: 28px;
  justify-content: flex-end;
  padding-bottom: 8px;
}
.ideas-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1;
}
.ideas-stat-num {
  font-family: 'TNR Condensed', 'Times New Roman', Times, serif;
  letter-spacing: -0.03em;
  font-size: 44px;
  font-weight: 400;
  color: var(--text);
}
.ideas-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text3);
  margin-top: 6px;
  font-weight: 500;
}

/* Controls */
.ideas-controls-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 246, 243, 0.88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0 12px;
  margin-bottom: 28px;
}
.ideas-search-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.ideas-search-field {
  position: relative;
  flex: 1;
  max-width: 560px;
}
.ideas-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text3);
  pointer-events: none;
}
.ideas-search-input {
  width: 100%;
  padding: 12px 44px 12px 44px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-shadow: var(--shadow-sm);
}
.ideas-search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.ideas-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--text2);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ideas-search-clear:hover { background: var(--stone); color: #fff; }
.ideas-result-count {
  font-size: 12px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  white-space: nowrap;
}

.ideas-filter-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  align-items: center;
}
.ideas-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
/* The scroll wrapper is a real flex box at every breakpoint (NOT
   display:contents — toggling that to flex at a breakpoint leaves a
   "ghost box" that renders but won't touch-scroll on Android Chrome).
   Desktop: it flexes to fill the row beside the label and wraps its chips,
   matching the old inline-wrap look. Mobile (max-width:860px): it becomes
   a single horizontal swipe row. */
.ideas-chips-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}
.ideas-filter-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text3);
  font-weight: 600;
  margin-right: 4px;
}
.ideas-chip {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text2);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ideas-chip:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-color: var(--accent-light);
}
.ideas-chip.is-active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

/* Personal "My Ideas" filter tier — separated from the content facets
   (Type/Format/Platform) so personal state doesn't read as a content
   attribute. Full-width so it drops to its own line below a divider. */
.ideas-filter-personal {
  width: 100%;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 2px;
}
.ideas-filter-label-mine {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-dark);
}
.ideas-filter-label-mine svg { display: block; }
.ideas-filter-personal .ideas-chip {
  background: rgba(140, 170, 184, 0.08);
  border-color: rgba(140, 170, 184, 0.22);
}
.ideas-filter-personal .ideas-chip:hover {
  background: rgba(140, 170, 184, 0.16);
  color: var(--accent-dark);
  border-color: var(--accent-light);
}
.ideas-filter-personal .ideas-chip.is-active {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-color: var(--accent);
}
.ideas-chip-count {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.6;
  margin-left: 1px;
}
.ideas-chip-count:empty { display: none; }

/* Dedicated /my-ideas/ page: the All/Saved/Done toggle is the primary
   control, not a second tier — drop the divider, make it a touch larger. */
.myideas-rail { margin-top: 2px; }
.myideas-toggle.ideas-filter-personal {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
  width: auto;
  gap: 8px;
}
.myideas-toggle .ideas-chip { font-size: 13.5px; padding: 8px 18px; }

/* Mobile "Filters" collapse toggle + Done button. Hidden on desktop (the
   rail is always visible there); revealed in the max-width:860px block. */
.ideas-filters-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.ideas-filters-toggle svg { display: block; }
.ideas-filters-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.ideas-filters-done {
  display: none;
  align-self: flex-start;
  margin-top: 4px;
  padding: 9px 24px;
  border-radius: 999px;
  border: none;
  background: var(--text);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
}

/* Grid */
.ideas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  padding-bottom: 40px;
}
.ideas-sentinel {
  height: 1px;
  width: 100%;
}

/* Card */
.idea-card {
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s;
  box-shadow: var(--shadow-sm);
  min-height: 180px;
}
.idea-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}
.idea-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.idea-type {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.idea-type-content {
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.idea-type-trend {
  background: var(--alert-gold-light);
  color: #8E6C1E;
}
.idea-date {
  font-size: 11px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.idea-card-title {
  font-family: 'TNR Condensed', 'Times New Roman', Times, serif;
  letter-spacing: -0.03em;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 400;
  color: var(--text);
  margin: 2px 0 2px;
}
.idea-card-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text2);
  flex: 1;
}
.idea-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-light);
}
.idea-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.idea-pill {
  font-size: 10.5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.idea-pill-format {
  background: var(--paper);
  color: var(--text2);
}
.idea-pill-platform {
  background: var(--bg-dark);
  color: var(--text2);
}
.idea-card-dots {
  display: flex;
  gap: 5px;
}
.idea-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.platform-ig { background: #8E3A6E; }
.platform-tt { background: #2A6F8E; }
.platform-yt { background: #A82020; }
.platform-igs { background: #A0629C; }
.platform-other { background: var(--stone); }
.idea-pill-platform.platform-ig,
.idea-pill-platform.platform-tt,
.idea-pill-platform.platform-yt,
.idea-pill-platform.platform-igs { color: #fff; }

/* Save / Done controls (per-member, synced with the app) */
.idea-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.idea-drawer-pills + .idea-actions {
  margin-top: 16px;
  margin-bottom: 4px;
}
.idea-action {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text2);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.idea-action svg { display: block; flex: none; }
.idea-action:hover { border-color: var(--accent-light); color: var(--text); }
/* Soft tints when active — slate for Save, soft green for Done — so an
   active card doesn't shout against the calm grid. */
.idea-action-save.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-dark);
}
.idea-action-done.is-active {
  background: rgba(90, 158, 111, 0.12);
  border-color: rgba(90, 158, 111, 0.45);
  color: #3f7551;
}

/* Personal "My Ideas" empty state — an onboarding moment, not a dead end */
.ideas-empty-mine { max-width: 440px; margin-left: auto; margin-right: auto; }
.ideas-empty-mine-title {
  font-family: 'TNR Condensed', 'Times New Roman', Times, serif;
  font-weight: 400;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 12px;
}

/* Sync-failure toast */
.ideas-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 12px);
  z-index: 1200;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--text, #2C3E50);
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.ideas-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Empty state */
.ideas-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text2);
}
.ideas-empty p {
  font-size: 16px;
  margin-bottom: 16px;
}
.ideas-clear-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--bg-card);
  color: var(--accent-dark);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.ideas-clear-btn:hover {
  background: var(--accent);
  color: #fff;
}

/* Error state */
.ideas-error {
  grid-column: 1 / -1;
  padding: 40px 20px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--text2);
}

/* Footer CTA */
.ideas-footer-cta {
  padding: 48px 0 72px;
}
.ideas-footer-line {
  height: 1px;
  background: var(--border);
  margin-bottom: 32px;
}
.ideas-footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.ideas-footer-title {
  font-family: 'TNR Condensed', 'Times New Roman', Times, serif;
  letter-spacing: -0.03em;
  font-size: 28px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 6px;
}
.ideas-footer-sub {
  font-size: 14px;
  color: var(--text3);
  max-width: 520px;
}
.ideas-footer-btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--text);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s;
  white-space: nowrap;
}
.ideas-footer-btn:hover { background: var(--accent); }

/* Drawer */
.ideas-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}
.ideas-drawer.is-open {
  pointer-events: auto;
}
.ideas-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44,62,80,0.25);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.ideas-drawer.is-open .ideas-drawer-backdrop {
  opacity: 1;
}
.ideas-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(520px, 100%);
  background: var(--bg-light);
  box-shadow: var(--shadow-float);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  padding: 28px 32px 64px;
}
.ideas-drawer.is-open .ideas-drawer-panel {
  transform: translateX(0);
}
.ideas-drawer-close {
  position: sticky;
  top: 0;
  float: right;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  margin-bottom: 4px;
}
.ideas-drawer-close:hover { background: var(--bg-dark); }
.idea-drawer-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  clear: both;
}
.idea-drawer-date {
  font-size: 11px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}
.idea-drawer-title {
  font-family: 'TNR Condensed', 'Times New Roman', Times, serif;
  letter-spacing: -0.03em;
  font-size: 38px;
  line-height: 1.05;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 16px;
}
.idea-drawer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.idea-drawer-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 24px;
}
.idea-drawer-desc p + p { margin-top: 10px; }
.idea-drawer-section {
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  margin-bottom: 18px;
}
.idea-drawer-section h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text3);
  font-weight: 700;
  margin-bottom: 10px;
}
.idea-drawer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.idea-drawer-links a {
  color: var(--accent-dark);
  font-size: 13.5px;
  text-decoration: none;
  word-break: break-all;
}
.idea-drawer-links a:hover { text-decoration: underline; }

/* Inline embeds (TikTok / Instagram / YouTube) */
.idea-embeds {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.idea-embed {
  margin: 0;
  background: #000;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  max-width: 380px;
}
.idea-embed-vertical { max-width: 340px; }
.idea-embed-horizontal { max-width: 100%; }
.idea-embed-frame {
  position: relative;
  width: 100%;
  aspect-ratio: var(--idea-aspect, 9 / 16);
  background: #111;
}
.idea-embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.idea-embed-instagram .idea-embed-frame {
  /* Instagram embeds include caption/likes so need more vertical room */
  aspect-ratio: auto;
  height: 540px;
  background: #fff;
}
.idea-embed-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--bg-card);
  font-size: 12px;
  color: var(--text3);
}
.idea-embed-platform {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-size: 11px;
}
.idea-embed-link {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 500;
}
.idea-embed-link:hover { text-decoration: underline; }

.idea-embed-link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s, border-color 0.15s;
}
.idea-embed.idea-embed-link {
  background: var(--bg-card);
  max-width: 100%;
}
.idea-embed-link-card:hover {
  background: var(--accent-soft);
}
.idea-embed-link-platform {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  font-size: 11px;
  color: var(--accent-dark);
}
.idea-embed-link-host {
  flex: 1;
  font-size: 13px;
  color: var(--text2);
  word-break: break-all;
}
.idea-embed-link-arrow {
  color: var(--accent-dark);
  font-size: 18px;
}

.idea-drawer-audio a {
  color: var(--accent-dark);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
}
.idea-drawer-audio a:hover { text-decoration: underline; }
.idea-drawer-source {
  border-top: none;
  padding-top: 8px;
}
.idea-drawer-source-btn {
  display: inline-block;
  padding: 10px 22px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s;
}
.idea-drawer-source-btn:hover { background: var(--accent-hover); }

body.ideas-drawer-open { overflow: hidden; }

/* Responsive */
@media (max-width: 860px) {
  .ideas-hero { padding: 36px 0 20px; }
  .ideas-hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }
  .ideas-title { font-size: 56px; }
  .ideas-hero-stats {
    justify-content: flex-start;
    gap: 24px;
  }
  .ideas-stat-num { font-size: 32px; }
  .ideas-search-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .ideas-search-field { max-width: none; }
  .ideas-result-count { align-self: flex-start; }

  /* Tap-only filters: the rail collapses behind a "Filters" button, and
     when open the chips simply WRAP (horizontal swipe proved unreliable on
     Android Chrome, so no scroll). */
  .ideas-filters-toggle { display: inline-flex; }
  .ideas-filters-done { display: block; }

  .ideas-filter-rail {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    min-width: 0;
    margin-top: 14px;
  }
  /* Vault rail collapsed by default; the toggle adds .is-open. The My Ideas
     page rail has no #ideas-filter-rail id, so it stays visible. */
  #ideas-filter-rail { display: none; }
  #ideas-filter-rail.is-open { display: flex; }

  .ideas-filter-group {
    display: block;
    min-width: 0;
  }
  .ideas-filter-label {
    display: block;
    margin: 0 0 8px;
  }
  .ideas-filter-label-mine {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
  }
  .ideas-filter-personal {
    padding-top: 16px; /* keep the My Ideas divider */
  }
  .ideas-chips-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    min-width: 0;
  }
  .ideas-chips-scroll .ideas-chip { min-height: 40px; }
  .idea-drawer-title { font-size: 30px; }
  .ideas-drawer-panel {
    width: 100%;
    padding: 24px 22px 80px;
  }
  .ideas-footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  .ideas-title { font-size: 44px; }
  .ideas-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   ABOUT PAGE
============================================================= */
.about-hero {
  padding: 56px 0 36px;
  text-align: center;
}
.about-hero-inner {
  max-width: 680px;
  margin: 0 auto;
}
.about-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 18px;
}
.about-title {
  font-family: 'TNR Condensed', 'Times New Roman', Times, serif;
  letter-spacing: -0.03em;
  font-size: 88px;
  font-weight: 400;
  line-height: 1;
  color: var(--text);
  margin: 0 0 18px;
}
.about-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text2);
  font-style: italic;
  margin: 0;
}

.about-body {
  max-width: 780px;
  margin: 12px auto 80px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 48px 56px;
  box-shadow: 0 2px 14px rgba(44, 62, 80, 0.04);
}
.about-body-video { margin: 12px auto 24px; }
.about-body-video:empty { display: none; }
.about-body.about-body-video h2 {
  border-bottom: 0;
  padding-bottom: 0;
}
.about-video-note {
  margin: 20px 0 4px;
  padding: 14px 18px;
  background: var(--bg);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text2);
}
.about-body-rest { margin-top: 0; }
.about-body h2 {
  font-family: 'TNR Condensed', 'Times New Roman', Times, serif;
  letter-spacing: -0.03em;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
  margin: 44px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}
.about-body h2:first-child { margin-top: 0; }
.about-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 10px;
}
.about-body p,
.about-body li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text2);
}
.about-body p { margin: 0 0 14px; }
.about-body ul, .about-body ol {
  margin: 0 0 20px;
  padding-left: 22px;
}
.about-body li { margin-bottom: 6px; }
.about-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(140, 170, 184, 0.4);
  text-underline-offset: 3px;
  transition: color 0.15s, text-decoration-color 0.15s;
}
.about-body a:hover {
  color: var(--text);
  text-decoration-color: var(--text);
}
.about-body blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  background: var(--bg);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  color: var(--text2);
  font-style: italic;
}
.about-body iframe {
  display: block;
  max-width: 100%;
  border-radius: 12px;
  margin: 16px 0;
}
.about-body figure { margin: 20px 0; }
.about-body .kg-embed-card {
  margin: 24px 0 32px;
  width: 100%;
}
.about-body .kg-embed-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 0;
  border-radius: 12px;
}
.about-body hr {
  border: 0;
  border-top: 1px solid var(--border-light);
  margin: 32px 0;
}

/* FAQ-style details blocks (member can use <details> in HTML editor) */
.about-body details {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 10px;
  transition: background 0.15s;
}
.about-body details[open] { background: var(--bg-card); }
.about-body summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  font-size: 15px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.about-body summary::-webkit-details-marker { display: none; }
.about-body summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--text3);
  transition: transform 0.2s;
}
.about-body details[open] summary::after {
  content: '−';
}
.about-body details > *:not(summary) { margin-top: 12px; }

@media (max-width: 768px) {
  .about-hero { padding: 36px 0 24px; }
  .about-title { font-size: 56px; }
  .about-sub { font-size: 15px; }
  .about-body {
    padding: 28px 24px;
    border-radius: 14px;
    margin: 8px 0 48px;
  }
  .about-body h2 { font-size: 26px; margin-top: 32px; }
}

/* ============================================
   Welcome Video Modal (first-visit, once per device)
   ============================================ */
.welcome-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.welcome-modal[hidden] { display: none; }
.welcome-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 62, 80, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: welcome-fade 0.25s ease-out;
}
.welcome-modal-card {
  position: relative;
  width: 100%;
  max-width: 680px;
  background: var(--bg-card);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(44, 62, 80, 0.3);
  overflow: hidden;
  animation: welcome-pop 0.3s ease-out;
}
@keyframes welcome-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes welcome-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.welcome-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  color: var(--text);
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.welcome-modal-close:hover { background: #fff; }
.welcome-modal-header {
  padding: 28px 32px 16px;
  text-align: center;
}
.welcome-modal-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.welcome-modal-header h2 {
  margin: 0;
  font-family: 'TNR Condensed', 'Times New Roman', Times, serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.05;
  color: var(--text);
}
.welcome-modal-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.welcome-modal-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.welcome-modal-actions {
  padding: 20px 32px 28px;
  text-align: center;
}
.welcome-modal-btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
}
.welcome-modal-btn:hover { background: var(--text); }
@media (max-width: 600px) {
  .welcome-modal { padding: 12px; }
  .welcome-modal-card { border-radius: 14px; }
  .welcome-modal-header { padding: 24px 20px 12px; }
  .welcome-modal-header h2 { font-size: 28px; }
  .welcome-modal-actions { padding: 16px 20px 24px; }
}

/* ============================================================
   THE HELP DESK (/ask/ and /help-desk/)
   ============================================================ */

.hd-hero {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg) 100%);
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--bg-dark);
}
.hd-hero-inner { max-width: 720px; }
.hd-kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 10px;
}
.hd-title {
  font-family: 'TNR Condensed', 'Times New Roman', serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--text);
  margin: 0 0 12px;
}
.hd-subtitle {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text2);
  margin: 0;
  max-width: 620px;
}

.hd-ask-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-dark);
  border-radius: 18px;
  padding: 36px;
  margin: 36px auto 80px;
  max-width: 680px;
  box-shadow: 0 2px 14px rgba(44, 62, 80, 0.04);
}
.hd-ask-form { display: flex; flex-direction: column; gap: 22px; }
.hd-field { display: flex; flex-direction: column; gap: 8px; }
.hd-field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}
.hd-field select,
.hd-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--bg-darker);
  border-radius: 10px;
  background: var(--bg-light);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.15s, background 0.15s;
}
.hd-field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.55;
}
.hd-field select:focus,
.hd-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.hd-counter {
  font-size: 12px;
  color: var(--text3);
  text-align: right;
}
.hd-minhint { color: var(--text3); }

.hd-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--accent-lighter);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text2);
  cursor: pointer;
}
.hd-consent input { margin-top: 3px; flex-shrink: 0; accent-color: var(--accent); }

.hd-actions { display: flex; justify-content: flex-end; }
.hd-submit-btn {
  padding: 12px 26px;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, transform 0.05s;
}
.hd-submit-btn:hover:not(:disabled) { background: var(--accent-hover); }
.hd-submit-btn:active:not(:disabled) { transform: translateY(1px); }
.hd-submit-btn:disabled { opacity: 0.55; cursor: not-allowed; }

.hd-fineprint {
  font-size: 12px;
  color: var(--text3);
  margin: 0;
  line-height: 1.5;
}
.hd-fineprint a { color: var(--accent-dark); }

.hd-status {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  display: none;
}
.hd-status.is-success {
  display: block;
  background: #EFF7F0;
  color: #2F6E3D;
  border: 1px solid #C8E5CC;
}
.hd-status.is-error {
  display: block;
  background: #FBEDEB;
  color: #8B3A2A;
  border: 1px solid #F0CFC8;
}

.hd-gate {
  text-align: center;
  padding: 20px 0;
}
.hd-gate h2 {
  font-family: 'TNR Condensed', 'Times New Roman', serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.hd-gate p { color: var(--text2); margin: 0; }

/* Help Desk board (/help-desk/) */
.hd-board-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 24px 0 28px;
}
.hd-board-search {
  position: relative;
  flex: 1;
  min-width: 260px;
}
.hd-board-search input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1px solid var(--bg-darker);
  border-radius: 999px;
  background: var(--bg-card);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
}
.hd-board-search input:focus { outline: none; border-color: var(--accent); }
.hd-board-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text3);
}
.hd-board-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hd-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--bg-darker);
  background: var(--bg-card);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text2);
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.hd-chip:hover { border-color: var(--accent); color: var(--text); }
.hd-chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.hd-board-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 60px;
  background: var(--bg-card);
  border: 1px solid var(--bg-dark);
  border-radius: 16px;
  padding: 6px;
}
.hd-row {
  border-radius: 12px;
  overflow: hidden;
  transition: background 0.15s;
}
.hd-row + .hd-row { border-top: 1px solid var(--bg-dark); }
.hd-row[open] { background: var(--bg-lighter, #fdfbfa); }
.hd-row-summary {
  list-style: none;
  display: grid;
  grid-template-columns: 92px 1fr auto 20px;
  align-items: center;
  gap: 16px;
  padding: 18px 18px;
  cursor: pointer;
  user-select: none;
}
.hd-row-summary::-webkit-details-marker { display: none; }
.hd-row-summary:hover { background: var(--bg-lighter, #fdfbfa); }
.hd-row-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-lighter);
  padding: 4px 10px;
  border-radius: 999px;
  text-align: center;
  justify-self: start;
}
.hd-row-q {
  font-family: 'TNR Condensed', 'Times New Roman', serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
  min-width: 0;
}
.hd-row-q-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hd-row-asker {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text3);
}
.hd-row-date {
  font-size: 11px;
  color: var(--text3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hd-row-chev {
  width: 18px;
  height: 18px;
  color: var(--text3);
  transition: transform 0.2s;
}
.hd-row[open] .hd-row-chev { transform: rotate(180deg); }
.hd-row-body {
  padding: 0 18px 20px 126px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hd-row-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text2);
  margin: 0;
}
.hd-row-cta {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}
.hd-row-cta:hover { color: var(--text); border-bottom-color: var(--text); }

@media (max-width: 600px) {
  .hd-row-summary {
    grid-template-columns: 1fr 20px;
    grid-template-areas: "cat chev" "q q" "date date";
    gap: 8px;
    padding: 16px;
  }
  .hd-row-cat { grid-area: cat; }
  .hd-row-q { grid-area: q; font-size: 18px; }
  .hd-row-date { grid-area: date; }
  .hd-row-chev { grid-area: chev; justify-self: end; }
  .hd-row-body { padding: 0 16px 18px; }
}

.hd-board-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text3);
}

@media (max-width: 600px) {
  .hd-ask-card { padding: 24px; margin: 24px 12px 60px; border-radius: 14px; }
  .hd-hero { padding: 40px 0 28px; }
}

/* Help Desk — single-answer post page */
.hd-post-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.hd-post-eyebrow-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.hd-post-cat-pill {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 3px 10px;
  border-radius: 999px;
}
.post-content h1.hd-post-title {
  font-family: 'TNR Condensed', 'Times New Roman', serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 10px;
}
.post-content .hd-read-more {
  background: none;
  border: 0;
  padding: 0 0 1px;
  margin: 4px 0 6px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  border-bottom: 1px solid var(--accent);
  cursor: pointer;
}
.post-content .hd-read-more:hover { color: var(--text); border-bottom-color: var(--text); }
.post-content .hd-question-rest {
  font-family: 'TNR Condensed', 'Times New Roman', serif;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text2);
  margin: 10px 0 18px;
  white-space: pre-wrap;
}
.post-content .hd-answer-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 28px 0 14px;
}
.post-content .gh-content.hd-answer-body > p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 16px;
}
.post-content .gh-content.hd-answer-body > p:last-child { margin-bottom: 0; }

/* ========== LIVE HERO (countdown -> livestream embed) ========== */
.hero-main-slot {
  display: flex;
  flex-direction: column;
}
.hero-main-slot > * {
  flex: 1 1 auto;
  min-height: 0;
}
.hero-main-slot > [hidden] { display: none; }

.hero-live-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.live-state { display: flex; flex-direction: column; }
.live-state[hidden] { display: none; }

.live-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
}
.live-kicker-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.live-kicker-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  animation: live-kicker-pulse 2s ease-out infinite;
}
.live-kicker-on { color: #B83A3A; }
.live-kicker-on .live-kicker-dot { background: #E04545; }
@keyframes live-kicker-pulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(2.6); opacity: 0;   }
}

.live-countdown {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  font-variant-numeric: tabular-nums;
}
.live-cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
}
.live-cd-num {
  font-family: 'TNR Condensed', 'Times New Roman', serif;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text);
}
.live-cd-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text3);
  margin-top: 8px;
}
.live-cd-sep {
  font-family: 'TNR Condensed', 'Times New Roman', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--accent-dark);
  line-height: 0.95;
  padding-bottom: 18px;
  opacity: 0.4;
}

.live-now-title {
  font-family: 'TNR Condensed', 'Times New Roman', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 10px 0 16px;
}
.live-embed-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-md);
}
.live-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.live-yt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  align-self: flex-start;
}
.live-slides-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #f5efe7 0%, #fdfbfa 100%);
  border: 1px solid #E0DCD6;
  border-left: 3px solid var(--accent, #8CAAB8);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text, #2C3E50);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.live-slides-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(140, 170, 184, 0.18);
  border-left-color: #6E8C99;
}
.live-slides-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  background: var(--accent, #8CAAB8);
  color: #fff;
}
.live-slides-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.live-slides-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted, #7C8E96);
  font-weight: 600;
}
.live-slides-url {
  font-family: 'TNR Condensed', 'Times New Roman', serif;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text, #2C3E50);
  word-break: break-all;
}
.live-slides-arrow {
  font-size: 18px;
  color: var(--accent, #8CAAB8);
  flex: 0 0 auto;
}

@media (max-width: 768px) {
  .live-countdown { gap: 8px; margin-top: 20px; padding-top: 16px; }
  .live-cd-unit { min-width: 48px; }
  .live-cd-sep { padding-bottom: 14px; }
  .live-yt-btn { display: flex; align-self: stretch; padding: 12px; }
  .live-slides-cta { padding: 12px 14px; gap: 10px; }
  .live-slides-icon { width: 32px; height: 32px; flex-basis: 32px; }
}
