/* ===== CSS ПЕРЕМЕННЫЕ ===== */
:root {
  /* Шрифты */
  --font-family: "TTFirsNeue-Regular", "Inter", "SF Pro Text", system-ui, -apple-system, Arial, sans-serif;
  --font-family-medium: "TTFirsNeue-Medium", var(--font-family);
  --font-family-bold: "TTFirsNeue-Bold", var(--font-family);
  --font-family-light: "TTFirsNeue-Light", var(--font-family);

  /* База */
  --fs-root: 16px; /* 1rem */
  --lh-tight: 1.15;
  --lh-base: 1.5;

  /* Иерархия типографики */
  --fs-h1: 2.25rem;   /* 36px */
  --fs-h2: 1.75rem;   /* 28px */
  --fs-h3: 1.375rem;  /* 22px */
  --fs-body: 1rem;    /* 16px */
  --fs-meta: 0.875rem;/* 14px */

  /* Роли */
  --fs-btn: 1rem;     /* кнопки одинаковые везде */
  --fs-desc: 0.9375rem; /* описания чуть ниже body */
  --fs-category: 1.125rem; /* категории/рубрики крупнее body */

  /* Цветовая палитра */
  --color-text: #111;
  --color-text-muted: #666;
  --color-border: #ECEEF2;
  --color-bg: #fff;
  --color-bg-muted: #f8f9fa;
  --color-accent: #ff8c42;
  --color-accent-hover: #e67e22;

  /* Отступы */
  --space-1: .25rem;  /* 4px */
  --space-2: .5rem;   /* 8px */
  --space-3: .75rem;  /* 12px */
  --space-4: 1rem;    /* 16px */
  --space-6: 1.5rem;  /* 24px */
  --space-8: 2rem;    /* 32px */
  --space-12: 3rem;   /* 48px */
  --space-16: 4rem;   /* 64px */

  /* Радиусы */
  --radius-sm: .4rem;
  --radius-md: .6rem;
  --radius-lg: .8rem;
  --radius-xl: 1rem;

  /* Тени */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

* {
    padding: 0;
    margin: 0;
}
@font-face {
  font-family: 'TTFirsNeue-Bold';
  src: local('TTFirsNeue-Bold'),
	   url('../fonts/TTFirsNeue-Bold.woff') format('woff')
}
@font-face {
  font-family: 'TTFirsNeue-Light';
  src: local('TTFirsNeue-Light'),
	   url('../fonts/TTFirsNeue-Light.woff') format('woff')
}

@font-face {
  font-family: 'TTFirsNeue-Regular';
  src: local('TTFirsNeue-Regular'),
	   url('../fonts/TTFirsNeue-Regular.woff') format('woff')
}

@font-face {
  font-family: 'TTFirsNeue-Medium';
  src: local('TTFirsNeue-Medium'),
	   url('../fonts/TTFirsNeue-Medium.woff') format('woff')
}

@font-face {
  font-family: 'TTFirsNeue-DemiBold';
  src: local('TTFirsNeue-DemiBold'),
	   url('../fonts/TTFirsNeue-DemiBold.woff') format('woff')
}

@font-face {
  font-family: 'TTFirsNeue-Thin';
  src: local('TTFirsNeue-Thin'),
	   url('../fonts/TTFirsNeue-Thin.woff') format('woff')
}
@font-face {
  font-family: 'TTFirsNeue-ExtraLight';
  src: local('TTFirsNeue-ExtraLight'),
	   url('../fonts/TTFirsNeue-ExtraLight.woff') format('woff')
}
.header__lk{
display: inherit;
}

.footer-content img{
    height: 16px;
}
html { 
    font-size: var(--fs-root); 
}

body {
    height: 100%;
    background-color: #F8F8F8;
}

/* ===== БАЗОВАЯ ТИПОГРАФИКА ===== */
h1, h2, h3 { 
    line-height: var(--lh-tight); 
    letter-spacing: -0.01em; 
    font-family: var(--font-family-bold);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p, li { 
    font-size: var(--fs-body); 
    line-height: var(--lh-base);
}

.small, .meta { 
    font-size: var(--fs-meta); 
    opacity: .85; 
    color: var(--color-text-muted);
}

.lead {
    font-size: var(--fs-desc);
    line-height: var(--lh-base);
    color: var(--color-text-muted);
}

.nav{
right: 0px;
}
.wrapper{
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.header, .main, .footer{
    font-size: 18px;
}
.header, .footer{
    background: white;
}
.main{
    flex: 1 1 auto;
    background: #F8F8F8;
    background-image: url("/static/deps/img/setca.svg");
    padding-top: 60px;
}
.header__lk_mob{
    display: none;
    align-items: center;
}
.header{
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 55px;
    padding-right: 55px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.header__logo{
position: relative;
  z-index: 1000;
}
.header__lk{
position: relative;
  z-index: 1000;
}

.header ul {
    display: flex;
    gap: 35px;
}

.header ul li{
    display: inline-block;
    list-style: none;
    font-family: TTFirsNeue-Light;
    font-size: 13px;
    margin-right: 0;
    transition: all 0.2s ease;
    padding: 0px 2px;
    background: linear-gradient(to right, rgb(255, 176, 92) 0, rgb(255, 176, 92)) no-repeat;
    background-size: 0 50%;
    background-position: 0 75%;
}

.header ul li:hover {
    background-size: 100% 50%;
}

.header__lk button{
    background-color: black;
    padding: 5px 18px;
    color: white;
    border-radius: 4px;
    font-family: TTFirsNeue-Regular;
    font-size: 14px;
    border: none;
}
.bt{
display: block;

}

.hamburger{
    display: none;
    cursor: pointer;
}
.nav-menu a{
  color: black;
  text-decoration: none;
}
.bar{
    display: block;
    width: 16px;
    height: 1.5px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: black;
}

footer {
    padding: 0;
    background: #fff;
    color: #222;
    position: relative;
    border-top: 1px solid #ececec;
}

.header .nav{
position: absolute;
  justify-content: center;
  display: flex;
  align-content: center;
  align-items: center;
  width: 100%;
}

.footer{
    background: transparent;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    padding: 20px 3% 32px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
    justify-items: center;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

.footer-logo-section {
    margin-bottom: 0;
    align-items: flex-start;
}

.footer-logo {
    min-width: 60px;
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .footer-logo {
        margin-bottom: 5px;
    }
}

.footer-logo img {
    height: 20px;
    width: auto;
    margin-bottom: 6px;
}

.footer-desc {
    color: #888;
    font-size: 16px;
    font-family: TTFirsNeue-Regular;
    margin: 0;
    letter-spacing: 0.01em;
    line-height: 1.5;
    text-align: left;
}

.footer-accent {
    color: #ff8c42;
    font-family: TTFirsNeue-DemiBold;
}

.footer-logo p {
    font-size: 16px;
    font-family: TTFirsNeue-Regular;
    color: #bdc3c7;
    line-height: 1.6;
    max-width: 300px;
}

.footer-title {
    font-family: TTFirsNeue-Medium;
    font-size: 17px;
    color: #111;
    margin-bottom: 10px;
    text-align: left;
    position: static;
    background: none;
}

@media (max-width: 768px) {
    .footer-title {
        margin-bottom: 5px;
    }
}

.footer-title::after {
    display: none;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.footer-section li {
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .footer-section li {
        margin-bottom: 3px;
    }
}

.footer-section li a {
    text-decoration: none;
    color: #888;
    font-size: 15px;
    font-family: TTFirsNeue-Regular;
    border-radius: 0;
    padding: 0;
    background: none;
    transition: color 0.2s;
}

.footer-section li a:hover {
    color: #ff8c42;
    background: none;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #5a6a7d 0%, #3b4a5e 100%);
    margin: 0 0 8px 0;
    border-radius: 1px;
}

.footer-bottom {
    border-top: none;
    padding: 24px 3% 18px;
    background: transparent;
    position: relative;
}

.footer-bottom::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 1.5px;
    border-radius: 1px;
    background: #ececec;
}

.footer-copyright {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-copyright p {
    font-family: TTFirsNeue-Regular;
    font-size: 13px;
    color: #888;
    line-height: 1.5;
    text-align: center;
    margin: 0;
}

.border__footer{
    display: none;
}

.logo_1{
    max-width: 200px;
    height: auto;
    transition: max-width 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -ms-interpolation-mode: nearest-neighbor;
    display: block;
}

.logo_2{
    display: none;
}

.header__logo{
    display: flex;
    align-items: center;
}

.header__logo a{
    display: flex;
    align-items: center;
}

/*index*/
.cont {
    max-width: 1200px;
    width: 1200px;
    margin: 30px auto 40px auto;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* Предотвращаем выделение SVG и других элементов в разделе cont */
.cont svg {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    pointer-events: none;
}

.cont img {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-drag: none;
    user-drag: none;
}

.cont * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}
.footer-content img{
height: 23px;
}


.cont1{
    text-align: center;
    background-color: white;
    border-radius: 30px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    border: 1px solid transparent;
    position: relative;
    width: 383px;
    height: 320px;
    margin: 0 auto;
}
.cont1:hover {
    border-color: black;
}
.cont1 img{
    padding-top: 30px;
    width: 170px;
    height: 170px;
    object-fit: contain;
}
.cont1 p{
    font-family: var(--font-family);
    font-size: var(--fs-category);
    line-height: var(--lh-tight);
    margin-top: var(--space-2);
}
.cont1 .button__1,
.cont1 .button__2,
.cont1 .button__3 {
    display: inline-block;
    margin-top: var(--space-4);
    background-color: transparent;
    background-repeat: no-repeat;
    font-family: var(--font-family-light);
    white-space: normal;
    font-size: var(--fs-btn);
    line-height: var(--lh-base);
    padding: var(--space-2);
    width: 80%;
    cursor: pointer;
    overflow: hidden;
    outline: none;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-text);
    color: var(--color-text);
    transition: 0.3s;
}
.button__1:hover,
.button__2:hover,
.button__3:hover {
    background-color: black;
    color: white;
}

.train, .train1, .train2, .train3 {
    margin-top: var(--space-16);
    text-align: center;
    font-family: var(--font-family-medium);
    font-size: var(--fs-h1);
    line-height: var(--lh-tight);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.train {
    background-color: rgb(255, 176, 92);
    padding: 0 1px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    line-height: 0.1;
    padding-bottom: 13px;
}

.train1 {
    margin-top: 0px;
    margin-bottom: 30px;
}

.train2 {
    margin-bottom: 0%;
}

.train3 {
    background-color: rgb(129, 248, 138);
    padding: 0 1px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    line-height: 0.1;
    padding-bottom: 13px;
}

/* Carousel buttons styling */
.carousel-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    width: 1010px;
    height: 140px;
    max-width: calc(100% - 100px);
}

.buttons-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(217, 217, 217, 0.5);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
}

.carousel-nav-button {
    width: 300px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border: 1px solid black;
    border-radius: 15px;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    font-family: TTFirsNeue-Regular;
    font-size: 24px;
    color: black;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.carousel-nav-button:hover,
.carousel-nav-button:active {
    background-color: black;
    color: white;
}

.button-icon {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

/* Article section styling */
.article-section {
    width: 1200px;
    max-width: 1200px;
    background-color: rgba(255, 255, 255);
    padding: 20px 5px;
    margin: 15px auto 30px auto;
    border-radius: 15px;
}

.article-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-banner {
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 15px;
}

.article-title {
    font-family: var(--font-family-medium);
    font-size: var(--fs-h3);
    line-height: var(--lh-tight);
    margin-bottom: var(--space-4);
    padding: 0 var(--space-2);
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-title::before,
.article-title::after {
    content: "";
    height: 1px;
    background-color: #000;
    flex-grow: 1;
    max-width: 1000px;
}

.article-title::before {
    margin-right: 20px;
}

.article-title::after {
    margin-left: 20px;
}

.article-content {
    padding: 0 10px;
    box-sizing: border-box;
}


.article-content p {
    font-family: var(--font-family);
    margin-bottom: var(--space-1);
    font-size: var(--fs-desc);
    line-height: var(--lh-base);
    display: flex;
}

.article-button-container {
    text-align: center;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
}


h1 {
    margin-top: 50px;
    margin-bottom: 0;
}

.cont1-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.cont1-link:hover .cont1 {
    border-color: black;
}

@media (max-width: 400px) {

    .cont1{
        margin-left: 10px;
        margin-right: 10px;
}
}

@media (max-width: 630px) {
    .border__footer{
        display: flex;
        border-bottom: 1px solid black;
}  
}
@media (max-width: 440px) {
    .article-content p {
        font-size: 12px;
}
    .logo_1{
        max-width: 120px;
        height: auto;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: pixelated;
        image-rendering: high-quality;
    }
    .logo_2{
        display: none;
    }
    
    .header__logo{
        display: flex;
        align-items: center;
    }
    .train, .train1, .train2, .train3{
        font-size: 26px;
}
    .train1 {
        margin-top: 0;
    }
    .cont1 p{
    font-size: 20px;
}
    .cont1 .button__2, .cont1 .button__1, .cont1 .button__3{
    font-size: 15px;
    margin-top: 13px;
    margin-left: 23px;
    margin-right: 23px;
}
}

@media (max-width: 1126px){
    .main{
        background-image: url("/static/deps/img/setca_mob.svg");
}
    .carousel .active{
        position: relative;
        margin-top: 0px;
}
    .train1{
        margin-bottom: 0px;
}
    .train{
        margin-top: 60px;
}
    .train3{
        margin-top: 60px;
    }
}
@media (max-width: 768px){
    .main{
        background-image: url("/static/deps/img/setca_mob.svg");
}
    .find_me{
    padding-top: 10px;
}
    .footer{
    row-gap: 10px;
    
}
    .footer-content p{
    font-size: var(--fs-meta);
    line-height: var(--lh-base);
    padding-top: var(--space-1);
}
    .footer-content h4 {
    font-size: var(--fs-meta);
    line-height: var(--lh-tight);
    padding-bottom: var(--space-1);
}
    .footer-content li a {
    font-size: var(--fs-meta);
    line-height: var(--lh-base);
}
    .footer-content li{
    padding-top: 8px;
}
    
    .footer-main {
        padding: 32px 2% 16px;
        max-width: 100%;
    }
    
    .footer-desc {
        font-size: 15px;
    }
    
    .footer-title {
        font-size: 16px;
    }
    
    .footer-section li a {
        font-size: 14px;
    }
    
    .footer-bottom {
        padding: 12px 2% 6px;
    }
    
    .footer-divider {
        margin: 0 0 12px 0;
    }
    
    .train, .train1{
        font-size: 32px;
}
    .hamburger{
        background-color: black;
        border-radius: 4px;
        min-width: 28px;
        height: 28px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        gap: 4px;
        margin-left: 10px;

        flex-shrink: 0;
    
}
    .bar{
        background-color: white;
}
    .hamburger.active .bar:nth-child(2){
        opacity: 0;
}
    .hamburger.active .bar:nth-child(1){
        transform: translateY(4px) rotate(45deg);
}
    .hamburger.active .bar:nth-child(3){
         transform: translateY(-4px) rotate(-45deg);
}
    
    
        .nav-menu{
            position: fixed;
            top: 65px;
            right: 15px;
            display: flex;
            gap: 10px;
            flex-direction: column;
            background-color: black;
            color: white;
            width: 120px;
            text-align: left;
            align-items: flex-start;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            border-radius: 4px;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
            padding: 16px 0 16px 12px;
            opacity: 0;
            visibility: hidden;
            z-index: 1000;
        }
        
        .nav-item{
            position: relative;
            text-align: left;
            margin: 0;
            padding: 10px 12px 10px 0;
            border-radius: 6px;
            transition: all 0.3s ease;
            width: 90px;
            list-style: none;
            white-space: nowrap;
        }
        
        .nav-item:hover {
            background-color: #333333;
            transform: translateX(2px);
        }
        
        .nav-item a {
            color: white;
            text-decoration: none;
            font-family: TTFirsNeue-Regular;
            font-size: 13px;
            display: block;
            width: 100%;
            font-weight: normal;
            white-space: nowrap;
        }
    
    
            .header__lk{
            display: none;
        }
        .header__lk_mob{
            display: flex;
            justify-content: flex-end;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
}
    .header__lk_mob a{
        display: flex;
        align-items: center;
    }
    
    .nav-menu.active{
        opacity: 1;
        visibility: visible;
    }
    .header ul {
        gap: 10px;
    }
    .header ul li {
        margin: 0;
        list-style: none;
        font-size: 14px;
        background: none;
        transition: all 0.3s ease;
        padding: 0;
        font-weight: normal;
    }
    
    .header ul li:hover {
        background: none;
    }
    
    .cont1{
        margin-right: 62px;
        margin-left: 62px;
}
    .cont1{
        padding-bottom: 30px;
}
    .header{
        padding: 15px 20px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        width: 100%;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-sizing: border-box;
    }
    
    .logo_1{
        max-width: 160px;
        height: auto;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: high-quality;
        -ms-interpolation-mode: nearest-neighbor;
    }
    
    .header__logo{
        display: flex;
        align-items: center;
    }
    
    body {
    }
    
    .main {
        padding-top: 80px; /* Отступ для фиксированного хедера в мобильной версии */
    }
    .footer-content{
        font-size: 13px;
}
    .header .nav{
        position: static;
        justify-content: center;
        display: block;
        align-content: center;
        align-items: center;
        width: 100%;
}
    .cont {
        flex-direction: column;
        align-items: center;
    }
    
    .cont1 {
        margin-right: 20px;
        margin-left: 20px;
    }
}

@media (max-width: 1200px) {
    .article-content p {
        font-size: 15px;
    }
    .article-title {
        font-size: 18px;
    }
    .train2 {
        margin-top: 70px;
    }
    .article-section {
        border-radius: 12px;
        margin-top: 15px;
        margin-bottom: 30px;
    }
    .banner-image {
        border-radius: 12px;
    }
    .cont {
        margin-top: 25px;
    }
}

@media (max-width: 992px) {
    .article-content p {
        font-size: 12px;
    }
    .article-title {
        font-size: 16px;
    }
    .train2 {
        margin-top: 65px;
    }
    .article-section {
        border-radius: 10px;
        margin-top: 12px;
    }
    .banner-image {
        border-radius: 10px;
    }
    .cont {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .article-content p {
        font-size: 13px;
    }
    .train, .train1, .train2, .train3{
        font-size: 28px;
    }
    .train {
        padding-bottom: 10px;
    }
    .train1 {
        margin-top: 0;
    }
    .train3 {
        padding-bottom: 10px;
    }
    .article-title {
        font-size: 14px;
    }
    .train2 {
        margin-top: 60px;
    }
    .article-section {
        border-radius: 7px;
        margin-top: 10px;
    }
    .banner-image {
        border-radius: 7px;
    }
    .cont {
        margin-top: 17px;
        gap: 20px;
    }
    .cont1 {
        width: 280px;
        height: 286px;
        border-radius: 20px;
    }
    .cont1 img {
        width: 150px;
        height: 150px;
        padding-top: 20px;
    }
    .cont1 p {
        font-size: 18px;
        margin-top: 8px;
    }
    .cont1 .button__2, .cont1 .button__1, .cont1 .button__3 {
        font-size: 16px;
        padding: 8px;
        margin-top: 15px;
        border-radius: 5px;
    }
}

@media (max-width: 576px) {
    .article-content p {
        font-size: 10px;
    }
    .article-title {
        font-size: 14px;
        margin-bottom: 10px;
    }
    .train, .train1, .train2, .train3{
        font-size: 26px;
    }
    .train {
        padding-bottom: 9px;
    }
    .train1 {
        margin-top: 0;
    }
    .train3 {
        padding-bottom: 9px;
    }
    .train2 {
        margin-top: 55px;
    }
    .article-section {
        border-radius: 5px;
        margin-top: 10px;
    }
    .banner-image {
        border-radius: 5px;
    }
    .cont {
        margin-top: 15px;
        gap: 20px;
    }
    .cont1 {
        width: 240px;
        height: 246px;
        border-radius: 17px;
    }
    .cont1 img {
        width: 130px;
        height: 130px;
        padding-top: 15px;
    }
    .cont1 p {
        font-size: 16px;
        margin-top: 6px;
    }
    .cont1 .button__2, .cont1 .button__1, .cont1 .button__3 {
        font-size: 14px;
        padding: 6px;
        margin-top: 12px;
        border-radius: 4px;
    }
}

@media (max-width: 440px) {
    .article-content p {
        font-size: 8px;
    }
    .article-container {
        padding: 0 10px;
    }
    .article-title {
        font-size: 12px;
    }
    .train, .train1, .train2, .train3{
        font-size: 24px;
    }
    .train1 {
        margin-top: 0;
    }
    .article-banner {
        margin-bottom: 15px;
    }
    .train2 {
        margin-top: 50px;
    }
    .article-section {
        border-radius: 5px;
        margin-top: 10px;
    }
    .article-button-container {
        margin-top: 10px;
    }
    .banner-image {
        border-radius: 5px;
    }
    .cont {
        margin-top: 15px;
        gap: 20px;
    }
    .cont1 {
        width: 200px;
        height: 206px;
        border-radius: 15px;
    }
    .cont1 img {
        width: 110px;
        height: 110px;
        padding-top: 10px;
    }
    .cont1 p {
        font-size: 14px;
        margin-top: 5px;
    }
    .cont1 .button__2, .cont1 .button__1, .cont1 .button__3 {
        font-size: 12px;
        padding: 5px;
        margin-top: 10px;
        border-radius: 3px;
    }
}

.news-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.news-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.news-dot.active {
    background-color: #000;
}

@media (max-width: 1200px) {
    .news-dots {
        gap: 8px;
        margin-top: 15px;
    }
    .news-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 992px) {
    .news-dots {
        gap: 7px;
        margin-top: 12px;
    }
    .news-dot {
        width: 9px;
        height: 9px;
    }
}

@media (max-width: 768px) {
    .news-dots {
        gap: 6px;
        margin-top: 10px;
    }
    .news-dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 576px) {
    .news-dots {
        gap: 5px;
        margin-top: 8px;
    }
    .news-dot {
        width: 7px;
        height: 7px;
    }
}

@media (max-width: 440px) {
    .news-dots {
        gap: 4px;
        margin-top: 6px;
    }
    .news-dot {
        width: 6px;
        height: 6px;
    }
}


/* ===== СТИЛИ ДЛЯ СПИСКА ФУНКЦИЙ СЛИВОВ ===== */
.leak-features {
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.leak-feature {
    margin-bottom: 0;
    padding: var(--space-2);
    position: relative;
    font-size: var(--fs-meta);
    line-height: var(--lh-base);
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--color-bg-muted);
    border-radius: var(--radius-lg);
}

.feature-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.feature-text {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: var(--fs-meta);
    line-height: var(--lh-base);
}

.free-leak-button {
    background: #ff9f3a;
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 176, 92, 0.3);
    transition: background 0.3s, color 0.3s;
}
.free-leak-button:hover {
    background: #ffb05c;
    color: white;
    border: none;
    box-shadow: 0 6px 20px rgba(255, 176, 92, 0.4);
}

/* Post buttons styling */
.post-buttons {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    background: #fff;
    border-radius: 999px;
    padding: 4px;
    width: fit-content;
    margin: 15px auto 0px auto;
    z-index: 1;
}

.active-border {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 999px;
    border: 1px solid #000;
    box-sizing: border-box;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    background: transparent;
    z-index: 2;
}

.post-button {
    position: relative;
    z-index: 1;
    border: none;
    background: #fff;
    border-radius: 999px;
    color: #000;
    font-family: TTFirsNeue-Regular;
    font-size: 18px;
    cursor: pointer;
    padding: 14px 36px;
    margin: 0;
    outline: none;
    box-shadow: none;
}

.post-button.active {
    background: #fff;
    z-index: 1;
}

.post-button:not(.active) {
    background: #fff;
    z-index: 0;
}

.post-button:first-child {
    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
    border-top-left-radius: 999px;
    border-bottom-left-radius: 999px;
}

.post-button:last-child {
    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
    border-top-left-radius: 999px;
    border-bottom-left-radius: 999px;
}

@media (max-width: 768px) {
    .post-buttons {
        padding: 4px;
        margin: 15px auto 0 auto;
        border-radius: 9999px;
    }
    .post-button {
        font-size: 15px;
        padding: 9px 18px;
    }
}

@media (max-width: 440px) {
    .post-buttons {
        padding: 4px;
        margin: 15px auto 0 auto;
        border-radius: 9999px;
    }
    .post-button {
        font-size: 12px;
        padding: 6px 12px;
    }
}

.post-content,
.post-title,
.post-image {
    transition: opacity 0.3s ease;
}

.post-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.article-banner {
    position: relative;
    overflow: hidden;
}

.article-title.post-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.article-title.post-title::before,
.article-title.post-title::after {
    content: "";
    height: 1px;
    background-color: #000;
    flex-grow: 1;
    max-width: 1000px;
}

.article-title.post-title::before {
    margin-right: 20px;
}

.article-title.post-title::after {
    margin-left: 20px;
}

@media (max-width: 1200px) {
    .article-title.post-title::before,
    .article-title.post-title::after {
        max-width: 1000px;
    }
    .article-title.post-title {
        font-size: 19px;
    }
}

@media (max-width: 992px) {
    .article-title.post-title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .article-title.post-title {
        font-size: 17px;
    }
}

@media (max-width: 576px) {
    .article-title.post-title {
        font-size: 16px;
    }
}

@media (max-width: 440px) {
    .article-title.post-title {
        font-size: 15px;
    }
    .article-title.post-title::before {
        margin-right: 10px;
    }
    .article-title.post-title::after {
        margin-left: 10px;
    }
}

/* Balance button styling */
.balance-button {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 12px;
    margin-right: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: TTFirsNeue-Regular;
    font-size: 14px;
    color: #333;
    height: 19px;
}
.balance-button:hover {
    background: #e8e8e8;
    border-color: #ccc;
}

.balance-icon {
    font-size: 16px;
}

.balance-text {
    font-weight: 500;
    color: #000;
}

/* Mobile balance button */
.balance-button-mob {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: TTFirsNeue-Regular;
    font-size: 12px;
    color: #333;
    height: 16px;
}

/* Responsive design for balance button */
@media (max-width: 768px) {
    .balance-button {
        display: none;
    }
    
    .balance-button-mob {
        display: flex;
    }
    
    .header__lk_mob {
        display: flex;
        align-items: center;
    }
}

@media (min-width: 769px) {
    .balance-button-mob {
        display: none;
    }
    
    .balance-button {
        display: flex;
    }
}

.cart-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 12px;
  min-width: 110px;
}

.header__lk_mob svg {
  display: block;
  margin-bottom: 0;
  vertical-align: middle;
  width: 20px;
  height: 20px;
}

.cart-item-bottom {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 24px;
}

.cart-item-price {
  font-family: TTFirsNeue-DemiBold;
  font-size: 24px;
  color: #ffb05c;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  vertical-align: middle;
  line-height: 1;
  white-space: nowrap;
}

.cart-item-actions {
  margin: 0;
}

@media (max-width: 768px) {
  .cart-item-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    width: 100%;
    margin-top: 8px;
  }
  .cart-item-price {
    font-size: 20px;
    flex-direction: row;
    align-items: center;
    margin-right: auto;
  }
  .cart-item-actions {
    margin-left: auto;
  }
}

.cart-item-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.cart-item-info {
  flex: 1;
}

@media (max-width: 768px) {
  .cart-item-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .cart-item-bottom-mob {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 16px;
    margin-top: 8px;
  }
  .cart-item-price {
    font-size: 20px;
    margin-right: 0;
  }
  .cart-item-actions {
    margin-left: 0;
  }
  .d-desktop {
    display: none !important;
  }
  .d-mobile {
    display: flex !important;
  }
}

.d-desktop {
  display: flex;
}
.d-mobile {
  display: none;
}
@media (max-width: 768px) {
  .d-desktop {
    display: none !important;
  }
  .d-mobile {
    display: flex !important;
  }
}

.cart-item-detail {
  margin-right: 16px;
  white-space: nowrap;
}

.cart-item-actions-row {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 12px 2% 4px;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 6px 2% 2px;
    margin-top: 10px;
    margin-bottom: 10px;;
  }
  .footer-section, .footer-logo-section {
    align-items: center;
    text-align: center;
  }
  .footer-row-mobile {
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: center;
    width: 100%;
  }
  .footer-main-group {
    margin-bottom: 0;
    margin-top: 0;
    flex: 1 1 0;
  }
  .footer-contact {
    margin-top: 8px;
  }
  .footer-logo img {
    height: 18px;
  }
  .footer-desc {
    font-size: 12px;
    text-align: center;
  }
  .footer-title {
    font-size: 13px;
    text-align: center;
  }
  .footer-section li a {
    font-size: 12px;
  }
  .footer-bottom {
    padding: 4px 2% 2px;
  }
  .footer-copyright p {
    font-size: 10px;
  }
}

.footer-row-mobile {
  display: none;
}
.footer-desktop-only {
  display: block;
}
@media (max-width: 900px) {
  .footer-row-mobile {
    display: flex;
    flex-direction: row;
    gap: 24px;
    width: 100%;
    justify-content: space-between;
    margin-top: 26px;
  }
  .footer-desktop-only {
    display: none;
  }
}

.footer-contact {
    align-items: flex-start;
    text-align: left;
}

/* CSS классы для inline стилей из base.html */

/* Стили для body */
body {
    opacity: 1;
}

/* Стили для header */
.header {
    opacity: 1;
}

/* Стили для footer */
footer {
    opacity: 1;
}

/* Стили для навигации */
.nav-item-help {
}

/* Стили для ссылки корзины в десктопной версии */
.cart-link-desktop {
    margin-right: 15px;
    position: relative;
    display: inline-block;
}

/* Стили для счетчика корзины */
.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: #fff;
    border-radius: 8px;
    font-size: 10px;
    padding: 1px 4px;
    min-width: 16px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    border: 1px solid #fff;
    font-family: Arial, sans-serif;
    line-height: 1;
}

/* Стили для кнопки входа */
.login-button-link {
    text-decoration: none;
    color: white;
}

/* Стили для ссылки корзины в мобильной версии */
.cart-link-mobile {
    position: relative;
    display: inline-block;
}

/* Стили для счетчика корзины в мобильной версии */
.cart-count-mobile {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ff4757;
    color: #fff;
    border-radius: 6px;
    font-size: 9px;
    padding: 1px 3px;
    min-width: 14px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    border: 1px solid #fff;
    font-family: Arial, sans-serif;
    line-height: 1;
}

/* Уменьшенный счетчик корзины для мобильной версии */
@media (max-width: 768px) {
    .cart-count-mobile {
        top: -4px;
        right: -4px;
        border-radius: 4px;
        font-size: 8px;
        padding: 1px 2px;
        min-width: 12px;
        border: 0.5px solid #fff;
    }
}

/* Стили для Yandex Metrika */
.ym-noscript {
    position: absolute;
    left: -9999px;
}

/* Стили для нижней карусели */
.train-bottom {
    margin-top: 80px;
    text-align: center;
    font-family: TTFirsNeue-Medium;
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: rgb(129, 248, 138);
    padding: 0 1px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    line-height: 0.1;
    padding-bottom: 13px;
}

.news-carousel-bottom {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin: 20px auto;
    overflow: hidden;
    height: 350px;
    width: 1200px;
    max-width: 1200px;
    position: relative;
    box-sizing: border-box;
}

.news-container-bottom {
    display: flex;
    gap: 100px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.news-container-bottom::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.news-container-bottom:active {
    cursor: grabbing;
}

/* Стили для перетаскивания */
.news-container-bottom.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.news-slide-bottom {
    min-width: 300px;
    width: 300px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}



.news-slide-bottom img {
    width: 100%;
    height: 100%;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}


.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.3) 70%,
        rgba(0, 0, 0, 0.7) 85%,
        rgba(0, 0, 0, 0.9) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    pointer-events: none; /* Позволяет кликам проходить через оверлей */
}

.news-slide-bottom:hover {
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.news-slide-bottom:hover .slide-overlay {
    opacity: 1;
}

.slide-content {
    width: 100%;
    color: white;
    text-align: left;
    pointer-events: auto; /* Восстанавливает клики для контента */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
}

.slide-title {
    font-family: 'TTFirsNeue-DemiBold';
    font-size: 20px;
    font-weight: normal;
    margin: 0 0 8px 0;
}

.slide-info {
    font-family: 'TTFirsNeue-Regular', sans-serif;
    font-size: 13px;
    margin: 0 0 15px 0;

}

.slide-button {
    font-family: 'TTFirsNeue-Regular', sans-serif;
    background: #ff9f3a;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 176, 92, 0.3);
    width: 100%; /* Ширина на всю доступность без отступов */
    margin: 0; /* Без отступов */
    box-sizing: border-box;
}

.slide-button:hover {
    background: #ffb05c;
    box-shadow: 0 6px 20px rgba(255, 176, 92, 0.4);
}

.slide-button:active {
    box-shadow: 0 2px 10px rgba(255, 176, 92, 0.3);
}

/* Кнопки навигации для нижней карусели */
.carousel-navigation-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.nav-button-bottom {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 1px solid #000;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: #000;
    transition: all 0.3s ease;
}

.nav-button-bottom:hover {
    background-color: #000;
    color: white;
}

.nav-button-bottom:active {
    transform: scale(0.95);
}

.carousel-counter-bottom {
    font-family: TTFirsNeue-Regular;
    font-size: 16px;
    color: #666;
    margin: 0 10px;
}

/* Адаптивность для нижней карусели */
@media (min-width: 1201px) {
    .news-carousel-bottom {
        width: 1200px;
        max-width: 1200px;
        overflow: hidden;
    }
}

@media (max-width: 1200px) {
    .train-bottom {
        font-size: 36px;
        padding-bottom: 12px;
    }
    .news-slide-bottom {
        width: 280px;
        height: 280px;
    }
    .slide-title {
        font-family: 'TTFirsNeue-DemiBold';
        font-size: 18px;
    }
    .slide-info {
        font-family: 'TTFirsNeue-Regular', sans-serif;
        font-size: 12px;
    }
    .slide-button {
        font-family: 'TTFirsNeue-Regular', sans-serif;
        padding: 9px 18px;
        font-size: 13px;
        width: 100%;
        margin: 0;
    }
    .news-container-bottom {
        width: 1750px; /* 5 слайдов * 350px */
    }
    .news-carousel-bottom {
        border-radius: 18px;
        padding: 25px;
        overflow: hidden;
        width: 1050px; /* 3 слайда */
        max-width: 1050px;
    }
}

@media (max-width: 992px) {
    .train-bottom {
        font-size: 32px;
        padding-bottom: 11px;
    }
    .news-slide-bottom {
        width: 260px;
        height: 260px;
    }
    .slide-title {
        font-family: 'TTFirsNeue-DemiBold';
        font-size: 16px;
    }
    .slide-info {
        font-family: 'TTFirsNeue-Regular', sans-serif;
        font-size: 12px;
    }
    .slide-button {
        font-family: 'TTFirsNeue-Regular', sans-serif;
        padding: 8px 16px;
        font-size: 12px;
        width: 100%;
        margin: 0;
    }
    .news-container-bottom {
        width: 1600px; /* 5 слайдов * 320px */
    }
    .news-carousel-bottom {
        border-radius: 16px;
        padding: 22px;
        overflow: hidden;
        width: 960px; /* 3 слайда */
        max-width: 960px;
    }
}

@media (max-width: 768px) {
    .train-bottom {
        font-size: 28px;
        padding-bottom: 10px;
        margin-top: 60px;
    }
    .news-slide-bottom {
        width: 220px;
        height: 220px;
        border-radius: 10px;
    }
    .slide-overlay {
        background: linear-gradient(
            to bottom,
            transparent 0%,
            transparent 40%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.6) 70%,
            rgba(0, 0, 0, 0.8) 100%
        );
    }
    .slide-title {
        font-family: 'TTFirsNeue-DemiBold';
        font-size: 14px;
        margin: 0 0 5px 0; /* Уменьшено с 8px до 5px */
    }
    .slide-info {
        font-family: 'TTFirsNeue-Regular', sans-serif;
        font-size: 10px;
        margin: 0 0 10px 0; /* Уменьшено с 15px до 10px */
    }
    .slide-button {
        font-family: 'TTFirsNeue-Regular', sans-serif;
        padding: 7px 14px;
        font-size: 11px;
        width: 100%;
        margin: 0;
    }
    .news-container-bottom {
        width: 1500px; /* 5 слайдов * 300px */
        justify-content: flex-start; /* Выравнивание по левому краю */
    }
    .news-carousel-bottom {
        border-radius: 14px;
        padding: 18px;
        margin: 20px auto;
        overflow: hidden;
        width: calc(100vw - 40px); /* Адаптивная ширина */
        max-width: calc(100vw - 40px);
        position: relative; /* Для правильного позиционирования */
    }

    .nav-button-bottom {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    .carousel-counter-bottom {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .train-bottom {
        font-size: 24px;
        padding-bottom: 9px;
    }
    .news-slide-bottom {
        width: 200px;
        height: 200px;
        border-radius: 8px;
    }
    .slide-overlay {
        background: linear-gradient(
            to bottom,
            transparent 0%,
            transparent 35%,
            rgba(0, 0, 0, 0.35) 45%,
            rgba(0, 0, 0, 0.65) 65%,
            rgba(0, 0, 0, 0.8) 100%
        );
    }
    .slide-title {
        font-family: 'TTFirsNeue-DemiBold';
        font-size: 12px;
        margin: 0 0 4px 0; /* Уменьшено с 8px до 4px */
    }
    .slide-info {
        font-family: 'TTFirsNeue-Regular', sans-serif;
        font-size: 9px;
        margin: 0 0 8px 0; /* Уменьшено с 15px до 8px */
    }
    .slide-button {
        font-family: 'TTFirsNeue-Regular', sans-serif;
        padding: 6px 12px;
        font-size: 10px;
        width: 100%;
        margin: 0;
    }
    .news-container-bottom {
        width: 1300px; /* 5 слайдов * 260px */
    }
    .news-carousel-bottom {
        border-radius: 12px;
        padding: 15px;
        margin: 15px auto;
        overflow: hidden;
        width: calc(100vw - 40px); /* Адаптивная ширина */
        max-width: calc(100vw - 40px);
    }

    .nav-button-bottom {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    .carousel-counter-bottom {
        font-size: 12px;
    }
}

@media (max-width: 440px) {
    .train-bottom {
        font-size: 20px;
        padding-bottom: 8px;
        margin-top: 60px; /* Увеличено для большего расстояния */
    }
    .news-slide-bottom {
        width: 160px;
        height: 160px;
        border-radius: 6px;
    }
    .slide-overlay {
        background: linear-gradient(
            to bottom,
            transparent 0%,
            transparent 30%,
            rgba(0, 0, 0, 0.4) 40%,
            rgba(0, 0, 0, 0.7) 60%,
            rgba(0, 0, 0, 0.85) 100%
        );
    }
    
    .slide-title {
        font-family: 'TTFirsNeue-DemiBold';
        font-size: 10px;
        margin: 0 0 3px 0; /* Уменьшено с 8px до 3px */
    }
    .slide-info {
        font-family: 'TTFirsNeue-Regular', sans-serif;
        font-size: 9px;
        margin: 0 0 6px 0; /* Уменьшено с 15px до 6px */
    }
    .slide-button {
        font-family: 'TTFirsNeue-Regular', sans-serif;
        padding: 5px 10px;
        font-size: 9px;
        width: 100%;
        margin: 0;
    }
    .news-container-bottom {
        width: 1000px; /* 5 слайдов * 200px */
    }
    .news-carousel-bottom {
        border-radius: 10px;
        padding: 12px;
        margin: 12px auto;
        overflow: hidden;
        width: calc(100vw - 40px); /* Адаптивная ширина */
        max-width: calc(100vw - 40px);
    }

    .nav-button-bottom {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
    .carousel-counter-bottom {
        font-size: 10px;
    }
}

/* ===== СТИЛИ ДЛЯ РАЗДЕЛА ОТЗЫВОВ ===== */

.train-reviews {
    margin-top: 80px;
    text-align: center;
    font-family: TTFirsNeue-Medium;
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: rgb(255, 176, 92);
    padding: 0 1px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    line-height: 0.1;
    padding-bottom: 13px;
}

.reviews-carousel {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin: 20px auto;
    overflow: hidden;
    width: 1200px;
    max-width: 1200px;
    position: relative;
    box-sizing: border-box;
}

.reviews-scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    touch-action: pan-x; /* Разрешаем только горизонтальную прокрутку */
    cursor: grab;
    width: 100%;
}

/* Курсор grab только на ПК (ширина больше 768px) */
@media (min-width: 769px) {
    .reviews-scroll-container {
        cursor: grab;
    }
    
    .reviews-scroll-container:hover {
        cursor: grab;
    }
}

.reviews-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Курсор grabbing только на ПК (ширина больше 768px) */
@media (min-width: 769px) {
    .reviews-scroll-container:active {
        cursor: grabbing;
    }
    
    .reviews-scroll-container.active {
        cursor: grabbing;
    }
}

/* Стили для перетаскивания */
.reviews-scroll-container.dragging,
.reviews-scroll-container.active {
    cursor: grabbing;
    scroll-behavior: auto;
}

/* Предотвращаем выделение текста во время перетаскивания */
.reviews-scroll-container.dragging * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Защита изображений от копирования и перетаскивания */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

/* Разрешаем pointer-events для интерактивных изображений */
img[onclick], 
img[data-clickable="true"],
img.button,
img.link {
    pointer-events: auto;
}

/* Дополнительная защита для изображений в каруселях */
.news-slide img,
.review-card img,
.carousel img,
.slider img {
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    user-drag: none !important;
    -webkit-user-select: none !important;
    -khtml-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    pointer-events: none !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Защита от выделения текста на изображениях */
img::selection,
img::-moz-selection {
    background: transparent;
}



.review-card {
    min-width: 300px;
    width: 300px;
    min-height: 200px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    background: white;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.review-card:last-child {
    margin-right: 0;
}

.expand-btn {
    background: none;
    border: none;
    color: #ff8c42;
    font-size: 14px;
    font-family: "TTFirsNeue-Medium", sans-serif;
    cursor: pointer;
    margin: 0;
    text-align: left;
    transition: color 0.2s ease;
    width: 100%;
    display: block;
    margin-top: 4px;
    line-height: 1.2;
    padding: 0;
}

.expand-btn:hover {
    color: #e67e22;
    text-decoration: underline;
}

/* Адаптивные стили для кнопки "Смотреть полностью" */
@media (max-width: 768px) {
    .expand-btn {
        font-size: 12px;
        padding: 6px 0 0 0;
    }
    
    /* Стили для развернутых отзывов на планшетах */
    .review-text:not(.truncated) + .expand-btn {
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .expand-btn {
        font-size: 10px;
        padding: 4px 0 0 0;
    }
    
    /* Стили для развернутых отзывов на мобильных */
    .review-text:not(.truncated) + .expand-btn {
        margin-top: 6px;
    }
}

@media (max-width: 360px) {
    .expand-btn {
        font-size: 12px;
        padding: 3px 0 0 0;
    }
    
    /* Стили для развернутых отзывов на очень маленьких экранах */
    .review-text:not(.truncated) + .expand-btn {
        margin-top: 4px;
    }
}

/* Адаптивные стили для ограничения по строкам */
@media (max-width: 768px) {
    .review-text.truncated {
        -webkit-line-clamp: 2; /* 2 строки на планшетах */
        line-clamp: 2;
    }
    
    /* Полный текст отзыва на планшетах */
    .review-text:not(.truncated) {
        -webkit-line-clamp: none;
        line-clamp: none;
        display: block;
        max-height: none;
    }
}

@media (max-width: 480px) {
    .review-text.truncated {
        -webkit-line-clamp: 2; /* 2 строки на мобильных */
        line-clamp: 2;
    }
    
    /* Полный текст отзыва на мобильных */
    .review-text:not(.truncated) {
        -webkit-line-clamp: none;
        line-clamp: none;
        display: block;
        max-height: none;
    }
}

.review-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    min-width: 300px;
    width: 300px;
    flex-shrink: 0;
    position: relative;
    box-sizing: border-box;
}

/* Убираем hover-эффекты для карточек отзывов */

/* Стили для развернутых карточек отзывов */
.review-card.expanded {
    height: auto;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #ff8c42;
}

.avatar-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff8c42, #ffb05c);
    color: white;
    font-family: TTFirsNeue-DemiBold;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.review-info {
    flex: 1;
}

.review-name {
    font-family: TTFirsNeue-DemiBold;
    font-size: 18px;
    color: #111;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.review-rating {
    display: flex;
    gap: 2px;
}

.star {
    color: #ff8c42;
    font-size: 16px;
    line-height: 1;
}

.review-content {
    flex: 1;
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
}

.review-text {
    font-family: TTFirsNeue-Regular;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
    font-style: italic;
}

/* Ограничение текста по количеству строк (3 строки) */
.review-text.truncated {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.5em * 3); /* 3 строки с учетом line-height */
    position: relative;
    margin-bottom: 0; /* Убираем отступ снизу для корректного позиционирования кнопки */
}

/* Кнопки навигации для отзывов */
.reviews-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.reviews-nav-button {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 1px solid #000;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: #000;
    transition: all 0.3s ease;
}

.reviews-nav-button:hover {
    background-color: #ff8c42;
    color: white;
    border-color: #ff8c42;
}

.reviews-nav-button:active {
    transform: scale(0.95);
}

.reviews-counter {
    font-family: TTFirsNeue-Regular;
    font-size: 16px;
    color: #666;
    margin: 0 10px;
}

/* Адаптивность для отзывов */
@media (min-width: 1201px) {
    .reviews-carousel {
        width: 1200px;
        max-width: 1200px;
        overflow: hidden;
    }
}

@media (max-width: 1200px) {
    .train-reviews {
        font-size: 36px;
        padding-bottom: 12px;
    }
    .review-slide {
        width: 350px;
        height: 280px;
        margin-right: 20px;
    }
    .review-slide:last-child {
        margin-right: 0;
    }
    .review-card {
        padding: 18px;
    }
    .review-name {
        font-size: 16px;
    }
    .review-text {
        font-size: 13px;
    }
    .reviews-container {
        width: 1750px; /* 5 слайдов * 350px */
    }
    .reviews-carousel {
        border-radius: 18px;
        padding: 25px;
        overflow: hidden;
        width: 1050px; /* 3 слайда */
        max-width: 1050px;
    }
}

@media (max-width: 992px) {
    .train-reviews {
        font-size: 32px;
        padding-bottom: 11px;
    }
    .review-slide {
        width: 320px;
        height: 260px;
        margin-right: 20px;
    }
    .review-slide:last-child {
        margin-right: 0;
    }
    .review-card {
        padding: 16px;
    }
    .review-name {
        font-size: 15px;
    }
    .review-text {
        font-size: 12px;
    }
    .reviews-container {
        width: 1600px; /* 5 слайдов * 320px */
    }
    .reviews-carousel {
        border-radius: 16px;
        padding: 22px;
        overflow: hidden;
        width: 960px; /* 3 слайда */
        max-width: 960px;
    }
}

@media (max-width: 768px) {
    .train-reviews {
        font-size: 28px;
        padding-bottom: 10px;
        margin-top: 60px;
    }
    .review-slide {
        width: 300px;
        height: 240px;
        border-radius: 10px;
        margin-right: 20px;
    }
    .review-slide:last-child {
        margin-right: 0;
    }
    .review-card {
        padding: 15px;
        border-radius: 10px;
    }
    .review-header {
        margin-bottom: 12px;
        gap: 12px;
    }
    .review-avatar {
        width: 40px;
        height: 40px;
    }
    .avatar-initials {
        font-size: 14px;
    }
    .review-name {
        font-size: 14px;
    }
    .review-text {
        font-size: 11px;
    }
    .reviews-container {
        width: 1500px; /* 5 слайдов * 300px */
        justify-content: flex-start;
    }
    .reviews-carousel {
        border-radius: 14px;
        padding: 18px;
        margin: 20px auto;
        overflow: hidden;
        width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
        position: relative;
    }

    .reviews-nav-button {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    .reviews-counter {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .train-reviews {
        font-size: 24px;
        padding-bottom: 9px;
    }
    .review-slide {
        width: 260px;
        height: 220px;
        border-radius: 8px;
        margin-right: 20px;
    }
    .review-slide:last-child {
        margin-right: 0;
    }
    .review-card {
        padding: 12px;
        border-radius: 8px;
    }
    .review-header {
        margin-bottom: 10px;
        gap: 10px;
    }
    .review-avatar {
        width: 35px;
        height: 35px;
    }
    .avatar-initials {
        font-size: 12px;
    }
    .review-name {
        font-size: 13px;
    }
    .review-text {
        font-size: 10px;
    }
    .reviews-container {
        width: 1300px; /* 5 слайдов * 260px */
    }
    .reviews-carousel {
        border-radius: 12px;
        padding: 15px;
        margin: 15px auto;
        overflow: hidden;
        width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
    }

    .reviews-nav-button {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    .reviews-counter {
        font-size: 12px;
    }
}

@media (max-width: 440px) {
    .train-reviews {
        font-size: 20px;
        padding-bottom: 8px;
        margin-top: 60px;
    }
    .review-slide {
        width: 200px;
        height: 200px;
        border-radius: 6px;
        margin-right: 20px;
    }
    .review-slide:last-child {
        margin-right: 0;
    }
    .review-card {
        padding: 10px;
        border-radius: 6px;
    }
    .review-header {
        margin-bottom: 8px;
        gap: 8px;
    }
    .review-avatar {
        width: 30px;
        height: 30px;
    }
    .avatar-initials {
        font-size: 10px;
    }
    .review-name {
        font-size: 12px;
    }
    .review-text {
        font-size: 9px;
    }
    .reviews-container {
        width: 1000px; /* 5 слайдов * 200px */
    }
    .reviews-carousel {
        border-radius: 10px;
        padding: 12px;
        margin: 12px auto;
        overflow: hidden;
        width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
    }

    .reviews-nav-button {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
    .reviews-counter {
        font-size: 10px;
    }
}

/* ===== СТИЛИ ДЛЯ БЕСКОНЕЧНОЙ КАРУСЕЛИ НОВОСТЕЙ ===== */

:root {
    --news-gap: 16px;
    --news-card-w: 320px;
    --news-rail-h: 300px;
    --news-radius: 14px;
}

.news-carousel {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0;
    user-select: none;
}

.news-rail {
    display: flex;
    align-items: stretch;
    gap: var(--news-gap);
    overflow: auto hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 8px 56px; /* место под кнопки */
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.news-rail::-webkit-scrollbar {
    display: none;
}

.news-rail {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.news-slide {
    flex: 0 0 var(--news-card-w);
    scroll-snap-align: start;
    border: none;
    border-radius: var(--news-radius);
    overflow: hidden;
    height: var(--news-rail-h);
    min-height: var(--news-rail-h);
    max-height: var(--news-rail-h);
    display: flex;
    flex-direction: column;
    transition: transform 0.12s ease;
    text-decoration: none;
    color: inherit;
}

.news-slide:hover {
    transform: none;
}

.news-slide img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}


/* Адаптивные стили для мобильной версии */
@media (max-width: 768px) {
    .news-carousel {
        height: auto;
        min-height: 200px;
    }
    
    .news-rail {
        height: 100%;
        align-items: stretch;
    }
    
    .news-slide {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        height: auto;
        min-height: 200px;
        margin: 0;
        flex: 0 0 100%;
    }
    
    .news-slide.active {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        height: auto;
        min-height: 200px;
        flex: 0 0 100%;
    }
    
    .news-slide.prev {
        transform: none;
    }
    
    .news-slide.next {
        transform: none;
    }
    
    /* Улучшенное отображение изображений на планшетах */
    .news-slide img {
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center;
        display: block;
        min-height: unset;
    }
    
}

@media (max-width: 1024px) and (min-width: 769px) {
    .news-carousel {
        height: 250px;
    }
    
    .news-slide {
        width: 600px;
        height: 100%;
        margin: 0;
    }
    
    .news-slide.active {
        width: 600px;
        height: 100%;
    }
    
    .news-slide.prev {
        transform: none;
    }
    
    .news-slide.next {
        transform: none;
    }
    
}

.news-slide img {
    width: 100%;
    height: var(--news-rail-h);
    min-height: var(--news-rail-h);
    max-height: var(--news-rail-h);
    object-fit: cover;
    border-radius: 15px;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* Стили для overlay новостей */
.news-slide {
    position: relative;
    cursor: pointer;
}

.news-slide .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    max-height: var(--news-rail-h);
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 40%,
        rgba(0, 0, 0, 0.7) 60%,
        rgba(0, 0, 0, 0.85) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
    box-sizing: border-box;
}

.news-slide:hover .slide-overlay {
    opacity: 1;
}

.news-slide .slide-content {
    width: 100%;
    color: white;
    text-align: left;
    pointer-events: auto; /* Восстанавливает клики для контента */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
}

.news-slide .slide-title {
    font-family: 'TTFirsNeue-DemiBold';
    font-size: 20px;
    font-weight: normal;
    margin: 0 0 8px 0;
}

.news-slide .slide-info {
    font-family: 'TTFirsNeue-Regular', sans-serif;
    font-size: 13px;
    margin: 0 0 15px 0;
}

.news-slide .slide-button {
    font-family: 'TTFirsNeue-Regular', sans-serif;
    background: #ff9f3a;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 176, 92, 0.3);
    width: 100%; /* Ширина на всю доступность без отступов */
    margin: 0; /* Без отступов */
    box-sizing: border-box;
}

.news-slide .slide-button:hover {
    background: #ffb05c;
    box-shadow: 0 6px 20px rgba(255, 176, 92, 0.4);
}

.news-slide .slide-button:active {
    box-shadow: 0 2px 10px rgba(255, 176, 92, 0.3);
}

/* Адаптивные стили для overlay новостей */
@media (max-width: 768px) {
    .news-slide .slide-overlay {
        padding: 15px;
        height: 100%;
        max-height: 200px; /* Высота карусели на мобильных */
    }
    
    .news-slide .slide-title {
        font-size: 14px;
        margin: 0 0 5px 0;
    }
    
    .news-slide .slide-info {
        font-size: 10px;
        margin: 0 0 10px 0;
    }
    
    .news-slide .slide-button {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    /* На мобильных устройствах overlay показывается только при клике */
    .news-slide .slide-overlay {
        opacity: 0;
    }
    
    .news-slide.active .slide-overlay {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .news-slide .slide-overlay {
        padding: 12px;
        height: 100%;
        max-height: 180px; /* Высота карусели на мобильных */
    }
    
    .news-slide .slide-title {
        font-size: 12px;
        margin: 0 0 4px 0;
    }
    
    .news-slide .slide-info {
        font-size: 9px;
        margin: 0 0 8px 0;
    }
    
    .news-slide .slide-button {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    /* Дополнительные стили для news-slide на очень маленьких экранах */
    .news-carousel {
        height: auto;
        min-height: 180px;
    }
    
    .news-rail {
        height: 100%;
        align-items: stretch;
    }
    
    .news-slide {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        height: auto;
        min-height: 180px;
        flex: 0 0 100%;
    }
    
    .news-slide.active {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        height: auto;
        min-height: 180px;
        flex: 0 0 100%;
    }
    
    /* Улучшенное отображение изображений на мобильных */
    .news-slide img {
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center;
        display: block;
        min-height: unset;
    }
    
    /* На очень маленьких экранах overlay показывается только при клике */
    .news-slide .slide-overlay {
        opacity: 0;
    }
    
    .news-slide.active .slide-overlay {
        opacity: 1;
    }
}



/* Кнопки навигации */
.news-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid #2a3240;
    background: #12161b;
    color: #e7ecf2;
    border-radius: 10px;
    cursor: pointer;
    z-index: 2;
    font-size: 20px;
    font-weight: bold;
}

.news-btn[disabled] {
    opacity: 0.5;
    cursor: default;
}

.news-btn-prev {
    left: 8px;
}

.news-btn-next {
    right: 8px;
}

/* Адаптивные стили для кнопок */
@media (max-width: 420px) {
    :root {
        --news-card-w: 80vw;
    }
}

.news-clone {
    opacity: 0.7;
}

.news-slide.active {
    opacity: 1;
}

.news-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.news-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.news-dot.active {
    background-color: #000;
}

@media (max-width: 1200px) {
    .news-dots {
        gap: 8px;
        margin-top: 15px;
    }
    .news-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 992px) {
    .news-dots {
        gap: 7px;
        margin-top: 12px;
    }
    .news-dot {
        width: 9px;
        height: 9px;
    }
}

@media (max-width: 768px) {
    .news-dots {
        gap: 6px;
        margin-top: 10px;
    }
    .news-dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 576px) {
    .news-dots {
        gap: 5px;
        margin-top: 8px;
    }
    .news-dot {
        width: 7px;
        height: 7px;
    }
}

@media (max-width: 440px) {
    .news-dots {
        gap: 4px;
        margin-top: 6px;
    }
    .news-dot {
        width: 6px;
        height: 6px;
    }
}

/* ===== СТИЛИ ДЛЯ УВЕДОМЛЕНИЙ DJANGO ===== */


.alert {
    padding: var(--space-4) var(--space-5);
    margin: var(--space-2) 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    max-width: 100%;
    word-wrap: break-word;
    position: relative;
    animation: slideInRight 0.3s ease-out;
    font-family: var(--font-family);
    font-size: var(--fs-meta);
    line-height: var(--lh-base);
    border-left: 4px solid;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.alert::before {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}




.alert-success::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2328a745' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.061L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z'/%3E%3C/svg%3E");
}


.alert-warning::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffc107' viewBox='0 0 16 16'%3E%3Cpath d='M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z'/%3E%3C/svg%3E");
}


.alert-info::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2317a2b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3Cpath d='m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0z'/%3E%3C/svg%3E");
}

/* Анимации */
@keyframes slideInRight {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-10px);
        opacity: 0;
    }
}

.alert.fade-out {
    animation: slideOutRight 0.3s ease-in forwards;
}



.error-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.error-text {
    flex: 1;
    line-height: 1.4;
    font-family: TTFirsNeue-Regular;
    font-size: 14px;
}

@keyframes slideInDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Дополнительные стили для улучшения дизайна */
.message-text {
    font-family: TTFirsNeue-Regular;
    font-size: 14px;
    line-height: 1.4;
}

/* Улучшенные стили для уведомлений с учетом дизайна сайта */
.alert {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Специальные стили для ошибок входа с учетом цветовой схемы сайта */
.login-error-message {
    background: #555555;
    color: #ffffff;
    padding: var(--space-3) var(--space-4);
    margin: var(--space-2) 0;
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-family-light);
    font-size: var(--fs-meta);
    line-height: var(--lh-base);
    animation: slideInDown 0.3s ease-out;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(5px);
}

/* Дополнительные стили для улучшения дизайна уведомлений */

.alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border-left-color: #28a745;
    border: 1px solid #c3e6cb;
    font-family: TTFirsNeue-Regular;
    backdrop-filter: blur(5px);
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
    border-left-color: #ffc107;
    border: 1px solid #ffeaa7;
    font-family: TTFirsNeue-Regular;
    backdrop-filter: blur(5px);
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    color: #0c5460;
    border-left-color: #17a2b8;
    border: 1px solid #bee5eb;
    font-family: TTFirsNeue-Regular;
    backdrop-filter: blur(5px);
}

/* Стили для уведомлений */
.message-notification {
    position: fixed;
    top: 100px;
    right: 30px;
    padding: 16px 20px;
    margin: 8px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 100%;
    word-wrap: break-word;
    position: relative;
    animation: slideInRight 0.3s ease-out;
    font-family: TTFirsNeue-Regular;
    font-size: 14px;
    line-height: 1.4;
    border-left: 4px solid #ff8c42;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f5f5f5;
    color: #333;
    border: 1px solid #e0e0e0;
    backdrop-filter: blur(5px);
}

/* Стили для кнопки закрытия с улучшенным дизайном */
.message-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    font-family: TTFirsNeue-Regular;
}

.message-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

/* Адаптивность */
@media (max-width: 768px) {
    
    .message-notification {
        font-size: 13px;
        padding: 12px 16px;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .message-notification {
        top: 80px;
    }
}

@media (max-width: 480px) {
    .message-notification {
        top: 75px;
    }
    
    .message-text {
        font-size: 13px;
    }
    
    .login-error-message {
        gap: 12px;
        font-size: 13px;
        padding: 10px 14px;
    }
    
    .error-text {
        font-size: 12px;
    }
}

/* Темная тема (если понадобится) */
@media (prefers-color-scheme: dark) {
    
    .alert-success {
        background: linear-gradient(135deg, #1b2d1b, #223d22);
        color: #d4edda;
        border-left-color: #28a745;
        border-color: #223d22;
        font-family: TTFirsNeue-Regular;
    }
    
    .alert-warning {
        background: linear-gradient(135deg, #2d2a1b, #3d3522);
        color: #fff3cd;
        border-left-color: #ffc107;
        border-color: #3d3522;
        font-family: TTFirsNeue-Regular;
    }
    
    .alert-info {
        background: linear-gradient(135deg, #1b2a2d, #22353d);
        color: #d1ecf1;
        border-left-color: #17a2b8;
        border-color: #22353d;
        font-family: TTFirsNeue-Regular;
    }
    
    .login-error-message {
        background: #555555 !important;
        color: #ffffff !important;
        border-left-color: #ff8c42 !important;
        font-family: TTFirsNeue-Light !important;
    }
}

/* ===== СТИЛИ ДЛЯ ОНЛАЙН ОПЛАТЫ ===== */

/* Стили для кнопки онлайн оплаты */
.method-card.online-payment {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: 2px solid #4CAF50;
    position: relative;
    overflow: hidden;
}

.method-card.online-payment:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.online-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-family: TTFirsNeue-Regular;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* Стили для секции онлайн оплаты */
.online-payment-info {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px solid #4CAF50;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
}

.payment-amount-display {
    margin-bottom: 20px;
}

.payment-amount-display h4 {
    font-family: TTFirsNeue-DemiBold;
    font-size: 24px;
    color: #333;
    margin: 0;
}

.online-payment-description {
    margin-bottom: 24px;
}

.online-payment-description p {
    font-family: TTFirsNeue-Regular;
    font-size: 16px;
    color: #666;
    margin: 8px 0;
    line-height: 1.5;
}

/* Стили для кнопки "Перейти к оплате" */
.online-pay-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 16px 32px;
    font-family: TTFirsNeue-DemiBold;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto;
    min-width: 200px;
}

.online-pay-btn:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.online-pay-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
}

.online-pay-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* Индикатор загрузки */
.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Адаптивность для онлайн оплаты */
@media (max-width: 768px) {
    .online-payment-info {
        padding: 20px;
        border-radius: 10px;
    }
    
    .payment-amount-display h4 {
        font-size: 20px;
    }
    
    .online-payment-description p {
        font-size: 14px;
    }
    
    .online-pay-btn {
        padding: 14px 28px;
        font-size: 16px;
        min-width: 180px;
    }
    
    .online-badge {
        font-size: 9px;
        padding: 3px 6px;
    }
}

@media (max-width: 576px) {
    .online-payment-info {
        padding: 16px;
        border-radius: 8px;
    }
    
    .payment-amount-display h4 {
        font-size: 18px;
    }
    
    .online-payment-description p {
        font-size: 13px;
    }
    
    .online-pay-btn {
        padding: 12px 24px;
        font-size: 14px;
        min-width: 160px;
    }
    
    .btn-icon {
        width: 18px;
        height: 18px;
    }
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 480px) {
    .header {
        padding: 12px 15px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        width: 100%;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    body {
    }
    
    .main {
        padding-top: 70px; /* Отступ для фиксированного хедера на очень маленьких экранах */
    }
    
    .logo_1{
        max-width: 120px;
        height: auto;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: pixelated;
        image-rendering: high-quality;
    }
    
    .header__logo{
        display: flex;
        align-items: center;
    }
    
    .nav-menu {
        right: 15px;
        width: 150px;
        top: 65px;
        padding: 12px 0 12px 12px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .nav-item {
        width: 90px;
        padding: 10px 12px 10px 0;
        margin: 0;
        white-space: nowrap;
    }
    
    .nav-item a {
        font-size: 12px;
        white-space: nowrap;
    }
}

/* ===== АДАПТИВНЫЕ СТИЛИ ДЛЯ LEAK-FEATURE ===== */

/* Планшеты */
@media (max-width: 992px) {
    .leak-feature {
        border-radius: 8px !important;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .leak-feature {
        font-size: 8px !important;
        padding: 0.3rem !important;
        gap: 0.3rem !important;
        border-radius: 6px !important;
    }
    
    .leak-feature .feature-text {
        font-size: 8px !important;
        font-family: var(--font-family) !important;
        font-weight: 500 !important;
        line-height: var(--lh-base) !important;
    }
    
    .leak-feature .feature-icon {
        width: 12px !important;
        height: 12px !important;
    }
    
    .leak-feature span {
        font-size: 8px !important;
    }
}

/* Маленькие мобильные устройства */
@media (max-width: 576px) {
    .leak-feature {
        border-radius: 4px !important;
        padding: 0.25rem !important;
        gap: 0.25rem !important;
    }
}

/* Очень маленькие экраны */
@media (max-width: 440px) {
    .leak-feature {
        border-radius: 3px !important;
        padding: 0.2rem !important;
        gap: 0.2rem !important;
    }
}

/* Комплексная мобильная адаптация */
@media (max-width: 768px) {
    /* Основные контейнеры */
    .cont {
        width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
        margin: 20px auto;
        padding: 0 10px;
        gap: 20px;
    }
    
    .article-section {
        width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
        margin: 10px auto;
        padding: 12px 8px;
    }
    
    .news-carousel {
        width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
        margin: 10px auto;
        padding: 0;
    }
    
    .reviews-carousel {
        width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
        margin: 10px auto;
        padding: 12px;
    }
    
    .news-carousel-bottom {
        width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
        margin: 10px auto;
        padding: 12px;
    }
    
    .article-container {
        width: calc(100vw - 50px);
        max-width: calc(100vw - 50px);
        margin: 10px auto;
        padding: 0 8px;
    }
    
    /* Карточки отзывов */
    .review-card {
        min-width: 260px;
        width: 260px;
        min-height: 170px;
        padding: 12px;
    }
    
    .review-text {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .review-name {
        font-size: 14px;
    }
    
    .expand-btn {
        font-size: 11px;
        padding: 5px 0 0 0;
    }
    
    /* Слайды новостей */
    .news-slide-bottom {
        min-width: 260px;
        width: 260px;
        height: 280px;
    }
    
    .slide-title {
        font-size: 12px;
    }
    
    .slide-info {
        font-size: 9px;
    }
    
    .slide-button {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    /* Заголовки */
    .train, .train1, .train2, .train3, .train-bottom, .train-reviews {
        font-size: 24px;
        margin-top: 40px;
        margin-bottom: 15px;
    }
    
    /* Кнопки */
    .button__1, .button__2, .button__3 {
        font-size: 12px;
        padding: 8px 16px;
        margin: 8px 0;
    }
    
    /* Контент статей */
    .article-content p {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .article-title {
        font-size: 16px;
        line-height: 1.3;
    }
    
    /* Аватары отзывов */
    .review-avatar {
        width: 35px;
        height: 35px;
    }
    
    .avatar-initials {
        font-size: 14px;
    }
    
    /* Звезды рейтинга */
    .star {
        font-size: 12px;
    }
    
    /* Контейнер новостей */
    .news-container-bottom {
        width: 100%;
        padding: 0;
        margin: 0;
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    /* Основные контейнеры */
    .cont {
        width: calc(100vw - 16px);
        max-width: calc(100vw - 16px);
        margin: 15px auto;
        padding: 0 8px;
        gap: 15px;
    }
    
    .article-section {
        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        margin: 8px auto;
        padding: 10px 6px;
    }
    
    .news-carousel {
        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        margin: 8px auto;
        padding: 0;
    }
    
    .reviews-carousel {
        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        margin: 8px auto;
        padding: 10px;
    }
    
    .news-carousel-bottom {
        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        margin: 8px auto;
        padding: 10px;
    }
    
    .article-container {
        width: calc(100vw - 70px);
        max-width: calc(100vw - 70px);
        margin: 8px auto;
        padding: 0 6px;
    }
    
    /* Карточки отзывов */
    .review-card {
        min-width: 240px;
        width: 240px;
        min-height: 150px;
        padding: 10px;
    }
    
    .review-text {
        font-size: 11px;
        line-height: 1.3;
    }
    
    .review-name {
        font-size: 13px;
    }
    
    .expand-btn {
        font-size: 10px;
        padding: 4px 0 0 0;
    }
    
    /* Слайды новостей */
    .news-slide-bottom {
        min-width: 240px;
        width: 240px;
        height: 260px;
    }
    
    .slide-title {
        font-size: 10px;
    }
    
    .slide-info {
        font-size: 8px;
    }
    
    .slide-button {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    /* Заголовки */
    .train, .train1, .train2, .train3, .train-bottom, .train-reviews {
        font-size: 20px;
        margin-top: 30px;
        margin-bottom: 12px;
    }
    
    /* Кнопки */
    .button__1, .button__2, .button__3 {
        font-size: 11px;
        padding: 6px 12px;
        margin: 6px 0;
    }
    
    /* Контент статей */
    .article-content p {
        font-size: 11px;
        line-height: 1.3;
    }
    
    .article-title {
        font-size: 14px;
        line-height: 1.2;
    }
    
    /* Аватары отзывов */
    .review-avatar {
        width: 30px;
        height: 30px;
    }
    
    .avatar-initials {
        font-size: 12px;
    }
    
    /* Звезды рейтинга */
    .star {
        font-size: 11px;
    }
    
    /* Контейнер новостей */
    .news-container-bottom {
        width: 100%;
        padding: 0;
        margin: 0;
    }
}

/* Основной контейнер для всех секций */
.main-content-wrapper {
    width: 1200px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Мобильная адаптация для всех контейнеров */
@media (max-width: 768px) {
    /* Основной контейнер */
    .main-content-wrapper {
        width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
    }
    
    /* Основные контейнеры с отступами от краев */
    .cont {
        width: 100%;
        max-width: 100%;
        margin: 20px 0;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    .article-section {
        width: 100%;
        max-width: 100%;
        margin: 15px 0;
        padding: 15px;
        box-sizing: border-box;
    }
    
    .news-carousel {
        width: 100%;
        max-width: 100%;
        margin: 15px 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    .reviews-carousel {
        width: 100%;
        max-width: 100%;
        margin: 15px 0;
        padding: 15px;
        box-sizing: border-box;
    }
    
    .news-carousel-bottom {
        width: 100%;
        max-width: 100%;
        margin: 15px 0;
        padding: 15px;
        box-sizing: border-box;
        height: 280px;
    }
    
    .news-container-bottom {
        width: 100%;
        height: 100%;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
    }
    
    .news-slide-bottom {
        min-width: 220px;
        width: 220px;
        height: 220px;
        box-sizing: border-box;
    }
    
    /* Адаптивные стили для баннера */
    .banner-image {
        width: 100%;
        max-width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 10px;
    }
    
}

@media (max-width: 480px) {
    /* Основной контейнер */
    .main-content-wrapper {
        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
    }
    
    /* Основные контейнеры вплотную к краям */
    .cont {
        width: 100%;
        max-width: 100%;
        margin: 15px 0;
        padding: 0 12px;
        box-sizing: border-box;
    }
    
    .article-section {
        width: 100%;
        max-width: 100%;
        margin: 12px 0;
        padding: 12px;
        box-sizing: border-box;
    }
    
    .news-carousel {
        width: 100%;
        max-width: 100%;
        margin: 12px 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    .reviews-carousel {
        width: 100%;
        max-width: 100%;
        margin: 12px 0;
        padding: 12px;
        box-sizing: border-box;
    }
    
    .news-carousel-bottom {
        width: 100%;
        max-width: 100%;
        margin: 12px 0;
        padding: 12px;
        box-sizing: border-box;
        height: 225px;
    }
    
    .news-container-bottom {
        width: 100%;
        height: 100%;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
    }
    
    .news-slide-bottom {
        min-width: 200px;
        width: 200px;
        height: 200px;
        box-sizing: border-box;
    }
    
    /* Адаптивные стили для баннера */
    .banner-image {
        width: 100%;
        max-width: 100%;
        height: 80px;
        object-fit: cover;
        border-radius: 8px;
    }
    
}


