body.news-article {
    background: #080808;
    color: #f4f0e6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-transform: uppercase;
}

body.news-article a {
    color: #d4af37;
}

body.news-article .navbar {
    background: rgba(0,0,0,.92);
    border-bottom: 1px solid rgba(212,175,55,.18);
}

body.news-article .navbar-brand {
    color: var(--gold) !important;
}

body.news-article .nav-link {
    color: #f4f0e6 !important;
}

body.news-article .nav-link:hover {
    color: var(--gold) !important;
}

/* layout spacing is handled by shared rules; avoid page-specific !important overrides */

body.news-article .btn-gold {
    background: #d4af37;
    color: #111;
    border-color: #d4af37;
}

body.news-article .btn-gold:hover,
body.news-article .btn-gold:focus {
    background: #c49c2d;
    color: #111;
}

body.news-article .related-links {
    padding: 1.8rem 1.6rem;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 1rem;
    background: rgba(10,10,10,.88);
    margin: 3rem 0;
}

body.news-article .related-links .title {
    margin-bottom: 1.2rem;
    color: #ffffff;
    text-align: left;
}

body.news-article .related-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

body.news-article .related-links li {
    margin-bottom: 0.9rem;
}

body.news-article .related-links a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: color .2s ease;
}

body.news-article .related-links a:hover,
body.news-article .related-links a:focus {
    color: rgba(212,175,55,.95);
}

body.news-article .featured-projects-card {
    background: rgba(10, 10, 10, 0.92);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 32px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.30);
    max-width: 980px;
    margin: 0 auto 1.5rem;
}

body.news-article .featured-projects-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 24px 28px;
    gap: 12px;
    cursor: pointer;
    color: var(--page-text);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .25px;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.12), rgba(255,255,255,0.04));
}

body.news-article .featured-projects-summary::-webkit-details-marker,
body.news-article .featured-projects-summary::marker {
    display: none;
}

body.news-article .featured-projects-summary span:first-child {
    letter-spacing: .5px;
}

body.news-article .featured-projects-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: rgba(212, 175, 55, 0.14);
}

body.news-article .featured-projects-icon i {
    transition: transform .25s ease;
}

body.news-article details[open] .featured-projects-icon i {
    transform: rotate(180deg);
}

body.news-article .featured-projects-list {
    display: grid;
    gap: 0;
    background: rgba(255,255,255,0.06);
}

body.news-article .featured-projects-list a:not(:last-child) {
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

body.news-article .featured-projects-item {
    display: grid;
    grid-template-columns: minmax(180px, 1.8fr) minmax(140px, 1fr) minmax(140px, 1fr);
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    background: rgba(0, 0, 0, 0.78);
    color: var(--page-text);
    text-decoration: none;
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

body.news-article .featured-projects-item:hover,
body.news-article .featured-projects-item:focus-visible {
    background: rgba(255,255,255,0.06);
    transform: translateX(1px);
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.08);
}

body.news-article .featured-projects-item .project-name {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

body.news-article .featured-projects-item .project-location,
body.news-article .featured-projects-item .project-price {
    color: rgba(214, 203, 187, 0.92);
    font-size: .95rem;
}

body.news-article .featured-projects-item .project-price {
    font-weight: 700;
    color: var(--gold);
}

body.news-article .featured-projects-current {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.08), rgba(255,255,255,0.04));
    border-left: 4px solid rgba(212, 175, 55, 0.9);
}

body.news-article .featured-projects-item {
    grid-template-columns: 1fr;
    text-align: left;
}

body.news-article .featured-projects-summary {
    padding: 20px 22px;
}

body.news-article .featured-projects-card {
    border-radius: 24px;
}

body.news-article .featured-projects-summary {
    padding: 16px 18px;
    font-size: 0.98rem;
}

body.news-article .featured-projects-item {
    padding: 16px 18px;
}

body.news-article main.section {
    padding-top: 0;
    padding-bottom: 0;
}

