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

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

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

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

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

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

    background: linear-gradient(
        180deg,
        rgba(18, 57, 122, 0.96),
        rgba(6, 23, 53, 0.98)
    );

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;

    color: #ffffff;

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

.image_background img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: cover;
    border-radius: 12px;
}


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

.header_info {
    display: flex !important;

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

    gap: 20px;
    flex-wrap: wrap;

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

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

    border: 1px solid rgba(255, 88, 88, 0.35) !important;
    border-radius: 14px;

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

.left_info {
    display: flex;
    align-items: center;
    gap: 15px;

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

    color: #ffffff !important;
}

.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 {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

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

    color: #ffffff !important;

    font-size: clamp(23px, 3.5vw, 32px);
    line-height: 1.35;
    overflow-wrap: anywhere;

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


/* =========================================================
   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: block;
    text-decoration: none;
}

.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.04);
    overflow: hidden;

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

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


/* =========================================================
   KHUNG NỘI DUNG CHÍNH
========================================================= */

.bio_box {
    width: 100%;
    margin-top: 20px;

    color: #ffffff !important;
}

.tlg-future {
    position: relative;

    width: 100%;

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

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

    color: #ffffff !important;

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

    overflow: hidden;
}

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

    display: block;

    padding: 10px 18px;

    color: #ffffff !important;

    background: linear-gradient(
        90deg,
        var(--red),
        var(--red-dark),
        #0b2050
    );

    border-bottom: 1px solid var(--red);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tlg-shell {
    position: relative;

    padding: 25px;

    color: #ffffff !important;
}

.tlg-shell main {
    display: block;
    width: 100%;
    min-width: 0;
}

.tlg-shell section {
    display: block;
    width: 100%;

    margin: 0 0 30px;
    padding: 0;

    scroll-margin-top: 20px;
}

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

.tlg-shell section + section {
    padding-top: 5px;
}


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

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

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

    color: #ffffff !important;
    font-size: 16px;
    line-height: 1.8;

    overflow-wrap: anywhere;
}

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


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

.bio_box h1,
.tlg-shell h1 {
    margin: 0 0 20px;

    padding-bottom: 12px;

    color: #ffffff !important;

    font-size: clamp(25px, 4vw, 34px);
    line-height: 1.4;

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


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

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

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

    color: #ffffff !important;

    font-size: clamp(21px, 3vw, 25px);
    line-height: 1.45;

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

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

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

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


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

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

    color: #ffffff !important;

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


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

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

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


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

.bio_box ul,
.bio_box ol,
.tlg-shell ul,
.tlg-shell ol {
    margin: 16px 0 22px;
    padding: 18px 22px 18px 44px;

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

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

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

    padding-left: 3px;

    color: #ffffff !important;
    line-height: 1.75;
}

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

.tlg-shell li strong {
    color: #ffffff !important;
}


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

    overflow-wrap: anywhere;

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

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


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

.tlg-shell img,
.bio_box img {
    display: block;

    max-width: 100%;
    height: auto;

    border-radius: 8px;
}


/* =========================================================
   FAQ - CÂU HỎI THƯỜNG GẶP
========================================================= */

#faq-xe-ghep-ha-noi-vinh .faq_item {
    margin: 16px 0;
    padding: 18px 20px;

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

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 4px solid var(--red);

    border-radius: 10px;

    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.12);

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

#faq-xe-ghep-ha-noi-vinh .faq_item:hover {
    background: rgba(255, 255, 255, 0.085);

    border-color: rgba(255, 88, 88, 0.5);
}

#faq-xe-ghep-ha-noi-vinh .faq_item h3 {
    margin: 0 0 12px;
    padding: 0;

    color: #ffffff !important;

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

    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#faq-xe-ghep-ha-noi-vinh .faq_item p {
    margin: 0;

    color: #ffffff !important;
}


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

#lien-he-dat-xe {
    margin-top: 35px;
    padding-top: 5px;
}

#lien-he-dat-xe > p {
    margin: 12px 0;
    padding: 12px 15px;

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

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

