/* Alumni Interviews — listing + detail extras (KN charcoal + gold) */
:root {
  --ai-ink: #1c1915;
  --ai-muted: #5c564c;
  --ai-paper: #f3efe6;
  --ai-card: #fffcf7;
  --ai-gold: #d4a017;
  --ai-gold-soft: #f0d48a;
  --ai-line: rgba(28, 25, 21, 0.1);
  --ai-shadow: 0 14px 40px rgba(28, 25, 21, 0.1);
}

.ai-list-page {
  background:
    radial-gradient(ellipse 70% 40% at 100% -10%, rgba(212, 160, 23, 0.14), transparent 55%),
    var(--ai-paper);
  padding-bottom: 64px;
}

.ai-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(212, 160, 23, 0.28), transparent 42%),
    linear-gradient(135deg, #171411 0%, #2a241c 48%, #3d3220 100%);
  color: #fff;
  padding: 52px 0 44px;
  text-align: center;
}

.ai-hero h1 {
  font-family: "Roboto Condensed", sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  margin: 0 0 12px;
  color: #fff;
  text-transform: none;
}

.ai-hero-kicker {
  display: inline-flex;
  background: var(--ai-gold);
  color: var(--ai-ink);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.ai-hero p {
  max-width: 640px;
  margin: 0 auto 22px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.65;
  font-size: 1.05rem;
}

.ai-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 18px;
}

.ai-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.ai-hero-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 10px 16px;
  min-width: 110px;
}

.ai-hero-stat strong {
  display: block;
  color: var(--ai-gold-soft);
  font-size: 1.15rem;
}

.ai-hero-stat span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.ai-breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--ai-line);
  padding: 12px 0;
  font-size: 13px;
  color: var(--ai-muted);
}

.ai-breadcrumb a {
  color: #8a6a14;
  font-weight: 700;
  text-decoration: none;
}

.ai-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.ai-direct {
  background: var(--ai-card);
  border: 1px solid var(--ai-line);
  border-radius: 20px;
  padding: 20px 22px;
  margin: 22px 0 20px;
  box-shadow: 0 8px 24px rgba(28, 25, 21, 0.04);
}

.ai-direct h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ai-ink);
}

.ai-direct p {
  margin: 0;
  color: var(--ai-muted);
  line-height: 1.7;
}

.ai-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.ai-filters-label {
  width: 100%;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ai-muted);
  margin: 8px 0 2px;
}

.ai-filter {
  appearance: none;
  border: 1px solid var(--ai-line);
  background: #fff;
  color: var(--ai-ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ai-filter:hover,
.ai-filter.is-active {
  background: var(--ai-ink);
  border-color: var(--ai-ink);
  color: var(--ai-gold-soft);
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 28px;
}

.ai-card {
  display: flex;
  flex-direction: column;
  background: var(--ai-card);
  border: 1px solid var(--ai-line);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  box-shadow: 0 8px 24px rgba(28, 25, 21, 0.04);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 100%;
}

.ai-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 160, 23, 0.45);
  box-shadow: var(--ai-shadow);
  text-decoration: none !important;
  color: inherit;
}

.ai-card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #111;
  overflow: hidden;
}

.ai-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.ai-card:hover .ai-card-thumb img {
  transform: scale(1.04);
}

.ai-card-play {
  position: absolute;
  inset: auto 14px 14px auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ai-gold);
  color: var(--ai-ink);
  display: grid;
  place-items: center;
  font-size: 14px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.ai-card-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.ai-badge {
  display: inline-flex;
  align-self: flex-start;
  background: rgba(212, 160, 23, 0.16);
  color: #8a6a14;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
}

.ai-card-body h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ai-ink);
  line-height: 1.3;
}

.ai-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-card-avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  flex: 0 0 auto;
}

.ai-card-meta strong {
  display: block;
  color: var(--ai-ink);
  font-size: 0.92rem;
}

.ai-card-meta span {
  color: var(--ai-muted);
  font-size: 12px;
}

