
/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: #07142b;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0 !important;
    background: #07142b !important;
    font-family: Arial, Helvetica, sans-serif !important;
    color: #ffffff !important;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    overflow-wrap: anywhere;
}

:root {
    --blue: #1E50A2;
    --blue-dark: #0b2454;
    --blue-deep: #061735;
    --blue-light: #2d68c7;

    --red: #ff5858;
    --red-dark: #d93636;
    --red-light: #ff8585;

    --white: #ffffff;
    --text: #ffffff;
    --text-soft: #dbe7ff;

    --border: rgba(255, 255, 255, 0.18);
    --border-red: rgba(255, 88, 88, 0.7);

    --shadow:
        0 0 25px rgba(255, 88, 88, 0.12);
}

/* =========================================================
   KHUNG WEBSITE
========================================================= */

.container {
    position: relative;
    z-index: 1;

    width: min(95%, 1000px);

    margin: 25px auto;
    padding: 12px;

    background:
        linear-gradient(
            180deg,
            rgba(18, 57, 122, 0.96),
            rgba(6, 23, 53, 0.98)
        );

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;

    color: #ffffff;

    box-shadow:
        0 0 30px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(30, 80, 162, 0.12);
}

/* =========================================================
   ẢNH NỀN
========================================================= */

.image_background {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;

    background: var(--blue-dark);
}

.image_background img {
    width: 100%;
    height: auto;

    display: block;

    border-radius: 12px;

    object-fit: cover;
}

/* =========================================================
   HEADER
========================================================= */

.header_info {
    display: flex !important;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin: 20px 0 30px;
    padding: 18px;

    flex-wrap: wrap;

    background:
        linear-gradient(
            135deg,
            rgba(11, 36, 84, 0.95),
            rgba(18, 57, 122, 0.82)
        );

    border: 1px solid rgba(255, 88, 88, 0.35) !important;
    border-radius: 14px;

    box-shadow:
        0 0 20px rgba(255, 88, 88, 0.08);
}

.left_info {
    display: flex;

    align-items: center;

    gap: 15px;

    min-width: 0;

    color: #ffffff !important;
}

.header_profile {
    width: 110px;
    height: 110px;

    padding: 0;
    margin: 0;

    border: 3px solid var(--red);
    border-radius: 50%;

    overflow: hidden;

    flex-shrink: 0;

    background: var(--blue-dark);

    box-shadow:
        0 0 12px rgba(255, 88, 88, 0.45);
}

.header_profile img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.left_info h1,
.header_info h1 {
    margin: 0;

    color: #ffffff !important;

    font-size: clamp(24px, 4vw, 38px);

    line-height: 1.3;

    overflow-wrap: anywhere;

    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.1);
}

.right_info {
    display: flex !important;

    gap: 12px;

    align-items: center;

    justify-content: flex-end;

    flex-wrap: wrap;

    margin-left: auto;
}

.right_info > a {
    display: inline-flex;

    text-decoration: none !important;
}

.logo_social {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border: 1px solid rgba(255, 88, 88, 0.45);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.04);

    overflow: hidden;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.logo_social img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;

    opacity: 1;

    filter: none !important;
}

.right_info a:hover .logo_social {
    transform: translateY(-3px);

    background: rgba(255, 88, 88, 0.12);

    box-shadow:
        0 0 10px rgba(255, 88, 88, 0.45);
}

/* =========================================================
   BIO BOX
========================================================= */

.bio_box {
    width: 100%;
    flex: 0 0 100%;

    margin-top: 20px;
    padding: 0;

    color: #ffffff !important;

    background:
        linear-gradient(
            180deg,
            rgba(18, 57, 122, 0.95),
            rgba(7, 20, 43, 0.98)
        ) !important;

    border: 2px solid var(--red) !important;
    border-radius: 14px;

    box-shadow:
        0 0 25px rgba(255, 88, 88, 0.12),
        inset 0 0 25px rgba(0, 0, 0, 0.15);

    position: relative;

    overflow: hidden;
}

.bio_box::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 3px;

    background: var(--red);

    box-shadow:
        0 0 10px var(--red),
        0 0 22px var(--red);

    z-index: 2;
}

/* =========================================================
   TLG FUTURE
========================================================= */

