:root {
    color-scheme: light;
    --bg: #f6f7f9;
    --surface: #ffffff;
    --text: #2c2c2c;
    --muted: #6B7280;
    --line: #d9e0e8;
    --accent: #EF0032;
    --accent-dark: #F07A26;
    --font-base: "Inter", Arial, Helvetica, sans-serif;
}

.advanced-search-page {
    background: #fff;
}

.advanced-search-panel {
    padding: 24px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #f5f5f5;
}

.advanced-search-panel h2 {
    margin: 0 0 18px;
    color: #2c2c2c;
    font-size: 30px;
    font-weight: 700;
    line-height: 38px;
}

.advanced-search-grid {
    --advanced-col-gap: 30px;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: var(--advanced-col-gap);
}

.advanced-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    position: relative;
}

.advanced-column-left {
    flex: 1.05;
}

.advanced-column-center {
    flex: 1.05;
}

.advanced-column-right {
    flex: 0.95;
}

.advanced-column-center::before,
.advanced-column-right::before {
    content: "";
    position: absolute;
    left: calc(var(--advanced-col-gap) / -2);
    top: 2px;
    bottom: 2px;
    width: 1px;
    background: #d9d9d9;
}

.advanced-field,
.advanced-search-status {
    display: grid;
    gap: 8px;
    margin: 0;
    width: 100%;
}

.advanced-field>span,
.advanced-search-status legend {
    color: #2c2c2c;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.advanced-search-status {
    border: 0;
    padding: 0;
}

.advanced-search-status div {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 10px;
    padding-top: 20px;
}

.advanced-search-status div label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #666;
    font-size: 14px;
    line-height: 20px;
}

.advanced-search-status input[type="radio"] {
    width: 24px;
    height: 24px;
    margin: 0;
    flex: 0 0 24px;
    accent-color: #EF0032;
}

.advanced-search-form input:not([type="radio"]):not([type="checkbox"]),
.advanced-search-form select {
    width: 100%;
    min-height: 50px;
    max-height: 50px;
    padding: 15px;
    border: 1px solid #e4e4e4;
    border-radius: 6px;
    background: #fff;
    color: #2c2c2c;
    font-size: 14px;
}

.advanced-search-form input:not([type="radio"]):not([type="checkbox"])::placeholder {
    color: #6b7280;
    font-size: 14px;
}

.advanced-search-form select {
    padding-right: 40px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%236B7280' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px 16px;
}

.advanced-search-form input:not([type="radio"]):not([type="checkbox"]):focus,
.advanced-search-form select:focus {
    outline: none;
    border-color: #EF0032;
}

.advanced-column-left .select2-container {
    width: 100% !important;
}

.advanced-column-left .select2-container .select2-selection--single {
    height: 50px;
    border: 1px solid #e4e4e4;
    border-radius: 6px;
    background: #fff;
    display: flex;
    align-items: center;
}

.advanced-column-left .select2-container .select2-selection__rendered {
    line-height: 20px;
    padding-left: 15px !important;
    padding-right: 40px !important;
    font-size: 14px;
    color: #2c2c2c !important;
}

.advanced-column-left .select2-container .select2-selection__arrow {
    height: 50px !important;
    position: absolute;
    top: 0 !important;
    right: 10px !important;
    width: 24px !important;
}

.advanced-column-left .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border: 0;
    width: 16px;
    height: 16px;
    margin: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%236B7280' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.advanced-column-left .select2-container .select2-selection__placeholder {
    color: #6b7280;
}

.advanced-column-left .select2-container--default.select2-container--focus .select2-selection--single,
.advanced-column-left .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #EF0032;
}

.select2-dropdown {
    border: 1px solid #e4e4e4;
    border-radius: 6px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    min-height: 40px;
    padding: 10px 12px;
    border: 1px solid #e4e4e4;
    border-radius: 6px;
    font-size: 14px;
}

.advanced-search-year-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.advanced-year-select {
    position: relative;
    display: block;
}

.advanced-year-select select {
    padding-right: 42px;
    background-image: none;
}

.advanced-year-select > svg,
.advanced-year-icon {
    display: block;
    position: absolute;
    right: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    pointer-events: none;
}

.advanced-year-field {
    width: 100%;
}

.advanced-field-error {
    display: block;
    margin-top: 8px;
    color: #E31C2A !important;
    font-size: 13px !important;
    line-height: 18px !important;
}

.advanced-field-error.is-hidden {
    display: none;
}

.advanced-search-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 10px;
    width: 100%;
}

.advanced-search-actions button {
    min-height: 50px;
    padding: 13px 16px;
    border: 1px solid transparent;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.advanced-search-actions button svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.advanced-reset-btn {
    border-radius: 8px;
    border: 1px solid #d9d9d9;
    background: #ececec;
    color: #6b7280;
}

.advanced-reset-btn:hover {
    background: #e3e3e3;
    border-color: #cfcfcf;
}

.advanced-submit-btn {
    border-radius: 8px;
    border-color: #EF0032;
    background: #EF0032;
    color: #fff;
}

.advanced-submit-btn:hover {
    background: #D0002B;
    border-color: #D0002B;
}

.advanced-search-result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 24px 0 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.advanced-search-result-head h3 {
    margin: 0;
    color: #2c2c2c;
    font-size: 20px;
    line-height: 32px;
}

.advanced-search-result-head select {
    min-height: auto;
    padding: 0 18px 0 0;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    background-position: right 0 center;
    background-size: 14px 14px;
    color: #2c2c2c;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    cursor: pointer;
}

.advanced-search-result-head form::before {
    content: "Sắp xếp theo:";
    margin-right: 4px;
    color: #6b7280;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

.advanced-search-result-head form {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 767px) {
    .advanced-search-panel {
        padding: 16px;
    }

    .advanced-search-panel h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .advanced-search-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .advanced-column {
        width: 100%;
    }

    .advanced-column-center::before,
    .advanced-column-right::before {
        display: none;
    }

    .advanced-search-actions {
        grid-template-columns: 1fr;
    }

    .advanced-search-result-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-base);
    line-height: 1.5;
}

body.has-mobile-nav {
    overflow: hidden;
}

button,
input,
select,
textarea {
    font-family: var(--font-base);
}

a {
    color: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: min(1280px, calc(100% - 30px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    padding: 0 15px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
    border-bottom-color: rgba(122, 0, 25, 0.08);
    box-shadow: 0 8px 24px rgba(44, 44, 44, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1760px;
    margin: 0 auto;
    padding: 12px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.brand img {
    display: block;
    width: min(330px, 58vw);
    height: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 10px;
    color: #1E293B;
    font-size: 18px;
    font-weight: 400;
    line-height: 21px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 160ms ease;
}

/* Underline is drawn as an overlay so the active state never shifts the text. */
.site-nav a::after {
    content: "";
    position: absolute;
    right: 10px;
    bottom: 0;
    left: 10px;
    height: 1px;
    background: #EF0032;
    transform: scaleX(0);
    transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: #EF0032;
}

.site-nav a.is-active::after {
    transform: scaleX(1);
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 2px;
    padding: 2px;
    border-radius: 9999px;
    border: 1px solid rgba(226, 232, 240, 0.40);
    background: #F1F5F9;
}

.lang-switch button {
    display: flex;
    height: 28px;
    padding: 4px 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 9999px;
    background: transparent;
    color: #262626;
    text-align: center;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 16px;
    cursor: pointer;
    transition: background 160ms ease, box-shadow 160ms ease;
}

.lang-switch button.is-active {
    border-color: rgba(226, 232, 240, 0.40);
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

/* Hide Google Translate's own UI; the VI/EN switch drives it. */
.google-translate-element,
.skiptranslate > iframe,
iframe.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 40px;
    height: 40px;
    gap: 5px;
    border: 0;
    border-radius: 4px;
    background: linear-gradient(90deg, #EF0032 0%, #FF4D6D 100%);
    color: #ffffff;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.mobile-nav-panel {
    position: fixed;
    inset: 0;
    z-index: 1000;
    visibility: hidden;
    pointer-events: none;
}

.mobile-nav-panel.is-visible {
    visibility: visible;
}

.mobile-nav-panel.is-open {
    pointer-events: auto;
}

.mobile-nav-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 240ms ease;
}

.mobile-nav-panel.is-open .mobile-nav-backdrop {
    opacity: 1;
}

.mobile-nav-dialog {
    position: absolute;
    top: 0;
    right: 0;
    width: min(380px, 88vw);
    height: 100%;
    padding: 18px;
    background: var(--surface);
    box-shadow: -12px 0 30px rgba(15, 23, 42, 0.18);
    transform: translateX(100%);
    transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.mobile-nav-panel.is-open .mobile-nav-dialog {
    transform: translateX(0);
}

.mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.mobile-nav-head img {
    display: block;
    width: min(240px, 70%);
    height: auto;
}

.mobile-nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #eef2f5;
    color: var(--text);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 18px;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 14px;
    border-radius: 8px;
    color: #1E293B;
    font-size: 17px;
    font-weight: 400;
    line-height: 28px;
    text-decoration: none;
}

.mobile-nav a:hover,
.mobile-nav a.is-active {
    background: #FFF4F6;
    color: #EF0032;
}

.site-main {
    min-height: calc(100vh - 129px);
}

.site-floating-actions {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1200;
    display: grid;
    gap: 10px;
}

.site-floating-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(44, 44, 44, 0.18);
}

.site-floating-action svg {
    width: 36px;
    height: 36px;
}

.site-floating-action.is-top svg {
    width: 30.87px;
    height: 25.652px;
}

.site-floating-action.is-chat {
    background: #EF0032;
}

.site-floating-action.is-top {
    background: #F07A26;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.site-floating-action.is-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.page-banner {
    background-color: #1B2A6B;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-banner-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    min-height: 264px;
    padding: 30px 0;
}

.page-banner-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: #CBD5E1;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.page-banner-breadcrumb a {
    color: #CBD5E1;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    transition: color 160ms ease, text-decoration-color 160ms ease;
}

.page-banner-breadcrumb a:hover,
.page-banner-breadcrumb a:focus-visible {
    color: #ffffff;
    text-decoration-color: currentColor;
}

.page-banner-breadcrumb .is-current {
    color: #ffffff;
}

.page-banner-body {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

.page-banner-body h1 {
    margin: 0;
    color: #ffffff;
    font-size: 40px;
    font-weight: 700;
    line-height: 36px;
}

.page-banner-consult {
    flex: 0 0 auto;
    width: 384px;
    padding: 24px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.40);
    box-shadow: 0 0 8px 0 rgba(237, 98, 3, 0.12);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    text-align: center;
}

.page-banner-consult h2 {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    line-height: 29px;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.page-banner-consult p {
    margin: 0;
    padding: 9px 0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.page-banner-consult-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    padding: 11px;
    border-radius: 8px;
    background: #EF0032;
    box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    line-height: 17px;
    text-align: center;
    text-decoration: none;
    transition: background 180ms ease;
}

.page-banner-consult-button svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
}

.page-banner-consult-button:hover,
.page-banner-consult-button:focus-visible {
    background: #FFA228;
    color: #ffffff;
}

@media (max-width: 1024px) {
    .page-banner-body h1 {
        font-size: 34px;
        line-height: 40px;
    }

    .page-banner-consult {
        width: 340px;
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .page-banner-inner {
        min-height: 0;
        padding: 24px 0;
    }

    .page-banner-body {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .page-banner-body h1 {
        font-size: 28px;
        line-height: 34px;
    }

    .page-banner-consult {
        width: 100%;
        padding: 20px 16px;
    }

    .page-banner-consult h2 {
        font-size: 20px;
        line-height: 26px;
    }

    .page-banner-consult p br {
        display: none;
    }
}

.page-hero {
    padding: 12px 0 0;
    background: #ffffff;
}

.page-breadcrumb {
    margin-bottom: 17px;
    color: #2c2c2c;
    font-size: 14px;
    font-weight: 300;
    line-height: normal;
}

.page-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.page-breadcrumb .is-current {
    color: #7A0019;
}

.page-breadcrumb-separator {
    margin: 0 6px;
}

.page-hero-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 132px;
    overflow: hidden;
    border-radius: 8px;
    background-position: center;
    background-size: cover;
    color: #ffffff;
    text-align: center;
}

.page-hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #EF0032;
    mix-blend-mode: multiply;
    opacity: 0.7;
}

.page-hero-banner h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 24px;
    font-size: 36px;
    font-weight: 700;
    line-height: 60px;
    letter-spacing: 0.54px;
}

.page-hero-banner-search {
    min-height: 190px;
    align-items: flex-start;
    padding: 24px 24px 28px;
}

.page-hero-search-block {
    position: relative;
    z-index: 3;
    width: min(760px, 100%);
    padding-bottom: 10px;
}

.page-hero-search-block h1 {
    margin: 0 0 14px;
    padding: 0;
    font-size: 40px;
    font-weight: 700;
    line-height: 52px;
}

.home-hero,
.status-page,
.page-section {
    padding: 96px 0;
}

.home-hero-carousel {
    position: relative;
    min-height: 460px;
    height: clamp(360px, 42vw, 560px);
    overflow: hidden;
    background: #7A0019;
    color: #ffffff;
}

.home-hero-track,
.home-hero-slide {
    position: absolute;
    inset: 0;
}

.home-hero-slide {
    opacity: 0;
    background-image: linear-gradient(0deg, rgba(122, 0, 25, 0.32), rgba(122, 0, 25, 0.32)), var(--hero-image);
    background-position: center;
    background-size: cover;
    transition: opacity 600ms ease;
}

.home-hero-slide.is-active {
    opacity: 1;
}

.home-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(950px, calc(100% - 48px));
    height: 100%;
    margin: 0 auto;
    padding: 48px 0 62px;
    text-align: center;
}

.home-hero-content h1 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 40px;
    font-weight: 700;
    line-height: 52px;
}

.home-hero-content p {
    margin: 0 0 34px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
}

.home-hero-search {
    display: grid;
    grid-template-columns: minmax(280px, 500px) 56px auto;
    align-items: stretch;
    justify-content: center;
    column-gap: 0;
    width: min(760px, 100%);
}

.home-hero-search input {
    min-width: 0;
    height: 60px;
    border: 0;
    border-radius: 12px 0 0 12px;
    background: #ffffff;
    color: #2c2c2c;
    font-size: 16px;
    outline: none;
    padding: 0 24px;
}

.home-hero-search input::placeholder {
    color: #9AA3AF;
}

.home-hero-search-submit,
.home-hero-advanced,
.home-hero-arrow,
.home-hero-dots button {
    border: 0;
    cursor: pointer;
}

.home-hero-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 0 12px 12px 0;
    background: #FF4D6D;
    color: #ffffff;
}

.home-hero-search-submit svg,
.home-hero-advanced svg {
    width: 20px;
    height: 20px;
}

.home-hero-advanced {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 170px;
    height: 60px;
    margin-left: 20px;
    border-radius: 10px;
    background: #F07A26;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    padding: 0 18px;
}

.home-hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transform: translateY(-50%);
    transition: background 160ms ease, border-color 160ms ease;
}

.home-hero-arrow:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #ffffff;
}

.home-hero-arrow span {
    display: block;
    margin-top: -2px;
    font-size: 25px;
    line-height: 1;
}

.home-hero-arrow-prev {
    left: 34px;
}

.home-hero-arrow-next {
    right: 34px;
}

.home-hero-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transform: translateX(-50%);
}

.home-hero-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
}

.home-hero-dots button.is-active {
    width: 9px;
    height: 9px;
    background: #ffffff;
}

.home-benefits {
    padding: 40px 0;
    background: #ffffff;
}

.home-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.home-benefit-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    min-height: 90px;
    padding: 18px;
    border: 1px solid #EEE;
    border-radius: 12px;
    background: #FFF;
    box-shadow: 0 2px 12px 0 rgba(44, 44, 44, 0.10);
    overflow: hidden;
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.home-benefit-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, #EF0032 0%, #FF4D6D 100%);
    opacity: 0;
    transition: opacity 240ms ease;
}

.home-benefit-icon,
.home-benefit-text {
    position: relative;
    z-index: 1;
}

.home-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 77px;
    height: 77px;
    border-radius: 8px;
    background: #FFE8EC;
    color: #C4002A;
    transition: background 220ms ease, color 220ms ease;
}

.home-benefit-icon svg {
    aspect-ratio: 1/1;
    width: 40px;
    height: 40px;
}

.home-benefit-text {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.home-benefit-text strong {
    color: #2C2C2C;
    font-size: 18px;
    font-weight: 600;
    line-height: 21px;
    transition: color 220ms ease;
}

.home-benefit-text span {
    color: #555;
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
    transition: color 220ms ease;
}

.home-benefit-card:hover {
    border-color: transparent;
    box-shadow: 0 8px 22px 0 rgba(239, 0, 50, 0.20);
    transform: translateY(-2px);
}

.home-benefit-card:hover::before {
    opacity: 1;
}

.home-benefit-card:hover .home-benefit-icon {
    color: #ffffff;
}

.home-benefit-card:hover .home-benefit-text strong,
.home-benefit-card:hover .home-benefit-text span {
    color: #ffffff;
}

.home-featured-projects {
    padding: 35px 0 60px;
    background: #ffffff;
}

.home-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 30px;
    color: #2C2C2C;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    line-height: 52px;
}

