/**ABOUT PAGE */
.hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: auto;
    aspect-ratio: 1983 / 793;
    min-height: 480px;
    background: url('../image/web/webp/home-bg-2.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

@media (max-width: 1200px) {
    .hero {
        width: 100%;
        min-height: 420px;
    }
}

.hero-content {
    background: rgba(255, 255, 255, 0.18);
    padding: 40px;
    border-radius: 12px;
    max-width: 700px;
    text-align: center;
    border: 1px solid rgba(201, 162, 39, 0.25);
}

.hero-content h1 {
    color: #c9a227;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.about-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.about-columns>div {
    flex: 1 1 400px;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(11, 35, 65, 0.06);
    border: 1px solid #e8edf3;
}

.about-columns h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0b2341;
    margin-bottom: 16px;
}

.about-columns p,
.about-columns ul li {
    font-size: 1rem;
    line-height: 1.7;
    text-wrap: balance;
    overflow-wrap: break-word;
    white-space: normal;
}

/* ✅ Không cho xuống dòng lẻ từ cuối */
.about-columns li strong {
    white-space: nowrap;
}

.about-columns li,
.about-columns p {
    widows: 2;
    orphans: 2;
    hyphens: auto;
}

/* ===== CTA ===== */
.cta {
    text-align: center;
    margin-top: 50px;
}

