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

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

html {
    scroll-behavior: smooth;
    background: #07142b;
}

body {
    margin: 0 !important;
    padding: 0;

    background: #07142b !important;

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

    color: #ffffff !important;

    line-height: 1.7;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
}

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

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

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

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

    --radius: 14px;
}

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

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

    width: min(95%, 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.1);

    border-radius: var(--radius);

    color: #ffffff !important;

    box-shadow:
        0 0 30px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(30, 80, 162, 0.12);
}

/* =========================================================
   ẢNH BANNER ĐẦU TRANG
========================================================= */

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

    max-width: 100%;

    object-fit: cover;

    border-radius: 12px;

    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}

.image_background:hover img {
    filter: brightness(1.04);
}

/* =========================================================
   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.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.12);
}

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

.left_info {
    display: flex;

    align-items: center;

    gap: 16px;

    flex: 1 1 400px;

    min-width: 0;

    color: #ffffff !important;
}

/* =========================================================
   ẢNH PROFILE
========================================================= */

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

    padding: 0;
    margin: 0;

    flex-shrink: 0;

    overflow: hidden;

    background: var(--blue-dark);

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

    border-radius: 50%;

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

    max-width: 100%;

    object-fit: cover;

    border-radius: 50%;
}

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

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

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

.right_info {
    display: flex !important;

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

    flex-wrap: wrap;

    gap: 12px;

    margin-left: auto;
}

.right_info a {
    display: inline-flex;

    text-decoration: none !important;

    outline-offset: 4px;
}

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

.logo_social {
    display: grid;

    place-items: center;

    width: 48px;
    height: 48px;

    flex-shrink: 0;

    overflow: hidden;

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

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

    border-radius: 10px;

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

.logo_social img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 100%;

    object-fit: contain;

    opacity: 1;

    filter: none !important;
}

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

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

    border-color: var(--red);

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

/* =========================================================
   BIO BOX - KHUNG NỘI DUNG CHÍNH
========================================================= */

.bio_box {
    position: relative;

    width: 100%;

    margin-top: 20px;

    padding: 0;

    overflow: hidden;

    color: #ffffff !important;

    background:
        linear-gradient(
            180deg,
            rgba(18, 57, 122, 0.96),
            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 TRANG TRÍ PHÍA TRÊN BIO
========================================================= */

.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: transparent !important;

    border: none !important;

    border-radius: 0;

    box-shadow: none;

    overflow: hidden;
}

/* =========================================================
   THANH NHẬN DIỆN THANH LOAN GO
========================================================= */

.tlg-future::before {
    content: "THANH LOAN GO  |  XE GHÉP HÀ NỘI - DIỄN CHÂU";

    display: block;

    width: 100%;

    padding: 12px 20px;

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

    text-transform: uppercase;

    overflow-wrap: anywhere;
}

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

.tlg-shell {
    position: relative;

    width: 100%;

    padding: 25px;

    color: #ffffff !important;

    background: transparent;

    overflow-wrap: break-word;

    word-wrap: break-word;
}

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

.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 {
    margin: 0 0 22px;

    padding: 0 0 14px;

    color: #ffffff !important;

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

    font-weight: 800;

    line-height: 1.35;

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

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

.tlg-shell h2 {
    position: relative;

    margin: 32px 0 18px;

    padding: 14px 16px;

    color: #ffffff !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(21px, 2.8vw, 26px);

    font-weight: 800;

    line-height: 1.45;

    overflow-wrap: anywhere;

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

/* H2 đầu tiên không cách quá xa thanh tiêu đề */

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

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

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

    padding: 11px 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 9px 9px 5px;

    font-size: clamp(17px, 2.3vw, 21px);

    font-weight: 750;

    line-height: 1.45;

    overflow-wrap: anywhere;
}

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

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

    color: #ffffff !important;

    font-size: 16px;

    line-height: 1.85;

    text-align: left;

    overflow-wrap: anywhere;
}

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

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

    font-weight: 750;
}

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

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

    padding: 18px 22px 18px 46px;

    color: #ffffff !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;
}

/* =========================================================
   CÁC DÒNG TRONG DANH SÁCH
========================================================= */

.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 ul li:last-child,
.tlg-shell ol li:last-child {
    margin-bottom: 0;
}

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

.tlg-shell hr {
    height: 1px;

    margin: 30px 0;

    border: none;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 88, 88, 0.85),
            rgba(255, 255, 255, 0.25),
            transparent
        );

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

