/**
 * Superfície home — tema Source (body.home-template)
 * Complementa agni-brand.css; não duplica estilos do injector (.agni-juniper-*).
 */

body.home-template .gh-container-title {
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgb(0 0 0 / 0.08);
}

.has-light-text body.home-template .gh-container-title {
    border-bottom-color: rgb(255 255 255 / 0.12);
}

body.home-template .gh-featured {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

body.home-template .gh-featured-title {
    letter-spacing: -0.02em;
}

body.home-template .gh-cta {
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

body.home-template .gh-cta-title {
    letter-spacing: -0.02em;
}

body.home-template .gh-cta-inner {
    border-radius: var(--agni-radius-card, 14px);
    border: 1px solid rgb(0 96 138 / 0.12);
    box-shadow: 0 8px 28px rgb(0 96 138 / 0.08);
}

.has-light-text body.home-template .gh-cta-inner {
    border-color: rgb(115 179 243 / 0.2);
    box-shadow: 0 12px 36px rgb(0 0 0 / 0.35);
}

/* Listagem nativa (antes do injector transformar o feed) + cartões dentro do contentor */
body.home-template .gh-container .gh-main {
    padding-top: 0;
}

body.home-template .gh-feed .gh-card-link {
    border-radius: var(--agni-radius-card, 14px);
    transition:
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

body.home-template .gh-feed .gh-card-link:hover {
    box-shadow: 0 12px 32px rgb(0 96 138 / 0.12);
}

.has-light-text body.home-template .gh-feed .gh-card-link:hover {
    box-shadow: 0 12px 36px rgb(0 0 0 / 0.45);
}

body.home-template .gh-feed .gh-card-link:focus-visible {
    outline: 2px solid var(--agni-brand, #00608a);
    outline-offset: 3px;
}

.has-light-text body.home-template .gh-feed .gh-card-link:focus-visible {
    outline-color: var(--agni-brand-2, #73b3f3);
}

@media (prefers-reduced-motion: reduce) {
    body.home-template .gh-feed .gh-card-link {
        transition: none;
    }

    body.home-template .gh-feed .gh-card-link:hover {
        transform: none;
    }
}
