html {
    scroll-behavior: smooth;
}

body {
    background: #0A0019;
    color: #fff;
    font-family: 'Manrope', Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Футер */
.pre-footer{
    display: flex;
    justify-content: center;
    background: url(/img/footer_bg5.png), url(/img/bg_icon8.png);
    background-size: 99%, 3%;
    background-repeat: no-repeat;
    background-position: center, 11%;
    position: relative;
    margin-top: 50px;
}

.footer {
    background: url(/img/footer_bg4.png);
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.pre-footer .overflow-image-bottom {
    position: absolute;
    right: 0;
    width: 100%;
    bottom: 0;
}

.footer-top {
    padding: 60px 0 40px;
    position: relative;
    z-index: 2;
    border-bottom: 1px solid #FFFFFF66;
}

/* Логотипы */
.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    z-index: 2;
    padding: 36px 0;
}

.logo-item {
   /* display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    flex: 1;
    min-width: 120px;*/
}

.logo-text {
    color: white;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    max-width: 130px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Навигация */
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 42px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
    font-family: Manrope;
    font-weight: 400;
    font-size: 18px;
    line-height: 127%;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #E68B31, #FFA726);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #E68B31;
    text-shadow: 0 0 10px rgba(230, 139, 49, 0.3);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #E68B31;
    text-shadow: 0 0 10px rgba(230, 139, 49, 0.3);
}

.nav-link.active::after {
    width: 100%;
}

/* Нижняя часть футера */
.footer-bottom {
    padding: 30px 0;
    position: relative;
    z-index: 2;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
}

/* Поддержка */
.footer-support {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 2;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
    }
    to {
        filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.6));
    }
}

.support-text {
    color: rgba(255, 255, 255, 0.95);
    font-family: Manrope;
    font-weight: 400;
    font-size: 18px;
    line-height: 127%;
}

/* Контакты */
.footer-contacts {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.contact-icon {

}

.contact-item:hover .contact-icon {
    color: #E68B31;
    filter: drop-shadow(0 0 5px rgba(230, 139, 49, 0.5));
}

.contact-text {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    font-family: Manrope;
    font-weight: 400;
    font-size: 18px;
    line-height: 127%;
}

@media (max-width: 2200px) {
    .pre-footer {
        background-size: 134%, 3%;
        background-repeat: no-repeat;
        position: relative;
        top: 2px;
    }
}

@media (max-width: 1715px) {
    .pre-footer {
        top: 5px;
    }
}

@media (max-width: 1600px) {
    .pre-footer {
        background-size: 170%, 3%;
        top: 4px;
    }
}

@media (min-width: 1300px) and (max-width: 1370px) {
    .pre-footer {
        top: 7px;
    }
}

@media (max-width: 1300px){
    .pre-footer {
        background-size: 221%, 3%;
    }

    .pre-footer .overflow-image-bottom{
        top: -94%;
    }
}

@media (max-width: 1185px){
    .pre-footer .overflow-image-bottom{
        top: -72%;
    }
}

@media (max-width: 1040px){
    .pre-footer {
        top: 14px;
    }
}

@media (max-width: 991px){
    .pre-footer {
        background-size: 252%, 3%;
        background-position: 49.5%;
    }

    .pre-footer .overflow-image-bottom{
        top: -46%;
    }
}

/* Адаптивность для футера */

@media (max-width: 830px) {
    .footer-logos img{
        max-width: 100px;
    }
}

@media (max-width: 768px) {

    .footer-nav {
        gap: 20px;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-contacts {
        justify-content: center;
    }

    .pre-footer .overflow-image-bottom{
        top: -131%;
    }
}

@media (max-width: 700px) {
    .pre-footer{
        background: none;
    }

    .pre-footer .overflow-image-bottom {
        top: -115%;
    }
}

@media (max-width: 633px) {
    .pre-footer .overflow-image-bottom {
        top: -115%;
    }
}

@media (max-width: 570px) {
    .pre-footer .overflow-image-bottom {
        top: -60%;
    }
}

@media (max-width: 490px) {

    .logo-item {
        flex: none;
    }

    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }

    .footer-contacts {
        flex-direction: column;
        gap: 10px;
    }

    .footer .nav-link{
        text-align: center;
    }
}

@media (max-width: 459px) {
    .pre-footer .overflow-image-bottom {
        top: -54%;
    }
}

@media (max-width: 410px) {
    .pre-footer .overflow-image-bottom {
        top: -49%;
    }
}

@media (max-width: 378px) {
    .pre-footer .overflow-image-bottom {
        display: none;
    }
}


/* Блок НОВОСТИ */
.news-section {
    background-size: 50%;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}



.news-section .container {
    position: relative;
    z-index: 2;
}

.news-title {
    text-align: center;
    color: white;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 60px;
    text-transform: uppercase;
    font-family: Tektur;
    line-height: 60px;
    letter-spacing: 5%;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    justify-items: start;
}

.news-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px;
    width: 100%;
    max-width: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(76, 175, 80, 0.3);
}

