/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

* {
    scroll-behavior: smooth;
}

/* Дополнительные стили для плавности */
body {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Плавные переходы для всех элементов */
* {
    transition: all 0.3s linear;
}

/* Исключения для элементов, которые не должны анимироваться */
input, button, textarea, select {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    min-width: 320px;
    width: 100%;
    max-width: 100vw;
}

/* Предотвращение горизонтальной прокрутки */
html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Плавный скролл к якорям */
html {
    scroll-behavior: smooth;
}

.container {
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
}

.main-content {
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
}

/* Дополнительные правила для предотвращения горизонтального скролла */
* {
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

.reviews-section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.reviews-container {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* BBC News панель */
.bbc-header {
    background-color: #BB0A1E !important;
    color: white;
    height: 60px;
    display: flex !important;
    align-items: center;
    justify-content: flex-start !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.bbc-header-container {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 24px;
    display: flex !important;
    align-items: center;
    justify-content: flex-start !important;
    padding-left: 85px;
}

.bbc-logo-text {
    display: flex !important;
    align-items: center;
    justify-content: flex-start !important;
    gap: 6px;
    font-weight: bold;
    font-size: 18px;
    margin: 0 !important;
    white-space: nowrap;
}

.bbc-logo {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
}

.bbc-block {
    width: 20px;
    height: 20px;
    background-color: white;
    color: #BB0A1E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-weight: 700;
    font-size: 14px;
    font-style: normal;
    line-height: 1;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
}

.bbc-news {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    color: white;
}

.bbc-service {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 18px;
    font-weight: 400;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    color: white;
}

/* Навигационная панель */
.main-nav {
    background-color: white;
    padding: 12px 0;
    border-bottom: 1px solid #E6E6E6;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 999;
}

.main-nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 32px;
}

.main-nav a {
    color: #111;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #BB0A1E;
    background-color: transparent;
}

.main-nav a.active {
    color: #BB0A1E;
    font-weight: 600;
    background-color: transparent;
}

/* Отступ для контента под фиксированными панелями */
body {
    padding-top: 100px;
}

/* Контент */
.content {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f5f5f5;
    min-height: calc(100vh - 120px);
}

/* Объединенный макет */
.unified-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Главная статья */
.main-article {
    margin-bottom: 20px;
}

.main-headline {
    font-size: 2.2rem;
    font-weight: bold;
    color: #000;
    line-height: 1.3;
    margin-bottom: 20px;
    font-family: 'Arial', sans-serif;
}

.article-image {
    margin-top: 20px;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background-color: #e0e0e0;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.person-avatar {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 80px;
    height: 80px;
    background-color: #d0d0d0;
    border-radius: 50%;
    border: 3px solid #fff;
}

/* Боковая панель */
.sidebar {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
    font-family: 'Arial', sans-serif;
}

.news-item {
    background-color: white;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-left: 3px solid #BB0A30;
}

.news-item:last-child {
    margin-bottom: 0;
}

.live-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: #00ff00;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

.live-text {
    font-weight: bold;
    color: #000;
    font-size: 0.9rem;
}

.news-text {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.news-time {
    color: #666;
    font-size: 0.8rem;
    font-style: italic;
}

/* Анимация для LIVE индикатора */
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* Левая колонка */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Промежуточный текст */
.intermediate-text {
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.intermediate-text p {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    font-family: 'Times New Roman', serif;
}

.intermediate-text p:last-child {
    margin-bottom: 0;
}

/* Левая колонка - дополнительная статья */
.additional-article {
    margin-bottom: 20px;
}

.article-image-large {
    position: relative;
    margin-bottom: 20px;
}

.article-img-large {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
    min-height: 300px;
}

.image-credit {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 4px;
    z-index: 2;
}

.large-image-placeholder {
    width: 100%;
    height: 400px;
    background-color: #e0e0e0;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.politician-avatar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background-color: #d0d0d0;
    border-radius: 50%;
    border: 4px solid #fff;
}

.additional-headline {
    font-size: 1.8rem;
    font-weight: bold;
    color: #000;
    line-height: 1.3;
    margin-bottom: 15px;
    font-family: 'Arial', sans-serif;
}

.news-source-info {
    margin-bottom: 10px;
}

.source-department {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.source-name {
    font-size: 0.9rem;
    color: #000;
    font-weight: 500;
    margin-bottom: 5px;
}

.source-link {
    font-size: 0.9rem;
    color: #BB0A30;
    text-decoration: none;
}

.source-link:hover {
    text-decoration: underline;
}

.article-timestamp {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-style: italic;
}

.article-content p {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    font-family: 'Times New Roman', serif;
}

/* Текст под статьей */
.article-text-content {
    margin-top: 20px;
}

.article-text-content p {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    font-family: 'Times New Roman', serif;
}

.article-text-content p:last-child {
    margin-bottom: 0;
}

/* Секция "Самое популярное" */
.most-popular-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.most-popular-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 25px;
    font-family: 'Arial', sans-serif;
}

.popular-item {
    display: flex !important;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
}

.popular-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-image {
    width: 120px !important;
    height: 80px !important;
    background-color: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0 !important;
    display: block !important;
    position: static !important;
}

.popular-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    position: static;
}

.popular-content {
    flex: 1 !important;
    padding-left: 15px !important;
    min-width: 0;
    overflow-wrap: anywhere;
    display: block !important;
    position: static !important;
}

.popular-headline {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    margin: 0;
    font-family: 'Arial', sans-serif;
    word-wrap: break-word;
    hyphens: auto;
}

.popular-link {
    color: #333;
    text-decoration: underline;
    font-weight: 500;
}

.popular-link:hover {
    color: #BB0A30;
}

/* Изображения для популярных статей */
/* Старые placeholder'ы скрыты, так как теперь используются реальные изображения */
.tusk-portrait,
.transport-scene,
.protest-scene,
.airplane-scene {
    display: none;
}

/* Рекламное изображение */
.advertisement-section {
    margin: 30px 0;
    text-align: center;
}

.advertisement-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

/* Дополнительный текст после "Самое популярное" */
.additional-text-section {
    max-width: 720px;
    margin: 48px auto;
    padding: 0 24px;
    border-left: 3px solid #E6E6E6;
    padding-left: 20px;
}

.additional-text-section p {
    color: #333;
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 20px;
    font-family: 'Arial', sans-serif;
}

.additional-text-section p:first-child {
    font-size: 22px;
    font-weight: 600;
}

.additional-text-section p:last-child {
    background-color: #F7F7F7;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 0;
}

.additional-text-section p:last-child::after {
    content: " →";
    font-weight: 600;
}

.additional-text-section .highlight {
    font-weight: 600 !important;
}

/* Форма регистрации */
.registration-form-section {
    background-color: #f8f8f8;
    padding: 60px 0;
    margin: 40px 0;
}

.registration-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 24px;
}

.registration-form-title {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #111;
    text-align: center;
    margin-bottom: 32px;
    line-height: 1.3;
}

.registration-form {
    background-color: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.8s ease-in-out, transform 0.3s ease;
    will-change: box-shadow, transform;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-field {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #111;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    height: 52px;
    padding: 14px 16px;
    border: 2px solid #E6E6E6;
    border-radius: 12px;
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 16px;
    color: #111;
    background-color: white;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #BB0A1E;
    box-shadow: 0 0 0 3px rgba(187, 10, 30, 0.1);
}

.form-input::placeholder {
    color: #6B6B6B;
    font-size: 16px;
}

.form-submit-btn {
    width: 100%;
    height: 56px;
    background-color: #BB0A1E;
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    margin-top: 8px;
    margin-bottom: 16px;
}

.form-submit-btn:hover {
    background-color: #A0091A;
    transform: translateY(-1px);
}

.form-submit-btn:active {
    transform: translateY(0);
}

.form-submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

.form-disclaimer {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 12px;
    color: #6B6B6B;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

/* Блок отзывов пользователей */
.reviews-section {
    background-color: #f8f8f8;
    padding: 60px 0;
    margin: 40px 0;
}

.reviews-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.reviews-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #111;
    margin: 0;
}

.reviews-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.star {
    font-size: 20px;
    color: #ddd;
    transition: color 0.2s ease;
}

.star.filled {
    color: #BB0A1E;
}

.star.half {
    color: #BB0A1E;
    position: relative;
}

.star.half::after {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: #ddd;
}

.star.empty {
    color: #ddd;
}

.rating-text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #111;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.review-item {
    background-color: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.review-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #BB0A1E;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 600;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #111;
}

.review-date {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #6B6B6B;
}

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

.review-text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #111;
    margin: 0;
}

/* Адаптивность без изменения визуала */

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
    html, body {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 16px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .bbc-header-container {
        padding: 0 16px;
        width: 100%;
        max-width: 100vw;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .left-column {
        order: 1;
    }
    
    .right-column {
        order: 2;
    }
    
    .article-img-large {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
        min-height: 200px;
    }
    
    .dont-miss-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .popular-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .popular-item {
        flex-direction: column;
        gap: 12px;
    }
    
    .popular-image {
        width: 100%;
        height: 200px;
    }
    
    .registration-form-section {
        padding: 40px 0;
        margin: 20px 0;
    }
    
    .registration-form-container {
        padding: 0 16px;
    }
    
    .registration-form-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .registration-form {
        padding: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-input {
        height: 48px;
        font-size: 16px;
    }
    
    .form-submit-btn {
        height: 52px;
        font-size: 15px;
    }
    
    .reviews-section {
        padding: 40px 0;
        margin: 20px 0;
    }
    
    .reviews-container {
        padding: 0 16px;
    }
    
    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .reviews-title {
        font-size: 28px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .review-item {
        padding: 20px;
    }
}

/* Планшеты (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    
    .bbc-header-container {
        padding: 0 24px;
    }
    
    .main-content {
        grid-template-columns: 2fr 1fr;
        gap: 32px;
    }
    
    .dont-miss-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .popular-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .article-img-large {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
        min-height: 250px;
    }
}

/* Очень маленькие экраны (до 480px) */
@media (max-width: 480px) {
    html, body {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 12px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .bbc-header-container {
        padding: 0 12px;
        width: 100%;
        max-width: 100vw;
    }
    
    .main-nav {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .main-nav a {
        font-size: 14px;
        padding: 6px 8px;
    }
    
    .article-img-large {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
        min-height: 180px;
    }
    
    .article-headline {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .card-headline {
        font-size: 16px;
        line-height: 1.4;
    }
    
    .registration-form {
        padding: 20px;
    }
    
    .registration-form-title {
        font-size: 22px;
    }
    
    .form-input {
        height: 44px;
        font-size: 16px;
    }
    
    .form-submit-btn {
        height: 48px;
        font-size: 14px;
    }
    
    .reviews-section {
        padding: 30px 0;
        margin: 15px 0;
    }
    
    .reviews-container {
        padding: 0 12px;
    }
    
    .reviews-title {
        font-size: 24px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .review-item {
        padding: 16px;
    }
    
    .author-avatar {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .author-name {
        font-size: 14px;
    }
    
    .review-date {
        font-size: 12px;
    }
    
    .review-text {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* Десктопы (1025px+) */
@media (min-width: 1025px) {
    .container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 24px;
    }
    
    .bbc-header-container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 24px;
    }
}

/* Анимация подсветки формы */
@keyframes formHighlight {
    0% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transform: scale(1);
    }
    10% {
        box-shadow: 0 0 10px rgba(187, 10, 30, 0.2);
        transform: scale(1.002);
    }
    20% {
        box-shadow: 0 0 20px rgba(187, 10, 30, 0.3);
        transform: scale(1.005);
    }
    30% {
        box-shadow: 0 0 30px rgba(187, 10, 30, 0.4);
        transform: scale(1.008);
    }
    40% {
        box-shadow: 0 0 35px rgba(187, 10, 30, 0.45);
        transform: scale(1.01);
    }
    50% {
        box-shadow: 0 0 40px rgba(187, 10, 30, 0.5);
        transform: scale(1.02);
    }
    60% {
        box-shadow: 0 0 35px rgba(187, 10, 30, 0.45);
        transform: scale(1.01);
    }
    70% {
        box-shadow: 0 0 30px rgba(187, 10, 30, 0.4);
        transform: scale(1.008);
    }
    80% {
        box-shadow: 0 0 20px rgba(187, 10, 30, 0.3);
        transform: scale(1.005);
    }
    90% {
        box-shadow: 0 0 10px rgba(187, 10, 30, 0.2);
        transform: scale(1.002);
    }
    100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transform: scale(1);
    }
}

.registration-form.highlight {
    animation: formHighlight 1.5s linear;
}

/* Дополнительная анимация для плавности */
@keyframes smoothScroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(0);
    }
}

body {
    animation: smoothScroll 0.01s linear infinite;
}

/* Максимально равномерная прокрутка */
html {
    scroll-behavior: auto;
}

* {
    scroll-behavior: auto;
}

/* Принудительная плавность через CSS */
body {
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: smooth;
}


/* Стили для интерактивных элементов (перенаправление к форме) */
.dont-miss-card,
.card,
.popular-item,
.headline,
.card-headline,
h1, h2, h3,
p:not(.form-disclaimer) {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.dont-miss-card:hover,
.card:hover,
.popular-item:hover {
    opacity: 0.8;
}

/* Стили для навигации */
nav a,
.main-nav a,
.bbc-header a {
    cursor: pointer;
    transition: color 0.2s ease;
}

nav a:hover,
.main-nav a:hover,
.bbc-header a:hover {
    color: #BB0A1E !important;
}

/* Секция "Популярное" на всю ширину */
.popular-section-fullwidth {
    background-color: white;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 40px;
    padding: 40px 0;
}

.popular-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.popular-section-title {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 500;
    color: #000;
    margin-bottom: clamp(20px, 3vw, 36px);
    font-family: 'Arial', sans-serif;
    text-align: left;
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(20px, 4vw, 40px) clamp(15px, 3vw, 30px);
}

/* Удален дублирующий стиль - используется основной .popular-item выше */

.popular-number {
    color: #B80000;
    font-size: clamp(24px, 5vw, 60px);
    font-weight: 400;
    line-height: 1;
    font-family: 'Arial', sans-serif;
    text-align: right;
    width: 100%;
}

.popular-link {
    color: #000;
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.5;
    font-family: 'Georgia', serif;
    font-weight: 400;
    text-decoration: none;
    width: 100%;
    transition: color 0.2s ease;
}

.popular-link:hover {
    color: #B80000;
    text-decoration: underline;
}

/* Адаптивность для популярного списка */
/* До 1200px - 4 колонки */
@media (max-width: 1200px) {
    .popular-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* До 992px - 3 колонки */
@media (max-width: 992px) {
    .popular-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* До 768px - 2 колонки */
@media (max-width: 768px) {
    .popular-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* До 480px - 1 колонка */
@media (max-width: 480px) {
    .popular-grid {
        grid-template-columns: 1fr;
    }
}

/* Правая колонка */
.right-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Секция "Не пропустите" */
.dont-miss-section {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
}

.dont-miss-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
    font-family: 'Arial', sans-serif;
}

.dont-miss-card {
    background-color: white;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
}

.dont-miss-card:last-child {
    margin-bottom: 0;
}

.military-time-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #BB0A30;
    color: white;
    padding: 4px 8px;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 4px;
    z-index: 2;
}

.card-image-placeholder {
    width: 100%;
    height: 180px;
    background-color: #e0e0e0;
    position: relative;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flag-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 60px;
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 30%, #ff0000 30%, #ff0000 100%);
    border: 2px solid #ccc;
}

.man-portrait {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: #d0d0d0;
    border-radius: 50%;
    border: 3px solid #fff;
}

.economy-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    border-radius: 8px;
    border: 2px solid #fff;
}

.tech-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #4a90e2, #7bb3f0);
    border-radius: 8px;
    border: 2px solid #fff;
}

.culture-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    border-radius: 8px;
    border: 2px solid #fff;
}

.card-headline {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    line-height: 1.3;
    margin: 15px;
    margin-bottom: 10px;
}

.card-date {
    color: #666;
    font-size: 0.8rem;
    margin: 0 15px 15px 15px;
    font-style: italic;
}

/* Адаптивность */
@media (max-width: 768px) {
    .unified-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .main-headline {
        font-size: 1.8rem;
    }
    
    .image-placeholder {
        height: 200px;
    }
    
    .additional-headline {
        font-size: 1.5rem;
    }
    
    .large-image-placeholder {
        height: 250px;
    }
    
    .left-column,
    .right-column {
        gap: 20px;
    }
    
    /* Адаптивность для блока "Самое популярное" */
    .popular-item {
        flex-direction: column;
    }
    
    .popular-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }
    
    .popular-content {
        width: 100%;
        padding-left: 0;
        margin-top: 10px;
    }
    
    .popular-headline {
        font-size: 0.85rem;
        letter-spacing: -0.02em;
    }
}

/* Футер BBC */
.bbc-footer {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 40px;
}

.footer-header {
    background-color: #BB0A1E;
    color: white;
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 28px;
    font-weight: bold;
    font-size: 18px;
}

.footer-logo {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.footer-news {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.5px;
    margin-left: 8px;
}

.footer-content {
    background-color: #2B2B2B;
    color: white;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px;
}

.footer-trust {
    margin-bottom: 24px;
}

.footer-trust h3 {
    font-size: 18px;
    font-weight: normal;
    margin: 0 0 16px 0;
    color: white;
    text-align: left;
}

.footer-divider {
    height: 1px;
    background-color: #666;
    margin: 16px 0;
}

.footer-links {
    margin-bottom: 24px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 16px;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s ease;
    text-align: left;
}

.footer-link:hover {
    color: #BB0A1E;
    text-decoration: underline;
}

.footer-copyright {
    text-align: left;
}

.footer-copyright p {
    font-size: 12px;
    color: #ccc;
    margin: 0;
    line-height: 1.4;
}

/* Адаптивность футера */
@media (max-width: 1024px) {
    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .footer-container {
        padding: 20px 15px;
    }
    
    .footer-trust h3 {
        font-size: 16px;
    }
    
    .footer-link {
        font-size: 13px;
    }
    
    .footer-copyright p {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
}

/* Уведомление о cookies */
.cookie-notification {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background-color: #fff;
    border-top: 1px solid #E6E6E6;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999 !important;
    transform: none !important;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cookie-notification.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Отступ для контента, чтобы баннер не перекрывал */
body.cookie-banner-visible {
    padding-bottom: 80px !important; /* Высота баннера + отступ */
}

/* Убираем все возможные конфликты с fixed позиционированием */
html, body {
    overflow-x: hidden !important;
    position: static !important;
    transform: none !important;
}

.container, .main-content, .bbc-header-container {
    position: static !important;
    transform: none !important;
    overflow: visible !important;
}

/* Убираем transform у всех родительских элементов */
* {
    transform: none !important;
}

/* Исключение только для анимаций */
.cookie-notification {
    transform: none !important;
}

@media (max-width: 768px) {
    body.cookie-banner-visible {
        padding-bottom: 100px !important; /* Больше отступ на мобильных */
    }
}

@media (max-width: 480px) {
    body.cookie-banner-visible {
        padding-bottom: 90px !important; /* Отступ для маленьких экранов */
    }
}

/* Стили для страницы политики конфиденциальности */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px;
    line-height: 1.6;
}

.privacy-content h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #111;
    margin-bottom: 30px;
    text-align: center;
}

.privacy-section {
    margin-bottom: 40px;
    padding: 30px;
    background-color: #f8f8f8;
    border-radius: 12px;
    border-left: 4px solid #BB0A1E;
}

.privacy-section h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #111;
    margin-bottom: 20px;
}

.privacy-section p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.privacy-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.privacy-section li {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.privacy-section strong {
    color: #111;
    font-weight: 600;
}

.privacy-footer {
    margin-top: 50px;
    padding: 30px;
    background-color: #fff;
    border: 1px solid #E6E6E6;
    border-radius: 12px;
    text-align: center;
}

.privacy-footer p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.back-link {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #BB0A1E;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #9B0819;
    text-decoration: underline;
}

/* Адаптивность для страницы политики */
@media (max-width: 768px) {
    .privacy-content {
        padding: 20px 16px;
    }
    
    .privacy-content h1 {
        font-size: 28px;
    }
    
    .privacy-section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .privacy-section h2 {
        font-size: 20px;
    }
    
    .privacy-section p,
    .privacy-section li {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .privacy-content h1 {
        font-size: 24px;
    }
    
    .privacy-section {
        padding: 15px;
    }
    
    .privacy-section h2 {
        font-size: 18px;
    }
    
    .privacy-section p,
    .privacy-section li {
        font-size: 13px;
    }
}


.cookie-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 20px;
}

.cookie-text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #111;
    margin: 0;
    flex: 1;
}

.cookie-link {
    color: #BB0A1E;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.cookie-link:hover {
    color: #9B0819;
    text-decoration: underline;
}

.cookie-button {
    background-color: #BB0A1E;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.cookie-button:hover {
    background-color: #9B0819;
}

.cookie-button:active {
    background-color: #7A0614;
}

/* Адаптивность для уведомления о cookies */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px 0;
    }
    
    .cookie-text {
        font-size: 13px;
    }
    
    .cookie-button {
        width: 100%;
        padding: 14px 24px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .cookie-container {
        padding: 0 16px;
    }
    
    .cookie-content {
        padding: 16px 0;
    }
    
    .cookie-text {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .cookie-button {
        padding: 12px 20px;
        font-size: 14px;
    }
}