/* =========================================================
   CSS RIÊNG: XE GHÉP HÀ NỘI – NGHI SƠN | THANH LOAN GO
   Dán toàn bộ nội dung này vào file CSS của trang.
   ========================================================= */

:root {
    --tlg-bg: #07142b;
    --tlg-blue-deep: #0b2454;
    --tlg-blue: #1e50a2;
    --tlg-blue-light: #2d68c7;
    --tlg-red: #ff5858;
    --tlg-red-dark: #d93636;
    --tlg-white: #ffffff;
    --tlg-text-soft: #dbe7ff;
    --tlg-border: rgba(255, 255, 255, 0.16);
    --tlg-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--tlg-bg);
}

body {
    margin: 0;
    color: var(--tlg-white);
    background:
        radial-gradient(circle at 10% 0%, rgba(30, 80, 162, 0.25), transparent 34%),
        linear-gradient(180deg, #07142b 0%, #091a38 55%, #061126 100%);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    overflow-x: hidden;
}

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

.container {
    position: relative;
    z-index: 1;
    width: min(95%, 1000px);
    margin: 26px auto;
    padding: 12px;
    color: var(--tlg-white);
    background: linear-gradient(180deg, rgba(18, 57, 122, 0.96), rgba(6, 23, 53, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    box-shadow: var(--tlg-shadow), 0 0 24px rgba(30, 80, 162, 0.12);
}

/* Ảnh banner đầu trang */
.image_background {
    width: 100%;
    overflow: hidden;
    background: var(--tlg-blue-deep);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
}

.image_background img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.image_background:hover img {
    transform: scale(1.015);
}

/* Khu vực ảnh đại diện, tiêu đề và mạng xã hội */
.header_info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0 24px;
    padding: 18px;
    background: linear-gradient(135deg, rgba(11, 36, 84, 0.98), rgba(18, 57, 122, 0.86));
    border: 1px solid rgba(255, 88, 88, 0.38);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.left_info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1 1 320px;
    min-width: 0;
}

.header_profile {
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
    overflow: hidden;
    background: var(--tlg-blue-deep);
    border: 3px solid var(--tlg-red);
    border-radius: 50%;
    box-shadow: 0 0 16px rgba(255, 88, 88, 0.3);
}

.header_profile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.left_info h1,
.header_info h1 {
    margin: 0;
    color: var(--tlg-white);
    font-size: clamp(23px, 3.5vw, 35px);
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: anywhere;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.25);
}

.right_info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin-left: auto;
}

.right_info a {
    display: inline-flex;
    text-decoration: none;
}

.logo_social {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 5px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 88, 88, 0.42);
    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;
}

.right_info a:hover .logo_social,
.right_info a:focus-visible .logo_social {
    transform: translateY(-3px);
    background: rgba(255, 88, 88, 0.15);
    box-shadow: 0 0 14px rgba(255, 88, 88, 0.3);
}

/* Khung bài viết */
.bio_box {
    width: 100%;
    margin-top: 20px;
    color: var(--tlg-white);
}

.tlg-future {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: var(--tlg-white);
    background: linear-gradient(180deg, rgba(18, 57, 122, 0.96), rgba(7, 20, 43, 0.99));
    border: 2px solid var(--tlg-red);
    border-radius: 14px;
    box-shadow: 0 0 25px rgba(255, 88, 88, 0.1), inset 0 0 25px rgba(0, 0, 0, 0.12);
}

.tlg-future::before {
    content: "THANH LOAN GO  //  XE GHÉP HÀ NỘI – NGHI SƠN";
    display: block;
    padding: 10px 18px;
    color: var(--tlg-white);
    background: linear-gradient(90deg, var(--tlg-red), var(--tlg-red-dark), #0b2050);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.5;
    text-transform: uppercase;
}

.tlg-shell {
    position: relative;
    padding: 26px;
    color: var(--tlg-white);
    overflow-wrap: anywhere;
}

.tlg-shell,
.tlg-shell * {
    box-sizing: border-box;
}

.tlg-shell h1 {
    margin: 0 0 22px;
    padding: 0 0 14px;
    color: var(--tlg-white);
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    line-height: 1.35;
    border-bottom: 2px solid rgba(255, 88, 88, 0.65);
}

.tlg-shell h2 {
    margin: 32px 0 16px;
    padding: 13px 16px;
    color: var(--tlg-white);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015));
    border-left: 5px solid var(--tlg-red);
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 4px 9px 9px 4px;
    font-size: clamp(21px, 3vw, 26px);
    line-height: 1.4;
}