.tlg-future {
    width: 100%;

    margin: 0;
    padding: 0;

    color: #ffffff !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 12px;

    box-shadow: none;

    overflow: hidden;

    position: relative;
}

.tlg-future::before {
    content: "THANH LOAN GO  |  XE GHÉP HÀ NỘI - BẮC MÊ";

    display: block;

    padding: 10px 16px;

    color: #ffffff !important;

    background:
        linear-gradient(
            90deg,
            var(--red-dark),
            var(--red),
            #0b2454
        );

    border-bottom: 1px solid var(--red);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.08em;

    text-align: center;

    overflow-wrap: anywhere;
}

/* =========================================================
   TLG SHELL
========================================================= */

.tlg-shell {
    position: relative;

    width: 100%;

    padding: 25px;

    color: #ffffff !important;

    background: transparent !important;

    overflow-wrap: break-word;
}

/* =========================================================
   ÉP CHỮ TRẮNG TRONG NỘI DUNG
========================================================= */

.bio_box,
.bio_box *,
.tlg-future,
.tlg-future *,
.tlg-shell,
.tlg-shell *,
.xe-ghep-bac-me-content,
.xe-ghep-bac-me-content * {
    color: #ffffff !important;
}

/* =========================================================
   NỘI DUNG XE GHÉP BẮC MÊ
========================================================= */

.xe-ghep-bac-me-content {
    width: 100%;
    max-width: 100%;

    margin: 0 auto;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 16px;

    line-height: 1.8;

    color: #ffffff !important;

    overflow-wrap: break-word;
}

.xe-ghep-bac-me-content p {
    margin: 0 0 16px;

    color: #ffffff !important;

    line-height: 1.8;
}

.xe-ghep-bac-me-content strong,
.xe-ghep-bac-me-content b {
    color: #ffffff !important;

    font-weight: 700;
}

.xe-ghep-bac-me-content em {
    color: #dbe7ff !important;
}

/* =========================================================
   H1 - TIÊU ĐỀ CHÍNH
========================================================= */

.xe-ghep-bac-me-content h1 {
    margin: 0 0 24px;

    padding: 0 0 18px;

    color: #ffffff !important;

    font-size: clamp(26px, 4vw, 36px);

    font-weight: 800;

    line-height: 1.4;

    border-bottom:
        2px solid rgba(255, 88, 88, 0.65);

    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.08);
}

/* =========================================================
   H2 - TIÊU ĐỀ MỤC LỚN
========================================================= */

.xe-ghep-bac-me-content h2 {
    position: relative;

    margin: 34px 0 18px;

    padding: 13px 16px;

    color: #ffffff !important;

    font-size: clamp(21px, 3vw, 25px);

    font-weight: 800;

    line-height: 1.5;

    background:
        linear-gradient(
            90deg,
            rgba(255, 88, 88, 0.12),
            rgba(255, 255, 255, 0.035)
        );

    border-left: 5px solid var(--red);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.13);

    border-radius: 6px;
}

/* =========================================================
   H3 - TIÊU ĐỀ MỤC NHỎ
========================================================= */

.xe-ghep-bac-me-content h3 {
    margin: 25px 0 12px;

    padding: 10px 14px;

    color: #ffffff !important;

    font-size: clamp(18px, 2.5vw, 21px);

    font-weight: 700;

    line-height: 1.5;

    background:
        linear-gradient(
            135deg,
            rgba(18, 56, 117, 0.98),
            rgba(11, 36, 84, 0.98)
        );

    border-left: 4px solid var(--red);

    border-radius: 6px;
}

/* =========================================================
   DANH SÁCH
========================================================= */

.xe-ghep-bac-me-content ul,
.xe-ghep-bac-me-content ol {
    margin: 16px 0 22px;

    padding: 16px 20px 16px 44px;

    color: #ffffff !important;

    background:
        rgba(255, 255, 255, 0.055);

    border:
        1px solid rgba(255, 255, 255, 0.14);

    border-radius: 10px;
}

.xe-ghep-bac-me-content li {
    margin: 0 0 9px;

    padding-left: 3px;

    color: #ffffff !important;

    line-height: 1.75;
}

.xe-ghep-bac-me-content li:last-child {
    margin-bottom: 0;
}

