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

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

html {
    scroll-behavior: smooth;
    background: #07142b;
    -webkit-text-size-adjust: 100%;
}

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;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a {
    overflow-wrap: anywhere;
}

: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.16);
    --border-red: rgba(255, 88, 88, 0.65);

    --radius: 14px;

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

/* =========================================================
   KHUNG WEBSITE
========================================================= */

.container {
    position: relative;
    z-index: 1;

    width: min(95%, 1100px);

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

    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;

    border-radius: 12px;

    background: var(--blue-dark);

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

.image_background img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 12px;

    object-fit: cover;
}

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

.header_info {
    display: flex !important;

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

    gap: 20px;

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

    flex-wrap: wrap;

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

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

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

/* =========================================================
   HEADER BÊN TRÁI
========================================================= */

.left_info {
    display: flex;

    align-items: center;

    gap: 17px;

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

    color: #ffffff !important;
}

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

    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),
        0 0 25px rgba(255, 88, 88, 0.12);
}

.header_profile img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;
}

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

    color: #ffffff !important;

    font-size: clamp(22px, 3.2vw, 34px);

    font-weight: 800;

    line-height: 1.35;

    overflow-wrap: anywhere;

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

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

    font-weight: 800;
}

/* =========================================================
   HEADER BÊN PHẢI - MẠNG XÃ HỘI
========================================================= */

.right_info {
    display: flex !important;

    gap: 12px;

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

    flex-wrap: wrap;

    flex-shrink: 0;

    margin-left: auto;
}

.right_info a {
    display: inline-flex;

    text-decoration: none !important;

    border: 0;
    outline: none;
}

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

    display: grid;

    place-items: center;

    flex-shrink: 0;

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

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

    overflow: hidden;

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

.logo_social img {
    display: block;

    width: 100%;
    height: 100%;

    padding: 7px;

    object-fit: contain;

    opacity: 1;

    filter: none !important;
}

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

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

    border-color: var(--red);

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

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

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

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

    margin: 0;
    padding: 0;

    color: #ffffff !important;

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

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

    border-radius: 10px;

    overflow: hidden;
}

.tlg-future::before {
    content: "THANH LOAN GO  |  DỊCH VỤ XE GHÉP";

    display: block;

    padding: 11px 18px;

    color: #ffffff !important;

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

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

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

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

    letter-spacing: 1.4px;

    line-height: 1.6;

    text-align: center;

    overflow-wrap: anywhere;
}

/* =========================================================
   KHUNG CHỨA BÀI VIẾT
========================================================= */

.tlg-shell {
    position: relative;

    width: 100%;

    padding: 25px;

    color: #ffffff !important;

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

    font-size: 16px;

    line-height: 1.8;

    overflow-wrap: anywhere;

    word-break: normal;
}

/* =========================================================
   ÉP MÀU CHỮ TRẮNG TRONG BÀI VIẾT
========================================================= */

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

/* =========================================================
   TIÊU ĐỀ H1 TRONG NỘI DUNG
========================================================= */

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

    padding: 0 0 14px;

    color: #ffffff !important;

    font-size: clamp(26px, 4vw, 34px);

    font-weight: 800;

    line-height: 1.4;

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

    overflow-wrap: anywhere;
}

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

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

    margin: 35px 0 18px;

    padding: 14px 17px;

    color: #ffffff !important;

    background:
        linear-gradient(
            90deg,
            rgba(30, 80, 162, 0.42),
            rgba(255, 255, 255, 0.035)
        );

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

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

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

    font-size: clamp(21px, 2.5vw, 26px);

    font-weight: 800;

    line-height: 1.5;

    overflow-wrap: anywhere;

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

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

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

.tlg-shell h3,
.bio_box h3 {
    margin: 27px 0 13px;

    padding: 10px 14px;

    color: #ffffff !important;

    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 8px 8px 5px;

    font-size: clamp(17px, 2vw, 20px);

    font-weight: 700;

    line-height: 1.55;

    overflow-wrap: anywhere;
}

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

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

    color: #ffffff !important;

    font-size: 16px;

    line-height: 1.85;

    overflow-wrap: anywhere;
}

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

/* =========================================================
   CHỮ ĐẬM
========================================================= */

.tlg-shell strong,
.tlg-shell b,
.bio_box strong,
.bio_box b {
    color: #ffffff !important;

    font-weight: 800;
}

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

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

    padding: 18px 22px 18px 45px;

    color: #ffffff !important;

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

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

    border-radius: 10px;
}

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

    padding-left: 4px;

    color: #ffffff !important;

    line-height: 1.75;
}

