/* Custom homepage — bestchoicegarden.com. All selectors namespaced under
   .hg-* / #hg-home to avoid colliding with shared theme classes in style.css. */
#hg-home {
  --hg-bg: #f8f6ee;
  --hg-bg-deep: #24371a;
  --hg-ink: #223018;
  --hg-ink-soft: #5b6b4d;
  --hg-accent: #3f6b23;
  --hg-accent-2: #e0a63a;
  --hg-accent-3: #c9642f;
  --hg-line: #e3decb;
  --hg-card: #ffffff;
  --hg-font-display: Georgia, "Palatino Linotype", "Book Antiqua", serif;
  background: var(--hg-bg);
  color: var(--hg-ink);
}
#hg-home * { box-sizing: border-box; }
#hg-home a { color: inherit; text-decoration: none; }
#hg-home .hg-frame { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

#hg-home .hg-eyebrow {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--hg-accent-2);
}
#hg-home .hg-heading {
  font-family: var(--hg-font-display); font-style: italic;
  font-size: clamp(24px, 3vw, 32px); margin: 6px 0 4px; text-wrap: balance;
}
#hg-home .hg-desc { color: var(--hg-ink-soft); font-size: 14.5px; max-width: 60ch; }

#hg-home .hg-ph-img {
  position: relative; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--hg-ph-1, #ddd), var(--hg-ph-2, #ccc));
  overflow: hidden;
}
#hg-home .hg-ph-img img { width: 100%; height: 100%; object-fit: cover; }
#hg-home .hg-ph-img svg { width: 34%; height: 34%; opacity: 0.85; }

/* hero */
#hg-home .hg-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(224,166,58,0.22), transparent 45%),
    radial-gradient(circle at 8% 85%, rgba(201,100,47,0.16), transparent 40%),
    var(--hg-bg-deep);
  color: #eef2e6; padding: 66px 28px 60px;
}
#hg-home .hg-hero .hg-eyebrow { color: var(--hg-accent-2); }
#hg-home .hg-hero-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
#hg-home .hg-hero h1 {
  font-family: var(--hg-font-display); font-weight: 700; font-style: italic; text-wrap: balance;
  font-size: clamp(32px, 4.4vw, 50px); line-height: 1.1; margin: 10px 0 16px;
  color: #eef2e6;
}
#hg-home .hg-hero p { color: #cdd8bf; font-size: 15.5px; max-width: 46ch; margin: 0 0 22px; }
#hg-home .hg-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--hg-accent-2); color: #24371a; font-weight: 700;
  padding: 12px 22px; border-radius: 999px; font-size: 14px;
}
#hg-home .hg-hero-card { border-radius: 20px 20px 20px 4px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.32); }
#hg-home .hg-hero-card .hg-ph-img { aspect-ratio: 4/5; }
#hg-home .hg-hero-card .hg-cap { background: var(--hg-card); color: var(--hg-ink); padding: 16px 18px; }
#hg-home .hg-hero-card .hg-tag { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--hg-accent-3); }
#hg-home .hg-hero-card .hg-title { font-family: var(--hg-font-display); font-size: 17px; font-weight: 700; margin: 4px 0 0; }

/* category grid */
#hg-home .hg-cats { padding: 46px 28px 10px; }
#hg-home .hg-cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: 20px; }
#hg-home .hg-cat-card {
  display: flex; flex-direction: column; gap: 10px; padding: 18px 16px; border-radius: 16px 16px 16px 4px;
  background: var(--hg-card); border: 1px solid var(--hg-line);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
#hg-home .hg-cat-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.08); border-color: var(--hg-accent); }
#hg-home .hg-cat-icon {
  width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: rgba(63,107,35,0.14); color: var(--hg-accent);
}
#hg-home .hg-cat-icon svg { width: 20px; height: 20px; }
#hg-home .hg-cat-name { font-weight: 700; font-size: 14.5px; }

/* latest reviews */
#hg-home .hg-latest { padding: 46px 28px 60px; }
#hg-home .hg-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
#hg-home .hg-review-card .hg-ph-img { border-radius: 12px; aspect-ratio: 4/3; margin-bottom: 12px; }
#hg-home .hg-review-card .hg-tag { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--hg-accent-3); }
#hg-home .hg-review-card .hg-title { font-size: 15.5px; font-weight: 700; line-height: 1.35; margin: 4px 0 0; }

@media (max-width: 760px) {
  #hg-home .hg-hero-split { grid-template-columns: 1fr; }
  #hg-home .hg-review-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  #hg-home .hg-review-grid { grid-template-columns: 1fr; }
}