.xe-ghep-bac-me-content li::marker {
    color: var(--red) !important;

    font-weight: 700;
}

/* =========================================================
   LINK TRONG BÀI VIẾT
========================================================= */

.xe-ghep-bac-me-content a {
    color: #ffffff !important;

    font-weight: 700;

    text-decoration: underline;

    text-decoration-color: var(--red);

    text-decoration-thickness: 2px;

    text-underline-offset: 3px;

    transition:
        color 0.2s ease,
        text-decoration-color 0.2s ease;
}

.xe-ghep-bac-me-content a:hover {
    color: #ffe1e1 !important;

    text-decoration-color: #ffffff;
}

.xe-ghep-bac-me-content a:focus-visible {
    outline: 2px solid var(--red);

    outline-offset: 4px;

    border-radius: 3px;
}

/* =========================================================
   BẢNG GIÁ - KHUNG CUỘN NGANG
========================================================= */

.xe-ghep-table-wrapper {
    width: 100%;

    max-width: 100%;

    margin: 22px 0;

    overflow-x: auto;

    overflow-y: hidden;

    -webkit-overflow-scrolling: touch;

    border: 2px solid var(--red);

    border-radius: 12px;

    background: #0b2454;

    box-shadow:
        0 0 18px rgba(0, 0, 0, 0.18),
        0 0 15px rgba(255, 88, 88, 0.1);
}

.xe-ghep-table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.xe-ghep-table-wrapper::-webkit-scrollbar-track {
    background: #07142b;

    border-radius: 10px;
}

.xe-ghep-table-wrapper::-webkit-scrollbar-thumb {
    background: var(--red);

    border-radius: 10px;
}

.xe-ghep-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--red-light);
}

/* =========================================================
   BẢNG GIÁ
========================================================= */

.xe-ghep-bac-me-content .xe-ghep-table-wrapper table {
    width: 100%;

    min-width: 700px;

    margin: 0;

    border: 0;

    border-collapse: collapse;

    border-spacing: 0;

    background: #0b2454 !important;

    color: #ffffff !important;

    table-layout: auto;
}

.xe-ghep-bac-me-content .xe-ghep-table-wrapper thead {
    background: #123875 !important;
}

.xe-ghep-bac-me-content .xe-ghep-table-wrapper th {
    padding: 14px 12px;

    color: #ffffff !important;

    background: #123875 !important;

    border:
        1px solid rgba(255, 255, 255, 0.25);

    font-size: 15px;

    font-weight: 800;

    text-align: left;

    vertical-align: middle;
}

.xe-ghep-bac-me-content .xe-ghep-table-wrapper td {
    padding: 13px 12px;

    color: #ffffff !important;

    background: #0b2454 !important;

    border:
        1px solid rgba(255, 255, 255, 0.18);

    font-size: 15px;

    text-align: left;

    vertical-align: top;

    line-height: 1.65;
}

.xe-ghep-bac-me-content .xe-ghep-table-wrapper td strong {
    color: #ffffff !important;

    font-weight: 800;
}

.xe-ghep-bac-me-content .xe-ghep-table-wrapper tbody tr:nth-child(even) td {
    background: #102e65 !important;
}

.xe-ghep-bac-me-content .xe-ghep-table-wrapper tbody tr:hover td {
    background: #173d80 !important;
}

/* =========================================================
   KHUNG GỌI ĐẶT XE
========================================================= */

.xe-ghep-cta {
    position: relative;

    margin: 25px 0;

    padding: 22px;

    color: #ffffff !important;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            rgba(18, 56, 117, 0.98),
            rgba(11, 36, 84, 0.98)
        );

    border: 2px solid var(--red);

    border-radius: 14px;

    box-shadow:
        0 0 20px rgba(255, 88, 88, 0.14),
        inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.xe-ghep-cta::before {
    content: "";

    position: absolute;

    top: 0;
    left: 12%;
    right: 12%;

    height: 2px;

    background: var(--red);

    box-shadow:
        0 0 10px var(--red);
}

.xe-ghep-cta p {
    margin: 10px 0;

    color: #ffffff !important;
}

.xe-ghep-cta p:last-child {
    margin-bottom: 0;
}

