/* =========================================================
   RESET & BIẾN CHUNG
========================================================= */

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

:root {
    --blue: #1E50A2;
    --blue-dark: #0b2454;
    --blue-deep: #061735;
    --blue-light: #2d68c7;
    --red: #ff5858;
    --red-dark: #d93636;
    --white: #ffffff;
    --text-soft: #dbe7ff;
    --border: rgba(255, 255, 255, 0.16);
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}

html {
    scroll-behavior: smooth;
    background: var(--blue-deep);
}

body {
    margin: 0 !important;
    padding: 0;
    overflow-x: hidden;
    background: var(--blue-deep) !important;
    color: var(--white) !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 16px;
    line-height: 1.75;
    -webkit-text-size-adjust: 100%;
}

img {
    max-width: 100%;
}

a {
    overflow-wrap: anywhere;
}

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

.container {
    position: relative;
    z-index: 1;
    width: min(1000px, calc(100% - 24px));
    margin: 25px auto;
    padding: 12px;
    color: var(--white);

    background: linear-gradient(
        180deg,
        rgba(18, 57, 122, 0.98),
        rgba(6, 23, 53, 0.99)
    );

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

    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;
    background: var(--blue-dark);
    border-radius: 12px;
}

.image_background img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

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

.header_info {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;

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

    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);
    border-radius: 14px;

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

.left_info {
    display: flex;
    align-items: center;
    flex: 1 1 400px;
    min-width: 0;
    gap: 16px;
}

