/* =========================================
   1. RESET & FONTS (Editorial Style)
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+Pro:wght@300;400;600&display=swap');

:root {
    --vm-primary: #1B3A57;    /* Темно-синий, трастовый */
    --vm-accent: #C0392B;     /* Сдержанный красный для акцентов */
    --vm-bg: #FFFFFF;
    --vm-bg-alt: #F4F4F4;     /* Газетный фон */
    --vm-text: #2C3E50;
    --vm-text-light: #7F8C8D;
    --vm-border: #DDDDDD;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: var(--vm-bg);
    color: var(--vm-text);
    line-height: 1.6;
    font-size: 17px;
}

h1, h2, h3, h4, h5 {
    font-family: 'Libre Baskerville', serif;
    color: var(--vm-primary);
    margin-bottom: 0.8em;
    font-weight: 700;
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: 0.2s; }
a:hover { color: var(--vm-accent); }
img { max-width: 100%; height: auto; display: block; }

/* =========================================
   2. LAYOUT
   ========================================= */
.vm-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.vm-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--vm-border);
}

/* =========================================
   3. HEADER (Magazine Style)
   ========================================= */
.vm-top-bar {
    background: var(--vm-primary);
    color: #fff;
    font-size: 12px;
    padding: 8px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vm-header {
    padding: 30px 0;
    border-bottom: 4px solid var(--vm-primary);
    background: var(--vm-bg);
}

.vm-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vm-logo {
    font-family: 'Libre Baskerville', serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--vm-primary);
}

.vm-logo img { width: 40px; }

/* Navigation */
.vm-nav { margin-top: 20px; border-top: 1px solid var(--vm-border); padding-top: 15px; }
.vm-menu { display: flex; justify-content: center; gap: 40px; }
.vm-menu a {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--vm-text);
    position: relative;
}
.vm-menu a::after {
    content: ''; position: absolute; width: 0; height: 2px; 
    bottom: -5px; left: 0; background: var(--vm-accent); transition: 0.3s;
}
.vm-menu a:hover::after { width: 100%; }

.vm-burger { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

/* =========================================
   4. HERO (Featured Article)
   ========================================= */
.vm-hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}

.vm-hero-img {
    position: relative;
}
.vm-hero-img img { width: 100%; filter: brightness(0.9); }

.vm-tag {
    background: var(--vm-accent);
    color: #fff;
    padding: 4px 10px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.vm-hero-content h1 { font-size: 2.8rem; }
.vm-lead { font-size: 1.1rem; color: var(--vm-text-light); margin-bottom: 25px; font-style: italic; }
.vm-read-more {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--vm-primary);
    padding-bottom: 3px;
}

/* =========================================
   5. GRID ARTICLES
   ========================================= */
.vm-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 30px;
}

.vm-card {
    display: flex;
    flex-direction: column;
}

.vm-card-img {
    margin-bottom: 15px;
    overflow: hidden;
}
.vm-card-img img { transition: 0.5s; width: 100%; height: 220px; object-fit: cover; }
.vm-card:hover img { transform: scale(1.05); }

.vm-card-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.vm-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.vm-card p { font-size: 0.95rem; color: var(--vm-text-light); margin-bottom: 15px; }

/* =========================================
   6. SIDEBAR & ARTICLE PAGE
   ========================================= */
.vm-page-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.vm-article-body { font-family: 'Libre Baskerville', serif; font-size: 1.1rem; }
.vm-article-body p { margin-bottom: 20px; text-align: justify; }
.vm-article-body h2 { margin-top: 40px; font-size: 1.6rem; border-bottom: 2px solid var(--vm-bg-alt); padding-bottom: 10px; }

.vm-sidebar-box {
    background: var(--vm-bg-alt);
    padding: 30px;
    margin-bottom: 30px;
}
.vm-sidebar-title { font-size: 16px; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid var(--vm-border); padding-bottom: 10px; margin-bottom: 20px; }

/* =========================================
   7. FOOTER & FORMS
   ========================================= */
.vm-form-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--vm-border);
    font-family: inherit;
}
.vm-btn {
    background: var(--vm-primary);
    color: #fff;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    width: 100%;
}
.vm-btn:hover { background: #122b44; }

.vm-footer {
    background: #111;
    color: #fff;
    padding: 60px 0;
    font-size: 14px;
}
.vm-footer h4 { color: #fff; margin-bottom: 20px; }
.vm-footer a { color: #888; }
.vm-footer a:hover { color: #fff; }
.vm-footer-bottom {
    border-top: 1px solid #222;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: #555;
    font-size: 12px;
}

/* COOKIE */
.vm-cookie {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: #fff; padding: 20px; box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    display: none; align-items: center; justify-content: space-between; z-index: 9999;
}

/* MOBILE */
@media (max-width: 768px) {
    .vm-hero-grid, .vm-page-layout, .vm-grid-3 { grid-template-columns: 1fr; gap: 30px; }
    .vm-menu { display: none; flex-direction: column; align-items: center; padding: 20px 0; }
    .vm-menu.active { display: flex; }
    .vm-burger { display: block; }
    .vm-header-inner { flex-wrap: wrap; }
    .vm-nav { width: 100%; }
}