@font-face {
    font-family: "e-Ukraine-woff-light";
    font-style: normal;
    src: url("../../assets/fonts/e-Ukraine-Light.woff") format("woff");
    font-weight: 100;
    font-display: swap
}


@font-face {
    font-family: "e-Ukraine-woff";
    font-style: normal;
    src: url("../../assets/fonts/e-Ukraine-Light.woff") format("woff");
    font-weight: 300;
    font-display: swap
}

@font-face {
    font-family: "e-Ukraine-woff";
    font-style: normal;
    src: url("../../assets/fonts/e-Ukraine-Regular.woff") format("woff");
    font-weight: 400;
    font-display: swap
}

@font-face {
    font-family: "e-Ukraine-woff";
    font-style: normal;
    src: url("../../assets/fonts/e-Ukraine-Medium.woff") format("woff");
    font-weight: 500;
    font-display: swap
}

@font-face {
    font-family: "e-Ukraine-woff";
    font-style: normal;
    src: url("../../assets/fonts/e-Ukraine-Medium.woff") format("woff");
    font-weight: 700;
    font-display: swap
}


.fi-banner {
    padding-top: 60px;
    padding-bottom: 40px;

    .container {
        max-width: 1220px;
        padding: 0;
    }

    h2.title-2 {
        font-family: e-Ukraine-woff;
        font-weight: 700;
        font-size: 54px;
        line-height: 100%;
        letter-spacing: 0;
        text-transform: uppercase;

    }

    .text * {
        font-family: FixelText;
        font-weight: 500;
        font-size: 24px;
        line-height: 140%;
        letter-spacing: 0;
    }

    .object-cover {
        object-position: top;
    }
}

.fi-text {
    padding-top: 60px;
    padding-bottom: 0;

    p {
        font-family: FixelText;
        font-weight: 400;
        font-size: 24px;
        line-height: 140%;
        letter-spacing: 0;
        text-align: justify;
    }

    p:not(:last-of-type) {
        margin-bottom: 16px;
    }

    .container {
        max-width: 1220px;
        padding: 0;
    }

    b, strong {
        font-weight: 700;
    }
}

