/*
 * GHAMC design D2 (owner-approved 24 Nov 2026): home page. Needs ghamc-site.css for the tokens.
 * Sections that keep their older markup (notices, gallery, cards, courses, partners, testimonials, contact form)
 * are restyled here; !important is used only where the older markup sets inline styles.
 */
.gh-home { background: var(--gh-cream); }
.gh-home h1, .gh-home h2, .gh-section-title { font-family: var(--gh-font-display) !important; color: var(--gh-green-900); line-height: 1.12; }
.gh-eyebrow { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gh-maroon-700); font-weight: 700; margin: 0 0 .5rem; }
.gh-lead { font-size: 1.15rem; color: var(--gh-muted); max-width: 62ch; line-height: 1.65; }
.gh-btn-lg { min-height: 50px; padding: .8rem 1.35rem; font-size: 1rem; }
.gh-btn-outline { border-color: var(--gh-green-700); color: var(--gh-green-700); background: transparent; }
.gh-btn-outline:hover { background: var(--gh-green-700); color: #fff; }

/* Hero */
.gh-hero { padding: calc(var(--gh-header-h, 150px) + 48px) 0 64px; background: radial-gradient(circle at 85% 25%, var(--gh-gold-100), transparent 45%), linear-gradient(180deg, #fff, var(--gh-cream)); }
.gh-hero-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: 48px; align-items: center; }
.gh-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 700; margin: 0 0 18px; }
.gh-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.gh-hero-media { position: relative; display: grid; place-items: center; min-height: 340px; }
.gh-hero-media .gh-hero-back { position: absolute; width: 88%; max-width: 440px; opacity: .55; }
.gh-hero-media .gh-hero-main { position: relative; width: 78%; max-width: 380px; height: auto; }

/* Quick checks */
.gh-quick { margin-top: -28px; position: relative; z-index: 2; }
.gh-quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gh-quick a { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--gh-line); border-radius: var(--gh-radius); padding: 18px; text-decoration: none; color: var(--gh-ink); box-shadow: var(--gh-shadow); transition: transform .15s; }
.gh-quick a:hover { transform: translateY(-3px); color: var(--gh-green-900); }
.gh-quick .gh-ico { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; background: var(--gh-green-100); color: var(--gh-green-700); }
.gh-quick .gh-ico.m { background: #f7e7e9; color: var(--gh-maroon-700); }
.gh-quick .gh-ico.g { background: var(--gh-gold-100); color: #8a6512; }
.gh-quick strong { display: block; font-size: 1rem; }
.gh-quick small { color: var(--gh-muted); font-size: .82rem; }

/* Numbers */
.gh-stats { padding: 56px 0; margin-top: 56px; background: var(--gh-green-900); color: #e9f2ec; }
.gh-stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.gh-stat { border: 1px solid rgba(255,255,255,.15); border-radius: var(--gh-radius); padding: 20px; text-align: center; }
.gh-stat b { display: block; font-family: var(--gh-font-display); font-size: 2.4rem; color: var(--gh-gold-500); line-height: 1.1; }
.gh-stat span { font-size: .92rem; text-transform: capitalize; }

/* About */
.gh-about { padding: 72px 0; background: #fff; }
.gh-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.gh-about h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin: 0 0 14px; }
.gh-about-media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.gh-about-media img { width: 100%; height: 280px; object-fit: cover; border-radius: 20px; box-shadow: var(--gh-shadow); }
.gh-about-media img:first-child { height: 220px; }

/* Older sections, restyled */
.gh-home-body #social-news-media, .gh-home-body #divided-options, .gh-home-body #trending-courses, .gh-home-body #academic-partners, .gh-home-body #testimonials, .gh-home-body #lets-connect { background: transparent; margin-top: 0 !important; padding-top: 24px !important; }
.gh-home-body #social-news-media h2, .gh-home-body #divided-options h2, .gh-home-body #trending-courses h2, .gh-home-body #academic-partners h2, .gh-home-body #testimonials h2, .gh-home-body #lets-connect h2 {
    font-family: var(--gh-font-display) !important; font-size: clamp(1.7rem, 2.6vw, 2.3rem) !important; color: var(--gh-green-900) !important; text-transform: none !important; letter-spacing: 0; }
.gh-home-body #social-news-media .card > .card-body > h2, .gh-home-body #divided-options .card > h2 {
    background: var(--gh-green-900) !important; color: #fff !important; font-size: 1.45rem !important; border-radius: var(--gh-radius) var(--gh-radius) 0 0 !important; padding: 14px !important; }
.gh-home-body #social-news-media .card .card, .gh-home-body #divided-options .card { background: #fff !important; border: 1px solid var(--gh-line) !important; border-radius: var(--gh-radius) !important; box-shadow: none !important; }
.gh-home-body #divided-options a .card { border: 1px solid var(--gh-line) !important; border-radius: var(--gh-radius) var(--gh-radius) 0 0 !important; background: var(--gh-cream) !important; }
.gh-home-body #divided-options a p { background: var(--gh-green-100) !important; color: var(--gh-green-900) !important; font-size: .9rem !important; font-weight: 600; text-transform: capitalize; border-radius: 0 0 var(--gh-radius) var(--gh-radius) !important; }
.gh-home-body #divided-options a:hover p { background: var(--gh-green-700) !important; color: #fff !important; }
.gh-home-body #social-news-media li { font-size: .95rem !important; }
.gh-home-body .web-btn, .gh-home-body .web-btn-2 { background: var(--gh-green-700) !important; color: #fff !important; border-radius: 999px !important; font-size: 1rem !important; }
.gh-home-body #lets-connect h4 { font-size: .85rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--gh-maroon-700) !important; }
.gh-home-body #lets-connect-form { background: var(--gh-green-900) !important; border-radius: 24px !important; }
.gh-home-body #lets-connect-form input { color: #fff !important; font-size: 1rem !important; border-bottom: 1px solid rgba(255,255,255,.35) !important; }
.gh-home-body #lets-connect-form input::placeholder { color: rgba(255,255,255,.75); }
.gh-home-body #lets-connect-form button { background: var(--gh-gold-500) !important; color: #111 !important; font-size: 1rem !important; }

@media (max-width: 991px) {
    .gh-hero-grid, .gh-about-grid { grid-template-columns: minmax(0, 1fr); }
    .gh-hero-media { min-height: 260px; }
    .gh-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gh-stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .gh-hero { padding-top: calc(var(--gh-header-h, 108px) + 28px); }
    .gh-quick-grid, .gh-stats-grid { grid-template-columns: minmax(0, 1fr); }
    .gh-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gh-hero-actions .gh-btn { flex: 1 1 100%; justify-content: center; }
    .gh-about-media img, .gh-about-media img:first-child { height: 180px; }
}