.xe-ghep-cta strong {
    color: #ffffff !important;

    font-weight: 800;
}

/* =========================================================
   NÚT LINK ĐẶT XE TRONG CTA
========================================================= */

.xe-ghep-cta a {
    display: inline-block;

    max-width: 100%;

    margin: 5px 0;

    padding: 10px 18px;

    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #1E50A2,
            #123875
        );

    border: 1px solid var(--red);

    border-radius: 8px;

    font-size: 16px;

    font-weight: 800;

    text-decoration: none !important;

    box-shadow:
        0 0 10px rgba(255, 88, 88, 0.14);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.xe-ghep-cta a:hover {
    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #2d68c7,
            #1E50A2
        );

    transform: translateY(-2px);

    box-shadow:
        0 0 16px rgba(255, 88, 88, 0.32);
}

/* =========================================================
   THÔNG TIN LIÊN HỆ
========================================================= */

.xe-ghep-contact {
    margin: 28px 0 5px;

    padding: 22px;

    color: #ffffff !important;

    background:
        linear-gradient(
            180deg,
            rgba(18, 57, 122, 0.85),
            rgba(7, 20, 43, 0.96)
        );

    border: 1px solid rgba(255, 88, 88, 0.65);

    border-radius: 12px;

    box-shadow:
        0 0 18px rgba(255, 88, 88, 0.09);
}

.xe-ghep-contact h3 {
    margin: 0 0 20px;

    padding: 12px 14px;

    color: #ffffff !important;

    background:
        linear-gradient(
            90deg,
            rgba(255, 88, 88, 0.2),
            rgba(255, 255, 255, 0.035)
        );

    border-left: 5px solid var(--red);

    border-radius: 6px;

    font-size: 21px;

    line-height: 1.5;
}

.xe-ghep-contact p {
    margin: 12px 0;

    padding-bottom: 10px;

    color: #ffffff !important;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.09);

    overflow-wrap: anywhere;
}

.xe-ghep-contact p:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}

.xe-ghep-contact strong {
    color: #ffffff !important;
}

.xe-ghep-contact a {
    color: #ffffff !important;

    font-weight: 700;

    text-decoration: underline;

    text-decoration-color: var(--red);

    text-underline-offset: 3px;
}

.xe-ghep-contact a:hover {
    color: #ffe1e1 !important;
}

/* =========================================================
   ĐỊNH DẠNG CHUNG CHO NỘI DUNG TLG
========================================================= */

.tlg-shell h1,
.tlg-shell h2,
.tlg-shell h3,
.tlg-shell p,
.tlg-shell li,
.tlg-shell td,
.tlg-shell th,
.tlg-shell strong,
.tlg-shell b {
    color: #ffffff !important;
}

.tlg-shell blockquote {
    margin: 20px 0;

    padding: 16px 18px;

    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #123875,
            #0b2454
        );

    border-left: 5px solid var(--red);

    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 8px;
}

.tlg-shell blockquote p {
    color: #ffffff !important;
}

/* =========================================================
   ẢNH TRONG NỘI DUNG
========================================================= */

.xe-ghep-bac-me-content img {
    display: block;

    max-width: 100%;

    height: auto;

    margin: 18px auto;

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 10px;
}

/* =========================================================
   CHỌN VĂN BẢN
========================================================= */

