/* ===== CSS VARIABLES ===== */
:root {
    --color-primary: #000;
    --color-secondary: #8ad510;
    --color-text: #000;
    --color-text-light: #6b6b6b; 
    --color-text-lighter: #9fa1a3;
    --color-bg: #ffffff;
    --color-bg-light: #f8f9fa;
    --color-border: #000;    
    --font-main: 'Open Sans', sans-serif;    
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;    
    --container-width: 1015px;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background: #fafafb;
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===== CONTAINER ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;   
}

/* ===== TOP BANNER ===== */

.banner-content {
    max-width: var(--container-width);
    margin: 0 auto;   
    height: 98px;
    display: flex;
    align-items: center; 
    background:#dbdfec;
    overflow: hidden;
}

/* ===== HEADER ===== */



.header {
    padding:20px 0 26px 0;
}

.header .container {
   position: relative;
}

.logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 34px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 304px;
}

.logo svg {
    color: var(--color-secondary);
    flex-shrink: 0;
}

.logo-text {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    color: var(--color-primary);
}

.logo-text strong {
    color: var(--color-secondary);
}

.logo-slogan {
    font-size: 12px;
    color: var(--color-text-lighter);
    font-weight: 400;
    white-space: nowrap;
    font-style: italic;
    margin-left: 23px;
    margin-top: 17px;
}

.search-toggle {
    position: absolute;
    right: 0;
    top:4px;
    width: 21px;
    height: 21px;
    cursor: pointer;
    transition: var(--transition-fast);
    background-image: url('../images/lupa.png');
}

.search-toggle:hover {
   opacity: 0.8;
}

/* ===== SEARCH MODAL ===== */
.search-modal {
    display: none;
    position: absolute;
    top: -142px;
     right: -31px;
    z-index: 1000;
}


.mobmenuact .search-modal {
    display: block;
    position: absolute;
    top: 90%;
    right: 0;
    z-index: 100000;
    width: 100%;
}


.search-modal.active {
    display: block;
}

.search-modal-content {
    background: white;
    width: 370px;
    padding: 25px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
}


.mobmenuact .search-modal-content {
    background: none;
    width: 100%;
    padding: 25px 30px;
    box-shadow: none;
}



.search-modal-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.search-label {
    font-size: 12px;
    font-weight: 400;
    color: #999;
    font-style: italic;
    margin-bottom: 8px;
    display: block;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    background: linear-gradient(#000, #000) bottom left / 90% 2px no-repeat;
    padding-bottom: 8px;
}

.search-modal-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: var(--font-main);
    padding: 0;
    background: transparent;
    font-style: italic;
}

.search-modal-input::placeholder {
    color: #ccc;
}

.search-modal-submit {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    transition: opacity 0.2s ease;
    width: 24px;
    height: 24px;
}

.search-modal-submit:hover {
    opacity: 0.7;
}

.search-modal-submit svg {
    width: 25px;
    height: 30px;
}

.nav-row {
    display: flex;
    align-items: start; 
    gap: 20px;
    justify-content: flex-start;
    position: relative;
    border-bottom: 2px solid #fff;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    width: 75%;
    height: 3px;
    background: var(--color-primary);
    transition: var(--transition-fast);
}

.mobile-menu-toggle span:nth-child(2) {
  width: 50%;
}

.mobile-menu-toggle span:last-child {
  width: 90%;
}


.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(40deg) translate(4px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-43deg) translate(4px, -7px);
    width: 75%;
}

.home-icon {
    width: 33px;
    height: 16px;
    display: flex;
    align-items: center;    
}

.home-icon:hover {
    color: var(--color-secondary);
}

.nav {
    display: flex;
    gap: 15px;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
    margin-left: 64px;
}

.nav-link {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text);
    position: relative;
    padding: 0 0 30px 0;
    white-space: nowrap;
    transition: color 0.3s ease;
}

/* Когда навели на всё меню — все ссылки становятся серыми */
.nav:hover .nav-link {
    color: #7f7f7f;
}

/* А та, на которую навели — снова чёрная */
.nav .nav-link:hover {
    color: #000;
}

