/* ── page-hero-gradient-split · HonTitan Custom Widgets ── */

.ht-hero-gradient-split {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background-color: #002699;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Gradient overlay: brand blue 50% → transparent */
.ht-hgs__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #002699 50%, rgba(0, 38, 153, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Container */
.ht-hgs__container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Content column — left 55% */
.ht-hgs__content {
    max-width: 620px;
    padding: 80px 0;
}

/* Eyebrow pill tag */
.ht-hgs__eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}

/* H1 */
.ht-hgs__heading {
    font-family: inherit;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    color: #ffffff;
    margin: 0 0 20px;
}

/* Description */
.ht-hgs__description {
    font-family: inherit;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 32px;
    max-width: 520px;
}

/* Buttons row */
.ht-hgs__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

/* Button base */
.ht-hgs__btn {
    display: inline-block;
    font-family: inherit;
    font-size: 18px;
    font-weight: 500;
    padding: 15px 35px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    transition: background-color 0.45s, color 0.45s, border-color 0.45s;
}

/* Button 1 — white */
.ht-hgs__btn--white {
    background: #ffffff;
    color: #002699;
    border-color: #ffffff;
}
.ht-hgs__btn--white:hover,
.ht-hgs__btn--white:focus-visible {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

/* Button 2 — ghost */
.ht-hgs__btn--ghost {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}
.ht-hgs__btn--ghost:hover,
.ht-hgs__btn--ghost:focus-visible {
    background: #ffffff;
    color: #002699;
    border-color: #ffffff;
}

/* Focus ring */
.ht-hgs__btn:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

/* ── TABLET ≤ 1024px ─────────────────────────────────── */
@media (max-width: 1024px) {
    .ht-hgs__container {
        max-width: 1024px;
    }
    .ht-hgs__content {
        max-width: 560px;
    }
}

/* ── MOBILE ≤ 767px ──────────────────────────────────── */
@media (max-width: 767px) {
    .ht-hero-gradient-split {
        min-height: 420px;
    }

    /* Solid overlay on mobile — image shows beneath but legibility needs full opacity */
    .ht-hgs__overlay {
        background: rgba(0, 38, 153, 0.82);
    }

    .ht-hgs__container {
        padding: 0 20px;
    }

    .ht-hgs__content {
        max-width: 100%;
        padding: 56px 0;
        text-align: center;
    }

    .ht-hgs__heading {
        font-size: 26px;
    }

    .ht-hgs__description {
        font-size: 15px;
        max-width: 100%;
    }

    .ht-hgs__buttons {
        flex-direction: column;
        gap: 12px;
    }

    .ht-hgs__btn {
        width: 100%;
        text-align: center;
    }
}

/* ── REDUCED MOTION ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .ht-hgs__btn {
        transition: none;
    }
}
