/* =========================================================
   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%;
}

/* =========================================================
   BIẾN CHUNG
========================================================= */

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

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

    --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 / ẢNH ĐẦU TRANG
========================================================= */

.image_background {
    width: 100%;
    overflow: hidden;

    border-radius: 12px;

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

.image_background img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 12px;

    object-fit: cover;
}

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

.header_info {
    display: flex !important;

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

    gap: 20px;
    flex-wrap: wrap;

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

    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;
    flex: 1 1 440px;

    color: #ffffff !important;
}

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

    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 {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

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

    color: #ffffff !important;

    font-size: clamp(23px, 3.4vw, 34px);

    line-height: 1.25;

    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;
}

.logo_social {
    display: grid;

    place-items: center;

    width: 48px;
    height: 48px;

    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 {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    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 / KHUNG NỘI DUNG
========================================================= */

.bio_box {
    width: 100%;

    margin-top: 20px;
    padding: 0;

    color: #ffffff !important;

    background: transparent !important;

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

    box-shadow: none;

    position: relative;

    overflow: visible;
}

.tlg-future {
    position: relative;

    width: 100%;

    overflow: hidden;

    color: #ffffff !important;

    background: linear-gradient(
        180deg,
        rgba(18, 57, 122, 0.97),
        rgba(7, 20, 43, 0.99)
    ) !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);
}

.tlg-future::before {
    content: "THANH LOAN GO | XE GHÉP HÀ NỘI – QUỲNH LƯU";

    display: block;

    padding: 10px 18px;

    color: #ffffff !important;

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

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

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

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.tlg-shell {
    position: relative;

    padding: 25px;

    color: #ffffff !important;
}

/* =========================================================
   ÉP MÀU CHỮ TRẮNG CHO NỘI DUNG
========================================================= */

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

/* =========================================================
   NỘI DUNG BÀI VIẾT
========================================================= */

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

    margin: 0 auto;

    color: #ffffff !important;

    font-size: 16px;
    line-height: 1.8;

    overflow-wrap: break-word;
    word-wrap: break-word;
}

.xe-ghep-content section {
    margin: 0 0 28px;

    scroll-margin-top: 20px;
}

.xe-ghep-content section:last-child {
    margin-bottom: 0;
}

.xe-ghep-content h1 {
    margin: 0 0 20px;
    padding-bottom: 10px;

    color: #ffffff !important;

    font-size: clamp(26px, 3.5vw, 34px);
    line-height: 1.35;

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

.xe-ghep-content h2 {
    margin: 30px 0 15px;
    padding: 12px 16px;

    color: #ffffff !important;

    font-size: clamp(21px, 2.5vw, 25px);
    font-weight: 700;

    line-height: 1.4;

    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.07),
        rgba(255, 255, 255, 0.015)
    );

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

    border-radius: 6px;

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

.xe-ghep-content section:first-child h2 {
    margin-top: 0;
}

.xe-ghep-content h3 {
    margin: 24px 0 10px;
    padding: 9px 13px;

    color: #ffffff !important;

    font-size: clamp(17px, 2vw, 20px);
    font-weight: 700;

    line-height: 1.45;

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

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

    border-radius: 6px;
}

.xe-ghep-content p {
    margin: 0 0 15px;

    color: #ffffff !important;
}

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

    font-weight: 700;
}

.xe-ghep-content em {
    color: var(--text-soft) !important;
}

.xe-ghep-content ul,
.xe-ghep-content ol {
    margin: 15px 0 20px;

    padding: 16px 22px 16px 44px;

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

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

    border-radius: 10px;
}

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

    padding-left: 2px;

    color: #ffffff !important;
}

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

.xe-ghep-content li::marker {
    color: var(--red);

    font-weight: 700;
}

/* =========================================================
   LIÊN KẾT
========================================================= */

.xe-ghep-content a,
.tlg-shell a {
    color: #ffffff !important;

    font-weight: 700;

    text-decoration: underline;
    text-decoration-color: var(--red);
    text-decoration-thickness: 2px;

    text-underline-offset: 3px;

    overflow-wrap: anywhere;

    transition: color 0.2s ease;
}

.xe-ghep-content a:hover,
.tlg-shell a:hover {
    color: #ffe1e1 !important;
}

.xe-ghep-content a:focus-visible,
.tlg-shell a:focus-visible,
.right_info a:focus-visible {
    outline: 2px solid #ffffff;

    outline-offset: 4px;

    border-radius: 3px;
}

/* =========================================================
   BẢNG GIÁ - CUỘN NGANG TRÊN MÀN HÌNH NHỎ
========================================================= */

.price-table-wrapper {
    width: 100%;

    margin: 20px 0;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;

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

    background: #0b2454;

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

.price-table-wrapper table,
.xe-ghep-content table {
    width: 100%;
    min-width: 620px;

    margin: 0;

    border-collapse: collapse;
    border-spacing: 0;

    background: #0b2454 !important;

    color: #ffffff !important;
}

.xe-ghep-content th,
.xe-ghep-content td {
    padding: 12px 14px;

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

    color: #ffffff !important;

    text-align: left;
    vertical-align: top;

    background: #0b2454 !important;
}

.xe-ghep-content th {
    background: #123875 !important;

    color: #ffffff !important;

    font-weight: 700;

    text-align: center;
}

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

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

/* =========================================================
   FAQ
========================================================= */

.faq-item {
    margin: 14px 0;

    padding: 16px 18px;

    color: #ffffff !important;

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

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 4px solid var(--red);

    border-radius: 10px;

    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.12);
}

