@charset "UTF-8";

@font-face {
    font-family: Inter;
    font-display: swap;
    src: url("../fonts/Inter-Medium.woff2") format("woff2"), url("../fonts/Inter-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: Inter;
    font-display: swap;
    src: url("../fonts/Inter-Regular.woff2") format("woff2"), url("../fonts/Inter-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: Inter;
    font-display: swap;
    src: url("../fonts/Inter-SemiBold.woff2") format("woff2"), url("../fonts/Inter-SemiBold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
}

/* Указываем box sizing */

html {
    height: 100%;
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

ul,
ol {
    padding: 0;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
    margin: 0;
}

input:focus-visible {
    outline: none;
}

a {
    text-decoration: none;
    color: inherit;
}

body {
    min-height: 100vh;
    scroll-behavior: smooth;
    text-rendering: optimizeSpeed;
    line-height: 1;
    color: #000000;
    font-size: 18px;
    font-family: Inter, serif !important;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

ul,
ol {
    list-style-position: inside;
}

ul[class],
ol[class] {
    list-style: none;
}

a:not([class]) {
    -webkit-text-decoration-skip: ink;
    text-decoration-skip-ink: auto;
}

.nav-link {
    color: #333;
}

.nav-link.active {
    color: #C93;
}

/*.inner__share {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    align-items: flex-start;*/
/*}*/
/*.inner__share-items {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    flex-wrap: wrap;*/
/*    gap: 20px;*/
/*}*/
/*.inner__share-title {*/
/*    margin-bottom: 15px;*/
/*    font-size: 20px;*/
/*    font-weight: 600;*/
/*    line-height: 145%;*/
/*}*/


/*img {*/
/*    max-width: 100%;*/
/*    display: block;*/
/*}*/


.sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 13vh;
    align-self: flex-start;
}

.text-primary {
    color: #1D489C!important;
}

.text-bg-primary {
    background-color: #1D489C!important;
    color: #ffffff!important;
}

.nav-tabs .nav-link {
    color: #ffffff!important;
}
.nav-tabs .nav-link.active {
    color: #1D489C!important;
}

.custom-carousel-slide {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.custom-carousel-slide img {
    height: 100%;
    object-fit: cover;
}

.custom-carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    color: white;
    padding: 20px;
}

.custom-carousel-category {
    display: inline-block;
    color: #1D489C;
    background-color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    position: absolute;
    top: 20px; /* Суреттің жоғарғы бөлігіне орналастыру */
    left: 20px; /* Сол жақ шетке кішкене орын қалдыру */
}
.hero__swiper-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-weight: 600;
}

.custom-carousel-title {
    font-size: 30px;
    margin-top: 50px;
    font-weight: 600;
    line-height: 120%;
    max-width: 722px;
    margin-bottom: 50px;
    color: #ffffff;
}

.custom-carousel-indicators {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
}

.custom-carousel-indicators button {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 50%;
}

.custom-carousel-indicators button.active {
    background: white;
}

.news-hero {
    position: relative;
    overflow: hidden;
}

.news-hero img {
    object-fit: cover;
    border-radius: 8px;
}

.news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: linear-gradient(0deg,rgba(0,0,0,.6) 50%,transparent);
    color: white;
    padding: 20px;
    border-radius: 0 0 8px 8px;
}

.news-date {
    font-size: 14px;
    margin-bottom: 8px;
    color: #0a2ea5;
}

.news-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 130%;
    max-width: 604px;
    margin-bottom: 20px;
}

h3.news-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 130%;
    max-width: 604px;
    margin-bottom: 20px;
}

.news-small img {
    width: 100%;
    max-height: 150px;
    height: 150px;
    object-fit: cover;
    overflow: hidden;
}

.news-small .news-date {
    font-size: 12px;
}

.news-small .news-title {
    font-size: 18px;
    font-weight: bold;
    color: #1D489C;
}

span.article__item-date {
    position: absolute;
    padding: 9px 10px;
    background: #ffffff;
    color: #1D489C;
    font-size: 16px;
    font-weight: 600;
    z-index: 1;
    bottom: 12px;
    left: 12px;
    border-radius: 4px;
}

/*table*/
table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
}

th, td {
    border: 1px solid #555;
    padding: 8px;
    vertical-align: top;
}

th {
    background-color: #f2f2f2;
    text-align: center;
}

td:nth-child(1) {
    width: 35%;
}

td:nth-child(2) {
    width: 35%;
}

td:nth-child(3) {
    width: 30%;
    text-align: center;
    white-space: nowrap;
}




@media (max-width: 768px) {
    .news-small img {
        max-height: 130px;
    }
    .custom-carousel-slide {
        height: 250px;
    }
    .custom-carousel-title {
        font-size: 20px;
        font-weight: bold;
    }
    .custom-carousel-category {
        font-size: 14px;
        top: 10px;
        left: 10px;
    }
    .little-news-column {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        width: auto;
        gap: 5px;
    }
    body {
        font-size: 14px;
    }
    .news-title {
        font-size: 16px;
    }
}


