/* ============================================
   acquisition.co.uk — Guides / Resources
   Loaded only on /guides/ pages. Relies on the design tokens
   defined on body.home in home.css (inherited by descendants).
   ============================================ */

/* ---- Hub hero ---- */
body.home .guides-hero {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 38px;
}
body.home .guides-hero .guide-breadcrumb { text-align: center; }
body.home .guides-hero h1 {
    font-family: var(--h-serif);
    font-size: clamp(2rem, 4vw, 2.7rem);
    line-height: 1.12;
    color: var(--h-navy);
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}
body.home .guides-hero p {
    color: var(--h-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* ---- Hub listing ---- */
body.home .guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 22px;
    margin-top: 6px;
}
body.home .guide-card {
    background: var(--h-white);
    border: 1px solid var(--h-border);
    border-radius: 12px;
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
body.home .guide-card:hover,
body.home .guide-card:focus-visible {
    transform: translateY(-3px);
    border-color: var(--h-green);
    box-shadow: 0 14px 30px rgba(7, 27, 53, 0.10);
    outline: none;
}
body.home .guide-card .guide-card-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--h-green);
    margin-bottom: 12px;
}
body.home .guide-card h3 {
    font-family: var(--h-serif);
    font-size: 1.3rem;
    line-height: 1.25;
    color: var(--h-navy);
    margin: 0 0 10px;
}
body.home .guide-card p {
    color: var(--h-muted);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 0 18px;
    flex: 1;
}
body.home .guide-card .guide-card-link {
    color: var(--h-green);
    font-weight: 600;
    font-size: 0.92rem;
}

/* ---- Article scaffolding (inside .legal-page .container) ---- */
body.home .guide-breadcrumb {
    font-size: 0.84rem;
    color: var(--h-muted);
    margin: 0 0 18px;
}
body.home .guide-breadcrumb a {
    color: var(--h-green);
    font-weight: 600;
    text-decoration: none;
}
body.home .guide-breadcrumb a:hover { text-decoration: underline; }
body.home .guide-breadcrumb span { margin: 0 7px; opacity: 0.45; }

body.home .guide-meta {
    font-size: 0.85rem;
    color: var(--h-muted);
    margin: 0 0 26px;
}
body.home .guide-meta .dot { margin: 0 8px; opacity: 0.5; }

body.home .guide-lead {
    font-size: 1.16rem;
    line-height: 1.62;
    color: var(--h-navy);
    font-weight: 500;
    margin: 0 0 26px;
}

body.home .legal-page .container .guide-figure {
    margin: 22px 0;
    padding: 18px 22px;
    background: var(--h-green-light);
    border-left: 4px solid var(--h-green);
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
}
body.home .guide-figure strong { color: var(--h-navy); }

/* ---- End-of-article CTA ---- */
body.home .guide-cta {
    margin: 42px 0 6px;
    padding: 30px 32px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--h-mid-navy), var(--h-navy));
    color: #fff;
}
body.home .guide-cta h2 {
    color: #fff !important;
    border: none !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    font-size: 1.3rem;
}
body.home .guide-cta p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 20px;
}
/* Keep the CTA button text white: body.home .legal-page a (green) would
   otherwise win on specificity and make it green-on-green. */
body.home .guide-cta .home-btn,
body.home .guide-cta .home-btn:hover,
body.home .guide-cta .home-btn:focus { text-decoration: none; color: var(--h-white); }

/* ---- Related guides ---- */
body.home .guide-related {
    margin-top: 40px;
    border-top: 1px solid var(--h-border);
    padding-top: 26px;
}
body.home .guide-related h2 {
    font-size: 1.1rem !important;
    margin: 0 0 14px !important;
}
body.home .guide-related ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}
body.home .guide-related a {
    color: var(--h-green);
    font-weight: 600;
    text-decoration: none;
}
body.home .guide-related a:hover { text-decoration: underline; }

/* ---- Article legal note ---- */
body.home .guide-disclaimer {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid var(--h-border);
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--h-muted);
}
body.home .guide-disclaimer a {
    color: var(--h-green-dark);
    font-weight: 600;
    text-decoration: none;
}
body.home .guide-disclaimer a:hover { text-decoration: underline; }

@media (max-width: 600px) {
    body.home .guide-cta { padding: 24px 22px; }
}