.tlg-shell h3 {
    margin: 25px 0 12px;
    padding: 10px 14px;
    color: var(--tlg-white);
    background: linear-gradient(135deg, #123875, #0b2454);
    border-left: 4px solid var(--tlg-red);
    border-radius: 5px;
    font-size: clamp(18px, 2.5vw, 21px);
    line-height: 1.45;
}

.tlg-shell p {
    margin: 12px 0 16px;
    color: var(--tlg-text-soft);
}

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

.tlg-shell ul,
.tlg-shell ol {
    margin: 16px 0 20px;
    padding: 17px 22px 17px 44px;
    color: var(--tlg-text-soft);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid var(--tlg-border);
    border-radius: 10px;
}

.tlg-shell li {
    margin: 7px 0;
    padding-left: 2px;
    color: var(--tlg-text-soft);
}

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

.tlg-shell a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--tlg-red);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.tlg-shell a:hover,
.tlg-shell a:focus-visible {
    color: #ffe1e1;
}

.tlg-shell img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 18px auto;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
}

.tlg-shell blockquote {
    margin: 20px 0;
    padding: 16px 18px;
    color: var(--tlg-text-soft);
    background: linear-gradient(135deg, #123875, #0b2454);
    border: 1px solid var(--tlg-border);
    border-left: 5px solid var(--tlg-red);
    border-radius: 8px;
}

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

/* Bảng giá và bảng thông tin */
.tlg-shell table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 22px 0;
    overflow-x: auto;
    border: 1px solid var(--tlg-red);
    border-radius: 10px;
    border-collapse: collapse;
    background: var(--tlg-blue-deep);
    -webkit-overflow-scrolling: touch;
}

.tlg-shell thead,
.tlg-shell tbody {
    width: 100%;
}

.tlg-shell th,
.tlg-shell td {
    min-width: 110px;
    padding: 12px 14px;
    color: var(--tlg-text-soft);
    text-align: left;
    vertical-align: top;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.tlg-shell th {
    color: var(--tlg-white);
    background: #123875;
    font-weight: 800;
}

.tlg-shell tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.045);
}

.tlg-shell tbody tr:hover td {
    background: rgba(45, 104, 199, 0.2);
}

/* Nếu nội dung sử dụng các khối ghi chú, FAQ hoặc hotline này thì sẽ tự được tạo kiểu */
.tlg-shell .tlg-note,
.tlg-shell .tlg-info-box,
.tlg-shell .tlg-faq {
    margin: 17px 0;
    padding: 16px 18px;
    color: var(--tlg-text-soft);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--tlg-border);
    border-left: 5px solid var(--tlg-red);
    border-radius: 9px;
}

.tlg-shell .tlg-hotline {
    margin: 24px 0;
    padding: 22px;
    text-align: center;
    background: linear-gradient(135deg, #123875, #1e50a2);
    border: 2px solid var(--tlg-red);
    border-radius: 13px;
}

.tlg-shell .tlg-hotline-number {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 22px;
    color: var(--tlg-white);
    background: var(--tlg-blue-deep);
    border: 2px solid var(--tlg-red);
    border-radius: 8px;
    font-size: 23px;
    font-weight: 800;
    text-decoration: none;
}

.tlg-shell .tlg-hotline-number:hover {
    background: var(--tlg-blue);
}

/* Màn hình máy tính bảng */
@media (max-width: 768px) {
    .container {
        width: 96%;
        margin: 16px auto;
        padding: 8px;
    }

    .header_info {
        justify-content: center;
        padding: 15px;
    }

    .left_info {
        flex: 1 1 100%;
        justify-content: center;
    }

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

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

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

    .tlg-shell {
        padding: 20px;
    }

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

/* Điện thoại */
@media (max-width: 480px) {
    body {
        font-size: 14px;
        line-height: 1.7;
    }

    .container {
        width: 98%;
        margin: 9px auto;
        padding: 5px;
        border-radius: 11px;
    }

    .header_info {
        gap: 13px;
        margin: 13px 0 18px;
        padding: 13px 10px;
    }

    .left_info {
        flex-direction: column;
        text-align: center;
    }

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

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

    .right_info {
        gap: 8px;
    }

    .logo_social {
        width: 36px;
        height: 36px;
        padding: 4px;
        border-radius: 8px;
    }

    .tlg-future::before {
        padding: 9px 10px;
        font-size: 9px;
        letter-spacing: 0.06em;
    }

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

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

    .tlg-shell h2 {
        padding: 10px 11px;
        font-size: 19px;
    }

    .tlg-shell h3 {
        padding: 9px 10px;
        font-size: 17px;
    }

    .tlg-shell ul,
    .tlg-shell ol {
        padding: 13px 12px 13px 30px;
    }

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

    .tlg-shell .tlg-hotline {
        padding: 16px 10px;
    }

    .tlg-shell .tlg-hotline-number {
        display: block;
        width: 100%;
        font-size: 19px;
    }
}

/* Tôn trọng cài đặt giảm chuyển động của người dùng */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

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