* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h2 {
    font-family: 'Lora', serif;
    color: #1a1a1a;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

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

.grid-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

header {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 30px;
    border-bottom: 2px solid #000;
}

.site-title {
    font-size: 3rem;
    letter-spacing: -1px;
    margin: 20px 0;
}

.main-menu, .breadcrumbs, .top-nav {
    margin: 10px 0;
}

.main-menu a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    margin: 0 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.breadcrumbs {
    font-size: 0.8rem;
    color: #777;
}

.sidebar {
    border-left: 1px solid #ddd;
    padding-left: 40px;
}

.sidebar h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.category {
    font-size: 0.8rem;
    font-weight: bold;
    color: #b00;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.meta {
    font-size: 0.8rem;
    font-style: italic;
    text-transform: uppercase;
    color: #666;
    border-top: 1px solid #ccc;
    padding-top: 10px;
    margin-bottom: 20px;
}

footer {
    text-align: center;
    max-width: 1080px;
    margin: 50px auto 0;
    padding: 30px 20px;
    border-top: 1px solid #000;
    font-size: 0.8rem;
    color: #555;
}

footer a {
    color: #555;
    text-decoration: none;
    margin: 0 10px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .sidebar {
        border-left: none;
        padding-left: 0;
    }
    .site-title {
        font-size: 2rem;
    }
}

.news-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    margin: 20px 0;
    border-radius: 4px;
    background-color: #eee;
    min-width: 0;
    max-width: 100%;
}

.news-image:not([src]) {
    display: none;
}

article {
    display: block;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc; /* ТА САМАЯ РАЗДЕЛИТЕЛЬНАЯ ЧЕРТА */
}

article:last-child {
    border-bottom: none;
}
