  .magazine-home{max-width:1200px;margin:40px auto;display:flex;flex-direction:column;gap:48px;}
    .screen{display:grid;gap:24px;aspect-ratio:16/9;}
.screen-a{grid-template-columns:3fr 1fr;grid-template-areas:"big s1" "big s2";}
.screen-b{grid-template-columns:1fr 3fr;grid-template-areas:"s1 big" "s2 big";}
    .screen-a .featured{grid-area:big;}
    .screen-a .small:nth-of-type(2){grid-area:s1;}
    .screen-a .small:nth-of-type(3){grid-area:s2;}
    .screen-b .featured{grid-area:big;}
    .screen-b .small:nth-of-type(1){grid-area:s1;}
    .screen-b .small:nth-of-type(2){grid-area:s2;}

    /* Карточка — растягиваем ссылку на всю область через ::after */
    .card{border:1px solid #d8d8d8;border-radius:12px;background:#fff;overflow:hidden;display:flex;flex-direction:column;position:relative;transition:transform .35s ease, box-shadow .35s ease;}
.card:hover{transform:translateY(-2px);box-shadow:0 2px 8px rgba(0,0,0,0.06);}
    .main-post-link{color:inherit;text-decoration:none;}
    .main-post-link::after{content:"";position:absolute;inset:0;z-index:1;}

    .featured .thumb{aspect-ratio:740/493;background:#d8d8d8;}
    .featured .content{padding:20px;}
    .featured .latest_heading_two{margin:0 0 12px;font-size:28px;line-height:1.2;}
    .featured p{margin:0;color:#666;line-height:1.6;}

    .small{flex-direction:column;}

.small .thumb{
    width:100%;
    aspect-ratio:740/493;
    background:#d8d8d8;
    flex-shrink:0;
}

.thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
    .small .content{padding:18px;display:flex;flex-direction:column;justify-content:center;}
    .small .post-heading{margin:0 0 10px;font-size:20px;line-height:1.3;}
    .small p{margin:0;color:#666;font-size:15px;line-height:1.5;}

    .visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;}

        @media (max-width:900px){

        .screen{
            grid-template-columns:1fr;
            aspect-ratio:auto;
        }

        .screen-a,
        .screen-b{
            grid-template-areas:
                "big"
                "s1"
                "s2";
        }
    }

/* Отрывки с разметкой: абзацы, списки, таблицы */
.card .card-excerpt{color:#666;line-height:1.6;}
.small .card-excerpt{font-size:15px;line-height:1.5;}

.card .card-excerpt > * + *{margin-top:8px;}

.card .card-excerpt ul,
.card .card-excerpt ol{margin:0;padding-left:1.3em;}
.card .card-excerpt ul{list-style:disc;}
.card .card-excerpt ol{list-style:decimal;}
.card .card-excerpt li{margin:0 0 4px;}

.card .card-excerpt table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;font-size:14px;line-height:1.4;}
.card .card-excerpt th,
.card .card-excerpt td{border:1px solid #d8d8d8;padding:6px 8px;text-align:left;vertical-align:top;}
.card .card-excerpt th{background:#f5f5f5;font-weight:600;}
    /* Заголовки внутри отрывков */
.card .card-excerpt h2,
.card .card-excerpt h3,
.card .card-excerpt h4,
.card .card-excerpt h5,
.card .card-excerpt h6{margin:12px 0 6px;color:#222;font-weight:600;line-height:1.3;}
.card .card-excerpt h2{font-size:20px;}
.card .card-excerpt h3{font-size:18px;}
.card .card-excerpt h4,
.card .card-excerpt h5,
.card .card-excerpt h6{font-size:16px;}
.small .card-excerpt h2{font-size:17px;}
.small .card-excerpt h3,
.small .card-excerpt h4,
.small .card-excerpt h5,
.small .card-excerpt h6{font-size:15px;}
.card .card-excerpt > h2:first-child,
.card .card-excerpt > h3:first-child,
.card .card-excerpt > h4:first-child{margin-top:0;}