.cta-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-grid a {
    width: 260px;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    color: white !important;
    font-weight: bold;
    border: 2px solid transparent;
    position: relative;
    z-index: 1;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Nút 1: Gradient tím than */
.cta-grid a[href*="san-pham-era-sol"] {
    background: linear-gradient(to right, #0b2341, #163a5f) !important;
}

/* Nút 2: Gradient gold */
.cta-grid a.contact {
    background: linear-gradient(to right, #c9a227, #e2c158) !important;
    color: #0b2341 !important;
}

/* Hover */
.cta-grid a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

/* ===== Dự án ===== */
.project-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.project-item {
    position: relative;
    width: 22%;
    aspect-ratio: 1/1;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(11, 35, 65, 0.42);
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.project-item:hover img {
    transform: scale(1.05);
}

/* ===== Đối tác ===== */
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.partner-logo {
    width: 160px;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.4s ease;
    border-radius: 8px;
}

.partner-logo:hover {
    filter: none;
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    background: white;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .project-item {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .about-columns>div {
        flex: 1 1 100%;
        padding: 20px;
    }

    .hero-content {
        padding: 28px;
    }

    .cta-grid {
        gap: 20px;
        flex-direction: column;
        /* Ép 2 nút xếp cột */
        align-items: center;
        /* Canh giữa */
    }

    .cta-grid a {
        width: 100%;
        max-width: 300px;
        font-size: 14px;
        padding: 12px 16px;
    }

    .partner-logo {
        width: 45%;
        max-width: 160px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .about-columns p,
    .about-columns ul li {
        font-size: 0.95rem;
    }

    .project-item {
        width: 100%;
    }
}

/* Tự động xuống dòng phần sau dấu – trên mobile */
@media (max-width: 768px) {
    .break-mobile {
        display: block;
        margin-left: 0;
    }
}

/** PROJECT LISTING PAGE */

.project-list-section {
    background: #fff;
    padding: 40px 0 90px;
}

.project-list-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 24px;
    row-gap: 36px;
}

.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

.project-card__thumb {
    display: block;
    text-decoration: none;
}

.project-card__image-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f0f0f0;
}

.project-card__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-card__image-wrap img {
    transform: scale(1.05);
}

.project-card__badges {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.project-card__badge {
    position: absolute;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
    padding: 6px 12px;
    border-radius: 99px;
}

.project-card__badge--location {
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.88);
    color: #0b2341;
    backdrop-filter: blur(4px);
}

.project-card__badge--status {
    top: 12px;
    right: 12px;
    background: #c9a227;
    color: #0b2341;
}

.project-card__badge--type {
    bottom: 12px;
    left: 12px;
    background: rgba(11, 35, 65, 0.75);
    color: #fff;
}

.project-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 18px 22px;
}

.project-card__title {
    margin: 0 0 10px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    min-height: calc(1.45em * 2);
}

.project-card__title a {
    color: #0b2341;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}

.project-card:hover .project-card__title a {
    color: #2a5080;
}

.project-card__address {
    margin: 0 0 16px;
    font-size: 0.86rem;
    line-height: 1.6;
    color: #a8850f;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.6em * 2);
}

.project-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 18px;
}

.project-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.84rem;
    color: #333;
    line-height: 1.3;
}

.project-card__meta-item img {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.project-card__cta {
    margin-top: auto;
    display: inline-block;
    align-self: flex-start;
    padding: 10px 20px;
    background: #c9a227;
    color: #0b2341 !important;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background 0.25s ease;
}

.project-card__cta:hover {
    background: #e2c158;
    color: #0b2341 !important;
}

.project-pagination {
    margin-top: 64px;
    display: flex;
    justify-content: center;
}

.project-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    width: auto;
}

.project-pager>li {
    display: inline-flex;
}

.project-pager>li>a,
.project-pager>li>span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #e4e4e4 !important;
    border-radius: 0 !important;
    background: #fff;
    color: #555;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1;
}

.project-pager>li>a:hover {
    border-color: #0b2341 !important;
    color: #0b2341;
    background: #fff;
}

.project-pager>li.active>a,
.project-pager>li.active>span {
    background: #0b2341 !important;
    border-color: #0b2341 !important;
    color: #fff !important;
}

.project-pager>li.prev>a,
.project-pager>li.next>a {
    min-width: auto;
    padding: 0 18px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

@media (max-width: 1024px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-list-section {
        padding: 30px 0 72px;
    }
}

@media (max-width: 640px) {
    .project-grid {
        grid-template-columns: 1fr;
        row-gap: 28px;
    }

    .project-list-container {
        padding: 0 16px;
    }

    .project-card__title,
    .project-card__address {
        min-height: auto;
    }

    .project-pagination {
        margin-top: 48px;
    }
}

/* ==========================
   DETAIL PROJECT
========================== */

.project-detail-view {
    background: #fff;
    padding-bottom: 80px;
}

.project-detail-view__container {
    max-width: 1190px;
    margin: 0 auto;
    padding: 0 24px;
}

.project-detail-view__container--wide {
    max-width: 1200px;
}

.project-detail-view__header {
    padding-top: 24px;
}

.project-detail-view__header-inner {
    text-align: center;
    padding-bottom: 32px;
}

.project-detail-view__category {
    margin: 0 0 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.project-detail-view__category a {
    color: #c9a227;
    text-decoration: none;
    transition: color 0.2s ease;
}

.project-detail-view__category a:hover {
    color: #0b2341;
}

.project-detail-view__title {
    margin: 0 0 18px;
    font-size: clamp(1.35rem, 3vw, 2.1rem);
    font-weight: 700;
    line-height: 1.35;
    color: #0b2341;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.project-detail-view__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
    font-size: 0.84rem;
    color: #888;
    margin-bottom: 16px;
}

.project-detail-view__meta-item i {
    margin-right: 6px;
    color: #aaa;
}

.project-detail-view__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.project-detail-view__badge {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 99px;
}

.project-detail-view__badge--location {
    background: rgba(11, 35, 65, 0.06);
    color: #0b2341;
}

.project-detail-view__badge--status {
    background: #c9a227;
    color: #0b2341;
}

.project-detail-view__badge--type {
    background: #0b2341;
    color: #fff;
}

.project-detail-view__divider {
    display: block;
    width: 48px;
    height: 2px;
    background: #c9a227;
    margin: 20px auto 0;
}

.project-detail-view__hero {
    max-width: 1100px;
    margin: 0 auto 48px;
    padding: 0 24px;
}

.project-detail-view__hero-inner {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.project-detail-view__hero-img {
    width: 100%;
    /* aspect-ratio: 16 / 9; */
    object-fit: cover;
    display: block;
}

.project-detail-view__intro {
    margin: 0 0 24px;
    font-size: 1rem;
    line-height: 1.75;
    color: #a8850f;
    font-weight: 600;
    text-align: center;
}

.project-detail-view__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 32px;
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}

.project-detail-view__stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

.project-detail-view__stat img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.project-detail-view__content {
    font-size: 1rem;
    line-height: 1.85;
    color: #444;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.project-detail-view__share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.project-detail-view__share-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #666;
    margin-right: 4px;
}

.project-detail-view__share-btn {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #0b2341;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.project-detail-view__share-btn:hover {
    background: #0b2341;
    border-color: #0b2341;
    color: #fff;
}

.project-detail-view__cta-box {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px 32px;
    margin-top: 48px;
    padding: 32px;
    background: linear-gradient(to right, #0b2341, #163a5f);
    border-radius: 10px;
    color: #fff;
}

.project-detail-view__cta-text {
    flex: 1 1 260px;
    max-width: 360px;
}

.project-detail-view__inquiry {
    flex: 1 1 320px;
    max-width: 480px;
    width: 100%;
}

.project-detail-view__inquiry-form .form-group {
    margin-bottom: 14px;
}

.project-detail-view__inquiry-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.02em;
}

.project-detail-view__inquiry-input {
    width: 100%;
    padding: 11px 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #0b2341;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.project-detail-view__inquiry-input:focus {
    outline: none;
    border-color: #c9a227;
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.25);
}

.project-detail-view__inquiry-input::placeholder {
    color: #94a3b8;
}

textarea.project-detail-view__inquiry-input {
    min-height: 88px;
    resize: vertical;
}

.project-detail-view__inquiry-error {
    margin-top: 5px;
    font-size: 0.78rem;
    color: #ffd6d6;
    line-height: 1.4;
}

.project-detail-view__inquiry-actions {
    margin-top: 6px;
}

.project-detail-view__inquiry-submit {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(90deg, #c9a227, #e2c158);
    color: #0b2341;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-detail-view__inquiry-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.project-detail-view__inquiry-alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 0.88rem;
    line-height: 1.5;
}

.project-detail-view__inquiry-alert--success {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(201, 162, 39, 0.55);
    color: #fff;
}

.project-detail-view__inquiry-alert--error {
    background: rgba(220, 53, 69, 0.18);
    border: 1px solid rgba(255, 180, 180, 0.45);
    color: #fff;
}

.project-detail-view__cta-text h3 {
    margin: 0 0 8px;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    color: #fff;
}

.project-detail-view__cta-text p {
    margin: 0;
    font-size: 0.92rem;
    opacity: 0.9;
}

.project-detail-view__cta {
    display: inline-block;
    padding: 12px 26px;
    background: linear-gradient(90deg, #c9a227, #e2c158);
    color: #0b2341 !important;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 6px;
    white-space: nowrap;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-detail-view__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 35, 65, 0.2);
    color: #0b2341 !important;
}

.project-detail-view__related {
    margin-top: 72px;
    padding-top: 56px;
    border-top: 1px solid #eee;
}

.project-detail-view__related-title {
    margin: 0 0 36px;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0b2341;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.project-detail-view__related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.project-detail-view__related-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-detail-view__related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.project-detail-view__related-thumb {
    display: block;
    overflow: hidden;
}

.project-detail-view__related-thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.project-detail-view__related-card:hover .project-detail-view__related-thumb img {
    transform: scale(1.05);
}

.project-detail-view__related-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px 18px 20px;
}

.project-detail-view__related-name {
    margin: 0 0 8px;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.45;
    text-transform: uppercase;
}

.project-detail-view__related-name a {
    color: #0b2341;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.project-detail-view__related-card:hover .project-detail-view__related-name a {
    color: #2a5080;
}

.project-detail-view__related-excerpt {
    margin: 0 0 14px;
    font-size: 0.84rem;
    line-height: 1.6;
    color: #a8850f;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-detail-view__related-more {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #c9a227;
    text-decoration: none;
    text-transform: uppercase;
}

.project-detail-view__related-more:hover {
    color: #0b2341;
}

.project-detail-view__empty {
    text-align: center;
    padding: 80px 24px;
}

.project-detail-view__empty p {
    color: #666;
    margin-bottom: 24px;
}

/* Content blocks (from CKEditor / legacy HTML) */
.project-detail-view__content h2,
.project-detail-view__content h3,
.project-detail-view__content h4 {
    color: #0b2341;
    font-weight: 700;
    line-height: 1.4;
    margin: 2em 0 0.75em;
    text-transform: uppercase;
}

.project-detail-view__content h2 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

.project-detail-view__content p {
    margin: 0 0 1.2em;
}

.project-detail-view__content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.project-detail-view__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.92rem;
}

.project-detail-view__content table td,
.project-detail-view__content table th {
    padding: 12px 16px;
    border: 1px solid #e8e8e8;
    vertical-align: top;
}

.project-detail-view__content ul,
.project-detail-view__content ol {
    margin: 0 0 1.2em;
    padding-left: 1.4em;
}

.project-detail-view__content a {
    color: #c9a227;
}

.entry-header {
    text-align: center;
}

.entry-title {
    font-size: 42px;
    font-weight: 700;
    color: #0b2341;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.entry-divider {
    margin: 0 auto 40px;
}

.entry-image {
    max-width: 1400px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.entry-image img {
    width: 100%;
    border-radius: 16px;
    display: block;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
}

.section-wrapper {
    max-width: 1100px;
    margin: auto;
    padding: 40px 16px;
}

.section-wrapper h2,
.project-detail-view__content .section-wrapper h2 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 20px;
    border-left: 4px solid #c9a227;
    padding-left: 12px;
    text-transform: uppercase;
    color: #0b2341;
    text-align: left;
}

.section-wrapper h2::after {
    display: none;
}

.section-wrapper p,
.project-detail-view__content .section-wrapper p {
    margin-bottom: 1em;
    font-size: 1rem;
    line-height: 1.85;
    color: #444;
}

.content-box {
    background: #fafafa;
    border-radius: 16px;
    padding: 32px;
}

.gallery-wrapper {
    max-width: 1100px;
    margin: auto;
    padding: 0 16px 40px;
}

.gallery-section {
    margin-bottom: 40px;
}

.gallery-section h2 {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    margin-bottom: 20px;
    border-left: 4px solid #c9a227;
    padding-left: 12px;
    text-transform: uppercase;
    color: #0b2341;
}

.project-detail-view__content .swiper {
    width: 100%;
}

.project-detail-view__content .swiper-slide {
    height: 240px;
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.project-detail-view__content .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.project-detail-view__content .swiper-slide img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    margin: auto;
    display: block;
    border-radius: 8px;
}

.project-detail-view__content .swiper-button-next,
.project-detail-view__content .swiper-button-prev {
    background: rgba(255, 255, 255, 0.9) !important;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #0b2341 !important;
    top: 50% !important;
    transform: translateY(-50%);
}

.project-detail-view__content .swiper-button-next::after,
.project-detail-view__content .swiper-button-prev::after {
    font-size: 16px !important;
    font-weight: bold;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.grid-amenities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.grid-amenities .item {
    background: #f8f8fa;
    padding: 14px;
    text-align: center;
    font-weight: 700;
    font-size: 0.82rem;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    text-transform: uppercase;
    transition: all 0.25s ease;
}

.grid-amenities .item:hover {
    background: #0b2341;
    color: #fff;
    border-color: #0b2341;
}

.project-detail-view__content .contact-info {
    font-size: 1rem;
    line-height: 1.8;
    margin-top: 30px;
    padding: 28px;
    background: #fafafa;
    border-radius: 12px;
}

.project-detail-view__content .contact-info a {
    color: #a8850f;
    text-decoration: none;
}

@media (max-width: 768px) {
    .hero {
        width: 100%;
        height: auto;
        aspect-ratio: auto; /* Tắt aspect-ratio trên mobile để tránh phình layout */
        min-height: 320px;
        background: url('../image/web/webp/home-bg-2.webp') left/cover no-repeat;
    }
}

@media (max-width: 480px) {
    .hero {
        width: 100%;
        height: auto;
        aspect-ratio: auto; /* Tắt aspect-ratio trên mobile */
        min-height: 240px;
    }
}

@media (max-width: 768px) {

    .news-detail__hero-img {
        aspect-ratio: unset;
        object-fit: unset;
    }

    .news-card__image-wrap img {
        object-fit: unset !important;
    }

    .project-detail-view {
        padding-bottom: 56px;
    }

    .project-detail-view__container,
    .project-detail-view__hero {
        padding: 0 16px;
    }

    .project-detail-view__header-inner {
        padding-bottom: 24px;
    }

    .project-detail-view__intro {
        text-align: left;
    }

    .project-detail-view__content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .project-detail-view__cta-box {
        flex-direction: column;
        padding: 24px 20px;
    }

    .project-detail-view__cta-text,
    .project-detail-view__inquiry {
        max-width: 100%;
    }

    .project-detail-view__inquiry-submit {
        width: 100%;
    }

    .project-detail-view__share {
        justify-content: center;
    }

    .project-detail-view__related-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .section-wrapper,
    .gallery-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .content-box {
        padding: 20px 16px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .project-detail-view__related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================
   NEWS / BLOG LIST
========================= */

.news-list-section {
    background: #fff;
    padding: 40px 0 100px;
}

.news-list-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 30px;
    row-gap: 60px;
}

.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
}

.news-card__thumb {
    display: block;
    overflow: hidden;
    text-decoration: none;
}

.news-card__image-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f4f4f4;
}

.news-card__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-card:hover .news-card__image-wrap img {
    transform: scale(1.06);
}

.news-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 12px 0;
}

.news-card__title {
    margin: 0 0 12px;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.02em;
    min-height: calc(1.45em * 2);
}

.news-card__title a {
    color: #0b2341;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}

.news-card:hover .news-card__title a {
    color: #2a5080;
}

.news-card__date {
    font-size: 0.78rem;
    color: #9a9a9a;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.news-card__divider {
    display: block;
    width: 36px;
    height: 1px;
    background: #d8d8d8;
    margin-bottom: 18px;
}

.news-card__excerpt {
    margin: 0 0 22px;
    font-size: 0.92rem;
    line-height: 1.75;
    color: #666;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__more {
    margin-top: auto;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: #b5b5b5;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.news-card__more:hover {
    color: #2a5080;
}

.news-pagination {
    margin-top: 80px;
    display: flex;
    justify-content: center;
}

.news-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    width: auto;
}

.news-pager>li {
    display: inline-flex;
}

.news-pager>li>a,
.news-pager>li>span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #e4e4e4 !important;
    border-radius: 0 !important;
    background: #fff;
    color: #555;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1;
}

