/* === Site-specific (Substack-like reading layout) ======================== */

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.container.wide {
  max-width: 920px;
}

/* --- Headings ------------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--font-family);
  color: var(--text-heading);
  line-height: 1.25;
  margin-top: 1.6em;
  margin-bottom: 0.5em;
  font-weight: 800;
}
h1 { font-size: 2.4rem; margin-top: 0; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.2rem; }

p, li {
  font-size: 1.075rem;
  color: #2a2a2a;
}

p { margin: 0 0 1.1em; }

ul, ol { padding-left: 1.4em; }
li { margin-bottom: 0.4em; }

blockquote {
  border-left: 3px solid var(--brand-primary);
  padding: 4px 0 4px 18px;
  margin: 1.4em 0;
  color: #444;
  font-style: italic;
}

img { max-width: 100%; height: auto; border-radius: 8px; }

/* --- Hero (home) ---------------------------------------------------------- */

.hero {
  text-align: center;
  padding: 24px 0 8px;
}
.hero h1 {
  font-size: 2.6rem;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.3em;
}
.hero .tagline {
  font-size: 1.1rem;
  color: #555;
  max-width: 560px;
  margin: 0 auto 24px;
}
.hero .cta-row { margin: 8px 0 12px; }
.hero .hero-sub {
  font-size: 0.9rem;
  color: #888;
  margin: 0;
}
.hero .hero-sub a { color: var(--brand-primary); }

/* --- Focus areas (home) --------------------------------------------------- */

.focus-areas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 32px 0;
}
@media (min-width: 720px) {
  .focus-areas { grid-template-columns: repeat(3, 1fr); }
}
.focus-card {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 18px;
}
.focus-card h3 {
  margin-top: 0;
  font-size: 1.05rem;
  color: var(--brand-primary-dark);
}
.focus-card p {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
}

/* --- Post byline ---------------------------------------------------------- */

.byline {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 28px;
}
.byline .sep { margin: 0 8px; color: #ccc; }

/* --- Blog index ----------------------------------------------------------- */

.post-list { list-style: none; padding: 0; margin: 24px 0 0; }
.post-list li {
  border-bottom: 1px solid #eee;
  padding: 18px 0;
}
.post-list li:last-child { border-bottom: 0; }
.post-list a.post-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  text-decoration: none;
}
.post-list a.post-title:hover { color: var(--brand-primary); }
.post-list .post-meta {
  display: block;
  font-size: 0.8rem;
  color: #999;
  margin-top: 4px;
}
.post-list .post-excerpt {
  margin: 6px 0 0;
  color: #555;
  font-size: 0.95rem;
}

/* --- Recent posts (home) -------------------------------------------------- */

.recent-posts h2 {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
  font-weight: 700;
  margin-top: 48px;
}

/* --- CTA on Talk in ISL --------------------------------------------------- */

.cta-row {
  text-align: center;
  margin: 36px 0;
}

/* --- Founders ------------------------------------------------------------- */

.founder {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: start;
  margin: 32px 0;
  padding-bottom: 32px;
  border-bottom: 1px solid #eee;
}
.founder:last-of-type { border-bottom: 0; }

.founder-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0;
}

.founder-bio h2,
.founder-bio h3 {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 800;
}
.founder-role {
  margin: 0 0 12px;
  color: var(--brand-primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 560px) {
  .founder { grid-template-columns: 1fr; gap: 12px; text-align: center; }
  .founder-photo { width: 120px; height: 120px; margin: 0 auto; }
  .founder-bio { text-align: left; }
}

/* --- Section divider ------------------------------------------------------ */

hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 36px 0;
}
