/* Topic-hub visual layer (vegan + future hubs: ultra-processed-foods, sports-
   supplements, food-additives, skincare-ingredients...). Scoped .vh- classes and
   a .gd-cards--hub card modifier, so nothing here affects other pages. Signature
   motion is the magnifying-glass tick; everything else is restrained. All motion
   is disabled under prefers-reduced-motion. Brand colours only. */

/* ---- Hero: two columns on desktop, stacked on mobile ---- */
.vh-hero__grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
@media (min-width: 800px) { .vh-hero__grid { grid-template-columns: 1.15fr .85fr; gap: 44px; } }
.vh-hero__art { display: flex; justify-content: center; }
/* The magnifier mark itself (sizing + animation) lives in components.css so it can
   be reused in the bottom CTA on every page. Here we only size it for the hero. */
.vh-hero__art .vh-glass { width: min(260px, 64%); }
@media (min-width: 800px) { .vh-hero__art .vh-glass { width: 300px; } }

/* ---- Cards: larger, consistent image area; lift + arrow nudge on hover ---- */
.gd-cards--hub .gd-card { transition: transform .18s ease, box-shadow .18s ease; }
.gd-cards--hub .gd-card:hover, .gd-cards--hub .gd-card:focus-within { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(8, 42, 82, .13); }
.gd-cards--hub .gd-card__img { aspect-ratio: 3 / 2; height: auto; width: 100%; background: #EAF2FB; overflow: hidden; }
.gd-cards--hub .gd-card__img img { width: 100%; height: 100%; }
.gd-cards--hub .gd-card__img:not(.gd-card__img--screen) img { object-fit: contain; }
.gd-cards--hub .gd-card__img--screen { display: flex; align-items: center; justify-content: center; padding: 10px; }
.gd-cards--hub .gd-card__img--screen img { object-fit: contain; }
.gd-cards--hub .gd-card__more { transition: transform .18s ease; }
.gd-cards--hub .gd-card:hover .gd-card__more { transform: translateX(5px); }

/* ---- Branded ClearaScan feature strip ---- */
.vh-feature { background: linear-gradient(135deg, #EAF2FB 0%, #e7f6ee 100%); padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 820px) { .vh-feature { padding-top: 72px; padding-bottom: 72px; } }
.vh-feature__grid { display: grid; gap: 16px; justify-items: center; text-align: center; grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; }
.vh-feature__logo { width: 104px; height: auto; margin: 0 auto 2px; }
.vh-feature__eyebrow { color: #05aa53; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; margin: 0 0 6px; }
.vh-feature__strap { color: #0480ca; font-weight: 600; margin: 10px 0 0; }
.vh-feature__ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ---- Scroll reveal: only active when JS adds .js-reveal, so no-JS = visible ---- */
.js-reveal .vh-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .vh-reveal.vh-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .gd-cards--hub .gd-card, .gd-cards--hub .gd-card__more { transition: none; }
  .js-reveal .vh-reveal { opacity: 1; transform: none; transition: none; }
}

/* Topic-hub hero photo (same image as the /guides thumbnail) */
.vh-hero__art img { width: 100%; max-width: 440px; border-radius: 20px; box-shadow: 0 18px 40px rgba(18, 26, 45, .12); }