.news-date {
    background: #00927A;
    color: white;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 14px;
    line-height: 16px;
    font-weight: 700;
    width: fit-content;
    margin-bottom: 16px;
}

.news-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-card-title {
    color: white;
    margin-bottom: 20px;
    font-family: Tektur;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 5%;
    text-transform: uppercase;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-read-more {
    background: transparent;
    color: white;
    border: 1px solid #FFFFFF;
    padding: 16px;
    border-radius: 56px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.news-read-more:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    /*transform: translateY(-2px);*/
    color: white;
    text-decoration: none;
}

.news-actions {
    text-align: center;
}

.btn-all-news {
    background: #E68B31;
    color: white;
    border: none;
    padding: 18px 48px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Manrope;
}

.btn-all-news:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.4);
}

.news__title{
    font-family: Tektur;
    font-weight: 600;
    font-size: 70px;
    line-height: 112%;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.news__title-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Стили для хлебных крошек */
.main-breadcrumbs{
    display: flex;
    gap: 12px;
}

.main-breadcrumbs-item{
    font-family: Manrope;
    font-weight: 400;
    font-size: 18px;
    line-height: 127%;
    color: #FFFFFF;
}

.main-breadcrumbs-item:hover{
    color: #FFFFFF;
    text-decoration: none;
}

.main-breadcrumbs-item:not(.active)::after {
    content: '/';
    margin-left: 12px;
}

.main-breadcrumbs-item.active{
    color: #E68B31;
    max-width: 175px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news__title-image {
    width: 100%;
}

.news__head-container .container{
    display: flex;
    gap: 24px;
}

.news__head-container{
    padding-top: 21px;
}

.news__title-container{
    padding-bottom: 30px;
}

.news__title-image-container{
    display: flex;
    align-items: flex-end;
}

@media (min-width: 1600px) {
     .news__head-container .container{
         position: relative;
     }

    .news__title-image-container{
        position: absolute;
        bottom: 0;
        left: 341px;
    }

    .news__title-container{
        padding: 50px 0;
    }

    .news__title-image {
        width: 127%;
    }
}

/* Адаптивность для новостей */
@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        justify-items: start;
    }
}

@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-items: start;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 60px 0;
    }

    .news-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-items: start;
    }

    .news-card-title {
        font-size: 18px;
        line-height: 20px;
    }

    .btn-all-news {
        padding: 16px 36px;
        font-size: 16px;
    }

    .news__title-image-container{
        display: none;
    }

    .footer-container{
        background: url(/img/footer_bg4.png);
        background-size: cover;
        background-repeat: no-repeat;
    }

    .footer{
        background: none;
    }

    .pre-footer{
        background: none;
    }
}

@media (max-width: 490px) {
    .news-title {
        font-size: 34px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        justify-items: start;
    }

    .btn-all-news {
        padding: 14px 32px;
        font-size: 14px;
    }
}

/* Стили для прижатия футера к низу */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1 0 auto;
}

.footer-container {
    flex-shrink: 0;
}

/* Альтернативный способ для старых браузеров */
@media screen and (max-height: 600px) {
    #app {
        min-height: 100vh;
    }
}

#app{
    background-color: #0A0019;
}

.news_page__wrapper{
    background: url(/img/bg_1.png) no-repeat left 71%, url(/img/bg_icon2.png) no-repeat 93% 7%, url(/img/bg_icon3.png) no-repeat 97% bottom, url(/img/bg_icon3.png) no-repeat 7% bottom;
    background-size: 23%, 6%, 3%, 3%;
    position: relative;
    padding: 60px 0 100px;
    contain: layout;
    z-index: 2;
}

.news_page__wrapper .overflow-image-right-top {
    position: absolute;
    top: -500px;
    right: 0;
    width: 28%;
}

.news_page__wrapper .overflow-image-right {
    position: absolute;
    bottom: -380px;
    right: 0;
    width: 30%;
}

.news_page__wrapper .overflow-image-left {
    position: absolute;
    bottom: -380px;
    left: 0;
    width: 30%;
}

.detail_news_page__title{
    font-family: Tektur;
    font-weight: 600;
    font-size: 48px;
    line-height: 120%;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 40px;
}

.detail_news_page__image{
    display: flex;
    position: relative;
    /*justify-content: center;*/
}

/*.detail_news_page__image img{
    width: auto;
    border-radius: 20px;
    max-width: 100%;
    width: 100%;
    max-height: 505px;
}*/

.detail_news_page__content{
    max-width: 1016px;
    margin: 0 auto;
}

.news_date{
    background: #00927A;
    border-radius: 20px;
    padding: 6px 20px;
    font-family: Manrope;
    font-weight: 700;
    font-size: 18px;;
    line-height: 16px;
    text-transform: uppercase;
    color: #FFFFFF;
    position: absolute;
    right: 20px;
    top: 20px;
}

