/* --- 1. ПЕРЕМЕННЫЕ И ОСНОВА --- */
:root {
    --bg-main: #100b0b;          /* Тот самый глубокий вишнево-черный */
    --bg-card: rgba(20, 15, 15, 0.8); 
    --ora-main: #ff4d4d;         /* Акцентный алый */
    --text-bright: #ffffff;
    --text-muted: #a09595;
    --border: rgba(255, 255, 255, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background-color: #100b0b; /* Ваш основной цвет */
    margin: 0;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Слой с крупными, красивыми кривыми */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    
    /* 
       Исправленный SVG с кривыми линиями как data URI. 
       xmlns='http://www.w3.org' теперь верный.
       stroke='%232a2222' немного светлее основного фона.
    */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org' viewBox='0 0 1440 320'%3E%3Cpath stroke='%232a2222' stroke-width='1' fill='transparent' d='M0,192L60,186.7C120,181,240,171,360,165.3C480,160,600,160,720,170.7C840,181,960,203,1080,202.7C1200,203,1320,181,1380,170.7L1440,160L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.8; 
}




/* --- 2. СЕТКА И КОНТЕЙНЕР --- */
.block_1000width {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

#news_view {
    padding: 40px 0 80px;
}

/* --- 3. КАРТОЧКА НОВОСТИ --- */
.eu-view-container {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

/* Баннер (Обложка) */
.eu-view-banner {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.eu-view-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, var(--bg-main) 100%);
}

/* Контентная часть */
.eu-view-body {
    padding: 50px;
    margin-top: -80px; /* Эффект наплыва */
    position: relative;
    z-index: 5;
}

.eu-view-title {
    color: var(--text-bright);
    font-size: clamp(24px, 5vw, 42px); /* Адаптивный размер шрифта */
    font-weight: 850;
    margin: 0 0 20px 0;
    line-height: 1.1;
    letter-spacing: -1px;
}

/* Мета-данные */
.eu-view-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

.eu-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted); /* Теперь он использует светлый приглушенный цвет */
}

.eu-meta-item i { color: var(--ora-main); }

.eu-meta-badge {
    background: rgba(255, 77, 77, 0.1);
    color: var(--ora-main);
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid rgba(255, 77, 77, 0.2);
}

/* --- 4. WYSIWYG КОНТЕНТ (QUILL) --- */
.eu-view-content {
    font-size: 17px;
    color: #cecccc;
}

.eu-view-content img {
    max-width: 100%;
    height: auto !important;
    border-radius: 16px;
    margin: 25px 0;
}

.eu-view-content h1, .eu-view-content h2, .eu-view-content h3 {
    color: var(--text-bright);
    margin-top: 35px;
}

.eu-view-content a {
    color: var(--ora-main);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 77, 77, 0.3);
    transition: var(--transition);
}

.eu-view-content a:hover {
    border-bottom-color: var(--ora-main);
}

/* --- 5. АДАПТИВНОСТЬ (MOBILE FIRST) --- */

@media (max-width: 768px) {
    #news_view { padding: 20px 0 40px; }
    
    .eu-view-container { border-radius: 0; border-left: none; border-right: none; }
    
    .eu-view-banner { height: 280px; }
    
    .eu-view-body {
        padding: 30px 20px;
        margin-top: -60px;
    }
    
    .eu-view-meta {
        gap: 15px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .eu-view-content { font-size: 16px; }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .eu-view-title { font-size: 26px; }
    .eu-view-banner { height: 220px; }
}


/* --- ФУТЕР НОВОСТИ (ДИСКЛЕЙМЕР) --- */
.eu-view-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.eu-footer-contacts {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-label {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-bright);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--ora-main);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3);
}

.eu-footer-disclaimer {
    font-size: 13px;
    line-height: 1.5;
    color: #665c5c; /* Приглушенный цвет для юридической информации */
    max-width: 800px;
}

.eu-footer-disclaimer p {
    margin: 0;
}

/* Адаптивность для футера */
@media (max-width: 600px) {
    .eu-footer-contacts {
        flex-direction: column;
        align-items: flex-start;
    }
}
