/* Home page hero only (views/home.php, section .vh-hero). Nothing here
   affects any other part of the site. */

.vh-hero {
  --vh-ink: #15261c;
  --vh-body: #4a5a50;
  --vh-green: #0a4d3c;
  --vh-green-2: #0d6650;
  --vh-accent: #00a93d;
  --vh-cream: #f6f3ea;
  --vh-line: #ddd7c7;
  background: var(--vh-cream);
  padding: 56px 0 64px;
  overflow: hidden;
}

/* slides: all stacked in one grid cell so the tallest sets the height;
   only the active one is visible. Fade, no sliding. */
.vh-track { display: grid; }
.vh-slide {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden;
  transition: opacity .7s ease, visibility 0s linear .7s;
}
.vh-slide.is-active {
  opacity: 1; visibility: visible;
  transition: opacity .7s ease, visibility 0s;
}
.vh-slide.is-active .vh-photo { animation: vhZoom 7s ease-out both; }
@keyframes vhZoom { from { transform: scale(1.04); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .vh-slide, .vh-slide.is-active { transition: none; }
  .vh-slide.is-active .vh-photo { animation: none; }
}

.vh-controls { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.vh-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--vh-line); background: #fff; color: var(--vh-ink);
  display: grid; place-items: center; cursor: pointer; font-size: 14px;
  transition: background .2s, color .2s, border-color .2s;
}
.vh-arrow:hover { background: var(--vh-ink); border-color: var(--vh-ink); color: #fff; }
.vh-dots { display: flex; gap: 8px; }
.vh-dots .ug-slider-dot {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px;
  background: #cfc8b5; cursor: pointer; transition: width .3s, background .3s;
}
.vh-dots .ug-slider-dot.is-active { width: 30px; background: var(--vh-green); }

.vh-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: center;
}

/* copy -------------------------------------------------------------------- */
.vh-kicker {
  margin: 0 0 18px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vh-green-2);
}
.vh-title {
  margin: 0 0 20px;
  font-family: var(--ug-font-heading, 'Outfit', sans-serif);
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--vh-ink);
}
.vh-title em {
  font-style: normal;
  color: var(--vh-green);
  background: linear-gradient(transparent 68%, rgba(0, 169, 61, 0.18) 68%);
}
.vh-lead {
  margin: 0 0 32px;
  max-width: 500px;
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--vh-body);
}

.vh-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.vh-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  border: 1.5px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.vh-btn:hover { transform: translateY(-1px); }
.vh-btn-solid { background: var(--vh-green); color: #fff; }
.vh-btn-solid:hover { background: #073a2d; color: #fff; }
.vh-btn-line { border-color: var(--vh-ink); color: var(--vh-ink); background: transparent; }
.vh-btn-line:hover { background: var(--vh-ink); color: #fff; }

.vh-facts {
  display: flex; flex-wrap: wrap;
  margin: 46px 0 0; padding-top: 26px;
  border-top: 1px solid var(--vh-line);
}
.vh-facts div { padding-right: 30px; margin-right: 30px; border-right: 1px solid var(--vh-line); }
.vh-facts div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.vh-facts dt { font-size: 24px; font-weight: 700; color: var(--vh-ink); line-height: 1.1; letter-spacing: -0.01em; }
.vh-facts dd { margin: 5px 0 0; font-size: 13.5px; color: var(--vh-body); }

/* photos ------------------------------------------------------------------ */
.vh-media { position: relative; padding: 0 0 40px 40px; overflow: hidden; }
.vh-photo {
  display: block; width: 100%;
  height: clamp(400px, 40vw, 560px);
  object-fit: cover;
  border-radius: 6px 180px 6px 6px;
  box-shadow: 0 30px 60px -30px rgba(21, 38, 28, 0.45);
}
.vh-inset {
  position: absolute; left: 0; bottom: 0;
  width: 38%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 6px;
  border: 8px solid var(--vh-cream);
  box-shadow: 0 18px 40px -18px rgba(21, 38, 28, 0.5);
}
/* slide without the small photo: the main photo uses the full width */
.vh-media.is-solo { padding: 0 0 30px; }

/* tablet & phone ---------------------------------------------------------- */
@media (max-width: 960px) {
  .vh-hero { padding: 24px 0 44px; }
  .vh-grid { grid-template-columns: 1fr; gap: 32px; }
  .vh-media { order: -1; padding: 0 0 28px 28px; }
  .vh-controls { justify-content: center; margin-top: 24px; }
  .vh-photo { height: 340px; border-radius: 6px 110px 6px 6px; }
  .vh-inset { width: 34%; border-width: 6px; }
}
@media (max-width: 560px) {
  .vh-photo { height: 260px; border-radius: 6px 80px 6px 6px; }
  .vh-media { padding: 0 0 22px 22px; }
  .vh-title { font-size: 32px; }
  .vh-lead { font-size: 16px; margin-bottom: 24px; }
  .vh-actions .vh-btn { flex: 1 1 100%; }
  .vh-facts { margin-top: 32px; padding-top: 20px; flex-wrap: nowrap; }
  .vh-facts div { padding-right: 14px; margin-right: 14px; }
  .vh-facts dt { font-size: 19px; }
  .vh-facts dd { font-size: 12px; }
}
