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

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

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

body {
    margin: 0 !important;
    background: #07142b !important;
    color: #ffffff !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

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

: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.18);
    --border-red: rgba(255, 88, 88, 0.65);

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

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

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

    width: min(95%, 1000px);
    margin: 25px auto;
    padding: 12px;

    color: var(--white);

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

    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
===================================================== */

.header_info {
    display: flex !important;

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

    gap: 20px;

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

    color: var(--white) !important;

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

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

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

.left_info {
    display: flex;

    align-items: center;
    gap: 15px;

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

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

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

    padding: 0;
    margin: 0;

    flex: 0 0 90px;
    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);
}

.header_profile img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.left_info h1 {
    margin: 0;

    color: var(--white) !important;

    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.35;

    overflow-wrap: anywhere;

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

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

.right_info {
    display: flex !important;

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

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

.right_info a {
    display: block;
    text-decoration: none !important;
}

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

    width: 44px;
    height: 44px;

    flex-shrink: 0;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.05);
    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%;

    object-fit: contain;

    opacity: 1;
    filter: none !important;
}

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

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

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

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

.bio_box {
    position: relative;

    width: 100%;
    flex: 0 0 100%;

    margin-top: 8px;
    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;

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

    overflow: hidden;
}

.bio_box::before {
    content: "";

    display: block;

    width: 100%;
    height: 3px;

    background: var(--red);

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

.tlg-future {
    width: 100%;

    color: var(--white) !important;

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

.tlg-shell {
    position: relative;

    width: 100%;
    padding: 25px;

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

/* =====================================================
    ÉP CHỮ TRẮNG TRONG BÀI VIẾT
===================================================== */

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

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

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

    color: var(--white) !important;

    font-size: 30px;
    line-height: 1.4;

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

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

    color: var(--white) !important;

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

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.01)
        );

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

.tlg-shell h3 {
    margin: 24px 0 12px;
    padding: 10px 13px;

    color: var(--white) !important;

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

    background: var(--blue-dark);

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

/* =====================================================
    ĐOẠN VĂN VÀ CHỮ ĐẬM
===================================================== */

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

    color: var(--white) !important;

    line-height: 1.8;
    overflow-wrap: break-word;
}

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

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

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

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

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

.tlg-shell li {
    margin-bottom: 9px;

    color: var(--white) !important;

    line-height: 1.75;
}

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

.tlg-shell li::marker {
    color: var(--red);
}

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

.tlg-shell a {
    color: var(--white) !important;

    font-weight: 700;

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

    overflow-wrap: anywhere;

    transition: color 0.2s ease;
}

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

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

.tlg-shell table {
    display: table;

    width: 100%;
    min-width: 600px;

    margin: 20px 0;

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

    background: var(--blue-dark) !important;
    border: 2px solid var(--red);
}

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

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

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

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

    font-weight: 700;
    text-align: left;
    vertical-align: middle;
}

.tlg-shell td {
    padding: 12px;

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

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

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

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

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

/* =====================================================
    KHUNG CUỘN BẢNG TRÊN MOBILE
===================================================== */

.tlg-shell {
    overflow-wrap: break-word;
}

.tlg-shell table {
    white-space: normal;
}

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

.tlg-shell img {
    display: block;

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

    margin: 15px auto;

    border-radius: 10px;
}

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

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

    color: var(--white) !important;

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

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

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

/* =====================================================
    KHUNG THÔNG TIN
===================================================== */

.tlg-info-box {
    margin: 20px 0;
    padding: 20px;

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

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

/* =====================================================
    HOTLINE
===================================================== */

.tlg-hotline {
    margin: 25px 0;
    padding: 24px 18px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #123875,
            #1E50A2
        );

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

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

.tlg-hotline-title {
    margin-bottom: 10px;

    color: var(--white) !important;
    font-size: 20px;
    font-weight: 700;
}

.tlg-hotline-number {
    display: inline-block;

    margin-top: 8px;
    padding: 10px 22px;

    color: var(--white) !important;

    background: #0b2454;

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

    font-size: 23px;
    font-weight: 700;

    text-decoration: none !important;

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

.tlg-hotline-number:hover {
    background: #173d80;
}

/* =====================================================
    NỘI DUNG BÀI VIẾT
===================================================== */

.xe-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;

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

.xe-content section {
    margin-bottom: 25px;
}

.xe-content section:last-child {
    margin-bottom: 0;
}

/* =====================================================
    FOCUS VÀ KHẢ NĂNG TRUY CẬP
===================================================== */

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

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

@media (max-width: 768px) {

    body {
        font-size: 15px;
    }

    .container {
        width: 96%;
        margin: 14px auto;
        padding: 8px;
    }

    .header_info {
        flex-direction: column;
        align-items: stretch;

        gap: 16px;
        padding: 15px;
    }

    .left_info {
        flex: 1 1 100%;
        flex-direction: column;
        align-items: center;

        text-align: center;
    }

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

    .left_info h1 {
        width: 100%;
        font-size: 25px;
    }

    .right_info {
        justify-content: center;
        margin-left: 0;
    }

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

    .tlg-shell {
        padding: 18px;
    }

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

    .tlg-shell h2 {
        margin-top: 26px;
        padding: 11px 13px;

        font-size: 22px;
    }

    .tlg-shell h3 {
        margin-top: 21px;

        font-size: 18px;
    }

    .tlg-shell table {
        min-width: 600px;
    }

    .tlg-shell table {
        display: table;
    }

    .tlg-shell {
        overflow-x: hidden;
    }

    .tlg-hotline {
        padding: 20px 14px;
    }
}

/* =====================================================
    Đ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;
    }

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

    .header_info {
        margin: 12px 0 18px;
        padding: 12px;

        border-radius: 10px;
    }

    .left_info {
        gap: 12px;
    }

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

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

    .right_info {
        gap: 8px;
    }

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

        border-radius: 8px;
    }

    .bio_box {
        border-radius: 10px;
    }

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

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

        font-size: 23px;
    }

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

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

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

        font-size: 16px;
    }

    .tlg-shell p {
        margin-bottom: 13px;
        line-height: 1.8;
    }

    .tlg-shell ul,
    .tlg-shell ol {
        padding: 13px 12px 13px 29px;
        margin: 13px 0 18px;
    }

    .tlg-shell li {
        margin-bottom: 8px;
    }

    .tlg-shell table {
        min-width: 570px;
        margin: 15px 0;
    }

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

    .tlg-hotline {
        padding: 17px 10px;
    }

    .tlg-hotline-title {
        font-size: 18px;
    }

    .tlg-hotline-number {
        font-size: 20px;
        padding: 9px 13px;
    }
}

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

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

    html {
        scroll-behavior: auto;
    }

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