#lien-he-dat-xe > p strong {
    color: #ffffff !important;
}


/* =========================================================
   NÚT GỌI ĐIỆN - LIÊN HỆ NHANH
========================================================= */

.tlg-shell a[href^="tel:"] {
    display: inline-block;

    font-weight: 700;

    text-decoration: none;

    color: #ffffff !important;

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

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

.tlg-shell a[href*="zalo.me"] {
    overflow-wrap: anywhere;
}


/* =========================================================
   BẢNG NỘI DUNG NẾU BỔ SUNG SAU NÀY
========================================================= */

.tlg-shell table,
.bio_box table {
    width: 100%;
    margin: 22px 0;

    border-collapse: collapse;

    background: #0b2454 !important;

    color: #ffffff !important;

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

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

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

    color: #ffffff !important;
    background: #0b2454 !important;

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

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

    color: #ffffff !important;
    font-weight: 700;
}

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

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


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

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

    color: #ffffff !important;

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

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

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

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


/* =========================================================
   HIỆU ỨNG KHI CUỘN ĐẾN CÁC SECTION
========================================================= */

.tlg-shell section h2 {
    scroll-margin-top: 20px;
}


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

@media (max-width: 768px) {

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

    .header_info {
        flex-direction: column;
        text-align: center;

        padding: 16px;
        gap: 18px;
    }

    .left_info {
        flex-direction: column;
        justify-content: center;

        flex-basis: auto;
        width: 100%;
    }

    .left_info h1,
    .header_info h1 {
        width: 100%;
        font-size: clamp(22px, 4vw, 28px);
    }

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

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

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

    .bio_box {
        margin-top: 15px;
    }

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

    .tlg-shell h2 {
        font-size: 22px;
        padding: 12px 14px;
    }

    .tlg-shell h3 {
        font-size: 18px;
        padding: 9px 12px;
    }

    .tlg-shell p {
        font-size: 15px;
        line-height: 1.8;
    }

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

    .tlg-shell table,
    .bio_box table {
        display: block;

        width: 100%;
        overflow-x: auto;

        white-space: normal;
        -webkit-overflow-scrolling: touch;
    }

    #faq-xe-ghep-ha-noi-vinh .faq_item {
        padding: 15px;
    }

    #faq-xe-ghep-ha-noi-vinh .faq_item h3 {
        font-size: 18px;
    }
}


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

@media (max-width: 480px) {

    body {
        font-size: 14px;
    }

    .container {
        width: 98%;
        padding: 6px;
        margin: 10px auto;
        border-radius: 10px;
    }

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

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

        border-radius: 10px;
    }

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

    .left_info {
        gap: 12px;
    }

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

    .right_info {
        gap: 9px;
    }

    .logo_social {
        width: 37px;
        height: 37px;
        border-radius: 8px;
    }

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

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

        font-size: 9px;
        letter-spacing: 0.035em;

        overflow-wrap: anywhere;
    }

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

    .tlg-shell section {
        margin-bottom: 24px;
    }

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

    .tlg-shell h2 {
        margin: 24px 0 14px;
        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 p {
        margin: 10px 0 14px;

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

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

        border-radius: 8px;
    }

    .tlg-shell li {
        margin: 7px 0;
        line-height: 1.75;
    }

    #faq-xe-ghep-ha-noi-vinh .faq_item {
        margin: 12px 0;
        padding: 13px 12px;

        border-left-width: 3px;
        border-radius: 8px;
    }

    #faq-xe-ghep-ha-noi-vinh .faq_item h3 {
        font-size: 16px;
        line-height: 1.55;
    }

    #lien-he-dat-xe > p {
        padding: 10px;
    }

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


/* =========================================================
   MÀN HÌNH RẤT NHỎ
========================================================= */

@media (max-width: 360px) {

    .container {
        width: 100%;
        margin: 0 auto;
        padding: 5px;

        border-radius: 0;
    }

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

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

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

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

    .right_info {
        gap: 7px;
    }

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


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

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

    html {
        scroll-behavior: auto;
    }

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