/* Interior pages */
.page-hero {
  background: var(--cream);
  padding: 60px 0 48px;
  border-bottom: 1px solid var(--light-grey);
}
.page-hero h1 { margin: 12px 0 16px; }
.page-hero p { font-size: 1.05rem; max-width: 560px; line-height: 1.8; }

.hub-content { padding: 60px 0 80px; }
.hub-grid { display: grid; grid-template-columns: 1fr 320px; gap: 60px; align-items: start; }
.hub-section-title {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 20px;
}

.article-list { display: flex; flex-direction: column; gap: 2px; }
.article-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px;
  background: white;
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  transition: var(--transition);
  gap: 20px;
  margin-bottom: 8px;
}
.article-item:hover {
  border-color: var(--sage-light);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}
.article-info { flex: 1; }
.article-info h3 { font-size: 1rem; margin: 6px 0 6px; }
.article-info p { font-size: 0.85rem; line-height: 1.6; }
.article-arrow { color: var(--sage-dark); font-size: 1.1rem; flex-shrink: 0; }

.hub-sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-widget {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--light-grey);
}
.sidebar-widget h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.sidebar-widget p { font-size: 0.86rem; }
.sidebar-widget--affiliate { background: white; }

/* Article page */
.article-layout { padding: 60px 0 80px; }
.article-grid { display: grid; grid-template-columns: 1fr 300px; gap: 60px; align-items: start; }
.article-body { max-width: 680px; }
.article-body h2 {
  font-size: 1.6rem;
  margin: 40px 0 16px;
  padding-top: 8px;
  border-top: 1px solid var(--light-grey);
}
.article-body h3 { font-size: 1.2rem; margin: 28px 0 12px; }
.article-body p { margin-bottom: 18px; font-size: 0.97rem; line-height: 1.85; }
.article-body ul, .article-body ol { margin: 0 0 18px 20px; }
.article-body li { font-size: 0.95rem; line-height: 1.8; color: var(--mid-grey); margin-bottom: 6px; }
.article-body a { color: var(--sage-dark); text-decoration: underline; text-underline-offset: 3px; }

.article-meta { display: flex; gap: 16px; align-items: center; margin: 16px 0 32px; flex-wrap: wrap; }
.article-meta span { font-size: 0.8rem; color: var(--mid-grey); }

.callout {
  background: var(--sage-light);
  border-left: 3px solid var(--sage-dark);
  border-radius: 0 8px 8px 0;
  padding: 18px 20px;
  margin: 24px 0;
}
.callout p { color: var(--charcoal); font-size: 0.93rem; margin: 0; }

.affiliate-box {
  background: var(--cream);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 24px;
  margin: 32px 0;
}
.affiliate-box h4 { font-family: var(--font-body); font-weight: 600; margin-bottom: 8px; }
.affiliate-box p { font-size: 0.87rem; margin-bottom: 14px; }

@media (max-width: 900px) {
  .hub-grid, .article-grid { grid-template-columns: 1fr; }
  .hub-sidebar { position: static; }
}

/* ── Article banner images ── */
.article-banner { width: 100%; border-radius: 16px; overflow: hidden; margin: 0 0 32px; background: var(--cream); box-shadow: 0 2px 16px rgba(74,113,80,0.06); }
.article-banner img, .article-banner svg { width: 100%; height: auto; display: block; }

/* ── Inline photo slot (for stock photos added later) ── */
.photo-slot { width: 100%; margin: 32px 0; border-radius: 14px; overflow: hidden; background: var(--cream); }
.photo-slot img { width: 100%; height: auto; display: block; object-fit: cover; }
.photo-slot figcaption { font-size: 0.82rem; color: var(--mid-grey); text-align: center; padding: 10px 16px; font-style: italic; }

/* ── Topic card images on homepage ── */
.topic-img { width: 100%; height: 160px; object-fit: cover; border-radius: 12px 12px 0 0; display: block; }
