/* Посты на главной: две колонки, но фото крупнее и единого формата */

/* Все фото постов — единый aspect ratio 16:9 с cover */
#main > .posts > article .image.main img {
    border-radius: 10px;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Featured пост сверху — чуть выделить */
article.post.featured {
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding-bottom: 3rem;
    margin-bottom: 1rem;
}

article.post.featured .image.main img {
    border-radius: 12px;
    aspect-ratio: 16/9;
    object-fit: cover;
}

article.post.featured header.major h2 {
    font-size: 1.8em;
}

/* Hover-эффект для кликабельных карточек */
.posts article {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-radius: 12px;
}

.posts article:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

article.post.featured {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

article.post.featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