.nav .act {
    color: #8ad510;
    font-weight: 800;
    
}

.nav a {
    position: relative;
    cursor: pointer;
}

.nav a.act::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: -10px;
    right: -15px;
    height: 2px;
    background: #8ad510;
}

.back_page {
    position: absolute;
    left:-44px;
    top:-6px;
}

.active:hover .nav-link {
   color: var(--color-text);
}

.nav.active a:hover {
    color: var(--color-secondary);
}

.social-icons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.social-icons a:hover svg {
    color:#8ad510
}

.social-link {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    color: var(--color-text);
}

.social-link:hover {
    color: var(--color-secondary);
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    padding:0 0 40px 0;
}

.slider-wrapper {
    position: relative;
    height: 608px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    color: inherit;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Уменьшили прозрачность с 0.2 до 0.1 в нижней и средней части, и до 0 в верхней */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 190px;
    margin-bottom: 93px;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.slide-date {
    font-size: 11px;
    font-weight: 600;     
    text-transform:lowercase ;
    color: white;
}

.slide-category {
    font-size: 11px;
    font-weight: 700;   
    text-transform: uppercase;
    color: white;
}

.slide-title {
    font-size: 30px;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slider-dots {
    position: absolute;
    bottom: 47px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 18px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    cursor: pointer;
}

.dot.active {
    background: white;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 27px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 10;
    transition: var(--transition);
}

.slider-arrow.prev {
    left: 32px;
    background-image: url('../images/img_15.png');

}

.slider-arrow.next {
    right: 26px;
    background-image: url('../images/img_17.png');
    width: 29px;
}

/* ===== MAIN CONTENT (2 COLUMNS) ===== */
.main-content {
    padding:0 0 30px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Left Column - 6 News Cards (2 columns grid) */
.left-column {
    display: flex;
    flex-direction: column;
}

.news-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 311px);
  gap: 40px;
  /* Указываем, чтобы грид пытался заполнить пустые места */
  grid-auto-flow: dense; 
}

/* Принудительно делаем 3-й элемент выше (например, на две строки) */
.news-grid-3col > .banner {
  grid-row: span 2;
  height: 624px; /* Заданная высота */
  background-color: #dbdfec; /* Для примера */
}

.banner img {
    width:100%
}

.news-card {
    background: transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;   
    transition: var(--transition-fast);
}

.news-card:hover {
    border-color: var(--color-secondary);
}

.news-card .news-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card .news-content {
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
}

.news-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.news-date {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-text-lighter);
    text-transform:lowercase ;
}

.news-category {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--color-text-lighter);
    text-transform: uppercase;
    color:#8ad510;
}

.news-title {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-primary);
    transition: var(--transition-fast);
    word-break: break-word;
}

.news-card:hover .news-title {
    color: var(--color-secondary);
}

/* Right Column - News Feed + 2 Cards */
.right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-feed {
    background: #dbdfec;       
}

.feed-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

.feed-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
    transition: var(--transition-fast);
}

.feed-item:last-child {
    border-bottom: none;
}

.feed-item:hover {
    background: var(--color-bg-light);
    margin: 0 -12px;
    padding: 12px;
}

.feed-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feed-date {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-text-light);
    text-transform: uppercase;
}

.feed-category {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-text-light);
    text-transform: uppercase;
}

.feed-item-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-primary);
    transition: var(--transition-fast);
}

.feed-item:hover .feed-item-title {
    color: var(--color-secondary);
}

/* Sidebar News Cards */
.sidebar-news {
    margin-top: 0;
}

/* ===== THREE NEWS BLOCK ===== */


.three-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 310px);
    gap: 40px;
    margin-bottom: 20px;
}

.hidden-news-block {
    display: none;
}