.faq-item h3 {
    margin: 0 0 10px;
    padding: 0;

    color: #ffffff !important;

    font-size: 18px;
    line-height: 1.5;

    background: transparent;

    border: 0;
    border-radius: 0;
}

.faq-item p {
    margin: 0;
}

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

.contact-info {
    margin: 18px 0 22px;

    padding: 18px 20px;

    color: #ffffff !important;

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

    border: 1px solid rgba(255, 88, 88, 0.45);
    border-left: 5px solid var(--red);

    border-radius: 10px;
}

.contact-info p {
    margin: 0 0 10px;
    padding-bottom: 10px;

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

.contact-info p:last-child {
    margin-bottom: 0;
    padding-bottom: 0;

    border-bottom: 0;
}

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

.xe-ghep-content img,
.tlg-shell img {
    display: block;

    width: auto;
    max-width: 100%;

    height: auto;

    margin: 18px auto;

    border-radius: 8px;
}

/* =========================================================
   BLOCKQUOTE
========================================================= */

.xe-ghep-content 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;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.18);
}

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

/* =========================================================
   TLG SHELL - TƯƠNG THÍCH HTML CŨ
========================================================= */

.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 h2 {
    padding: 12px 16px;

    margin: 30px 0 15px;

    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.06),
        rgba(255, 255, 255, 0.01)
    );

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

    border-radius: 6px;
}

.tlg-shell h3 {
    padding: 9px 13px;

    margin: 25px 0 10px;

    background: var(--blue-dark);

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

    border-radius: 6px;
}

.tlg-shell p {
    margin-bottom: 15px;

    line-height: 1.7;
}

.tlg-shell ul,
.tlg-shell ol {
    padding: 16px 20px 16px 42px;

    margin: 15px 0;

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

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

    border-radius: 10px;
}

.tlg-shell li {
    margin-bottom: 8px;
}

.tlg-shell li::marker {
    color: var(--red);
}

.tlg-shell table {
    width: 100%;

    border-collapse: collapse;

    background: #0b2454 !important;

    color: #ffffff !important;
}

.tlg-shell th,
.tlg-shell td {
    padding: 12px;

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

    color: #ffffff !important;

    background: #0b2454 !important;
}

.tlg-shell th {
    background: #123875 !important;

    text-align: center;
}

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

@media (max-width: 768px) {

    .container {
        width: 95%;

        margin: 15px auto;

        padding: 8px;
    }

    .header_info {
        flex-direction: column;

        text-align: center;

        padding: 15px;
    }

    .left_info {
        flex: 1 1 100%;

        flex-direction: column;

        justify-content: center;
    }

    .right_info {
        justify-content: center;

        margin-left: 0;
    }

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

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

    .tlg-shell {
        padding: 18px;
    }

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

        line-height: 1.75;
    }

    .xe-ghep-content h2 {
        margin-top: 25px;

        padding: 11px 13px;
    }

    .xe-ghep-content h3 {
        margin-top: 20px;

        padding: 9px 11px;
    }

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

    .price-table-wrapper table,
    .xe-ghep-content table {
        min-width: 600px;
    }

    .faq-item {
        padding: 14px;
    }

    .contact-info {
        padding: 15px;
    }
}

/* =========================================================
   MOBILE NHỎ
========================================================= */

@media (max-width: 480px) {

    body {
        font-size: 14px;
    }

    .container {
        width: 98%;

        padding: 6px;

        margin: 10px auto;

        border-radius: 10px;
    }

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

    .header_info {
        gap: 14px;

        margin: 12px 0 18px;

        padding: 12px 9px;
    }

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

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

    .right_info {
        gap: 8px;
    }

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

        border-radius: 8px;
    }

    .tlg-future {
        border-radius: 10px;
    }

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

        font-size: 9px;

        letter-spacing: 0.04em;

        line-height: 1.5;
    }

    .tlg-shell {
        padding: 14px 11px;
    }

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

        line-height: 1.75;
    }

    .xe-ghep-content section {
        margin-bottom: 22px;
    }

    .xe-ghep-content h1 {
        font-size: 23px;
    }

    .xe-ghep-content h2 {
        margin: 22px 0 12px;

        padding: 10px 11px;

        font-size: 19px;

        border-left-width: 4px;
    }

    .xe-ghep-content h3 {
        margin: 18px 0 9px;

        padding: 8px 10px;

        font-size: 16px;
    }

    .xe-ghep-content p {
        margin-bottom: 12px;
    }

    .xe-ghep-content ul,
    .xe-ghep-content ol {
        padding: 12px 12px 12px 30px;

        margin: 12px 0 16px;

        border-radius: 8px;
    }

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

    .price-table-wrapper {
        margin: 15px 0;

        border-radius: 8px;
    }

    .price-table-wrapper table,
    .xe-ghep-content table {
        min-width: 560px;
    }

    .xe-ghep-content th,
    .xe-ghep-content td {
        padding: 9px 10px;

        font-size: 13px;
    }

    .faq-item {
        margin: 11px 0;

        padding: 12px;

        border-radius: 8px;
    }

    .faq-item h3 {
        font-size: 15px;
    }

    .contact-info {
        padding: 12px;

        border-radius: 8px;
    }

    .contact-info p {
        overflow-wrap: anywhere;
    }
}

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

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

    html {
        scroll-behavior: auto;
    }

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

        animation: none !important;
    }
}