@font-face {
    font-family: 'Golos';
    src: url('fonts/golos-text_regular.woff2') format('woff2'),
        url('fonts/golos-text_regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    /* Оптимизация загрузки */
}

/* Подключение шрифта Golos Text (полужирное) */
@font-face {
    font-family: 'Golos';
    src: url('fonts/golos-text_medium.woff2') format('woff2'),
        url('fonts/golos-text_medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Подключение шрифта Golos Text (жирное) */
@font-face {
    font-family: 'Golos';
    src: url('fonts/golos-text_bold.woff2') format('woff2'),
        url('fonts/golos-text_bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body#main {
    font-family: 'Golos';
    font-weight: 400;
    height: 100%;
    background-color: var(--bs-gray-300);
    padding-left: 0px;
    padding-right: 0px;
    background-color: #fff;
    overflow-inline: hidden;
}

.btn.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #3aa3d6;
    border-color: #3aa3d6;
    border-width: 2.5px;
}

.btn.clickable:hover,
.btn.clickable:focus {
    filter: brightness(0.85);
    border-color: #fff;
    color: #fff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.white-curve {
    overflow-x: hidden;
    position: absolute;
    z-index: 1;
    background-color: transparent;
    bottom: 0px;
    overflow: hidden;
    left: -800px;
    width: calc(100% + 1600px);
}


.white-curve .left {
    background-color: #fff;
    height: 180px;
}

.white-curve .center {
    background-image: url(/static/images/white-curve.webp);
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    height: 180px;
    min-width: 3000px;
}

.white-curve .right {
    background-color: #fff;
    height: 180px;
}

/* ----------------------------- FS --------------------------------------- */

.fs-1 {
    font-size: calc(1.375rem + 1.5vw) !important;
}

.fs-2 {
    font-size: calc(1.325rem + 0.9vw) !important;
}

.fs-3 {
    font-size: calc(1.3rem + 0.6vw) !important;
}

.fs-4 {
    font-size: calc(1.275rem + 0.3vw) !important;
}

.fs-5 {
    font-size: 1.25rem !important;
}

.fs-6 {
    font-size: 1rem !important;
}


@media (min-width: 768px) {
    .fs-md-1 {
        font-size: calc(1.375rem + 1.5vw) !important;
    }

    .fs-md-2 {
        font-size: calc(1.325rem + 0.9vw) !important;
    }

    .fs-md-3 {
        font-size: calc(1.3rem + 0.6vw) !important;
    }

    .fs-md-4 {
        font-size: calc(1.275rem + 0.3vw) !important;
    }

    .fs-md-5 {
        font-size: 1.25rem !important;
    }

    .fs-md-6 {
        font-size: 1rem !important;
    }
}

@media (min-width: 992px) {
    .fs-lg-1 {
        font-size: calc(1.375rem + 1.5vw) !important;
    }

    .fs-lg-2 {
        font-size: calc(1.325rem + 0.9vw) !important;
    }

    .fs-lg-3 {
        font-size: calc(1.3rem + 0.6vw) !important;
    }

    .fs-lg-4 {
        font-size: calc(1.275rem + 0.3vw) !important;
    }

    .fs-lg-5 {
        font-size: 1.25rem !important;
    }

    .fs-lg-6 {
        font-size: 1rem !important;
    }
}

/* ----------------------------- DELETE --------------------------------------- */

.header-container {
    min-width: var(--bs-breakpoint-sm);
}

.header-container * {
    background-color: var(--bs-primary);
    color: var(--bs-gray-100);
    min-width: var(--bs-breakpoint-sm);
    border-radius: 12px;
}

.header-container .header-icon {
    height: 48px;
    min-height: 48px;
    width: 48px;
    min-width: 48px;
    position: relative;
    text-decoration: none;
}

.action-icon-light {
    height: 48px;
    min-height: 48px;
    width: 48px;
    min-width: 48px;
    position: relative;
    background-color: var(--bs-gray-500);
    border: 2px dashed var(--bs-gray-900);
    color: var(--bs-body-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.main-container .main-icon {
    height: 48px;
    min-height: 48px;
    width: 48px;
    min-width: 48px;
    position: relative;
    text-decoration: none;
    background-color: var(--bs-gray-300);
    color: var(--bs-gray-900);
    border-radius: 12px;
}

.header-container a>i,
.main-container a>i {
    text-decoration: none;
    height: 24px;
    min-height: 24px;
    width: 24px;
    min-width: 24px;
}

.header-container .header-row {
    min-width: 200px;
    padding-left: 16px;
}

.header-container .header-row>* {
    min-width: 180px;
}


.main-container {
    background-color: var(--bs-body-bg);
    color: var(--bs-gray-900);
    min-width: var(--bs-breakpoint-sm);
    border-radius: 12px;
}

.clickable-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickable-card:hover,
.clickable-card:focus {
    filter: brightness(0.85);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.news-container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: hidden;
    scroll-behavior: smooth;
    gap: 16px;
}

.news-container.right {
    -webkit-mask: linear-gradient(90deg, #fff calc(100% - 100px), transparent);
    mask: linear-gradient(90deg, #fff calc(100% - 100px), transparent);
}


.news-container.left {
    -webkit-mask: linear-gradient(90deg, transparent 10px, #fff 100px, #fff);
    mask: linear-gradient(90deg, transparent 10px, #fff 100px, #fff);
}

.news-container.right.left {
    -webkit-mask: linear-gradient(90deg, transparent 10px, #fff 100px, #fff calc(100% - 100px), transparent);
    mask: linear-gradient(90deg, transparent 10px, #fff 100px, #fff calc(100% - 100px), transparent);
}

.news-container .news-card {
    background-color: var(--bs-primary);
    color: var(--bs-gray-100);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    flex: 0 0 234px;
    height: 320px;
}

.clickable-news {
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickable-news:hover,
.clickable-news:focus {
    filter: brightness(0.85);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.scroll-btn {
    position: absolute;
    z-index: 1;
    top: calc(50% + 20px);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bs-gray-100);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


.scroll-btn:hover,
.scroll-btn:focus {
    filter: brightness(0.85);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    border: 1px solid #dee2e6;
}

.scroll-btn.left {
    left: 30px;
}

.scroll-btn.right {
    right: 30px;
}

.scroll-btn.disabled {
    display: none;
}