.ai-card-summary {
  margin: 0;
  color: var(--ai-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  flex: 1;
}

.ai-card-cta {
  margin-top: 4px;
  color: #8a6a14 !important;
  font-weight: 800 !important;
  font-size: 13px;
  text-decoration: none !important;
}

.ai-empty {
  display: none;
  text-align: center;
  padding: 28px 16px;
  background: #fff;
  border: 1px dashed var(--ai-line);
  border-radius: 16px;
  color: var(--ai-muted);
  margin-bottom: 24px;
}

.ai-empty.is-visible {
  display: block;
}

.ai-hubs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.ai-hubs a {
  background: #fff !important;
  border: 1px solid var(--ai-line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700 !important;
  color: #5c4a1a !important;
  text-decoration: none !important;
}

.ai-hubs a:hover {
  background: var(--ai-gold) !important;
  border-color: var(--ai-gold);
  color: var(--ai-ink) !important;
}

/* Detail page — beat global style.css + give hero breathing room */
.ai-page.vg-page {
  padding-top: 28px !important;
}

.ai-page .sem-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 8px;
}

.ai-page .ai-detail-hero.vg-hero {
  margin: 0 0 32px;
}

.ai-page .ai-detail-hero .vg-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 300px);
  gap: 36px 48px;
  align-items: center;
  padding: 48px 44px 52px !important;
}

.ai-page .ai-detail-hero .vg-crumb {
  margin-bottom: 18px;
}

.ai-page .ai-detail-hero .vg-kicker {
  margin-bottom: 18px;
}

.ai-page .ai-detail-hero h1 {
  margin: 0 0 18px !important;
  max-width: none !important;
  font-size: clamp(1.85rem, 3.6vw, 2.65rem) !important;
  line-height: 1.18 !important;
  font-weight: 800 !important;
  color: #fff !important;
  text-transform: none !important;
  letter-spacing: -0.01em;
}

.ai-page .ai-detail-hero .vg-lead {
  margin: 0 0 22px !important;
  max-width: 40rem;
  font-size: 1.08rem !important;
  line-height: 1.7 !important;
  color: rgba(255, 255, 255, 0.88) !important;
}

.ai-page .ai-detail-hero .ai-hero-ctas {
  margin: 0 !important;
}

.ai-page .ai-detail-hero .vg-btn {
  min-height: 48px;
  padding: 13px 22px !important;
  font-size: 15px !important;
}

.ai-page .ai-detail-hero .vg-device {
  width: min(100%, 300px);
  margin: 0 auto;
  min-width: 0;
}

.ai-page .ai-detail-hero .vg-device-caption {
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
  line-height: 1.45;
  text-align: center;
}

.ai-page .ai-detail-hero .vg-hero-copy {
  min-width: 0;
}

/* Detail extras */
.ai-profile-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(240, 212, 138, 0.22);
  border-radius: 18px;
  padding: 14px 16px;
  margin: 0 0 16px;
  max-width: 440px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.ai-avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff !important;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  flex: 0 0 auto;
  border: 2px solid rgba(240, 212, 138, 0.55);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.18);
}

.ai-profile-chip-text {
  min-width: 0;
}

.ai-profile-chip strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.25;
  margin-bottom: 2px;
}

.ai-profile-chip span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.4;
}

