/* ---------- History page ---------- */
.history-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2.4px;
    color: var(--ssff-blue, #1E90CF);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 8px;
}

.history-title {
    font-weight: 800;
    color: var(--ssff-dark, #0E2A47);
    margin-bottom: 12px;
}

.history-lead {
    max-width: 760px;
    margin-inline: auto;
    color: #5A6675;
    font-size: 16px;
    line-height: 1.75;
}

.history-intro {
    background: #fff;
    padding-bottom: 0;
}

.history-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin-top: 42px;
}

.history-stat {
    background: linear-gradient(160deg, #0E2A47, #143A60);
    color: #fff;
    text-align: center;
    padding: 26px 18px;
    border-radius: 14px;
    border-block-start: 4px solid var(--ssff-blue, #1E90CF);
}

.history-stat strong {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #F2C14E;
    line-height: 1.1;
}

.history-stat span {
    font-size: 13px;
    opacity: 0.88;
}

/* timeline */
.history-timeline-sec {
    background: #F6F8FB;
    overflow: hidden;
}

.history-timeline {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
}

.history-timeline::before {
    content: "";
    position: absolute;
    inset-block-start: 0;
    inset-block-end: 0;
    inset-inline-start: 50%;
    width: 3px;
    margin-inline-start: -1.5px;
    background: linear-gradient(to bottom, var(--ssff-blue, #1E90CF) 0%, #85C4EA 100%);
    border-radius: 2px;
}

.ht-item {
    position: relative;
    width: 50%;
    padding: 0 44px 46px;
}

.ht-item--left {
    margin-inline-end: auto;
    text-align: end;
}

.ht-item--right {
    margin-inline-start: auto;
    text-align: start;
}

.ht-marker {
    position: absolute;
    top: 0;
    inset-inline-start: 100%;
    margin-inline-start: -23px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ssff-blue, #1E90CF);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 4px solid #fff;
    box-shadow: 0 0 0 3px rgba(30, 144, 207, 0.28);
    z-index: 2;
}

.ht-item--right .ht-marker {
    inset-inline-start: 0;
}

.ht-card {
    display: inline-block;
    background: #fff;
    border-radius: 14px;
    padding: 18px 20px 16px;
    box-shadow: 0 8px 26px rgba(14, 42, 71, 0.08);
    border-inline-start: 3px solid var(--ssff-blue, #1E90CF);
    text-align: start;
    max-width: 100%;
}

.ht-year {
    display: inline-block;
    font-weight: 800;
    color: var(--ssff-blue, #1E90CF);
    background: rgba(30, 144, 207, 0.12);
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
}

.ht-heading {
    font-size: 19px;
    font-weight: 800;
    color: var(--ssff-dark, #0E2A47);
    margin: 0 0 6px;
}

.ht-text {
    color: #5A6675;
    font-size: 14.5px;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 991.98px) {
    .history-timeline::before {
        left: 20px;
        right: auto;
        margin-left: -1.5px;
    }

    .ht-item,
    .ht-item--left,
    .ht-item--right {
        width: 100%;
        margin-inline: 0;
        padding: 0 0 34px;
        text-align: start;
    }

    .ht-marker,
    .ht-item--left .ht-marker,
    .ht-item--right .ht-marker {
        left: 20px;
        right: auto;
        margin-left: -14px;
        width: 28px;
        height: 28px;
        font-size: 13px;
        border-width: 3px;
    }

    .ht-item .ht-card {
        display: block;
        margin-left: 58px;
        margin-right: 0;
        text-align: start;
    }
}

/* CTA */
.history-cta {
    background: linear-gradient(135deg, #0E2A47 0%, #12375c 60%, #1E90CF 160%);
    color: #fff;
    padding: 56px 0;
}

.history-cta-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.history-cta-box .history-eyebrow {
    color: #F2C14E;
}

.history-cta-box h2 {
    font-weight: 800;
    font-size: 26px;
    margin: 0;
}

@media (max-width: 575.98px) {
    .history-cta-box h2 {
        font-size: 21px;
    }
}