.news-detail-page {
    background: #ffffff;
    color: #0f172a;
    overflow: hidden;
}

/* ================= HERO ================= */

.news-detail-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: #0f172a;
    overflow: hidden;
}

.news-detail-hero-bg,
.news-detail-hero-overlay {
    position: absolute;
    inset: 0;
}

.news-detail-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .42;
}

.news-detail-hero-overlay {
    background:
        radial-gradient(circle at 80% 20%, rgba(37, 99, 235, .28), transparent 35%),
        linear-gradient(90deg, rgba(15, 23, 42, .98), rgba(15, 23, 42, .82), rgba(15, 23, 42, .45));
}

.news-detail-hero-content {
    position: relative;
    z-index: 2;
    padding: 90px 0;
}

.news-detail-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: rgba(255,255,255,.72);
    font-size: 14px;
    margin-bottom: 22px;
}

.news-detail-breadcrumb a {
    color: rgba(255,255,255,.82);
    text-decoration: none;
}

.news-detail-breadcrumb strong {
    color: #ffffff;
}

.news-detail-badge {
    display: inline-flex;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: #2563eb;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 18px;
}

.news-detail-hero h1 {
    max-width: 920px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(38px, 5vw, 70px);
    line-height: 1.05;
    letter-spacing: -2px;
    font-weight: 900;
}

.news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.news-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.84);
    font-weight: 800;
}

.news-detail-meta i {
    color: #60a5fa;
    font-size: 20px;
}

/* ================= CONTENT LAYOUT ================= */

.news-detail-content {
    padding: 70px 0 90px;
    background: #ffffff;
}

.news-detail-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 34px;
    align-items: start;
}

.news-detail-main {
    min-width: 0;
}

.news-detail-cover {
    width: 100%;
    height: 470px;
    border-radius: 30px;
    overflow: hidden;
    background: #e2e8f0;
    box-shadow: 0 28px 80px rgba(15,23,42,.1);
    margin-bottom: 34px;
}

.news-detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-detail-body {
    color: #334155;
    font-size: 17px;
    line-height: 1.9;
}

.news-detail-body h2,
.news-detail-body h3,
.news-detail-body h4 {
    color: #0f172a;
    line-height: 1.25;
    letter-spacing: -.6px;
    margin-top: 32px;
    margin-bottom: 14px;
}

.news-detail-body h2 {
    font-size: 34px;
}

.news-detail-body h3 {
    font-size: 26px;
}

.news-detail-body p {
    margin: 0 0 18px;
}

.news-detail-body ul,
.news-detail-body ol {
    margin: 18px 0;
    padding-left: 24px;
}

.news-detail-body li {
    margin-bottom: 10px;
}

.news-detail-body img {
    max-width: 100%;
    border-radius: 22px;
    margin: 22px 0;
}

.news-detail-body blockquote {
    margin: 30px 0;
    padding: 24px 28px;
    border-left: 5px solid #2563eb;
    background: #eff6ff;
    border-radius: 20px;
    color: #0f172a;
    font-weight: 800;
}
/* ================= SECTION TITLES ================= */

.article-section-title {
    margin: 52px 0 24px;
}

.article-section-title span {
    display: inline-flex;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .08);
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 14px;
}

.article-section-title h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.15;
    letter-spacing: -1px;
    font-weight: 900;
}

/* ================= ARTICLE GALLERY ================= */

.article-gallery {
    margin-top: 20px;
}

.article-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.article-gallery-item {
    position: relative;
    height: 230px;
    border-radius: 24px;
    overflow: hidden;
    background: #e2e8f0;
    display: block;
    box-shadow: 0 20px 55px rgba(15, 23, 42, .07);
}

.article-gallery-item::after {
    content: "\ea6e";
    font-family: "remixicon";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(15, 23, 42, .45);
    color: #ffffff;
    font-size: 30px;
    opacity: 0;
    transition: .25s ease;
}

.article-gallery-item:hover::after {
    opacity: 1;
}

.article-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s ease;
}

.article-gallery-item:hover img {
    transform: scale(1.06);
}

/* ================= ATTACHMENTS ================= */

.article-attachments {
    margin-top: 20px;
}

.attachments-grid {
    display: grid;
    gap: 14px;
}

.attachment-card {
    display: grid;
    grid-template-columns: 54px 1fr 34px;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    text-decoration: none;
    box-shadow: 0 16px 45px rgba(15, 23, 42, .05);
    transition: .25s ease;
}