.hero-banner,
.hero.hero-vd3 {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 90px 24px 60px;
    background-size: cover;
    background-position: top center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.news-article .hero {
    background: none !important;
}
.hero-banner,
.hero.hero-vd3 {
    background-color: rgba(0,0,0,.40);
    background-blend-mode: multiply;
    filter: none;
}
.hero-banner::before,
.hero.hero-vd3::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.25);
    z-index: 1;
}

.hero-banner {
    background: url('../images/news/vanhdai3-new.webp') center/cover no-repeat;
}

.hero.hero-vd3 {
    background: url('../images/news/hero-banner.webp') center/cover no-repeat !important;
    text-align: center;
    justify-items: center;
}

.hero-banner .eyebrow,
.hero.hero-vd3 .hero-text {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero.hero-vd3 .hero-text {
    text-align: center;
}

.hero.hero-vd3 .hero-text .hero-label,
.hero.hero-vd3 .hero-text .hero-subtitle {
    color: #fff;
}

body.news-article .hero.hero-vd3 .hero-text h1,
body.news-article .news-main h2,
body.news-article .news-card h3,
body.news-article .news-card h4 {
    color: var(--gold) !important;
}

.hero.hero-vd3 .hero-text .hero-label {
    color: rgba(212,175,55,1);
}

@media (max-width: 1200px) {
    .hero-banner .eyebrow,
    .hero.hero-vd3 .hero-text {
        max-width: 920px;
    }
}

@media (max-width: 992px) {
    .hero-banner,
    .hero.hero-vd3 {
        min-height: 50vh;
        padding: 70px 18px 50px;
    }

    .hero-banner .eyebrow,
    .hero.hero-vd3 .hero-text {
        max-width: 100%;
        padding: 0 16px;
    }
}

@media (max-width: 992px) {
    .hero-banner,
    .hero.hero-vd3 {
        min-height: 52vh;
        padding: 80px 18px 50px;
    }

    .hero.hero-vd3 .hero-text h1 {
        max-width: 95%;
        font-size: clamp(2.4rem, 5vw, 3rem);
    }
}

@media (max-width: 576px) {
    .hero-banner,
    .hero.hero-vd3 {
        min-height: 48vh;
        padding: 56px 16px 36px;
    }

    .hero.hero-vd3 .hero-text {
        text-align: center;
        padding: 0 10px;
        gap: 0.9rem;
    }

    .hero.hero-vd3 .hero-text h1 {
        font-size: 1.9rem;
        line-height: 1.1;
        max-width: 100%;
        display: block;
        width: 100%;
    }

    .hero.hero-vd3 .hero-text h1 .hero-heading-line {
        display: inline;
        white-space: normal;
        max-width: 100%;
        width: auto;
    }

    .hero.hero-vd3 .hero-text .hero-subtitle {
        font-size: 0.95rem;
        max-width: 100%;
    }
}

/* Reduce hero height and scale typography on very small phones to avoid clipping */
@media (max-width: 420px) {
    .hero-banner,
    .hero.hero-vd3 {
        min-height: 52vh;
        padding: 36px 12px 18px;
        background-position: top center;
    }

    .hero-banner h1,
    .hero.hero-vd3 .hero-text h1 {
        font-size: 1.6rem;
        line-height: 1.06;
        margin-bottom: 8px;
    }

    .hero.hero-vd3 .hero-text .hero-label {
        font-size: 1rem;
    }

    .hero.hero-vd3 .hero-text .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* Final override: ensure hero is pushed below fixed navbar and headline scales on very small screens */
@media (max-width: 576px) {
    body.news-article .hero {
        padding-top: 120px !important;
        padding-bottom: 18px !important;
        min-height: 46vh !important;
    }

    body.news-article .hero .hero-text h1,
    .hero-banner h1 {
        font-size: 1.6rem !important;
        line-height: 1.04 !important;
        margin-bottom: 8px !important;
    }
}

@media (max-width: 420px) {
    body.news-article .hero {
        padding-top: 132px !important;
    }

    body.news-article .hero .hero-text h1,
    .hero-banner h1 {
        font-size: 1.4rem !important;
        line-height: 1.02 !important;
    }
}

.hero-banner .eyebrow {
    color: #d4af37;
    font-size: 0.95rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-banner h1 {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    line-height: 1.02;
    margin-bottom: 1rem;
    color: #fff;
    letter-spacing: -0.03em;
}

.hero-banner .meta {
    color: rgba(244,240,230,.78);
    font-size: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* News pages should reuse the shared `.project-hero` class (added to HTML) */


.news-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 24px 90px;
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.hero.hero-vd3 .hero-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.hero.hero-vd3 .hero-text h1 {
    max-width: 760px;
    margin: 0 auto;
    display: block;
    text-align: center;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.05;
    font-size: clamp(2.2rem, 3vw, 2.8rem);
}

.hero.hero-vd3 .hero-text h1 .hero-heading-line {
    display: inline-block;
    white-space: normal;
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.hero.hero-vd3 .hero-text .hero-subtitle {
    max-width: 760px;
    margin: 0 auto;
}

.hero.hero-vd3 .hero-text .hero-actions {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 0.8rem;
}

.hero.hero-vd3 .hero-text .hero-actions .btn-gold.hero-btn,
.hero.hero-vd3 .hero-text .hero-actions .hero-btn {
    width: fit-content;
    min-width: 250px;
    max-width: 380px;
    padding: 16px 44px;
}

@media (max-width: 992px) {
    .hero.hero-vd3 .hero-text .hero-actions .btn-gold.hero-btn,
    .hero.hero-vd3 .hero-text .hero-actions .hero-btn {
        min-width: 180px;
        max-width: 280px;
        padding: 14px 32px;
    }
}

@media (max-width: 576px) {
    .hero.hero-vd3 .hero-text .hero-actions .btn-gold.hero-btn,
    .hero.hero-vd3 .hero-text .hero-actions .hero-btn {
        width: 100%;
        min-width: auto;
        padding: 14px 24px;
    }
}

.news-main {
    background: rgba(18,18,18,.96);
    border: 1px solid rgba(212,175,55,.18);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
}

.news-main .article-header {
    padding: 26px 28px 0;
}

.news-main h2 {
    color: #fff;
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 0.9rem;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    color: rgba(244,240,230,.74);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.news-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.news-meta span::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #d4af37;
    border-radius: 50%;
}

.news-main .article-body {
    padding: 0 28px 28px;
    color: rgba(244,240,230,.92);
    line-height: 1.8;
    text-align: left !important;
}

.news-main .article-body p,
.news-main .article-body li,
.news-main .article-body a {
    color: rgba(244,240,230,.92);
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
}

.news-sidebar,
.news-card {
    text-align: left !important;
}

.news-main .article-body a {
    text-decoration: underline;
}

.news-main .article-body img {
    width: 100%;
    border-radius: 20px;
    margin: 24px 0;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    min-height: 280px;
    background: #111;
}

.news-main .article-body img[src=""] {
    display: none;
}

.hero.hero-vd3 {
    background: url('../images/news/hero-banner-vd3.webp') center/cover no-repeat;
}

.news-main .article-body ul {
    padding-left: 1.2rem;
    margin: 1.2rem 0;
}

.news-main .article-body ul li {
    margin-bottom: 0.9rem;
}

.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.news-card {
    background: rgba(12,12,12,.98);
    border: 1px solid rgba(212,175,55,.18);
    border-radius: 24px;
    padding: 24px;
}

.news-card h3,
.news-card h4 {
    color: #fff;
}

.news-card p,
.news-card li {
    color: rgba(244,240,230,.88);
}

.news-card ul {
    padding-left: 1rem;
    margin-top: 1rem;
}

.news-card ul li {
    margin-bottom: 0.8rem;
}

.news-card .note {
    background: rgba(212,175,55,.08);
    border: 1px solid rgba(212,175,55,.2);
    padding: 14px 16px;
    border-radius: 16px;
    color: #f4f0e6;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

@media (max-width: 992px) {
    .news-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 70px 18px 50px;
    }
    .news-main .article-header,
    .news-main .article-body,
    .news-card {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 576px) {
    .news-container {
        padding: 20px 16px 60px;
    }
    .news-main .article-header h2 {
        font-size: 2rem;
    }
    .news-meta {
        flex-direction: column;
        gap: 0.7rem;
    }
}
