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

    color: #ffffff !important;

    overflow-x: hidden;
}

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

a {
    overflow-wrap: anywhere;
}

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

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

    --radius: 14px;
}

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

    color: #ffffff !important;

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

/* =========================================================
   ẢNH NỀN ĐẦU TRANG
========================================================= */

.image_background {
    position: relative;

    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 THÔNG TIN
========================================================= */

.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.98),
            rgba(18, 57, 122, 0.9)
        );

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

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

/* =========================================================
   THÔNG TIN BÊN TRÁI
========================================================= */

.left_info {
    display: flex;

    align-items: center;

    gap: 15px;

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

    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;
    object-position: center;
}

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

    color: #ffffff !important;

    font-size: clamp(22px, 3.5vw, 34px);
    font-weight: 800;

    line-height: 1.3;

    overflow-wrap: anywhere;

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

.left_info h1 strong {
    color: #ffffff !important;
}

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

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

    outline-offset: 4px;
}

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

    display: grid;
    place-items: center;

    flex-shrink: 0;

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

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

    overflow: hidden;

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

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

    display: block;

    object-fit: contain;

    opacity: 1;

    filter: none !important;

    border-radius: 0;
}

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

    border-color: var(--red);

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

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

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

.bio_box {
    position: relative;

    width: 100%;

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

    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: var(--radius);

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

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

.tlg-future {
    position: relative;

    width: 100%;

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

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

    color: #ffffff !important;

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

    overflow: hidden;
}

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

    display: block;

    padding: 10px 18px;

    color: #ffffff !important;

    background:
        linear-gradient(
            90deg,
            #d93636,
            #a92032,
            #0b2454
        );

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

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

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

.tlg-shell {
    position: relative;

    width: 100%;
    padding: 22px;

    color: #ffffff !important;
}

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

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

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

.xe-ghep-content p,
.xe-ghep-content li,
.xe-ghep-content strong,
.xe-ghep-content em,
.xe-ghep-content span {
    color: #ffffff !important;
}

/* =========================================================
   PHẦN MỞ ĐẦU
========================================================= */

.xe-ghep-content > header {
    margin-bottom: 28px;

    padding: 22px;

    background:
        linear-gradient(
            135deg,
            rgba(30, 80, 162, 0.24),
            rgba(11, 36, 84, 0.55)
        );

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

    border-radius: 10px;

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

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

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

/* =========================================================
   CÁC SECTION
========================================================= */

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

    margin: 25px 0;
    padding: 5px 0 15px;

    min-width: 0;
}

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

.xe-ghep-content section > p:last-child {
    margin-bottom: 5px;
}

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

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

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

    color: #ffffff !important;

    font-size: clamp(21px, 3vw, 27px);
    font-weight: 800;

    line-height: 1.45;

    background:
        linear-gradient(
            90deg,
            rgba(255, 88, 88, 0.13),
            rgba(255, 255, 255, 0.04),
            rgba(255, 255, 255, 0.01)
        );

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

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

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

.xe-ghep-content h2::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -1px;

    width: 90px;
    height: 2px;

    background: var(--red);

    box-shadow:
        0 0 8px rgba(255, 88, 88, 0.55);
}

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

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

.xe-ghep-content h3 {
    margin: 25px 0 13px;
    padding: 10px 15px;

    color: #ffffff !important;

    font-size: clamp(17px, 2.4vw, 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: 5px;

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

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

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

    color: #ffffff !important;

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

    text-align: left;
}

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

    font-weight: 800;
}

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

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

.xe-ghep-content section + section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 12px;
}

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

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

    padding: 18px 22px 18px 46px;

    color: #ffffff !important;

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

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

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

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

    padding-left: 4px;

    color: #ffffff !important;

    line-height: 1.8;
}

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

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

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

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

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

    overflow-wrap: anywhere;

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

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

    text-decoration-color: #ffffff;
}

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

    border-radius: 2px;
}

/* =========================================================
   PHẦN FAQ
========================================================= */