.attachment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 65px rgba(15, 23, 42, .09);
    border-color: rgba(37, 99, 235, .25);
}

.attachment-card > div:first-child {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 26px;
}

.attachment-card strong {
    display: block;
    color: #0f172a;
    font-size: 16px;
    margin-bottom: 5px;
}

.attachment-card span {
    display: block;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.attachment-card > i {
    color: #1d4ed8;
    font-size: 24px;
}

/* ================= SHARE ================= */

.article-share {
    margin-top: 52px;
    padding: 26px;
    border-radius: 28px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.article-share h3 {
    margin: 0;
    color: #0f172a;
    font-size: 22px;
}

.article-share > div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.article-share a,
.article-share button {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    border: 0;
    background: #ffffff;
    color: #1d4ed8;
    display: grid;
    place-items: center;
    font-size: 21px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
    transition: .25s ease;
}

.article-share a:hover,
.article-share button:hover {
    transform: translateY(-3px);
    background: #1d4ed8;
    color: #ffffff;
}
/* ================= SIDEBAR ================= */

.news-detail-sidebar {
    position: sticky;
    top: 90px;
    display: grid;
    gap: 18px;
}

.sidebar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, .06);
}

.sidebar-card h3 {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: 22px;
}

.article-info-card {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #ffffff;
    border: 0;
}

.article-info-card h3 {
    color: #ffffff;
}

.article-info-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-info-card li {
    display: flex;
    gap: 14px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.article-info-card li:last-child {
    border-bottom: 0;
}

.article-info-card i {
    color: #60a5fa;
    font-size: 22px;
}

.article-info-card span {
    display: block;
    color: rgba(255,255,255,.68);
    font-size: 13px;
}

.article-info-card strong {
    display: block;
    color: #ffffff;
    margin-top: 4px;
}

/* ================= RECENT ================= */

.recent-card {
    display: grid;
    gap: 14px;
}

.recent-item {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.recent-item:last-of-type {
    border-bottom: 0;
}

.recent-item img {
    width: 78px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
    background: #e2e8f0;
}

.recent-item strong {
    display: block;
    color: #0f172a;
    line-height: 1.35;
    font-size: 14px;
}

.recent-item span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    margin-top: 6px;
}

.all-news-link {
    margin-top: 8px;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 15px;
    background: #eff6ff;
    color: #1d4ed8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 900;
}

/* ================= CATEGORIES ================= */

.categories-card {
    display: grid;
    gap: 10px;
}

.categories-card a {
    min-height: 46px;
    padding: 0 14px;
    border-radius: 15px;
    background: #f8fafc;
    color: #0f172a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    font-weight: 800;
    transition: .25s ease;
}

.categories-card a:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.categories-card strong {
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #ffffff;
    color: #1d4ed8;
    display: grid;
    place-items: center;
    font-size: 12px;
}

/* ================= ANIMATIONS ================= */

.news-detail-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
}

.news-detail-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1100px) {
    .news-detail-layout {
        grid-template-columns: 1fr;
    }

    .news-detail-sidebar {
        position: relative;
        top: auto;
        grid-template-columns: repeat(2, 1fr);
    }

    .article-info-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 800px) {
    .news-detail-cover {
        height: 340px;
        border-radius: 24px;
    }

    .article-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-share {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-detail-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .news-detail-hero {
        min-height: auto;
    }

    .news-detail-hero-content {
        padding: 65px 0;
    }

    .news-detail-hero h1 {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .news-detail-content {
        padding: 50px 0 70px;
    }

    .news-detail-cover {
        height: 260px;
    }

    .article-gallery-grid {
        grid-template-columns: 1fr;
    }

    .article-gallery-item {
        height: 250px;
    }

    .attachment-card {
        grid-template-columns: 48px 1fr;
    }

    .attachment-card > i {
        display: none;
    }

    .sidebar-card,
    .article-share {
        border-radius: 22px;
    }
}
.news-detail-sidebar .recent-item {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 12px;
    align-items: center;
    text-decoration: none;
}

.news-detail-sidebar .recent-item img {
    width: 86px;
    height: 72px;
    object-fit: cover;
    border-radius: 14px;
}

.news-detail-sidebar .categories-card a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 46px;
    padding: 0 14px;
    margin-bottom: 8px;
    border-radius: 14px;
    background: #f8fafc;
    text-decoration: none;
    color: #0f172a;
    font-weight: 800;
}

.news-detail-sidebar .categories-card strong {
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #1d4ed8;
    display: grid;
    place-items: center;
}