/* ============================================
   БЛОК НОВОСТЕЙ (TELEGRAM)
   ============================================ */
.news-section {
    max-width: 1400px;
    margin: 60px auto;
    overflow: hidden;
}

.news-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.news-section__title {
    font-size: 28px;
    color: var(--gold, #C5A55E);
    margin: 0;
    font-weight: 500;
}

.news-section__title i {
    margin-right: 10px;
}

.news-section__view-all {
    background: linear-gradient(135deg, rgba(197,165,94,0.15), rgba(197,165,94,0.05));
    color: var(--gold, #C5A55E);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 12px;
    font-size: 14px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    margin-left: 20px;
    border: 1px solid rgba(197,165,94,0.2);
}

.news-section__view-all:hover {
    opacity: 0.8;
    transform: translateY(-2px);
    background: rgba(197,165,94,0.2);
}

.news-section__container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.news-section__container--mobile {
    display: none;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.news-section__post {
    position: relative;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-snap-align: start;
    border: 1px solid rgba(255,255,255,0.06);
    cursor: pointer;
}

.news-section__post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border-color: rgba(197,165,94,0.3);
    background: rgba(255,255,255,0.07);
}

.news-section__image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 20px;
    background: #1a1f2a;
}

.news-section__post-content {
    padding: 15px 15px 20px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-section__post-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--text-primary, #F6F1E7);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-section__post-date {
    font-size: 12px;
    color: rgba(246,241,231,0.4);
    margin-bottom: 12px;
}

.news-section__read-more {
    display: block;
    width: 100%;
    padding: 10px 0;
    background: linear-gradient(135deg, rgba(197,165,94,0.15), rgba(197,165,94,0.05));
    color: var(--gold, #C5A55E);
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(197,165,94,0.2);
    margin-top: 12px;
    cursor: pointer;
}

.news-section__read-more:hover {
    background: rgba(197,165,94,0.25);
    transform: translateY(-2px);
}

/* Мобильная версия новостей */
@media (max-width: 1100px) {
    .news-section__container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .news-section {
        padding: 0 15px;
    }
    
    .news-section__container {
        display: none;
    }
    
    .news-section__container--mobile {
        display: flex;
    }
    
    .news-section__post {
        min-width: 280px;
    }
    
    .news-section__image {
        height: 160px;
        border-radius: 16px;
    }
    
    .news-section__post-content {
        padding: 12px 12px 16px 12px;
    }
    
    .news-section__read-more {
        padding: 8px 0;
        font-size: 13px;
        margin-top: 10px;
    }
}

/* Десктопная версия новостей */
@media (min-width: 768px) {
    .news-section__title {
        font-size: 36px;
    }
    
    .news-section__view-all {
        padding: 12px 24px;
        font-size: 16px;
        border-radius: 12px;
    }
    
    .news-section__post {
        border-radius: 24px;
        padding: 16px;
    }
    
    .news-section__post:hover {
        transform: translateY(-8px);
    }
    
    .news-section__image {
        height: 200px;
        border-radius: 20px;
    }
    
    .news-section__post-content {
        padding: 20px 20px 24px 20px;
    }
    
    .news-section__post-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .news-section__post-date {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .news-section__read-more {
        padding: 12px 0;
        font-size: 15px;
        border-radius: 12px;
        margin-top: 15px;
    }
}

/* Мобильный слайдер новостей */
.news-section__mobile-wrapper {
    position: relative;
    display: none;
    padding: 0;
}

.news-section__pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding: 5px 0;
}

.news-section__pagination-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-section__pagination-dot.active {
    background-color: var(--gold, #C5A55E);
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 767px) {
    .news-section__mobile-wrapper {
        display: block;
    }
}

/* ============================================
   БЛОК ВИДЕО (YOUTUBE)
   ============================================ */
.videos-section {
    max-width: 1400px;
    margin: 60px auto;
    overflow: hidden;
}

.videos-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.videos-section__title {
    font-size: 28px;
    color: var(--gold, #C5A55E);
    margin: 0;
    font-weight: 500;
}

.videos-section__title i {
    margin-right: 10px;
}

.videos-section__view-all {
    background: linear-gradient(135deg, rgba(197,165,94,0.15), rgba(197,165,94,0.05));
    color: var(--gold, #C5A55E);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 12px;
    font-size: 14px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    margin-left: 20px;
    border: 1px solid rgba(197,165,94,0.2);
}

.videos-section__view-all:hover {
    opacity: 0.8;
    transform: translateY(-2px);
    background: rgba(197,165,94,0.2);
}

.videos-section__container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.videos-section__container--mobile {
    display: none;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.videos-section__video {
    position: relative;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-snap-align: start;
    border: 1px solid rgba(255,255,255,0.06);
    cursor: pointer;
}

.videos-section__video:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border-color: rgba(197,165,94,0.3);
    background: rgba(255,255,255,0.07);
}

.videos-section__thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 20px;
    background: #1a1f2a;
}

.videos-section__video-content {
    padding: 15px 15px 20px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.videos-section__video-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--text-primary, #F6F1E7);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.videos-section__video-date {
    font-size: 12px;
    color: rgba(246,241,231,0.4);
    margin-bottom: 12px;
}

.videos-section__watch {
    display: block;
    width: 100%;
    padding: 10px 0;
    background: linear-gradient(135deg, rgba(197,165,94,0.15), rgba(197,165,94,0.05));
    color: var(--gold, #C5A55E);
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(197,165,94,0.2);
    margin-top: 12px;
    cursor: pointer;
}

.videos-section__watch:hover {
    background: rgba(197,165,94,0.25);
    transform: translateY(-2px);
}

/* Мобильная версия видео */
@media (max-width: 1100px) {
    .videos-section__container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .videos-section {
        padding: 0 15px;
    }
    
    .videos-section__container {
        display: none;
    }
    
    .videos-section__container--mobile {
        display: flex;
    }
    
    .videos-section__video {
        min-width: 280px;
    }
    
    .videos-section__thumbnail {
        border-radius: 16px;
    }
    
    .videos-section__video-content {
        padding: 12px 12px 16px 12px;
    }
    
    .videos-section__watch {
        padding: 8px 0;
        font-size: 13px;
        margin-top: 10px;
    }
}

/* Десктопная версия видео */
@media (min-width: 768px) {
    .videos-section__title {
        font-size: 36px;
    }
    
    .videos-section__view-all {
        padding: 12px 24px;
        font-size: 16px;
        border-radius: 12px;
    }
    
    .videos-section__video {
        border-radius: 24px;
        padding: 16px;
    }
    
    .videos-section__video:hover {
        transform: translateY(-8px);
    }
    
    .videos-section__thumbnail {
        border-radius: 20px;
    }
    
    .videos-section__video-content {
        padding: 20px 20px 24px 20px;
    }
    
    .videos-section__video-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .videos-section__video-date {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .videos-section__watch {
        padding: 12px 0;
        font-size: 15px;
        border-radius: 12px;
        margin-top: 15px;
    }
}

/* Мобильный слайдер видео */
.videos-section__mobile-wrapper {
    position: relative;
    display: none;
    padding: 0;
}

.videos-section__pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding: 5px 0;
}

.videos-section__pagination-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.videos-section__pagination-dot.active {
    background-color: var(--gold, #C5A55E);
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 767px) {
    .videos-section__mobile-wrapper {
        display: block;
    }
}