/* ========================================================================
   Conversations / Lectures page
   Uses the shared geometric-library theme (dark background, accent red,
   --text / --text-dim / --border vars from ../style.css)
   ======================================================================== */

.page-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1rem 1.5rem 3rem;
  color: var(--text);
}

.breadcrumb {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.breadcrumb a { color: var(--text-dim); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .sep { margin: 0 0.4rem; color: #3a3a3a; }

/* ---- Hero ---- */
.page-hero {
  padding: 1.25rem 0 1.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
  text-align: left;     /* override shared .page-hero { text-align: center } */
}
.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  text-align: left;
}
.page-hero .subtitle {
  margin: 0;
  max-width: 740px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dim);
  text-align: left;
}

/* ---- Lecture grid ---- */
.lecture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
  gap: 1.5rem;
}

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

/* ---- Lecture card ---- */
.lecture-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card, #141414);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.lecture-card:hover {
  border-color: var(--accent, #C41E3A);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55),
              0 0 0 1px rgba(196, 30, 58, 0.12);
}
.lecture-card--upcoming {
  opacity: 0.78;
}
.lecture-card--upcoming:hover {
  transform: none;
  border-color: var(--border);
  box-shadow: none;
  opacity: 0.92;
}

/* ---- 16:9 video frame ---- */
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.video-frame iframe,
.video-frame .video-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Placeholder for unreleased conversations */
.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background:
    radial-gradient(ellipse at center,
                    rgba(196, 30, 58, 0.08) 0%,
                    rgba(0, 0, 0, 0) 65%),
    #0c0c0c;
  color: var(--text-muted);
}
.placeholder-ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1.5px solid rgba(196, 30, 58, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 0, 6, 0.4);
  box-shadow: 0 0 24px rgba(196, 30, 58, 0.15);
}
.placeholder-glyph {
  font-size: 1.3rem;
  color: var(--accent-light, #E8384F);
  margin-left: 3px; /* optical center for the play triangle */
}
.placeholder-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

/* ---- Card body ---- */
.lecture-body {
  padding: 1.1rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.lecture-meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.lecture-dot { color: #333; }
.lecture-series { color: var(--text-dim); }

.lecture-tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: rgba(196, 30, 58, 0.18);
  color: var(--accent-light, #E8384F);
  border: 1px solid rgba(196, 30, 58, 0.35);
}
.lecture-tag--soon {
  background: #1a1a1a;
  color: var(--text-muted);
  border-color: #2a2a2a;
}

.lecture-title {
  margin: 0.1rem 0 0.25rem;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: -0.005em;
}

.lecture-desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-dim);
}

/* ---- Bottom note ---- */
.lectures-note {
  margin-top: 2.25rem;
  padding: 1.15rem 1.35rem;
  background: var(--bg-surface, #111);
  border: 1px solid var(--border);
  border-radius: 6px;
  max-width: 820px;
}
.lectures-note p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-dim);
}

/* ---- Footer ---- */
.site-footer {
  text-align: center;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-top: 2rem;
}
