@font-face {
    font-family: "Gloock";
    src: url("/static/fonts/Gloock-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("/static/fonts/Inter-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

body,
button,
input,
select,
textarea {
    font-family: "Inter", Arial, sans-serif !important;
    letter-spacing: 0.025em;
    line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: "Gloock", Georgia, serif !important;
    letter-spacing: 0.02em !important;
    line-height: 1.3 !important;
}

.st-footer-scan {
    background: var(--theme-color) !important;
}

.st-footer-scan > .container {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 767.98px) and (orientation: portrait) {
    .st-home-page .st-news-navigation .st-news-navigation-collapse,
    .st-home-page .st-news-navigation .st-news-navigation-collapse:not(.show) {
        padding: 0 6px 4px;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        scroll-padding-inline: 6px;
        scrollbar-width: thin;
        touch-action: pan-x;
    }

    .st-home-page .st-news-navigation .st-news-navigation-collapse::-webkit-scrollbar {
        display: block;
        height: 4px;
    }

    .st-home-page .st-news-navigation .st-news-navigation-collapse::-webkit-scrollbar-thumb {
        border-radius: 4px;
        background: rgba(115, 24, 24, 0.55);
    }

    .st-home-page .st-news-navigation .st-news-navigation-links {
        padding-right: 6px;
        padding-left: 0;
    }

    body.dark_theme.st-home-page .st-news-navigation {
        border-color: #3a3d43;
        background-color: #1c1d1f;
    }

    body.dark_theme.st-home-page .st-news-navigation .st-news-navigation-links .nav-link {
        background-color: #1c1d1f;
        color: #f4f5f7 !important;
    }

    body.dark_theme.st-home-page .st-news-navigation .st-news-navigation-links .nav-link.active {
        color: #ff5967 !important;
        border-bottom-color: #ff5967;
    }

    body.dark_theme.st-home-page .st-news-navigation .st-news-navigation-collapse::-webkit-scrollbar-thumb {
        background: rgba(255, 89, 103, 0.72);
    }
}
