/* =========================================================
   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;
    color: #ffffff !important;
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    overflow-wrap: anywhere;
}

button,
input,
textarea,
select {
    font: inherit;
}

/* =========================================================
   BIẾN MÀU CHUNG
========================================================= */

:root {
    --blue: #1E50A2;
    --blue-light: #2d68c7;
    --blue-dark: #0b2454;
    --blue-deep: #061735;
    --blue-card: #102e65;

    --red: #ff5858;
    --red-dark: #d93636;
    --red-light: #ff8585;

    --white: #ffffff;
    --text: #ffffff;
    --text-soft: #dbe7ff;

    --border: rgba(255, 255, 255, 0.16);
    --border-red: rgba(255, 88, 88, 0.55);

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

    --radius: 14px;
}

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

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

    width: min(95%, 1000px);
    max-width: 1000px;

    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: 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%;
    position: relative;
    overflow: hidden;

    background: var(--blue-dark);

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
}

.image_background img {
    display: block;

    width: 100%;
    max-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;

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

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

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

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

.left_info {
    display: flex;

    align-items: center;
    gap: 16px;

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

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

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

    flex: 0 0 100px;

    padding: 0;
    margin: 0;

    overflow: hidden;

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

    background: var(--blue-dark);

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

.header_profile img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    border-radius: 50%;
}

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

    color: var(--white) !important;

    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;

    line-height: 1.35;
    overflow-wrap: anywhere;

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

.left_info h1 strong {
    color: var(--white) !important;
    font-weight: 800;
}

/* =========================================================
   SOCIAL MEDIA
========================================================= */

.right_info {
    display: flex !important;

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

    flex-wrap: wrap;
    gap: 10px;

    margin-left: auto;
}

.right_info > a {
    display: block;

    flex: 0 0 auto;

    text-decoration: none !important;

    outline-offset: 4px;
}

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

    display: grid;
    place-items: center;

    overflow: hidden;

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

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

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

.logo_social img {
    display: block;

    width: 100%;
    height: 100%;

    padding: 5px;

    object-fit: contain;

    filter: none !important;
    opacity: 1;
}

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

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

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

.right_info > a:focus-visible {
    outline: 2px solid var(--red);
    border-radius: 10px;
}

/* =========================================================
   BIO BOX
   Giữ wrapper tương thích với HTML hiện tại
========================================================= */

.bio_box {
    width: 100%;
    min-width: 0;

    margin-top: 20px;
    padding: 0;

    position: relative;

    color: var(--white) !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: var(--radius);

    box-shadow: none;

    overflow: visible;
}

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

.tlg-future {
    width: 100%;
    min-width: 0;

    position: relative;
    overflow: hidden;

    color: var(--white) !important;

    background:
        linear-gradient(
            180deg,
            rgba(18, 57, 122, 0.97),
            rgba(7, 20, 43, 0.99)
        ) !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.12);
}

.tlg-future::before {
    content: "THANH LOAN GO  •  XE GHÉP HÀ NỘI – VĂN BÀN";

    display: block;

    padding: 11px 18px;

    color: var(--white) !important;

    background:
        linear-gradient(
            90deg,
            var(--red-dark),
            var(--red),
            #9e3030
        );

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

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    line-height: 1.6;

    text-align: center;
    text-transform: uppercase;

    overflow-wrap: anywhere;
}

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

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

    min-width: 0;

    padding: 26px;

    color: var(--white) !important;

    background:
        linear-gradient(
            180deg,
            rgba(18, 57, 122, 0.25),
            rgba(7, 20, 43, 0.12)
        );
}

.tlg-shell article {
    width: 100%;
    min-width: 0;

    margin: 0 auto;

    color: var(--white) !important;

    overflow-wrap: anywhere;
}

.tlg-shell,
.tlg-shell * {
    box-sizing: border-box;
}

/* =========================================================
   ÉP MÀU CHỮ TRẮNG
========================================================= */

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

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

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