.home-section-heading::before,
.home-section-heading::after {
    content: "";
    display: block;
    height: 1px;
    background: #EEE;
}

.home-featured-project-carousel {
    position: relative;
    margin-top: 30px;
}

.home-featured-project-viewport {
    overflow: hidden;
}

.home-featured-project-list {
    display: flex;
    align-items: stretch;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.home-featured-project-list::-webkit-scrollbar {
    display: none;
}

.home-featured-project-list .project-card {
    scroll-snap-align: start;
}

.home-featured-project-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #EEE;
    border-radius: 50%;
    background: #ffffff;
    color: #2C2C2C;
    box-shadow: 0 2px 8px rgba(44, 44, 44, 0.08);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 160ms ease, color 160ms ease, opacity 160ms ease;
}

.home-featured-project-arrow:hover {
    background: #FFF4F6;
    color: #7A0019;
}

.home-featured-project-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.home-featured-project-arrow span {
    display: block;
    margin-top: -2px;
    font-size: 24px;
    line-height: 1;
}

.home-featured-project-arrow-prev {
    left: -40px;
}

.home-featured-project-arrow-next {
    right: -40px;
}

.home-about-highlight {
    padding: 70px 0;
    background:
        linear-gradient(0deg, rgba(122, 0, 25, 0.18), rgba(122, 0, 25, 0.18)),
        var(--home-about-bg) center / cover no-repeat;
    color: #ffffff;
}

.home-about-highlight-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    align-items: center;
    gap: 90px;
}

.home-about-highlight-content {
    max-width: 590px;
}

.home-about-highlight-content h2 {
    margin: 0 0 28px;
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
    line-height: 38px;
}

.home-about-highlight-content p {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.home-about-highlight-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 220px;
    margin-top: 14px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #FF4D6D;
    background: #EF0032;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    text-decoration: none;
    transition: background 160ms ease, border-color 160ms ease;
}

.home-about-highlight-button:hover {
    background: #D0002B;
    border-color: #FF4D6D;
}

.home-about-highlight-button svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.home-about-image-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
}

.home-about-image-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.home-about-image-track::-webkit-scrollbar {
    display: none;
}

.home-about-image-slide {
    flex: 0 0 100%;
    margin: 0;
    scroll-snap-align: start;
}

.home-about-image-slide img {
    display: block;
    width: 100%;
    aspect-ratio: 700 / 415;
    object-fit: cover;
    border-radius: 8px;
}

.home-about-image-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transform: translateX(-50%);
}

.home-about-image-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    cursor: pointer;
}

.home-about-image-dots button.is-active {
    background: #FF4D6D;
}

.home-news-documents {
    padding: 70px 0;
    background: #ffffff;
}

.home-news-documents-grid {
    display: grid;
    grid-template-columns: minmax(0, 940px) minmax(360px, 460px);
    align-items: start;
    justify-content: space-between;
    gap: 24px;
}

.home-news-card,
.home-documents-card {
    border-radius: 12px;
    border: 1px solid #EEE;
    background: #FFF;
    box-shadow: 0 2px 10px 0 rgba(44, 44, 44, 0.10);
}

.home-news-card {
    max-width: 940px;
    padding: 32px 30px;
}

.home-news-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 21px;
}

.home-news-head::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: #EEE;
    order: 1;
}

.home-news-head h2 {
    margin: 0;
    color: #2C2C2C;
    font-size: 30px;
    font-weight: 700;
    line-height: 38px;
    order: 0;
}

.home-news-head a {
    color: #7A0019;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    text-decoration: none;
    white-space: nowrap;
    order: 2;
}

.home-news-list {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(320px, 0.95fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 18px;
}

.home-news-featured {
    position: relative;
    grid-row: 1 / span 4;
    overflow: hidden;
    border-radius: 8px;
    background: #7A0019;
}

.home-news-featured::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(239, 0, 50, 0) 36.42%, #7A0019 99.94%);
}

.home-news-featured img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-news-featured-content {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 18px;
    z-index: 1;
    color: #ffffff;
}

.home-news-featured time,
.home-news-item time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.home-news-featured time {
    color: #FFFFFF;
}

.home-news-item time {
    color: #6B7280;
}

.home-news-featured time svg,
.home-news-item time svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

.home-news-featured h3,
.home-news-item h3 {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: inherit;
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.home-news-featured>a,
.home-news-item>a,
.blog-latest-item>a {
    display: block;
}

.home-news-featured>a {
    height: 100%;
}

.home-news-featured h3 a,
.home-news-item h3 a,
.blog-latest-item-content h3 a {
    color: inherit;
    text-decoration: none;
}

.home-news-featured h3 a:hover,
.home-news-item h3 a:hover,
.blog-latest-item-content h3 a:hover {
    text-decoration: none;
}

.home-news-item {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.home-news-item img {
    display: block;
    width: 160px;
    height: 110px;
    object-fit: cover;
    border-radius: 8px;
}

.home-news-item-content {
    min-width: 0;
    color: #2C2C2C;
}

.home-documents-card {
    max-width: 460px;
    padding: 4px 4px 25px;
    overflow: hidden;
}

.home-documents-head {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 84px;
    padding: 30px 18px 18px;
    border-radius: 8px 8px 0 0;
    background: #B8790D var(--home-documents-bg) center top / cover no-repeat;
    color: #ffffff;
    text-align: center;
}

.home-documents-head h2 {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
}

.home-documents-list {
    display: grid;
    gap: 8px;
    padding: 20px 16px 0;
}

.home-document-item {
    display: flex;
    padding: 10px 7px;
    align-items: flex-start;
    gap: 8px;
    border-radius: 6px;
    border: 1px solid #EEE;
    background: #FFF;
}

.home-document-marker {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #E31C2A;
    font-size: 12px;
    line-height: 1;
}

.home-document-content {
    min-width: 0;
}

.home-document-content h3 {
    margin: 0 0 6px;
}

.home-document-title {
    display: -webkit-box;
    overflow: hidden;
    color: #2C2C2C;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-align: left;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    text-decoration: none !important;
    transition: color 160ms ease, text-decoration-color 160ms ease;
}

.home-document-title:hover,
.home-document-title:focus-visible {
    color: #EF0032;
    text-decoration: underline;
    text-decoration-color: currentColor;
}

.home-document-title.is-missing-file {
    cursor: pointer;
}

.home-document-title.is-missing-file:hover,
.home-document-title.is-missing-file:focus-visible {
    color: #DE7D2F;
}

.home-document-content p {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 0;
    font-size: 12px;
    line-height: 16px;
}

.home-document-content strong {
    color: #E31C2A;
    font-weight: 600;
}

.home-document-content span {
    color: #6B7280;
    font-weight: 400;
}

.home-documents-more {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px auto 0;
    color: #7A0019;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-decoration: none;
}

.home-panel-empty {
    margin: 0;
    color: #6B7280;
    font-size: 14px;
    line-height: 20px;
}

.page-section {
    padding: 50px 0 100px;
}

.about-page {
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 70px;
    align-items: start;
}

.about-content {
    align-self: start;
    max-width: 580px;
    color: #2C2C2C;
}

.about-content h2 {
    margin: 0 0 30px;
    color: #2C2C2C;
    font-size: 30px;
    font-weight: 700;
    line-height: 38px;
}

.about-content p,
.about-content li {
    color: #2C2C2C;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.about-content p {
    margin: 0 0 18px;
}

.about-content ul {
    margin: 0;
    padding-left: 22px;
}

.about-content li::marker {
    color: #2C2C2C;
}

.about-content-secondary {
    align-self: center;
    justify-self: center;
    max-width: 580px;
}

.about-image {
    margin: 0;
}

.about-image img {
    display: block;
    width: min(700px, 100%);
    height: 415px;
    object-fit: cover;
    border-radius: 8px;
}

.about-support-section {
    padding: 70px 0 100px;
    background:
        linear-gradient(0deg, rgba(122, 0, 25, 0.70) 0%, rgba(122, 0, 25, 0.70) 100%),
        url("../images/about/bg-introduce.png") lightgray 50% / cover no-repeat;
}

.about-support-inner {
    display: grid;
    grid-template-columns: minmax(0, 616px) minmax(420px, 700px);
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    width: min(1420px, calc(100% - 30px));
    margin: 0 auto;
}

.about-support-image {
    margin: 0;
}

.about-support-image img {
    display: block;
    width: 100%;
    height: 415px;
    object-fit: cover;
    border-radius: 8px;
}

.contact-page {
    background: #ffffff;
}

.contact-section-title {
    margin: 0 0 22px;
    color: #2C2C2C;
    font-size: 30px;
    font-weight: 700;
    line-height: 38px;
}

.contact-card {
    display: grid;
    grid-template-columns: minmax(320px, 0.8fr) minmax(520px, 1.2fr);
    gap: 70px;
    align-items: stretch;
    padding: 20px;
    border: 1px solid #EDEDED;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(44, 44, 44, 0.10);
}

.contact-info {
    padding: 22px 0 22px 24px;
}

.contact-info h3 {
    margin: 0;
    color: #2C2C2C;
    font-size: 24px;
    font-weight: 700;
    line-height: 34px;
}

.contact-info-list {
    display: grid;
    gap: 18px;
    margin-top: 30px;
}

.contact-info-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 17px;
    align-items: center;
}

.contact-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: #EF0032;
    color: #ffffff;
}

.contact-info-icon svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact-info-item p {
    margin: 0;
    color: #2C2C2C;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.contact-info-item strong {
    color: #7A0019;
    font-weight: 600;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 405px;
    border: 0;
    border-radius: 8px;
}

.contact-faq-section {
    padding: 0 0 100px;
    background: #ffffff;
}

.contact-faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 32px;
    align-items: start;
}

.contact-faq-main .contact-section-title {
    margin-bottom: 18px;
}

.contact-faq-card {
    padding: 20px;
    border: 1px solid rgba(44, 44, 44, 0.08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(44, 44, 44, 0.10);
}

.contact-faq-item {
    border: 0;
    background: #ffffff;
}

.contact-faq-item+.contact-faq-item {
    margin-top: 0;
}

.contact-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 58px;
    padding: 0 24px;
    border: 1px solid #ececec;
    color: #2C2C2C;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    cursor: pointer;
    list-style: none;
}

.contact-faq-item[open] summary {
    border-color: #FF4D6D;
    border-radius: 6px;
}

.contact-faq-item:not([open])+.contact-faq-item:not([open]) summary {
    border-top: 0;
}

.contact-faq-item:not([open]):first-child summary {
    border-radius: 6px 6px 0 0;
}

.contact-faq-item:not([open]):last-child summary {
    border-radius: 0 0 6px 6px;
}

.contact-faq-item summary::-webkit-details-marker {
    display: none;
}

.contact-faq-toggle {
    position: relative;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
}

.contact-faq-toggle::before,
.contact-faq-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: #2C2C2C;
    transform: translate(-50%, -50%);
}

.contact-faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.contact-faq-item[open] .contact-faq-toggle::after {
    display: none;
}

.contact-faq-answer {
    padding: 6px 24px 24px;
    color: #2C2C2C;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.contact-faq-side {
    position: relative;
    overflow: hidden;
    padding: 64px 18px 18px;
    border-radius: 6px;
    background: #F5F5F5;
}

.contact-faq-side-accent {
    position: absolute;
    top: 0;
    right: 13px;
    width: 100%;
    height: 50px;
    border-radius: 8px 0 37px 0;
    background: #EF0032;
}

.contact-faq-form {
    position: relative;
    z-index: 1;
}

.contact-faq-side img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 132px;
    margin-top: 28px;
    object-fit: cover;
    border-radius: 6px;
}

.legal-page {
    background: #ffffff;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 327px);
    gap: 28px;
    align-items: start;
}

.legal-main {
    min-width: 0;
}

.legal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #EDEDED;
    padding-bottom: 5px;
}

.legal-head h2 {
    margin: 0;
    color: #2C2C2C;
    font-size: 26px;
    font-weight: 700;
    line-height: 34px;
}

.legal-filterbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.legal-filterbar select,
.legal-filterbar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 8px;
    border: 0;
    border-radius: 6px;
    background: #ffffff;
    color: #2C2C2C;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-decoration: none;
    cursor: pointer;
}

.legal-filterbar select {
    width: auto;
    min-width: 0;
    padding-right: 18px;
    border: 0;
    outline: 0;
}

.legal-filterbar a {
    padding: 0 14px;
    border: 0;
    border-radius: 60px;
    background: #EEE;
}

.legal-reset {
    gap: 6px;
}

.legal-reset svg {
    width: 18px;
    height: 18px;
}

.legal-list {
    display: grid;
    gap: 16px;
}

.legal-card {
    display: grid;
    grid-template-columns: 144px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    min-height: 156px;
    padding: 14px;
    border: 1px solid #EDEDED;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(44, 44, 44, 0.08);
}

.legal-card[hidden] {
    display: none;
}

.legal-card-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 145px;
    height: 145px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #EEE;
    background: #F5F5F5;
}

.legal-card-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.legal-card-thumb .legal-placeholder-thumb {
    object-fit: contain;
}

.legal-file-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #E9F6EC;
}

.legal-file-icon svg {
    width: 28px;
    height: 28px;
}

.legal-card-body {
    min-width: 0;
}

.legal-card-body h3 {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    color: #2C2C2C;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.legal-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 10px;
    color: #6B7280;
    font-size: 14px;
    line-height: 20px;
}

.legal-card-meta strong {
    color: #E31C2A;
    font-weight: 500;
}

.legal-card-meta strong+span::before {
    content: "-";
    margin-right: 6px;
    color: #6B7280;
}

.legal-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid rgba(239, 0, 50, 0.20);
    background: #FFF4F6;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: #7A0019;
    text-decoration: none;
}

.legal-download svg {
    width: 16px;
    height: 16px;
}

.legal-empty {
    padding: 24px;
    border: 1px solid #EDEDED;
    border-radius: 8px;
    background: #ffffff;
    color: #6B7280;
    text-align: center;
}

.legal-sidebar {
    width: 100%;
    max-width: 327px;
}

.legal-sidebox {
    overflow: hidden;
    border-radius: 8px;
    background: #F5F5F5;
}

.legal-sidebox+.legal-sidebox {
    margin-top: 22px;
}

.legal-sidebox h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 50px;
    margin: 0 13px 0 0;
    padding: 0 18px;
    border-radius: 0 0 28px 0;
    background: #EF0032;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
}

.legal-sidebox h3 svg {
    width: 18px;
    height: 18px;
}

.legal-category-list {
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
}

.legal-category-list a,
.legal-category-list span {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid #E6E6E6;
    color: #2C2C2C;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    text-decoration: none;
}

.legal-category-list a:hover {
    color: #C4002A;
}

.legal-category-list a.is-active {
    color: #C4002A;
    font-weight: 600;
}

.legal-category-list a:last-child,
.legal-category-list span:last-child {
    border-bottom: 0;
}

.project-page {
    background: #ffffff;
}

.project-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.project-list-grid > .legal-empty {
    grid-column: 1 / -1;
    width: 100%;
}

.project-list-grid .project-card {
    width: 100%;
}

.project-list-grid .project-card[hidden] {
    display: none;
}

.blog-page .home-news-card {
    width: 100%;
    max-width: none;
}

.blog-page {
    background: #FFFFFF;
}

.blog-page .home-news-list {
    grid-template-columns: minmax(0, 874px) minmax(360px, 1fr);
}

.blog-page .home-news-featured {
    min-height: 0;
    max-height: 502px;
    height: 100%;
}

.blog-latest-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 20px;
    margin-top: 72px;
}

.blog-latest-main h2 {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 0 16px;
    color: #2C2C2C;
    font-size: 30px;
    font-weight: 700;
    line-height: 38px;
}

.blog-latest-main h2::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: #EEEEEE;
}

.blog-latest-list {
    display: grid;
    gap: 12px;
}

.blog-latest-item {
    display: flex;
    padding: 12px;
    align-items: center;
    gap: 24px;
    align-self: stretch;
    border-radius: 12px;
    background: #FFF;
    box-shadow: 0 2px 10px 0 rgba(44, 44, 44, 0.10);
}

.blog-latest-item[hidden] {
    display: none;
}

.blog-latest-item img {
    width: 210px;
    height: 145px;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 8px;
}

.blog-latest-item-content {
    min-width: 0;
}

.blog-latest-item-content time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    color: #6B7280;
    font-size: 14px;
    line-height: 18px;
}

.blog-latest-item-content time svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

.blog-latest-item-content h3 {
    margin: 0 0 8px;
    color: #2C2C2C;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
}

.blog-latest-item-content p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #555555;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
}

.blog-latest-side {
    display: grid;
    gap: 20px;
    align-content: start;
}

.blog-topics-card {
    border-radius: 12px;
    border: 1px solid #EEE;
    background: #FFF;
    box-shadow: 0 2px 10px 0 rgba(44, 44, 44, 0.10);
    overflow: hidden;
    padding: 4px 4px 18px 4px;
}

.blog-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}

.blog-detail-main {
    min-width: 0;
}

.blog-detail-title-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.blog-detail-title {
    margin: 0;
    color: #2C2C2C;
    font-size: 30px;
    font-weight: 700;
    line-height: 38px;
}

