/* =====================================================
    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;
    color: #ffffff !important;
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

/* =====================================================
    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: var(--white);

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

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

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

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

    width: 100%;
    height: 100%;

    object-fit: cover;
}

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

    color: var(--white) !important;

    font-size: clamp(23px, 3.5vw, 34px);
    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 {
    text-decoration: none;
}

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

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

    margin-top: 20px;

    color: var(--white) !important;

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

    border: 2px solid var(--red);
    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: 1;
}

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

.tlg-future {
    width: 100%;

    color: var(--white) !important;

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

    position: relative;
}

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

    display: block;

    padding: 10px 18px;

    color: var(--white) !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;
}

.tlg-shell {
    position: relative;

    padding: 25px;

    color: var(--white) !important;
}

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

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

    margin: 0 auto;

    color: var(--white) !important;

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

.xe-ghep-content * {
    box-sizing: border-box;
}

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

    padding-bottom: 12px;

    color: var(--white) !important;

    font-size: clamp(25px, 4vw, 32px);
    line-height: 1.4;

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

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

    padding: 12px 16px;

    color: var(--white) !important;

    font-size: clamp(20px, 3vw, 25px);
    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 h3 {
    margin: 24px 0 12px;

    padding: 9px 13px;

    color: var(--white) !important;

    font-size: clamp(17px, 2.5vw, 20px);
    line-height: 1.45;

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

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

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

    color: var(--white) !important;

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

.xe-ghep-content strong,
.xe-ghep-content b {
    color: var(--white) !important;
    font-weight: 700;
}

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

    padding: 16px 22px 16px 45px;

    color: var(--white) !important;

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

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

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

    padding-left: 3px;

    color: var(--white) !important;

    line-height: 1.75;
}

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

/* =====================================================
    LIÊN KẾ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: 3px;

    overflow-wrap: anywhere;

    transition: color 0.2s ease;
}

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

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

.table-responsive {
    width: 100%;

    margin: 20px 0;

    overflow-x: auto;
    -webkit-overflow-scrolling: touch;

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

    background: var(--blue-dark);

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

.xe-ghep-content table {
    width: 100%;
    min-width: 550px;

    margin: 0;

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

    color: var(--white) !important;

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

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

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

    color: var(--white) !important;
    background: #123875 !important;

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

    text-align: center;
    vertical-align: middle;

    font-size: 15px;
    font-weight: 700;
}

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

    color: var(--white) !important;
    background: #0b2454 !important;

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

    text-align: left;
    vertical-align: middle;

    font-size: 15px;
}

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

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

.xe-ghep-content td:last-child {
    font-weight: 700;
}

.xe-ghep-content th strong,
.xe-ghep-content td strong {
    color: var(--white) !important;
}

/* =====================================================
    KHU VỰC LIÊN HỆ
===================================================== */

.contact-info {
    margin: 22px 0;

    padding: 20px;

    color: var(--white) !important;

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

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

    border-radius: 10px;

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

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

    color: var(--white) !important;
}

.contact-info strong {
    color: var(--white) !important;
}

/* =====================================================
    HÌNH ẢNH TRONG BÀI
===================================================== */

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

    width: auto;
    max-width: 100%;
    height: auto;

    margin: 18px auto;

    border-radius: 10px;
}

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

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

    padding: 16px 18px;

    color: var(--white) !important;

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

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

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

.xe-ghep-content blockquote p {
    margin: 0;
    color: var(--white) !important;
}

/* =====================================================
    ĐƯỜNG PHÂN CÁCH
===================================================== */

.xe-ghep-content hr {
    margin: 25px 0;

    border: 0;
    border-top: 1px solid rgba(255, 88, 88, 0.4);
}

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

@media (max-width: 768px) {

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

    .header_info {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .left_info {
        width: 100%;

        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .left_info h1,
    .header_info h1 {
        text-align: center;
    }

    .right_info {
        justify-content: center;
        margin-left: 0;
    }

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

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

    .tlg-shell {
        padding: 18px;
    }

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

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

    .xe-ghep-content table {
        min-width: 540px;
    }

    .xe-ghep-content th,
    .xe-ghep-content td {
        padding: 10px;
        font-size: 14px;
    }

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

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

@media (max-width: 480px) {

    body {
        font-size: 14px;
    }

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

    .header_info {
        gap: 15px;
        margin: 12px 0 20px;
        padding: 12px;
    }

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

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

    .right_info {
        gap: 8px;
    }

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

    .bio_box {
        border-radius: 10px;
    }

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

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

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

    .xe-ghep-content h2 {
        padding: 10px 12px;
        margin: 24px 0 13px;
        font-size: 19px;
    }

    .xe-ghep-content h3 {
        padding: 9px 11px;
        margin: 20px 0 10px;
        font-size: 17px;
    }

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

    .xe-ghep-content ul,
    .xe-ghep-content ol {
        padding: 12px 12px 12px 30px;
        font-size: 14px;
    }

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

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

    .xe-ghep-content table {
        min-width: 520px;
    }

    .xe-ghep-content th,
    .xe-ghep-content td {
        padding: 9px;
        font-size: 13px;
    }

    .contact-info {
        padding: 12px;
    }

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