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

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

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

body {
    margin: 0 !important;
    background: #07142b !important;
    font-family: Arial, Helvetica, sans-serif !important;
    color: #ffffff !important;
    line-height: 1.7;
    overflow-x: hidden;
    overflow-wrap: break-word;
}

: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 BANNER
========================================================= */

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

    border-radius: 12px;

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

.image_background img {
    width: 100%;
    height: auto;

    display: block;

    border-radius: 12px;

    object-fit: cover;
}

/* =========================================================
   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;
    color: #ffffff !important;
}

.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 {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;
}

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

    color: #ffffff !important;

    font-size: clamp(24px, 3.5vw, 34px);
    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;
}

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

    padding: 5px;

    opacity: 1;
    filter: none !important;

    border-radius: 0 !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;

    padding: 18px;

    color: #ffffff !important;

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

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

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

    border: 2px solid var(--red) !important;
    border-radius: 14px;

    color: #ffffff !important;

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

    overflow: hidden;
    position: relative;
}

.tlg-future::before {
    content: "THANH LOAN GO // XE GHEP";

    display: block;

    padding: 10px 16px;

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

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

.tlg-shell {
    position: relative;

    width: 100%;
    padding: 25px;

    color: #ffffff !important;
    font-size: 16px;
    line-height: 1.8;

    overflow-wrap: break-word;
}

.tlg-shell article {
    width: 100%;
    max-width: 100%;

    margin: 0 auto;

    color: #ffffff !important;
}

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

/* =========================================================
   H1 - TIÊU ĐỀ CHÍNH TRONG BÀI
========================================================= */