.blog-detail-date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 14px;
    color: #6B7280;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.blog-detail-image {
    width: 100%;
    display: block;
    margin-bottom: 16px;
    border-radius: 12px;
    object-fit: cover;
}

.blog-detail-content {
    color: #2C2C2C;
    font-size: 16px;
    line-height: 26px;
}

.blog-detail-content p {
    margin: 0 0 12px;
}

.blog-detail-content img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
}

.blog-detail-meta {
    margin-top: 20px;
    padding: 18px 0 0;
}

.blog-detail-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.blog-detail-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #EEEEEE;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
}

.blog-detail-share-btn svg {
    width: 20px;
    height: 20px;
}

.blog-detail-tags {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.blog-detail-tags strong {
    color: #2C2C2C;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.blog-detail-tag-list {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-detail-tag-item {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #EEEEEE;
    background: #fff;
    color: #555555;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

.blog-detail-side {
    display: grid;
    gap: 20px;
    align-content: start;
}

.blog-detail-latest-card {
    border-radius: 8px;
    background: #F5F5F5;
    box-shadow: none;
}

.blog-detail-latest-list {
    display: grid;
    gap: 18px;
    padding: 12px 16px;
}

.blog-detail-latest-item {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.blog-detail-latest-item img {
    display: block;
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
}

.blog-detail-latest-item-content {
    min-width: 0;
}

.blog-detail-latest-item-content time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
    color: #6B7280;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.blog-detail-latest-item-content time svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

.blog-detail-latest-item-content h4 {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #2C2C2C;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.blog-detail-latest-item-content h4 a {
    color: inherit;
    text-decoration: none;
}

.blog-topics-head {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 84px;
    border-radius: 6px;
    background: linear-gradient(0deg, rgba(122, 0, 25, 0.52), rgba(122, 0, 25, 0.52)), var(--blog-topics-bg) center / cover no-repeat;
}

.blog-topics-head h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
}

.blog-topics-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
    padding: 0 12px;
}

.blog-topic-item {
    display: flex;
    width: 100%;
    min-height: 60px;
    padding: 10px 7px;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    border-radius: 6px;
    border: 1px solid #EEE;
    background: #FFF;
    color: #2C2C2C;
    font-size: 16px;
    text-decoration: none;
}

.blog-topic-item svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.blog-topic-item.is-active {
    border-color: #EF0032;
    color: #EF0032;
}

@media (max-width: 1280px) {
    .blog-page .home-news-card {
        padding: 24px 20px;
    }

    .blog-page .home-news-list {
        grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr);
        gap: 14px;
    }

    .blog-page .home-news-item {
        grid-template-columns: 140px minmax(0, 1fr);
        gap: 10px;
    }

    .blog-page .home-news-item img {
        width: 140px;
        height: 96px;
    }

    .blog-latest-layout {
        grid-template-columns: 1fr;
    }
}

.project-contact-form-wrap {
    padding: 16px;
}

.project-contact-form-wrap .support-form {
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.project-contact-form-wrap .support-form--compact h2 {
    display: none;
}

.project-contact-image {
    display: block;
    width: calc(100% - 32px);
    height: 132px;
    margin: 0 16px 16px;
    object-fit: cover;
    border-radius: 6px;
}

.project-detail-page , .blog-detail-page {
    padding: 20px 0 50px;
    background: #ffffff;
}

.project-detail-title {
    margin: 0;
    color: #2C2C2C;
    font-size: 30px;
    font-weight: 700;
    line-height: 38px;
}

.project-detail-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.project-detail-title-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.project-detail-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    flex: 0 0 30px;
    border: 1px solid #D9D9D9;
    border-radius: 50%;
    background: #ffffff;
    text-decoration: none;
    box-sizing: border-box;
}

.project-detail-back svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.project-detail-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex: 0 0 auto;
}

.project-detail-share svg {
    display: block;
    width: 39px;
    height: 39px;
}

.project-detail-overview {
    display: grid;
    grid-template-columns: minmax(0, 940px) 460px;
    gap: 20px;
    align-items: stretch;
}

.project-detail-summary,
.project-detail-map-card {
    overflow: hidden;
    border: 1px solid #EDEDED;
    border-radius: 12px;
    background: #ffffff;
}

.project-detail-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border-radius: 12px 12px 0 0;
    border-top: 1px solid #EEE;
    border-right: 1px solid #EEE;
    border-left: 1px solid #EEE;
    border-bottom: 1px solid #EDEDED;
    background: #F5F5F5;
}

.project-detail-summary-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.project-detail-summary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    border: 1px solid #E7E7E7;
    background: #ffffff;
    flex: 0 0 auto;
}

.project-detail-summary-icon svg {
    width: 30px;
    height: 30px;
}

.project-detail-summary-head h2 {
    margin: 0;
    color: #2C2C2C;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
}

.project-detail-summary-head p {
    margin: 2px 0 0;
    color: #555555;
    font-size: 16px;
    line-height: 24px;
}

.project-detail-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 60px;
    border: 1px solid #FF99AD;
    background: #FFD6DE;
    color: #C4002A;
    font-size: 13px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    white-space: nowrap;
}

.project-detail-status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
    flex: 0 0 auto;
}

.project-detail-status.is-approved {
    border-color: #FF99AD;
    background: #FFD6DE;
    color: #C4002A;
}

.project-detail-status.is-proposing {
    border-color: #FBD38D;
    background: #FEEBC8;
    color: #B45309;
}

.project-detail-status.is-calling {
    border-color: #93C5FD;
    background: #DBEAFE;
    color: #1D4ED8;
}

.project-detail-status.is-suspended {
    border-color: #F5A5A5;
    background: #FEE2E2;
    color: #B42318;
}

.project-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-detail-item {
    height: 67px;
    padding: 12px 18px;
    border-right: 1px solid #EDEDED;
    border-bottom: 1px solid #EDEDED;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.project-detail-item:nth-child(3n) {
    border-right: 0;
}

.project-detail-item span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #6B7280;
    font-size: 14px;
    line-height: normal;
}

.project-detail-item span svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

.project-detail-item strong {
    color: #2C2C2C;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.project-detail-map-card h3 {
    display: flex;
    align-items: center;
    min-height: 50px;
    margin: 0;
    padding: 0 16px;
    border-bottom: 1px solid #EDEDED;
    color: #2C2C2C;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
}

.project-detail-map-card {
    display: flex;
    flex-direction: column;
}

.project-detail-map-card .contact-map {
    flex: 1;
    min-height: 0;
}

.project-detail-map-card .contact-map iframe {
    height: 100%;
    min-height: 349px;
    border-radius: 0;
}

.project-detail-secondary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #EEEEEE;
    align-items: stretch;
}

.project-detail-info-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #EDEDED;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

.project-detail-info-head {
    display: flex;
    padding: 18px;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 12px 12px 0 0;
    border: 1px solid #EEE;
    background: #F5F5F5;
}

.project-detail-info-head h3 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #2C2C2C;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
}

.project-detail-info-head h3 svg {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
}

.project-detail-info-body {
    flex: 1;
    padding: 18px;
    color: #2C2C2C;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
}

.project-detail-finance-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 18px;
}

.project-detail-finance-item {
    min-height: 92px;
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.project-detail-finance-item:nth-child(2n) {
    border-left: 1px solid #EDEDED;
}

.project-detail-finance-item:nth-child(n+3) {
    border-top: 1px solid #EDEDED;
}

.project-detail-finance-item span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #6B7280;
    font-size: 14px;
    line-height: normal;
}

.project-detail-finance-item span svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

.project-detail-finance-item strong {
    color: #2C2C2C;
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
}

.project-detail-finance-item .project-detail-finance-source {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.project-detail-documents-wrap {
    margin-top: 20px;
}

.project-detail-documents-body {
    padding: 0;
    overflow-x: auto;
}

.project-detail-documents-table {
    width: 100%;
    min-width: 1200px;
    border-collapse: collapse;
}

.project-detail-documents-table th,
.project-detail-documents-table td {
    padding: 12px 14px;
    border-right: 1px solid #EDEDED;
    border-bottom: 1px solid #EDEDED;
    text-align: left;
    vertical-align: top;
    color: #2C2C2C;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.project-detail-documents-table th:last-child,
.project-detail-documents-table td:last-child {
    border-right: 0;
}

.project-detail-documents-table thead th {
    background: #FAFAFA;
    color: #262626;
    font-weight: 700;
}

.project-detail-documents-table th:first-child,
.project-detail-documents-table td:first-child {
    width: 56px;
    text-align: center;
}

.project-detail-documents-table th:nth-child(5),
.project-detail-documents-table td:nth-child(5) {
    width: 130px;
}

.project-detail-documents-table th:nth-child(6),
.project-detail-documents-table td:nth-child(6) {
    width: 190px;
}

.project-document-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 40px;
    border: 1px solid #FF99AD;
    background: #FFD6DE;
    color: #C4002A;
    font-size: 13px;
    font-weight: 500;
}

.project-document-status.status-active {
    border-color: #FF99AD;
    background: #FFD6DE;
    color: #C4002A;
}

.project-document-status.status-draft {
    border-color: #FBD38D;
    background: #FEEBC8;
    color: #B45309;
}

.project-document-status.status-expired {
    border-color: #FECACA;
    background: #FEE2E2;
    color: #B42318;
}

.project-document-status.status-replaced {
    border-color: #C7D2FE;
    background: #E0E7FF;
    color: #3730A3;
}

.project-document-empty {
    color: #6B7280;
    font-size: 14px;
}

.project-detail-others {
    margin-top: 30px;
    padding-top: 20px;
}

.project-detail-others h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 0 0 20px;
    color: #2C2C2C;
    font-size: 30px;
    font-weight: 700;
    line-height: 44px;
}

.project-detail-others h2::before,
.project-detail-others h2::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #EEEEEE;
}

.project-detail-others-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.project-detail-others-grid .project-card {
    width: 100%;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: 0;
}

.lead,
.status-page p {
    max-width: 620px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 32px;
    padding: 0 18px;
    border-radius: 6px;
    background: var(--accent);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.button:hover {
    background: var(--accent-dark);
}

.button.button-secondary {
    border: 1px solid rgba(122, 0, 25, 0.14);
    background: #ffffff;
    color: #7A0019;
}

.button.button-secondary:hover {
    background: #F5FBF7;
}

.status-page {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    min-height: calc(100vh - 129px);
    padding: 56px 0;
    background: linear-gradient(90deg, #EF0032 0%, #FF4D6D 100%);
}

.status-page .container {
    width: 100%;
}

.status-shell {
    position: relative;
}

.status-shell::before,
.status-shell::after {
    content: none;
}

.status-card {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    padding: 52px 56px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 60px rgba(122, 0, 25, 0.16);
    text-align: center;
}

.status-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 104px;
    min-height: 42px;
    margin: 0;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(239, 0, 50, 0.10);
    color: #EF0032;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.status-card h1 {
    margin: 22px 0 0;
    color: #1D2B21;
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 700;
    line-height: 1.08;
}

.status-card p {
    margin: 18px auto 0;
    max-width: 560px;
    color: #5F6F67;
    font-size: 18px;
    line-height: 30px;
}

.status-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.site-footer {
    padding: 172px 15px 30px;
    background-color: #ffffff;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: max(100%, 1280px) auto;
}

.footer-card {
    max-width: 1692px;
    margin: 0 auto;
    padding: 30px 50px;
    border-radius: 16px;
    border-top: 4px solid #FFE3E9;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.60) 0%, rgba(252, 253, 255, 0.60) 100%);
    box-shadow: 0 2px 16px 0 rgba(15, 23, 42, 0.06);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.footer-inner {
    padding: 0 48px;
}

.footer-top {
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.80);
}

.footer-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 0.65fr);
    gap: 40px;
}

.footer-brand {
    display: inline-flex;
    margin-bottom: 24px;
    text-decoration: none;
}

.footer-brand img {
    display: block;
    width: min(360px, 100%);
    height: auto;
}

.footer-contact-title {
    margin: 0 0 16px;
    color: #1E293B;
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
    text-transform: uppercase;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 540px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #545963;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.footer-contact-list svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 1px;
}

.footer-contact-list a {
    color: inherit;
    text-decoration: none;
}

.footer-contact-list a:hover {
    color: #EF0032;
}

.footer-heading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    align-self: stretch;
    margin: 0 0 24px;
    padding-left: 8px;
    border-left: 2px solid #EF0032;
    color: #1E293B;
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #545963;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a svg {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
}

.footer-links a:hover {
    color: #EF0032;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-social-link:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.footer-social-link.is-facebook {
    background: #2563EB;
}

.footer-social-link.is-youtube {
    background: #DC2626;
}

.footer-social-link.is-zalo {
    background: #0EA5E9;
    font-family: "Plus Jakarta Sans", var(--font-base);
    font-size: 10px;
    font-weight: 800;
    line-height: 15px;
}

.footer-bottom {
    padding-top: 24px;
}

.footer-bottom p {
    margin: 0;
    color: #545963;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

@media (max-width: 1280px) {
    .site-footer {
        padding-top: 140px;
    }

    .footer-card {
        padding: 30px 32px;
    }

    .footer-inner {
        padding: 0 16px;
    }
}

@media (max-width: 1024px) {
    .site-footer {
        padding-top: 120px;
    }

    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 24px;
    }

    .footer-col-contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding-top: 80px;
        padding-bottom: 20px;
    }

    .footer-card {
        padding: 24px 16px;
    }

    .footer-inner {
        padding: 0;
    }

    .footer-top {
        padding-bottom: 32px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-heading {
        margin-bottom: 16px;
    }

    .footer-links {
        gap: 14px;
    }

    .footer-bottom {
        padding-top: 20px;
    }

    .footer-bottom p {
        font-size: 13px;
    }
}

@media (max-width: 1600px) {
    .home-featured-project-arrow-prev {
        left: -15px;
    }

    .home-featured-project-arrow-next {
        right: -15px;
    }
}

@media (max-width: 1440px) {
    .header-actions {
        gap: 12px;
    }

    .site-nav {
        gap: 2px;
    }

    .site-nav a {
        font-size: 16px;
    }

    .brand img {
        width: min(280px, 100vw);
    }
}

@media (max-width: 1280px) {
    .site-nav {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }
}

@media (max-width: 1336px) {

    .about-support-inner {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
        gap: 40px;
    }

    .contact-card {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .contact-faq-layout {
        grid-template-columns: 1fr;
    }

    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        max-width: none;
    }

    .contact-faq-side img {
        height: 300px;
    }

    .home-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1366px) and (min-width: 1025px) {
    .home-news-documents-grid {
        grid-template-columns: 1fr;
    }

    .home-news-card,
    .home-documents-card {
        max-width: none;
    }
}

