/* Savvata — Homepage section headings */

.savvata-section-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    width: 100%;
    max-width: 720px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.savvata-section-heading__eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary, #db1215);
}

.savvata-section-heading__title {
    margin: 0;
    font-family: "BelgianoSerif2", Georgia, "Times New Roman", serif;
    font-size: clamp(24px, 3.6vw, 36px);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0.02em;
    color: #111;
}

.savvata-section-heading__title::after {
    content: "";
    display: block;
    width: 48px;
    height: 2px;
    margin: 14px auto 0;
    background: var(--primary, #db1215);
    border-radius: 2px;
}

.savvata-section-heading__subtitle {
    margin: 4px 0 0;
    max-width: 560px;
    font-size: clamp(14px, 1.8vw, 16px);
    line-height: 1.65;
    font-weight: 400;
    color: #666;
}

.savvata-section-heading-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 40px;
    padding: 0 20px;
}

.savvata-section-heading-wrap .savvata-section-heading {
    margin-bottom: 0;
    padding: 0;
}

.savvata-section-heading-wrap .box-sw-navigation {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

@media only screen and (max-width: 991px) {
    .savvata-section-heading {
        margin-bottom: 32px;
        gap: 8px;
    }

    .savvata-section-heading-wrap {
        margin-bottom: 32px;
    }
}

@media only screen and (max-width: 767px) {
    .savvata-section-heading {
        margin-bottom: 28px;
        padding: 0 16px;
    }

    .savvata-section-heading__title::after {
        width: 40px;
        margin-top: 12px;
    }

    .savvata-section-heading-wrap {
        margin-bottom: 28px;
        padding: 0 16px;
    }

    .savvata-section-heading-wrap .box-sw-navigation {
        right: 16px;
    }
}

@media only screen and (max-width: 575px) {
    .savvata-section-heading__title {
        font-size: 22px;
    }

    .savvata-section-heading__subtitle {
        font-size: 14px;
        line-height: 1.55;
    }
}

/* Savvata — Homepage story video section */

.savvata-story-video-section .savvata-story-video-wrap {
    width: 100%;
    max-width: 100%;
}

.savvata-story-video-section .grid-layout[data-grid="grid-1"] {
    padding-left: 0;
    padding-right: 0;
}

.savvata-story-video {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    aspect-ratio: 21 / 16;
    max-height: min(90vh, 1080px);
    min-height: 280px;
    overflow: hidden;
    background: #111;
}

.savvata-story-video__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

@media only screen and (max-width: 991px) {
    .savvata-story-video {
        aspect-ratio: 16 / 9;
        max-height: min(58vh, 520px);
        min-height: 240px;
    }
}

@media only screen and (max-width: 767px) {
    .savvata-story-video {
        aspect-ratio: 16 / 9;
        max-height: 50vh;
        min-height: 200px;
    }
}

@media only screen and (max-width: 575px) {
    .savvata-story-video {
        aspect-ratio: 4 / 3;
        max-height: 42vh;
        min-height: 180px;
    }
}

@media only screen and (max-width: 390px) {
    .savvata-story-video {
        aspect-ratio: 1 / 1;
        max-height: 38vh;
        min-height: 160px;
    }
}