/* Контейнер для адаптивного изображения новости */
.news_image_container {
    position: relative;
    width: 100%;
    height: 505px; /* Фиксированная высота */
    overflow: hidden;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Адаптивное изображение с обрезанием */
.news_image {
    width: 100%;
    height: 505px; /* Фиксированная высота */
    object-fit: cover; /* Обрезает по краям, сохраняя пропорции */
    object-position: center; /* Центрирует изображение */
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.detail_news_page__text{
    font-family: Manrope;
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    color: #FFFFFF;
    margin: 40px 0;
}

/* Принудительное переопределение шрифтов от текстового редактора */
.detail_news_page__text,
.detail_news_page__text *,
.detail_news_page__text p,
.detail_news_page__text span,
.detail_news_page__text div,
.detail_news_page__text h1,
.detail_news_page__text h2,
.detail_news_page__text h3,
.detail_news_page__text h4,
.detail_news_page__text h5,
.detail_news_page__text h6,
.detail_news_page__text strong,
.detail_news_page__text em,
.detail_news_page__text b,
.detail_news_page__text i,
.detail_news_page__text u,
.detail_news_page__text a,
.detail_news_page__text ul,
.detail_news_page__text ol,
.detail_news_page__text li {
    font-family: Manrope !important;
    font-size: 18px !important;
    line-height: 28px !important;
    color: #FFFFFF !important;
}

/* Дополнительные стили для абзацев */
.detail_news_page__text p {
    margin: 0 0 20px 0 !important;
    text-align: left !important;
}

/* Стили для заголовков внутри контента */
.detail_news_page__text h1,
.detail_news_page__text h2,
.detail_news_page__text h3,
.detail_news_page__text h4,
.detail_news_page__text h5,
.detail_news_page__text h6 {
    font-weight: 600 !important;
    margin: 30px 0 15px 0 !important;
    line-height: 1.2 !important;
}

/* Стили для ссылок */
.detail_news_page__text a {
    color: #E68B31 !important;
    text-decoration: none !important;
}

.detail_news_page__text a:hover {
    color: #E68B31 !important;
}

/* Стили для списков */
.detail_news_page__text ul,
.detail_news_page__text ol {
    margin: 15px 0 !important;
    padding-left: 20px !important;
}

.detail_news_page__text li {
    margin: 5px 0 !important;
}

@media (max-width: 490px) {
    .detail_news_page__title{
        font-size: 34px;
    }

    .news__title{
        font-size: 55px;
    }

    .detail_news_page__title{
        font-size: 34px;
        line-height: 100%;
    }

    /* Принудительное переопределение шрифтов от текстового редактора */
    .detail_news_page__text,
    .detail_news_page__text *,
    .detail_news_page__text p,
    .detail_news_page__text span,
    .detail_news_page__text div,
    .detail_news_page__text h1,
    .detail_news_page__text h2,
    .detail_news_page__text h3,
    .detail_news_page__text h4,
    .detail_news_page__text h5,
    .detail_news_page__text h6,
    .detail_news_page__text strong,
    .detail_news_page__text em,
    .detail_news_page__text b,
    .detail_news_page__text i,
    .detail_news_page__text u,
    .detail_news_page__text a,
    .detail_news_page__text ul,
    .detail_news_page__text ol,
    .detail_news_page__text li {
        font-size: 16px !important;
    }
}

.orange-btn {
    background: #E68B31;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 16px 40px;
    font-size: 18px;
    cursor: pointer;
    font-family: Manrope;
    font-weight: 600;
    line-height: 127%;
    text-align: center;
}

.orange-btn:hover {
    background: #E68B31;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.4);
}

.orange-btn:focus{
    outline: none;
}

.white-border-btn {
    background: none;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 56px;
    padding: 14px 32px;
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.white-border-btn:hover {
    text-decoration: none;
    color: #fff;
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.white-border-btn:focus{
    outline: none;
}

.white-btn {
    background: #fff;
    border: 1px solid #fff;
    color: #211D15;
    border-radius: 56px;
    padding: 14px 32px;
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.white-btn:hover {
    text-decoration: none;
    color: #211D15;
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.white-btn:focus{
    outline: none;
}


.login-btn-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.auth-title{
    font-family: Manrope;
    font-weight: 800;
    font-size: 42px;
    line-height: 100%;
    text-align: center;
    color: #FFFFFF;
    margin: 50px auto;
}

.col-form-label{
    font-family: Manrope;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
    margin-bottom: 4px;
}
.form__wrapper {
    max-width: 476px;
    width: 100%;
    margin: 0 auto 50px;
    position: relative;
    z-index: 10;
}
@media (max-width: 490px) {
    .login-btn-container{
        flex-wrap: wrap;
    }
    .login-btn-container button{
        width: 100%;
    }
}