@media (max-width: 1024px) {
    .header-inner {
        align-items: center;
        flex-direction: row;
    }

    .site-nav {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }




    .home-about-highlight-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .home-about-highlight-content {
        max-width: none;
    }

    .home-news-documents-grid {
        grid-template-columns: 1fr;
    }

    .home-news-card,
    .home-documents-card {
        max-width: none;
    }

    .legal-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .legal-filterbar {
        justify-content: flex-start;
    }

    .project-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-detail-overview {
        grid-template-columns: 1fr;
    }

    .blog-detail-layout {
        grid-template-columns: 1fr;
    }

    .project-detail-map-card .contact-map iframe {
        height: 360px;
    }

    .project-detail-secondary {
        grid-template-columns: 1fr;
    }

    .project-detail-title {
        font-size: 24px;
        line-height: 30px;
    }

    .project-detail-others-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-page .home-news-list {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .blog-page .home-news-featured {
        grid-row: auto;
        max-height: 460px;
        min-height: 320px;
    }

    .blog-latest-item {
        gap: 14px;
    }

    .blog-latest-item img {
        width: 180px;
        height: 126px;
    }

    .advanced-search-grid {
        flex-wrap: wrap;
        --advanced-col-gap: 20px;
        gap: 20px;
    }

    .advanced-column {
        flex: 1 1 calc((100% - 20px) / 2);
    }

    .advanced-column-right {
        flex: 1 1 100%;
    }

    .advanced-column-center::before,
    .advanced-column-right::before {
        display: none;
    }
}

@media (max-width: 767px) {
    .home-hero-carousel {
        min-height: 520px;
        height: auto;
    }

    .home-hero-content {
        width: min(100% - 28px, 560px);
        padding: 72px 0 86px;
    }

    .home-hero-content h1 {
        font-size: 28px;
        line-height: 36px;
    }

    .home-hero-content p {
        margin-bottom: 24px;
        font-size: 14px;
        line-height: 20px;
    }

    .home-hero-search {
        grid-template-columns: minmax(0, 1fr) 52px;
        width: 100%;
        row-gap: 10px;
    }

    .home-hero-search input,
    .home-hero-search-submit {
        height: 52px;
    }

    .home-hero-search input {
        border-radius: 8px 0 0 8px;
        font-size: 14px;
        padding: 0 16px;
    }

    .home-hero-search-submit {
        width: 52px;
        border-radius: 0 8px 8px 0;
    }

    .home-hero-advanced {
        grid-column: 1 / -1;
        width: 100%;
        height: 52px;
        margin-left: 0;
        border-radius: 8px;
        font-size: 14px;
    }

    .home-hero-arrow {
        display: none;
    }

    .site-floating-actions {
        right: 12px;
        bottom: 12px;
    }

    .project-list-grid {
        grid-template-columns: 1fr;
    }

    .blog-page .home-news-card {
        padding: 16px 14px;
    }

    .blog-page .home-news-head {
        margin-bottom: 14px;
    }

    .blog-page .home-news-head h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .blog-page .home-news-featured {
        max-height: 340px;
        min-height: 260px;
    }

    .blog-page .home-news-item {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .blog-page .home-news-item img {
        width: 120px;
        height: 88px;
    }

    .blog-latest-main h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .blog-detail-title {
        font-size: 24px;
        line-height: 32px;
    }

    .blog-detail-tags strong {
        font-size: 16px;
        line-height: 24px;
    }

    .blog-detail-tag-item {
        font-size: 16px;
        line-height: 24px;
    }

    .blog-latest-item {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-latest-item > a {
        width: 100%;
        height: 100%;
    }

    .blog-latest-item img {
        width: 100%;
        height: auto;
    }

    .blog-latest-item-content h3 {
        font-size: 18px;
        line-height: 26px;
    }

    .blog-topics-list {
        grid-template-columns: 1fr;
    }

    .blog-detail-latest-item {
        grid-template-columns: 100px minmax(0, 1fr);
    }

    .project-detail-finance-grid {
        grid-template-columns: 1fr;
    }

    .project-detail-finance-item {
        border: 0;
    }

    .project-detail-finance-item:nth-child(2n),
    .project-detail-finance-item:nth-child(n+3) {
        border: 0;
    }

    .project-detail-finance-item+.project-detail-finance-item {
        border-top: 1px solid #EDEDED;
    }

    .project-detail-others h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .project-detail-others-grid {
        grid-template-columns: 1fr;
    }

    .home-section-heading {
        gap: 16px;
        font-size: 24px;
        line-height: 36px;
    }

    .home-about-highlight {
        padding: 52px 0;
    }

    .home-about-highlight-content h2 {
        margin-bottom: 18px;
        font-size: 26px;
        line-height: 34px;
    }

    .home-about-highlight-content p {
        font-size: 14px;
        line-height: 21px;
    }

    .home-about-highlight-button {
        min-width: 0;
        font-size: 16px;
        line-height: 22px;
    }

    .home-news-documents {
        padding: 52px 0;
    }

    .home-news-card {
        padding: 22px 16px;
    }

    .home-news-head h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .home-news-head a {
        font-size: 14px;
        line-height: 20px;
    }

    .home-news-list {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .home-news-featured {
        grid-row: auto;
        min-height: 320px;
    }

    .home-news-item {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .home-news-item img {
        width: 120px;
        height: 88px;
    }

    .home-news-featured h3,
    .home-news-item h3 {
        font-size: 16px;
        line-height: 23px;
    }

    .home-documents-head h2 {
        font-size: 22px;
        line-height: 30px;
    }




    .about-support-section {
        padding: 48px 0 70px;
    }

    .about-support-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-support-image {
        order: -1;
    }

    .about-support-image img {
        height: 220px;
    }

    .legal-card {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 14px;
        min-height: 118px;
        padding: 10px;
    }

    .legal-card-thumb {
        width: 92px;
        height: 92px;
    }

    .legal-card-body h3 {
        font-size: 15px;
        line-height: 21px;
    }

    .contact-map iframe {
        height: 320px;
    }

    .contact-info {
        padding: 0px
    }

    .contact-faq-section {
        padding-bottom: 70px;
    }

    .contact-faq-card {
        padding: 14px;
    }

    .contact-faq-item summary {
        min-height: 52px;
        padding: 0 14px;
        font-size: 16px;
        line-height: 22px;
    }

    .contact-faq-answer {
        padding: 4px 14px 18px;
    }

    .contact-faq-side img {
        height: 150px;
    }


}

@media (max-width: 640px) {
    .header-inner {
        align-items: center;
        flex-direction: row;
        gap: 12px;
    }

    .header-actions {
        gap: 10px;
    }

    .brand img {
        width: min(220px, calc(100vw - 200px));
    }

    .home-hero,
    .status-page,
    .page-section {
        padding: 60px 0;
    }

    .status-page {
        min-height: calc(100vh - 96px);
        padding: 40px 0;
    }

    .status-card {
        padding: 36px 24px;
        border-radius: 18px;
    }

    .status-card p {
        font-size: 16px;
        line-height: 28px;
    }

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

    .page-hero-banner h1 {
        font-size: 28px;
        line-height: 36px;
    }

    .page-hero-banner {
        min-height: 80px;
    }

    .page-hero-banner-search {
        min-height: 220px;
        padding: 20px 14px 26px;
    }

    .page-hero-search-block h1 {
        margin-bottom: 12px;
    }

    .project-detail-grid {
        grid-template-columns: 1fr;
    }

    .project-detail-item {
        min-height: 0;
        border-right: 0;
    }

    .project-detail-finance-item {
        min-height: 0;
    }

    .home-benefits-grid {
        grid-template-columns: 1fr;
    }

    .home-featured-project-carousel {
        padding: 0;
    }

    .home-featured-project-arrow {
        display: inline-flex;
    }

    .project-detail-summary-head h2 {
        font-size: 18px;
    }

    .project-detail-summary-head {
        gap: 8px;
        padding: 5px 10px;
    }

    .project-detail-title {
        font-size: 20px;
        line-height: 24px;

    }

}

/* Tin nổi bật (trang Tin tức - Sự kiện) */

.blog-page {
    padding-top: 0;
}

.featured-news {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 50px 0;
}

.news-block-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-block-head::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    margin-left: 12px;
    background: #E5E7EB;
}

.news-block-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(45deg, #FF8D28 0%, #FFA228 100%);
}

.news-block-icon svg {
    width: 24px;
    height: 24px;
}

.news-block-head h2 {
    margin: 0;
    color: #0F172A;
    font-size: 22px;
    font-weight: 600;
    line-height: normal;
}

.news-block-tabs {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    scrollbar-width: none;
}

.news-block-tabs::-webkit-scrollbar {
    display: none;
}

.news-block-tab {
    position: relative;
    flex: 0 0 auto;
    padding: 0 0 10px;
    border: 0;
    background: transparent;
    color: #64748B;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 17px;
    white-space: nowrap;
    cursor: pointer;
    transition: color 160ms ease;
}

/* Gạch chân vẽ đè ở đáy nút nên đổi tab không làm chữ nhảy */
.news-block-tab::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: #EF0032;
    transform: scaleX(0);
    transition: transform 180ms ease;
}

.news-block-tab:hover,
.news-block-tab.is-active {
    color: #EF0032;
}

.news-block-tab.is-active::after {
    transform: scaleX(1);
}

.featured-news-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    height: 394px;
}

.featured-news-panel[hidden] {
    display: none;
}

.featured-news-panel.is-single {
    grid-template-columns: minmax(0, 1fr);
}

.featured-news-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
}

.featured-news-card {
    position: relative;
    display: block;
    min-height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #1E293B;
    color: #ffffff;
    text-decoration: none;
}

.featured-news-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.featured-news-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 30%, rgba(15, 23, 42, 0.78) 100%);
}

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

.featured-news-card-body {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 0 22px 30px;
}

.featured-news-chip {
    padding: 6px;
    border-radius: 999px;
    background: #FFF5F7;
    color: #EF0032;
    font-size: 12px;
    font-weight: 500;
    line-height: 12px;
}

.featured-news-title {
    display: -webkit-box;
    overflow: hidden;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.featured-news-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.featured-news-date svg {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
}

@media (max-width: 1024px) {
    .featured-news-panel {
        grid-template-columns: minmax(0, 1fr);
        height: auto;
    }

    .featured-news-card.is-large {
        height: 360px;
    }

    .featured-news-side {
        grid-auto-rows: 200px;
    }
}

@media (max-width: 640px) {
    .featured-news {
        gap: 20px;
        padding: 36px 0;
    }

    .news-block-tabs {
        gap: 24px;
    }

    .featured-news-card.is-large {
        height: 280px;
    }

    .featured-news-side {
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: 220px;
    }

    .featured-news-card-body {
        padding: 0 16px 20px;
    }

    .featured-news-title {
        font-size: 17px;
        line-height: 23px;
    }
}

/* Tin mới nhất (trang Tin tức - Sự kiện) */

.blog-page {
    padding-bottom: 0;
}

.blog-page-divider {
    height: 1px;
    margin: 0;
    border: 0;
    background: #E5E7EB;
}

.latest-news {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 50px 0;
}

.latest-news-panel[hidden] {
    display: none;
}

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

.latest-news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    background: #FFF;
    transition: box-shadow 200ms ease, transform 200ms ease;
}

.latest-news-card[hidden] {
    display: none;
}

.latest-news-card:hover {
    box-shadow: 0 10px 24px -12px rgba(15, 23, 42, 0.18);
    transform: translateY(-2px);
}

.latest-news-media {
    display: block;
    height: 180px;
    overflow: hidden;
    background: #F1F5F9;
}

.latest-news-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.latest-news-card:hover .latest-news-media img {
    transform: scale(1.05);
}

.latest-news-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
}

.latest-news-chip {
    padding: 4px 8px;
    border-radius: 4px;
    background: #FFF1F3;
    color: #EF0032;
    font-size: 12px;
    font-weight: 500;
    line-height: 14px;
}

.latest-news-title {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #0F172A;
    text-overflow: ellipsis;
    font-size: 17px;
    font-weight: 600;
    line-height: 22px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.latest-news-title a {
    color: inherit;
    text-decoration: none;
    transition: color 160ms ease;
}

.latest-news-title a:hover {
    color: #EF0032;
}

.latest-news-desc {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #545963;
    text-align: justify;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.latest-news-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    align-self: stretch;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #E5E7EB;
}

.latest-news-foot time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6B7280;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.latest-news-foot time svg {
    flex: 0 0 14px;
}

.latest-news-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #EF0032;
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    text-decoration: none;
}

.latest-news-more svg {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    transition: transform 160ms ease;
}

.latest-news-more:hover svg {
    transform: translateX(3px);
}

.latest-news-load-more {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 32px auto 0;
    padding: 8px 12px;
    border: 0;
    background: transparent;
    color: #EF0032;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    cursor: pointer;
}

.latest-news-load-more[hidden] {
    display: none;
}

.latest-news-load-more:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .latest-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 20px;
    }
}

@media (max-width: 640px) {
    .latest-news {
        gap: 20px;
        padding: 36px 0;
    }

    .latest-news-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
}

/* Dải hỗ trợ đầu tư */

.support-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 26px 40px;
    background-color: #C8102E;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
}

.support-cta h2 {
    margin: 0;
    color: #FFF;
    font-size: 28px;
    font-weight: 600;
    line-height: normal;
}

.support-cta-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.support-cta-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 20px 6px 6px;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.10);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10);
    text-align: left;
    text-decoration: none;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.support-cta-item:hover,
.support-cta-item:focus-visible {
    border-color: rgba(255, 255, 255, 0.40);
    background: rgba(255, 255, 255, 0.20);
    transform: translateY(-2px);
}

.support-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #FFA228;
}

.support-cta-icon svg {
    width: 30px;
    height: 30px;
}

.support-cta-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.support-cta-text small {
    color: #E2E8F0;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.support-cta-text strong {
    color: #FFF;
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.36px;
    overflow-wrap: anywhere;
}

/* Danh mục chủ đề */

.category-grid-section {
    padding: 50px 0;
    background: #F8FAFC;
}

.category-grid-section .news-block-head {
    margin-bottom: 32px;
}

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

.category-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 160px;
    overflow: hidden;
    border-radius: 10px;
    background: lightgray;
    text-decoration: none;
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(30, 41, 59, 0.40);
    transition: background 200ms ease;
}

.category-card:hover img {
    transform: scale(1.06);
}

.category-card:hover::after {
    background: rgba(30, 41, 59, 0.55);
}

.category-card-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 24px 16px;
}

.category-card-body strong {
    color: #FFF;
    font-size: 20px;
    font-weight: 600;
    line-height: normal;
}

.category-card-body small {
    color: #FFF;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

@media (max-width: 1024px) {
    .support-cta h2 {
        font-size: 24px;
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .support-cta {
        padding: 24px 15px;
    }

    .support-cta h2 {
        font-size: 20px;
    }

    .support-cta-items {
        flex-direction: column;
        align-self: stretch;
        gap: 12px;
    }

    .support-cta-item {
        width: 100%;
    }

    .category-grid-section {
        padding: 36px 0;
    }

    .category-grid-section .news-block-head {
        margin-bottom: 24px;
    }

    .category-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
}

/* Chi tiết tin tức */

.news-detail-hero {
    background-color: #0F172A;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.news-detail-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 0;
}

/* Breadcrumb luôn 1 dòng: các mục đầu giữ nguyên, tên bài co lại và cắt bằng "…" */
.news-detail-hero .page-banner-breadcrumb {
    flex-wrap: nowrap;
    min-width: 0;
}

.news-detail-hero .page-banner-breadcrumb > * {
    flex: 0 0 auto;
    white-space: nowrap;
}

.news-detail-hero .page-banner-breadcrumb .is-current {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-detail-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.news-detail-chip {
    padding: 6px;
    border-radius: 6px;
    background: #EF0032;
    color: #FFF;
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
    text-decoration: none;
    transition: background 160ms ease;
}

.news-detail-chip:hover {
    background: #D0002B;
}

.news-detail-heading h1 {
    margin: 0;
    color: #FFF;
    font-size: 36px;
    font-weight: 700;
    line-height: 46px;
}

.news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 28px;
    color: #E2E8F0;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.news-detail-meta time,
.news-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.news-detail-meta svg {
    flex: 0 0 18px;
}

.news-detail-body {
    padding: 40px 0 50px;
    background: #FFF;
}

.news-detail-content {
    overflow-wrap: break-word;
}

.news-detail-content > *:last-child {
    margin-bottom: 0;
}

.news-detail-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.news-detail-tags strong {
    color: #1E293B;
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
}

.news-detail-tag {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #E5E7EB;
    background: #FFF;
    color: #545963;
    font-size: 14px;
    font-weight: 400;
    line-height: 19.2px;
}

/* Bài viết cùng chủ đề */

.news-related {
    padding: 50px 0;
    background: #F8FAFC;
}

.news-related-head {
    margin-bottom: 24px;
}

.news-related-more {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 4px;
    order: 3;
    margin-left: 12px;
    color: #EF0032;
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    text-decoration: none;
}

.news-related-more:hover {
    text-decoration: underline;
}

.news-related-carousel {
    position: relative;
}

.news-related-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.news-related-track::-webkit-scrollbar {
    display: none;
}

.news-related-card {
    flex: 0 0 calc((100% - 48px) / 3);
    scroll-snap-align: start;
}

.news-related-card:hover {
    transform: none;
}

.news-related-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #E2E8F0;
    border-radius: 999px;
    background: #FFF;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    color: #0F172A;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 160ms ease, color 160ms ease, opacity 160ms ease;
}

.news-related-arrow.is-prev {
    left: -20px;
}

.news-related-arrow.is-next {
    right: -20px;
}

.news-related-arrow:hover:not(:disabled) {
    background: #EF0032;
    border-color: #EF0032;
    color: #FFF;
}

.news-related-arrow:disabled {
    opacity: 0;
    pointer-events: none;
}

.news-related.is-static .news-related-arrow {
    display: none;
}

@media (max-width: 1024px) {
    .news-detail-heading h1 {
        font-size: 30px;
        line-height: 40px;
    }

    .news-related-card {
        flex-basis: calc((100% - 24px) / 2);
    }

    .news-related-arrow.is-prev {
        left: -8px;
    }

    .news-related-arrow.is-next {
        right: -8px;
    }
}

@media (max-width: 640px) {
    .news-detail-heading h1 {
        font-size: 24px;
        line-height: 32px;
    }

    .news-detail-meta {
        font-size: 14px;
    }

    .news-detail-body {
        padding: 28px 0 36px;
    }

    .news-detail-tags {
        margin-top: 28px;
    }

    .news-related {
        padding: 36px 0;
    }

    .news-related-track {
        gap: 16px;
    }

    .news-related-card {
        flex-basis: 85%;
    }

    .news-related-arrow {
        display: none;
    }
}

/* Liên hệ */

.contact-v2 {
    padding: 50px 0 40px;
    background: #FFF;
}

.contact-v2-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 507px;
    overflow: hidden;
    border-radius: 12px;
}

.contact-v2-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
    padding: 48px 46px 42px;
    background-color: #1E293B;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.contact-v2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #FFA228;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}

.contact-v2-eyebrow::before {
    content: "";
    width: 26px;
    height: 3px;
    border-radius: 99px;
    background: #FFA228;
}

.contact-v2-info h2 {
    margin: 0;
    color: #FFF;
    font-size: 28px;
    font-weight: 700;
    line-height: 122%;
}

.contact-v2-info p {
    margin: 0;
    color: #FFF;
    font-size: 16px;
    font-weight: 400;
    line-height: 160%;
}

.contact-v2-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-v2-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #FFF;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.contact-v2-points svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
}

