/* ===========================
   BODY BY A — Shared Page Styles
   About, Workouts, Supplements, Blog, Guides
   =========================== */

/* --- Page Hero --- */
.page-hero {
  padding: calc(68px + 80px) 0 60px;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border-light);
}

.page-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
  max-width: 720px;
}

.page-intro {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
  max-width: 640px;
  margin-top: 20px;
}

/* --- Story Sections (About page) --- */
.story-section {
  padding: var(--section-pad) 0;
  background: var(--bg);
}
.story-section.alt {
  background: var(--bg-sage);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.story-grid.reverse {
  grid-template-columns: 1.2fr 1fr;
}

.story-image img {
  border-radius: 12px;
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.story-content .section-title { margin-bottom: 24px; }

.story-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  font-weight: 300;
}
.story-content p em {
  font-style: italic;
  color: var(--text-primary);
}

.story-together {
  max-width: 720px;
  margin: 0 auto;
}

.together-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  font-weight: 300;
}

/* --- Content Cards (Workouts, Supplements) --- */
.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.content-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  display: block;
}
.content-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(44, 62, 45, 0.06);
}

.content-card-image {
  height: 200px;
  overflow: hidden;
}
.content-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.content-card:hover .content-card-image img {
  transform: scale(1.04);
}

.content-card-body {
  padding: 28px;
}

.content-card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--bg-sage);
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.content-card-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.content-card-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 16px;
}

.content-card-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-dark);
  transition: color 0.3s var(--ease);
}
.content-card:hover .content-card-link { color: var(--text-primary); }

/* --- Simple List Cards (Supplements detail) --- */
.list-section {
  padding: var(--section-pad) 0;
}
.list-section.alt { background: var(--bg-warm); }

.list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* --- Blog / Post Cards --- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.post-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  display: block;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(44, 62, 45, 0.06);
}

.post-card-image {
  height: 180px;
  overflow: hidden;
}
.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.post-card:hover .post-card-image img { transform: scale(1.04); }

.post-card-body {
  padding: 24px;
}

.post-card-meta {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  font-weight: 500;
}

.post-card-body h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--text-primary);
  line-height: 1.3;
}

.post-card-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}

/* --- Inline CTA --- */
.inline-cta {
  padding: 60px 0;
  background: var(--bg-sage);
  text-align: center;
}
.inline-cta p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 24px;
  font-weight: 300;
  line-height: 1.7;
}

/* --- Active nav link --- */
.nav-links a.active {
  color: var(--text-primary);
  font-weight: 500;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .story-grid,
  .story-grid.reverse { grid-template-columns: 1fr; gap: 40px; }
  .story-image { order: -1; }
  .story-image img { height: 300px; }
  .content-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .list-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .list-grid { grid-template-columns: 1fr; }
  .page-title { font-size: 28px; }
}