.tlg-shell h1 {
    margin: 0 0 24px;
    padding: 0 0 16px;

    color: var(--white) !important;

    font-size: clamp(27px, 4vw, 36px);
    font-weight: 800;

    line-height: 1.35;

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

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

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

.tlg-shell h2 {
    position: relative;

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

    color: var(--white) !important;

    font-size: clamp(20px, 2.5vw, 24px);
    font-weight: 800;

    line-height: 1.45;

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

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

    border-radius: 4px 10px 10px 4px;

    overflow-wrap: anywhere;
}

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

    padding: 0 0 18px;

    background: transparent;

    border-left: 0;
    border-bottom: 2px solid var(--red);

    border-radius: 0;

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

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

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

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

    color: var(--white) !important;

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

    line-height: 1.45;

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

    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;

    text-align: left;

    overflow-wrap: anywhere;
}

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

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

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

.tlg-shell a {
    color: #ffffff !important;

    font-weight: 700;

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

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

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

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

    border-radius: 3px;
}

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

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

    color: var(--white) !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.15);
    border-radius: 10px;
}

.tlg-shell ul {
    list-style-type: disc;
}

.tlg-shell ol {
    list-style-type: decimal;
}

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

    padding-left: 3px;

    color: var(--white) !important;

    line-height: 1.8;
}

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

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

/* =========================================================
   BẢNG GIÁ DỊCH VỤ
========================================================= */

.tlg-shell table {
    display: block;

    width: 100%;
    max-width: 100%;

    margin: 22px 0;

    overflow-x: auto;

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

    border-collapse: collapse;

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

    color: var(--white) !important;

    -webkit-overflow-scrolling: touch;
}

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

.tlg-shell tbody {
    background: var(--blue-dark) !important;
}

.tlg-shell th,
.tlg-shell td {
    min-width: 115px;

    padding: 13px 12px;

    color: var(--white) !important;

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

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

    line-height: 1.65;

    overflow-wrap: anywhere;
}

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

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

    text-align: center;
}

.tlg-shell td {
    background: #0b2454 !important;

    font-size: 15px;
}

.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,
.tlg-shell td b,
.tlg-shell th b {
    color: var(--white) !important;
    font-weight: 800;
}

/* =========================================================
   CĂN CHỈNH CỘT BẢNG GIÁ
========================================================= */

.tlg-shell table td:first-child {
    font-weight: 700;
}

.tlg-shell table td:last-child {
    font-weight: 700;
}

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

.tlg-shell hr {
    height: 1px;

    margin: 25px 0;

    border: 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--red),
            rgba(255, 255, 255, 0.2),
            transparent
        );
}

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

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

    color: var(--white) !important;

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

    border-left: 5px solid var(--red);
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    border-radius: 8px;

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

.tlg-shell blockquote p {
    margin: 0;

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

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

.tlg-shell img {
    display: block;

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

    margin: 20px auto;

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

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

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

.tlg-shell article > h2:last-of-type {
    margin-top: 35px;
}

/* Làm nổi bật số điện thoại */

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

    color: #ffffff !important;

    font-weight: 800;

    text-decoration: none;

    padding: 2px 5px;

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

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

.tlg-shell a[href^="tel:"]:hover {
    color: #ffe1e1 !important;
    background: rgba(255, 88, 88, 0.23);
}

/* =========================================================
   BÔI ĐẬM THÔNG TIN QUAN TRỌNG
========================================================= */

.tlg-shell p strong {
    font-weight: 800;
}

.tlg-shell article > p:last-child {
    margin-top: 24px;
    margin-bottom: 5px;
    padding: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 88, 88, 0.14),
            rgba(18, 57, 122, 0.65)
        );

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

    border-radius: 10px;
}

/* =========================================================
   HIỆU ỨNG CUỘN BẢNG TRÊN MOBILE
========================================================= */

.tlg-shell table::-webkit-scrollbar {
    height: 7px;
}

.tlg-shell table::-webkit-scrollbar-track {
    background: var(--blue-deep);
    border-radius: 10px;
}

.tlg-shell table::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 10px;
}

.tlg-shell table::-webkit-scrollbar-thumb:hover {
    background: var(--red-dark);
}

/* =========================================================
   SELECTION
========================================================= */

::selection {
    color: #ffffff;
    background: #1E50A2;
}

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