.contact-v2-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.contact-v2-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 20px 6px 6px;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.10);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10);
    text-decoration: none;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.contact-v2-action:hover,
.contact-v2-action:focus-visible {
    border-color: rgba(255, 255, 255, 0.40);
    background: rgba(255, 255, 255, 0.20);
    transform: translateY(-2px);
}

.contact-v2-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #FFA228;
}

.contact-v2-action-icon svg {
    width: 30px;
    height: 30px;
}

.contact-v2-action-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.contact-v2-action-text small {
    color: #E2E8F0;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.contact-v2-action-text strong {
    color: #FFF;
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.36px;
    overflow-wrap: anywhere;
}

.contact-v2-map {
    position: relative;
    min-height: 320px;
    background: #F1F5F9;
}

.contact-v2-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Câu hỏi thường gặp */

.contact-v2-faq {
    padding: 40px 0 60px;
    background: #FFF;
}

.contact-v2-faq-title {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0 0 24px;
    color: #1E293B;
    font-size: 24px;
    font-weight: 600;
    line-height: normal;
    text-align: center;
}

.contact-v2-faq-title::before,
.contact-v2-faq-title::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: #E5E7EB;
}

.contact-v2-faq-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-v2-faq-item {
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    background: #F8FAFC;
    transition: background 180ms ease, box-shadow 180ms ease;
}

.contact-v2-faq-item[open] {
    border-color: transparent;
    border-top: 3px solid #EF0032;
    background: #FFF;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.08);
}

.contact-v2-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    color: #1E293B;
    font-size: 20px;
    font-weight: 600;
    line-height: normal;
    list-style: none;
    cursor: pointer;
}

.contact-v2-faq-item summary::-webkit-details-marker {
    display: none;
}

.contact-v2-faq-item[open] summary {
    padding-bottom: 12px;
}

.contact-v2-faq-item:not([open]) summary:hover {
    color: #EF0032;
}

/* Dấu + / −: 2 vạch, vạch dọc ẩn đi khi mở */
.contact-v2-faq-toggle {
    position: relative;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    color: #545963;
}

.contact-v2-faq-toggle::before,
.contact-v2-faq-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 200ms ease, opacity 200ms ease;
}

.contact-v2-faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.contact-v2-faq-item[open] .contact-v2-faq-toggle::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg);
}

.contact-v2-faq-answer {
    padding: 0 24px 20px;
    color: #545963;
    text-align: justify;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

@media (max-width: 1024px) {
    .contact-v2-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-v2-map {
        min-height: 360px;
    }
}

@media (max-width: 640px) {
    .contact-v2 {
        padding: 32px 0 28px;
    }

    .contact-v2-info {
        gap: 18px;
        padding: 32px 20px;
    }

    .contact-v2-info h2 {
        font-size: 22px;
    }

    .contact-v2-actions {
        flex-direction: column;
        align-self: stretch;
        gap: 12px;
    }

    .contact-v2-action {
        width: 100%;
    }

    .contact-v2-map {
        min-height: 280px;
    }

    .contact-v2-faq {
        padding: 28px 0 40px;
    }

    .contact-v2-faq-title {
        gap: 12px;
        font-size: 20px;
    }

    .contact-v2-faq-list {
        gap: 12px;
    }

    .contact-v2-faq-item summary {
        padding: 16px;
        font-size: 16px;
    }

    .contact-v2-faq-answer {
        padding: 0 16px 16px;
        font-size: 15px;
    }
}

/* Văn bản pháp luật */

.legal-v2 {
    padding: 50px 0 60px;
    background: #FFF;
}

.legal-v2-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.legal-v2-side {
    position: sticky;
    top: 93px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.legal-v2-card {
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    background: #FFF;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.08);
}

.legal-v2-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 10px 20px 16px;
    border-bottom: 1px solid #E5E7EB;
    background: #F8FAFC;
}

.legal-v2-card-head svg {
    flex: 0 0 24px;
}

.legal-v2-card-head h2 {
    margin: 0;
    color: #0F172A;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
}

.legal-v2-filter {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 12px 13px 14px;
}

.legal-v2-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.legal-v2-field label {
    color: #1E293B;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}

.legal-v2-input {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    background: #FFF;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.legal-v2-input:focus-within,
.legal-v2-select:focus {
    border-color: #EF0032;
    box-shadow: 0 0 0 3px rgba(239, 0, 50, 0.10);
    outline: none;
}

.legal-v2-input input,
.legal-v2-input select,
select.legal-v2-input {
    width: 100%;
    min-width: 0;
    padding: 9px 12px 8px;
    color: #1E293B;
    font: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    outline: none;
    appearance: none;
}

.legal-v2-input input,
.legal-v2-input select {
    border: 0;
    background: transparent;
}

.legal-v2-input.has-icon input,
.legal-v2-input.has-icon select {
    padding-right: 32px;
    cursor: pointer;
}

.legal-v2-input.has-icon input {
    cursor: text;
}

.legal-v2-input.has-icon svg {
    position: absolute;
    right: 12px;
    pointer-events: none;
}

.legal-v2-input input::placeholder {
    color: #6B7280;
    opacity: 1;
}

.legal-v2-input input::-webkit-search-cancel-button {
    display: none;
}

select.legal-v2-select {
    padding-right: 32px;
    background-color: #FFF;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: right 10px center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.legal-v2-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.legal-v2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    font: inherit;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.legal-v2-btn svg {
    flex: 0 0 12px;
}

.legal-v2-btn.is-primary {
    border: 0;
    background: #EF0032;
    box-shadow: 0 1px 2px 0 #FECACA;
    color: #FFF;
    font-size: 14px;
    font-weight: 600;
    line-height: 16px;
}

.legal-v2-btn.is-secondary {
    border: 1px solid #E5E7EB;
    background: #F5F5F5;
    color: #1E293B;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}

.legal-v2-btn:hover,
.legal-v2-btn:focus-visible,
.legal-v2-btn:active {
    border-color: #FFA228;
    background: #FFA228;
    box-shadow: none;
    color: #FFF;
}

/* Danh sách lĩnh vực */

.legal-v2-fields {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 13px 14px;
}

.legal-v2-field-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    background: #FFF;
    color: #6B7280;
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    text-decoration: none;
    transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.legal-v2-field-link svg {
    flex: 0 0 18px;
}

.legal-v2-field-link span {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
}

.legal-v2-field-link em {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 2px 4px;
    border-radius: 6px;
    background: rgba(239, 0, 50, 0.10);
    color: #EF0032;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 12px;
}

.legal-v2-field-link:hover {
    border-color: #EF0032;
    color: #EF0032;
}

.legal-v2-field-link.is-active {
    border-color: transparent;
    background: #EF0032;
    color: #FFF;
    font-weight: 500;
}

.legal-v2-field-link.is-active em {
    background: rgba(255, 255, 255, 0.20);
    color: #FFF;
}

/* Cột phải */

.legal-v2-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    scroll-margin-top: 90px;
}

.legal-v2-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    background: #F8FAFC;
}

.legal-v2-toolbar h2 {
    margin: 0;
    color: #0F172A;
    font-size: 22px;
    font-weight: 600;
    line-height: normal;
}

.legal-v2-sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legal-v2-sort label {
    color: #545963;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

.legal-v2-sort select {
    padding: 6px 30px 6px 9px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    background: #FFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 8px center no-repeat;
    color: #1E293B;
    font: inherit;
    font-size: 14px;
    line-height: 16px;
    appearance: none;
    cursor: pointer;
}

.legal-v2-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legal-v2-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    background: #FFF;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.08);
    transition: border-color 160ms ease;
}

.legal-v2-item:hover {
    border-color: rgba(239, 0, 50, 0.30);
}

.legal-v2-item-icon {
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(239, 0, 50, 0.10);
    background: #FFF1F3;
}

.legal-v2-item-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.legal-v2-item-number {
    margin: 0;
    color: #6B7280;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}

.legal-v2-item-number strong {
    color: #EF0032;
    font-weight: 500;
}

.legal-v2-item h3 {
    margin: 0;
    color: #1E293B;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
}

.legal-v2-item h3 a {
    color: inherit;
    text-decoration: none;
}

.legal-v2-item h3 a:hover {
    color: #EF0032;
}

.legal-v2-item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 0;
    margin: 0;
    color: #6B7280;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

.legal-v2-item-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.legal-v2-item-meta span + span {
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid #D1D5DB;
}

.legal-v2-download {
    display: inline-flex;
    flex: 0 0 auto;
    padding: 10px;
    border-radius: 10px;
    background: #EF0032;
    transition: background 160ms ease;
}

.legal-v2-download:hover,
.legal-v2-download:focus-visible {
    background: #FFA228;
}

.legal-v2-empty {
    padding: 32px 16px;
    border-radius: 10px;
    border: 1px dashed #E5E7EB;
    color: #6B7280;
    text-align: center;
}

.legal-v2-empty a {
    color: #EF0032;
}

/* Phân trang */

.legal-v2-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    background: #FFF;
}

.legal-v2-pagination p {
    margin: 0;
    color: #6B7280;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
}

.legal-v2-pagination b {
    color: #1E293B;
    font-weight: 400;
}

.legal-v2-pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.legal-v2-page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    color: #1E293B;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    text-decoration: none;
    transition: border-color 160ms ease, color 160ms ease;
}

a.legal-v2-page:hover {
    border-color: #EF0032;
    color: #EF0032;
}

.legal-v2-page.is-active {
    border-color: #EF0032;
    background: #EF0032;
    color: #FFF;
    font-weight: 700;
}

.legal-v2-page.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.legal-v2-page-gap {
    color: #6B7280;
    font-size: 12px;
}

@media (max-width: 1024px) {
    .legal-v2-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .legal-v2-side {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }
}

@media (max-width: 640px) {
    .legal-v2 {
        padding: 32px 0 40px;
    }

    .legal-v2-side {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .legal-v2-item {
        flex-wrap: wrap;
        position: relative;
        padding-right: 64px;
    }

    .legal-v2-item-icon {
        display: none;
    }

    .legal-v2-download {
        position: absolute;
        top: 16px;
        right: 16px;
    }

    .legal-v2-item h3 {
        font-size: 16px;
        line-height: 22px;
    }

    /* Màn nhỏ: mỗi thông tin một dòng, bỏ vạch ngăn để không bị lẻ vạch ở đầu dòng */
    .legal-v2-item-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .legal-v2-item-meta span + span {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
    }

    .legal-v2-pagination {
        justify-content: center;
        text-align: center;
    }
}

/* Giới thiệu */

.about-v2 {
    padding: 50px 0 60px;
    background: #FFF;
}

.about-v2-intro {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.about-v2-intro h2 {
    margin: 0;
    color: #1E293B;
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
}

.about-v2-intro p {
    margin: 0;
    color: #545963;
    text-align: justify;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.about-v2-tasks {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
}

.about-v2-task {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    background: #FFF;
    box-shadow: 0 6px 24px 0 rgba(15, 23, 42, 0.08);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.about-v2-task:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px 0 rgba(15, 23, 42, 0.12);
}

.about-v2-task-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #FFF1F3;
}

.about-v2-task-icon svg {
    width: 21px;
    height: 21px;
}

.about-v2-task-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-v2-task h3 {
    margin: 0;
    color: #1E293B;
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
}

.about-v2-task p {
    margin: 0;
    color: #545963;
    text-align: justify;
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: -0.32px;
}

.about-v2-image {
    margin: 34px 0 0;
    overflow: hidden;
    border-radius: 12px;
}

.about-v2-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .about-v2-tasks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .about-v2 {
        padding: 32px 0 40px;
    }

    .about-v2-intro {
        gap: 18px;
    }

    .about-v2-intro h2 {
        font-size: 24px;
        line-height: 30px;
    }

    .about-v2-tasks {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 24px;
    }

    .about-v2-task {
        gap: 16px;
        padding: 20px;
    }

    .about-v2-image {
        margin-top: 24px;
    }
}

/* Giới thiệu: tính năng cốt lõi + cam kết đồng hành */

.about-v2-divider {
    height: 1px;
    margin: 54px 0;
    border: 0;
    background: #E5E7EB;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px;
    align-items: stretch;
}

.about-features-main {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.about-features-main h2 {
    margin: 0;
    color: #1E293B;
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
}

.about-features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-features-item {
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    background: #F8FAFC;
    transition: background 180ms ease, box-shadow 180ms ease;
}

.about-features-item[open] {
    border-color: transparent;
    border-top: 3px solid #EF0032;
    background: #FFF;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.08);
}

.about-features-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    color: #1E293B;
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
    list-style: none;
    cursor: pointer;
}

.about-features-item summary::-webkit-details-marker {
    display: none;
}

.about-features-item[open] summary {
    padding-bottom: 10px;
}

.about-features-item:not([open]) summary:hover {
    color: #EF0032;
}

.about-features-toggle {
    position: relative;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    color: #545963;
}

.about-features-toggle::before,
.about-features-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 200ms ease, opacity 200ms ease;
}

.about-features-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.about-features-item[open] .about-features-toggle::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg);
}

.about-features-answer {
    padding: 0 20px 18px;
    color: #545963;
    text-align: justify;
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
}

.about-features-image {
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
}

.about-features-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.about-consult {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-consult-info {
    border-radius: 10px 0 0 10px;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.25);
}

.about-consult-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
    padding: 48px 46px 42px;
    background-color: #1E293B;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.about-consult-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #FFA228;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}

.about-consult-eyebrow::before {
    content: "";
    width: 26px;
    height: 3px;
    border-radius: 99px;
    background: #FFA228;
}

.about-consult-info h2 {
    margin: 0;
    color: #FFF;
    font-size: 28px;
    font-weight: 700;
    line-height: 122%;
}

.about-consult-info p {
    margin: 0;
    color: #FFF;
    font-size: 16px;
    font-weight: 400;
    line-height: 160%;
}

.about-consult-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-consult-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #FFF;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.about-consult-points svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
}

.about-consult-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.about-consult-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 20px 6px 6px;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.10);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10);
    text-decoration: none;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.about-consult-action:hover,
.about-consult-action:focus-visible {
    border-color: rgba(255, 255, 255, 0.40);
    background: rgba(255, 255, 255, 0.20);
    transform: translateY(-2px);
}

.about-consult-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #FFA228;
}

.about-consult-action-icon svg {
    width: 30px;
    height: 30px;
}

.about-consult-action-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.about-consult-action-text small {
    color: #E2E8F0;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.about-consult-action-text strong {
    color: #FFF;
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.36px;
    overflow-wrap: anywhere;
}

.about-consult-commit {
    display: flex;
    flex-direction: column;
    gap: 34px;
    padding: 34px 50px;
    border-radius: 0 10px 10px 0;
    border: 1px solid #E5E7EB;
    border-left: 0;
    background: #FFF;
}

.about-consult-commit h2 {
    margin: 0;
    color: #1E293B;
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
}