.xe-ghep-content section h3 {
    scroll-margin-top: 25px;
}

.xe-ghep-content section:has(h3) h3 {
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.025),
        0 3px 12px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   PHẦN LIÊN HỆ
========================================================= */

.xe-ghep-content .contact-section {
    margin-top: 35px;
    padding: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(30, 80, 162, 0.24),
            rgba(7, 20, 43, 0.75)
        );

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

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

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

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

.xe-ghep-content .contact-section h3 {
    margin-top: 28px;

    border-left-width: 5px;
}

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

.xe-ghep-content .contact-section ul {
    background: rgba(7, 20, 43, 0.42);
}

/* =========================================================
   LIÊN KẾT GỌI ĐIỆN
========================================================= */

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

    margin: 4px 2px;
    padding: 7px 13px;

    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #d93636,
            #a92032
        );

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

    text-decoration: none;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.18);

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

.xe-ghep-content .contact-section a[href^="tel:"]:hover {
    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #ed4545,
            #c72b3e
        );

    transform: translateY(-2px);

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

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

.xe-ghep-content .contact-section a[href*="zalo.me"] {
    text-decoration-color: #ff8585;
}

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

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

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

    margin: 18px auto;

    object-fit: cover;

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

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

/* =========================================================
   BẢNG NỘI DUNG NẾU BỔ SUNG SAU NÀY
========================================================= */

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

    margin: 22px 0;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;

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

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

    border-collapse: collapse;

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

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

    color: #ffffff !important;

    font-weight: 800;
}

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

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

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

::selection {
    color: #ffffff;
    background: #a92032;
}

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

@media (max-width: 768px) {

    .container {
        width: 96%;

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

    .header_info {
        flex-direction: column;

        justify-content: center;
        text-align: center;

        gap: 18px;

        padding: 16px;
    }

    .left_info {
        flex-direction: column;

        flex: 1 1 100%;

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

        width: 100%;
    }

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

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

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

        text-align: center;
    }

    .right_info {
        justify-content: center;

        gap: 10px;

        margin-left: 0;
    }

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

    .bio_box {
        padding: 8px;
    }

    .tlg-shell {
        padding: 16px;
    }

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

    .xe-ghep-content > header {
        padding: 17px;
    }

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

        font-size: 22px;
    }

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

        font-size: 19px;
    }

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

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

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

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

@media (max-width: 480px) {

    body {
        font-size: 14px;
        line-height: 1.7;
    }

    .container {
        width: 98%;

        margin: 8px auto;
        padding: 5px;

        border-radius: 10px;
    }

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

    .header_info {
        margin: 12px 0 18px;
        padding: 13px;

        border-radius: 10px;
    }

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

        border-width: 2px;
    }

    .left_info {
        gap: 10px;
    }

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

    .bio_box {
        padding: 5px;

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

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

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

        font-size: 10px;
        letter-spacing: 0.08em;
    }

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

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

    .xe-ghep-content > header {
        margin-bottom: 18px;
        padding: 13px;

        border-radius: 8px;
    }

    .xe-ghep-content section {
        margin: 18px 0;
        padding-bottom: 8px;
    }

    .xe-ghep-content h2 {
        margin: 22px 0 13px;
        padding: 10px 11px;

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

        border-left-width: 4px;
    }

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

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

        border-left-width: 3px;
    }

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

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

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

        border-radius: 8px;
    }

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

        font-size: 14px;
        line-height: 1.75;
    }

    .xe-ghep-content .contact-section {
        margin-top: 23px;
        padding: 12px;

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

    .xe-ghep-content .contact-section a[href^="tel:"] {
        padding: 7px 9px;

        font-size: 14px;
    }

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

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

        font-size: 13px;
    }
}

/* =========================================================
   MOBILE SIÊU NHỎ
========================================================= */

@media (max-width: 360px) {

    .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: 10px 7px;
    }

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

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

    .xe-ghep-content .contact-section {
        padding: 9px;
    }
}

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

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

    html {
        scroll-behavior: auto;
    }

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