@media (max-width: 768px) {

    body {
        font-size: 15px;
    }

    .container {
        width: 96%;

        margin: 15px auto;
        padding: 8px;

        border-radius: 12px;
    }

    .image_background {
        border-radius: 10px;
    }

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

    .header_info {
        flex-direction: column;

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

        gap: 17px;

        margin: 15px 0 20px;
        padding: 18px 14px;

        text-align: center;
    }

    .left_info {
        width: 100%;

        flex: 1 1 100%;

        flex-direction: column;

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

        gap: 12px;
    }

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

        flex-basis: 85px;
    }

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

        font-size: clamp(21px, 4vw, 28px);
        line-height: 1.4;

        text-align: center;
    }

    .right_info {
        width: 100%;

        justify-content: center;

        gap: 10px;
        margin-left: 0;
    }

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

    .bio_box {
        margin-top: 15px;
    }

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

    .tlg-shell {
        padding: 20px 17px;
    }

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

        font-size: 11px;
        letter-spacing: 0.8px;
    }

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

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

        font-size: 21px;
    }

    .tlg-shell h2:first-child {
        font-size: 27px;
    }

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

        font-size: 18px;
    }

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

    .tlg-shell ul,
    .tlg-shell ol {
        padding: 15px 17px 15px 36px;
    }

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

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

        border-radius: 8px;
    }

    .tlg-shell th,
    .tlg-shell td {
        min-width: 120px;

        padding: 10px;

        font-size: 14px;
    }
}

/* =========================================================
   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 {
        border-radius: 8px;
    }

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

    .header_info {
        gap: 13px;

        margin: 10px 0 15px;
        padding: 14px 10px;

        border-radius: 10px;
    }

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

        flex-basis: 72px;

        border-width: 2px;
    }

    .left_info {
        gap: 10px;
    }

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

    .right_info {
        gap: 8px;
    }

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

        border-radius: 8px;
    }

    .logo_social img {
        padding: 4px;
    }

    .bio_box {
        margin-top: 10px;
    }

    .tlg-future {
        border-width: 1px !important;
        border-radius: 9px;
    }

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

        font-size: 9px;
        letter-spacing: 0.5px;
        line-height: 1.5;
    }

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

    .tlg-shell h1 {
        margin-bottom: 19px;
        padding-bottom: 12px;

        font-size: 24px;
        line-height: 1.4;
    }

    .tlg-shell h2 {
        margin: 25px 0 13px;
        padding: 10px 11px;

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

        border-left-width: 4px;
    }

    .tlg-shell h2:first-child {
        margin-bottom: 18px;
        padding-bottom: 13px;

        font-size: 24px;
        line-height: 1.45;
    }

    .tlg-shell h3 {
        margin: 21px 0 10px;
        padding: 9px 10px;

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

        border-left-width: 3px;
    }

    .tlg-shell p {
        margin: 11px 0 14px;

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

    .tlg-shell ul,
    .tlg-shell ol {
        margin: 14px 0;
        padding: 13px 12px 13px 31px;

        border-radius: 8px;
    }

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

        padding-left: 1px;

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

    .tlg-shell table {
        margin: 18px 0;

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

    .tlg-shell th,
    .tlg-shell td {
        min-width: 110px;

        padding: 9px 8px;

        font-size: 13px;
        line-height: 1.6;
    }

    .tlg-shell th {
        font-size: 13px;
    }

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

    .tlg-shell article > p:last-child {
        padding: 13px;

        border-left-width: 4px;
        border-radius: 8px;
    }

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

/* =========================================================
   MOBILE RẤT NHỎ
========================================================= */

@media (max-width: 360px) {

    .container {
        width: 99%;
        padding: 4px;
    }

    .header_info {
        padding: 12px 8px;
    }

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

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

    .tlg-future::before {
        font-size: 8px;
        letter-spacing: 0.3px;
    }

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

    .tlg-shell h1 {
        font-size: 22px;
    }

    .tlg-shell h2,
    .tlg-shell h2:first-child {
        font-size: 21px;
    }

    .tlg-shell h3 {
        font-size: 16px;
    }

    .tlg-shell th,
    .tlg-shell td {
        min-width: 100px;
        padding: 8px 7px;
        font-size: 12px;
    }
}

/* =========================================================
   HỖ TRỢ THIẾT BỊ CẢM ỨNG
========================================================= */

@media (hover: none) {

    .right_info > a:hover .logo_social {
        transform: none;
        box-shadow: none;
    }

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

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

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

    html {
        scroll-behavior: auto;
    }

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