/**
 * Order THP — chỉnh màu & bố cục nhẹ trên giao diện gốc (layout.css)
 * Không thay đổi cấu trúc HTML
 */
:root {
    --xl-navy: #0c1f3a;
    --xl-slate: #1e3a5f;
    --xl-cyan: #0891b2;
    --xl-teal: #0d9488;
    --xl-cta: #ea580c;
    --xl-card: #ffffff;
    --xl-text: #0f172a;
    --xl-muted: #64748b;
}

/* Header — đổi tông đỏ/cam sang navy/cyan */
.header-top {
    background: var(--xl-navy) !important;
}

.header-top ul.register li a {
    color: rgba(255, 255, 255, 0.92);
}

.header-top ul.register li a:hover {
    color: #fff;
}

.hb-navs ul li a {
    color: var(--xl-slate);
    font-weight: 600;
}

.hb-navs ul li a:hover {
    color: var(--xl-cyan);
}

.mmenu .nav ul li .fa {
    color: var(--xl-cyan) !important;
}

/* —— Trang chủ (giữ block title-bg, service-all, …) —— */
.xl-home .title-bg {
    position: relative;
    overflow: hidden;
}

.xl-home .title-bg.bg-tit2 {
    height: auto;
    min-height: 300px;
    padding-bottom: 40px;
    box-sizing: border-box;
    text-align: center;
}

.xl-home .title-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(8, 145, 178, 0.25) 0%, transparent 55%);
    pointer-events: none;
}

.xl-home .bg-tit1,
.xl-home .title-bg:not(.bg-tit2):not(.bg-tit3):not(.bg_212) {
    background: linear-gradient(125deg, rgba(12, 31, 58, 0.9) 0%, rgba(8, 145, 178, 0.55) 100%),
        url("../images/bg-title1.jpg") no-repeat center;
    background-size: cover;
}

.xl-home .bg-tit2 {
    background: linear-gradient(125deg, rgba(12, 31, 58, 0.88) 0%, rgba(13, 148, 136, 0.5) 100%),
        url("../images/bg-title2.jpg") no-repeat center;
    background-size: cover;
}

.xl-home .bg-tit3 {
    background: linear-gradient(125deg, rgba(30, 58, 95, 0.85) 0%, rgba(8, 145, 178, 0.45) 100%),
        url("../images/bg-title3.jpg") no-repeat center;
    background-size: cover;
}

.xl-home .bg_212 {
    background: linear-gradient(125deg, rgba(12, 31, 58, 0.9) 0%, rgba(8, 145, 178, 0.4) 100%),
        url("../images/bg-title1.jpg") no-repeat center;
    background-size: cover;
}

.xl-home .title-bg h2 {
    position: relative;
    z-index: 1;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.35);
    letter-spacing: 0.02em;
    line-height: 1.35;
}

.xl-home .xl-hero__lead {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 8px auto 20px;
    padding: 0 16px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
    line-height: 1.55;
    font-weight: 400;
}

.xl-home .title-bg > a {
    position: relative;
    z-index: 1;
    display: inline-block;
    text-decoration: none;
}

.xl-home .title-bg button {
    position: relative;
    z-index: 1;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: #fff;
    color: var(--xl-slate);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.95);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.xl-home .title-bg button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(8, 145, 178, 0.35);
    background: var(--xl-cyan);
    color: #fff;
    border-color: var(--xl-cyan);
}

.xl-home .title-df h2 {
    color: var(--xl-slate);
    font-weight: 700;
}

.xl-home .service-all ul li .service-detail {
    border-top: 4px solid var(--xl-cyan);
    border-radius: 14px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.xl-home .service-all ul li .service-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(12, 31, 58, 0.12);
}

.xl-home .service-all ul li .service-detail .sd-text label {
    color: var(--xl-slate);
    font-weight: 700;
}

.xl-home .service-all ul li .service-detail .sd-text p {
    color: var(--xl-muted);
}

.xl-home .cost-all ul li .cost-detail .cd-text label {
    color: var(--xl-slate);
}

.xl-home .procedure-detail .pd-text label {
    color: var(--xl-teal);
}

.xl-home .procedure-detail .pd-text p a {
    color: var(--xl-cyan);
    font-weight: 600;
}

.xl-home .procedure-detail .pd-text p a:hover {
    color: var(--xl-teal);
    text-decoration: underline;
}