::selection {
    color: #ffffff;

    background: #1E50A2;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 768px) {

    .container {
        width: 95%;

        margin: 15px auto;

        padding: 8px;
    }

    .header_info {
        flex-direction: column;

        justify-content: center;

        gap: 15px;

        text-align: center;

        padding: 15px;
    }

    .left_info {
        flex-direction: column;

        justify-content: center;

        width: 100%;
    }

    .right_info {
        justify-content: center;

        width: 100%;

        margin-left: 0;
    }

    .header_profile {
        width: 90px;
        height: 90px;
    }

    .logo_social {
        width: 43px;
        height: 43px;
    }

    .bio_box {
        margin-top: 15px;
    }

    .tlg-shell {
        padding: 18px;
    }

    .xe-ghep-bac-me-content {
        font-size: 15px;

        line-height: 1.75;
    }

    .xe-ghep-bac-me-content h1 {
        font-size: 27px;

        margin-bottom: 20px;
    }

    .xe-ghep-bac-me-content h2 {
        margin-top: 28px;

        padding: 12px 14px;

        font-size: 22px;
    }

    .xe-ghep-bac-me-content h3 {
        padding: 10px 12px;

        font-size: 19px;
    }

    .xe-ghep-bac-me-content ul,
    .xe-ghep-bac-me-content ol {
        padding: 14px 16px 14px 36px;
    }

    .xe-ghep-table-wrapper {
        margin: 18px 0;

        border-radius: 9px;
    }

    .xe-ghep-bac-me-content .xe-ghep-table-wrapper table {
        min-width: 680px;
    }

    .xe-ghep-bac-me-content .xe-ghep-table-wrapper th,
    .xe-ghep-bac-me-content .xe-ghep-table-wrapper td {
        padding: 11px;

        font-size: 14px;
    }

    .xe-ghep-cta {
        padding: 20px 14px;
    }

    .xe-ghep-contact {
        padding: 17px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    body {
        font-size: 14px;
    }

    .container {
        width: 98%;

        margin: 8px auto;

        padding: 5px;

        border-radius: 10px;
    }

    .image_background {
        border-radius: 8px;
    }

    .image_background img {
        border-radius: 8px;
    }

    .header_info {
        margin: 12px 0 18px;

        padding: 12px;

        gap: 12px;
    }

    .header_profile {
        width: 75px;
        height: 75px;
    }

    .left_info h1,
    .header_info h1 {
        font-size: 22px;

        line-height: 1.4;
    }

    .right_info {
        gap: 8px;
    }

    .logo_social {
        width: 37px;
        height: 37px;

        border-radius: 7px;
    }

    .bio_box {
        border-radius: 10px;
    }

    .tlg-future::before {
        padding: 9px 7px;

        font-size: 9px;

        letter-spacing: 0.035em;
    }

    .tlg-shell {
        padding: 12px 10px;
    }

    .xe-ghep-bac-me-content {
        font-size: 14px;

        line-height: 1.75;
    }

    .xe-ghep-bac-me-content p {
        margin-bottom: 13px;

        line-height: 1.75;
    }

    .xe-ghep-bac-me-content h1 {
        margin-bottom: 18px;

        padding-bottom: 13px;

        font-size: 23px;

        line-height: 1.45;
    }

    .xe-ghep-bac-me-content h2 {
        margin: 25px 0 14px;

        padding: 10px 11px;

        font-size: 19px;

        line-height: 1.5;

        border-left-width: 4px;
    }

    .xe-ghep-bac-me-content h3 {
        margin: 21px 0 10px;

        padding: 9px 10px;

        font-size: 17px;

        line-height: 1.5;
    }

    .xe-ghep-bac-me-content ul,
    .xe-ghep-bac-me-content ol {
        margin: 13px 0 18px;

        padding: 12px 10px 12px 30px;

        border-radius: 8px;
    }

    .xe-ghep-bac-me-content li {
        margin-bottom: 8px;

        line-height: 1.7;
    }

    .xe-ghep-table-wrapper {
        margin: 16px 0;

        border-width: 1px;

        border-radius: 8px;
    }

    .xe-ghep-bac-me-content .xe-ghep-table-wrapper table {
        min-width: 650px;
    }

    .xe-ghep-bac-me-content .xe-ghep-table-wrapper th,
    .xe-ghep-bac-me-content .xe-ghep-table-wrapper td {
        padding: 9px;

        font-size: 13px;
    }

    .xe-ghep-cta {
        margin: 20px 0;

        padding: 17px 11px;

        border-radius: 10px;
    }

    .xe-ghep-cta a {
        display: block;

        width: 100%;

        padding: 11px 10px;

        font-size: 14px;

        overflow-wrap: anywhere;
    }

    .xe-ghep-contact {
        margin-top: 22px;

        padding: 13px 11px;

        border-radius: 9px;
    }

    .xe-ghep-contact h3 {
        padding: 10px;

        font-size: 17px;
    }

    .xe-ghep-contact p {
        font-size: 14px;

        line-height: 1.7;
    }
}

/* =========================================================
   GIẢM CHUYỂN ĐỘNG
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}
