/* =========================================================
   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;
    line-height: 1.75;

    color: #ffffff !important;

    overflow-x: hidden;
}

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

a {
    overflow-wrap: anywhere;
}

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

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

    --white: #ffffff;
    --text: #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%, 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: 14px;

    color: #ffffff !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, 255, 255, 0.1);
}

.image_background img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: cover;

    border-radius: 12px;
}

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

.header_info {
    display: flex !important;

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

    flex-wrap: wrap;

    gap: 20px;

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

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

.left_info {
    display: flex;

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

    align-items: center;

    gap: 16px;

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

.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(21px, 2.7vw, 32px);
    font-weight: 800;

    line-height: 1.35;

    overflow-wrap: anywhere;

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

.left_info h1 strong {
    color: #ffffff !important;
    font-weight: 800;
}

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

.right_info {
    display: flex !important;

    flex: 0 1 auto;

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

    flex-wrap: wrap;

    gap: 10px;

    margin-left: auto;
}

.right_info a {
    display: inline-flex;

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

    flex-shrink: 0;

    text-decoration: none !important;
}

.logo_social {
    display: grid;

    width: 48px;
    height: 48px;

    place-items: center;

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

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

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

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

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

    pointer-events: none;
}

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

.tlg-future {
    position: relative;

    width: 100%;

    color: #ffffff !important;

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

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

.tlg-shell {
    position: relative;

    width: 100%;

    padding: 28px;

    color: #ffffff !important;

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

/* Ép màu chữ trắng cho nội dung */

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

/* Không để hình ảnh vượt quá khung nội dung */

.tlg-shell img,
.bio_box img {
    max-width: 100%;
    height: auto;
}

/* =========================================================
   ARTICLE
========================================================= */

.tlg-shell article {
    display: block;

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

    margin: 0 auto;

    color: #ffffff !important;
}

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

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

    padding: 0 0 15px;

    color: #ffffff !important;

    font-size: clamp(25px, 3.5vw, 36px);
    font-weight: 800;

    line-height: 1.4;

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

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

.tlg-shell article h2 {
    position: relative;

    margin: 34px 0 18px;

    padding: 14px 17px;

    color: #ffffff !important;

    font-size: clamp(21px, 2.5vw, 26px);
    font-weight: 800;

    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;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.08);

    overflow-wrap: anywhere;
}

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

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

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

    padding: 10px 14px;

    color: #ffffff !important;

    font-size: clamp(18px, 2vw, 21px);
    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.12);
}

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

.tlg-shell article p {
    margin: 0 0 17px;

    color: #ffffff !important;

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

    text-align: left;

    overflow-wrap: break-word;
}

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

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

    font-weight: 700;
}

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

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

    padding: 17px 22px 17px 46px;

    color: #ffffff !important;

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

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

.tlg-shell article li {
    margin: 0 0 10px;

    padding-left: 3px;

    color: #ffffff !important;

    line-height: 1.8;
}

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

.tlg-shell article li::marker {
    color: var(--red) !important;

    font-weight: 700;
}

/* Danh sách lồng nhau */

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

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

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

    font-weight: 700;

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

    overflow-wrap: anywhere;

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

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

    text-decoration-color: #ffffff;
}

/* Điện thoại */

.tlg-shell article a[href^="tel:"] {
    font-weight: 800;

    text-decoration-style: solid;
}

/* =========================================================
   ĐƯỜNG PHÂN CÁCH
========================================================= */

