
/* =========================================================
   XE GHÉP HÀ NỘI - THIỆU HÓA
   THANH LOAN GO
   Giao diện xanh dương - đỏ - trắng
========================================================= */

/* =========================================================
   1. RESET
========================================================= */

*,
*::before,
*::after {
    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;
}

: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.65);

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

/* =========================================================
   2. 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.1);
    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);
}

/* =========================================================
   3. ẢNH BANNER
========================================================= */

.image_background {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: var(--blue-dark);
}

.image_background img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

/* =========================================================
   4. HEADER
========================================================= */

.header_info {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;

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

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

    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 380px;
    color: #ffffff !important;
}

.header_profile {
    width: 100px;
    height: 100px;
    padding: 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.5vw, 34px);
    line-height: 1.35;
    overflow-wrap: anywhere;

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

/* =========================================================
   5. MẠNG XÃ HỘI
========================================================= */

.right_info {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;

    margin-left: auto;
}

.right_info a {
    display: block;
    text-decoration: none !important;
}

.logo_social {
    display: grid;
    place-items: center;

    width: 48px;
    height: 48px;
    overflow: hidden;
    flex-shrink: 0;

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

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

    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;
    border-radius: 0;
    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.4);
}

/* =========================================================
   6. BIO BOX
========================================================= */

