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

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

html {
    scroll-behavior: smooth;
    background: #07142b;
}

body {
    margin: 0 !important;
    padding: 0;

    background: #07142b !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 16px;
    line-height: 1.75;

    color: #ffffff !important;

    overflow-x: hidden;
}

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

a {
    overflow-wrap: anywhere;
}

/* =========================================================
   BIẾN MÀU CHUNG
========================================================= */

:root {
    --blue: #1E50A2;
    --blue-dark: #123875;
    --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.55);

    --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.97),
            rgba(6, 23, 53, 0.99)
        );

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

/* =========================================================
   ẢNH BANNER
========================================================= */

.image_background {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: var(--blue-dark);

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

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.25);
}

.image_background img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: cover;

    border-radius: 12px;
}

/* =========================================================
   HEADER THÔNG TIN
========================================================= */

.header_info {
    display: flex !important;

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

    flex-wrap: wrap;

    gap: 20px;

    margin: 20px 0 25px;
    padding: 20px;

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

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

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

.left_info {
    display: flex;

    align-items: center;

    flex: 1 1 580px;
    min-width: 0;

    gap: 18px;

    color: #ffffff !important;
}

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

    margin: 0;
    padding: 0;

    flex-shrink: 0;

    overflow: hidden;

    background: var(--blue-dark);

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

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

.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.2vw, 34px);
    font-weight: 800;

    line-height: 1.3;

    overflow-wrap: anywhere;

    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.3);
}

.left_info h1 strong {
    color: #ffffff !important;
    font-weight: 800;
}

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

.right_info {
    display: flex !important;

    flex: 0 1 auto;

    justify-content: flex-end;
    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-left: auto;
}

.right_info a {
    display: block;

    text-decoration: none !important;

    border: 0;
    outline: none;
}

.logo_social {
    display: grid;

    width: 44px;
    height: 44px;

    place-items: center;

    flex-shrink: 0;

    overflow: hidden;

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

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

    padding: 5px;

    object-fit: contain;

    filter: none !important;
    opacity: 1;
}

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

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

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

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

.bio_box {
    position: relative;

    width: 100%;
    min-width: 0;

    margin-top: 20px;
    padding: 24px;

    overflow: hidden;

    color: #ffffff !important;

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

.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
========================================================= */

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

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

.tlg-future {
    position: relative;

    width: 100%;
    min-width: 0;

    overflow: hidden;

    color: #ffffff !important;

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

    border: 2px solid rgba(255, 88, 88, 0.85);
    border-radius: 12px;

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

.tlg-future::before {
    content: "THANH LOAN GO  |  XE GHÉP HÀ NỘI - ĐÔ LƯƠNG";

    display: block;

    padding: 12px 18px;

    color: #ffffff !important;

    background:
        linear-gradient(
            90deg,
            #d93636,
            #ff5858,
            #123875
        );

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

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

    letter-spacing: 1.2px;

    line-height: 1.6;
    text-align: center;
}

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

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

    padding: 24px;

    color: #ffffff !important;

    background: transparent;

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

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

    margin: 0 auto;

    color: #ffffff !important;

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

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

    overflow-wrap: break-word;
}

/* =========================================================
   TIÊU ĐỀ H1
========================================================= */

.xe-ghep-content h1 {
    margin: 0 0 22px;
    padding: 0 0 14px;

    color: #ffffff !important;

    font-size: clamp(25px, 4vw, 34px);
    font-weight: 800;

    line-height: 1.35;

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

/* =========================================================
   TIÊU ĐỀ H2
========================================================= */

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

    margin: 34px 0 18px;
    padding: 13px 16px;

    color: #ffffff !important;

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

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

    border-radius: 5px 10px 10px 5px;

    font-size: clamp(21px, 2.8vw, 25px);
    font-weight: 800;

    line-height: 1.45;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.2);

    scroll-margin-top: 20px;
}

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

/* =========================================================
   TIÊU ĐỀ H3
========================================================= */

.xe-ghep-content h3 {
    margin: 25px 0 12px;
    padding: 10px 14px;

    color: #ffffff !important;

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

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

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

    line-height: 1.5;
}

/* =========================================================
   ĐOẠN VĂN
========================================================= */

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

    color: #ffffff !important;

    line-height: 1.85;

    text-align: left;
}

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

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

    font-weight: 800;
}

/* =========================================================
   DANH SÁCH UL / OL
========================================================= */

.xe-ghep-content ul,
.xe-ghep-content ol {
    margin: 16px 0 22px;
    padding: 17px 20px 17px 44px;

    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.025)
        );

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

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

    padding-left: 3px;

    color: #ffffff !important;

    line-height: 1.75;
}

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

.xe-ghep-content li::marker {
    color: var(--red);
    font-weight: 800;
}

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

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

    font-weight: 700;

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

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

.xe-ghep-content a:hover {
    color: #ffe0e0 !important;

    text-decoration-color: #ffffff;
}

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

/* =========================================================
   THÔNG TIN GIÁ VÀ LƯU Ý
========================================================= */

.xe-ghep-content em {
    color: #ffffff !important;
}

.xe-ghep-content section {
    display: block;

    width: 100%;
    min-width: 0;

    margin-bottom: 28px;
}

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

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