.about-consult-commit-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-consult-commit-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.about-consult-commit-icon {
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 60px;
    background: linear-gradient(45deg, #FF8D28 0%, #FFA228 100%);
}

.about-consult-commit-icon svg {
    width: 24px;
    height: 24px;
}

.about-consult-commit-list div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.about-consult-commit-list strong {
    color: #1E293B;
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
}

.about-consult-commit-list p {
    margin: 0;
    color: #545963;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

@media (max-width: 1024px) {
    .about-features,
    .about-consult {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-features {
        gap: 32px;
    }

    .about-consult-info {
        border-radius: 10px 10px 0 0;
    }

    .about-consult-commit {
        border-left: 1px solid #E5E7EB;
        border-top: 0;
        border-radius: 0 0 10px 10px;
    }
}

@media (max-width: 640px) {
    .about-v2-divider {
        margin: 32px 0;
    }

    .about-features-main {
        gap: 18px;
    }

    .about-features-main h2 {
        font-size: 24px;
        line-height: 30px;
    }

    .about-features-item summary {
        padding: 14px 16px;
        font-size: 16px;
    }

    .about-features-answer {
        padding: 0 16px 14px;
    }

    .about-features-image img {
        min-height: 220px;
    }

    .about-consult-info {
        gap: 18px;
        padding: 32px 20px;
    }

    .about-consult-info h2 {
        font-size: 22px;
    }

    .about-consult-actions {
        flex-direction: column;
        align-self: stretch;
        gap: 12px;
    }

    .about-consult-action {
        width: 100%;
    }

    .about-consult-commit {
        gap: 24px;
        padding: 28px 20px;
    }

    .about-consult-commit h2 {
        font-size: 22px;
        line-height: 30px;
    }

    .about-consult-commit-list strong {
        font-size: 16px;
    }

    .about-consult-commit-list p {
        font-size: 15px;
    }
}

/* Banner tìm kiếm dự án */

.project-search-hero {
    background-color: #1E293B;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.project-search-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 34px;
    padding: 61px 0 59px;
}

.project-search-hero h1 {
    margin: 0;
    color: #FFF;
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    line-height: 36px;
}

.project-search-bar {
    display: flex;
    align-items: stretch;
    gap: 6px;
    width: 100%;
    padding: 10px 8px;
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0 20px 30px -15px rgba(15, 23, 42, 0.12);
}

.project-search-box {
    position: relative;
    display: flex;
    min-width: 0;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    background: #F8FAFC;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.project-search-box:focus-within {
    border-color: #EF0032;
    box-shadow: 0 0 0 3px rgba(239, 0, 50, 0.10);
}

.project-search-box.is-keyword {
    flex: 1 1 360px;
    align-items: center;
    gap: 10px;
    padding: 6px 6px 6px 16px;
}

.project-search-box.is-keyword > svg {
    flex: 0 0 24px;
}

.project-search-box.is-keyword input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1E293B;
    font: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    outline: none;
}

.project-search-box.is-keyword input::placeholder {
    color: #6B7280;
    opacity: 1;
}

.project-search-box.is-keyword input::-webkit-search-cancel-button {
    display: none;
}

.project-search-submit {
    display: inline-flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #EF0032;
    box-shadow: 0 1px 2px 0 rgba(225, 29, 72, 0.30);
    cursor: pointer;
    transition: background 160ms ease;
}

.project-search-submit:hover {
    background: #FFA228;
}

.project-search-box.is-select {
    flex: 0 1 190px;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 6px 16px;
    cursor: pointer;
}

.project-search-label {
    color: #94A3B8;
    font-size: 12px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    pointer-events: none;
}

.project-search-box.is-select select {
    width: 100%;
    margin: 0;
    padding: 0 22px 0 0;
    border: 0;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right center no-repeat;
    color: #1E293B;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    text-overflow: ellipsis;
    outline: none;
    appearance: none;
    cursor: pointer;
}

/* Kéo vùng bấm của select phủ cả ô, bấm vào nhãn cũng mở danh sách */
.project-search-box.is-select select::before {
    content: none;
}

.project-search-icon-btn {
    display: inline-flex;
    flex: 0 0 44px;
    align-self: center;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 160ms ease, border-color 160ms ease;
}

.project-search-icon-btn.is-clear {
    border: 1px solid #E5E7EB;
    background: #F8FAFC;
}

.project-search-icon-btn.is-clear:hover {
    border-color: #EF0032;
    background: #FFF1F3;
}

.project-search-icon-btn.is-settings {
    padding: 0;
    border: 0;
    cursor: pointer;
    background: #EF0032;
    box-shadow: 0 4px 6px -1px rgba(225, 29, 72, 0.30);
}

.project-search-icon-btn.is-settings:hover {
    background: #FFA228;
}

@media (max-width: 1024px) {
    .project-search-bar {
        flex-wrap: wrap;
    }

    .project-search-box.is-keyword {
        flex-basis: 100%;
    }

    .project-search-box.is-select {
        flex: 1 1 0;
    }
}

@media (max-width: 640px) {
    .project-search-hero-inner {
        gap: 24px;
        padding: 40px 0;
    }

    .project-search-hero h1 {
        font-size: 30px;
        line-height: 36px;
    }

    .project-search-box.is-select {
        flex-basis: 100%;
    }

    .project-search-icon-btn {
        flex: 1 1 0;
    }
}

/* Modal tìm kiếm nâng cao (trang Dự án) */

body.has-advanced-modal {
    overflow: hidden;
}

.project-advanced {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    visibility: hidden;
    transition: visibility 0s linear 420ms;
    pointer-events: none;
}

.project-advanced.is-open {
    visibility: visible;
    transition: visibility 0s;
    pointer-events: auto;
}

.project-advanced-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    opacity: 0;
    transition: opacity 220ms ease;
}

.project-advanced.is-open .project-advanced-backdrop {
    opacity: 1;
}

.project-advanced-dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1024px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.90);
    background: #FFF;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    opacity: 0;
    /* Trượt từ dưới màn hình lên khi mở, trượt xuống khi đóng */
    transform: translateY(100vh);
    transition: opacity 300ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-advanced.is-open .project-advanced-dialog {
    opacity: 1;
    transform: none;
}

.project-advanced-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 32px;
    border-bottom: 1px solid #F1F5F9;
    background: rgba(248, 250, 252, 0.50);
}

.project-advanced-icon {
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #FFF1F2;
}

.project-advanced-heading {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.project-advanced-heading h2 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #0F172A;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
}

.project-advanced-badge {
    padding: 2px 10px;
    border-radius: 9999px;
    border: 1px solid #FFE4E6;
    background: #FFF1F2;
    color: #EF0032;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}

.project-advanced-heading p {
    margin: 0;
    color: #6B7280;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
}

.project-advanced-close {
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.project-advanced-close:hover {
    background: #F1F5F9;
}

.project-advanced-body {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 32px;
    overflow-y: auto;
}

.project-advanced-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.project-advanced-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.project-advanced-field label,
.project-advanced-label,
.project-advanced-field legend {
    padding: 0;
    color: #1E293B;
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
}

.project-advanced-field legend {
    margin-bottom: 6px;
}

.project-advanced-input {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    background: #F8FAFC;
    color: #1E293B;
    font: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.project-advanced-input::placeholder {
    color: #6B7280;
    opacity: 1;
}

.project-advanced-input:focus,
.project-advanced-input:focus-within {
    border-color: #EF0032;
    background: #FFF;
    box-shadow: 0 0 0 3px rgba(239, 0, 50, 0.10);
}

select.project-advanced-input.is-select,
.project-advanced-input.has-icon select {
    appearance: none;
    cursor: pointer;
    text-overflow: ellipsis;
}

select.project-advanced-input.is-select {
    padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: right 14px center;
    background-repeat: no-repeat;
}

.project-advanced-input.has-icon {
    padding: 0;
}

.project-advanced-input.has-icon select {
    width: 100%;
    min-width: 0;
    padding: 10px 38px 10px 14px;
    border: 0;
    background: transparent;
    color: #1E293B;
    font: inherit;
    font-size: 14px;
    outline: none;
}

.project-advanced-input.has-icon svg {
    position: absolute;
    right: 12px;
    pointer-events: none;
}

.project-advanced-range {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

/* Tình trạng */

.project-advanced-radios {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
}

.project-advanced-radio {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #545963 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    cursor: pointer;
}

.project-advanced-radio input {
    position: absolute;
    width: 16px;
    height: 16px;
    margin: 0;
    opacity: 0;
}

.project-advanced-radio span {
    position: relative;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 1px solid #CBD5E1;
    background: #FFF;
    transition: border-color 160ms ease, background 160ms ease;
}

.project-advanced-radio input:checked + span {
    border-color: #EF0032;
    background: #EF0032;
}

.project-advanced-radio input:checked + span::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 999px;
    background: #FFF;
}

.project-advanced-radio input:focus-visible + span {
    box-shadow: 0 0 0 3px rgba(239, 0, 50, 0.15);
}

.project-advanced-radio:hover span {
    border-color: #EF0032;
}

.project-advanced-radio input:checked ~ * {
    color: #1E293B;
}

/* Chân modal */

.project-advanced-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 32px;
    border-top: 1px solid #F1F5F9;
    background: rgba(248, 250, 252, 0.50);
}

.project-advanced-clear {
    color: #545963;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    text-decoration: none;
}

.project-advanced-clear:hover {
    color: #EF0032;
    text-decoration: underline;
}

.project-advanced-actions {
    display: flex;
    gap: 12px;
}

.project-advanced-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 118px;
    padding: 11px 20px;
    border-radius: 12px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 16px;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.project-advanced-btn.is-reset {
    border: 1px solid #E5E7EB;
    background: #FFF;
    color: #1E293B;
}

.project-advanced-btn.is-submit {
    min-width: 122px;
    border: 0;
    background: #EF0032;
    box-shadow: 0 4px 6px -1px rgba(225, 29, 72, 0.30);
    color: #FFF;
}

.project-advanced-btn.is-reset:hover {
    border-color: #FFA228;
    color: #FFA228;
}

.project-advanced-btn.is-submit:hover {
    background: #FFA228;
}

@media (max-width: 900px) {
    .project-advanced-body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .project-advanced {
        padding: 10px;
    }

    .project-advanced-head {
        padding: 16px;
    }

    .project-advanced-heading p {
        display: none;
    }

    .project-advanced-body {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding: 20px 16px;
    }

    .project-advanced-foot {
        flex-direction: column-reverse;
        align-items: stretch;
        padding: 16px;
    }

    .project-advanced-clear {
        text-align: center;
    }

    .project-advanced-actions .project-advanced-btn {
        flex: 1 1 0;
    }
}

/* Danh sách dự án (trang Dự án) */

.project-list-v2 {
    padding: 50px 0 60px;
    background: #FFF;
}

.project-list-v2-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.project-list-v2-side {
    position: sticky;
    top: 93px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.project-list-v2-card {
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    background: #FFF;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.08);
}

.project-list-v2-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 10px 20px 16px;
    border-bottom: 1px solid #E5E7EB;
    background: #F8FAFC;
}

.project-list-v2-card-head svg {
    flex: 0 0 24px;
}

.project-list-v2-card-head h2 {
    margin: 0;
    color: #0F172A;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
}

.project-list-v2-fields {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 13px 14px;
}

.project-list-v2-field {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    background: #FFF;
    color: #6B7280;
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    text-decoration: none;
    transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.project-list-v2-field span:not(.project-list-v2-field-icon) {
    flex: 1 1 auto;
    min-width: 0;
}

.project-list-v2-field-icon {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

/* Icon danh mục là file SVG; dùng mask để icon nhận màu chữ (xám thường, trắng khi chọn) */
.project-list-v2-field-icon.is-mask {
    background-color: currentColor;
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
}

.project-list-v2-field em {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 2px 4px;
    border-radius: 6px;
    background: rgba(239, 0, 50, 0.10);
    color: #EF0032;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 12px;
}

.project-list-v2-field:hover {
    border-color: #EF0032;
    color: #EF0032;
}

.project-list-v2-field.is-active {
    border-color: transparent;
    background: #EF0032;
    color: #FFF;
    font-weight: 500;
}

.project-list-v2-field.is-active em {
    background: rgba(255, 255, 255, 0.20);
    color: #FFF;
}

/* Khung hỗ trợ ở cột trái */

.project-list-v2-support {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 16px;
    border-radius: 10px;
    background-color: #C8102E;
    background-position: center;
    background-size: cover;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.08);
}

.project-list-v2-support h2 {
    margin: 0;
    color: #FFF;
    font-size: 24px;
    font-weight: 600;
    line-height: normal;
}

.project-list-v2-support-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project-list-v2-support-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 6px;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.10);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10);
    text-decoration: none;
    transition: background 180ms ease, border-color 180ms ease;
}

.project-list-v2-support-item:hover {
    border-color: rgba(255, 255, 255, 0.40);
    background: rgba(255, 255, 255, 0.20);
}

.project-list-v2-support-icon {
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #FFA228;
}

.project-list-v2-support-icon svg {
    width: 24px;
    height: 24px;
}

.project-list-v2-support-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.project-list-v2-support-text small {
    color: #E2E8F0;
    font-size: 14px;
    line-height: normal;
}

.project-list-v2-support-text strong {
    color: #FFF;
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.32px;
    overflow-wrap: anywhere;
}

/* Cột phải */

.project-list-v2-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    scroll-margin-top: 90px;
}

.project-list-v2-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    background: #F8FAFC;
}

.project-list-v2-toolbar h2 {
    margin: 0;
    color: #0F172A;
    font-size: 22px;
    font-weight: 600;
    line-height: normal;
}

.project-list-v2-sort {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.project-list-v2-sort label {
    color: #545963;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

.project-list-v2-sort label + select + label {
    margin-left: 8px;
}

.project-list-v2-sort select {
    padding: 6px 30px 6px 9px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    background: #FFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 8px center no-repeat;
    color: #1E293B;
    font: inherit;
    font-size: 14px;
    line-height: 16px;
    appearance: none;
    cursor: pointer;
}

.project-list-v2-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Thẻ dự án */

.project-row {
    position: relative;
    display: flex;
    gap: 24px;
    cursor: pointer;
    padding: 14px 13px;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    background: #FFF;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.08);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}


.project-row-media {
    position: relative;
    flex: 0 0 258px;
    max-width: 258px;
    min-height: 200px;
    overflow: hidden;
    border-radius: 6px;
    background: #F1F5F9;
}

.project-row-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.project-row:hover .project-row-media img {
    transform: scale(1.08);
}

.project-row-tags {
    position: absolute;
    top: 10px;
    right: 9px;
    left: 9px;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px;
}

.project-row-category {
    display: inline-flex;
    align-items: center;
    padding: 4px 6px;
    border: 1px solid rgba(0, 0, 0, 0.00);
    border-radius: 6px;
    background: #ED6203;
    color: #FFF;
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
}

.project-row-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 6px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.00);
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
}

.project-row-status svg {
    flex: 0 0 auto;
}

.project-row-status.is-calling {
    background: #FFEAE1;
    color: #ED6203;
}

.project-row-status.is-proposing {
    background: #DBEAFE;
    color: #1D4ED8;
}

.project-row-status.is-approved {
    background: #D1FAE5;
    color: #059669;
}

.project-row-status.is-completed {
    background: #CCFBF1;
    color: #0F766E;
}

.project-row-status.is-suspended {
    background: #FEF3C7;
    color: #B45309;
}

.project-row-status.is-canceled {
    background: #FEE2E2;
    color: #DC2626;
}

.project-row-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.project-row-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-row-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 6px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.00);
    background: #F5F5F5;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #262626;
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
}

.project-row-meta svg {
    flex: 0 0 14px;
}

.project-row-title {
    margin: 0;
    color: #1E293B;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
}

.project-row-title a {
    color: inherit;
    text-decoration: none;
    transition: color 160ms ease;
}


.project-row-desc {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #545963;
    text-align: justify;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.project-row-divider {
    height: 1px;
    background: #E5E7EB;
}

.project-row-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.project-row-info div {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.project-row-info svg {
    flex: 0 0 16px;
}

.project-row-info dt {
    flex: 0 0 auto;
    color: #545963;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
}

.project-row-info dd {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: #1E293B;
    font-size: 12px;
    font-weight: 600;
    line-height: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-row-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding: 16px 12px;
    border-radius: 8px;
    background: #F5F5F5;
    text-decoration: none;
    transition: background 180ms ease;
}

.project-row-type {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6B7280;
    font-size: 12px;
    font-weight: 400;
    line-height: 15px;
    transition: color 180ms ease;
}

.project-row-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #EF0032;
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    transition: color 180ms ease;
}

.project-row-more svg {
    transition: transform 160ms ease;
}

/* Link "Chi tiết" phủ cả thẻ: bấm vào đâu trên thẻ cũng vào trang chi tiết */
.project-row-foot::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: 10px;
}

/* Rê chuột vào bất kỳ đâu trên thẻ: ảnh phóng nhẹ + thanh dưới chuyển đỏ */
.project-row:hover .project-row-foot,
.project-row-foot:focus-visible,
.project-row-foot:active {
    background: #EF0032;
}

.project-row:hover .project-row-type,
.project-row:hover .project-row-more,
.project-row-foot:focus-visible .project-row-type,
.project-row-foot:focus-visible .project-row-more,
.project-row-foot:active .project-row-type,
.project-row-foot:active .project-row-more {
    color: #FFF;
}

.project-row:hover .project-row-more svg {
    transform: translateX(3px);
}

.project-list-v2-empty {
    padding: 32px 16px;
    border-radius: 10px;
    border: 1px dashed #E5E7EB;
    color: #6B7280;
    text-align: center;
}

.project-list-v2-empty a {
    color: #EF0032;
}

/* Phân trang */

.project-list-v2-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    background: #FFF;
}

.project-list-v2-pagination p {
    margin: 0;
    color: #6B7280;
    font-size: 14px;
    line-height: 16px;
}

.project-list-v2-pagination b {
    color: #1E293B;
    font-weight: 400;
}

.project-list-v2-pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.project-list-v2-page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    color: #1E293B;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    text-decoration: none;
    transition: border-color 160ms ease, color 160ms ease;
}

a.project-list-v2-page:hover {
    border-color: #EF0032;
    color: #EF0032;
}

.project-list-v2-page.is-active {
    border-color: #EF0032;
    background: #EF0032;
    color: #FFF;
    font-weight: 700;
}

.project-list-v2-page.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.project-list-v2-page-gap {
    color: #6B7280;
    font-size: 12px;
}

@media (max-width: 1200px) {
    .project-row-info {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 1024px) {
    .project-list-v2-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .project-list-v2-side {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }
}

@media (max-width: 767px) {
    .project-list-v2 {
        padding: 32px 0 40px;
    }

    .project-list-v2-side {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .project-row {
        flex-direction: column;
        gap: 14px;
    }

    .project-row-media {
        flex-basis: auto;
        max-width: none;
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .project-row-title {
        font-size: 16px;
        line-height: 22px;
    }

    .project-row-info dd {
        white-space: normal;
    }

    .project-list-v2-pagination {
        justify-content: center;
        text-align: center;
    }
}

/* Banner chi tiết dự án */

.project-hero {
    position: relative;
    overflow: hidden;
    background-color: #142033;
}

/* Ảnh đại diện dự án thường nhỏ, kéo ra cả banner sẽ vỡ hạt: làm mờ nhẹ để che vỡ ảnh.
   Phóng thêm một chút để mép mờ không lộ viền sáng. */
.project-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hero-image) center / cover no-repeat;
    filter: blur(6px);
    transform: scale(1.06);
}

.project-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 32, 51, 0.85) 0%, rgba(20, 32, 51, 0.40) 100%);
}