.tlg-shell article hr {
    display: block;

    height: 1px;

    margin: 30px 0;

    border: 0;

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

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

.tlg-shell article > div[style*="overflow-x"] {
    width: 100%;
    max-width: 100%;

    margin: 22px 0;

    overflow-x: auto !important;
    overflow-y: hidden;

    -webkit-overflow-scrolling: touch;

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

    background: #0b2454;
}

/* Bảng */

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

    min-width: 680px;

    margin: 0;

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

    table-layout: auto;

    color: #ffffff !important;

    background: #0b2454 !important;

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

/* Ô tiêu đề bảng */

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

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

    color: #ffffff !important;

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

    line-height: 1.6;

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

    white-space: normal;

    background: #123875 !important;

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

/* Ô dữ liệu */

.tlg-shell article td {
    padding: 13px 12px;

    color: #ffffff !important;

    font-size: 15px;
    line-height: 1.65;

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

    white-space: normal;

    overflow-wrap: break-word;

    background: #0b2454 !important;

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

.tlg-shell article td strong,
.tlg-shell article th strong {
    color: #ffffff !important;

    font-weight: 800;
}

/* Hàng xen kẽ */

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

/* Hover */

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

/* Bảng nhỏ */

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

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

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

/* =========================================================
   HOTLINE VÀ ZALO
========================================================= */

.tlg-shell article p a[href^="tel:"],
.tlg-shell article p a[href*="zalo.me"] {
    font-weight: 800;
}

/* =========================================================
   FOCUS BÀN PHÍM
========================================================= */

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

    outline-offset: 4px;

    border-radius: 4px;
}

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

@media (max-width: 900px) {

    .container {
        width: 96%;

        margin: 18px auto;

        padding: 10px;
    }

    .header_info {
        gap: 15px;

        padding: 15px;
    }

    .left_info {
        flex: 1 1 100%;
    }

    .right_info {
        flex: 1 1 100%;

        justify-content: center;

        margin-left: 0;
    }

    .tlg-shell {
        padding: 22px;
    }

    .tlg-shell article h2 {
        margin-top: 30px;
    }
}

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

@media (max-width: 768px) {

    body {
        font-size: 15px;
    }

    .container {
        width: 96%;

        margin: 12px auto;

        padding: 7px;

        border-radius: 10px;
    }

    .image_background {
        border-radius: 8px;
    }

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

    .header_info {
        flex-direction: column;

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

        gap: 15px;

        margin: 12px 0 18px;
        padding: 15px;

        border-radius: 10px;
    }

    .left_info {
        display: flex;

        width: 100%;

        flex: 1 1 auto;

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

        gap: 13px;
    }

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

        border-width: 2px;
    }

    .left_info h1,
    .header_info h1 {
        font-size: clamp(19px, 4vw, 25px);

        line-height: 1.4;
    }

    .right_info {
        width: 100%;

        justify-content: center;

        gap: 10px;

        margin: 0;
    }

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

        border-radius: 8px;
    }

    .bio_box {
        margin-top: 15px;

        border-radius: 10px;
    }

    .tlg-shell {
        padding: 18px 15px;
    }

    .tlg-shell article h2 {
        margin-top: 27px;
        margin-bottom: 14px;

        padding: 12px 13px;

        font-size: 21px;

        line-height: 1.5;
    }

    .tlg-shell article h3 {
        margin-top: 22px;
        margin-bottom: 11px;

        padding: 9px 11px;

        font-size: 18px;
    }

    .tlg-shell article p {
        margin-bottom: 15px;

        font-size: 15px;

        line-height: 1.8;
    }

    .tlg-shell article ul,
    .tlg-shell article ol {
        padding: 15px 15px 15px 35px;

        margin: 15px 0 19px;

        border-radius: 8px;
    }

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

        line-height: 1.75;
    }

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

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

        font-size: 14px;
    }

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

/* =========================================================
   MOBILE NHỎ
========================================================= */

@media (max-width: 480px) {

    body {
        font-size: 14px;
    }

    .container {
        width: 98%;

        margin: 8px auto;

        padding: 5px;
    }

    .header_info {
        padding: 12px;

        gap: 12px;
    }

    .left_info {
        gap: 10px;
    }

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

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

        line-height: 1.45;
    }

    .right_info {
        gap: 8px;
    }

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

        border-radius: 7px;
    }

    .logo_social img {
        padding: 3px;
    }

    .bio_box {
        border-radius: 8px;
    }

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

    .tlg-shell article h2 {
        margin-top: 24px;
        margin-bottom: 13px;

        padding: 10px 11px;

        font-size: 19px;

        line-height: 1.5;

        border-left-width: 4px;
    }

    .tlg-shell article h3 {
        margin-top: 20px;
        margin-bottom: 10px;

        padding: 9px 10px;

        font-size: 17px;

        line-height: 1.5;

        border-left-width: 3px;
    }

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

        font-size: 14px;

        line-height: 1.8;
    }

    .tlg-shell article ul,
    .tlg-shell article ol {
        padding: 13px 11px 13px 29px;

        margin: 13px 0 17px;
    }

    .tlg-shell article li {
        padding-left: 1px;

        font-size: 14px;

        line-height: 1.75;
    }

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

    .tlg-shell article > div[style*="overflow-x"] {
        border-radius: 7px;
    }

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

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

        font-size: 13px;

        line-height: 1.6;
    }
}

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

@media (max-width: 360px) {

    .container {
        width: 99%;

        padding: 4px;
    }

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

    .left_info {
        align-items: flex-start;
    }

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

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

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

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

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

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

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

    html {
        scroll-behavior: auto;
    }

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