.header_profile {
    flex: 0 0 105px;
    width: 105px;
    height: 105px;
    overflow: hidden;

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

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

.header_profile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.left_info h1,
.header_info h1 {
    margin: 0;
    padding: 0;
    color: var(--white) !important;
    font-size: clamp(22px, 3.2vw, 34px);
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;

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

.right_info {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin-left: auto;
}

.right_info a {
    display: inline-flex;
    text-decoration: none;
}

.logo_social {
    display: grid;
    place-items: center;
    flex-shrink: 0;

    width: 46px;
    height: 46px;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.07);
    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: 4px;
    object-fit: contain;
    filter: none !important;
}

.right_info a:hover .logo_social {
    transform: translateY(-3px);
    background: rgba(255, 88, 88, 0.14);
    box-shadow: 0 0 12px rgba(255, 88, 88, 0.35);
}

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

.bio_box {
    position: relative;
    width: 100%;
    margin-top: 20px;
    padding: 0;

    overflow: hidden;

    color: var(--white) !important;

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

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

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

.bio_box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 2;

    background: var(--red);

    box-shadow:
        0 0 10px var(--red),
        0 0 22px var(--red);

    pointer-events: none;
}

/* =========================================================
   TLG FUTURE & SHELL
========================================================= */

.tlg-future {
    position: relative;
    width: 100%;
    color: var(--white) !important;
    background: transparent !important;
}

.tlg-future::before {
    content: "THANH LOAN GO  /  XE GHÉP ĐƯỜNG DÀI";

    display: block;
    padding: 11px 20px;

    color: var(--white);
    background: linear-gradient(
        90deg,
        var(--red-dark),
        #123875,
        var(--blue-dark)
    );

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

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.tlg-shell {
    position: relative;
    width: 100%;
    min-width: 0;
    padding: 24px;

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

.tlg-shell article {
    width: 100%;
    min-width: 0;
    color: var(--white) !important;
}

/* =========================================================
   ÉP MÀU CHỮ TRONG NỘI DUNG
========================================================= */

.bio_box,
.bio_box *,
.tlg-future,
.tlg-future *,
.tlg-shell,
.tlg-shell * {
    color: var(--white) !important;
}

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

.tlg-shell p,
.tlg-shell li,
.tlg-shell td,
.tlg-shell th {
    overflow-wrap: anywhere;
}

/* =========================================================
   TIÊU ĐỀ H1, H2, H3
========================================================= */

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

    color: var(--white) !important;
    font-size: clamp(26px, 4vw, 34px);
    font-weight: 800;
    line-height: 1.4;

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

.tlg-shell h2 {
    margin: 32px 0 16px;
    padding: 13px 16px;

    color: var(--white) !important;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.07),
        rgba(255, 255, 255, 0.015)
    );

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

    font-size: clamp(20px, 2.7vw, 25px);
    font-weight: 800;
    line-height: 1.45;

    overflow-wrap: anywhere;
    scroll-margin-top: 20px;
}

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

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

    color: var(--white) !important;
    background: linear-gradient(
        135deg,
        #123875,
        #0b2454
    );

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

    font-size: clamp(17px, 2.2vw, 20px);
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

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

.tlg-shell p {
    margin: 13px 0 16px;
    color: var(--white) !important;
    font-size: 16px;
    line-height: 1.85;
}

.tlg-shell strong,
.tlg-shell b {
    color: var(--white) !important;
    font-weight: 800;
}

.tlg-shell em {
    color: var(--text-soft) !important;
}

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

/* =========================================================
   DANH SÁCH
========================================================= */

.tlg-shell ul,
.tlg-shell ol {
    margin: 16px 0 20px;
    padding: 17px 22px 17px 44px;

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

.tlg-shell li {
    margin: 7px 0;
    padding-left: 3px;

    color: var(--white) !important;
    line-height: 1.8;
}

.tlg-shell li::marker {
    color: var(--red) !important;
    font-weight: 800;
}

/* =========================================================
   ĐƯỜNG LINK
========================================================= */

.tlg-shell a,
.bio_box a {
    color: #ffffff !important;
    font-weight: 700;

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

    transition: color 0.2s ease;
}

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

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

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

.table-responsive {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 22px 0;

    overflow-x: auto;
    overflow-y: hidden;

    -webkit-overflow-scrolling: touch;

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

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

.table-responsive table,
.tlg-shell table {
    width: 100%;
    min-width: 650px;

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

    color: var(--white) !important;
    background: var(--blue-dark) !important;

    font-size: 15px;
    line-height: 1.65;
}

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

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

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

    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.tlg-shell thead th {
    color: var(--white) !important;
    background: #123875 !important;

    font-weight: 800;
    text-align: center;
    vertical-align: middle;

    border-color: rgba(255, 255, 255, 0.24);
}

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

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

.tlg-shell td strong,
.tlg-shell th strong {
    color: var(--white) !important;
}

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

.tlg-shell article img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;

    margin: 20px auto;

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

/* =========================================================
   BLOCKQUOTE NẾU ĐƯỢC SỬ DỤNG
========================================================= */

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

    color: var(--white) !important;
    background: linear-gradient(
        135deg,
        #123875,
        #0b2454
    );

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

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

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

/* =========================================================
   ĐIỆN THOẠI - LINK GỌI NHANH
========================================================= */

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

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

@media (max-width: 768px) {

    body {
        font-size: 15px;
    }

    .container {
        width: calc(100% - 16px);
        margin: 12px auto;
        padding: 8px;
        border-radius: 12px;
    }

    .header_info {
        flex-direction: column;
        justify-content: center;
        gap: 16px;
        margin: 14px 0 20px;
        padding: 16px;
    }

    .left_info {
        flex-direction: column;
        flex: 1 1 auto;
        width: 100%;
        text-align: center;
        gap: 12px;
    }

    .header_profile {
        flex-basis: 85px;
        width: 85px;
        height: 85px;
    }

    .left_info h1,
    .header_info h1 {
        font-size: clamp(21px, 4.4vw, 28px);
    }

    .right_info {
        justify-content: center;
        gap: 9px;
        margin: 0;
        width: 100%;
    }

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

    .bio_box {
        margin-top: 14px;
        border-radius: 10px;
    }

    .tlg-shell {
        padding: 18px;
    }

    .tlg-shell h2 {
        margin-top: 27px;
        padding: 12px 13px;
    }

    .tlg-shell h3 {
        margin-top: 22px;
        padding: 9px 12px;
    }

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

    .tlg-shell ul,
    .tlg-shell ol {
        padding: 14px 16px 14px 36px;
    }

    .table-responsive {
        margin: 18px 0;
        border-radius: 8px;
    }

    .table-responsive table,
    .tlg-shell table {
        min-width: 620px;
        font-size: 14px;
    }

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

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

@media (max-width: 480px) {

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

    .container {
        width: calc(100% - 10px);
        margin: 7px auto;
        padding: 5px;
        border-radius: 10px;
    }

    .image_background {
        border-radius: 8px;
    }

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

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

    .header_profile {
        flex-basis: 72px;
        width: 72px;
        height: 72px;
    }

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

    .right_info {
        gap: 7px;
    }

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

    .logo_social img {
        padding: 3px;
    }

    .bio_box {
        border-width: 1px;
        border-radius: 9px;
    }

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

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

    .tlg-shell h1 {
        font-size: 23px;
        padding-bottom: 10px;
    }

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

    .tlg-shell h3 {
        margin: 20px 0 10px;
        padding: 9px 10px;
        border-left-width: 3px;
        font-size: 16px;
    }

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

    .tlg-shell ul,
    .tlg-shell ol {
        margin: 13px 0 16px;
        padding: 12px 10px 12px 29px;
        border-radius: 8px;
    }

    .tlg-shell li {
        margin: 6px 0;
        line-height: 1.75;
    }

    .table-responsive {
        margin: 16px 0;
    }

    .table-responsive table,
    .tlg-shell table {
        min-width: 590px;
        font-size: 13px;
    }

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

    .tlg-shell blockquote {
        margin: 16px 0;
        padding: 13px;
    }
}

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

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

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}