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

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

a {
    color: #ffffff;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

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

/* =========================================================
   BIẾN CHUNG
========================================================= */

:root {
    --blue: #1E50A2;
    --blue-dark: #0b2454;
    --blue-deep: #061735;
    --blue-light: #2d68c7;
    --blue-soft: #123875;

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

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

    --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.1);
    border-radius: 16px;

    color: #ffffff;

    box-shadow:
        0 0 30px rgba(0, 0, 0, 0.35),
        0 0 22px rgba(30, 80, 162, 0.15);

    isolation: isolate;
}

/* =========================================================
   ẢNH BANNER
========================================================= */

.image_background {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: var(--blue-dark);

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

.image_background img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: cover;

    border-radius: 12px;

    transition: transform 0.45s ease;
}

.image_background:hover img {
    transform: scale(1.015);
}

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

.header_info {
    display: flex !important;

    flex-wrap: wrap;

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

    gap: 20px;

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

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

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

    flex: 1 1 300px;

    gap: 16px;

    min-width: 0;

    color: #ffffff !important;
}

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

    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 12px rgba(255, 88, 88, 0.4),
        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(23px, 3.5vw, 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;
}

/* =========================================================
   LOGO MẠNG XÃ HỘI
========================================================= */

.right_info {
    display: flex !important;

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

    flex-wrap: wrap;

    gap: 12px;

    margin-left: auto;
}

.right_info a {
    display: block;

    flex-shrink: 0;

    text-decoration: none !important;
}

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

    width: 48px;
    height: 48px;

    overflow: hidden;

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

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

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.15);

    transition:
        transform 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s 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.14);

    border-color: var(--red);

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

/* =========================================================
   BIO BOX
========================================================= */

.bio_box {
    flex: 0 0 100%;

    width: 100%;
    min-width: 0;

    margin-top: 4px;
    padding: 0;

    position: relative;

    color: #ffffff !important;

    background: transparent !important;

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

    box-shadow: none;

    overflow: visible;
}

/* =========================================================
   TLG FUTURE
   Khung nội dung chính
========================================================= */

.tlg-future {
    position: relative;

    width: 100%;
    min-width: 0;

    overflow: hidden;

    color: #ffffff !important;

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

/* Thanh nhận diện trên đầu khung */

.tlg-future::before {
    content: "THANH LOAN GO | XE GHÉP HÀ NỘI - QUẢN BẠ";

    display: block;

    padding: 11px 18px;

    color: #ffffff !important;

    background:
        linear-gradient(
            90deg,
            #d93636,
            #ff5858 45%,
            #123875 100%
        );

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

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

    letter-spacing: 1.2px;
    line-height: 1.6;

    text-transform: uppercase;

    overflow-wrap: anywhere;
}

/* =========================================================
   TLG SHELL
   Vùng chứa nội dung bài viết
========================================================= */

.tlg-shell {
    position: relative;

    width: 100%;
    min-width: 0;

    padding: 28px;

    color: #ffffff !important;

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

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

    overflow-wrap: break-word;
    word-wrap: break-word;
}

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

/* Ép màu chữ toàn bộ nội dung */

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

/* =========================================================
   TIÊU ĐỀ H1 TRONG BÀI VIẾT
========================================================= */

.tlg-shell h1,
.bio_box .tlg-shell h1 {
    margin: 0 0 25px;
    padding: 0 0 16px;

    color: #ffffff !important;

    font-size: clamp(25px, 4vw, 35px);
    font-weight: 800;

    line-height: 1.4;

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

    overflow-wrap: anywhere;

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

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

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

    margin: 32px 0 18px;
    padding: 14px 17px;

    color: #ffffff !important;

    font-size: clamp(21px, 3vw, 27px);
    font-weight: 800;

    line-height: 1.5;

    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: 5px 10px 10px 5px;

    overflow-wrap: anywhere;
}

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

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

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

    color: #ffffff !important;

    font-size: clamp(18px, 2.5vw, 21px);
    font-weight: 750;

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

/* =========================================================
   H4 - H6
========================================================= */

.tlg-shell h4,
.tlg-shell h5,
.tlg-shell h6 {
    margin: 20px 0 10px;

    color: #ffffff !important;

    font-weight: 700;
    line-height: 1.5;
}

/* =========================================================
   NỘI DUNG VĂN BẢN
========================================================= */

.tlg-shell p {
    margin: 13px 0;

    color: #ffffff !important;

    line-height: 1.85;

    overflow-wrap: break-word;
}

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

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

.tlg-shell em,
.tlg-shell i {
    color: #e7efff !important;
}

.tlg-shell hr {
    margin: 25px 0;

    border: 0;
    border-top: 1px solid rgba(255, 88, 88, 0.4);
}

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

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

    padding: 18px 22px 18px 46px;

    color: #ffffff !important;

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

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

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

    padding-left: 3px;

    color: #ffffff !important;

    line-height: 1.8;
}

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

