﻿.stat-box {
    display: flex;
    gap: 20px;
    margin: 28px 0;
    flex-wrap: wrap;
}

.stat {
    flex: 1;
    min-width: 180px;
    background: #0a1628;
    color: #ffffff;
    border-radius: 8px;
    padding: 24px 20px;
    text-align: center;
}

    .stat .number {
        font-size: 2.2rem;
        font-weight: 700;
        color: #4da3e8;
        display: block;
        line-height: 1;
        margin-bottom: 8px;
    }

    .stat .desc {
        font-family: 'Arial', sans-serif;
        font-size: 0.8rem;
        color: #a8c4dc;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

h2 {
    padding-top: 28px;
    color: #273977;
}

h3 {
    color: #273977;
    font-size: 24px;
    padding-top: 30px;
}

li {
    margin-bottom: 10px;
}

#authorImage {
    clip-path: circle(50%);
    margin: 5px;
    width: 80%;
}

@media (max-width: 440px) {
    .adjust {
        text-align: center;
    }

    #authorImage {
        width: 60%;
    }
}

/* Improve figure spacing for accessibility */
figure {
    margin: 1.25rem 0;
}

figcaption {
    font-size: 0.85rem;
    color: #666;
}

h4 {
    padding-top: 30px;
}

.hero-wrapper {
    width: 100%;
    height: 52vh;
    max-height: 520px;
    min-height: 380px;
    overflow: hidden;
    position: relative;
}

    .hero-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
    }

    .hero-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.35);
    }