.xl-home .ad-btn button {
    border-radius: 999px;
    border: 2px solid var(--xl-cta);
    background: linear-gradient(135deg, var(--xl-cta) 0%, #f97316 100%);
    padding: 12px 40px;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.xl-home .ad-btn button:hover {
    background: transparent;
    color: var(--xl-cta);
    border-color: var(--xl-cta);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(234, 88, 12, 0.25);
}

/* Tin mới nhất (section gốc) */
.xl-news-section .heading-title .title,
.section-blog-wrapper .heading-title .title {
    color: var(--xl-slate);
    font-weight: 800;
    border-bottom: 3px solid var(--xl-cyan);
    display: inline-block;
    padding-bottom: 8px;
}

.xl-news-section .item-content .title a,
.section-blog-wrapper .item-content .title a {
    color: var(--xl-slate);
}

.xl-news-section .item-content .title a:hover,
.section-blog-wrapper .item-content .title a:hover {
    color: var(--xl-cyan);
}

.xl-news-section .item-content .more,
.section-blog-wrapper .item-content .more {
    color: var(--xl-cyan);
    font-weight: 600;
}

.xl-news-section .item-image img,
.section-blog-wrapper .item-image img {
    border-radius: 10px;
}

/* —— Tin tức / bài viết —— */
.xl-articles .xl-page-head {
    margin-bottom: 1.25rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(12, 31, 58, 0.06) 0%, rgba(8, 145, 178, 0.08) 100%);
    border-radius: 12px;
    border: 1px solid rgba(8, 145, 178, 0.15);
}

.xl-articles .xl-page-head .breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
}

.xl-articles .xl-page-head .breadcrumb > li,
.xl-articles .xl-page-head .breadcrumb > li a {
    color: var(--xl-muted);
    font-size: 14px;
}

.xl-articles .xl-page-head .breadcrumb > .active {
    color: var(--xl-slate);
    font-weight: 600;
}

.xl-articles .contents .col-md-9 > .box {
    background: var(--xl-card);
    border-radius: 14px;
    padding: 1.5rem 1.75rem 1.75rem;
    box-shadow: 0 4px 24px rgba(12, 31, 58, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.xl-articles .contents .col-md-3 > .box,
.xl-articles .contents .col-md-3.row > .box {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.xl-articles .contents .col-md-9 > .box h3 {
    color: var(--xl-slate);
    font-size: 1.5rem;
    font-weight: 700;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--xl-cyan);
    display: inline-block;
    width: 100%;
}

.xl-articles .detail-content-sp {
    color: var(--xl-text);
    line-height: 1.75;
    font-size: 15px;
}

.xl-articles .detail-content-sp img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.xl-articles .catelist {
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 8px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.xl-articles .catelist:hover {
    background: rgba(8, 145, 178, 0.06);
    border-color: rgba(8, 145, 178, 0.35);
}

.xl-articles .catelist a {
    color: var(--xl-slate);
    text-decoration: none;
    font-weight: 500;
}

.xl-articles .catelist a:hover {
    color: var(--xl-cyan);
}

.xl-articles .xl-link-arrow {
    color: var(--xl-cyan) !important;
    margin-right: 6px;
}

.xl-articles .sidebar-right-sp {
    background: var(--xl-card);
    border-radius: 14px;
    padding: 1.25rem 1rem 1.5rem;
    box-shadow: 0 4px 24px rgba(12, 31, 58, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.xl-articles .title-sp {
    border-left-color: var(--xl-cyan);
    margin-bottom: 1.25rem;
    color: var(--xl-slate);
    font-weight: 700;
    font-size: 1.1rem;
}

.xl-articles .nav-category .nav-link {
    color: var(--xl-text);
    border-radius: 8px;
    padding: 0.45rem 0.6rem !important;
    transition: background 0.2s ease, color 0.2s ease;
}

.xl-articles .nav-category .nav-link:hover {
    background: rgba(8, 145, 178, 0.1);
    color: var(--xl-cyan);
}

.xl-articles .pagination > li > a,
.xl-articles .pagination > li > span {
    border-radius: 8px;
    margin: 0 2px;
    color: var(--xl-slate);
    border-color: rgba(148, 163, 184, 0.35);
}

.xl-articles .pagination > .active > span {
    background: var(--xl-cyan);
    border-color: var(--xl-cyan);
    color: #fff;
}

footer ul li:hover a {
    color: var(--xl-cyan);
}
