.news-hub,
.category-page,
.single-news {
    background: #f7f2e8;
    padding: 64px 0;
}

.news-hub .container,
.category-page .container,
.single-news .container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.news-hub a,
.category-page a,
.single-news a {
    color: #0b3b2f;
}

.news-hub .card,
.category-page .card,
.single-news .card,
.news-hub .section-header,
.category-page .section-header {
    background: #fff;
    border: 1px solid rgba(31, 43, 38, .08);
    box-shadow: 0 14px 42px rgba(31, 43, 38, .06);
}

.news-hub .badge,
.category-page .badge,
.single-news .badge {
    background: rgba(212, 168, 67, .18) !important;
    color: #0b3b2f !important;
}

.single-news {
    --bs-primary: #D4A843;
    --bs-primary-rgb: 212, 168, 67;
    --bs-link-color: #0b3b2f;
    --bs-link-hover-color: #D4A843;
    padding-top: 42px !important;
}

.single-news .breadcrumb {
    background: #fff;
    border: 1px solid rgba(31, 43, 38, .08);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(31, 43, 38, .05);
    display: inline-flex;
    padding: 10px 16px;
}

.single-news .article-header {
    background: #fff;
    border: 1px solid rgba(31, 43, 38, .08);
    border-radius: 18px;
    box-shadow: 0 14px 42px rgba(31, 43, 38, .06);
    padding: clamp(24px, 4vw, 44px);
}

.news-wide-container {
    width: min(1480px, calc(100% - 48px));
    margin: 0 auto;
}

.news-body-grid {
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr) minmax(280px, 340px);
    gap: 28px;
    align-items: start;
}

.news-sidebar {
    position: sticky;
    top: calc(var(--nav-height) + 24px);
}

.news-detail-content {
    padding: clamp(20px, 3vw, 40px);
    border: 1px solid rgba(31, 43, 38, .08);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(11, 59, 47, .08);
}

.news-featured-media {
    margin: 0 0 30px;
}

.news-featured-media img {
    display: block;
    width: 100%;
    aspect-ratio: 21 / 8;
    object-fit: cover;
    border-radius: 18px !important;
}

.news-ai-summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 0 0 34px;
    padding: 20px 24px;
    border: 1px solid rgba(212, 168, 67, .28);
    border-left: 4px solid #D4A843;
    border-radius: 20px;
    color: #0b3b2f;
    background: linear-gradient(135deg, rgba(11, 59, 47, .98), rgba(21, 87, 70, .94));
    box-shadow: 0 14px 32px rgba(11, 59, 47, .14);
}

.news-ai-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(212, 168, 67, .28);
}

.news-ai-title h4 {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
}

.news-ai-title i {
    color: #D4A843;
    font-size: 18px;
}

.news-ai-summary p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
}

.news-ai-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.news-ai-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid rgba(212, 168, 67, .3);
    border-radius: 12px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.news-ai-links a:hover {
    border-color: #D4A843;
    background: rgba(212, 168, 67, .16);
}

.single-news .article-header h1 {
    color: #1c2d2a;
    font-size: clamp(34px, 5vw, 62px);
    letter-spacing: 0;
    line-height: 1.08;
}

.single-news .article-deck {
    border-color: #D4A843 !important;
    color: #3d4b47 !important;
    line-height: 1.65;
}

.single-news .article-header i,
.single-news .article-content i,
.single-news .toc-box i,
.single-news .related-news i {
    color: #D4A843;
}

.single-news figure img {
    border-radius: 18px !important;
    box-shadow: 0 18px 48px rgba(31, 43, 38, .12);
}

.single-news .bg-light {
    background: #fffdf7 !important;
}

.single-news .border,
.single-news .border-top,
.single-news .border-bottom {
    border-color: rgba(31, 43, 38, .12) !important;
}

.single-news .toc-box {
    padding: 24px;
    border: 1px solid rgba(31, 43, 38, .08);
    border-left: 4px solid #D4A843 !important;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 42px rgba(31, 43, 38, .06) !important;
}

.single-news .toc-box h4 {
    margin: 0 0 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(31, 43, 38, .12);
    color: #1c2d2a;
    font-size: 22px;
    font-weight: 800;
}

