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

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

* {
    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;
    color: var(--white) !important;
    line-height: 1.75;
    overflow-x: hidden;
    font-size: 16px;
}

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

a {
    overflow-wrap: anywhere;
}

/* =========================================================
   KHUNG CHÍNH WEBSITE
========================================================= */

.container {
    position: relative;
    z-index: 1;
    width: min(96%, 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.10);
    border-radius: 16px;
    color: var(--white) !important;

    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);
    border: 1px solid rgba(255, 88, 88, 0.22);
}

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

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

.header_info {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;

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

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

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

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

.left_info {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    color: var(--white) !important;
}

.header_profile {
    width: 105px;
    height: 105px;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    overflow: hidden;

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

    box-shadow: 0 0 14px 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, 34px);
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;

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

.left_info h1 strong {
    font-weight: 700;
}

/* =========================================================
   CÁC NÚT MẠNG XÃ HỘI
========================================================= */

.right_info {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
}

.right_info a {
    display: inline-flex;
    flex-shrink: 0;
    text-decoration: none !important;
}

.logo_social {
    display: grid;
    place-items: center;

    width: 48px;
    height: 48px;
    flex-shrink: 0;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.06);
    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;
    opacity: 1;
    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.4);
}

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

.bio_box {
    grid-column: 1 / -1;
    position: relative;
    width: 100%;
    min-width: 0;
    margin-top: 4px;
    padding: 0;

    color: var(--white) !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: 14px;
    overflow: hidden;

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

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

/* =========================================================
   THANH TIÊU ĐỀ TLG FUTURE
========================================================= */

.tlg-future {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;

    color: var(--white) !important;

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

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

    display: block;
    padding: 11px 18px;

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

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

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

    color: var(--white) !important;
    line-height: 1.8;
    overflow-wrap: break-word;
}

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

/* =========================================================
   ÉP CHỮ TRẮNG TRONG NỘI DUNG
========================================================= */

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

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

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

    color: var(--white) !important;
    font-size: clamp(25px, 3.4vw, 34px);
    font-weight: 700;
    line-height: 1.4;

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

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

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

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

    color: var(--white) !important;
    font-size: clamp(20px, 2.3vw, 25px);
    font-weight: 700;
    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-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 5px 10px 10px 5px;
}

.bio_box h2:first-child,
.tlg-shell h2:first-child {
    margin-top: 4px;
}

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

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

    color: var(--white) !important;
    font-size: clamp(17px, 2vw, 20px);
    font-weight: 700;
    line-height: 1.5;

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

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

.bio_box p,
.tlg-shell p {
    margin: 13px 0 17px;
    color: var(--white) !important;
    font-size: 16px;
    line-height: 1.85;
    overflow-wrap: break-word;
}

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

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

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

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

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

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

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

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

/* =========================================================
   LINK TRONG BÀI VIẾT
========================================================= */

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

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

    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

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

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

.contact_info {
    position: relative;
    margin: 30px 0 8px;
    padding: 22px;

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

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

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

.contact_info h2 {
    margin-top: 0 !important;
    border-left-color: var(--red);
}

.contact_info p {
    margin: 12px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

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

.contact_info a[href^="tel:"] {
    display: inline-block;
    font-size: 18px;
    color: #ffffff !important;
}

/* =========================================================
   BẢNG NẾU ĐƯỢC BỔ SUNG VÀO BÀI VIẾT
========================================================= */

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

    background: #0b2454 !important;
    color: var(--white) !important;
    border: 2px solid var(--red);
}

.bio_box th,
.bio_box td,
.tlg-shell th,
.tlg-shell td {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);

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

    text-align: left;
    vertical-align: top;
    overflow-wrap: break-word;
}

.bio_box th,
.tlg-shell th {
    background: #123875 !important;
    font-weight: 700;
}

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

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

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

.bio_box article img,
.tlg-shell article img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 10px;
}

/* =========================================================
   TRÍCH DẪN
========================================================= */

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

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

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

/* =========================================================
   HIỆU ỨNG NHẸ
========================================================= */

.header_info,
.bio_box,
.contact_info {
    transition:
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.contact_info:hover {
    box-shadow:
        0 0 22px rgba(255, 88, 88, 0.18),
        inset 0 0 20px rgba(0, 0, 0, 0.10);
}

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

@media (max-width: 768px) {

    .container {
        width: 96%;
        margin: 15px auto;
        padding: 8px;
        border-radius: 12px;
    }

    .header_info {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 18px;
        margin: 15px 0 20px;
        padding: 16px;
    }

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

    .left_info h1,
    .header_info h1 {
        text-align: center;
        font-size: clamp(22px, 4.5vw, 30px);
    }

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

    .right_info {
        justify-content: center;
        margin: 0;
        gap: 10px;
    }

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

    .bio_box {
        grid-column: 1 / -1;
    }

    .tlg-shell {
        padding: 20px;
    }

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

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

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

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

    .contact_info {
        padding: 17px;
    }

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

    .bio_box {
        overflow-x: hidden;
    }

    .bio_box table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

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

@media (max-width: 480px) {

    body {
        font-size: 14px;
    }

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

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

    .header_info {
        gap: 14px;
        margin: 10px 0 15px;
        padding: 12px 8px;
        border-radius: 10px;
    }

    .header_profile {
        width: 74px;
        height: 74px;
        border-width: 2px;
    }

    .left_info {
        gap: 10px;
    }

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

    .right_info {
        gap: 7px;
    }

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

    .logo_social img {
        padding: 3px;
    }

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

    .tlg-future::before {
        padding: 9px 10px;
        font-size: 9px;
        letter-spacing: 0.07em;
        text-align: center;
    }

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

    .bio_box h1,
    .tlg-shell h1 {
        font-size: 23px;
        line-height: 1.45;
        margin-bottom: 17px;
    }

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

    .bio_box h3,
    .tlg-shell h3 {
        margin: 21px 0 10px;
        padding: 9px 10px;
        font-size: 17px;
        line-height: 1.5;
        border-left-width: 3px;
    }

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

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

    .bio_box li,
    .tlg-shell li {
        margin: 6px 0;
        padding-left: 1px;
        font-size: 14px;
        line-height: 1.75;
    }

    .contact_info {
        margin-top: 22px;
        padding: 13px 11px;
        border-radius: 9px;
    }

    .contact_info h2 {
        font-size: 18px;
    }

    .contact_info p {
        padding-bottom: 9px;
        overflow-wrap: anywhere;
    }

    .contact_info a[href^="tel:"] {
        font-size: 17px;
    }

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

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

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

@media (max-width: 360px) {

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

    .header_info {
        padding: 10px 6px;
    }

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

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

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

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

    .bio_box h3,
    .tlg-shell h3 {
        font-size: 16px;
        padding: 8px;
    }

    .contact_info {
        padding: 11px 9px;
    }
}

/* =========================================================
   HỖ TRỢ NGƯỜI DÙNG GIẢM CHUYỂN ĐỘNG
========================================================= */

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

    html {
        scroll-behavior: auto;
    }

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