/* Homepage farm introduction (.toh-farm) and customer reviews (.toh-rev).
   Uses the shared tokens, kicker and button styles from collections.css
   (enqueued as a dependency). Scoped so Sober / WPBakery styles never leak in. */

/* ---------- Farm introduction: photo left, copy right ---------- */
.toh-farm {
  background: #ffffff; color: var(--tc-ink); font-family: var(--tc-sans);
  padding: 80px 0; scroll-margin-top: 90px;
}
.toh-farm__inner {
  width: min(1180px, calc(100% - 40px)); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center;
}
.toh-farm .toh-farm__media {
  position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--tc-radius); background: #f1e9e1;
  box-shadow: 0 1px 2px rgba(58, 26, 51, 0.04), 0 14px 36px rgba(58, 26, 51, 0.09);
}
.toh-farm .toh-farm__media picture { display: block; width: 100%; height: 100%; }
.toh-farm .toh-farm__media img {
  display: block; width: 100%; height: 100%; max-width: none; margin: 0; border-radius: 0;
  object-fit: cover; object-position: center;
}
.toh-farm .toh-farm__placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 100%; height: 100%; text-align: center; padding: 24px;
  color: var(--tc-muted); font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  background: repeating-linear-gradient(45deg, #f4ece4, #f4ece4 12px, #efe5dc 12px, #efe5dc 24px);
}
.toh-farm .toh-farm__placeholder small { font-weight: 400; letter-spacing: 0; text-transform: none; }
.toh-farm .toh-farm__caption { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.88); font-size: 12px; color: var(--tc-muted); }
.toh-farm .toh-farm__body { min-width: 0; }
.toh-farm .toh-farm__title {
  margin: 0; padding: 0; color: var(--tc-plum); font-family: var(--tc-serif); font-weight: 700;
  font-size: clamp(30px, 3.3vw, 42px); line-height: 1.15; letter-spacing: 0; text-transform: none;
}
.toh-farm .toh-farm__sub {
  margin: 12px 0 22px; color: var(--tc-plum); font-family: var(--tc-serif); font-style: italic;
  font-size: 19px; line-height: 1.45; opacity: 0.9;
}
.toh-farm .toh-farm__text { margin: 0 0 14px; color: var(--tc-muted); font-size: 16px; line-height: 1.75; }
.toh-farm .toh-farm__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

@media (max-width: 899px) {
  .toh-farm { padding: 56px 0 64px; }
  .toh-farm__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .toh-farm .toh-farm__media { max-width: 640px; }
}
@media (max-width: 599px) {
  .toh-farm { padding: 44px 0 52px; }
  .toh-farm__inner { width: calc(100% - 32px); gap: 24px; }
  .toh-farm .toh-farm__sub { font-size: 17px; margin-bottom: 18px; }
  .toh-farm .toh-farm__text { font-size: 15px; line-height: 1.7; }
  .toh-farm .toh-farm__actions { flex-direction: column; }
  .toh-farm .toh-farm__actions .toh-btn { width: 100%; }
}

/* ---------- Customer reviews ---------- */
.toh-rev {
  background: #f6eee8; color: var(--tc-ink); font-family: var(--tc-sans);
  padding: 72px 0 84px; scroll-margin-top: 90px;
}
.toh-rev .toh-rev__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  margin: 0; padding: 0; list-style: none;
}
.toh-rev .toh-rev__grid--1 { grid-template-columns: minmax(0, 640px); justify-content: center; }
.toh-rev .toh-rev__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin: 0 auto; }
.toh-rev .toh-rev__item { margin: 0; padding: 0; list-style: none; min-width: 0; }
.toh-rev .toh-rev__item::before { content: none; }
.toh-rev .toh-rev__card {
  display: flex; flex-direction: column; height: 100%; margin: 0; padding: 28px 28px 24px;
  background: var(--tc-card); border: 1px solid var(--tc-line); border-radius: var(--tc-radius);
  box-shadow: 0 1px 2px rgba(58, 26, 51, 0.04), 0 10px 28px rgba(58, 26, 51, 0.05);
}
.toh-rev .toh-rev__stars { margin: 0 0 14px; font-size: 17px; letter-spacing: 2px; line-height: 1; }
.toh-rev .toh-rev__star { color: #e2d6cc; }
.toh-rev .toh-rev__star.is-on { color: var(--tc-gold); }
.toh-rev .toh-rev__quote { margin: 0 0 20px; padding: 0; border: 0; background: none; quotes: none; }
.toh-rev .toh-rev__quote::before, .toh-rev .toh-rev__quote::after { content: none; }
.toh-rev .toh-rev__quote p {
  margin: 0; color: var(--tc-ink); font-family: var(--tc-serif); font-style: normal;
  font-size: 17px; line-height: 1.65;
}
.toh-rev .toh-rev__by { margin-top: auto; display: flex; flex-direction: column; gap: 3px; }
.toh-rev .toh-rev__name { color: var(--tc-plum); font-weight: 600; font-size: 15px; }
.toh-rev .toh-rev__meta { color: var(--tc-muted); font-size: 13px; }
@media (max-width: 899px) {
  .toh-rev { padding: 56px 0 64px; }
  .toh-rev .toh-rev__grid, .toh-rev .toh-rev__grid--2 { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin: 0 auto; gap: 16px; }
}
