/* ============================================================
   HHO home page + footer LAYOUT
   The child style.css styles the components (colors, borders,
   type). These rules add the block-level LAYOUT that a real GP
   page would otherwise get from GenerateBlocks containers/grids.
   Scoped to .hho-home / .hho-footer to avoid collisions.
   ============================================================ */

/* --- Hero --- */
.hho-home .hero-inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px;
  align-items: center; padding: 36px 24px; /* was 56px; Jeff 2026-10-18: too much space above/below */
  max-width: var(--container-max); margin: 0 auto;
}
.hho-home .hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hho-home .hero-copy h1 { margin: 0; }
.hho-home .hero-copy p { margin: 0; max-width: 440px; }
.hho-home .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hho-home .hero-inner img { width: 100%; max-height: 300px; object-fit: contain; }

/* --- Generic section wrapper --- */
.hho-home .section { max-width: var(--container-max); margin: 56px auto 0; padding: 0 24px; }
.hho-home .section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 8px;
}
.hho-home .section-head h2 { margin: 0; }
.hho-home .link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body); font-weight: 700; font-size: 14px;
}
.hho-home .chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 24px; }

/* --- Product card inner bits (grid + card styling come from style.css §8) --- */
.hho-home .prod-brand {
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: var(--letter-spacing-label); text-transform: uppercase;
  color: var(--text-secondary); padding: 16px 20px 0; display: block;
}
.hho-home .rating-row { padding: 6px 20px 0; }
.hho-home .price-row { display: flex; align-items: baseline; gap: 8px; }
.hho-home .stars-center { display: inline-flex; gap: 2px; }

/* --- Buyers-guide CTA --- */
.hho-home .guide-cta {
  background: var(--surface-subtle); border: 1px solid var(--border-default);
  border-radius: var(--radius-lg); padding: 40px 48px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center;
}
.hho-home .guide-cta img { height: 160px; width: auto; }
.hho-home .guide-cta .txt { display: flex; flex-direction: column; gap: 10px; }
.hho-home .guide-cta h3 { margin: 0; }
.hho-home .guide-cta p { margin: 0; max-width: 480px; font-size: 15px; }

/* --- Testimonial --- */
.hho-home .testimonial { max-width: 760px; margin: 56px auto 64px; padding: 0 24px; text-align: center; }
.hho-home .testimonial blockquote {
  margin: 16px 0 12px; font-family: var(--font-heading); font-weight: 600;
  font-size: 22px; line-height: 1.5; color: var(--hho-black);
}
.hho-home .testimonial .cap { font-family: var(--font-body); font-size: 13px; color: var(--text-secondary); }

/* --- Trust row wrapper (bottom border band) --- */
.hho-home .hho-trust-band { border-bottom: 1px solid var(--border-default); }

/* ============================================================
   FOOTER (branded 4-column + FDA strip), injected via hook
   ============================================================ */
.hho-footer { background-color: var(--surface-subtle); border-top: 1px solid var(--border-default); }
.hho-footer .inside {
  max-width: var(--container-max); margin: 0 auto; padding: 48px 24px 32px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
}
.hho-footer-col { display: flex; flex-direction: column; gap: 10px; font-family: var(--font-body); font-size: 14px; }
.hho-footer-col .fhead { font-family: var(--font-heading); font-weight: 600; font-size: 15px; color: var(--hho-black); margin-bottom: 4px; }
.hho-footer-col .brand-blurb { font-size: 13px; line-height: 1.65; color: var(--text-secondary); max-width: 280px; margin: 0; }
.hho-footer-col a { color: var(--hho-black); text-decoration: none; }
.hho-footer-col a:hover { color: var(--hho-green-darker); text-decoration: underline; }
.hho-fcontact { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--hho-black); }
.hho-fcontact svg { color: var(--hho-green); }

/* --- Responsive --- */
@media (max-width: 768px) {
  .hho-home .hero-inner { grid-template-columns: 1fr; }
  .hho-home .guide-cta { grid-template-columns: 1fr; text-align: center; }
  .hho-footer .inside { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hho-footer .inside { grid-template-columns: 1fr; }
}

/* Trust-row Lucide icons via CSS (keeps block markup clean) */
.hho-home .hho-trust-item { position: relative; padding-left: 30px; }
/* Center each trust item in its column so the row lines up over the 4-up grid below
   (Jeff, 2026-10-18). The icon box shrinks to its content so it centers as a unit. */
@media (min-width: 769px) {
  .hho-home .hho-trust-row { justify-items: center; }
  .hho-home .hho-trust-item { width: max-content; max-width: 100%; }
}
.hho-home .hho-trust-item::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; background-repeat: no-repeat; background-position: center;
  background-size: 22px 22px;
}
.hho-home .hho-trust-lab::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%235E8F0B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.hho-home .hho-trust-reviews::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%235E8F0B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.5 3.05a.5.5 0 0 1 .9 0l2.3 4.66a.5.5 0 0 0 .37.27l5.15.75a.5.5 0 0 1 .28.85l-3.73 3.63a.5.5 0 0 0-.14.44l.88 5.12a.5.5 0 0 1-.72.53l-4.6-2.42a.5.5 0 0 0-.46 0l-4.6 2.42a.5.5 0 0 1-.72-.53l.88-5.12a.5.5 0 0 0-.14-.44L2.9 9.53a.5.5 0 0 1 .28-.85l5.15-.75a.5.5 0 0 0 .37-.27z'/%3E%3C/svg%3E"); }
.hho-home .hho-trust-guarantee::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%235E8F0B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.hho-home .hho-trust-shipping::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%235E8F0B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2'/%3E%3Cpath d='M15 18H9'/%3E%3Cpath d='M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.62l-3.48-4.35A1 1 0 0 0 17.52 8H14'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3C/svg%3E"); }

/* Best-sellers head + placeholder + testimonial + hero image */
.hho-home .hho-hero-img img, .hho-home .hero-inner .wp-block-image img { width: 100%; max-height: 300px; object-fit: contain; }
.hho-home .hho-placeholder-note { color: var(--text-secondary); font-style: italic; padding: 32px 0; }
.hho-home .hho-cta-img { margin: 0; }
.hho-home .hho-quote { font-family: var(--font-heading); font-weight: 600; font-size: 22px; line-height: 1.5; color: var(--hho-black); margin: 16px 0 12px; }
.hho-home .hho-rating.stars-center { color: var(--hho-green); font-size: 18px; letter-spacing: 2px; }