.ai-track-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.ai-track {
  background: rgba(240, 212, 138, 0.14);
  color: var(--ai-gold-soft);
  border: 1px solid rgba(240, 212, 138, 0.28);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 960px) {
  /* Must restate grid — desktop rule is more specific than video-guide.css */
  .ai-page .ai-detail-hero .vg-hero-inner {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding: 32px 22px 36px !important;
    align-items: stretch;
  }

  .ai-page .ai-detail-hero .vg-device {
    order: -1;
    width: min(100%, 280px) !important;
    max-width: 280px;
    margin: 0 auto !important;
  }

  .ai-page .ai-detail-hero .vg-hero-copy {
    width: 100%;
  }

  .ai-page .ai-detail-hero h1 {
    font-size: clamp(1.55rem, 6.5vw, 2.1rem) !important;
  }

  .ai-profile-chip {
    max-width: none;
  }

  .ai-page .vg-duo {
    grid-template-columns: 1fr;
  }

  .ai-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .ai-page.vg-page {
    padding-top: 16px !important;
    padding-bottom: 96px !important; /* clear scroll-to-top + chat FABs */
  }

  .ai-page .sem-wrap {
    padding: 0 14px 8px;
  }

  .ai-page .ai-detail-hero.vg-hero {
    border-radius: 22px;
    margin-bottom: 22px;
  }

  .ai-page .ai-detail-hero .vg-hero-inner {
    grid-template-columns: 1fr !important;
    padding: 24px 16px 28px !important;
    gap: 22px !important;
  }

  .ai-page .ai-detail-hero .vg-device {
    width: min(100%, 240px) !important;
    max-width: 240px;
    padding: 12px 10px 14px;
    border-radius: 28px;
  }

  .ai-page .ai-detail-hero .vg-crumb {
    font-size: 12px;
    gap: 6px;
    margin-bottom: 14px;
  }

  .ai-page .ai-detail-hero .vg-kicker {
    margin-bottom: 14px;
  }

  .ai-page .ai-detail-hero .vg-lead {
    font-size: 0.98rem !important;
    margin-bottom: 18px !important;
  }

  .ai-page .ai-detail-hero .ai-hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .ai-page .ai-detail-hero .vg-btn {
    width: 100%;
    box-sizing: border-box;
  }

  .ai-profile-chip {
    padding: 12px 14px;
    gap: 12px;
  }

  .ai-avatar {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 13px;
  }

  .ai-related-grid {
    grid-template-columns: 1fr;
  }

  .ai-page .vg-cta-band {
    flex-direction: column;
    align-items: stretch;
    padding: 22px 18px;
  }

  .ai-page .vg-cta-band .vg-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .ai-page .vg-cta-band .vg-btn {
    width: 100%;
  }
}

.ai-dl {
  margin: 0;
}

.ai-dl > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--ai-line);
}

.ai-dl > div:last-child {
  border-bottom: 0;
}

.ai-dl dt {
  margin: 0;
  color: var(--ai-muted);
  font-size: 13px;
  font-weight: 700;
}

.ai-dl dd {
  margin: 0;
  color: var(--ai-ink);
  font-weight: 600;
}

.ai-note {
  margin-top: 12px !important;
  font-size: 13px !important;
  font-style: italic;
}

.ai-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ai-related-card {
  display: block;
  background: var(--ai-card);
  border: 1px solid var(--ai-line);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.ai-related-card:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 160, 23, 0.45);
  color: inherit;
}

.ai-related-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #111;
}

.ai-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ai-play-mini {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ai-gold);
  color: var(--ai-ink);
  display: grid;
  place-items: center;
  font-size: 11px;
}

.ai-related-body {
  padding: 12px 14px 14px;
  display: grid;
  gap: 6px;
}

.ai-related-body strong {
  color: var(--ai-ink);
  font-size: 0.95rem;
  line-height: 1.35;
}

.ai-related-body > span:last-child {
  color: var(--ai-muted);
  font-size: 12px;
}

.ai-notfound {
  padding: 80px 20px;
  text-align: center;
  background: var(--ai-paper);
}

.ai-notfound h1 {
  margin: 0 0 10px;
  color: var(--ai-ink);
}

.ai-notfound p {
  color: var(--ai-muted);
  margin: 0 0 18px;
}

@media (max-width: 991px) {
  .ai-grid,
  .ai-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ai-grid,
  .ai-related-grid {
    grid-template-columns: 1fr;
  }

  .ai-dl > div {
    grid-template-columns: 1fr;
  }

  .ai-hero-actions .vg-btn {
    width: 100%;
  }
}

/* Hidden by filter JS */
.ai-card.is-hidden {
  display: none;
}
