/* ============================================================
   Vitova Journal styles
   Loaded after styles.css — only adds blog-specific rules.
============================================================ */

/* ---------- BLOG HUB GRID ---------- */
.blog-hub { background: var(--cream); }

.post-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.post-card {
  background: var(--beige);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -22px rgba(22,23,15,0.35);
}

.post-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.post-card__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--beige-deep);
}

.post-card__body { padding: 24px 26px 28px; }

.post-card__meta {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 12px;
}

.post-card__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 12px;
}

.post-card__excerpt {
  font-family: var(--sans);
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--olive-ink);
  margin: 0;
}

.post-card--placeholder {
  background: transparent;
  border: 1px dashed rgba(22,23,15,0.18);
}
.post-card--placeholder:hover {
  transform: none;
  box-shadow: none;
}
.post-card--placeholder .post-card__body { padding: 40px 26px; }

/* ---------- HUB CTA BLOCK ---------- */
.blog-hub__cta {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  padding: 32px 0 8px;
}
.blog-hub__cta p {
  font-family: var(--sans);
  color: var(--olive-ink);
  margin-bottom: 18px;
}
.blog-hub__form { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.blog-hub__form input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bone);
  font-family: var(--sans);
  font-size: 0.95rem;
}

/* ---------- POST PAGE ---------- */
.container--narrow { max-width: 720px; margin-left: auto; margin-right: auto; }

.post { background: var(--cream); padding-bottom: 80px; }

.post__head {
  padding: 96px 0 32px;
  background: var(--cream);
}

.post__back {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--sage-deep);
  text-decoration: none;
  margin-bottom: 24px;
}
.post__back:hover { color: var(--ink); }

.post__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  line-height: 1.08;
  font-weight: 500;
  color: var(--ink);
  margin: 8px 0 16px;
}

.post__byline {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--olive-ink);
  opacity: 0.75;
}

.post__hero {
  max-width: 1080px;
  margin: 32px auto 56px;
  padding: 0 24px;
}
.post__hero img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

.post__body {
  font-family: var(--sans);
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--olive-ink);
}

.post__lede {
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 32px;
}

.post__body p { margin: 0 0 1.4em; }

.post__body h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--ink);
  margin: 2em 0 0.6em;
  line-height: 1.2;
}

.post__body h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
  margin: 1.8em 0 0.4em;
}

.post__body a {
  color: var(--sage-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.post__body a:hover { color: var(--ink); }

.post__body strong { color: var(--ink); font-weight: 600; }

.post__body ul, .post__body ol {
  padding-left: 1.4em;
  margin: 0 0 1.4em;
}
.post__body li { margin-bottom: 0.5em; }

.post__body blockquote {
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--ink);
  border-left: 3px solid var(--sage);
  padding: 6px 0 6px 24px;
  margin: 32px 0;
}

.post__body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 32px 0;
}

/* ---------- POST INLINE CTA ---------- */
.post__cta {
  margin-top: 64px;
  padding: 56px 24px;
  background: var(--ink);
  color: var(--bone);
  text-align: center;
}
.post__cta h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--bone);
}
.post__cta p {
  font-family: var(--sans);
  color: var(--bone-dim);
  margin: 0 0 24px;
}
.post__cta form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
}
.post__cta input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--line-light);
  background: var(--ink-soft);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 0.95rem;
}
.post__cta input::placeholder { color: var(--bone-dim); }

/* ---------- REVIEWS SECTION (homepage) ---------- */
.reviews { background: var(--cream); }

.reviews__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }

.reviews__stars {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 16px;
  color: var(--sage-deep);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}
.reviews__summary {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--olive-ink);
  opacity: 0.8;
}

.review-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--beige);
  border-radius: 14px;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
}

.review-card__stars {
  color: var(--sage-deep);
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.review-card__quote {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 20px;
  flex: 1;
}

.review-card__author {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--olive-ink);
  font-weight: 500;
}
.review-card__author small {
  display: block;
  font-weight: 400;
  opacity: 0.7;
  margin-top: 2px;
}

.reviews__note {
  margin-top: 40px;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--olive-ink);
  opacity: 0.7;
}

.reviews__cta { margin-top: 12px; }
.reviews__head { padding-bottom: 16px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 640px) {
  .post__head { padding-top: 80px; }
  .post__hero { padding: 0 16px; margin: 24px auto 40px; }
  .post__body { font-size: 1rem; }
  .post__lede { font-size: 1.2rem; }
}
