/* Own The Leap — journal skin */

/* --- Typography --- */
body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.8;
}

/* --- Layout: narrow reading column --- */
.site-main { padding: 2.5rem 0; }
.leigh-wrap {
  max-width: 660px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Header: static, tagline visible --- */
.site-header { position: static; border-bottom: 1px solid var(--color-border); }
.site-header__inner {
  height: auto;
  padding: 1.5rem 0;
  flex-wrap: wrap;
  gap: .35rem;
}
.site-header__logo { font-size: 1.5rem; font-family: Georgia, serif; }
.leigh-tagline {
  width: 100%;
  font-size: .875rem;
  color: #78716c;
  font-style: italic;
  margin-top: .1rem;
}
.site-nav { gap: 1.25rem; }
.site-nav__link { font-size: .85rem; font-weight: 400; }

/* --- Feed (list view) --- */
.article-grid { display: none; } /* replaced by .post-feed */

.post-feed { display: flex; flex-direction: column; gap: .75rem; }

.post-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: var(--color-text);
  transition: border-color .15s, box-shadow .15s;
}
.post-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  text-decoration: none;
}

.post-card__day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 3.5rem;
  text-align: center;
  flex-shrink: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  border-right: 1px solid var(--color-border);
  padding-right: 1.25rem;
}
.post-card__day-label {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-primary);
}
.post-card__day-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
}

.post-card__body { flex: 1; min-width: 0; }
.post-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 .35rem;
  line-height: 1.3;
  font-family: Georgia, serif;
  color: var(--color-text);
}
.post-card__excerpt {
  font-size: .875rem;
  color: #78716c;
  line-height: 1.55;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.post-card__arrow {
  font-size: 1.1rem;
  color: #d6d3d1;
  flex-shrink: 0;
  transition: color .15s;
}
.post-card:hover .post-card__arrow { color: var(--color-primary); }

@media (max-width: 480px) {
  .post-card { padding: 1rem; gap: .875rem; }
  .post-card__day { min-width: 2.75rem; padding-right: .875rem; }
  .post-card__day-num { font-size: 1.4rem; }
  .post-card__title { font-size: 1rem; }
}

/* --- Single post: no sidebar --- */
.article-layout { display: block; }
.sidebar { display: none; }
.author-card { display: none; }
.toc-wrapper, .toc { display: none; }
.article__tags { display: none; }
.related-posts { display: none; }

.article {
  max-width: 660px;
  margin: 0 auto;
}
.article__header {
  border: none;
  padding-bottom: .75rem;
  margin-bottom: 1.5rem;
}
.article__pre-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: -apple-system, sans-serif;
  font-size: .82rem;
  color: #78716c;
  margin-bottom: .85rem;
}
.article__title { font-size: 2rem; line-height: 1.25; margin-bottom: 0; }
.article__subtitle {
  font-size: 1.05rem;
  color: #78716c;
  margin-top: .5rem;
  font-style: italic;
}
.article__content { max-width: 100%; }
.article__content p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.4rem;
}
.article__content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2.5rem 0 .85rem;
}
.article__content h3 { font-size: 1.1rem; margin: 2rem 0 .6rem; }
.article__content hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2.25rem auto;
  width: 40%;
}
.article__content blockquote {
  border-left: 3px solid var(--color-primary);
  background: #fffbf5;
  padding: .75rem 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
}
.article__content em { font-style: italic; }
.article__footer { border-top: 1px solid var(--color-border); margin-top: 3rem; padding-top: 1.5rem; }

/* --- Footer: minimal --- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--color-border);
  padding: 1.75rem 0;
  margin-top: 3rem;
}
.site-footer__grid { flex-direction: column; gap: .25rem; }
.site-footer__tagline { display: none; }
.site-footer__name { font-size: .9rem; }
.site-footer__nav { gap: .75rem; }
.site-footer__nav a { font-size: .82rem; color: #78716c; }
.site-footer__bottom { margin-top: 1rem; padding-top: 1rem; }

/* --- Section headers --- */
.section-header h1 { font-size: 1.5rem; font-family: Georgia, serif; }
.section-desc { font-style: italic; }

/* --- Mobile --- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .article__title { font-size: 1.6rem; }
  .article-card__title { font-size: 1.2rem; }
  .site-header__inner { gap: .25rem; }
}