.fi-statistics {
    padding-top: 60px;
    padding-bottom: 40px;

    .container {
        max-width: 1220px;
        padding: 0;
    }

    .fi-statistics-grid {
        display: grid;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 20px;
        width: 100%;
    }

    .fi-statistics-item {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .fi-item-top {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100px;
        border-radius: 10px;
        overflow: hidden;

        .amount {
            font-family: e-Ukraine-woff;
            font-weight: 500;
            font-size: 50px;
            letter-spacing: 0;
            text-align: center;
            text-transform: uppercase;
            color: #fff;
            text-box: trim-both cap alphabetic;

            span {
                font-family: e-Ukraine-woff;
                font-size: 32px;
                margin-left: 10px;
                text-box: trim-both cap alphabetic;
            }
        }
    }

    .fi-item-bottom {
        background: #DEE5F4;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: 100px;
        border-radius: 10px;
        margin-top: 20px;
        font-family: FixelText;
        font-weight: 500;
        font-size: 24px;
        line-height: 100%;
    }

    @media (min-width: 576px) and (max-width: 1023px) {
        .fi-statistics-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 20px;
        }

        .fi-statistics-grid:has(> :nth-child(3):last-child) {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .fi-statistics-grid:has(> :nth-child(3):last-child) > :last-child {
            grid-column: 1 / span 2;
            justify-self: center;
            width: 50%;
        }
    }

    @media (min-width: 1024px) {

        .fi-statistics-grid {
            grid-template-columns: repeat(4, minmax(0, 1fr));
        }

        .fi-statistics-grid:has(> :nth-child(1):last-child) {
            grid-template-columns: repeat(1, minmax(0, 1fr));
        }

        .fi-statistics-grid:has(> :nth-child(2):last-child) {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .fi-statistics-grid:has(> :nth-child(3):last-child) {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    }

}

.fi-image {
    padding-top: 60px;
    padding-bottom: 40px;

    .container {
        max-width: 1220px;
        padding: 60px 0;
        background: #DEE5F4;
        border-radius: 35px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 60px;

        img {
            margin: 0 auto;
            max-width: min(100% - 32px, 800px);
            height: auto;
            box-shadow: 4px 4px 10px 2px rgba(0, 0, 0, 0.3);
        }

        button {
            font-family: FixelText;
            font-weight: 600;
            font-size: 20px;
            line-height: 100%;
            text-align: center;
            transition: all 0.3s ease;

            &:hover {
                background: #6079A9;
            }
        }
    }
}

.fi-dropdown {
    padding-top: 20px;
    padding-bottom: 40px;

    .container {
        max-width: 1220px;
        padding: 0;
    }

    .content {
        padding-top: 36px;
    }

    button span {
        text-align: left;
        padding: 20px 20px 20px 60px;
    }

    button svg {
        margin-right: 60px;
    }

    .cards-container, .images-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .card-content {
        width: 100%;
        max-width: 1100px;
        margin: 0 auto;
        border-radius: 12px;
        padding: 24px;
        gap: 10px;
        background: #DEE5F4;

        .card-title {
            font-family: e-Ukraine-woff;
            font-weight: 700;
            font-size: 24px;
            /*text-box: trim-both cap alphabetic;*/
            line-height: 100%;
            letter-spacing: 0;
            margin-bottom: 24px;
            color: #1C3F85;
        }

        .card-text {
            font-family: FixelText;
            font-weight: 400;
            font-size: 24px;
            /*text-box: trim-both cap alphabetic;*/
            line-height: 140%;
            letter-spacing: 0;
            text-align: justify;

        }
    }

    .image-content {
        width: 100%;
        max-width: 1100px;
        margin: 0 auto;

        img{
            margin: 0 auto;
        }

        .image-desktop {
            display: block;
        }

        .image-mobile {
            display: none;
        }

        @media (max-width: 799px) {
            .image-desktop {
                display: none;
            }

            .image-mobile {
                display: block;
            }
        }
    }

    .table-content {
        width: 100%;
        max-width: 1100px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 0;
        border-bottom: 1px dashed #08006F;
        border-right: 1px dashed #08006F;

        .table-row {
            width: 100%;
            min-height: 160px;
            display: flex;
        }

        .table-title {
            width: 250px;
            background: #DEE5F4;
            padding: 24px;
            display: flex;
            align-items: center;
            border-top: 1px dashed #08006F;
            border-left: 1px dashed #08006F;
            font-family: e-Ukraine-woff;
            font-weight: 500;
            font-size: 20px;
            line-height: 140%;
            color: #08006F;
        }

        .table-text {
            flex: 1;
            padding: 24px;
            display: flex;
            align-items: center;
            border-top: 1px dashed #08006F;
            border-left: 1px dashed #08006F;

            p {
                font-family: e-Ukraine-woff-light;
                font-weight: 100;
                font-size: 18px;
                line-height: 140%;
                color: #08006F;
            }

        }
    }

}

.fi-title-text {
    padding-top: 20px;
    padding-bottom: 40px;

    .container {
        max-width: 1220px;
        padding: 0;

        h2 {
            margin-bottom: 1em;
        }

        .title-text {
            text-align: justify;
        }
    }

}

.fi-cards-slider {
    overflow: hidden;

    .swiper {
        max-width: 1220px;
        padding: 0;
    }

    .swiper-wrapper {
        align-items: stretch;
    }

    .swiper-slide {
        display: flex;
        flex-direction: column;
        width: 497px;
        height: auto;
        border-radius: 20px;
        padding: 24px;
        border-width: 2px;
        border-color: #FFC300;

        .fi_slide {
            height: 100%;
        }

        .fi_slide_wrap {
            display: flex;
            flex-direction: column;
            margin: 40px 0;
            gap: 12px;
        }

        .fi_slide_session {
            font-family: FixelText;
            font-weight: 300;
            font-size: 20px;
            line-height: 100%;
            text-transform: uppercase;
        }

        .fi_slide_title {
            font-family: FixelText;
            font-weight: 700;
            font-size: 24px;
            line-height: 100%;
            text-transform: uppercase;
        }

        .button {
            font-family: FixelText;
            font-weight: 600;
            font-size: 20px;
            line-height: 100%;
            text-decoration: underline;
            color: #0B4A8C;
            transition: all 0.3s ease;

            &:hover {
                color: #6079A9;
            }

            svg {
                display: inline;
            }
        }
    }
}

.fi-cta {
    padding-top: 60px;
    padding-bottom: 40px;

    .container {
        max-width: 1220px;
        padding: 0;
        background: #DEE5F4;
        border-radius: 35px;

        .inner-wrapper {
            padding-top: 60px;
            padding-bottom: 60px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 24px;
            align-items: center;
            justify-content: center;
            max-width: min(100% - 64px, 976px);

            .title {

            }

            .text {
                font-family: FixelText;
                font-weight: 500;
                font-size: 24px;
                line-height: 140%;
                text-align: center;

                p:not(:last-of-type) {
                    margin-bottom: 16px;
                }
            }

            .button-wrapper {
                display: flex;
                gap: 24px;
                align-items: center;
                justify-content: center;

                .button {
                    background: #0B4A8C;
                    color: #fff;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 4px;
                    border-radius: 30px;
                    padding: 12px 24px;
                    font-family: FixelText;
                    font-weight: 600;
                    font-size: 20px;
                    text-align: center;
                    text-box: trim-both cap alphabetic;
                    transition: all 0.3s ease;

                    &:hover {
                        background: #6079A9;
                    }
                }
            }
        }
    }
}

@media (max-width: 1232px) {
    main {
        padding-left: 16px;
        padding-right: 16px;
    }

    .fi-cards-slider {
        margin-right: -16px;
        padding-right: 16px;
    }
}

@media (max-width: 992px) {

    .fi-banner {
        padding-top: 32px;
        padding-bottom: 16px;

        h2.title-2 {
            font-size: 24px;
        }

        .text * {
            font-size: 16px;
        }
    }

    .fi-text {
        padding-top: 32px;
        padding-bottom: 0;

        p {
            font-size: 16px;
        }
    }

    .fi-statistics {
        padding-top: 48px;
        padding-bottom: 32px;

        .fi-statistics-grid {
            gap: 32px;
        }


        .fi-item-top {
            min-height: 72px;

            .amount {
                font-size: 32px;

                span {
                    font-size: 24px;
                }
            }
        }

        .fi-item-bottom {
            min-height: 72px;
            margin-top: 16px;
            font-size: 16px;
        }
    }

    .fi-image {
        padding-top: 32px;
        padding-bottom: 16px;

        .container {
            padding: 24px 16px;
            border-radius: 20px;
            gap: 24px;

            button {
                font-size: 16px;
                padding: 14px 24px;

                svg {
                    width: 16px;
                    height: 16px;
                }
            }
        }
    }

    .fi-dropdown {
        padding-top: 16px;
        padding-bottom: 32px;

        .content {
            padding-top: 24px;
        }

        button span {
            padding: 16px 16px 16px 20px;
        }

        button svg {
            margin-right: 20px;
            width: 28px;
            height: 28px;
        }

        .cards-container, .images-container {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .card-content {
            border-radius: 12px;
            padding: 16px;
            gap: 24px;

            .card-title {
                font-size: 14px;
            }

            .card-text {
                font-size: 14px;
            }
        }

        .table-content {

            .table-row {
                min-height: 1px;
                flex-direction: column;
            }

            .table-title {
                width: 100%;
                padding: 16px;
                font-size: 14px;
            }

            .table-text {
                padding: 16px;

                p {
                    font-size: 13px;
                }

            }
        }

    }

    .fi-cards-slider {

        .swiper-slide {
            width: 330px;

            .fi_slide_wrap {
                margin: 20px 0;
            }

            .fi_slide_session {
                font-size: 16px;
            }

            .fi_slide_title {
                font-size: 20px;
            }

        }
    }

    .fi-cta {
        padding-top: 32px;
        padding-bottom: 16px;

        .container {
            border-radius: 20px;

            .inner-wrapper {
                padding: 32px;
                max-width: 100%;

                .title {

                }

                .text {
                    font-size: 16px;
                }

                .button-wrapper {
                    display: flex;
                    gap: 24px;
                    align-items: center;
                    justify-content: center;

                    .button {
                        font-size: 16px;

                        svg {
                            width: 16px;
                            height: 16px;
                        }
                    }
                }
            }
        }
    }
}

@media (min-width: 768px) {
    #footer #header_navigation .menu {
        flex-direction: column!important;
    }
}