.news-detail-page .news-detail-main {
    padding: 2rem 0 3.5rem;
}

.news-detail-page .article-detail-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-top: 1.5rem;
}

.news-detail-page .article-detail-layout__primary {
    flex: 1;
    min-width: 0;
    max-width: calc(100% - 21.5rem);
}

.news-detail-page .article-detail {
    margin: 0;
}

.news-detail-page .article-detail__head {
    margin-bottom: 1.5rem;
}

.news-detail-page .article-detail__title {
    margin: 0 0 1rem;
    font-family: var(--font-josefin), sans-serif;
    font-size: clamp(1.375rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.35;
    color: var(--footer-emerald, #006f45);
    letter-spacing: 0.02em;
}

.news-detail-page .article-detail__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.5rem;
    font-family: var(--font-poppins), sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--footer-emerald, #006f45);
}

.news-detail-page .article-detail__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.news-detail-page .article-detail__meta-icon {
    flex-shrink: 0;
    font-size: 0.875rem;
    opacity: 0.9;
}

.news-detail-page .article-detail__meta-sep {
    opacity: 0.75;
}

.news-detail-page .article-detail__figure {
    margin: 0 0 1.75rem;
    border-radius: 0.1875rem;
    overflow: hidden;
    background: #f4f4f4;
}

.news-detail-page .article-detail__img {
    display: block;
    width: 100%;
    height: auto;
}

.news-detail-page .article-detail__content-shell {
    background: transparent;
    border-radius: 0;
    padding: 0;
}

/* Prose (CMS HTML) */
.news-detail-page .article-detail__prose {
    font-family: var(--font-poppins), sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: #4f4d4e;
}

.news-detail-page .article-detail__prose > *:first-child {
    margin-top: 0;
}

.news-detail-page .article-detail__prose > *:last-child {
    margin-bottom: 0;
}


.news-detail-page .article-detail__prose p {
    margin: 0 0 1rem;
}

.news-detail-page .article-detail__prose ul,
.news-detail-page .article-detail__prose ol {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

.news-detail-page .article-detail__prose li {
    margin-bottom: 0.375rem;
}

.news-detail-page .article-detail__prose a {
    color: var(--footer-emerald, #006f45);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.news-detail-page .article-detail__prose a:hover {
    opacity: 0.88;
}

.news-detail-page .article-detail__prose img {
    max-width: 100%;
    height: auto;
}

.news-detail-page .article-detail__prose blockquote {
    margin: 1.25rem 0;
    padding: 0.75rem 1rem;
    border-left: 0.25rem solid var(--footer-emerald, #006f45);
    background: #f8faf9;
    font-style: normal;
    color: #484646;
}
/* TOC column */
.news-detail-page .article-detail-layout__aside {
    flex: 0 0 20rem;
    max-width: 20rem;
    width: 100%;
    position: sticky;
    top: 5rem;
}

.news-detail-page .table-of-contents {
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 0.25rem;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.04);
}

.news-detail-page .content-title-left {
    padding: 0.875rem 1rem;
    background: #f4f4f4;
    border-bottom: 1px solid #ededed;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.news-detail-page .content-title-left:hover {
    background: #efefef;
}

.news-detail-page .content-title-left .title {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-josefin), sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--footer-emerald, #006f45);
}

.news-detail-page .article-detail-toc__title-icon {
    font-size: 0.9375rem;
    opacity: 0.95;
}

.news-detail-page .hide-content-title-left {
    color: #484646;
    transition: color 0.2s ease;
}

.news-detail-page .hide-content-title-left:hover {
    color: var(--footer-emerald, #006f45);
}

.news-detail-page .content-body {
    max-height: 24rem;
}

.news-detail-page .toc-link {
    color: #484646;
    font-family: var(--font-poppins), sans-serif;
    font-size: 0.8125rem;
}

.news-detail-page .toc-link:hover {
    color: var(--footer-emerald, #006f45);
}

.news-detail-page .toc-link.active {
    color: var(--footer-emerald, #006f45);
    font-weight: 600;
    background: rgba(0, 111, 69, 0.06);
}

.news-detail-page .toc-number {
    color: #757575;
}

.news-detail-page .toc-loading,
.news-detail-page .toc-empty {
    color: #757575;
    font-style: normal;
    font-family: var(--font-poppins), sans-serif;
}

@media (max-width: 1199px) {
    .news-detail-page .article-detail-layout {
        flex-direction: column;
        gap: 1.5rem;
    }

    .news-detail-page .article-detail-layout__primary {
        max-width: 100%;
    }

    .news-detail-page .article-detail-layout__aside {
        flex: none;
        max-width: 100%;
    }

    .news-detail-page .article-detail-toc {
        position: static;
    }
}

@media (max-width: 991px) {
    .news-detail-page .article-detail-layout {
        flex-direction: column-reverse;
    }

    .news-detail-page .news-detail-main {
        padding-top: 1rem;
    }
}

@media (max-width: 767px) {
    .news-detail-page .article-detail__title {
        font-size: 1.375rem;
    }

    .news-detail-page .content-body {
        max-height: 18rem;
    }
}