.tlg-shell li > ul,
.tlg-shell li > ol {
    margin-top: 10px;
    margin-bottom: 10px;
}

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

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

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

    text-decoration-color: #ffffff;
}

/* =========================================================
   LINK SỐ ĐIỆN THOẠI
========================================================= */

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

    font-weight: 800;

    text-decoration: none;

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

    border: 1px solid rgba(255, 88, 88, 0.5);
    border-radius: 6px;

    padding: 2px 6px;
}

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

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

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

    font-weight: 800;

    text-decoration-color: #7cb8ff;
}

/* =========================================================
   ẢNH TRONG NỘI DUNG
========================================================= */

.tlg-shell img {
    display: block;

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

    margin: 18px auto;

    object-fit: contain;

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

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.2);
}

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

.tlg-shell blockquote {
    margin: 22px 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.16);
}

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

/* =========================================================
   BẢNG BIỂU
========================================================= */

.tlg-shell table {
    width: 100%;

    margin: 22px 0;

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

    color: #ffffff !important;

    background: #0b2454 !important;

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

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

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

    color: #ffffff !important;

    background: #0b2454 !important;

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

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

    overflow-wrap: anywhere;
}

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

    font-weight: 800;
}

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

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

/* =========================================================
   CODE / PRE
========================================================= */

.tlg-shell code {
    padding: 2px 5px;

    color: #ffffff !important;

    background: rgba(0, 0, 0, 0.25);

    border-radius: 4px;

    overflow-wrap: anywhere;
}

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

    margin: 18px 0;
    padding: 16px;

    overflow-x: auto;

    color: #ffffff !important;

    background: #061735;

    border: 1px solid var(--border);
    border-radius: 8px;
}

.tlg-shell pre code {
    padding: 0;
    background: transparent;
}

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

::selection {
    color: #ffffff;
    background: #b72f3a;
}

/* =========================================================
   FOCUS HỖ TRỢ TRUY CẬP
========================================================= */

a:focus-visible {
    outline: 2px solid var(--red-light);
    outline-offset: 4px;
}

/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 768px) {

    .container {
        width: 96%;

        margin: 15px auto;
        padding: 8px;

        border-radius: 12px;
    }

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

    .header_info {
        flex-direction: column;

        align-items: stretch;

        gap: 18px;

        margin-top: 12px;
        padding: 14px;
    }

    .left_info {
        flex: 1 1 auto;

        flex-direction: column;

        justify-content: center;
        text-align: center;

        gap: 12px;
    }

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

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

    .right_info {
        width: 100%;

        justify-content: center;

        gap: 10px;

        margin-left: 0;
    }

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

    .bio_box {
        margin-top: 0;
    }

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

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

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

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

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

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

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

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

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

    .tlg-shell table {
        display: block;

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

        overflow-x: auto;

        white-space: normal;

        -webkit-overflow-scrolling: touch;
    }

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

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

@media (max-width: 480px) {

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

    .container {
        width: 98%;

        margin: 8px auto;
        padding: 5px;

        border-radius: 10px;
    }

    .header_info {
        padding: 11px;
        gap: 14px;

        border-radius: 10px;
    }

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

        border-width: 2px;
    }

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

    .right_info {
        gap: 8px;
    }

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

        border-radius: 8px;
    }

    .logo_social img {
        padding: 4px;
    }

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

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

        font-size: 10px;
        letter-spacing: 0.35px;
        line-height: 1.6;
    }

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

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

    .tlg-shell h1 {
        font-size: 23px;

        margin-bottom: 17px;
        padding-bottom: 11px;

        line-height: 1.45;
    }

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

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

        border-left-width: 4px;
    }

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

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

    .tlg-shell h4,
    .tlg-shell h5,
    .tlg-shell h6 {
        font-size: 15px;
    }

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

    .tlg-shell ul,
    .tlg-shell ol {
        margin: 13px 0 17px;

        padding: 13px 12px 13px 30px;

        border-radius: 8px;
    }

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

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

    .tlg-shell img {
        margin: 14px auto;
        border-radius: 7px;
    }

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

        font-size: 13px;
    }
}

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

@media (max-width: 360px) {

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

    .header_info {
        padding: 9px;
    }

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

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

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

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

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

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

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

/* =========================================================
   GIẢM 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;
    }
}