/* =========================================================
   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: 4px;

    overflow-wrap: anywhere;

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

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

    text-decoration-color: #ffffff;
}

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

    outline-offset: 4px;

    border-radius: 4px;
}

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

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

    font-weight: 800;

    text-decoration-color: var(--red);
}

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

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

    font-weight: 800;

    text-decoration-color: var(--red);
}

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

.tlg-shell table {
    width: 100%;

    margin: 20px 0;

    border-collapse: collapse;

    color: #ffffff !important;

    background: #0b2454 !important;

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

    border-radius: 8px;

    overflow: hidden;
}

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

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

    color: #ffffff !important;

    background: #123875 !important;

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

    font-weight: 800;

    text-align: left;

    vertical-align: middle;
}

.tlg-shell td {
    padding: 12px;

    color: #ffffff !important;

    background: #0b2454 !important;

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

    vertical-align: top;
}

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

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

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

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

    padding: 18px 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.18);
}

.tlg-shell blockquote p {
    margin: 0;

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

    border-radius: 10px;

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

/* =========================================================
   NỘI DUNG CUỐI BÀI
========================================================= */

.tlg-shell > p:last-child {
    margin-bottom: 5px;
}

/* =========================================================
   HIỆU ỨNG KHI DI CHUỘT
========================================================= */

.tlg-shell h2,
.tlg-shell h3 {
    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.tlg-shell h2:hover {
    border-left-color: var(--red-light);

    background:
        linear-gradient(
            90deg,
            rgba(255, 88, 88, 0.09),
            rgba(255, 255, 255, 0.02)
        );
}

.tlg-shell h3:hover {
    border-left-color: var(--red-light);
}

/* =========================================================
   SELECTION - KHI BÔI ĐEN VĂN BẢN
========================================================= */

::selection {
    color: #ffffff;

    background: #d93636;
}

/* =========================================================
   THANH CUỘN
========================================================= */

html {
    scrollbar-color: #d93636 #07142b;

    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

::-webkit-scrollbar-track {
    background: #07142b;
}

::-webkit-scrollbar-thumb {
    background: #d93636;

    border: 2px solid #07142b;

    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff5858;
}

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

@media (max-width: 768px) {

    .container {
        width: 96%;

        margin: 15px auto;

        padding: 8px;

        border-radius: 12px;
    }

    .image_background {
        border-radius: 9px;
    }

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

    .header_info {
        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 18px;

        margin: 15px 0 20px;

        padding: 18px 14px;
    }

    .left_info {
        width: 100%;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 12px;

        text-align: center;
    }

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

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

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

        text-align: center;
    }

    .right_info {
        width: 100%;

        justify-content: center;

        gap: 10px;

        margin-left: 0;
    }

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

        border-radius: 8px;
    }

    .bio_box {
        margin-top: 15px;

        border-radius: 11px;
    }

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

        font-size: 11px;

        letter-spacing: 0.8px;
    }

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

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

    .tlg-shell h2 {
        margin: 27px 0 15px;

        padding: 12px 13px;

        font-size: 22px;
    }

    .tlg-shell h3 {
        margin: 22px 0 11px;

        padding: 10px 12px;

        font-size: 18px;
    }

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

        line-height: 1.8;
    }

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

    .tlg-shell table {
        display: block;

        max-width: 100%;

        overflow-x: auto;

        white-space: normal;

        -webkit-overflow-scrolling: touch;
    }

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

        font-size: 14px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    html {
        scroll-behavior: auto;
    }

    body {
        font-size: 14px;
    }

    .container {
        width: 98%;

        margin: 8px auto;

        padding: 5px;

        border-radius: 9px;
    }

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

    .header_info {
        gap: 14px;

        margin: 12px 0 15px;

        padding: 14px 9px;

        border-radius: 10px;
    }

    .left_info {
        gap: 10px;
    }

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

        border-width: 2px;
    }

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

        line-height: 1.4;
    }

    .right_info {
        gap: 8px;
    }

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

        border-radius: 7px;
    }

    .bio_box {
        margin-top: 12px;

        border-width: 1px !important;

        border-radius: 9px;
    }

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

        font-size: 9px;

        letter-spacing: 0.4px;

        text-align: center;
    }

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

    .tlg-shell h1 {
        margin-bottom: 17px;

        padding-bottom: 10px;

        font-size: 23px;
    }

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

        padding: 10px 10px;

        border-left-width: 4px;

        border-radius: 4px 7px 7px 4px;

        font-size: 19px;

        line-height: 1.5;
    }

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

        padding: 9px 10px;

        border-left-width: 3px;

        font-size: 17px;

        line-height: 1.5;
    }

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

        font-size: 14px;

        line-height: 1.8;
    }

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

        padding: 13px 12px 13px 30px;

        border-radius: 8px;
    }

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

        padding-left: 1px;

        font-size: 14px;

        line-height: 1.75;
    }

    .tlg-shell hr {
        margin: 23px 0;
    }

    .tlg-shell blockquote {
        padding: 13px 12px;

        margin: 16px 0;
    }

    .tlg-shell table {
        min-width: 100%;
    }

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

        font-size: 13px;
    }
}

/* =========================================================
   MOBILE SIÊU NHỎ
========================================================= */

@media (max-width: 360px) {

    .container {
        width: 99%;

        padding: 4px;
    }

    .header_info {
        padding: 12px 7px;
    }

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

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

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

        letter-spacing: 0.2px;
    }

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

    .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 {
        scroll-behavior: auto !important;

        transition: none !important;

        animation: none !important;
    }
}