.xe-ghep-content .contact-info {
    position: relative;

    margin-top: 35px;
    padding: 22px;

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

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

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

.xe-ghep-content .contact-info h2 {
    margin-top: 0;
    margin-bottom: 20px;

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

.xe-ghep-content .contact-info p {
    margin-bottom: 13px;

    overflow-wrap: anywhere;
}

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

.xe-ghep-content .contact-info a[href^="tel:"] {
    display: inline-block;

    color: #ffffff !important;

    font-size: 18px;
    font-weight: 800;

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

/* =========================================================
   HIGHLIGHT HOTLINE
========================================================= */

.xe-ghep-content a[href^="tel:"] {
    font-weight: 800;
}

.xe-ghep-content a[href*="zalo.me"] {
    overflow-wrap: anywhere;
}

/* =========================================================
   BẢNG NỘI DUNG - DÙNG KHI CÓ TABLE
========================================================= */

.xe-ghep-content table {
    width: 100%;
    margin: 22px 0;

    border-collapse: collapse;

    color: #ffffff !important;

    background: #0b2454 !important;

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

.xe-ghep-content thead th,
.xe-ghep-content th {
    padding: 13px 12px;

    color: #ffffff !important;

    background: #123875 !important;

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

    font-weight: 800;
    text-align: left;
}

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

    color: #ffffff !important;

    background: #0b2454 !important;

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

    vertical-align: top;
}

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

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

/* =========================================================
   BLOCKQUOTE - DÙNG KHI CẦN TRÍCH DẪN
========================================================= */

.xe-ghep-content blockquote {
    margin: 22px 0;
    padding: 17px 20px;

    color: #ffffff !important;

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

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

    border-radius: 8px;

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

.xe-ghep-content blockquote p {
    margin: 0;

    color: #ffffff !important;
}

/* =========================================================
   ẢNH BÊN TRONG BÀI VIẾT
========================================================= */

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

    max-width: 100%;
    height: auto;

    margin: 18px auto;

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

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

/* =========================================================
   KHÔNG ĐỂ PHẦN TỬ TRÀN KHUNG
========================================================= */

.bio_box *,
.tlg-future *,
.tlg-shell *,
.xe-ghep-content * {
    max-width: 100%;
}

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

.xe-ghep-content pre,
.xe-ghep-content code {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

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

@media (max-width: 768px) {

    .container {
        width: 96%;

        margin: 15px auto;
        padding: 8px;
    }

    .header_info {
        flex-direction: column;

        align-items: stretch;

        gap: 18px;

        padding: 16px;
    }

    .left_info {
        flex-direction: column;

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

        flex: 1 1 100%;

        text-align: center;

        gap: 13px;
    }

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

    .left_info h1,
    .header_info h1 {
        width: 100%;

        font-size: clamp(22px, 4.5vw, 30px);

        text-align: center;
    }

    .right_info {
        justify-content: center;

        width: 100%;

        margin-left: 0;
    }

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

    .bio_box {
        padding: 15px;
    }

    .tlg-shell {
        padding: 18px;
    }

    .xe-ghep-content {
        font-size: 15px;
        line-height: 1.75;
    }

    .xe-ghep-content h2 {
        margin-top: 28px;
        padding: 12px 13px;

        font-size: 21px;
    }

    .xe-ghep-content h3 {
        margin-top: 22px;
        padding: 10px 12px;

        font-size: 18px;
    }

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

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

    .xe-ghep-content table {
        display: block;

        width: 100%;

        overflow-x: auto;

        -webkit-overflow-scrolling: touch;
    }

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

        font-size: 11px;
        letter-spacing: 0.7px;
    }
}

/* =========================================================
   Đ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 16px;
        padding: 12px;

        gap: 14px;

        border-radius: 10px;
    }

    .left_info {
        gap: 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;
    }

    .logo_social img {
        padding: 4px;
    }

    .bio_box {
        margin-top: 12px;
        padding: 8px;

        border-width: 1px !important;
        border-radius: 10px;
    }

    .tlg-future {
        border-width: 1px;
        border-radius: 8px;
    }

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

        font-size: 9px;
        letter-spacing: 0.4px;

        line-height: 1.5;
    }

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

    .xe-ghep-content {
        font-size: 14px;
        line-height: 1.8;
    }

    .xe-ghep-content h1 {
        margin-bottom: 17px;
        padding-bottom: 12px;

        font-size: 23px;
    }

    .xe-ghep-content h2 {
        margin: 25px 0 14px;
        padding: 10px 11px;

        border-left-width: 4px;

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

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

        border-left-width: 3px;

        font-size: 17px;
        line-height: 1.5;
    }

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

    .xe-ghep-content ul,
    .xe-ghep-content ol {
        margin: 13px 0 18px;
        padding: 13px 10px 13px 29px;

        border-radius: 8px;
    }

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

        padding-left: 1px;
    }

    .xe-ghep-content .contact-info {
        margin-top: 25px;
        padding: 13px;

        border-width: 1px;
        border-radius: 9px;
    }

    .xe-ghep-content .contact-info h2 {
        margin-top: 0;
    }

    .xe-ghep-content .contact-info a[href^="tel:"] {
        font-size: 17px;
    }

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

        font-size: 13px;
    }
}

/* =========================================================
   MÀN HÌNH RẤT NHỎ
========================================================= */

@media (max-width: 350px) {

    .container {
        width: 99%;
        padding: 4px;
    }

    .header_info {
        padding: 10px;
    }

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

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

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

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

    .xe-ghep-content h2 {
        font-size: 17px;
    }

    .xe-ghep-content h3 {
        font-size: 16px;
    }
}

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

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

    html {
        scroll-behavior: auto;
    }

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