.news-detail-page {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #eee;
    padding: 28px 0 55px;
}

.news-detail-shell {
    max-width: 1520px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) 160px;
    gap: 22px;
    padding: 0 16px;
}

.news-side-ad {
    min-height: 600px;
}

.news-ad-box {
    width: 160px;
    min-height: 600px;
    background: #fff;
    border: 1px solid #cfcfcf;
    color: #bcbcbc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 38px 0;
    position: sticky;
    top: 90px;
}

.news-ad-box .ad-name {
    font-size: 18px;
    color: #d1d1d1;
}

.news-ad-box .ad-size {
    font-size: 42px;
    line-height: 1.25;
    font-weight: 900;
    color: #777;
    text-align: center;
}

.news-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 22px;
    align-items: start;
}

.news-detail-card {
    background: #fff;
    padding: 34px;
}

.news-category-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #d71920;
    color: #fff;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.news-detail-title {
    margin: 0 0 16px;
    color: #111;
    font-size: 42px;
    line-height: 1.16;
    font-weight: 900;
    letter-spacing: .3px;
}

.news-detail-summary {
    margin: 0 0 26px;
    color: #333;
    font-size: 21px;
    line-height: 1.45;
    font-weight: 700;
}

.news-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    color: #777;
    font-size: 14px;
    margin-bottom: 26px;
}

.news-meta-row span strong {
    color: #222;
}

.news-cover-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
    margin-bottom: 26px;
}

.news-share-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: #f7f7f7;
    padding: 14px 0;
    margin-bottom: 28px;
}

.news-share-buttons,
.news-font-buttons {
    display: flex;
    gap: 8px;
}

.news-share-buttons a,
.news-font-buttons button {
    width: 42px;
    height: 36px;
    border: 0;
    background: #334155;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    cursor: pointer;
}

.news-share-buttons a:hover,
.news-font-buttons button:hover {
    background: #d71920;
    color: #fff;
}

.news-content {
    color: #111;
    font-size: 20px;
    line-height: 1.78;
}

.news-content p {
    margin: 0 0 24px;
}

.news-source-box {
    margin-top: 34px;
    background: #f7f7f7;
    border-left: 4px solid #d71920;
    padding: 18px 22px;
    color: #111;
    font-size: 17px;
    font-weight: 700;
}

.news-source-box a {
    color: #d71920;
    text-decoration: none;
    font-weight: 900;
}

.news-section-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 36px 0 18px;
}

.news-section-title h2 {
    margin: 0;
    color: #111;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: .4px;
}

.news-section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #ccc;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.related-news-card {
    background: #fff;
    border: 1px solid #e2e2e2;
    color: #111;
    text-decoration: none;
    transition: .2s ease;
    overflow: hidden;
}

.related-news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 26px rgba(0,0,0,.08);
}

.related-news-card img {
    width: 100%;
    height: 145px;
    object-fit: cover;
    display: block;
}

.related-news-card-body {
    padding: 16px;
    border-bottom: 4px solid #d71920;
    min-height: 145px;
}

.related-news-card span {
    display: block;
    color: #d71920;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.related-news-card h3 {
    margin: 0;
    color: #111;
    font-size: 19px;
    line-height: 1.28;
    font-weight: 900;
}

/* Sidebar */
.news-sidebar-block {
    background: #fff;
    margin-bottom: 22px;
    border: 1px solid #d8d8d8;
}

.news-sidebar-head {
    height: 56px;
    background: #d5d5d5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border-left: 4px solid #d71920;
}

.news-sidebar-head h3 {
    margin: 0;
    color: #333;
    font-size: 24px;
    font-weight: 900;
}

.news-sidebar-head a {
    background: #666;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    padding: 7px 13px;
    font-size: 13px;
    font-weight: 800;
}

.news-sidebar-person {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 15px 16px;
    border-bottom: 1px solid #eee;
    color: #111;
    text-decoration: none;
}

.news-sidebar-person img,
.news-avatar-placeholder {
    width: 62px;
    height: 62px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #eee;
}

.news-avatar-placeholder {
    background: #d71920;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.news-sidebar-person strong {
    display: block;
    color: #d71920;
    margin-bottom: 5px;
    font-size: 15px;
}

.news-sidebar-person span {
    display: block;
    color: #111;
    font-size: 14px;
    line-height: 1.35;
}

.news-sidebar-list {
    padding: 12px 18px 16px;
}

.news-sidebar-item {
    display: block;
    color: #111;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    line-height: 1.35;
}

.news-sidebar-item::before {
    content: "›";
    color: #d71920;
    font-size: 28px;
    line-height: 0;
    margin-right: 6px;
    vertical-align: -3px;
}

.news-sidebar-item:hover {
    color: #d71920;
}

@media (max-width: 1350px) {
    .news-detail-shell {
        grid-template-columns: minmax(0, 1fr);
        max-width: 1180px;
    }

    .news-side-ad {
        display: none;
    }

    .news-detail-layout {
        grid-template-columns: minmax(0, 1fr) 330px;
    }
}

@media (max-width: 992px) {
    .news-detail-layout {
        grid-template-columns: 1fr;
    }

    .related-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-detail-title {
        font-size: 34px;
    }
}

@media (max-width: 700px) {
    .news-detail-card {
        padding: 20px;
    }

    .news-detail-title {
        font-size: 28px;
    }

    .news-detail-summary {
        font-size: 18px;
    }

    .news-content {
        font-size: 18px;
        line-height: 1.7;
    }

    .news-share-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .related-news-grid {
        grid-template-columns: 1fr;
    }
}