.tlg-shell li:last-child,
.bio_box li:last-child {
    margin-bottom: 0;
}

.tlg-shell li::marker,
.bio_box li::marker {
    color: var(--red);

    font-weight: 800;
}

/* =========================================================
   LINK TRONG NỘI DUNG
========================================================= */

.tlg-shell 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: 4px;

    overflow-wrap: anywhere;

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

.tlg-shell a:hover,
.bio_box a:hover {
    color: #ffe1e1 !important;

    text-decoration-color: #ffffff;
}

.tlg-shell a:focus-visible,
.bio_box a:focus-visible,
.right_info a:focus-visible {
    outline: 2px solid var(--red);

    outline-offset: 4px;

    border-radius: 4px;
}

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

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

    margin: 4px 0;

    padding: 9px 16px;

    color: #ffffff !important;

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

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

    border-radius: 7px;

    font-weight: 800;

    text-decoration: none;

    box-shadow:
        0 4px 12px rgba(255, 88, 88, 0.2);

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

.tlg-shell a[href^="tel:"]:hover {
    color: #ffffff !important;

    transform: translateY(-2px);

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

/* =========================================================
   LINK ZALO
========================================================= */

.tlg-shell a[href*="zalo.me"] {
    text-decoration-color: #ffffff;

    font-weight: 800;
}

/* =========================================================
   ĐƯỜNG KẺ NGANG
========================================================= */

.tlg-shell hr,
.bio_box hr {
    height: 1px;

    margin: 32px 0;

    border: 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 88, 88, 0.95),
            rgba(255, 255, 255, 0.2),
            transparent
        );

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

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

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

    margin: 22px 0;

    border-collapse: collapse;

    background: #0b2454 !important;

    color: #ffffff !important;

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

    overflow-wrap: anywhere;
}

.tlg-shell thead,
.bio_box thead {
    background: #123875 !important;
}

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

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

    color: #ffffff !important;

    background: #0b2454 !important;

    text-align: left;

    vertical-align: top;

    line-height: 1.65;
}

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

    font-weight: 800;
}

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

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

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

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

    max-width: 100%;
    height: auto;

    margin: 18px auto;

    border-radius: 10px;
}

/* Giữ nguyên kích thước hiển thị avatar ở header */

.header_profile img,
.logo_social img {
    margin: 0;
}

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

.tlg-shell blockquote,
.bio_box blockquote {
    margin: 22px 0;

    padding: 18px 20px;

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

.tlg-shell blockquote p,
.bio_box blockquote p {
    margin: 0;

    color: #ffffff !important;
}

/* =========================================================
   KHUNG THÔNG TIN / NHẮC NHỞ
========================================================= */

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

    padding: 17px 20px;

    color: #ffffff !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.15);

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

    border-radius: 9px;
}

/* =========================================================
   KHUNG LIÊN HỆ ĐẶT XE
========================================================= */

.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.17),
        inset 0 0 20px rgba(0, 0, 0, 0.1);
}

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

    color: #ffffff !important;

    font-size: 21px;

    font-weight: 800;
}

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

    margin-top: 8px;

    padding: 11px 23px;

    color: #ffffff !important;

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

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

    border-radius: 8px;

    font-size: 24px;

    font-weight: 800;

    text-decoration: none !important;

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

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

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

/* =========================================================
   CUỘN NGANG KHI CÓ BẢNG RỘNG
========================================================= */

.tlg-table-wrap {
    width: 100%;

    margin: 22px 0;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;

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

    border-radius: 10px;

    background: #0b2454;
}

/* =========================================================
   HIỆU ỨNG DI CHUYỂN NHẸ
========================================================= */

.logo_social,
.tlg-shell a,
.bio_box a {
    -webkit-tap-highlight-color: transparent;
}

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

