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

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

html {
    scroll-behavior: smooth;
    background: #07142b;
    scroll-padding-top: 20px;
}

body {
    margin: 0 !important;
    padding: 0;
    background: #07142b !important;
    font-family: Arial, Helvetica, sans-serif !important;
    color: #ffffff !important;
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

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

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

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

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

    color: #ffffff;

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

/* =========================================================
   ẢNH NỀN
========================================================= */

.image_background {
    width: 100%;
    overflow: hidden;

    position: relative;

    background: var(--blue-dark);

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

.image_background img {
    display: block;

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

    object-fit: cover;

    border-radius: 12px;
}

/* =========================================================
   HEADER
========================================================= */

.header_info {
    display: flex !important;

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

    gap: 20px;

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

    flex-wrap: wrap;

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

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

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

.left_info {
    display: flex;

    align-items: center;

    gap: 17px;

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

    color: #ffffff !important;
}

/* =========================================================
   ẢNH ĐẠI DIỆN
========================================================= */

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

    padding: 0;
    margin: 0;

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

    overflow: hidden;

    flex-shrink: 0;

    background: var(--blue-dark);

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

.header_profile img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    border-radius: 50%;
}

/* =========================================================
   H1 HEADER
========================================================= */

.left_info h1,
.header_info h1 {
    margin: 0;

    color: #ffffff !important;

    font-size: clamp(23px, 3vw, 34px);

    font-weight: 800;

    line-height: 1.35;

    overflow-wrap: anywhere;

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

.left_info h1 strong {
    color: #ffffff !important;
}

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

.right_info {
    display: flex !important;

    gap: 12px;

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

    flex-wrap: wrap;

    margin-left: auto;
}

.right_info a {
    display: inline-flex;

    text-decoration: none !important;

    flex-shrink: 0;
}

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

    display: grid;

    place-items: center;

    flex-shrink: 0;

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

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

    overflow: hidden;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.logo_social img {
    width: 100%;
    height: 100%;

    padding: 5px;

    object-fit: contain;

    display: block;

    opacity: 1;

    filter: none !important;
    border-radius: 7px;
}

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

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

.bio_box {
    width: 100%;

    margin-top: 20px;
    padding: 0;

    color: #ffffff !important;

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

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

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

    position: relative;

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

    position: absolute;

    top: 0;
    left: 0;

    z-index: 2;
}

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

.tlg-future {
    width: 100%;

    position: relative;

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

    color: #ffffff !important;
}

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

.xe-ghep-content {
    display: block;

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

    margin: 0 auto;

    color: #ffffff !important;

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

    font-size: 16px;

    line-height: 1.85;

    overflow-wrap: break-word;

    word-wrap: break-word;
}

.xe-ghep-content * {
    box-sizing: border-box;
}

.xe-ghep-content,
.xe-ghep-content p,
.xe-ghep-content li,
.xe-ghep-content td,
.xe-ghep-content th,
.xe-ghep-content span,
.xe-ghep-content strong,
.xe-ghep-content b,
.xe-ghep-content em {
    color: #ffffff !important;
}

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

.xe-ghep-content p {
    margin: 0 0 17px;

    color: #ffffff !important;

    font-size: 16px;

    line-height: 1.85;

    text-align: left;
}

.xe-ghep-content strong,
.xe-ghep-content b {
    color: #ffffff !important;

    font-weight: 700;
}

.xe-ghep-content em {
    color: #dbe7ff !important;
}

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

.xe-ghep-content h2 {
    display: block;

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

    color: #ffffff !important;

    font-size: clamp(21px, 2.5vw, 27px);

    font-weight: 800;

    line-height: 1.45;

    overflow-wrap: anywhere;

    background:
        linear-gradient(
            90deg,
            rgba(255, 88, 88, 0.13),
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.01)
        );

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

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

    border-radius: 5px 10px 10px 5px;

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

.xe-ghep-content h2:first-child {
    margin-top: 5px;
}

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

.xe-ghep-content h3 {
    display: block;

    margin: 27px 0 14px;
    padding: 11px 15px;

    color: #ffffff !important;

    font-size: clamp(18px, 2vw, 21px);

    font-weight: 700;

    line-height: 1.5;

    overflow-wrap: anywhere;

    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;

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

/* =========================================================
   KHOẢNG CÁCH GIỮA CÁC SECTION
========================================================= */

.xe-ghep-content section {
    display: block;

    width: 100%;

    margin: 0 0 30px;

    scroll-margin-top: 20px;
}

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

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

.xe-ghep-content ul,
.xe-ghep-content ol {
    margin: 16px 0 22px;

    padding: 18px 22px 18px 45px;

    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.035)
        );

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

    border-radius: 10px;
}

.xe-ghep-content li {
    margin: 0 0 11px;

    padding-left: 3px;

    color: #ffffff !important;

    line-height: 1.8;
}

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

.xe-ghep-content li::marker {
    color: var(--red) !important;

    font-weight: 700;
}

.xe-ghep-content li strong {
    color: #ffffff !important;
}

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

.xe-ghep-content a {
    color: #ffffff !important;

    font-weight: 700;

    text-decoration: underline;

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

    text-decoration-thickness: 1.5px;

    text-underline-offset: 3px;

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

.xe-ghep-content a:hover {
    color: #ffe0e0 !important;

    text-decoration-color: #ffffff;
}

.xe-ghep-content a:focus-visible {
    outline: 2px solid var(--red);

    outline-offset: 4px;

    border-radius: 3px;
}

/* =========================================================
   BẢNG GIÁ - VÙNG CUỘN NGANG
========================================================= */

.xe-ghep-content .table-responsive {
    width: 100%;

    margin: 22px 0 25px;

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

    -webkit-overflow-scrolling: touch;

    scrollbar-width: thin;
    scrollbar-color: var(--red) var(--blue-dark);

    background: var(--blue-dark);

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

    border-radius: 11px;

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

.xe-ghep-content .table-responsive::-webkit-scrollbar {
    height: 8px;
}

.xe-ghep-content .table-responsive::-webkit-scrollbar-track {
    background: var(--blue-dark);

    border-radius: 8px;
}

.xe-ghep-content .table-responsive::-webkit-scrollbar-thumb {
    background: var(--red);

    border-radius: 8px;
}

.xe-ghep-content .table-responsive::-webkit-scrollbar-thumb:hover {
    background: var(--red-dark);
}

/* =========================================================
   BẢNG
========================================================= */

.xe-ghep-content table {
    width: 100%;

    min-width: 620px;

    margin: 0;

    border-collapse: collapse;

    border-spacing: 0;

    color: #ffffff !important;

    background: #0b2454 !important;

    font-size: 15px;

    line-height: 1.65;
}

.xe-ghep-content thead {
    background: #123875 !important;
}

.xe-ghep-content thead tr {
    background: #123875 !important;
}

.xe-ghep-content th {
    padding: 15px 13px;

    color: #ffffff !important;

    background: #123875 !important;

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

    font-size: 15px;

    font-weight: 800;

    text-align: left;

    vertical-align: middle;
}

.xe-ghep-content td {
    padding: 14px 13px;

    color: #ffffff !important;

    background: #0b2454 !important;

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

    text-align: left;

    vertical-align: middle;
}

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

.xe-ghep-content tbody tr:hover td {
    background: #173d80 !important;
}

.xe-ghep-content table strong,
.xe-ghep-content table b {
    color: #ffffff !important;

    font-weight: 800;
}

/* =========================================================
   ĐƯỜNG VIỀN BẢNG
========================================================= */

.xe-ghep-content table th:first-child,
.xe-ghep-content table td:first-child {
    border-left: none;
}

.xe-ghep-content table th:last-child,
.xe-ghep-content table td:last-child {
    border-right: none;
}

.xe-ghep-content table tbody tr:last-child td {
    border-bottom: none;
}

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

.xe-ghep-content .contact-info {
    margin: 22px 0;

    padding: 22px;

    color: #ffffff !important;

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

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

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

    border-radius: 10px;

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

.xe-ghep-content .contact-info p {
    margin: 0;

    padding: 12px 0;

    color: #ffffff !important;

    line-height: 1.8;

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

    overflow-wrap: anywhere;
}

.xe-ghep-content .contact-info p:first-child {
    padding-top: 0;
}

.xe-ghep-content .contact-info p:last-child {
    padding-bottom: 0;

    border-bottom: none;
}

.xe-ghep-content .contact-info strong {
    color: #ffffff !important;
}

.xe-ghep-content .contact-info a {
    color: #ffffff !important;

    overflow-wrap: anywhere;
}

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

.xe-ghep-content 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;
}

.xe-ghep-content blockquote p:last-child {
    margin-bottom: 0;
}

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

.xe-ghep-content img {
    display: block;

    max-width: 100%;
    height: auto;

    margin: 20px auto;

    border-radius: 10px;
}

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

.xe-ghep-content hr {
    height: 1px;

    margin: 25px 0;

    border: 0;

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

/* =========================================================
   LỰA CHỌN VĂN BẢN
========================================================= */

.xe-ghep-content ::selection {
    color: #ffffff;

    background: #1E50A2;
}

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

        justify-content: center;

        gap: 18px;

        margin: 15px 0 20px;

        padding: 18px;

        text-align: center;
    }

    .left_info {
        flex-direction: column;

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

        flex: 1 1 100%;

        width: 100%;
    }

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

        margin-left: 0;

        gap: 11px;
    }

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

    .tlg-shell {
        padding: 20px;
    }

    .xe-ghep-content {
        font-size: 15px;

        line-height: 1.8;
    }

    .xe-ghep-content p {
        font-size: 15px;

        line-height: 1.8;
    }

    .xe-ghep-content h2 {
        margin-top: 28px;
        margin-bottom: 17px;

        padding: 12px 14px;

        font-size: 22px;
    }

    .xe-ghep-content h3 {
        margin-top: 22px;

        padding: 10px 12px;

        font-size: 18px;
    }

    .xe-ghep-content ul,
    .xe-ghep-content ol {
        padding: 15px 17px 15px 36px;
    }

    .xe-ghep-content li {
        margin-bottom: 10px;
    }

    .xe-ghep-content .contact-info {
        padding: 18px;
    }

    .xe-ghep-content table {
        min-width: 600px;
    }
}

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

@media (max-width: 480px) {

    html {
        scroll-padding-top: 12px;
    }

    body {
        font-size: 14px;
    }

    .container {
        width: 98%;

        margin: 8px auto;

        padding: 5px;

        border-radius: 10px;
    }

    .header_info {
        gap: 14px;

        margin: 12px 0 15px;

        padding: 14px 10px;

        border-radius: 10px;
    }

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

        border-width: 2px;
    }

    .left_info {
        gap: 12px;
    }

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

        line-height: 1.4;
    }

    .right_info {
        gap: 8px;
    }

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

        border-radius: 8px;
    }

    .logo_social img {
        padding: 4px;
    }

    .bio_box {
        margin-top: 12px;

        border-width: 1px;

        border-radius: 10px;
    }

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

    .xe-ghep-content {
        font-size: 14px;

        line-height: 1.8;
    }

    .xe-ghep-content p {
        margin-bottom: 14px;

        font-size: 14px;

        line-height: 1.8;
    }

    .xe-ghep-content h2 {
        margin-top: 25px;
        margin-bottom: 15px;

        padding: 11px 10px;

        font-size: 19px;

        line-height: 1.5;

        border-left-width: 4px;

        border-radius: 4px 8px 8px 4px;
    }

    .xe-ghep-content h2:first-child {
        margin-top: 3px;
    }

    .xe-ghep-content h3 {
        margin-top: 20px;
        margin-bottom: 12px;

        padding: 9px 10px;

        font-size: 16px;

        line-height: 1.55;

        border-left-width: 3px;
    }

    .xe-ghep-content ul,
    .xe-ghep-content ol {
        margin: 14px 0 18px;

        padding: 13px 12px 13px 30px;

        border-radius: 8px;
    }

    .xe-ghep-content li {
        padding-left: 1px;

        margin-bottom: 9px;

        font-size: 14px;

        line-height: 1.8;
    }

    .xe-ghep-content .table-responsive {
        margin: 17px 0 22px;

        border-width: 1px;

        border-radius: 8px;
    }

    .xe-ghep-content table {
        min-width: 560px;

        font-size: 13px;
    }

    .xe-ghep-content th {
        padding: 11px 9px;

        font-size: 13px;
    }

    .xe-ghep-content td {
        padding: 11px 9px;

        font-size: 13px;
    }

    .xe-ghep-content .contact-info {
        margin: 16px 0;

        padding: 14px 12px;

        border-left-width: 4px;

        border-radius: 8px;
    }

    .xe-ghep-content .contact-info p {
        padding: 10px 0;

        font-size: 14px;

        line-height: 1.75;
    }

    .xe-ghep-content blockquote {
        padding: 14px;

        margin: 16px 0;
    }
}

/* =========================================================
   MOBILE RẤT NHỎ
========================================================= */

@media (max-width: 360px) {

    .container {
        width: 99%;

        padding: 4px;
    }

    .header_info {
        padding: 12px 8px;
    }

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

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

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

    .xe-ghep-content h2 {
        font-size: 18px;

        padding: 10px 8px;
    }

    .xe-ghep-content h3 {
        font-size: 15px;

        padding: 8px;
    }

    .xe-ghep-content ul,
    .xe-ghep-content ol {
        padding-left: 25px;
    }

    .xe-ghep-content table {
        min-width: 530px;
    }
}

/* =========================================================
   HỖ TRỢ THIẾT BỊ CẢM ỨNG
========================================================= */

@media (hover: none) {

    .right_info a:hover .logo_social {
        transform: none;

        box-shadow: none;
    }
}

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

        scroll-behavior: auto !important;
    }
}