.bio_box {
    position: relative;
    width: 100%;
    min-width: 0;
    margin-top: 20px;
    padding: 0;

    color: #ffffff !important;

    background:
        linear-gradient(
            180deg,
            rgba(18, 57, 122, 0.95),
            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);

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

/* Ép màu chữ trắng trong khu vực nội dung */

.bio_box,
.bio_box *,
.tlg-future,
.tlg-future *,
.tlg-shell,
.tlg-shell *,
.article-content,
.article-content * {
    color: #ffffff !important;
}

/* =========================================================
   7. THANH TIÊU ĐỀ TRANG NỘI DUNG
========================================================= */

.tlg-future {
    position: relative;
    width: 100%;

    color: #ffffff !important;

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

.tlg-future::before {
    content: "THANH LOAN GO // XE GHÉP";

    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.12em;
    text-transform: uppercase;
}

/* =========================================================
   8. KHUNG NỘI DUNG
========================================================= */

.tlg-shell {
    position: relative;
    width: 100%;
    min-width: 0;

    padding: 25px;

    color: #ffffff !important;
    overflow-wrap: break-word;
}

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

/* =========================================================
   9. TIÊU ĐỀ H1 - H2 - H3
========================================================= */

.article-content h1 {
    margin: 0 0 20px;
    padding-bottom: 12px;

    color: #ffffff !important;
    font-size: clamp(26px, 4vw, 34px);
    line-height: 1.4;

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

.article-content h2 {
    position: relative;

    margin: 32px 0 18px;
    padding: 14px 17px;

    color: #ffffff !important;

    font-size: clamp(20px, 2.6vw, 25px);
    line-height: 1.45;

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

    border-left: 5px solid var(--red);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 5px 9px 9px 5px;

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

    scroll-margin-top: 20px;
}

.article-content h3 {
    margin: 24px 0 12px;
    padding: 10px 14px;

    color: #ffffff !important;

    font-size: clamp(17px, 2.2vw, 20px);
    line-height: 1.5;

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

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

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.15);
}

/* =========================================================
   10. ĐOẠN VĂN VÀ CHỮ ĐẬM
========================================================= */

.article-content p {
    margin: 12px 0 16px;
    color: #ffffff !important;
}

.article-content strong,
.article-content b {
    color: #ffffff !important;
    font-weight: 700;
}

.article-content em,
.article-content i {
    color: #dbe7ff !important;
}

.article-content section {
    margin-bottom: 28px;
}

/* =========================================================
   11. DANH SÁCH
========================================================= */

.article-content ul,
.article-content ol {
    margin: 16px 0 22px;
    padding: 17px 22px 17px 45px;

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

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.article-content li {
    margin: 8px 0;
    padding-left: 3px;
    color: #ffffff !important;
}

.article-content li::marker {
    color: var(--red);
    font-weight: 700;
}

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

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

.article-content 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,
        text-decoration-color 0.2s ease;
}

.article-content a:hover {
    color: #ffe1e1 !important;
    text-decoration-color: #ffffff;
}

.article-content a:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 4px;
}

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

.table-responsive {
    display: block;
    width: 100%;
    max-width: 100%;

    margin: 22px 0;
    overflow-x: auto;

    -webkit-overflow-scrolling: touch;

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

    background: #0b2454;

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

.article-content table {
    width: 100%;
    min-width: 650px;

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

    background: #0b2454 !important;
    color: #ffffff !important;
}

.article-content caption {
    padding: 13px 12px;

    color: #ffffff !important;
    background: #0b2454;

    font-weight: 700;
    text-align: left;
    caption-side: top;
}

.article-content thead th {
    padding: 14px 12px;

    color: #ffffff !important;
    background: #123875 !important;

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

    font-weight: 700;
    text-align: left;
    vertical-align: middle;
}

.article-content tbody td {
    padding: 13px 12px;

    color: #ffffff !important;
    background: #0b2454 !important;

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

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

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

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

.article-content table strong {
    color: #ffffff !important;
}

.article-content table a {
    overflow-wrap: anywhere;
}

/* =========================================================
   14. GHI CHÚ VÀ LƯU Ý
========================================================= */

.article-content p strong:first-child {
    font-weight: 700;
}

.article-content blockquote {
    margin: 20px 0;
    padding: 16px 18px;

    color: #ffffff !important;

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

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 5px solid var(--red);
    border-radius: 8px;

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

.article-content blockquote p {
    margin: 0;
}

/* =========================================================
   15. CÂU HỎI THƯỜNG GẶP - FAQ
========================================================= */

.faq-item {
    margin: 16px 0;
    padding: 17px 19px;

    color: #ffffff !important;

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

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

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

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

.faq-item:hover {
    border-color: rgba(255, 88, 88, 0.55);

    box-shadow:
        0 5px 16px rgba(0, 0, 0, 0.2);
}

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

    color: #ffffff !important;
    font-size: 18px;
    line-height: 1.5;

    background: transparent;
    border: none;
    box-shadow: none;
}

.faq-item p {
    margin: 0;

    color: #dbe7ff !important;
}

.faq-item p strong {
    color: #ffffff !important;
}

/* =========================================================
   16. PHẦN LIÊN HỆ ĐẶT XE
========================================================= */

.contact-section {
    margin-top: 35px;
    padding: 20px;

    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            rgba(18, 56, 117, 0.8),
            rgba(6, 23, 53, 0.98)
        );

    border: 1px solid rgba(255, 88, 88, 0.5);
    border-radius: 12px;

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

.contact-section h2 {
    margin-top: 5px;
}

.contact-section h3 {
    margin-top: 22px;
}

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

.contact-section p strong {
    color: #ffffff !important;
}

.contact-section a[href^="tel:"] {
    display: inline-block;

    color: #ffffff !important;
    font-size: 19px;
    font-weight: 700;

    text-decoration: none;

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

.contact-section a[href^="tel:"]:hover {
    color: #ffe1e1 !important;
}

.contact-section a[href*="zalo.me"] {
    display: inline-block;

    padding: 2px 7px;

    background: rgba(255, 88, 88, 0.1);
    border-radius: 4px;
}

/* =========================================================
   17. HÌNH ẢNH BÊN TRONG NỘI DUNG
========================================================= */

.article-content img {
    display: block;
    max-width: 100%;
    height: auto;

    margin: 15px auto;

    border-radius: 10px;
}

/* Không làm ảnh nội dung bị phóng quá lớn */
.article-content img[width] {
    max-width: 100%;
}

/* =========================================================
   18. RESPONSIVE - TABLET
========================================================= */

@media (max-width: 768px) {

    .container {
        width: 96%;
        margin: 15px auto;
        padding: 8px;
    }

    .header_info {
        flex-direction: column;
        align-items: center;

        gap: 18px;
        padding: 15px;
    }

    .left_info {
        flex-direction: column;
        align-items: center;
        justify-content: center;

        flex-basis: auto;
        width: 100%;

        text-align: center;
    }

    .left_info h1,
    .header_info h1 {
        font-size: clamp(22px, 5vw, 30px);
        text-align: center;
    }

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

    .right_info {
        justify-content: center;
        width: 100%;
        margin-left: 0;
        gap: 10px;
    }

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

    .tlg-shell {
        padding: 18px;
    }

    .article-content {
        font-size: 15px;
    }

    .article-content h2 {
        margin-top: 27px;
        padding: 12px 14px;
    }

    .article-content h3 {
        margin-top: 20px;
        padding: 9px 12px;
    }

    .article-content ul,
    .article-content ol {
        padding: 15px 17px 15px 36px;
    }

    .table-responsive {
        border-radius: 8px;
    }

    .article-content table {
        min-width: 620px;
    }

    .article-content thead th,
    .article-content tbody td {
        padding: 11px;
        font-size: 14px;
    }

    .faq-item {
        padding: 15px;
    }

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

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

/* =========================================================
   19. RESPONSIVE - ĐIỆN THOẠI
========================================================= */

@media (max-width: 480px) {

    body {
        font-size: 14px;
    }

    .container {
        width: 98%;
        margin: 8px auto;
        padding: 5px;
        border-radius: 10px;
    }

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

    .header_info {
        margin: 12px 0 18px;
        padding: 12px;
        gap: 14px;
        border-radius: 10px;
    }

    .header_profile {
        width: 72px;
        height: 72px;
        border-width: 2px;
    }

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

    .right_info {
        gap: 8px;
    }

    .logo_social {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .bio_box {
        border-radius: 10px;
    }

    .tlg-future::before {
        padding: 8px 10px;
        font-size: 10px;
        letter-spacing: 0.08em;
    }

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

    .article-content {
        font-size: 14px;
        line-height: 1.75;
    }

    .article-content h1 {
        font-size: 22px;
    }

    .article-content h2 {
        margin: 24px 0 13px;
        padding: 10px 11px;

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

        border-left-width: 4px;
    }

    .article-content h3 {
        margin: 19px 0 10px;
        padding: 8px 10px;

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

        border-left-width: 3px;
    }

    .article-content p {
        margin: 10px 0 13px;
    }

    .article-content ul,
    .article-content ol {
        margin: 12px 0 17px;
        padding: 12px 11px 12px 30px;

        border-radius: 8px;
    }

    .article-content li {
        margin: 7px 0;
        padding-left: 1px;
    }

    .article-content table {
        min-width: 590px;
    }

    .article-content thead th,
    .article-content tbody td {
        padding: 9px;
        font-size: 13px;
    }

    .article-content caption {
        padding: 10px;
        font-size: 13px;
    }

    .faq-item {
        margin: 12px 0;
        padding: 12px;

        border-radius: 8px;
    }

    .faq-item h3 {
        margin: 0 0 8px;
        font-size: 16px;
    }

    .contact-section {
        margin-top: 25px;
        padding: 12px;
        border-radius: 9px;
    }

    .contact-section a[href^="tel:"] {
        font-size: 18px;
    }
}

/* =========================================================
   20. GIẢM CHUYỂN ĐỘNG THEO THIẾT LẬP THIẾT BỊ
========================================================= */

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

    html {
        scroll-behavior: auto;
    }

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