@media (max-width: 768px) {

    body {
        font-size: 15px;
    }

    .container {
        width: 96%;

        margin: 15px auto;

        padding: 8px;
    }

    .header_info {
        flex-direction: column;

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

        gap: 18px;

        padding: 18px 14px;

        text-align: center;
    }

    .left_info {
        flex-direction: column;

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

        flex: 1 1 auto;

        width: 100%;

        gap: 12px;

        text-align: center;
    }

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

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

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

        text-align: center;
    }

    .right_info {
        justify-content: center;

        margin-left: 0;

        gap: 10px;
    }

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

    .bio_box {
        padding: 8px;

        border-radius: 11px;
    }

    .tlg-shell {
        padding: 20px 16px;

        font-size: 15px;
    }

    .tlg-shell p,
    .bio_box p {
        font-size: 15px;

        line-height: 1.8;
    }

    .tlg-shell h1,
    .bio_box h1 {
        font-size: 27px;
    }

    .tlg-shell h2,
    .bio_box h2 {
        margin-top: 28px;

        padding: 12px 14px;

        font-size: 22px;
    }

    .tlg-shell h3,
    .bio_box h3 {
        margin-top: 22px;

        padding: 9px 12px;

        font-size: 18px;
    }

    .tlg-shell ul,
    .tlg-shell ol,
    .bio_box ul,
    .bio_box ol {
        padding: 15px 15px 15px 35px;
    }

    .tlg-shell table,
    .bio_box table {
        min-width: 580px;
    }

    .tlg-shell th,
    .tlg-shell td,
    .bio_box th,
    .bio_box td {
        padding: 10px;
    }

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

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

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

@media (max-width: 480px) {

    html {
        scroll-padding-top: 10px;
    }

    body {
        font-size: 14px;

        line-height: 1.7;
    }

    .container {
        width: 98%;

        margin: 8px auto;

        padding: 5px;

        border-radius: 9px;
    }

    .image_background {
        border-radius: 7px;
    }

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

    .header_info {
        margin: 12px 0 16px;

        padding: 14px 9px;

        gap: 14px;

        border-radius: 10px;
    }

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

        border-width: 2px;
    }

    .left_info {
        gap: 10px;
    }

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

        line-height: 1.4;
    }

    .right_info {
        gap: 8px;

        width: 100%;
    }

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

        border-radius: 8px;
    }

    .logo_social img {
        padding: 5px;
    }

    .bio_box {
        margin-top: 14px;

        padding: 5px;

        border-width: 1px !important;

        border-radius: 9px;
    }

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

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

        font-size: 10px;

        letter-spacing: 0.8px;
    }

    .tlg-shell {
        padding: 15px 11px;

        font-size: 14px;

        line-height: 1.75;
    }

    .tlg-shell h1,
    .bio_box h1 {
        margin-bottom: 16px;

        padding-bottom: 10px;

        font-size: 23px;
    }

    .tlg-shell h2,
    .bio_box h2 {
        margin: 25px 0 13px;

        padding: 10px 11px;

        border-left-width: 4px;

        font-size: 19px;

        line-height: 1.5;
    }

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

    .tlg-shell h3,
    .bio_box h3 {
        margin: 21px 0 10px;

        padding: 9px 10px;

        border-left-width: 3px;

        font-size: 16px;

        line-height: 1.55;
    }

    .tlg-shell p,
    .bio_box p {
        margin-bottom: 14px;

        font-size: 14px;

        line-height: 1.8;
    }

    .tlg-shell ul,
    .tlg-shell ol,
    .bio_box ul,
    .bio_box ol {
        margin: 14px 0 18px;

        padding: 13px 10px 13px 29px;

        border-radius: 8px;
    }

    .tlg-shell li,
    .bio_box li {
        margin-bottom: 9px;

        padding-left: 1px;

        font-size: 14px;

        line-height: 1.75;
    }

    .tlg-shell hr,
    .bio_box hr {
        margin: 24px 0;
    }

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

        font-size: 13px;
    }

    .tlg-shell a[href^="tel:"] {
        padding: 8px 12px;
    }

    .tlg-note,
    .tlg-info-box {
        padding: 13px 12px;

        margin: 15px 0;
    }

    .tlg-hotline {
        padding: 17px 10px;

        border-radius: 10px;
    }

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

    .tlg-hotline-number {
        display: block;

        width: 100%;

        padding: 10px;

        font-size: 20px;
    }
}

/* =========================================================
   ĐIỆN THOẠI RẤT NHỎ
========================================================= */

@media (max-width: 360px) {

    .container {
        width: 99%;

        padding: 4px;
    }

    .header_info {
        padding: 12px 7px;
    }

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

    .right_info {
        gap: 6px;
    }

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

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

    .tlg-shell h2,
    .bio_box h2 {
        font-size: 18px;

        padding: 9px;
    }

    .tlg-shell h3,
    .bio_box h3 {
        font-size: 15px;

        padding: 8px;
    }
}

/* =========================================================
   HẠN CHẾ CHUYỂN ĐỘNG
========================================================= */

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

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }
}