.news-pager>li>a:hover {
    border-color: #0b2341 !important;
    color: #0b2341;
    background: #fff;
}

.news-pager>li.active>a,
.news-pager>li.active>span {
    background: #0b2341 !important;
    border-color: #0b2341 !important;
    color: #fff !important;
}

.news-pager>li.prev>a,
.news-pager>li.next>a {
    min-width: auto;
    padding: 0 18px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-list-section {
        padding: 30px 0 80px;
    }
}

@media (max-width: 640px) {
    .news-grid {
        grid-template-columns: 1fr;
        row-gap: 48px;
    }

    .news-list-container {
        padding: 0 16px;
    }

    .news-card__title {
        min-height: auto;
    }

    .news-pagination {
        margin-top: 56px;
    }
}

/* =========================
   NEWS DETAIL
========================= */

.news-detail {
    background: #fff;
    padding-bottom: 80px;
}

.news-detail__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.news-detail__header {
    padding-top: 24px;
}

.news-detail__header-inner {
    text-align: center;
    padding-bottom: 32px;
}

.news-detail__category {
    margin: 0 0 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.news-detail__category a {
    color: #c9a227;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-detail__category a:hover {
    color: #0b2341;
}

.news-detail__title {
    margin: 0 0 18px;
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.35;
    color: #0b2341;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.news-detail__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
    font-size: 0.84rem;
    color: #888;
}

.news-detail__meta-item i {
    margin-right: 6px;
    color: #aaa;
}

.news-detail__divider {
    display: block;
    width: 48px;
    height: 2px;
    background: #c9a227;
    margin: 24px auto 0;
}

.news-detail__hero {
    max-width: 1100px;
    margin: 0 auto 48px;
    padding: 0 24px;
}

.news-detail__hero-inner {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.news-detail__hero-img {
    width: 100%;
    /* aspect-ratio: 16 / 9; */
    object-fit: cover;
    display: block;
}

.news-detail__date-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(11, 35, 65, 0.12);
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    line-height: 1.2;
    min-width: 52px;
}

.news-detail__date-day {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0b2341;
}

.news-detail__date-month {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #c9a227;
    text-transform: uppercase;
}

.news-detail__intro {
    margin: 0 0 36px;
    padding: 24px 28px;
    background: #f8f8fa;
    border-left: 4px solid #0b2341;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #444;
    font-weight: 500;
    text-align: center;
    border-radius: 0 8px 8px 0;
}

.news-detail__content {
    font-size: 1rem;
    line-height: 1.85;
    color: #444;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.news-detail__content h2,
.news-detail__content h3,
.news-detail__content h4 {
    color: #0b2341;
    font-weight: 700;
    line-height: 1.4;
    margin: 2em 0 0.75em;
    text-transform: uppercase;
}

.news-detail__content h2 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.news-detail__content h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #c9a227;
    margin: 12px auto 0;
}

.news-detail__content p {
    margin: 0 0 1.2em;
}

.news-detail__content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 1.5em auto;
}