.hidden-news-block.show {
    display: grid;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card-small {
    background: transparent;
    cursor: pointer;  
    transition: var(--transition-fast);
}

.news-card-small:hover {
    border-color: var(--color-secondary);
}

.news-card-small .news-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card-small .news-content {
    padding: 15px;
    text-align: center;
}

.news-card-small .news-title {
    font-size: 16px;
}

.news-card-small:hover .news-title {
    color: var(--color-secondary);
}

/* ===== LOAD MORE ===== */
.load-more-container {
    text-align: center;
    margin: 30px 0;
    cursor: pointer;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;      /* по вертикали */
    justify-content: center;  /* по горизонтали */
    gap: 10px;
    padding: 20px 0;
    background: #dbdfec;
    color: #6d6f76;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    transition: var(--transition);
    width: 310px;
}

.load-more-btn:hover {
    background: var(--color-secondary);
    color:#fff
}

.load-more-btn svg {
    transition: var(--transition);
}

.load-more-btn:hover svg {
    transform: rotate(90deg);
}

.load-more-btn.hidden {
    display: none;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-primary);
    color: white;
    padding: 43px 0 85px ;    
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
}

.footer-social {
    display: flex;
    gap: 100px;
}

.footer-social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;    
    color: white;
    transition: var(--transition);
}
.footer-social-link svg {
	width: 25px;
	height: 25px;
}
.footer-social-link svg path {
	fill: #fff;
}
.footer-social-link:hover svg path {
    fill: #8ad510;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 8px;
}

.footer-nav a {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
     color: white;
    transition: var(--transition-fast);
}

.footer-nav a:hover, .footer-social-link:hover {   
    color: #8ad510;
}

.footer-logo {
    width:182px;
    height: 51px;
    background-image: url('../images/fut_logo.png');
    background-repeat: no-repeat;

}

.footer-logo svg {
    color: var(--color-secondary);
}


.footer-tagline {
    font-size: 10px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
    display: block;
    margin-right: -133px;
    text-align: right;
    margin-top: 30px;
    font-style: italic;
}

header.under .nav-row {
    border-bottom: 2px solid #000;
}

.bottom-banner {
    padding-top:35px ;
}

.mainmoblink {
    display: none;
}

/* #header.fixed {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: #fff;
	z-index: 10;
} */

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    
    
    .nav {
        gap: 18px;
    }
    
    .nav-link {
        font-size: 10px;
    }
}