.project-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 0;
}

/* Breadcrumb luôn 1 dòng, tên dự án dài thì cắt bằng "…" */
.project-hero-breadcrumb {
    flex-wrap: nowrap;
    min-width: 0;
}

.project-hero-breadcrumb > * {
    flex: 0 0 auto;
    white-space: nowrap;
}

.project-hero-breadcrumb .is-current {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-hero-tags .project-row-category {
    text-decoration: none;
}

.project-hero h1 {
    max-width: 860px;
    margin: 0;
    color: #FFF;
    font-size: 36px;
    font-weight: 700;
    line-height: 46px;
}

.project-hero-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.project-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 24px;
    color: #E2E8F0;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.project-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.project-hero-meta svg {
    flex: 0 0 18px;
}

.project-hero-share {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(30, 41, 59, 0.80);
    color: #FFF;
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease;
}

.project-hero-share:hover,
.project-hero-share:focus-visible {
    border-color: #FFA228;
    background: #FFA228;
}

@media (max-width: 1024px) {
    .project-hero h1 {
        font-size: 30px;
        line-height: 40px;
    }
}

@media (max-width: 640px) {
    .project-hero h1 {
        font-size: 24px;
        line-height: 32px;
    }

    .project-hero-foot {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-hero-meta {
        font-size: 14px;
    }
}

/* Chi tiết dự án: phần nội dung */

.pdetail {
    padding: 24px 0 60px;
    background: #FFF;
}

.pdetail-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 12px;
    align-items: start;
}

.pdetail-media {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

/* Trình chiếu ảnh */

.pdetail-gallery {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #F1F5F9;
}

.pdetail-gallery-track {
    display: flex;
    height: 430px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.pdetail-gallery-track::-webkit-scrollbar {
    display: none;
}

.pdetail-gallery-track img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: start;
}

.pdetail-gallery-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    display: flex;
    gap: 6px;
    transform: translateX(-50%);
}

.pdetail-gallery-dots button {
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.70);
    cursor: pointer;
    transition: background 160ms ease, transform 160ms ease;
}

.pdetail-gallery-dots button.is-active {
    background: #FFA228;
    transform: scale(1.2);
}

/* Thanh tóm tắt dưới ảnh */

.pdetail-summary {
    display: flex;
    align-items: center;
    gap: 34px;
    padding: 22px 24px;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    background: #F8FAFC;
}

.pdetail-summary-item {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.pdetail-summary-item + .pdetail-summary-item {
    position: relative;
}

.pdetail-summary-item + .pdetail-summary-item::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -17px;
    width: 1px;
    height: 44px;
    background: #E5E7EB;
    transform: translateY(-50%);
}

.pdetail-summary-icon {
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(239, 0, 50, 0.20);
    background: #FFF;
}

.pdetail-summary-item small {
    display: block;
    color: #6B7280;
    font-size: 12px;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}

.pdetail-summary-item strong {
    display: block;
    margin-top: 2px;
    color: #1E293B;
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
}

/* Cột phải: trạng thái, hành động, liên hệ */

.pdetail-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pdetail-card {
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    background: #FFF;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.08);
}

.pdetail-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid #E5E7EB;
    background: #F8FAFC;
}

.pdetail-status > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.pdetail-status-label {
    color: #545963;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.pdetail-side-icon {
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(45deg, #FF8D28 0%, #FFA228 100%);
}

.pdetail-side-icon svg {
    width: 24px;
    height: 24px;
}

.pdetail-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 14px;
}

.pdetail-action {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    background: #FFF;
    box-shadow: 0 2px 8px 0 rgba(30, 41, 59, 0.06);
    color: #1E293B;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.pdetail-action svg {
    flex: 0 0 20px;
}

.pdetail-action.is-primary,
.pdetail-action:hover,
.pdetail-action:focus-visible {
    border-color: #EF0032;
    background: #EF0032;
    color: #FFF;
}

.pdetail-action.is-primary:hover,
.pdetail-action.is-primary:focus-visible {
    border-color: #FFA228;
    background: #FFA228;
}

.pdetail-contact {
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    background: #F8FAFC;
}

.pdetail-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
}

.pdetail-contact-item + .pdetail-contact-item {
    border-top: 1px solid #E5E7EB;
}

.pdetail-contact-item > div {
    min-width: 0;
}

.pdetail-contact-item small {
    display: block;
    color: #545963;
    font-size: 14px;
    line-height: normal;
}

.pdetail-contact-item strong,
.pdetail-contact-item a {
    display: block;
    margin-top: 2px;
    color: #1E293B;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.pdetail-contact-item a {
    color: #EF0032;
}

.pdetail-contact-item a:hover {
    text-decoration: underline;
}

/* Tiêu đề mục: gạch đỏ + chữ hoa */

.pdetail-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 48px 0 16px;
    color: #EF0032;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}

.pdetail-heading::before {
    content: "";
    flex: 0 0 28px;
    height: 4px;
    border-radius: 999px;
    background: #EF0032;
}

.pdetail-row {
    display: grid;
    grid-template-columns: 418px minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
}

.pdetail-box {
    padding: 28px;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    background: #FFF;
}

.pdetail-box-head {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 18px;
    margin-bottom: 26px;
    border-bottom: 1px solid #E5E7EB;
}

.pdetail-box-head h3 {
    margin: 0;
    color: #1E293B;
    font-size: 20px;
    font-weight: 600;
    line-height: normal;
}

.pdetail-box-icon {
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #FFF1F3;
}

.pdetail-intro {
    color: #545963;
    text-align: justify;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

/* Bảng thông tin */

.pdetail-table {
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
}

.pdetail-table-row {
    display: grid;
    grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
}

.pdetail-table-row + .pdetail-table-row dt,
.pdetail-table-row + .pdetail-table-row dd {
    border-top: 1px solid #E5E7EB;
}

.pdetail-table dt {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    border-right: 1px solid #E5E7EB;
    background: #F8FAFC;
    color: #545963;
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
}

.pdetail-table-icon {
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    border: 1px solid rgba(239, 0, 50, 0.10);
    background: #FFF;
}

.pdetail-table dd {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 12px 18px;
    color: #1E293B;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

/* Thông tin tài chính */

.pdetail-finance {
    margin: 0;
}

.pdetail-finance div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #E5E7EB;
}

.pdetail-finance div:first-child {
    padding-top: 0;
}

.pdetail-finance div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.pdetail-finance dt {
    flex: 0 0 auto;
    color: #545963;
    font-size: 16px;
    line-height: 140%;
}

.pdetail-finance dd {
    margin: 0;
    color: #1E293B;
    font-size: 16px;
    font-weight: 600;
    line-height: 140%;
    text-align: right;
}

.pdetail-map {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    background: #F1F5F9;
}

.pdetail-map .leaflet-container,
.pdetail-map.leaflet-container {
    z-index: 0;
    font-family: var(--font-base);
}

.pdetail-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Tài liệu liên quan */

.pdetail-docs .pdetail-box-head {
    margin-bottom: 0;
}

.pdetail-doc-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pdetail-doc-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #E5E7EB;
}

.pdetail-doc-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.pdetail-doc-title {
    color: #1E293B;
    font-size: 16px;
    line-height: 140%;
}

.pdetail-doc-file {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid rgba(239, 0, 50, 0.10);
    background: #FFF1F3;
    color: #EF0032;
    font-size: 14px;
    font-weight: 500;
    line-height: 15px;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease;
}

a.pdetail-doc-file:hover {
    background: #EF0032;
    color: #FFF;
}

.pdetail-doc-file.is-empty {
    opacity: 0.6;
}

.pdetail-doc-empty {
    color: #6B7280;
}

/* Dự án cùng chủ đề */

.pdetail-related {
    padding: 50px 0 60px;
    background: #F8FAFC;
}

.pdetail-related-head {
    margin-bottom: 24px;
}

.pdetail-related-more {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 4px;
    order: 3;
    margin-left: 12px;
    color: #EF0032;
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    text-decoration: none;
}

.pdetail-related-more:hover {
    text-decoration: underline;
}

.pdetail-related-carousel {
    position: relative;
}

.pdetail-related-track {
    display: flex;
    gap: 24px;
    padding: 4px 2px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.pdetail-related-track::-webkit-scrollbar {
    display: none;
}

.pdetail-related-track .project-row {
    flex: 0 0 calc((100% - 48px) / 3);
    scroll-snap-align: start;
}

.pdetail-related-arrow {
    position: absolute;
    top: 45%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #E2E8F0;
    border-radius: 999px;
    background: #FFF;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    color: #0F172A;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 160ms ease, color 160ms ease, opacity 160ms ease;
}

.pdetail-related-arrow.is-prev {
    left: -20px;
}

.pdetail-related-arrow.is-next {
    right: -20px;
}

.pdetail-related-arrow:hover:not(:disabled) {
    border-color: #EF0032;
    background: #EF0032;
    color: #FFF;
}

.pdetail-related-arrow:disabled {
    opacity: 0;
    pointer-events: none;
}

.pdetail-related.is-static .pdetail-related-arrow {
    display: none;
}

/* Thẻ dự án dạng dọc (carousel) */

.project-row.is-card {
    flex-direction: column;
    gap: 14px;
}

.project-row.is-card .project-row-media {
    flex: 0 0 auto;
    max-width: none;
    min-height: 0;
    height: 160px;
}

.project-row.is-card .project-row-tags {
    top: auto;
    bottom: 10px;
}

.project-row.is-card .project-row-meta {
    position: absolute;
    top: 22px;
    right: 21px;
    left: 21px;
    z-index: 1;
}

.project-row.is-card .project-row-meta span {
    background: rgba(245, 245, 245, 0.90);
}

.project-row.is-card .project-row-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.project-row.is-card .project-row-info {
    grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 1024px) {
    .pdetail-top,
    .pdetail-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .pdetail-side {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .pdetail-related-track .project-row {
        flex-basis: calc((100% - 24px) / 2);
    }

    .pdetail-related-arrow.is-prev {
        left: -8px;
    }

    .pdetail-related-arrow.is-next {
        right: -8px;
    }
}

@media (max-width: 767px) {
    .pdetail-gallery-track {
        height: 260px;
    }

    .pdetail-summary {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px;
    }

    .pdetail-summary-item + .pdetail-summary-item::before {
        top: -8px;
        left: 0;
        width: 100%;
        height: 1px;
        transform: none;
    }

    .pdetail-side {
        grid-template-columns: minmax(0, 1fr);
    }

    .pdetail-heading {
        margin-top: 36px;
    }

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

    .pdetail-table-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .pdetail-table dt {
        border-right: 0;
    }

    .pdetail-table-row dd {
        border-top: 0 !important;
        padding-top: 4px;
    }

    .pdetail-doc-list li {
        flex-direction: column;
        align-items: flex-start;
    }

    .pdetail-related-track {
        gap: 16px;
    }

    /* Màn nhỏ: mỗi lần hiện trọn 1 thẻ, căn giữa */
    .pdetail-related-track .project-row {
        flex-basis: 100%;
        scroll-snap-align: center;
    }

    /* Màn nhỏ: nút giữa chiều cao thẻ, lòi một nửa ra ngoài mép thẻ.
       Nút 30px, lòi ra 13px: vẫn nằm trong lề 15px của màn hình nên không bị cắt. */
    .pdetail-related-arrow {
        /* Khung carousel đệm trên 4px, dưới 12px: trừ 4px để đúng giữa thẻ */
        top: calc(50% - 4px);
        width: 30px;
        height: 30px;
    }

    .pdetail-related-arrow svg {
        width: 16px;
        height: 16px;
    }

    .pdetail-related-arrow.is-prev {
        left: -13px;
    }

    .pdetail-related-arrow.is-next {
        right: -13px;
    }
}

/* Trang chủ: header trong suốt nằm đè lên banner */

.brand .brand-light {
    display: none;
}

body.is-home .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    border-bottom-color: transparent;
    background: rgba(0, 0, 0, 0.16);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

/* backdrop-filter biến header thành khung chứa của phần tử fixed, làm menu mobile bị kẹt trong header cao ~80px; tắt khi menu đang mở */
body.is-home .site-header:has(.mobile-nav-panel.is-visible) {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

body.is-home .site-header:not(.is-solid) .brand img:not(.brand-light) {
    display: none;
}

body.is-home .site-header:not(.is-solid) .brand .brand-light {
    display: block;
}

body.is-home .site-header:not(.is-solid) .site-nav a {
    color: #FFF;
}

body.is-home .site-header:not(.is-solid) .site-nav a:hover,
body.is-home .site-header:not(.is-solid) .site-nav a.is-active {
    color: #FFF;
}

body.is-home .site-header:not(.is-solid) .site-nav a::after {
    background: #FFF;
}

body.is-home .site-header.is-solid {
    border-bottom-color: rgba(122, 0, 25, 0.08);
    background: var(--surface);
    box-shadow: 0 8px 24px rgba(44, 44, 44, 0.08);
}

/* Banner đầu trang chủ */

.home-hero2 {
    position: relative;
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    background: #0F172A;
    color: #FFF;
}

.home-hero2-slides,
.home-hero2-slide {
    position: absolute;
    inset: 0;
}

.home-hero2-slide {
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1200ms ease, transform 6000ms linear;
}

.home-hero2-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

/* Lớp tối nhẹ để chữ trắng luôn đọc được trên mọi ảnh */
.home-hero2-slides::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.15) 60%, rgba(15, 23, 42, 0) 100%),
        linear-gradient(0deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0) 40%);
}

.home-hero2-inner {
    position: relative;
    z-index: 1;
    /* Cách lề 78px ở màn 1920px, thu nhỏ thì lề co dần, tối thiểu 15px (như header / footer) */
    width: min(1764px, calc(100% - 30px));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
    padding: 160px 0 65px;
}

.home-hero2-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 860px;
    margin-top: auto;
}

.home-hero2-content h1 {
    margin: 0;
    color: #FFF;
    font-size: 50px;
    font-weight: 700;
    line-height: 66px;
    text-transform: uppercase;
}

.home-hero2-content p {
    max-width: 640px;
    margin: 0;
    color: #FFF;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
}

.home-hero2-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-top: auto;
}

.home-hero2-stats {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    gap: 24px 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-hero2-stats li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 0 1 auto;
    min-width: 0;
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.30);
}

.home-hero2-stats strong {
    display: flex;
    white-space: nowrap;
    align-items: flex-end;
    gap: 4px;
    color: #FFF;
    font-size: 52px;
    font-weight: 700;
    line-height: 63px;
    text-transform: uppercase;
}

.home-hero2-stats small {
    margin-bottom: 10px;
    color: #FFF;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-transform: none;
}

.home-hero2-stats li > span {
    color: #FFF;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    white-space: nowrap;
}

.home-hero2-consult {
    flex: 0 0 300px;
    width: 300px;
    padding: 18px 20px;
}

.home-hero2-consult h2 {
    font-size: 20px;
    line-height: 26px;
}

.home-hero2-consult p {
    padding: 6px 0 12px;
    font-size: 12px;
    line-height: 16px;
}

.home-hero2-scroll {
    position: absolute;
    bottom: 18px;
    left: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform: translateX(-50%);
    animation: home-hero2-bounce 1.8s ease-in-out infinite;
}

@keyframes home-hero2-bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 6px); }
}

@media (max-width: 1280px) {
    .home-hero2-content h1 {
        font-size: 42px;
        line-height: 56px;
    }

    .home-hero2-stats strong {
        font-size: 42px;
        line-height: 52px;
    }


}

/* 5 ô số 52px + khung đăng ký cần ~1340px; hẹp hơn thì khung đăng ký xuống dưới */
@media (max-width: 1339px) {
    .home-hero2-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .home-hero2-stats {
        flex-wrap: wrap;
    }

    .home-hero2-consult {
        flex-basis: auto;
        width: 100%;
        max-width: 420px;
    }
}