.news-detail__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.92rem;
}

.news-detail__content table td,
.news-detail__content table th {
    padding: 12px 16px;
    border: 1px solid #e8e8e8;
    vertical-align: top;
}

.news-detail__content table tr:nth-child(even) {
    background: #fafafa;
}

.news-detail__content table td:first-child {
    font-weight: 700;
    color: #0b2341;
    width: 35%;
    white-space: nowrap;
}

.news-detail__content ul,
.news-detail__content ol {
    margin: 0 0 1.2em;
    padding-left: 1.4em;
}

.news-detail__content a {
    color: #c9a227;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.news-detail__content a:hover {
    color: #0b2341;
}

.news-detail__content .section-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    margin: 2em 0;
}

.news-detail__content .section-text {
    flex: 1 1 55%;
    min-width: 260px;
}

.news-detail__content .section-img {
    flex: 1 1 40%;
    min-width: 220px;
    text-align: center;
}

.news-detail__content .section-img img,
.news-detail__content .project-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.news-detail__content .project-image {
    text-align: center;
    margin: 1.5em 0;
}

.news-detail__signature {
    margin: 36px 0 0;
    text-align: right;
    font-size: 0.95rem;
    color: #666;
}

.news-detail__share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.news-detail__share-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #666;
    margin-right: 4px;
}

