/* Overrides on top of compiled Bootstrap app.css (no Tailwind). */

/* Base typography color */
body {
    color: #0f172a;
}

/* Shared page hero (blue minimal style) */
.page-hero {
    position: relative;
    height: 380px;
    background-color: #0b2a6f;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page-hero.page-hero-sm {
    height: 320px;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

}

.page-hero-kicker {
    display: inline-flex;
    align-items: center;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    color: rgba(255, 255, 255, .92);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.5), 0 0 2px rgba(0, 0, 0, 0.4);
}

.page-hero-title {
    color: #fff;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.5), 0 0 2px rgba(0, 0, 0, 0.4);
}

.page-hero-subtitle {
    color: rgba(219, 234, 254, .92);
    font-size: 16px;
    line-height: 1.7;
    max-width: 720px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65), 0 1px 5px rgba(0, 0, 0, 0.55), 0 0 3px rgba(0, 0, 0, 0.45);
}

.page-hero-underlap {
    margin-top: -90px;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .page-hero {
        height: 320px;
    }

    .page-hero.page-hero-sm {
        height: 280px;
    }

    .page-hero-underlap {
        margin-top: -60px;
    }
}

/* Soft card + section kicker for consistent blocks */
.card-soft {
    border-radius: 16px !important;
    border: 1px solid rgba(15, 23, 42, .08) !important;
    box-shadow: 0 16px 40px rgba(2, 6, 23, .10);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--xmly-primary, #1d4ed8);
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: 12px;
}

/* Rich content (FAQ / pages) */
.content-article img,
.content-article video {
    max-width: 100%;
    height: auto;
}

.content-article table {
    width: 100%;
}

.content-article h1,
.content-article h2,
.content-article h3 {
    color: #0f172a;
    font-weight: 900;
}

/* Home hero carousel height (one-screen, more "grand") */
#home-carousel .carousel-item .img-box {
    height: 96vh;
    min-height: 900px;
}

@media (max-width: 768px) {
    #home-carousel .carousel-item .img-box {
        height: 70vh;
        min-height: 520px;
    }
}