.single-news .toc-box ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.single-news .toc-box a {
    display: block;
    padding: 7px 0;
    color: #0b3b2f;
    font-size: 15px;
    line-height: 1.45;
    text-decoration: none;
}

.single-news .toc-box a:hover {
    color: #D4A843;
}

.single-news .social-share a {
    background: #0b3b2f !important;
}

.single-news .social-share a:hover {
    background: #D4A843 !important;
    opacity: 1;
}

.single-news .btn-dark {
    background: #0b3b2f;
    border-color: #0b3b2f;
}

.single-news .btn-outline-dark {
    border-color: #0b3b2f;
    color: #0b3b2f;
}

.single-news .btn-outline-dark:hover {
    background: #0b3b2f;
    border-color: #0b3b2f;
}

.single-news .related-news article {
    border-radius: 14px;
    padding: 10px;
    transition: background .2s ease, transform .2s ease;
}

.single-news .related-news article:hover {
    background: #fff;
    transform: translateY(-2px);
}

.recent-blog-box {
    padding: 24px;
    border: 1px solid rgba(31, 43, 38, .08);
    border-left: 4px solid #D4A843;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(11, 59, 47, .08);
}

.recent-blog-box h4 {
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(31, 43, 38, .12);
    color: #1c2d2a;
    font-size: 22px;
    font-weight: 800;
}

.recent-blog-list {
    display: grid;
    gap: 18px;
}

.recent-blog-item {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    color: #1c2d2a;
    text-decoration: none;
}

.recent-blog-item img,
.recent-blog-item > span {
    width: 82px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    background: #0b3b2f;
    color: #D4A843;
}

.recent-blog-item > span {
    display: grid;
    place-items: center;
    font-size: 24px;
}

.recent-blog-item strong {
    display: block;
    min-width: 0;
    color: #1c2d2a;
    font-size: 14px;
    line-height: 1.35;
}

.recent-blog-item small {
    grid-column: 1 / -1;
    color: #64726d;
    font-weight: 800;
}

.recent-blog-item:hover strong {
    color: #0b3b2f;
}

.news-related-section {
    padding-top: 68px;
}

.news-related-section h2 {
    margin-bottom: 24px;
    color: #1c2d2a;
    font-size: clamp(28px, 3vw, 40px);
}

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

.news-related-card a {
    display: grid;
    gap: 12px;
    height: 100%;
    padding: 16px;
    border: 1px solid rgba(31, 43, 38, .08);
    border-radius: 18px;
    background: #fff;
    color: #1c2d2a;
    text-decoration: none;
    box-shadow: 0 14px 36px rgba(11, 59, 47, .07);
}

.news-related-card img,
.news-related-card a > span {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    object-fit: cover;
    background: #0b3b2f;
    color: #D4A843;
}

.news-related-card a > span {
    display: grid;
    place-items: center;
    font-size: 34px;
}

.news-related-card strong {
    line-height: 1.35;
}

.news-related-card small {
    color: #64726d;
    font-weight: 800;
}

.news-hub .btn-outline-success,
.category-page .btn-outline-success {
    border-color: #0b3b2f;
    color: #0b3b2f;
}

.news-hub .btn-outline-success:hover,
.category-page .btn-outline-success:hover,
.category-page .btn-success {
    background: #0b3b2f;
    border-color: #0b3b2f;
    color: #fff;
}

.news-card,
.news-hub .card {
    transition: transform .25s ease, box-shadow .25s ease;
}

.news-card:hover,
.news-hub .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(31, 43, 38, .12) !important;
}

.news-hub img,
.category-page img,
.single-news img {
    max-width: 100%;
}

.article-content {
    color: #1f2b26;
}

.article-content h2,
.article-content h3 {
    color: #0b3b2f;
    margin-top: 2rem;
}

.article-content p,
.article-content li {
    font-size: 18px;
    line-height: 1.8;
}

.custom-html-wrapper {
    margin-top: 36px;
}

@media (max-width: 991.98px) {
    .single-news .breadcrumb {
        border-radius: 14px;
    }

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

    .news-sidebar {
        position: static;
    }

    .news-featured-media img {
        aspect-ratio: 16 / 9;
    }

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

@media (max-width: 640px) {
    .news-wide-container {
        width: min(100% - 28px, 1480px);
    }

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

    .news-ai-links a {
        width: 100%;
    }
}