@media (max-width: 768px) {

    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid-3col {
        grid-template-columns: 1fr;
        gap:30px;
    }

    .header {
        padding: 20px 10px 0 10px;
    }

    .logo{
     flex-direction: column;   
    }
  
    .banner-content {
        height: 107px;       
    }
    
    .logo-row {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .logo {
        width: 60%;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .nav-row {
        flex-direction: row;
        gap: 15px;
        flex-wrap: nowrap;
    }
    
    .mobile-menu-toggle {
        position: absolute;
        background: #fff;
        display: flex;
        left: 10px;
        top: -72px;
        z-index: 10000;
    }
    
    .home-icon {
        display: none;
    }
    
    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        z-index: 9999;
        flex-direction: column;
        justify-content: flex-start;
        gap: 20px;
        padding: 100px 30px 0 29px;
        margin-left: 0;
        width:85%
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav-link {
        font-size: 18px;
       
    }

    .nav-row button.active {
        z-index: 1000;
        position: absolute;
        right: 10px;
        top: -195px;
        width: 30px;
        height: 30px;
        left:90%;
        display: none;
    }

     .social-icons {
        display: none;
     }
    
    .social-icons.active {
        display: flex;
        position: fixed;
        left: 26px;
        top: 39px;
        z-index: 10000;
        width: 70%;
        justify-content: space-between;

    }

    body.mobmenuact::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(243, 243, 243, 0.8); /* серый с прозрачностью */
        z-index: 999; /* ниже меню */
        pointer-events: none; /* чтобы не блокировать клики */
    }  
    
   .mobmenuact .mainmoblink {
       display: block;
   }
       
   .mobmenuact  .nav .act {
     font-weight: 700;
   }
    
    .slider-wrapper {
        height: 350px;
    }
    
    .slide-content {
        margin-bottom: 50px;
        padding: 0 20px;
    }

    .slider-arrow {
        display: none;
    }

    .slide-title {
        font-size: 24px;
    }
    
    .three-news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-tagline {
        margin: 52px 0 0 0;
    }
    .news-grid-3col {
        padding: 0 20px;
    }

    .logo-slogan {
       display: none;
    }

    .search-toggle {
        display: none;
        position: absolute;
        width: 21px;
        height: 21px;
        transition: all 0.3s ease;
    }

    /* Фиксированная кнопка при скролле */
    .mobile-menu-toggle.fixed {
        position: fixed;
        top: 0;
        left: 0;
        width: 65px;
        height: 65px;
        background: white;
        background-image: none;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
        z-index: 999;
        display: flex;
        flex-direction: column;
        padding: 24px 15px 10px 19px;
    }

        
    /* Активное состояние - крестик */
    .search-toggle.fixed.active::before {
        transform: rotate(45deg) translateY(8px);
    }

    .search-toggle.fixed.active::after {
        transform: rotate(-45deg) translateY(-8px);
    }

    .search-toggle.fixed.active span {
        opacity: 0;
    }

    .news-grid-3col > .banner {      
        height: 350px;
        overflow: hidden;
        grid-row: span 3;
    }  
   
    .hero-slider {
        padding: 0 0 20px 0;
    }

    .news-card {
        flex-direction: row;
    }

    .news-card .news-content {
        text-align: left;
        margin-left: 20px;
        padding-top: 0;
    }

    .news-card .news-image {
        width:145px;
        height: 97px;
    }
    .news-meta {
        justify-content: start; 
        margin-bottom: 5px;
    }

    .news-title {
        font-size: 16px;
    }

   .close {
        z-index: 1000000;
        position: absolute;
        right: -50px;
        top: 40px;
        width: 25px;
        height: 25px;
    }

    .close span  {
        width: 75%;
        height: 3px;
        background: #b0b1b5;
        transition: var(--transition-fast);
        display: block;

    }

    .close span:nth-child(1) {
        transform: rotate(44deg) translate(-8px, 1px);
    }

    .close span:last-child {
        transform: rotate(-46deg) translate(1px, -10px);
        width: 75%;
    }

   
   
}

/* ===== ARTICLE PAGE STYLES ===== */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 311px;
    gap: 40px;   
}

/* Main Article */
.article-main {
    background: transparent;
}

.article-header {
	text-align: center;
	margin: 0 10px 30px;
}

