@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Lora:wght@400;600&display=swap');

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

body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #1a1a1a;
  line-height: 1.6;
}

a { color: #2563eb; text-decoration: underline; }
a:hover { opacity: 0.8; }

.site-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

/* ── Hero Banner (homepage only - logo version) ── */
.logo-only-banner {
  background: #0f172a;
  padding: 40px 24px;
  text-align: center;
}

.hero-logo-large {
  max-width: 360px;
  width: 100%;
  height: auto;
  display: inline-block;
}

/* ── Directory heading ── */
.directory-heading {
  text-align: center;
  margin-bottom: 28px;
}

.directory-heading h1 {
  font-family: 'Lora', serif;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111;
}

.directory-subtitle {
  font-size: 16px;
  color: #555;
  font-style: italic;
}

/* ── Logo (guest pages) ── */
.site-logo-wrap {
  margin-bottom: 24px;
}
.site-logo {
  max-width: 260px;
  height: auto;
  display: block;
}

/* ── Back link ── */
.back-link {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 14px;
  color: #2563eb;
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; }
.back-link-bottom {
  display: inline-block;
  margin: 36px 0 20px;
  font-size: 14px;
  color: #2563eb;
  text-decoration: none;
}
.back-link-bottom:hover { text-decoration: underline; }

/* ── Guest header ── */
.guest-header {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 48px;
}

.guest-photo {
  width: 260px;
  height: 260px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 4px;
}

.guest-meta {
  flex: 1;
}

.podcast-label {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.podcast-tagline {
  font-style: italic;
  color: #444;
  font-size: 14px;
  margin-bottom: 18px;
}

.guest-speaker-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 6px;
}

.guest-name {
  font-family: 'Lora', serif;
  font-size: 38px;
  font-weight: 600;
  color: #111;
  line-height: 1.2;
  margin-bottom: 6px;
}

.guest-title-firm {
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
}

.guest-bio {
  font-size: 15px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 24px;
}

.topics-label, .episodes-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 8px;
}

.episodes-label { margin-top: 24px; }

.topics-list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 8px;
}

.topics-list li {
  font-size: 15px;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.episode-link {
  display: inline-block;
  font-size: 15px;
  color: #2563eb;
}

/* ── Search ── */
.search-wrap {
  margin-bottom: 32px;
}

.guest-search {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
  background: #fafafa;
  color: #1a1a1a;
}

.guest-search:focus {
  border-color: #2563eb;
  background: #fff;
}

.guest-search::placeholder {
  color: #9ca3af;
}

.no-results {
  text-align: center;
  font-size: 16px;
  color: #666;
  padding: 40px 0;
}

/* ── Guest grid ── */
.guest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.guest-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.guest-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.guest-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.card-info {
  padding: 12px;
}

.card-name {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

.card-title {
  font-size: 12px;
  color: #555;
}

.card-firm {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

/* ── About section ── */
.about-section {
  border-top: 1px solid #e5e7eb;
  padding-top: 40px;
  margin-top: 20px;
}

.about-section h2 {
  font-family: 'Lora', serif;
  font-size: 26px;
  margin-bottom: 8px;
}

.about-section h3 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #666;
  margin-bottom: 12px;
}

.about-section p {
  font-size: 15px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ── Substack embed ── */
.substack-embed-wrap {
  margin-top: 24px;
}

.substack-embed-wrap iframe {
  max-width: 100%;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .guest-header {
    flex-direction: column;
  }
  .guest-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }
  .guest-name {
    font-size: 28px;
  }
  .hero-logo-large {
    max-width: 260px;
  }
}

/* ── Episodes / Events (same format as the Cool Vector bios) ── */
.appearances-heading {
  font-size: 22px;
  font-weight: 600;
  color: #0f172a;
  margin: 28px 0 12px;
  padding-bottom: 4px;
  border-bottom: 2px solid #0f172a;
  display: inline-block;
}

.appearances-heading span { color: #2563eb; }

.appearances-list { list-style: none; }

.appearances-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
}

.appearances-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0f172a;
}

.appearances-list li.ap-event::before { background: #2563eb; }

.appearances-list a {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

.appearances-list .ap-sub {
  display: block;
  font-size: 14px;
  font-style: italic;
  color: #555;
}