.news-detail__share-btn {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #0b2341;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.news-detail__share-btn:hover {
    background: #0b2341;
    border-color: #0b2341;
    color: #fff;
}

.news-detail__cta-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
    padding: 28px 32px;
    background: linear-gradient(to right, #0b2341, #163a5f);
    border-radius: 10px;
    color: #fff;
}

.news-detail__cta-text h3 {
    margin: 0 0 8px;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    color: #fff;
    text-transform: none;
}

.news-detail__cta-text p {
    margin: 0;
    font-size: 0.92rem;
    opacity: 0.9;
}

.news-detail__cta {
    display: inline-block;
    padding: 12px 26px;
    background: linear-gradient(90deg, #c9a227, #e2c158);
    color: #0b2341 !important;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 6px;
    white-space: nowrap;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-detail__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 35, 65, 0.2);
    color: #0b2341 !important;
}

.news-detail__related {
    margin-top: 72px;
    padding-top: 56px;
    border-top: 1px solid #eee;
}

.news-detail__related-title {
    margin: 0 0 36px;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0b2341;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.news-detail__related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.news-detail__related-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-detail__related-thumb {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 14px;
}

.news-detail__related-thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.news-detail__related-card:hover .news-detail__related-thumb img {
    transform: scale(1.05);
}

.news-detail__related-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-detail__related-name {
    margin: 0 0 8px;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.45;
}

.news-detail__related-name a {
    color: #0b2341;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.news-detail__related-card:hover .news-detail__related-name a {
    color: #2a5080;
}

.news-detail__related-excerpt {
    margin: 0 0 12px;
    font-size: 0.84rem;
    line-height: 1.65;
    color: #666;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-detail__related-more {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #b5b5b5;
    text-decoration: none;
    text-transform: uppercase;
}

.news-detail__related-more:hover {
    color: #2a5080;
}

.news-detail__empty {
    text-align: center;
    padding: 80px 24px;
}

.news-detail__empty p {
    color: #666;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .news-detail {
        padding-bottom: 56px;
    }

    .news-detail__container,
    .news-detail__hero {
        padding: 0 16px;
    }

    .news-detail__header-inner {
        padding-bottom: 24px;
    }

    .news-detail__meta {
        gap: 10px 16px;
        font-size: 0.8rem;
    }

    .news-detail__intro {
        padding: 18px 20px;
        font-size: 0.95rem;
        text-align: left;
    }

    .news-detail__content {
        font-size: 0.95rem;
    }

    .news-detail__content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .news-detail__content table td:first-child {
        white-space: normal;
        width: auto;
    }

    .news-detail__content .section-flex {
        flex-direction: column;
    }

    .news-detail__content .section-text,
    .news-detail__content .section-img {
        flex: 1 1 100%;
        min-width: 0;
    }

    .news-detail__cta-box {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    .news-detail__share {
        justify-content: center;
    }

    .news-detail__related-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .news-detail__date-badge {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .news-detail__related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Restore list styles for rich text content from editor */
.project-detail-view__content ul,
.news-detail__content ul {
    list-style-type: disc !important;
    margin: 0 0 1.2em 1.4em !important;
    padding-left: 0 !important;
}

.project-detail-view__content ol,
.news-detail__content ol {
    list-style-type: decimal !important;
    margin: 0 0 1.2em 1.4em !important;
    padding-left: 0 !important;
}

.project-detail-view__content ul li,
.project-detail-view__content ol li,
.news-detail__content ul li,
.news-detail__content ol li {
    list-style: inherit !important;
    margin-bottom: 0.4em !important;
    display: list-item !important;
}