.article-title {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.article-date {
    font-size: 12px;
    color: var(--color-primary);
    font-weight: 700;
}

.article-category {
    font-size: 11px;
    font-weight:800;
    letter-spacing: 0.5px;
    color: var(--color-primary);
    margin-left: 10px;
}

.article-image {
    width: 100%;
    margin-bottom: 30px;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    position: relative;
}

/* Social Share Sidebar */
.article-social-sidebar {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-share-btn {
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #bfc0c6;
    border-radius: 4px;
    color: #fff;
    transition: all 0.3s ease;
}

.social-share-btn svg {
    width: 19px;
    height: auto;
}

.social-share-btn:hover {
    transform: scale(1.1);
}

/* Article Body */
.article-body {
    font-size: 17px;
    line-height: 1.4;
    color: var(--color-text);
    padding-left: 49px;
    min-height: 350px;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body a:hover {
    color: #8ad510;
}

.footer-social-link:hover {
     color: #8ad510;
}


.article-intro {
    font-style: italic;
    line-height: normal;
    font-size: 19px;
}

/* Subscribe Block */
.article-subscribe {
    margin-top: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    justify-content: space-between;

}

.home-icon-subscribe {
    width: 20px;
    height: 20px;
    background-image: url('../images/home.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.subscribe-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    color: var(--color-text);
    flex-shrink: 0;
    
}

.subscribe-buttons {
    display: flex;
    gap: 15px;
}

.subscribe-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    width: 170px;
}

.subscribe-btn  svg{
    width: 23px;
    height: 23px;
}

.subscribe-btn svg:last-child {
    margin-left: auto; /* прижимает последнюю SVG к правому краю */
    width: 17px;
    height: 17px;
}

.subscribe-btn.threads {
    background: #2C2C2C;
    color: white;
}

.subscribe-btn.threads:hover {
    background: #000;
}

.subscribe-btn.facebook {
    background: #1877F2;
    color: white;
}

.subscribe-btn.telegram {
    background: #28a8ea;
    color: white;
}

.subscribe-btn.facebook:hover {
    background: #0C63D4;
}

.subscribe-btn .arrow {
    margin-left: auto;
}

/* Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 135px;
}

.sidebar-card {
    display: block;
    background: transparent;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.sidebar-card:hover {
    transform: translateY(-2px);
}

.sidebar-image {
    width: 100%;
    height: 190px;
    background-size: cover;
    background-position: center;
}

.sidebar-content {
    padding: 15px;
    text-align: center;
}

.sidebar-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.sidebar-date {
    font-size: 11px;
    color: var(--color-text-light);
}

.sidebar-category {
    font-size: 10px;
    font-weight: 600;
    color: var(--color-secondary);
    letter-spacing: 0.5px;
}

.sidebar-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-text);
}

.sidebar-card:hover .sidebar-title {
    color: var(--color-secondary);
}

.shimmer,
.news-card--skeleton .news-image,
.news-card--skeleton .news-meta,
.news-card--skeleton .news-title,
.article--skeleton .article-image,
.article--skeleton .article-content,
.article--skeleton .article-title,
.article--skeleton .article-meta,
.article--skeleton .article-sidebar {
    background: linear-gradient(90deg, #eee 25%, #ddd 37%, #eee 63%);
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
}
@keyframes shimmer {
    0% { background-position: 100% 0 }
    100% { background-position: -100% 0 }
}
.news-card--skeleton .news-meta { height: 19px; }
.news-card--skeleton .news-title { height: 22px; }

.article--skeleton .article-image { height: 300px; }
.article--skeleton .article-title { height: 32px; width: 70%; margin: 0 auto 15px; }
.article--skeleton .article-meta { height: 19px; width: 50%; margin: 0 auto 30px; }
.article--skeleton .article-content { height: 200px; margin: 0 auto; }
.article--skeleton .article-sidebar { height: 400px; width: 100%; margin-top: 135px; }

.search-results-notfound {
	margin: 20px 0 30px;
}

h1 {
    margin: 0 0 20px
}

.disclaimer {
	font-size: 16px;
	font-weight: 300;
	color: #939393;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* Responsive Article Layout */
@media (max-width: 1200px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .article-social-sidebar {
        position: static;
        flex-direction: row;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 24px;
    }

    .page-title,
    .search-results-notfound {
        padding: 0 20px;
    }

    .article-title {
        font-size: 24px;
       font-weight: 800;
    }
    
    .article-sidebar {
        display: none;
        grid-template-columns: 1fr;
        margin-top: 0;
        padding: 0 20px;
    }
    
    .article-social-sidebar {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .article-subscribe {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .subscribe-buttons {
        flex-direction: column;
        width: 100%;
        align-items: center;
        padding: 0 20px
    }
    .dot {
        width:8px;
        height:8px;
    }
    .slider-dots {
        gap:10px;
        bottom: 35px;
    }
    .article-body {
        padding: 0 20px;
    }

    .active a.act::after {
        content: "";
        position: absolute;
        bottom: -2px;
        left: 0;
        right: 0;
        height: 2px;
        background: none;
    }
     
    .nav-link {
        padding: 0;
    }

    .subscribe-btn {
        width:100%;
    }
    #newsArticles {
        margin: 20px 0;
    }

    .footer-social {
        display: flex;
        gap: 30px;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .slider-wrapper {
        height: 400px;
    }
    
    .slide-title {
        font-size: 25px;
    }
    
    .slide-content {
        padding: 25px 40px;
    }
}

/* ===== ANIMATIONS ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.i-dzen {background: url('/images/i-dzen.png') no-repeat center; background-size: 25px;}
.i-rss {background: url('/images/i-rss.png') no-repeat center; background-size: 22px;}
.i-dzen:hover {background: url('/images/i-dzen-h.png') no-repeat center; background-size: 25px;}
.i-rss:hover {background: url('/images/i-rss-h.png') no-repeat center; background-size: 22px;}