.tlg-shell article h1 {
    margin: 0 0 22px;

    padding-bottom: 14px;

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

    color: #ffffff !important;

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

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

/* =========================================================
   H2 - TIÊU ĐỀ CÁC PHẦN
========================================================= */

.tlg-shell article h2,
.bio_box h2 {
    position: relative;

    margin: 32px 0 16px;
    padding: 13px 16px;

    color: #ffffff !important;

    font-size: clamp(20px, 2.8vw, 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-radius: 5px 9px 9px 5px;

    box-shadow:
        inset 0 0 12px rgba(0, 0, 0, 0.08);
}

.tlg-shell article h2:first-child {
    margin-top: 0;
}

/* =========================================================
   H3 - TIÊU ĐỀ PHỤ
========================================================= */

.tlg-shell article h3,
.bio_box h3 {
    margin: 25px 0 12px;
    padding: 10px 14px;

    color: #ffffff !important;

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

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

/* =========================================================
   ĐOẠN VĂN VÀ CHỮ NHẤN MẠNH
========================================================= */

.tlg-shell article p,
.bio_box p {
    margin: 13px 0 17px;

    color: #ffffff !important;

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

    text-align: left;
}

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

.tlg-shell article em {
    color: #dbe7ff !important;
}

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

.tlg-shell article ul,
.tlg-shell article ol,
.bio_box ul,
.bio_box ol {
    margin: 18px 0;
    padding: 17px 22px 17px 45px;

    color: #ffffff !important;

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

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

.tlg-shell article li,
.bio_box li {
    margin: 8px 0;

    padding-left: 3px;

    color: #ffffff !important;

    line-height: 1.75;
}

.tlg-shell article li::marker,
.bio_box li::marker {
    color: var(--red) !important;
    font-weight: 700;
}

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

.tlg-shell article a,
.bio_box 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;
}

.tlg-shell article a:hover,
.bio_box a:hover {
    color: #ffe1e1 !important;
    text-decoration-color: #ffffff;
}

/* =========================================================
   NÚT GỌI ĐIỆN
========================================================= */

.tlg-shell article a[href^="tel:"] {
    display: inline-block;

    padding: 2px 5px;

    color: #ffffff !important;

    font-weight: 700;
    white-space: nowrap;

    text-decoration: none;

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

    border: 1px solid rgba(255, 88, 88, 0.65);
    border-radius: 5px;
}

.tlg-shell article a[href^="tel:"]:hover {
    background: rgba(255, 88, 88, 0.27);
}

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

.tlg-shell article img,
.bio_box img {
    display: block;

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

    margin: 20px auto;

    border-radius: 10px;
}

/* Giữ nguyên kích thước ảnh đại diện và logo mạng xã hội */

.header_profile img,
.logo_social img,
.image_background img {
    margin: 0 !important;
}

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

.tlg-shell article blockquote,
.bio_box blockquote {
    margin: 20px 0;
    padding: 17px 20px;

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

.tlg-shell article blockquote p,
.bio_box blockquote p {
    margin: 0;
    color: #ffffff !important;
}

/* =========================================================
   BẢNG NỘI DUNG
========================================================= */

.tlg-shell article .table-wrap,
.bio_box .table-wrap {
    width: 100%;
    margin: 22px 0;

    overflow-x: auto;

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

    -webkit-overflow-scrolling: touch;
}

.tlg-shell article table,
.bio_box table {
    width: 100%;

    border-collapse: collapse;

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

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

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

    color: #ffffff !important;

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

    background: #0b2454 !important;

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

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

    color: #ffffff !important;

    font-weight: 700;
    text-align: center;
}

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

.tlg-shell article tbody tr:hover td,
.bio_box tbody tr:hover td {
    background: #173d80 !important;
}

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

.contact_info {
    position: relative;

    margin: 28px 0 22px;
    padding: 22px;

    color: #ffffff !important;

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

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

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

.contact_info h3 {
    margin: 0 0 18px !important;
    padding: 12px 14px !important;

    color: #ffffff !important;

    font-size: 21px !important;
    text-align: center;

    background:
        linear-gradient(
            90deg,
            var(--red-dark),
            #123875
        ) !important;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
}

.contact_info p {
    margin: 12px 0 !important;
    padding-bottom: 11px;

    color: #ffffff !important;

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

.contact_info p:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact_info strong {
    color: #ffffff !important;
    font-weight: 700;
}

.contact_info a {
    color: #ffffff !important;

    font-weight: 700;

    text-decoration: underline;
    text-decoration-color: var(--red);
    text-underline-offset: 3px;
}

.contact_info a:hover {
    color: #ffe1e1 !important;
}

/* =========================================================
   KHUNG NOTE
========================================================= */

.tlg-note {
    margin: 18px 0;
    padding: 15px 18px;

    color: #ffffff !important;

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

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

    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);

    border-radius: 8px;
}

/* =========================================================
   KHUNG THÔNG TIN
========================================================= */

.tlg-info-box {
    margin: 20px 0;
    padding: 20px;

    color: #ffffff !important;

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

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

    border-radius: 10px;
}

.tlg-info-box p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   KHUNG HOTLINE
========================================================= */

.tlg-hotline {
    margin: 25px 0;
    padding: 24px;

    text-align: center;

    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #123875,
            #1E50A2
        );

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

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

.tlg-hotline-title {
    margin-bottom: 8px;

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

    color: #ffffff !important;
}

.tlg-hotline-number {
    display: inline-block;

    margin-top: 8px;
    padding: 10px 22px;

    color: #ffffff !important;

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

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

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

    text-decoration: none !important;

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

.tlg-hotline-number:hover {
    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #173d80,
            #123875
        );
}

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

.tlg-faq {
    margin: 14px 0;
    padding: 17px 19px;

    color: #ffffff !important;

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

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

    border-radius: 10px;
}

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

/* =========================================================
   TĂNG ĐỘ RÕ CỦA CHỮ
========================================================= */

.tlg-shell article,
.tlg-shell article p,
.tlg-shell article li,
.tlg-shell article strong,
.tlg-shell article span,
.tlg-shell article div,
.contact_info,
.contact_info p,
.contact_info strong {
    color: #ffffff !important;
}

/* =========================================================
   FOCUS - HỖ TRỢ ĐIỀU HƯỚNG BẰNG BÀN PHÍM
========================================================= */

a:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
}

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

@media (max-width: 768px) {

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

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

    .left_info {
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .left_info h1,
    .header_info h1 {
        font-size: clamp(22px, 4.5vw, 29px);
    }

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

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

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

    .bio_box {
        padding: 12px;
    }

    .tlg-shell {
        padding: 19px;
        font-size: 15px;
    }

    .tlg-shell article p,
    .bio_box p {
        font-size: 15px;
        line-height: 1.8;
    }

    .tlg-shell article h2,
    .bio_box h2 {
        margin-top: 27px;
        padding: 12px 13px;
        font-size: 21px;
    }

    .tlg-shell article h3,
    .bio_box h3 {
        margin-top: 22px;
        font-size: 18px;
    }

    .tlg-shell article ul,
    .tlg-shell article ol,
    .bio_box ul,
    .bio_box ol {
        padding: 15px 18px 15px 38px;
    }

    .contact_info {
        padding: 17px;
    }

    .contact_info h3 {
        font-size: 19px !important;
    }

    .tlg-hotline {
        padding: 20px 12px;
    }

    .tlg-hotline-number {
        font-size: 21px;
    }
}

/* =========================================================
   ĐIỆN THOẠI
========================================================= */

@media (max-width: 480px) {

    body {
        font-size: 14px;
    }

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

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

    .header_info {
        margin: 12px 0 20px;
        padding: 12px;
        border-radius: 10px;
    }

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

    .left_info {
        gap: 10px;
    }

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

    .right_info {
        gap: 8px;
    }

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

    .bio_box {
        padding: 7px;
        border-radius: 10px;
    }

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

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

    .tlg-shell {
        padding: 13px 10px;
        font-size: 14px;
        line-height: 1.75;
    }

    .tlg-shell article h1 {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .tlg-shell article h2,
    .bio_box h2 {
        margin: 24px 0 13px;
        padding: 10px 11px;
        font-size: 19px;
        line-height: 1.5;
        border-left-width: 4px;
    }

    .tlg-shell article h3,
    .bio_box h3 {
        margin: 20px 0 10px;
        padding: 9px 10px;
        font-size: 17px;
        line-height: 1.5;
    }

    .tlg-shell article p,
    .bio_box p {
        margin: 11px 0 14px;
        font-size: 14px;
        line-height: 1.8;
    }

    .tlg-shell article ul,
    .tlg-shell article ol,
    .bio_box ul,
    .bio_box ol {
        margin: 13px 0;
        padding: 13px 12px 13px 31px;
        border-radius: 8px;
    }

    .tlg-shell article li,
    .bio_box li {
        margin: 7px 0;
        font-size: 14px;
        line-height: 1.75;
    }

    .contact_info {
        margin: 20px 0;
        padding: 13px 11px;
        border-radius: 10px;
    }

    .contact_info h3 {
        padding: 10px !important;
        font-size: 17px !important;
        line-height: 1.5;
    }

    .contact_info p {
        font-size: 14px;
        line-height: 1.8;
    }

    .tlg-hotline {
        padding: 17px 10px;
        border-radius: 10px;
    }

    .tlg-hotline-title {
        font-size: 17px;
    }

    .tlg-hotline-number {
        display: block;
        width: 100%;
        padding: 10px;
        font-size: 19px;
    }

    .tlg-shell article th,
    .tlg-shell article td,
    .bio_box th,
    .bio_box td {
        padding: 9px;
        font-size: 13px;
    }

    .tlg-shell article blockquote,
    .bio_box blockquote {
        padding: 13px;
    }
}

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

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

    html {
        scroll-behavior: auto;
    }

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