/* Mobile: số liệu xếp 3 - 2, nút gửi yêu cầu nằm ngay màn hình đầu */
@media (max-width: 767px) {
    /* Gom cả tiêu đề, số liệu, nút xuống sát đáy banner, không để khoảng trống ở giữa */
    .home-hero2-inner {
        justify-content: flex-end;
        gap: 20px;
        padding: 84px 0 44px;
    }

    .home-hero2-bottom {
        margin-top: 0;
        gap: 16px;
    }

    .home-hero2-content {
        gap: 10px;
    }

    /* Tiêu đề là 1 chuỗi liền, tự xuống dòng theo bề rộng khung */
    .home-hero2-content h1 {
        font-size: clamp(21px, 6.4vw, 30px);
        line-height: 1.3;
    }

    .home-hero2-content p {
        font-size: 15px;
        line-height: 22px;
    }

    /* Số liệu xếp 3 - 2: mỗi ô chiếm 1/3 hàng, hàng cuối còn 2 ô thì giãn đều ra cho kín */
    .home-hero2-stats {
        flex-wrap: wrap;
        gap: 14px 12px;
    }

    .home-hero2-stats li {
        flex: 1 0 28%;
    }

    .home-hero2-stats strong {
        font-size: 28px;
        line-height: 34px;
    }

    .home-hero2-stats small {
        margin-bottom: 4px;
        font-size: 14px;
    }

    .home-hero2-stats li > span {
        font-size: 14px;
        line-height: 18px;
        white-space: normal;
    }

    /* Thu khung đăng ký về còn 1 nút */
    .home-hero2-consult {
        width: 100%;
        max-width: none;
        padding: 0;
        border-radius: 0;
        background: none;
        box-shadow: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .home-hero2-consult h2,
    .home-hero2-consult p {
        display: none;
    }

    .home-hero2-consult .page-banner-consult-button {
        padding: 14px;
    }

    .home-hero2-scroll {
        bottom: 10px;
    }
}

/* Trang chủ: khối Giới thiệu nổi bật */

.home-intro {
    padding: 87px 0;
    background-color: #F8FAFC;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-intro-inner {
    display: grid;
    grid-template-columns: minmax(0, 404px) minmax(0, 1fr);
    gap: 40px;
    align-items: stretch;
}

/* Khung bản đồ bên trái */

.home-intro-map {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0 2px 20px 0 rgba(15, 23, 42, 0.06);
}

.home-intro-map-body {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 44px 30px 0;
}

.home-intro-map h2 {
    align-self: stretch;
    margin: 0;
    color: #EF0032;
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
}

.home-intro-map p {
    margin: 0;
    color: #545963;
    text-align: justify;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
}

.home-intro-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 11px 12px;
    border-radius: 8px;
    background: #EF0032;
    box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
    color: #FFF;
    font-size: 16px;
    font-weight: 500;
    line-height: 17px;
    text-align: center;
    text-decoration: none;
    transition: background 180ms ease;
}

.home-intro-map-btn:hover,
.home-intro-map-btn:focus-visible {
    background: #FFA228;
    color: #FFF;
}

.home-intro-map img {
    display: block;
    width: 100%;
    margin-top: 0;
    height: auto;
    aspect-ratio: 404 / 228;
    object-fit: cover;
}

/* Cột phải */

.home-intro-main {
    display: flex;
    flex-direction: column;
    gap: 26px;
    min-width: 0;
}

.home-intro-title {
    margin: 0;
    color: #1E293B;
    font-size: 36px;
    font-weight: 700;
    line-height: 36px;
}

.home-intro-title span {
    color: #EF0032;
}

.home-intro-desc {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.home-intro-desc p {
    margin: 0;
    color: #545963;
    text-align: justify;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.home-intro-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    /* Đẩy hàng thẻ xuống đáy để thẳng hàng với đáy khung bản đồ bên trái */
    margin-top: auto;
    padding-top: 24px;
}

.home-intro-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
    padding: 25px 12px;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0 2px 20px 0 rgba(15, 23, 42, 0.06);
    transition: background 240ms ease, transform 240ms ease;
}

.home-intro-card-arc {
    position: absolute;
    top: 0;
    right: 0;
    pointer-events: none;
}

.home-intro-card-arc path {
    transition: stroke 240ms ease;
}

.home-intro-card.is-red .home-intro-card-arc path { stroke: #FFF5F7; }
.home-intro-card.is-orange .home-intro-card-arc path { stroke: #FFF2E5; }

.home-intro-card-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    transition: background 240ms ease;
}

.home-intro-card-icon svg {
    width: 24px;
    height: 24px;
}

.home-intro-card.is-red .home-intro-card-icon { background: #FEEBEF; color: #EF0032; }
.home-intro-card.is-orange .home-intro-card-icon { background: #FFE6CE; color: #FF8D28; }

.home-intro-card h3 {
    position: relative;
    margin: 0;
    color: #1E293B;
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    transition: color 240ms ease;
}

.home-intro-card p {
    position: relative;
    margin: 0;
    color: #545963;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: -0.56px;
    transition: color 240ms ease;
}

/* Rê chuột: thẻ chuyển nền màu, chữ trắng, icon trên nền trắng */

.home-intro-card:hover {
    transform: translateY(-4px);
}

.home-intro-card.is-red:hover { background: linear-gradient(180deg, #EF0032 0%, #98002E 100%); }
.home-intro-card.is-orange:hover { background: linear-gradient(180deg, #FFA228 0%, #ED6203 100%); }

.home-intro-card.is-red:hover .home-intro-card-arc path { stroke: #FA0D3F; }
.home-intro-card.is-orange:hover .home-intro-card-arc path { stroke: #F8B258; }

.home-intro-card:hover .home-intro-card-icon { background: #FFF; }

.home-intro-card:hover h3,
.home-intro-card:hover p {
    color: #FFF;
}

@media (max-width: 1280px) {
    .home-intro-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .home-intro {
        padding: 60px 0;
    }

    .home-intro-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-intro-title {
        font-size: 30px;
        line-height: 36px;
    }
}

/* Máy tính bảng: khung bản đồ full ngang, chữ bên trái, ảnh bên phải (không để trống nửa phải) */
@media (min-width: 641px) and (max-width: 1024px) {
    .home-intro-map {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: stretch;
    }

    .home-intro-map-body {
        align-items: flex-start;
        justify-content: center;
        padding: 36px 32px;
    }

    .home-intro-map img {
        height: 100%;
        min-height: 260px;
        aspect-ratio: auto;
    }
}

@media (max-width: 640px) {
    .home-intro {
        padding: 40px 0;
    }

    .home-intro-map-body {
        padding: 32px 20px 20px;
    }

    .home-intro-map h2 {
        font-size: 24px;
        line-height: 30px;
    }

    .home-intro-title {
        font-size: 26px;
        line-height: 32px;
    }

    .home-intro-cards {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 8px;
    }
}

/* Trang chủ: Tìm kiếm dự án + Dự án nổi bật */

.home-psearch {
    padding: 60px 0;
    background: #FFF;
}

.home-psearch-title {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0 0 40px;
    color: #1E293B;
    font-size: 40px;
    font-weight: 700;
    line-height: 36px;
    text-align: center;
}

.home-psearch-title::before,
.home-psearch-title::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: #E5E7EB;
}

/* Thanh tìm kiếm trên nền trắng: thêm viền để tách khỏi nền */
.home-psearch-bar .project-search-bar {
    max-width: none;
    border: 1px solid #E5E7EB;
}

.home-psearch-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.home-psearch-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    background: #FFF;
    color: #6B7280;
    font-size: 14px;
    line-height: 17px;
    text-decoration: none;
    transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.home-psearch-chip-icon {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
}

.home-psearch-chip-icon.is-mask {
    background-color: currentColor;
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
}

.home-psearch-chip em {
    padding: 2px 4px;
    border-radius: 6px;
    background: rgba(239, 0, 50, 0.10);
    color: #EF0032;
    font-size: 12px;
    font-style: normal;
    line-height: 12px;
}

.home-psearch-chip:hover {
    border-color: #EF0032;
    color: #EF0032;
}

.home-psearch-chip.is-active {
    border-color: transparent;
    background: #EF0032;
    color: #FFF;
    font-weight: 500;
}

.home-psearch-chip.is-active em {
    background: rgba(255, 255, 255, 0.20);
    color: #FFF;
}

/* Dự án nổi bật */

.home-featured {
    margin-top: 56px;
}

.home-featured-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.home-featured-icon {
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(45deg, #FF8D28 0%, #FFA228 100%);
}

.home-featured-head small {
    display: block;
    color: #EF0032;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    text-transform: uppercase;
}

.home-featured-head h2 {
    margin: 0;
    color: #0F172A;
    font-size: 22px;
    font-weight: 600;
    line-height: 28px;
}

.home-featured-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    color: #EF0032;
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    text-decoration: none;
}

.home-featured-more:hover {
    text-decoration: underline;
}

.home-featured-carousel {
    position: relative;
}

.home-featured.is-static .pdetail-related-arrow {
    display: none;
}

@media (max-width: 767px) {
    .home-psearch {
        padding: 40px 0;
    }

    .home-psearch-title {
        gap: 12px;
        margin-bottom: 24px;
        font-size: 28px;
        line-height: 34px;
    }

    .home-psearch-chips {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .home-psearch-chip {
        flex: 0 0 auto;
    }

    .home-featured {
        margin-top: 36px;
    }
}

/* Thẻ dự án dạng dọc: số QĐ + địa điểm trên ảnh luôn 1 dòng, địa chỉ dài thì cắt "…" */
.project-row.is-card .project-row-meta {
    flex-wrap: nowrap;
}

.project-row.is-card .project-row-meta span {
    flex: 0 0 auto;
    max-width: 100%;
    white-space: nowrap;
}

.project-row.is-card .project-row-meta span.is-location {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Trang chủ: Dự án mới nhất */

.home-latest {
    margin-top: 56px;
}

.home-latest-count {
    margin: 0 0 0 auto;
    color: #545963;
    font-size: 14px;
    line-height: 17px;
}

.home-latest-count b {
    color: #EF0032;
    font-weight: 600;
}

.home-latest-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.home-latest-item {
    display: flex;
}

.home-latest-item[hidden] {
    display: none;
}

.home-latest-item .project-row {
    flex: 1 1 auto;
    min-width: 0;
}

.home-latest-more {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 6px;
    margin: 28px auto 0;
    padding: 8px 12px;
    border: 0;
    background: transparent;
    color: #EF0032;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    text-decoration: none;
    cursor: pointer;
}

.home-latest-more:hover {
    text-decoration: underline;
}

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

@media (max-width: 640px) {
    .home-latest {
        margin-top: 36px;
    }

    .home-latest-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
}

/* Nhãn địa điểm trên ảnh: hiển thị dạng khối để "…" hoạt động (flex không cắt chữ bằng "…") */
.project-row.is-card .project-row-meta span.is-location {
    display: block;
    line-height: 14px;
}

.project-row.is-card .project-row-meta span.is-location svg {
    margin-right: 4px;
    vertical-align: -3px;
}

/* Đầu khối tin: chữ nhỏ phía trên + link "Xem thêm" bên phải */
.news-block-heading {
    display: flex;
    flex-direction: column;
}

.news-block-heading small {
    color: #EF0032;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    text-transform: uppercase;
}

.news-block-heading h2 {
    margin: 0;
    color: #0F172A;
    font-size: 22px;
    font-weight: 600;
    line-height: 28px;
}

.news-block-more {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 4px;
    order: 3;
    margin-left: 12px;
    color: #EF0032;
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    text-decoration: none;
}

.news-block-more:hover {
    text-decoration: underline;
}

/* Trang chủ: Tin mới nhất */
.home-news {
    background: #FFF;
}

/* Trang chủ: Cổng đăng ký tư vấn */

.home-consult {
    padding: 87px 0 64px;
    background:
        var(--consult-bg, none) center bottom / 100% auto no-repeat,
        linear-gradient(180deg, #F9FBFE 0%, #FFF 100%);
}

.home-consult-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.home-consult-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.home-consult-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 60px;
    border: 1px solid #E5E7EB;
    background: rgba(255, 255, 255, 0.80);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    color: #6B7280;
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
}

.home-consult-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: #EF0032;
}

.home-consult-hotline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 60px;
    background: #ED6203;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    color: #FFF;
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    text-decoration: none;
    transition: background 160ms ease;
}

.home-consult-hotline strong {
    font-weight: 700;
}

.home-consult-hotline:hover {
    background: #FFA228;
    color: #FFF;
}

.home-consult-card {
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    background: #FFF;
    box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.15);
}

.home-consult-commitments {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.home-consult-commitments li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6B7280;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
}

/* Form đăng ký tư vấn hiển thị trên trang */

.inline-consult {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.inline-consult-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 48px;
    border-right: 1px solid #E5E7EB;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.70) 0%, #FFF 50%, #FFF7ED 100%);
}

.inline-consult-tag {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 60px;
    border: 1px solid rgba(239, 0, 50, 0.20);
    background: #FFF5F7;
    color: #EF0032;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.inline-consult-tag::before {
    content: "";
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #EF0032;
}

.inline-consult-title {
    margin: 0;
    color: #1E293B;
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
}

.inline-consult-title span {
    display: block;
    color: #EF0032;
}

.inline-consult-desc {
    margin: 0;
    color: #545963;
    text-align: justify;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.inline-consult-topics {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0 0 32px;
    border: 0;
    border-bottom: 1px solid #E5E7EB;
}

.inline-consult-topics legend {
    margin-bottom: 12px;
    padding: 0;
    color: #1E293B;
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
}

.inline-consult-topic {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    background: rgba(255, 255, 255, 0.60);
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease;
}

.inline-consult-topic input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.inline-consult-topic:hover {
    border-color: rgba(239, 0, 50, 0.30);
}

.inline-consult-topic:has(input:checked) {
    margin: -1px;
    border: 2px solid rgba(239, 0, 50, 0.20);
    background: #FFF5F7;
    box-shadow: 0 1px 2px 0 rgba(249, 115, 22, 0.05);
}

.inline-consult-topic:has(input:focus-visible) {
    box-shadow: 0 0 0 3px rgba(239, 0, 50, 0.15);
}

.inline-consult-topic-icon {
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
}

.inline-consult-topic-icon svg {
    width: 24px;
    height: 24px;
}

.inline-consult-topic-icon.is-red { border: 1px solid #FFBCCA; background: rgba(255, 255, 255, 0.60); box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.inline-consult-topic-icon.is-blue { border: 1px solid #B4D4FF; background: #EFF6FF; }
.inline-consult-topic-icon.is-purple { border: 1px solid #E2C8FF; background: #FAF5FF; }
.inline-consult-topic-icon.is-green { border: 1px solid #B1DFC7; background: #ECFDF5; }

.inline-consult-topic-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.inline-consult-topic-text strong {
    color: #1E293B;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.inline-consult-topic-text small {
    color: #545963;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.inline-consult-security {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 0;
    color: #6B7280;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

.inline-consult-main {
    display: flex;
    flex-direction: column;
    padding: 48px;
}

.inline-consult-main .consult-note {
    margin-top: auto;
}

.inline-consult-fields .consult-submit {
    margin-top: 24px;
}

.inline-consult .inline-consult-success {
    display: none;
    padding: 40px 0;
}

.inline-consult.is-sent .inline-consult-fields {
    display: none;
}

.inline-consult.is-sent .inline-consult-success {
    display: flex;
}

@media (max-width: 1024px) {
    .home-consult-head {
        flex-wrap: wrap;
    }

    .home-consult-actions {
        width: 100%;
        margin-left: 56px;
    }

    .inline-consult {
        grid-template-columns: minmax(0, 1fr);
    }

    .inline-consult-side {
        border-right: 0;
        border-bottom: 1px solid #E5E7EB;
    }
}

@media (max-width: 640px) {
    .home-consult {
        padding: 48px 0 80px;
    }

    .home-consult-actions {
        margin-left: 0;
    }

    .inline-consult-side,
    .inline-consult-main {
        padding: 28px 16px;
    }

    .inline-consult-title {
        font-size: 24px;
        line-height: 30px;
    }

    .home-consult-commitments {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Trang chủ: dải logo đơn vị đồng hành (dưới khối tư vấn) */

.home-partners {
    --partners-logo: 83px;
    /* Khung giống footer: tối đa 1692px (cách 114px ở màn 1920), thu nhỏ còn cách tối thiểu 15px */
    --partners-width: min(1692px, calc(100vw - 30px));
    /* Chia khoảng cách để khung rộng nhất hiện vừa đúng 10 logo */
    --partners-gap: max(40px, calc((var(--partners-width) - 10 * var(--partners-logo)) / 9));
    overflow: hidden;
    width: var(--partners-width);
    margin: 72px auto 0;
}

.home-partners-track {
    display: flex;
    align-items: center;
    gap: var(--partners-gap);
    width: max-content;
    margin: 0;
    padding: 0;
    list-style: none;
    transition: transform 700ms ease;
    will-change: transform;
}

.home-partners-item {
    display: flex;
    flex: 0 0 var(--partners-logo);
    justify-content: center;
}

.home-partners-item img {
    display: block;
    width: auto;
    height: 80px;
    max-width: 100%;
    object-fit: contain;
}

.home-partners-item a {
    display: block;
    transition: transform 160ms ease;
}

.home-partners-item a:hover {
    transform: scale(1.06);
}

@media (max-width: 640px) {
    .home-partners {
        --partners-logo: 62px;
        margin-top: 48px;
    }

    .home-partners-item img {
        height: 60px;
    }
}

/* Trang chủ: hiệu ứng xuất hiện khi cuộn (class do home-reveal.js gắn).
   Dùng animation + opacity/translate riêng để không đè transition/transform sẵn có của phần tử. */

.reveal:not(.is-revealed) {
    opacity: 0;
}

.reveal.is-revealed {
    animation: home-reveal 700ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms) both;
}

@keyframes home-reveal {
    from {
        opacity: 0;
        translate: 0 32px;
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}

/* Header: logo chỉ còn biểu tượng (bỏ chữ) nên phóng to hơn. Ảnh gốc 76px, không phóng quá để khỏi vỡ */
.brand.is-icon img {
    width: auto;
    height: 68px;
    /* Admin chọn logo dài (có chữ) thì co lại theo chiều ngang, không đè lên menu */
    max-width: min(330px, 58vw);
    object-fit: contain;
}

@media (max-width: 640px) {
    .brand.is-icon img {
        width: auto;
        height: 52px;
    }
}
