:root {
    --xtr-green: #043927;
    --xtr-green-dark: #021f15;
    --xtr-gold: #d4a373;
    --xtr-cream: #fcf7f2;
    --xtr-red: #b91c1c;
    --xtr-text: #1c1e1d;
    --xtr-muted: #64748b;
    --xtr-border: #e8ecef;
    --xtr-bg: #fcfdfc;
    --xtr-white: #ffffff;
    --xtr-shadow: 0 14px 40px rgba(2, 31, 21, 0.08);
    --xtr-radius: 24px;
    --xtr-container: 1180px;
	--xtr-font-body: "Lexend", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --xtr-font-heading: "Merriweather", var(--xtr-font-heading);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--xtr-bg);
    color: var(--xtr-text);
    font-family: var(--xtr-font-body);
    line-height: 1.6;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.xtr-container {
    width: min(var(--xtr-container), calc(100% - 32px));
    margin-inline: auto;
}

/* Topbar */
.site-topbar {
    background: var(--xtr-green-dark);
    color: #fff;
    font-size: 13px;
    border-bottom: 1px solid rgba(212, 163, 115, 0.25);
}

.site-topbar__inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-topbar__news {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 10px;
}

.site-topbar__news span {
    flex: 0 0 auto;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(212, 163, 115, 0.2);
    color: var(--xtr-gold);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.site-topbar__news p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-topbar__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.78);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(2, 31, 21, 0.06);
    box-shadow: 0 4px 18px rgba(2, 31, 21, 0.04);
}

.site-header__inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.site-brand__logo {
    display: inline-flex;
    align-items: center;
}

.site-brand__logo img {
    display: block;
    width: auto;
    max-width: 260px;
    max-height: 58px;
}

.site-brand__icon {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--xtr-gold), #a16207);
    color: #fff;
    font-size: 25px;
    box-shadow: 0 8px 18px rgba(161, 98, 7, 0.25);
    animation: xtrRotate 80s linear infinite;
}

.site-brand__text {
    display: flex;
    flex-direction: column;
}

.site-brand__text strong {
    color: var(--xtr-green);
    font-family: var(--xtr-font-heading);
    font-size: 23px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.site-brand__text em {
    color: var(--xtr-gold);
    font-style: normal;
}

.site-brand__text small {
    margin-top: 5px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.site-nav__menu,
.mobile-nav__menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav__menu a {
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s ease;
}

.site-nav__menu a:hover {
    color: var(--xtr-green);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-partner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--xtr-red), #7f1d1d);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(185, 28, 28, 0.2);
    transition: 0.2s ease;
}

.btn-partner:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(185, 28, 28, 0.26);
}

.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: var(--xtr-green);
    transition: 0.2s ease;
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--xtr-border);
    background: #fff;
}

.mobile-nav.is-open {
    display: block;
}

.mobile-nav__menu {
    padding: 18px;
}

.mobile-nav__menu li {
    border-bottom: 1px solid #f1f5f9;
}

.mobile-nav__menu a {
    display: block;
    padding: 13px 0;
    font-weight: 750;
    color: #334155;
}

.mobile-nav__cta {
    display: block;
    margin: 0 18px 18px;
    padding: 14px;
    border-radius: 14px;
    text-align: center;
    background: linear-gradient(135deg, var(--xtr-red), #7f1d1d);
    color: #fff;
    font-weight: 800;
}

/* Hero */
.hero-section {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 96px;
    color: #fff;
    background: var(--xtr-green-dark);
}

.hero-section__bg,
.hero-section__overlay,
.hero-section__drum {
    position: absolute;
    inset: 0;
}

.hero-section__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}

.hero-section__overlay {
    z-index: 1;
    background:
        linear-gradient(to bottom, rgba(2, 31, 21, 0.68), rgba(2, 31, 21, 0.34), var(--xtr-bg)),
        radial-gradient(circle at center, rgba(212, 163, 115, 0.18), transparent 45%);
}

/*
.hero-section__drum {
    z-index: 2;
    display: grid;
    place-items: center;
    pointer-events: none;
    opacity: 0.2;
}

.hero-section__drum img {
    width: min(720px, 90vw);
    height: auto;
    filter: invert(1) sepia(1) saturate(4) hue-rotate(5deg);
    mix-blend-mode: screen;
    animation: xtrRotate 90s linear infinite;
} */
/* ==================================================
   HERO DRUM BACKGROUND
   Họa tiết trống đồng chạy chìm dưới phần chữ hero.
   Ưu tiên dùng ảnh PNG/WebP nền trong suốt để đẹp nhất.
================================================== */
.hero-section__drum {
    z-index: 2;
    display: grid;
    place-items: center;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.26;
    mix-blend-mode: screen;
}

.hero-section__drum::after {
    content: "";
    position: absolute;
    width: min(760px, 88vw);
    aspect-ratio: 1;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(212, 163, 115, 0.14), transparent 68%);
    filter: blur(4px);
}

.hero-section__drum img {
    position: relative;
    z-index: 1;
    width: min(860px, 94vw);
    height: auto;
    object-fit: contain;
    filter:
        invert(1)
        sepia(1)
        saturate(5)
        hue-rotate(5deg)
        brightness(1.1)
        contrast(1.04);
    animation: xtrRotate 90s linear infinite;
}

.hero-section__content {
    position: relative;
    z-index: 3;
    max-width: 980px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 18px;
    border: 1px solid rgba(212, 163, 115, 0.45);
    border-radius: 999px;
    background: rgba(212, 163, 115, 0.18);
    color: #fff7ed;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
}

.hero-badge span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--xtr-gold);
    box-shadow: 0 0 0 6px rgba(212, 163, 115, 0.22);
}

.hero-section h1 {
    max-width: 980px;
    margin: 26px auto 18px;
    font-family: var(--xtr-font-heading);
    font-size: clamp(34px, 5.4vw, 62px);
    line-height: 1.12;
    letter-spacing: -1.2px;
    text-shadow: 0 5px 18px rgba(0, 0, 0, .55);
}

.hero-section h1 mark {
    color: var(--xtr-gold);
    background: transparent;
}

.hero-section p {
    max-width: 760px;
    margin: 0 auto 32px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 550;
    text-shadow: 0 3px 14px rgba(0, 0, 0, .55);
}

/* ==================================================
   HERO SEARCH BOX
   Khung tìm kiếm lớn ở hero.
   Có lớp viền ngoài trong suốt giống bản demo HTML.
================================================== */
.hero-search {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 26px 70px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: 0.25s ease;
}

.hero-search:focus-within {
    border-color: rgba(212, 163, 115, 0.72);
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.32),
        0 0 0 3px rgba(212, 163, 115, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.hero-search::before {
    content: "";
    position: absolute;
    inset: 8px;
    z-index: 0;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(2, 31, 21, 0.1);
}

.hero-search__field,
.hero-search__select,
.hero-search button {
    position: relative;
    z-index: 1;
}

.hero-search__field,
.hero-search__select {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    color: #334155;
}

.hero-search__field {
    flex: 1 1 auto;
    padding-left: 18px;
    border-right: 1px solid #e2e8f0;
}

.hero-search__select {
    flex: 0 0 240px;
    padding-left: 12px;
}

.hero-search__field span,
.hero-search__select span {
    font-size: 18px;
    opacity: 0.8;
}

.hero-search input,
.hero-search select {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #1e293b;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
}

.hero-search input::placeholder {
    color: #94a3b8;
}

.hero-search button {
    min-height: 52px;
    padding: 0 32px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--xtr-green), #065f46);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(4, 57, 39, 0.24);
    transition: 0.22s ease;
}

.hero-search button:hover {
    background: linear-gradient(135deg, var(--xtr-red), #7f1d1d);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(185, 28, 28, 0.25);
}

/* ==================================================
   HERO QUICK TAGS
   Các tag tìm kiếm nhanh dưới thanh tìm kiếm.
================================================== */
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    font-size: 13px;
}

.hero-tags span,
.hero-tags a {
    padding: 7px 14px;
    border-radius: 999px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.hero-tags__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.34);
    color: var(--xtr-gold) !important;
    font-weight: 900;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

.hero-tags a {
    background: rgba(2, 31, 21, 0.78);
    font-weight: 650;
    transition: 0.22s ease;
}

.hero-tags a:hover {
    background: var(--xtr-gold);
    color: var(--xtr-green-dark);
    border-color: transparent;
    transform: translateY(-1px);
}

/* Sections */
.home-categories {
    padding: 78px 0 76px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid #e2e8f0;
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading--left {
    margin-left: 0;
    text-align: left;
}

.section-heading--left h2 {
    margin-top: 14px;
}

.home-categories .section-heading h2 {
    color: var(--xtr-green);
}

.section-heading span,
.home-section-head span.section-heading__label-icon,
.home-section-head span.section-heading__label-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(212, 163, 115, 0.18), rgba(4, 57, 39, 0.08));
    color: var(--xtr-green);
    border: 1px solid rgba(212, 163, 115, 0.28);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 14px 0 0;
    color: var(--xtr-green);
    font-family: var(--xtr-font-heading);
    font-size: clamp(27px, 4vw, 40px);
    line-height: 1.2;
}

.section-heading p {
    margin: 10px 0 0;
    color: var(--xtr-muted);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.category-card {
    display: grid;
    place-items: center;
    min-height: 142px;
    padding: 22px 12px;
    border-radius: 20px;
    background: #fff;
    border-bottom: 4px solid transparent;
    box-shadow: 0 6px 24px rgba(2, 31, 21, 0.04);
    transition: 0.25s ease;
}

.category-card span {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #fff7ed;
    font-size: 28px;
    margin-bottom: 10px;
    transition: 0.25s ease;
}

.category-card strong {
    color: #1e293b;
    font-size: 14px;
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: var(--xtr-gold);
    box-shadow: 0 18px 40px rgba(212, 163, 115, 0.18);
}

.category-card:hover span {
    background: var(--xtr-green);
}

.home-placeholder {
    padding: 80px 0;
    background: #fff;
}

/* ==================================================
   PARTNER CTA SECTION
   Style block Đăng ký đối tác cuối trang chủ.
   Mục tiêu:
   - Giảm khoảng trống với block Dịch vụ phía trên.
   - Làm CTA nổi bật hơn.
   - Có 2 nút hành động cùng hàng.
================================================== */
.partner-cta {
    padding: 42px 0 86px;
    background:
        linear-gradient(180deg, #f8fafc 0%, #f8fafc 48%, #ffffff 100%);
}

/* Hộp CTA chính */
.partner-cta__box {
    position: relative;
    max-width: 980px;
    min-height: 360px;
    margin: 0 auto;
    padding: 58px 34px;
    overflow: hidden;
    border-radius: 36px;
    background:
        radial-gradient(circle at 15% 20%, rgba(212, 163, 115, 0.18), transparent 28%),
        radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.12), transparent 30%),
        linear-gradient(135deg, #021f15 0%, #043927 48%, #022b1d 100%);
    color: #fff;
    text-align: center;
    box-shadow:
        0 30px 80px rgba(2, 31, 21, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 163, 115, 0.28);
}

/* Viền sáng nhẹ phía trong hộp */
.partner-cta__box::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 28px;
    border: 1px solid rgba(212, 163, 115, 0.14);
    pointer-events: none;
}

/* Đường cong trang trí mờ */
.partner-cta__box::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -150px;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    border: 1px dashed rgba(212, 163, 115, 0.28);
    opacity: 0.55;
    pointer-events: none;
}

/* Ánh sáng trang trí */
.partner-cta__glow {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    filter: blur(36px);
    opacity: 0.26;
    pointer-events: none;
}

.partner-cta__glow--left {
    left: -70px;
    top: -70px;
    background: var(--xtr-gold);
}

.partner-cta__glow--right {
    right: -80px;
    top: 40px;
    background: #22c55e;
}

/* Ký hiệu trang trí nhỏ */
.partner-cta__pattern {
    position: absolute;
    left: 42px;
    bottom: 34px;
    color: rgba(212, 163, 115, 0.38);
    font-size: 46px;
    line-height: 1;
    pointer-events: none;
}

/* Nội dung CTA */
.partner-cta__content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
}

/* Nhãn nhỏ phía trên tiêu đề */
.partner-cta__label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 15px;
    border-radius: 999px;
    background: rgba(212, 163, 115, 0.14);
    color: #fed7aa;
    border: 1px solid rgba(212, 163, 115, 0.28);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

/* Tiêu đề CTA */
.partner-cta__box h2 {
    max-width: 760px;
    margin: 0 auto 16px;
    color: var(--xtr-gold);
    font-family: var(--xtr-font-heading);
    font-size: clamp(31px, 4vw, 48px);
    line-height: 1.16;
    letter-spacing: -0.5px;
}

/* Mô tả CTA */
.partner-cta__box p {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.75;
}

/* Nhóm 2 nút CTA */
.partner-cta__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

/* Nút CTA chung */
.partner-cta__btn {
    position: relative;
    isolation: isolate;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    overflow: hidden;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 950;
    transition: 0.25s ease;
}

/* Hiệu ứng ánh sáng lướt qua nút */
.partner-cta__btn::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: -90%;
    width: 70%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.42),
        transparent
    );
    transform: skewX(-18deg);
    transition: 0.55s ease;
}

.partner-cta__btn:hover::before {
    left: 120%;
}

/* Nút chính */
.partner-cta__btn--primary {
    background: linear-gradient(135deg, var(--xtr-red), #7f1d1d);
    color: #fff;
    box-shadow: 0 14px 30px rgba(185, 28, 28, 0.32);
}

.partner-cta__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(185, 28, 28, 0.4);
}

/* Nút phụ */
.partner-cta__btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff7ed;
    border: 1px solid rgba(212, 163, 115, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.partner-cta__btn--secondary:hover {
    background: var(--xtr-gold);
    color: var(--xtr-green-dark);
    border-color: var(--xtr-gold);
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(212, 163, 115, 0.24);
}

/* Responsive CTA */
@media (max-width: 720px) {
    .partner-cta {
        padding: 34px 0 66px;
    }

    .partner-cta__box {
        min-height: auto;
        padding: 42px 20px;
        border-radius: 26px;
    }

    .partner-cta__box::before {
        inset: 9px;
        border-radius: 20px;
    }

    .partner-cta__label {
        font-size: 11px;
        line-height: 1.4;
    }

    .partner-cta__box p {
        font-size: 14px;
    }

    .partner-cta__actions {
        flex-direction: column;
        gap: 12px;
    }

    .partner-cta__btn {
        width: 100%;
        max-width: 320px;
    }
}

/* Footer */
/* ==================================================
   SITE FOOTER UPGRADE
   Nâng cấp chân trang:
   - Tăng chiều cao tổng thể để ảnh nền di sản hiển thị đẹp hơn.
   - Tăng cỡ chữ cho dễ đọc, đồng bộ với các section phía trên.
   - Làm footer thoáng, sang và có chiều sâu hơn.
================================================== */
.site-footer {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    padding: 105px 0 38px;
    background: var(--xtr-green-dark);
    color: #fff;
    border-top: 4px solid var(--xtr-gold);
}

/* Ảnh nền footer */
.site-footer__bg,
.site-footer__overlay {
    position: absolute;
    inset: 0;
}

.site-footer__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.04);
}

/* Lớp phủ giúp chữ dễ đọc nhưng vẫn thấy rõ hình nền */
.site-footer__overlay {
    background:
        linear-gradient(
            90deg,
            rgba(2, 31, 21, 0.90) 0%,
            rgba(2, 31, 21, 0.84) 42%,
            rgba(2, 31, 21, 0.68) 100%
        ),
        radial-gradient(circle at 80% 20%, rgba(212, 163, 115, 0.16), transparent 34%);
}

/* Nội dung footer nằm trên ảnh nền */
.site-footer__inner {
    position: relative;
    z-index: 2;
}

/* Grid footer */
.site-footer__grid {
    display: grid;
    grid-template-columns: 2.1fr 1fr 1fr 1.35fr;
    gap: 46px;
    padding-bottom: 58px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

/* Cột thương hiệu */
.site-footer__brand {
    max-width: 430px;
}

/* Tiêu đề thương hiệu */
.site-footer h2 {
    margin: 0 0 20px;
    color: var(--xtr-gold);
    font-family: var(--xtr-font-heading);
    font-size: 30px;
    line-height: 1.18;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Tiêu đề từng cột */
.site-footer h3 {
    margin: 0 0 18px;
    color: var(--xtr-gold);
    font-family: var(--xtr-font-heading);
    font-size: 20px;
    line-height: 1.25;
}

/* Text footer */
.site-footer p,
.site-footer a,
.site-footer li {
    color: rgba(255, 255, 255, 0.82);
    font-size: 15.5px;
    line-height: 1.75;
}

.site-footer__brand p {
    margin: 0 0 12px;
}

/* Danh sách link */
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li + li {
    margin-top: 11px;
}

.site-footer a {
    transition: 0.22s ease;
}

.site-footer a:hover {
    color: #fff;
    padding-left: 3px;
}

/* Form đăng ký nhận tin */
.footer-subscribe {
    display: flex;
    min-height: 48px;
    margin-top: 15px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.footer-subscribe input {
    min-width: 0;
    flex: 1;
    border: 0;
    padding: 0 17px;
    outline: 0;
    color: #1e293b;
    font-size: 14px;
}

.footer-subscribe button {
    width: 54px;
    border: 0;
    background: var(--xtr-red);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: 0.22s ease;
}

.footer-subscribe button:hover {
    background: var(--xtr-gold);
    color: var(--xtr-green-dark);
}

/* Dòng copyright cuối footer */
.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    padding-top: 26px;
}

.site-footer__bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13.5px;
}

/* Responsive footer */
@media (max-width: 1100px) {
    .site-footer {
        min-height: auto;
        padding: 84px 0 34px;
    }

    .site-footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 34px;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 70px 0 30px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 38px;
    }

    .site-footer h2 {
        font-size: 26px;
    }

    .site-footer h3 {
        font-size: 19px;
    }

    .site-footer p,
    .site-footer a,
    .site-footer li {
        font-size: 15px;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer__bottom p {
        font-size: 13px;
    }
}

/* Animations */
@keyframes xtrRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 1100px) {
    .site-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-topbar__inner {
        min-height: auto;
        padding: 8px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .site-topbar__date {
        display: none;
    }

    .site-header__inner {
        min-height: 68px;
    }
	
	.site-brand__logo img {
    max-width: 190px;
    max-height: 48px;
	}

    .site-brand__icon {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .site-brand__text strong {
        font-size: 18px;
    }

    .site-brand__text small {
        font-size: 8px;
    }

    .btn-partner {
        display: none;
    }

    .hero-section {
        min-height: auto;
        padding: 88px 0 72px;
    }

    .hero-section h1 {
        letter-spacing: -0.8px;
    }
/*
    .hero-search {
        border-radius: 22px;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
    }

    .hero-search__field,
    .hero-search__select {
        flex: auto;
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid #e2e8f0;
        padding: 0 8px 8px;
    }

    .hero-search button {
        width: 100%;
        border-radius: 14px;
    } */
	.hero-search {
    border-radius: 24px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
}

.hero-search::before {
    inset: 8px;
    border-radius: 18px;
}

.hero-search__field,
.hero-search__select {
    flex: auto;
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 10px 8px;
}

.hero-search button {
    width: 100%;
    border-radius: 14px;
}

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-heading--left {
        text-align: center;
        margin-left: auto;
    }

    .site-footer__grid,
    .site-footer__bottom {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .xtr-container {
        width: min(100% - 24px, var(--xtr-container));
    }

    .category-grid {
        gap: 12px;
    }

    .category-card {
        min-height: 126px;
    }
}

/* Archive fallback */
.archive-main {
    padding: 70px 0;
    background: #f8fafc;
}

.archive-header {
    max-width: 760px;
    margin-bottom: 34px;
}

.archive-header h1 {
    margin: 0;
    color: var(--xtr-green);
    font-family: var(--xtr-font-heading);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.18;
}

.archive-description {
    margin-top: 12px;
    color: var(--xtr-muted);
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.archive-card {
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 10px 30px rgba(2, 31, 21, 0.05);
}

.archive-card__thumb {
    display: block;
    aspect-ratio: 16 / 10;
    background: var(--xtr-green);
    overflow: hidden;
}

.archive-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease;
}

.archive-card:hover .archive-card__thumb img {
    transform: scale(1.05);
}

.archive-card__thumb span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--xtr-gold);
    font-weight: 800;
}

.archive-card__content {
    padding: 22px;
}

.archive-card__meta {
    margin-bottom: 8px;
    color: var(--xtr-muted);
    font-size: 13px;
}

.archive-card h2 {
    margin: 0;
    font-family: var(--xtr-font-heading);
    font-size: 22px;
    line-height: 1.25;
    color: var(--xtr-green-dark);
}

.archive-card h2 a:hover {
    color: var(--xtr-red);
}

.archive-card p {
    margin: 12px 0 16px;
    color: var(--xtr-muted);
    font-size: 14px;
}

.archive-card__readmore {
    color: var(--xtr-green);
    font-weight: 800;
    font-size: 14px;
}

.xtr-pagination {
    margin-top: 38px;
}

.no-results {
    padding: 60px 24px;
    border-radius: 24px;
    background: #fff;
    text-align: center;
}

@media (max-width: 900px) {
    .archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .archive-grid {
        grid-template-columns: 1fr;
    }
}

/* Home trending section */
.home-trending {
    padding: 86px 0;
    background: #f8fafc;
}

.trending-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
    gap: 28px;
    align-items: stretch;
}

.trending-main-card {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border-radius: 28px;
    background: var(--xtr-green-dark);
    box-shadow: 0 18px 46px rgba(2, 31, 21, 0.16);
}

.trending-main-card__image {
    position: absolute;
    inset: 0;
    display: block;
    background: var(--xtr-green-dark);
}

.trending-main-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(2, 31, 21, 0.96),
        rgba(2, 31, 21, 0.45),
        rgba(2, 31, 21, 0.08)
    );
}

.trending-main-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.trending-main-card:hover .trending-main-card__image img {
    transform: scale(1.06);
}

.trending-main-card__image span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--xtr-gold);
    font-weight: 800;
}

.trending-main-card__rank {
    position: absolute;
    z-index: 2;
    top: 24px;
    left: 24px;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--xtr-red), #7f1d1d);
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(127, 29, 29, 0.28);
}

.trending-main-card__rank::before {
    content: "👑";
    position: absolute;
    top: -19px;
    right: -12px;
    font-size: 20px;
}

.trending-main-card__content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}

.trending-main-card__cat {
    width: fit-content;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 8px;
    background: #34d399;
    color: #064e3b;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.trending-main-card h3 {
    max-width: 720px;
    margin: 0;
    color: #fff;
    font-family: var(--xtr-font-heading);
    font-size: clamp(28px, 4vw, 43px);
    line-height: 1.12;
}

.trending-main-card h3 a:hover {
    color: var(--xtr-gold);
}

.trending-main-card p {
    max-width: 760px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
}

.trending-main-card__meta {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--xtr-gold);
    font-size: 14px;
    font-weight: 700;
}

.trending-main-card__meta a {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.trending-main-card__meta a:hover {
    color: var(--xtr-gold);
}

.trending-side-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trending-side-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 16px;
    min-height: 122px;
    padding: 14px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 8px 24px rgba(2, 31, 21, 0.04);
    transition: 0.22s ease;
}

.trending-side-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(2, 31, 21, 0.08);
}

.trending-side-card__thumb {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: var(--xtr-green);
}

.trending-side-card__thumb img {
    width: 100%;
    height: 100%;
    min-height: 104px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.trending-side-card:hover .trending-side-card__thumb img {
    transform: scale(1.08);
}

.trending-side-card__thumb span {
    width: 100%;
    height: 100%;
    min-height: 104px;
    display: grid;
    place-items: center;
    color: var(--xtr-gold);
    font-weight: 900;
}

.trending-side-card__thumb strong {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--xtr-gold);
    color: #fff;
    font-size: 13px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.trending-side-card__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trending-side-card__cat {
    margin-bottom: 7px;
    color: var(--xtr-green);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.trending-side-card h3 {
    margin: 0;
    color: var(--xtr-green-dark);
    font-family: var(--xtr-font-heading);
    font-size: 18px;
    line-height: 1.25;
}

.trending-side-card h3 a:hover {
    color: var(--xtr-red);
}

.trending-side-card__content span {
    margin-top: 8px;
    color: var(--xtr-white);
    font-size: 12px;
}

.home-empty {
    padding: 32px;
    border-radius: 20px;
    background: #fff;
    border: 1px dashed var(--xtr-border);
    text-align: center;
    color: var(--xtr-muted);
}

@media (max-width: 1024px) {
    .trending-layout {
        grid-template-columns: 1fr;
    }

    .trending-main-card {
        min-height: 460px;
    }
}

@media (max-width: 640px) {
    .home-trending {
        padding: 64px 0;
    }

    .trending-main-card {
        min-height: 420px;
        border-radius: 22px;
    }

    .trending-main-card__content {
        padding: 24px;
    }

    .trending-side-card {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .trending-side-card h3 {
        font-size: 16px;
    }
}

/* Small decorative icons */
.section-heading__label-icon {
    gap: 6px;
}

.post-date-icon {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

/* Home food section */
.home-food {
    padding: 86px 0;
    background: #ffffff;
}

.home-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 38px;
}

.home-section-head h2 {
    margin: 14px 0 0;
    color: var(--xtr-green);
    font-family: var(--xtr-font-heading);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.18;
}

.home-section-head p {
    max-width: 620px;
    margin: 10px 0 0;
    color: var(--xtr-muted);
}

/* ==================================================
   HOME SECTION VIEW ALL LINK
   Nút "Xem tất cả" ở đầu các block trang chủ.
================================================== */
.home-section-head__link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(4, 57, 39, 0.08);
    color: var(--xtr-green);
    border: 1px solid rgba(4, 57, 39, 0.12);
    font-size: 14px;
    font-weight: 900;
    transition: 0.22s ease;
}

.home-section-head__link:hover {
    background: var(--xtr-green);
    color: #fff;
    border-color: var(--xtr-green);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(4, 57, 39, 0.16);
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.food-card {
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 8px 28px rgba(2, 31, 21, 0.05);
    transition: 0.25s ease;
}

.food-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(2, 31, 21, 0.1);
}

.food-card__thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: var(--xtr-green);
}

.food-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.food-card:hover .food-card__thumb img {
    transform: scale(1.07);
}

.food-card__thumb > span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--xtr-gold);
    font-weight: 850;
}

.food-card__thumb strong {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--xtr-red);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    box-shadow: 0 8px 18px rgba(127, 29, 29, 0.24);
}

.food-card__body {
    padding: 20px;
}

.food-card__cat {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(4, 57, 39, 0.08);
    color: var(--xtr-green);
    font-size: 11px;
    font-weight: 850;
}

.food-card h3 {
    margin: 0;
    color: var(--xtr-green-dark);
    font-family: var(--xtr-font-heading);
    font-size: 18px;
    line-height: 1.28;
}

.food-card h3 a:hover {
    color: var(--xtr-red);
}

.food-card p {
    margin: 12px 0 16px;
    color: var(--xtr-muted);
    font-size: 14px;
    line-height: 1.6;
}

.food-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    color: #94a3b8;
    font-size: 12px;
}

@media (max-width: 1100px) {
    .food-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .home-food {
        padding: 64px 0;
    }

    .home-section-head {
        display: block;
        text-align: center;
    }

    .home-section-head p {
        margin-left: auto;
        margin-right: auto;
    }

    .home-section-head__link {
        display: inline-flex;
        margin-top: 18px;
    }

    .food-grid {
        grid-template-columns: 1fr;
    }
}

/* Home category slider */
.home-categories__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.category-slider-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.category-slider-btn {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--xtr-border);
    background: #fff;
    color: var(--xtr-green);
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(2, 31, 21, 0.05);
    transition: 0.2s ease;
}

.category-slider-btn:hover {
    background: var(--xtr-green);
    color: #fff;
    border-color: var(--xtr-green);
    transform: translateY(-1px);
}

.category-slider-wrap {
    position: relative;
}

.category-slider {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 8px 2px 18px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.category-slider::-webkit-scrollbar {
    display: none;
}

.category-slider .category-card {
    flex: 0 0 184px;
    scroll-snap-align: start;
    display: grid;
    place-items: center;
    min-height: 150px;
    padding: 24px 14px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-bottom: 4px solid transparent;
    box-shadow: 0 8px 26px rgba(2, 31, 21, 0.045);
    transition: 0.25s ease;
    text-align: center;
}

.category-slider .category-card span {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    font-size: 30px;
    margin-bottom: 12px;
    transition: 0.25s ease;
}

.category-slider .category-card strong {
    color: #1e293b;
    font-size: 15px;
    line-height: 1.25;
}

.category-slider .category-card small {
    margin-top: 5px;
    color: #94a3b8;
    font-size: 12px;
}

.category-slider .category-card:hover {
    transform: translateY(-6px);
    border-bottom-color: var(--xtr-gold);
    box-shadow: 0 18px 42px rgba(212, 163, 115, 0.18);
}

.category-slider .category-card:hover span {
    background: linear-gradient(135deg, var(--xtr-green), #065f46);
}

@media (max-width: 768px) {
    .home-categories__head {
        display: block;
        text-align: center;
    }

    .home-categories__head .section-heading--left {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .category-slider-controls {
        justify-content: center;
        margin-top: 18px;
    }

    .category-slider .category-card {
        flex-basis: 156px;
        min-height: 136px;
    }

    .category-slider .category-card span {
        width: 54px;
        height: 54px;
        font-size: 26px;
    }
}

/* ==================================================
   HOME OCOP SECTION
   Style block Gian Hàng Đặc Sản OCOP Xứ Thanh.
   Hiển thị 3 card lớn dạng gian hàng đặc sản.
================================================== */
.home-ocop {
    position: relative;
    padding: 88px 0;
    background:
        radial-gradient(circle at top left, rgba(212, 163, 115, 0.14), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, var(--xtr-cream) 100%);
    border-top: 1px solid rgba(212, 163, 115, 0.14);
    border-bottom: 1px solid rgba(212, 163, 115, 0.14);
}

.home-ocop .section-heading p {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Lưới 3 card OCOP */
.ocop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Card chính của từng đặc sản */
.ocop-card {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(212, 163, 115, 0.28);
    box-shadow: 0 14px 42px rgba(2, 31, 21, 0.07);
    transition: 0.28s ease;
}

.ocop-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(212, 163, 115, 0.12), transparent 38%),
        radial-gradient(circle at bottom right, rgba(4, 57, 39, 0.08), transparent 34%);
    opacity: 0;
    transition: 0.28s ease;
}

.ocop-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 163, 115, 0.62);
    box-shadow: 0 24px 58px rgba(2, 31, 21, 0.12);
}

.ocop-card:hover::before {
    opacity: 1;
}

/* Ảnh đại diện OCOP */
.ocop-card__thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    border-radius: 22px;
    background: var(--xtr-green);
}

.ocop-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ocop-card:hover .ocop-card__thumb img {
    transform: scale(1.07);
}

.ocop-card__thumb > span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--xtr-gold);
    font-weight: 900;
}

/* Badge OCOP trên ảnh */
.ocop-card__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #facc15, #d4a373);
    color: #422006;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 22px rgba(120, 53, 15, 0.24);
}

/* Nội dung card OCOP */
.ocop-card__body {
    position: relative;
    z-index: 1;
    padding: 22px 4px 4px;
    text-align: center;
}

.ocop-card__cat {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(4, 57, 39, 0.08);
    color: var(--xtr-green);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.ocop-card h3 {
    max-width: 320px;
    margin: 0 auto;
    color: var(--xtr-green-dark);
    font-family: var(--xtr-font-heading);
    font-size: 18px;
    line-height: 1.24;
}

.ocop-card h3 a:hover {
    color: var(--xtr-red);
}

.ocop-card p {
    max-width: 340px;
    margin: 13px auto 0;
    color: var(--xtr-muted);
    font-size: 14px;
    line-height: 1.65;
}

/* Dòng thông tin phụ trong card */
.ocop-card__meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 16px;
    color: #64748b;
    font-size: 12px;
}

/* Nút xem gian hàng */
.ocop-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--xtr-green);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(4, 57, 39, 0.18);
    transition: 0.22s ease;
}

.ocop-card__button:hover {
    background: var(--xtr-red);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(185, 28, 28, 0.22);
}

/* Responsive OCOP */
@media (max-width: 1024px) {
    .ocop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .home-ocop {
        padding: 66px 0;
    }

    .ocop-grid {
        grid-template-columns: 1fr;
    }

    .ocop-card {
        border-radius: 24px;
    }

    .ocop-card h3 {
        font-size: 21px;
    }
}

/* ==================================================
   HOME TRAVEL SECTION
   Style block Du Lịch & Danh Thắng Xứ Thanh.
   Layout Bento Grid: 1 ảnh lớn bên trái, 4 ảnh nhỏ bên phải.
================================================== */
.home-travel {
    padding: 88px 0;
    background: #ffffff;
}

.home-travel .section-heading p {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* Khung bento tổng */
.travel-bento {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
}

/* Cột nhỏ bên phải */
.travel-bento__small {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

/* Card du lịch chung */
.travel-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: var(--xtr-green-dark);
    box-shadow: 0 16px 42px rgba(2, 31, 21, 0.12);
}

.travel-card--large {
    min-height: 520px;
}

.travel-card--small {
    min-height: 249px;
}

.travel-card__link {
    position: absolute;
    inset: 0;
    display: block;
    color: #fff;
}

.travel-card__link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.travel-card:hover .travel-card__link img {
    transform: scale(1.1);
}

/* Ảnh fallback khi bài chưa có ảnh đại diện */
.travel-card__no-image {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--xtr-gold);
    font-weight: 900;
}

/* Lớp phủ tối giúp chữ dễ đọc */
.travel-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(2, 31, 21, 0.94),
        rgba(2, 31, 21, 0.24),
        rgba(2, 31, 21, 0.04)
    );
    transition: 0.35s ease;
}

.travel-card:hover .travel-card__overlay {
    background: linear-gradient(
        to top,
        rgba(2, 31, 21, 0.9),
        rgba(2, 31, 21, 0.18),
        rgba(2, 31, 21, 0.02)
    );
}

/* Nội dung chữ trên ảnh */
.travel-card__content {
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 26px;
    z-index: 2;
    transform: translateY(0);
    transition: 0.35s ease;
}

/* ==================================================
   TRAVEL CARD CONTENT HOVER
   Khi hover, toàn bộ cụm chữ trên ảnh trượt nhẹ lên trên.
================================================== */
.travel-card:hover .travel-card__content {
    transform: translateY(-8px);
}

/* Nhãn chuyên mục trên ảnh */
.travel-card__cat {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 11px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.travel-card--large .travel-card__cat {
    background: var(--xtr-gold);
    color: var(--xtr-green-dark);
    border-color: transparent;
}

/* Tiêu đề card */
.travel-card h3 {
    margin: 0;
    color: #fff;
    font-family: var(--xtr-font-heading);
    line-height: 1.18;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
}

.travel-card--large h3 {
    max-width: 560px;
    font-size: clamp(28px, 4vw, 42px);
}

.travel-card--small h3 {
    font-size: 17px;
}

/* ==================================================
   TRAVEL LARGE CARD HOVER DETAIL
   Ẩn mô tả và nút "Khám phá hành trình" ở card lớn.
   Khi rê chuột vào card, phần mô tả sẽ trượt lên và hiện ra.
================================================== */
.travel-card--large p {
    max-width: 580px;
    margin: 13px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.65;

    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition:
        opacity 0.35s ease,
        max-height 0.45s ease,
        transform 0.35s ease;
}

.travel-card--large strong {
    display: inline-flex;
    margin-top: 0;
    color: var(--xtr-gold);
    font-size: 14px;

    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition:
        opacity 0.35s ease 0.08s,
        max-height 0.45s ease 0.08s,
        margin-top 0.35s ease,
        transform 0.35s ease 0.08s;
}

.travel-card--large:hover p {
    opacity: 1;
    max-height: 110px;
    transform: translateY(0);
}

.travel-card--large:hover strong {
    opacity: 1;
    max-height: 40px;
    margin-top: 18px;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .travel-bento {
        grid-template-columns: 1fr;
    }

    .travel-card--large {
        min-height: 460px;
    }

    .travel-card--small {
        min-height: 230px;
    }
}

@media (max-width: 720px) {
    .home-travel {
        padding: 66px 0;
    }

    .travel-bento__small {
        grid-template-columns: 1fr;
    }

    .travel-card {
        border-radius: 22px;
    }

    .travel-card--large,
    .travel-card--small {
        min-height: 360px;
    }

    .travel-card__content {
        left: 22px;
        right: 22px;
        bottom: 22px;
    }

    .travel-card--small h3 {
        font-size: 22px;
    }
	
	/* Trên mobile không có hover, nên cho mô tả card lớn hiện luôn */
.travel-card--large p,
.travel-card--large strong {
    opacity: 1;
    max-height: none;
    transform: none;
}

.travel-card--large strong {
    margin-top: 16px;
}
}

/* ==================================================
   HOME SERVICES SECTION
   Style block Tổng Hợp Dịch Vụ Đời Sống Uy Tín.
   Dạng danh bạ hàng ngang, phù hợp listing dịch vụ địa phương.
================================================== */
.home-services {
    padding: 88px 0 54px;
    background:
        radial-gradient(circle at top right, rgba(4, 57, 39, 0.06), transparent 32%),
        #f8fafc;
}

.home-services .section-heading p {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Danh sách dịch vụ */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Một dòng dịch vụ */
.service-item {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) 210px;
    align-items: center;
    gap: 22px;
    padding: 22px 24px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    border-left: 5px solid var(--xtr-gold);
    box-shadow: 0 8px 28px rgba(2, 31, 21, 0.045);
    transition: 0.24s ease;
}

.service-item:hover {
    transform: translateX(5px);
    border-left-color: var(--xtr-red);
    box-shadow: 0 16px 40px rgba(2, 31, 21, 0.08);
}

/* Nhãn chuyên mục */
.service-item__label a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(212, 163, 115, 0.16);
    color: #92400e;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

/* Nội dung chính */
.service-item__content {
    min-width: 0;
}

.service-item__content h3 {
    margin: 0;
    color: var(--xtr-green-dark);
    font-family: var(--xtr-font-heading);
    font-size: 20px;
    line-height: 1.28;
}

.service-item__content h3 a:hover {
    color: var(--xtr-red);
}

.service-item__content p {
    margin: 7px 0 0;
    color: var(--xtr-muted);
    font-size: 14px;
    line-height: 1.55;
}

/* Ngày đăng và nút hành động */
.service-item__action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 9px;
    color: #94a3b8;
    font-size: 12px;
}

.service-item__action a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(4, 57, 39, 0.08);
    color: var(--xtr-green);
    font-size: 13px;
    font-weight: 900;
    transition: 0.22s ease;
}

.service-item__action a:hover {
    background: var(--xtr-green);
    color: #fff;
}

/* Responsive Dịch Vụ */
@media (max-width: 1024px) {
    .service-item {
        grid-template-columns: 160px minmax(0, 1fr);
    }

    .service-item__action {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-top: 14px;
        border-top: 1px solid #f1f5f9;
    }
}

@media (max-width: 720px) {
    .home-services {
        padding: 66px 0;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 20px;
        border-radius: 20px;
    }

    .service-item:hover {
        transform: translateY(-3px);
    }

    .service-item__action {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-item__action a {
        width: 100%;
    }
}

/* ==================================================
   SECTION VIEW ALL BUTTON
   Nút "Xem tất cả" đặt phía dưới các block căn giữa,
   ví dụ block Đặc Sản OCOP.
================================================== */
.section-view-all {
    margin-top: 34px;
}

.section-view-all--center {
    text-align: center;
}

.section-view-all a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    background: rgba(4, 57, 39, 0.08);
    color: var(--xtr-green);
    border: 1px solid rgba(4, 57, 39, 0.12);
    font-size: 14px;
    font-weight: 900;
    transition: 0.22s ease;
}

.section-view-all a:hover {
    background: var(--xtr-green);
    color: #fff;
    border-color: var(--xtr-green);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(4, 57, 39, 0.16);
}

/* ==================================================
   TYPOGRAPHY GLOBAL
   Đồng bộ font chữ toàn site:
   - Lexend cho nội dung thường
   - Merriweather cho tiêu đề
================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--xtr-font-heading);
}

button,
input,
select,
textarea {
    font-family: var(--xtr-font-body);
}

p,
li,
a,
span,
small {
    font-family: inherit;
}

/* ==================================================
   CATEGORY PAGE
   Style chung cho trang danh mục WordPress.
   Áp dụng cho:
   - /danh-muc/am-thuc/
   - /danh-muc/du-lich/
   - /danh-muc/dac-san-ocop/
   - /danh-muc/dich-vu/
================================================== */

.category-page {
    background: #f8fafc;
}

/* ==================================================
   CATEGORY HERO
   Banner đầu trang danh mục.
================================================== */
.category-hero {
    position: relative;
    min-height: 270px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--xtr-green-dark);
    color: #fff;
}

.category-hero__bg,
.category-hero__overlay {
    position: absolute;
    inset: 0;
}

.category-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}

.category-hero__overlay {
    background:
        linear-gradient(90deg, rgba(4, 57, 39, 0.92), rgba(2, 31, 21, 0.62)),
        radial-gradient(circle at 70% 30%, rgba(212, 163, 115, 0.18), transparent 35%);
}

.category-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
}

.category-hero h1 {
    margin: 0;
    font-family: var(--xtr-font-heading);
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 5px 18px rgba(0, 0, 0, 0.35);
}

.category-hero p {
    max-width: 720px;
    margin: 14px auto 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
    line-height: 1.7;
}

/* ==================================================
   CATEGORY CONTENT
================================================== */
.category-content {
    padding: 34px 0 70px;
}

/* Breadcrumb + sort */
.category-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.category-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #64748b;
    font-size: 13px;
}

.category-breadcrumb a {
    color: #64748b;
    transition: 0.2s ease;
}

.category-breadcrumb a:hover {
    color: var(--xtr-gold);
}

.category-breadcrumb strong {
    color: var(--xtr-green-dark);
}

.category-sort {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 8px 22px rgba(2, 31, 21, 0.035);
    color: #64748b;
    font-size: 13px;
}

.category-sort select {
    border: 0;
    background: transparent;
    color: #1e293b;
    font-weight: 750;
    outline: 0;
    font-family: var(--xtr-font-body);
}

/* ==================================================
   CATEGORY FILTER
   Bộ lọc ngang. Giai đoạn đầu là UI, chưa xử lý lọc thật.
================================================== */
.category-filter {
    position: relative;
    z-index: 5;
    margin-bottom: 28px;
    padding: 14px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 8px 28px rgba(2, 31, 21, 0.04);
}

.category-filter__inner {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}

.category-filter__inner::-webkit-scrollbar {
    display: none;
}

.category-filter__label {
    flex: 0 0 auto;
    color: var(--xtr-green-dark);
    font-size: 13px;
    font-weight: 900;
    margin-right: 4px;
}

.category-filter__btn {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #334155;
    font-family: var(--xtr-font-body);
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
    transition: 0.2s ease;
}

.category-filter__btn:hover {
    background: #fff;
    color: var(--xtr-gold);
    border-color: var(--xtr-gold);
}

.category-filter__btn--active {
    background: rgba(212, 163, 115, 0.12);
    color: #b45309;
    border-color: rgba(212, 163, 115, 0.45);
    font-weight: 850;
}

.category-filter__clear {
    flex: 0 0 auto;
    margin-left: 4px;
    color: var(--xtr-red);
    font-size: 13px;
    font-weight: 850;
}

.category-filter__clear:hover {
    text-decoration: underline;
}

/* ==================================================
   CATEGORY GRID
================================================== */
.category-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ==================================================
   CATEGORY POST CARD
   Card bài viết trong trang danh mục.
================================================== */
.category-post-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 8px 28px rgba(2, 31, 21, 0.045);
    transition: 0.28s ease;
}

.category-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(2, 31, 21, 0.1);
}

.category-post-card__thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10.5;
    overflow: hidden;
    background: var(--xtr-green);
}

.category-post-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.category-post-card:hover .category-post-card__thumb img {
    transform: scale(1.08);
}

.category-post-card__thumb > span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--xtr-gold);
    font-weight: 900;
}

/* Badge loại bài viết */
.category-post-card__badge {
    position: absolute;
    top: 13px;
    left: 13px;
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 10px;
    border-radius: 7px;
    color: #fff;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.category-post-card__badge--toplist {
    background: var(--xtr-red);
}

.category-post-card__badge--review {
    background: #059669;
}

.category-post-card__badge--guide {
    background: #d97706;
}

/* Nội dung card */
.category-post-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.category-post-card__title {
    margin: 0;
    color: var(--xtr-green-dark);
    font-family: var(--xtr-font-heading);
    font-size: 21px;
    line-height: 1.28;
}

.category-post-card__title a:hover {
    color: var(--xtr-gold);
}

.category-post-card__excerpt {
    margin: 10px 0 16px;
    color: var(--xtr-muted);
    font-size: 14px;
    line-height: 1.62;
}

/* Info nhanh */
.category-post-card__info {
    display: grid;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 17px;
}

.category-post-card__info-row {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #64748b;
    font-size: 12.5px;
    line-height: 1.4;
}

.category-post-card__info-row strong {
    color: #047857;
    font-weight: 900;
}

.category-post-card__info-icon {
    flex: 0 0 auto;
    width: 18px;
    text-align: center;
}

/* Meta cuối card */
.category-post-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.category-post-card__views {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 650;
}

.category-post-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 28px;
    padding: 0 9px;
    border-radius: 9px;
    background: #fefce8;
    color: #ca8a04;
    font-size: 13px;
    font-weight: 950;
}

/* ==================================================
   CATEGORY PAGINATION
================================================== */
.category-pagination {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.category-pagination .nav-links {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 8px 24px rgba(2, 31, 21, 0.045);
}

.category-pagination .page-numbers {
    min-width: 42px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--xtr-border);
    color: #475569;
    font-size: 14px;
    font-weight: 800;
    transition: 0.2s ease;
}

.category-pagination .page-numbers:last-child {
    border-right: 0;
}

.category-pagination .page-numbers.current {
    background: var(--xtr-green);
    color: #fff;
}

.category-pagination a.page-numbers:hover {
    background: #f8fafc;
    color: var(--xtr-gold);
}

/* ==================================================
   CATEGORY CTA
   Khoảng cách CTA trên trang danh mục.
================================================== */
.category-partner-cta {
    padding: 0 0 74px;
    background: #f8fafc;
}

/* ==================================================
   RESPONSIVE CATEGORY PAGE
================================================== */
@media (max-width: 1024px) {
    .category-post-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    .category-hero {
        min-height: 235px;
    }

    .category-content {
        padding: 26px 0 56px;
    }

    .category-post-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .category-filter {
        margin-left: calc((100vw - 100%) / -2);
        margin-right: calc((100vw - 100%) / -2);
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .category-post-card__body {
        padding: 18px;
    }

    .category-post-card__title {
        font-size: 20px;
    }

    .category-partner-cta {
        padding-bottom: 58px;
    }
}

/* ==================================================
   SINGLE COMMON COMPONENTS
   Dùng chung cho single-default, single-toplist, single-review.
================================================== */
.single-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    color: #64748b;
    font-size: 13px;
    font-weight: 650;
}

.single-breadcrumb a {
    color: #64748b;
}

.single-breadcrumb a:hover {
    color: var(--xtr-gold);
}

.single-breadcrumb strong {
    color: var(--xtr-green-dark);
}

.single-top-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 22px;
    color: #64748b;
    font-size: 13px;
    font-weight: 650;
}

.single-sidebar-box {
    padding: 24px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 10px 30px rgba(2, 31, 21, 0.045);
}

.single-sidebar-box h3 {
    margin: 0 0 16px;
    color: var(--xtr-green-dark);
    font-family: var(--xtr-font-heading);
    font-size: 20px;
}

/* ==================================================
   SINGLE TOPLIST PAGE
================================================== */
.single-toplist-page {
    background: #f8fafc;
    padding: 28px 0 0;
}

.single-toplist-layout {
    display: grid;
    grid-template-columns: minmax(0, 820px) 340px;
    gap: 44px;
    align-items: start;
}

.single-toplist-main {
    min-width: 0;
}

.single-toplist-header {
    margin-bottom: 34px;
    text-align: center;
}

.single-toplist-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(212, 163, 115, 0.48);
    color: #b45309;
    background: rgba(212, 163, 115, 0.12);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.single-toplist-header h1 {
    max-width: 820px;
    margin: 18px auto 20px;
    color: #111827;
    font-family: var(--xtr-font-heading);
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.1;
    letter-spacing: -0.8px;
}

.single-toplist-intro {
    margin: 0 0 56px;
    padding: 0 0 0 22px;
    border-left: 4px solid var(--xtr-gold);
    color: #475569;
    font-size: 17px;
    line-height: 1.85;
    font-style: italic;
}

.single-toplist-intro p:last-child {
    margin-bottom: 0;
}

/* Danh sách item Toplist */
.toplist-items {
    display: grid;
    gap: 56px;
}

.toplist-item {
    scroll-margin-top: 110px;
    padding-bottom: 52px;
    border-bottom: 1px solid #e2e8f0;
}

.toplist-item:last-child {
    border-bottom: 0;
}

.toplist-item__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.toplist-item__head h2 {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    color: #111827;
    font-family: var(--xtr-font-heading);
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.25;
}

.toplist-item__head h2 span {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--xtr-gold);
    color: #fff;
    font-family: var(--xtr-font-body);
    font-size: 15px;
    font-weight: 950;
    box-shadow: 0 10px 24px rgba(212, 163, 115, 0.24);
}

.toplist-item__heart {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    text-align: center;
    transition: 0.2s ease;
}

.toplist-item__heart strong {
    display: block;
    font-size: 30px;
    line-height: 1;
}

.toplist-item__heart small {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    font-weight: 900;
}

.toplist-item__heart:hover {
    color: var(--xtr-red);
    transform: translateY(-2px);
}

.toplist-item__image {
    overflow: hidden;
    margin-bottom: 22px;
    border-radius: 26px;
    background: var(--xtr-green);
    box-shadow: 0 14px 36px rgba(2, 31, 21, 0.12);
}

.toplist-item__image img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.toplist-item__info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 22px;
    margin-bottom: 24px;
    padding: 22px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 8px 24px rgba(2, 31, 21, 0.04);
}

.toplist-item__info p {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
}

.toplist-item__info strong {
    color: #111827;
}

.toplist-item__desc {
    color: #475569;
    font-size: 16px;
    line-height: 1.85;
}

.toplist-item__desc p:last-child {
    margin-bottom: 0;
}

.toplist-item__map {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 18px;
    padding: 0 20px;
    border-radius: 12px;
    background: #111827;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    transition: 0.22s ease;
}

.toplist-item__map:hover {
    background: var(--xtr-green);
    transform: translateY(-1px);
}

/* Sidebar Toplist */
.single-toplist-sidebar {
    min-width: 0;
}

/*.single-toplist-sidebar__sticky {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 22px;
}*/
/* ==================================================
   TOPLIST STICKY SIDEBAR
   Sidebar bài Toplist được ghim khi cuộn trang.
   Lưu ý: sticky chỉ hoạt động tốt khi các thẻ cha không bị overflow hidden.
================================================== */
.single-toplist-sidebar {
    align-self: start;
    min-width: 0;
}

.single-toplist-sidebar__sticky {
    position: sticky;
    top: 118px;
    display: grid;
    gap: 22px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
}

.toplist-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toplist-toc li + li {
    margin-top: 11px;
}

.toplist-toc a {
    color: #475569;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.toplist-toc a:hover {
    color: var(--xtr-gold);
}

.single-popular-list {
    display: grid;
    gap: 15px;
}

.single-popular-item {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.single-popular-item span {
    color: #cbd5e1;
    font-size: 22px;
    font-weight: 950;
    line-height: 1;
}

.single-popular-item strong {
    color: #334155;
    font-size: 14px;
    line-height: 1.4;
}

.single-popular-item:hover span,
.single-popular-item:hover strong {
    color: var(--xtr-gold);
}

/* ==================================================
   RELATED SLIDER
================================================== */
.single-related-slider-section {
    padding: 50px 0 30px;
    background: #f8fafc;
}

.single-related-heading h2 {
    margin: 0 0 28px;
    padding-left: 16px;
    border-left: 4px solid var(--xtr-gold);
    color: #111827;
    font-family: var(--xtr-font-heading);
    font-size: 28px;
}

.single-related-slider {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 16px;
    scrollbar-width: none;
}

.single-related-slider::-webkit-scrollbar {
    display: none;
}

.single-related-card {
    flex: 0 0 290px;
    scroll-snap-align: start;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 8px 24px rgba(2, 31, 21, 0.045);
    transition: 0.22s ease;
}

.single-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(2, 31, 21, 0.08);
}

.single-related-card__thumb {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--xtr-green);
}

.single-related-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-related-card__thumb span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--xtr-gold);
    font-weight: 900;
}

.single-related-card__body {
    padding: 16px;
}

.single-related-card__body span {
    display: inline-flex;
    margin-bottom: 9px;
    padding: 5px 8px;
    border-radius: 7px;
    background: rgba(212, 163, 115, 0.12);
    color: #b45309;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.single-related-card__body h3 {
    margin: 0;
    color: #111827;
    font-size: 16px;
    line-height: 1.35;
}

.single-related-card__body h3 a:hover {
    color: var(--xtr-gold);
}

.single-related-card__body p {
    margin: 10px 0 0;
    color: #94a3b8;
    font-size: 12px;
}

/* CTA cuối single */
.single-partner-cta {
    padding: 34px 0 84px;
    background: #f8fafc;
}

/* ==================================================
   SINGLE DEFAULT BASIC
================================================== */
.single-default-page {
    background: #f8fafc;
}

.single-default-hero {
    padding: 48px 0 28px;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.single-default-hero__inner {
    max-width: 920px;
}

.single-default-hero h1 {
    margin: 0 0 18px;
    color: var(--xtr-green);
    font-family: var(--xtr-font-heading);
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.18;
}

.single-default-hero p {
    max-width: 780px;
    color: #64748b;
    font-size: 17px;
    line-height: 1.75;
}

.single-default-featured {
    padding: 0 0 30px;
}

.single-default-featured__image {
    overflow: hidden;
    border-radius: 26px;
    box-shadow: 0 16px 40px rgba(2, 31, 21, 0.12);
}

.single-default-featured__image img {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: cover;
}

.single-default-content-wrap {
    padding: 20px 0 70px;
}

.single-default-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) 320px;
    gap: 36px;
    align-items: start;
}

.single-default-article {
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 10px 30px rgba(2, 31, 21, 0.05);
}

.single-default-content {
    padding: 36px;
    color: #334155;
    font-size: 17px;
    line-height: 1.85;
}

.single-default-content h2,
.single-default-content h3 {
    color: var(--xtr-green);
    font-family: var(--xtr-font-heading);
}

.single-common-sidebar {
    position: sticky;
    top: 104px;
}

/* ==================================================
   RESPONSIVE SINGLE TEMPLATES
================================================== */
@media (max-width: 1080px) {
    .single-toplist-layout,
    .single-default-layout {
        grid-template-columns: 1fr;
    }

    .single-toplist-sidebar__sticky,
    .single-common-sidebar {
        position: static;
    }
}

@media (max-width: 720px) {
    .single-toplist-page {
        padding-top: 20px;
    }

    .single-top-meta {
        justify-content: flex-start;
    }

    .single-toplist-header {
        text-align: left;
    }

    .single-toplist-intro {
        margin-bottom: 40px;
    }

    .toplist-item__head {
        align-items: flex-start;
    }

    .toplist-item__head h2 {
        align-items: flex-start;
        font-size: 24px;
    }

    .toplist-item__image img {
        height: 260px;
    }

    .toplist-item__info {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .single-related-card {
        flex-basis: 260px;
    }

    .single-default-content {
        padding: 24px 20px;
        font-size: 16px;
    }
}

/* ==================================================
   TOPLIST ITEM RICH CONTENT
   Style nội dung mô tả từng mục Toplist khi dùng ACF WYSIWYG.
   Cho phép hiển thị đẹp: đoạn văn, ảnh, video, link, danh sách, quote.
================================================== */
.toplist-item__desc {
    color: #475569;
    font-size: 16px;
    line-height: 1.85;
}

.toplist-item__desc p {
    margin: 0 0 18px;
}

.toplist-item__desc p:last-child {
    margin-bottom: 0;
}

.toplist-item__desc h3,
.toplist-item__desc h4 {
    margin: 26px 0 12px;
    color: var(--xtr-green);
    font-family: var(--xtr-font-heading);
    line-height: 1.35;
}

.toplist-item__desc h3 {
    font-size: 24px;
}

.toplist-item__desc h4 {
    font-size: 20px;
}

.toplist-item__desc a {
    color: var(--xtr-red);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.toplist-item__desc ul,
.toplist-item__desc ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.toplist-item__desc li + li {
    margin-top: 8px;
}

.toplist-item__desc blockquote {
    margin: 24px 0;
    padding: 18px 22px;
    border-left: 4px solid var(--xtr-gold);
    border-radius: 0 16px 16px 0;
    background: #fff7ed;
    color: #7c2d12;
    font-family: var(--xtr-font-heading);
    font-style: italic;
}

.toplist-item__desc img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 22px 0;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(2, 31, 21, 0.08);
}

.toplist-item__desc iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    margin: 22px 0;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(2, 31, 21, 0.08);
}

/* Đảm bảo sticky sidebar không bị chặn bởi overflow của section cha */
.single-toplist-page,
.single-toplist-layout,
.single-toplist-sidebar {
    overflow: visible;
}

/* ==================================================
   TOPLIST SIDEBAR JS STICKY FALLBACK
   Ghim sidebar bài Toplist bằng JS khi CSS sticky không hoạt động ổn định.
   Chỉ áp dụng desktop, mobile vẫn để sidebar chảy tự nhiên.
================================================== */

.single-toplist-layout {
    position: relative;
    align-items: start;
    overflow: visible !important;
}

.single-toplist-sidebar {
    position: relative;
    align-self: start;
    overflow: visible !important;
}

.single-toplist-sidebar__sticky {
    overflow: visible;
}

/* Khi JS kích hoạt trạng thái fixed */
.single-toplist-sidebar__sticky.is-fixed {
    position: fixed;
    z-index: 20;
}

/* Khi sidebar chạy đến cuối vùng nội dung */
.single-toplist-sidebar__sticky.is-bottom {
    position: absolute;
    z-index: 20;
}

/* ==================================================
   RELATED SLIDER CONTROLS
   Nút chuyển trái/phải cho bài viết liên quan cuối bài.
================================================== */

.single-related-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
}

.single-related-heading h2 {
    margin: 0;
    padding-left: 16px;
    border-left: 4px solid var(--xtr-gold);
    color: #111827;
    font-family: var(--xtr-font-heading);
    font-size: 28px;
}

.single-related-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.single-related-btn {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid var(--xtr-border);
    background: #fff;
    color: var(--xtr-green);
    font-size: 28px;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(2, 31, 21, 0.05);
    transition: 0.22s ease;
}

.single-related-btn:hover {
    background: var(--xtr-green);
    color: #fff;
    border-color: var(--xtr-green);
    transform: translateY(-1px);
}

@media (max-width: 720px) {
    .single-related-heading {
        align-items: flex-start;
    }

    .single-related-heading h2 {
        font-size: 24px;
    }

    .single-related-btn {
        width: 38px;
        height: 38px;
        font-size: 24px;
    }
}

/* ==================================================
   SINGLE REVIEW PAGE
   Style template chi tiết bài Review.
================================================== */

.single-review-page {
    padding: 28px 0 0;
    background: #f8fafc;
}

.single-review-layout {
    display: grid;
    grid-template-columns: minmax(0, 820px) 340px;
    gap: 44px;
    align-items: start;
}

.single-review-main {
    min-width: 0;
    display: grid;
    gap: 28px;
}

/* Header card */
.review-header-card,
.review-box,
.review-pros,
.review-cons {
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 10px 30px rgba(2, 31, 21, 0.045);
}

.review-header-card {
    padding: 30px;
}

.review-header-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.review-header-card__badges span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 8px;
    background: rgba(5, 150, 105, 0.12);
    color: #047857;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.review-header-card__badges span:nth-child(2) {
    background: rgba(212, 163, 115, 0.16);
    color: #b45309;
}

.review-header-card h1 {
    margin: 0;
    color: #111827;
    font-family: var(--xtr-font-heading);
    font-size: clamp(32px, 4.5vw, 46px);
    line-height: 1.16;
}

.review-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    color: #64748b;
    font-size: 13px;
    font-weight: 650;
}

.review-meta__rating {
    padding: 5px 10px;
    border-radius: 9px;
    background: #fffbeb;
    color: #d97706;
    font-weight: 950;
}

/* Box chung */
.review-box {
    padding: 28px;
}

.review-box h2 {
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #111827;
    font-family: var(--xtr-font-heading);
    font-size: 23px;
    line-height: 1.3;
}

/* Gallery 3x3 */
.review-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    overflow: hidden;
    border-radius: 20px;
}

.review-gallery-item {
    position: relative;
    display: block;
    padding: 0;
    border: 0;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--xtr-green);
    cursor: pointer;
}

.review-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.28s ease;
}

.review-gallery-item:hover img {
    transform: scale(1.06);
    opacity: 0.86;
}

.review-gallery-item--more span {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.62);
}

.review-gallery-item--more strong {
    font-size: 38px;
    line-height: 1;
}

.review-gallery-item--more small {
    margin-top: 4px;
    font-size: 13px;
    font-weight: 800;
}

/* Nội dung review */
.review-intro-quote {
    margin-bottom: 24px;
    padding: 18px 20px;
    border-radius: 16px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #92400e;
    font-style: italic;
    font-weight: 650;
}

.review-intro-quote p:last-child {
    margin-bottom: 0;
}

.review-rich-content {
    color: #475569;
    font-size: 16px;
    line-height: 1.82;
}

.review-rich-content p {
    margin: 0 0 18px;
}

.review-rich-content h2,
.review-rich-content h3,
.review-rich-content h4 {
    color: var(--xtr-green);
    font-family: var(--xtr-font-heading);
    line-height: 1.35;
}

.review-rich-content h3,
.review-rich-content h4 {
    margin: 28px 0 12px;
}

.review-rich-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px 0;
    border-radius: 18px;
}

.review-rich-content a {
    color: var(--xtr-red);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Pros / Cons */
.review-pros-cons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.review-pros,
.review-cons {
    padding: 24px;
}

.review-pros {
    background: #ecfdf5;
    border-color: #bbf7d0;
}

.review-cons {
    background: #fef2f2;
    border-color: #fecaca;
}

.review-pros h2,
.review-cons h2 {
    margin: 0 0 16px;
    font-family: var(--xtr-font-heading);
    font-size: 20px;
}

.review-pros h2 {
    color: #047857;
}

.review-cons h2 {
    color: #b91c1c;
}

.review-pros ul,
.review-cons ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.review-pros li,
.review-cons li {
    color: #334155;
    font-size: 14px;
    line-height: 1.55;
}

.review-pros li::before {
    content: "✓";
    margin-right: 8px;
    color: #059669;
    font-weight: 900;
}

.review-cons li::before {
    content: "–";
    margin-right: 8px;
    color: #dc2626;
    font-weight: 900;
}

/* Amenities */
.review-amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.review-amenities-list span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s ease;
}

.review-amenities-list span:hover {
    background: #ecfdf5;
    border-color: #bbf7d0;
}

/* Menu gallery */
.review-menu-box > p {
    margin: -6px 0 18px;
    color: #64748b;
    font-size: 14px;
    font-style: italic;
}

.review-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.review-menu-item {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.review-menu-item img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 22px rgba(2, 31, 21, 0.045);
    transition: 0.24s ease;
}

.review-menu-item:hover img {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 34px rgba(2, 31, 21, 0.09);
}

/* Comments */
.review-comments-box .comment-reply-title,
.review-comments-box .comments-title {
    font-family: var(--xtr-font-heading);
    color: var(--xtr-green);
}

/* Sidebar Review */
.single-review-sidebar {
    min-width: 0;
    align-self: start;
}

.single-review-sidebar__sticky {
    position: sticky;
    top: 118px;
    display: grid;
    gap: 22px;
}

.review-place-card h3 {
    margin-bottom: 18px;
}

.review-map-placeholder {
    min-height: 178px;
    margin-bottom: 18px;
    border-radius: 20px;
    background:
        linear-gradient(135deg, #dbeafe, #f0fdf4);
    border: 1px solid #e2e8f0;
    display: grid;
    place-items: center;
    text-align: center;
    overflow: hidden;
}

.review-map-placeholder span {
    display: block;
    font-size: 42px;
    line-height: 1;
    margin-bottom: 8px;
}

.review-map-placeholder strong {
    display: inline-flex;
    max-width: 220px;
    padding: 5px 9px;
    border-radius: 8px;
    background: #111827;
    color: #fff;
    font-size: 11px;
}

.review-place-info {
    display: grid;
    gap: 14px;
}

.review-place-info div {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
}

.review-place-info p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
}

.review-place-info strong {
    display: block;
    color: #111827;
    font-size: 13px;
}

.review-place-info a {
    color: #047857;
    font-weight: 900;
}

.review-place-actions {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.review-place-actions a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 900;
    transition: 0.22s ease;
}

.review-place-actions__map {
    background: #111827;
    color: #fff;
}

.review-place-actions__map:hover {
    background: var(--xtr-green);
}

.review-place-actions__contact {
    background: #eff6ff;
    color: #0369a1;
}

.review-place-actions__contact:hover {
    background: #dbeafe;
}

/* Lightbox */
.xtr-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(6px);
}

.xtr-lightbox.is-open {
    display: flex;
}

.xtr-lightbox__close {
    position: absolute;
    top: 22px;
    right: 26px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.xtr-lightbox img {
    max-width: min(1100px, 96vw);
    max-height: 90vh;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

/* Responsive Review */
@media (max-width: 1080px) {
    .single-review-layout {
        grid-template-columns: 1fr;
    }

    .single-review-sidebar__sticky {
        position: static;
    }
}

@media (max-width: 720px) {
    .single-review-page {
        padding-top: 20px;
    }

    .review-header-card,
    .review-box {
        padding: 22px;
        border-radius: 22px;
    }

    .review-gallery-grid {
        gap: 6px;
        border-radius: 16px;
    }

    .review-pros-cons {
        grid-template-columns: 1fr;
    }

    .review-menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .review-meta {
        gap: 10px;
    }

    .single-review-sidebar {
        margin-top: 8px;
    }
}

/* ==================================================
   XTR STANDARD POST CARD
   Card bài viết chuẩn dùng chung toàn site.
   Hiển thị:
   - Ảnh đại diện
   - Nhãn loại bài: Toplist / Review / Cẩm nang
   - Nhãn danh mục
   - Tiêu đề
   - Mô tả ngắn
   - Lượt xem
   - Điểm đánh giá
================================================== */

.xtr-standard-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 8px 28px rgba(2, 31, 21, 0.045);
    transition: 0.28s ease;
}

.xtr-standard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(2, 31, 21, 0.1);
}

/* Ảnh đại diện */
.xtr-standard-card__thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10.5;
    overflow: hidden;
    background: var(--xtr-green);
}

.xtr-standard-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.xtr-standard-card:hover .xtr-standard-card__thumb img {
    transform: scale(1.08);
}

.xtr-standard-card__thumb > span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--xtr-gold);
    font-weight: 900;
}

/* Nhãn loại bài viết */
.xtr-standard-card__type {
    position: absolute;
    top: 13px;
    left: 13px;
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 10px;
    border-radius: 7px;
    color: #fff;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.xtr-standard-card__type.is-toplist {
    background: var(--xtr-red);
}

.xtr-standard-card__type.is-review {
    background: #059669;
}

.xtr-standard-card__type.is-guide {
    background: #d97706;
}

/* Nội dung card */
.xtr-standard-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

/* Nhãn danh mục */
.xtr-standard-card__cat {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    margin-bottom: 11px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(4, 57, 39, 0.08);
    color: var(--xtr-green);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.xtr-standard-card__cat:hover {
    background: var(--xtr-green);
    color: #fff;
}

/* Tiêu đề */
.xtr-standard-card__title {
    margin: 0;
    color: var(--xtr-green-dark);
    font-family: var(--xtr-font-heading);
    font-size: 21px;
    line-height: 1.28;
}

.xtr-standard-card__title a:hover {
    color: var(--xtr-gold);
}

/* Mô tả */
.xtr-standard-card__excerpt {
    margin: 10px 0 16px;
    color: var(--xtr-muted);
    font-size: 14px;
    line-height: 1.62;
}

/* Meta cuối card */
.xtr-standard-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.xtr-standard-card__views {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 650;
}

.xtr-standard-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 28px;
    padding: 0 9px;
    border-radius: 9px;
    background: #fefce8;
    color: #ca8a04;
    font-size: 13px;
    font-weight: 950;
}

/* ==================================================
   RELATED SLIDER STANDARDIZED
   Chuẩn hóa slider bài viết liên quan.
   Thông tin hiển thị:
   - Ảnh đại diện
   - Nhãn loại bài viết
   - Nhãn danh mục
   - Tiêu đề
   - Mô tả ngắn
   - View thật
   - Rating
================================================== */

.single-related-slider-section {
    padding: 72px 0 30px;
    background: #f8fafc;
}

.single-related-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
}

.single-related-heading h2 {
    margin: 0;
    padding-left: 16px;
    border-left: 4px solid var(--xtr-gold);
    color: #111827;
    font-family: var(--xtr-font-heading);
    font-size: 28px;
    line-height: 1.25;
}

.single-related-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.single-related-btn {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid var(--xtr-border);
    background: #fff;
    color: var(--xtr-green);
    font-size: 28px;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(2, 31, 21, 0.05);
    transition: 0.22s ease;
}

.single-related-btn:hover {
    background: var(--xtr-green);
    color: #fff;
    border-color: var(--xtr-green);
    transform: translateY(-1px);
}

/* Khung slider */
.single-related-slider {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 2px 2px 18px;
    scrollbar-width: none;
}

.single-related-slider::-webkit-scrollbar {
    display: none;
}

/* Card bài liên quan */
.xtr-related-card {
    flex: 0 0 294px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 8px 24px rgba(2, 31, 21, 0.045);
    transition: 0.24s ease;
}

.xtr-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(2, 31, 21, 0.09);
}

/* Ảnh đại diện */
.xtr-related-card__thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10.5;
    overflow: hidden;
    background: var(--xtr-green);
}

.xtr-related-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.xtr-related-card:hover .xtr-related-card__thumb img {
    transform: scale(1.08);
}

.xtr-related-card__thumb > span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--xtr-gold);
    font-weight: 900;
}

/* Nhãn loại bài */
.xtr-related-card__type {
    position: absolute;
    top: 11px;
    left: 11px;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 7px;
    color: #fff;
    font-size: 9.5px;
    font-weight: 950;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.xtr-related-card__type.is-toplist {
    background: var(--xtr-red);
}

.xtr-related-card__type.is-review {
    background: #059669;
}

.xtr-related-card__type.is-guide {
    background: #d97706;
}

/* Nội dung card */
.xtr-related-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px;
}

/* Nhãn danh mục */
.xtr-related-card__cat {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-bottom: 10px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(4, 57, 39, 0.08);
    color: var(--xtr-green);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.45px;
}

.xtr-related-card__cat:hover {
    background: var(--xtr-green);
    color: #fff;
}

/* Tiêu đề */
.xtr-related-card h3 {
    margin: 0;
    color: #111827;
    font-family: var(--xtr-font-heading);
    font-size: 17px;
    line-height: 1.35;
}

.xtr-related-card h3 a:hover {
    color: var(--xtr-gold);
}

/* Mô tả ngắn */
.xtr-related-card__excerpt {
    margin: 9px 0 14px;
    color: var(--xtr-muted);
    font-size: 13px;
    line-height: 1.55;
}

/* View + rating */
.xtr-related-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid #f1f5f9;
}

.xtr-related-card__meta span {
    color: #94a3b8;
    font-size: 12.5px;
    font-weight: 650;
}

.xtr-related-card__meta strong {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 0 9px;
    border-radius: 9px;
    background: #fefce8;
    color: #ca8a04;
    font-size: 12.5px;
    font-weight: 950;
}

/* Responsive */
@media (max-width: 720px) {
    .single-related-slider-section {
        padding: 56px 0 24px;
    }

    .single-related-heading {
        align-items: flex-start;
    }

    .single-related-heading h2 {
        font-size: 24px;
    }

    .single-related-btn {
        width: 38px;
        height: 38px;
        font-size: 24px;
    }

    .xtr-related-card {
        flex-basis: 260px;
    }

    .xtr-related-card h3 {
        font-size: 16px;
    }
}

/* ==================================================
   HOME CARD TYPE BADGE
   Nhãn loại bài viết dùng chung ngoài trang chủ:
   - Toplist
   - Review
   - Cẩm nang
================================================== */
.home-card-type {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 8px;
    color: #fff;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.home-card-type.is-toplist {
    background: var(--xtr-red);
}

.home-card-type.is-review {
    background: #059669;
}

.home-card-type.is-guide {
    background: #d97706;
}

/* Meta view/rating trong card ẩm thực */
.food-card__meta strong {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 0 9px;
    border-radius: 9px;
    background: #fefce8;
    color: #ca8a04;
    font-size: 12.5px;
    font-weight: 950;
}

/* ==================================================
   HOME OCOP STANDARD DATA
   Bổ sung view/rating cho card OCOP trên trang chủ.
   Giữ layout gian hàng đặc sản nhưng đồng bộ thông tin toàn site.
================================================== */

.ocop-card__meta strong {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 9px;
    border-radius: 9px;
    background: #fefce8;
    color: #ca8a04;
    font-size: 13px;
    font-weight: 950;
}

/* Badge loại bài trong OCOP nằm góc phải để không trùng bố cục cũ */
.ocop-card__badge.home-card-type {
    left: auto;
    right: 14px;
}
/* ==================================================
   HOME OCOP META ALIGN FIX
   Căn lại dòng view + rating trong card OCOP:
   - Tăng khoảng cách giữa mắt xem và sao đánh giá
   - Căn giữa theo chiều dọc
   - Đồng bộ chiều cao 2 phần tử
================================================== */
.ocop-card__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
    margin-top: 16px;
    color: #64748b;
    font-size: 13px;
    line-height: 1;
}

.ocop-card__meta span,
.ocop-card__meta strong {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ocop-card__meta span {
    gap: 5px;
    color: #64748b;
    font-weight: 700;
}

.ocop-card__meta strong {
    gap: 4px;
    padding: 0 10px;
    border-radius: 9px;
    background: #fefce8;
    color: #ca8a04;
    font-size: 13px;
    font-weight: 950;
}

/* ==================================================
   HOME TRAVEL STANDARD DATA
   Bổ sung loại bài, view và rating cho block Du lịch.
   Vì block này dùng overlay ảnh nên thông tin được tối giản.
================================================== */

/* Nhóm badge trên ảnh */
.travel-card__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

/* Nhãn loại bài viết: Toplist / Review / Cẩm nang */
.travel-card__type {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 0 10px;
    border-radius: 8px;
    color: #fff;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.travel-card__type.is-toplist {
    background: var(--xtr-red);
}

.travel-card__type.is-review {
    background: #059669;
}

.travel-card__type.is-guide {
    background: #d97706;
}

/* Ghi đè nhẹ nhãn danh mục cũ trong travel */
.travel-card__badges .travel-card__cat {
    margin-bottom: 0;
}

/* View + rating trên card du lịch */
.travel-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1;
}

.travel-card__meta span,
.travel-card__meta strong {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.travel-card__meta span {
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-weight: 800;
}

.travel-card__meta strong {
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(254, 252, 232, 0.94);
    color: #ca8a04;
    font-size: 13px;
    font-weight: 950;
}

/* Meta ở card nhỏ gọn hơn */
.travel-card__meta--small {
    margin-top: 12px;
    gap: 8px;
    font-size: 12px;
}

.travel-card__meta--small span,
.travel-card__meta--small strong {
    min-height: 26px;
    padding-left: 8px;
    padding-right: 8px;
}

/* Link khám phá ở card lớn */
.travel-card--large em {
    display: inline-flex;
    margin-top: 18px;
    color: var(--xtr-gold);
    font-size: 14px;
    font-style: normal;
    font-weight: 900;
}

/* Vì trước đó mình dùng strong cho "Khám phá hành trình", giờ chuyển sang em */
.travel-card--large strong {
    display: inline-flex;
}

/* ==================================================
   HOME SERVICES STANDARD DATA
   Đồng bộ dữ liệu hiển thị cho block Dịch vụ:
   - Loại bài viết
   - Danh mục
   - View thật
   - Rating
================================================== */

/* Cột nhãn bên trái: loại bài + danh mục */
.service-item__label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

/* Nhãn loại bài viết */
.service-item__type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 8px;
    color: #fff;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.service-item__type.is-toplist {
    background: var(--xtr-red);
}

.service-item__type.is-review {
    background: #059669;
}

.service-item__type.is-guide {
    background: #d97706;
}

/* Nhãn danh mục giữ lại style nhẹ hơn */
.service-item__label a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(212, 163, 115, 0.16);
    color: #92400e;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

/* Meta view + rating bên phải */
.service-item__meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1;
}

.service-item__meta span,
.service-item__meta strong {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.service-item__meta span {
    color: #64748b;
    font-weight: 750;
}

.service-item__meta strong {
    padding: 0 9px;
    border-radius: 9px;
    background: #fefce8;
    color: #ca8a04;
    font-size: 13px;
    font-weight: 950;
}

/* Responsive: trên tablet/mobile cho meta nằm gọn bên trái */
@media (max-width: 1024px) {
    .service-item__meta {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .service-item__label {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .service-item__meta {
        width: 100%;
        justify-content: space-between;
    }
}

/* ==================================================
   HOME POPULAR / TRENDING STANDARD DATA
   --------------------------------------------------
   Đồng bộ dữ liệu cho block Đọc nhiều nhất:
   - Nhãn loại bài viết
   - Nhãn danh mục
   - View thật
   - Rating
================================================== */

/* Nhóm badge card lớn và card nhỏ */
.popular-card__badges,
.popular-small__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

/* Nhãn loại bài viết */
.popular-card__type,
.popular-small__type {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 9px;
    border-radius: 7px;
    color: #fff;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.popular-card__type.is-toplist,
.popular-small__type.is-toplist {
    background: var(--xtr-red);
}

.popular-card__type.is-review,
.popular-small__type.is-review {
    background: #059669;
}

.popular-card__type.is-guide,
.popular-small__type.is-guide {
    background: #d97706;
}

/* Nhãn danh mục */
.popular-card__cat,
.popular-small__badges a {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(212, 163, 115, 0.16);
    color: #ff6100;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popular-card__cat:hover,
.popular-small__badges a:hover {
    background: var(--xtr-gold);
    color: var(--xtr-green-dark);
}

/* View + rating card lớn */
.popular-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1;
}

.popular-card__meta span,
.popular-card__meta strong {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.popular-card__meta span {
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 800;
}

.popular-card__meta strong {
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(254, 252, 232, 0.96);
    color: #ca8a04;
    font-size: 13px;
    font-weight: 950;
}

/* View + rating card nhỏ */
.popular-small__meta {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 9px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1;
}

.popular-small__meta span,
.popular-small__meta strong {
    min-height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.popular-small__meta span {
    color: #94a3b8;
    font-weight: 700;
}

.popular-small__meta strong {
    padding: 0 8px;
    border-radius: 8px;
    background: #fefce8;
    color: #ca8a04;
    font-size: 12px;
    font-weight: 950;
}

/* Tinh chỉnh lại meta cũ của card lớn để chỉ còn nút Đọc ngay */
.trending-main-card__meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 18px;
}

.trending-main-card__meta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--xtr-gold);
    color: var(--xtr-green-dark);
    font-size: 13px;
    font-weight: 950;
    transition: 0.22s ease;
}

.trending-main-card__meta a:hover {
    background: #fff;
    color: var(--xtr-green-dark);
    transform: translateY(-1px);
}

/* Responsive cho block đọc nhiều */
@media (max-width: 720px) {
    .popular-card__meta {
        flex-wrap: wrap;
    }

    .popular-small__badges {
        gap: 6px;
    }

    .popular-small__type,
    .popular-small__badges a {
        font-size: 9.5px;
    }
}

/* ==================================================
   HOME TRENDING META ALIGN FIX
   --------------------------------------------------
   Căn lại mắt xem và sao đánh giá trong block Đọc nhiều:
   - Cùng chiều cao
   - Cùng trục giữa
   - Không bị cái lệch trên, cái lệch dưới
================================================== */

/* Card lớn */
.popular-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    font-size: 13px;
    line-height: 1;
}

.popular-card__meta span,
.popular-card__meta strong {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    white-space: nowrap;
}

.popular-card__meta span {
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.86);
    font-weight: 800;
}

.popular-card__meta strong {
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(254, 252, 232, 0.96);
    color: #ca8a04;
    font-size: 13px;
    font-weight: 950;
}

/* Card nhỏ bên phải */
.popular-small__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    font-size: 12px;
    line-height: 1;
}

.popular-small__meta span,
.popular-small__meta strong {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    white-space: nowrap;
}

.popular-small__meta span {
    padding: 0 9px;
    border-radius: 999px;
    background: #f8fafc;
    color: #64748b;
    font-weight: 750;
}

.popular-small__meta strong {
    padding: 0 9px;
    border-radius: 9px;
    background: #fefce8;
    color: #ca8a04;
    font-size: 12px;
    font-weight: 950;
}

/* ==================================================
   SINGLE DEFAULT / GUIDE PAGE
   --------------------------------------------------
   Style bài viết Cẩm nang / Tin tức thường.
================================================== */

.single-default-page {
    background: #f8fafc;
}

.single-default-hero {
    padding: 52px 0 32px;
    background:
        radial-gradient(circle at top left, rgba(212, 163, 115, 0.12), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.single-default-hero__inner {
    max-width: 940px;
}

.single-default-label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 13px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(212, 163, 115, 0.16);
    color: #b45309;
    border: 1px solid rgba(212, 163, 115, 0.34);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.single-default-hero h1 {
    max-width: 900px;
    margin: 0;
    color: var(--xtr-green);
    font-family: var(--xtr-font-heading);
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.16;
    letter-spacing: -0.8px;
}

.single-default-hero p {
    max-width: 820px;
    margin: 18px 0 0;
    color: #64748b;
    font-size: 17px;
    line-height: 1.75;
}

.single-top-meta--default {
    justify-content: flex-start;
    margin-top: 24px;
}

.single-top-meta--default span,
.single-top-meta--default strong {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 999px;
    background: #fff;
    color: #475569;
    border: 1px solid var(--xtr-border);
    font-size: 13px;
    font-weight: 750;
    box-shadow: 0 6px 18px rgba(2, 31, 21, 0.035);
}

.single-top-meta--default strong {
    background: #fefce8;
    color: #ca8a04;
    border-color: #fde68a;
    font-weight: 950;
}

/* Ảnh đại diện */
.single-default-featured {
    padding: 0 0 34px;
    background: #f8fafc;
}

.single-default-featured__image {
    overflow: hidden;
    border-radius: 28px;
    background: var(--xtr-green);
    box-shadow: 0 18px 46px rgba(2, 31, 21, 0.12);
}

.single-default-featured__image img {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: cover;
}

/* Layout nội dung */
.single-default-content-wrap {
    padding: 18px 0 72px;
    background: #f8fafc;
}

.single-default-layout {
    display: grid;
    grid-template-columns: minmax(0, 780px) 320px;
    gap: 36px;
    align-items: start;
}

.single-default-article {
    overflow: hidden;
    border-radius: 26px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 10px 34px rgba(2, 31, 21, 0.055);
}

.single-default-content {
    padding: 38px;
    color: #1e293b;
    font-size: 17px;
    line-height: 1.85;
}

.single-default-content > *:first-child {
    margin-top: 0;
}

.single-default-content p {
    margin: 0 0 18px;
}

.single-default-content h2,
.single-default-content h3,
.single-default-content h4 {
    color: var(--xtr-green);
    font-family: var(--xtr-font-heading);
    line-height: 1.32;
}

.single-default-content h2 {
    margin-top: 36px;
    font-size: 32px;
}

.single-default-content h3 {
    margin-top: 30px;
    font-size: 25px;
}

.single-default-content h4 {
    margin-top: 24px;
    font-size: 21px;
}

.single-default-content a {
    color: var(--xtr-red);
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.single-default-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px 0;
    border-radius: 18px;
}

.single-default-content blockquote {
    margin: 28px 0;
    padding: 22px 24px;
    border-left: 4px solid var(--xtr-gold);
    border-radius: 0 18px 18px 0;
    background: #fff7ed;
    color: #7c2d12;
    font-family: var(--xtr-font-heading);
    font-style: italic;
}

.single-default-content ul,
.single-default-content ol {
    padding-left: 24px;
    margin-bottom: 22px;
}

.single-default-content li + li {
    margin-top: 8px;
}

/* Tags */
.single-tags {
    padding: 0 38px 34px;
    color: #64748b;
    font-size: 14px;
}

.single-tags strong {
    color: var(--xtr-green-dark);
}

.single-tags a {
    display: inline-flex;
    margin: 6px 5px 0 0;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(4, 57, 39, 0.08);
    color: var(--xtr-green);
    font-weight: 800;
}

/* Sidebar bài thường */
.single-common-sidebar {
    position: sticky;
    top: 118px;
}

/* Responsive */
@media (max-width: 1080px) {
    .single-default-layout {
        grid-template-columns: 1fr;
    }

    .single-common-sidebar {
        position: static;
    }
}

@media (max-width: 720px) {
    .single-default-hero {
        padding: 38px 0 28px;
    }

    .single-default-hero p {
        font-size: 16px;
    }

    .single-default-featured__image {
        border-radius: 22px;
    }

    .single-default-content {
        padding: 26px 20px;
        font-size: 16px;
    }

    .single-default-content h2 {
        font-size: 27px;
    }

    .single-default-content h3 {
        font-size: 23px;
    }

    .single-tags {
        padding: 0 20px 26px;
    }
}

/* ==================================================
   REVIEW SIDEBAR JS STICKY FALLBACK
   --------------------------------------------------
   Ghim sidebar bài Review bằng JS khi CSS sticky không hoạt động ổn định.
   Chỉ áp dụng desktop, mobile/tablet vẫn để sidebar hiển thị tự nhiên.
================================================== */

.single-review-layout {
    position: relative;
    align-items: start;
    overflow: visible !important;
}

.single-review-sidebar {
    position: relative;
    align-self: start;
    overflow: visible !important;
}

.single-review-sidebar__sticky {
    overflow: visible;
}

/* Khi JS kích hoạt trạng thái fixed */
.single-review-sidebar__sticky.is-fixed {
    position: fixed;
    z-index: 20;
}

/* Khi sidebar chạy đến cuối vùng nội dung */
.single-review-sidebar__sticky.is-bottom {
    position: absolute;
    z-index: 20;
}

/* ==================================================
   XTR COMMENTS
   --------------------------------------------------
   Giao diện bình luận dùng chung cho:
   - Toplist
   - Review
   - Cẩm nang
================================================== */

.single-comments-section {
    padding: 30px 0 0;
    background: #f8fafc;
}

.xtr-comments {
    max-width: 820px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 10px 30px rgba(2, 31, 21, 0.045);
}

/* Header bình luận */
.xtr-comments__head {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.xtr-comments__head > span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 11px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: rgba(212, 163, 115, 0.14);
    color: #b45309;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.xtr-comments__head h2 {
    margin: 0;
    color: var(--xtr-green);
    font-family: var(--xtr-font-heading);
    font-size: 26px;
    line-height: 1.3;
}

.xtr-comments__head p {
    max-width: 620px;
    margin: 9px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
}

/* Danh sách bình luận */
.xtr-comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    gap: 16px;
}

.xtr-comment-list .children {
    list-style: none;
    margin: 14px 0 0 56px;
    padding: 0;
    display: grid;
    gap: 14px;
}

.xtr-comment-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.xtr-comment-card__avatar img {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    object-fit: cover;
}

.xtr-comment-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.xtr-comment-card__head strong {
    display: block;
    color: var(--xtr-green-dark);
    font-size: 15px;
    line-height: 1.3;
}

.xtr-comment-card__head span {
    display: block;
    margin-top: 3px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
}

.xtr-comment-card__rating {
    flex: 0 0 auto;
    display: inline-flex !important;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    background: #fefce8;
    color: #ca8a04 !important;
    font-size: 12px !important;
    font-weight: 950 !important;
}

.xtr-comment-card__content {
    color: #334155;
    font-size: 14px;
    line-height: 1.7;
}

.xtr-comment-card__content p {
    margin: 0 0 10px;
}

.xtr-comment-card__content p:last-child {
    margin-bottom: 0;
}

.xtr-comment-card__waiting {
    margin: 0 0 10px;
    padding: 9px 12px;
    border-radius: 12px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 13px;
    font-weight: 750;
}

.xtr-comment-card__footer {
    margin-top: 10px;
}

.xtr-comment-card__footer a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(4, 57, 39, 0.08);
    color: var(--xtr-green);
    font-size: 12px;
    font-weight: 900;
}

.xtr-comment-card__footer a:hover {
    background: var(--xtr-green);
    color: #fff;
}

/* Form bình luận */
.xtr-comment-form-wrap {
    margin-top: 26px;
    padding: 22px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(212, 163, 115, 0.12), transparent 34%),
        #f8fafc;
    border: 1px solid #e2e8f0;
}

.xtr-comment-form__title {
    margin: 0 0 8px;
    color: var(--xtr-green);
    font-family: var(--xtr-font-heading);
    font-size: 23px;
}

.xtr-comment-form__note {
    margin: 0 0 18px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

.xtr-comment-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.xtr-comment-form p {
    margin: 0 0 14px;
}

.xtr-comment-form label {
    display: block;
    margin-bottom: 7px;
    color: var(--xtr-green-dark);
    font-size: 13px;
    font-weight: 900;
}

.xtr-comment-form input,
.xtr-comment-form textarea {
    width: 100%;
    border: 1px solid #dbe3ea;
    border-radius: 14px;
    background: #fff;
    color: #1e293b;
    font-family: var(--xtr-font-body);
    font-size: 14px;
    outline: 0;
    transition: 0.2s ease;
}

.xtr-comment-form input {
    min-height: 46px;
    padding: 0 14px;
}

.xtr-comment-form textarea {
    min-height: 132px;
    padding: 14px;
    resize: vertical;
}

.xtr-comment-form input:focus,
.xtr-comment-form textarea:focus {
    border-color: var(--xtr-gold);
    box-shadow: 0 0 0 4px rgba(212, 163, 115, 0.16);
}

.xtr-comment-form .form-submit {
    margin-bottom: 0;
}

.xtr-comment-form .submit {
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--xtr-green);
    color: #fff;
    font-family: var(--xtr-font-body);
    font-size: 14px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(4, 57, 39, 0.18);
    transition: 0.22s ease;
}

.xtr-comment-form .submit:hover {
    background: var(--xtr-red);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(185, 28, 28, 0.22);
}

/* Pagination bình luận */
.comment-navigation,
.comments-pagination {
    margin: 20px 0;
}

.comment-navigation .nav-links,
.comments-pagination .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.comment-navigation a,
.comments-pagination a {
    color: var(--xtr-green);
    font-size: 13px;
    font-weight: 900;
}

/* Responsive bình luận */
@media (max-width: 720px) {
    .xtr-comments {
        padding: 22px;
        border-radius: 22px;
    }

    .xtr-comment-form__grid {
        grid-template-columns: 1fr;
    }

    .xtr-comment-card {
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 15px;
    }

    .xtr-comment-card__avatar img {
        width: 38px;
        height: 38px;
    }

    .xtr-comment-card__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .xtr-comment-list .children {
        margin-left: 24px;
    }
}

/* ==================================================
   COMMENTS LAYOUT FIX FOR TOPLIST & GUIDE
   --------------------------------------------------
   Căn phần bình luận về bên trái, cùng trục với nội dung bài viết.
   Không để khung bình luận nằm giữa trang gây cảm giác lạc layout.
================================================== */

/* Section bình luận ở Toplist và Cẩm nang */
.single-toplist-page .single-comments-section,
.single-default-page .single-comments-section {
    padding: 42px 0 0;
    background: #f8fafc;
}

/* Khung bình luận bám về cột nội dung bên trái */
.single-toplist-page .single-comments-section .xtr-comments,
.single-default-page .single-comments-section .xtr-comments {
    width: 100%;
    max-width: 820px;
    margin-left: 0;
    margin-right: auto;
}

/* Làm box bình luận mềm và sang hơn một chút */
.single-toplist-page .xtr-comments,
.single-default-page .xtr-comments {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(212, 163, 115, 0.08), transparent 34%),
        #ffffff;
}

/* Thêm viền nhấn nhẹ bên trái cho đồng bộ phong cách editorial */
.single-toplist-page .xtr-comments::before,
.single-default-page .xtr-comments::before {
    content: "";
    position: absolute;
    left: 0;
    top: 28px;
    bottom: 28px;
    width: 4px;
    border-radius: 999px;
    background: var(--xtr-gold);
}

/* Form bình luận nhìn gọn hơn trong layout bên trái */
.single-toplist-page .xtr-comment-form-wrap,
.single-default-page .xtr-comment-form-wrap {
    background:
        radial-gradient(circle at top right, rgba(4, 57, 39, 0.05), transparent 36%),
        #f8fafc;
}

/* Riêng Review đang nằm trong cột nội dung rồi, tránh bị double-box quá nặng */
.review-comments-box .xtr-comments {
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.review-comments-box .xtr-comments::before {
    display: none;
}

/* Mobile: bình luận full chiều ngang như các block khác */
@media (max-width: 720px) {
    .single-toplist-page .single-comments-section,
    .single-default-page .single-comments-section {
        padding-top: 30px;
    }

    .single-toplist-page .single-comments-section .xtr-comments,
    .single-default-page .single-comments-section .xtr-comments {
        max-width: none;
    }

    .single-toplist-page .xtr-comments::before,
    .single-default-page .xtr-comments::before {
        top: 22px;
        bottom: 22px;
    }
}

/* ==================================================
   COMMENT REAL STAR RATING
   --------------------------------------------------
   Giao diện chọn 5 sao trong form bình luận.
================================================== */

.xtr-rating-field {
    margin: 0 0 16px;
}

.xtr-rating-field > label {
    display: block;
    margin-bottom: 8px;
    color: var(--xtr-green-dark);
    font-size: 13px;
    font-weight: 900;
}

.xtr-rating-field small {
    display: block;
    margin-top: 7px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

.xtr-star-rating {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 4px;
    padding: 9px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 20px rgba(2, 31, 21, 0.035);
}

.xtr-star-rating input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.xtr-star-rating label {
    margin: 0;
    color: #cbd5e1;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    transition: 0.18s ease;
}

/* Hover chọn sao */
.xtr-star-rating label:hover,
.xtr-star-rating label:hover ~ label {
    color: #f59e0b;
    transform: translateY(-1px);
}

/* Sao đã chọn */
.xtr-star-rating input:checked ~ label {
    color: #f59e0b;
}

/* Focus accessibility */
.xtr-star-rating input:focus-visible + label {
    outline: 2px solid var(--xtr-gold);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ==================================================
   CATEGORY REAL FILTER FORM
   --------------------------------------------------
   Style bộ lọc thật trên trang danh mục:
   - Loại bài
   - Đánh giá
   - Sắp xếp
================================================== */

.category-filter--form {
    padding: 14px;
}

.category-filter--form .category-filter__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}

.category-filter--form .category-filter__inner::-webkit-scrollbar {
    display: none;
}

.category-filter__select {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #dbe3ea;
    color: #334155;
}

.category-filter__select span {
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
}

.category-filter__select select {
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--xtr-green-dark);
    font-family: var(--xtr-font-body);
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.category-filter__submit {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--xtr-green);
    color: #fff;
    font-family: var(--xtr-font-body);
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(4, 57, 39, 0.14);
    transition: 0.22s ease;
}

.category-filter__submit:hover {
    background: var(--xtr-red);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(185, 28, 28, 0.18);
}

.category-filter--form .category-filter__clear {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    color: var(--xtr-red);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.category-filter--form .category-filter__clear:hover {
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 720px) {
    .category-filter__select {
        min-height: 40px;
    }

    .category-filter__select span {
        display: none;
    }

    .category-filter__submit {
        min-height: 40px;
    }
}

/* ==================================================
   CATEGORY FILTER FULL VERSION
   --------------------------------------------------
   Tối ưu giao diện khi có nhiều bộ lọc:
   Loại bài, Khu vực, Mức giá, Tiện ích, Đánh giá, Sắp xếp.
================================================== */

.category-filter--form .category-filter__inner {
    align-items: center;
    gap: 10px;
}

.category-filter__select {
    min-width: auto;
}

.category-filter__select select {
    max-width: 150px;
}

.category-filter__submit {
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .category-filter--form .category-filter__inner {
        align-items: stretch;
    }

    .category-filter__select {
        min-width: 160px;
    }
}

@media (max-width: 720px) {
    .category-filter--form {
        padding: 12px;
    }

    .category-filter__label {
        display: none;
    }

    .category-filter__select {
        min-width: 138px;
    }

    .category-filter__select select {
        max-width: 118px;
    }

    .category-filter__submit,
    .category-filter--form .category-filter__clear {
        min-width: max-content;
    }
}

/* ==================================================
   CATEGORY FILTER LAYOUT FIX
   --------------------------------------------------
   Tách Sắp xếp lên toolbar phía trên.
   Bộ lọc chính chỉ còn:
   Loại bài, Khu vực, Mức giá, Tiện ích, Đánh giá.
================================================== */

/* Toolbar trên: breadcrumb trái, sort phải */
.category-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

/* Form sắp xếp riêng */
.category-sort {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 13px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 8px 22px rgba(2, 31, 21, 0.04);
    color: #64748b;
    font-size: 13px;
}

.category-sort label {
    color: #64748b;
    font-weight: 800;
    white-space: nowrap;
}

.category-sort select {
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--xtr-green-dark);
    font-family: var(--xtr-font-body);
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

/* Filter chính: cho phép xuống dòng đẹp thay vì kéo dài che hết */
.category-filter--form .category-filter__inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    overflow: visible;
}

/* Mỗi ô filter gọn hơn */
.category-filter__select {
    min-height: 42px;
    padding: 0 11px;
}

.category-filter__select select {
    max-width: 138px;
}

/* Nút áp dụng và xóa tất cả nằm cùng hàng */
.category-filter__submit,
.category-filter--form .category-filter__clear {
    min-height: 42px;
}

/* Tablet */
@media (max-width: 1024px) {
    .category-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-sort {
        width: fit-content;
    }

    .category-filter--form .category-filter__inner {
        align-items: stretch;
    }

    .category-filter__select {
        min-width: 158px;
    }
}

/* Mobile */
@media (max-width: 720px) {
    .category-toolbar {
        gap: 14px;
    }

    .category-sort {
        width: 100%;
        justify-content: space-between;
        border-radius: 14px;
    }

    .category-filter--form {
        padding: 12px;
    }

    .category-filter--form .category-filter__inner {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .category-filter__label {
        display: none;
    }

    .category-filter__select {
        width: 100%;
        min-width: 0;
        justify-content: space-between;
    }

    .category-filter__select span {
        display: none;
    }

    .category-filter__select select {
        width: 100%;
        max-width: none;
    }

    .category-filter__submit {
        grid-column: 1 / -1;
        width: 100%;
    }

    .category-filter--form .category-filter__clear {
        grid-column: 1 / -1;
        justify-content: center;
        width: 100%;
    }
}


/* ==================================================
   ADVANCED SEARCH PAGE
   --------------------------------------------------
   Style trang tìm kiếm nâng cao.
================================================== */

.search-page {
    background: #f8fafc;
}

/* Hero */
.search-hero {
    padding: 62px 0 42px;
    background:
        radial-gradient(circle at top left, rgba(212, 163, 115, 0.14), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.search-hero__inner {
    max-width: 900px;
    text-align: center;
}

.search-hero__label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 13px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(212, 163, 115, 0.16);
    color: #b45309;
    border: 1px solid rgba(212, 163, 115, 0.34);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.search-hero h1 {
    margin: 0;
    color: var(--xtr-green);
    font-family: var(--xtr-font-heading);
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.16;
    letter-spacing: -0.8px;
}

.search-hero p {
    max-width: 720px;
    margin: 16px auto 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.75;
}

/* Main search input */
.search-main-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    max-width: 720px;
    margin: 28px auto 0;
    padding: 8px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 16px 42px rgba(2, 31, 21, 0.08);
}

.search-main-form input {
    min-height: 50px;
    border: 0;
    outline: 0;
    padding: 0 18px;
    background: transparent;
    color: #1e293b;
    font-family: var(--xtr-font-body);
    font-size: 15px;
}

.search-main-form button {
    min-height: 50px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: var(--xtr-green);
    color: #fff;
    font-family: var(--xtr-font-body);
    font-size: 14px;
    font-weight: 950;
    cursor: pointer;
    transition: 0.22s ease;
}

.search-main-form button:hover {
    background: var(--xtr-red);
    transform: translateY(-1px);
}

/* Filter */
.search-filter-section {
    padding: 0 0 28px;
    background: #f8fafc;
}

.search-filter-form {
    padding: 14px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 8px 28px rgba(2, 31, 21, 0.04);
}

.search-filter-form__inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.search-filter-form label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 11px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #dbe3ea;
}

.search-filter-form label span {
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
}

.search-filter-form select {
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--xtr-green-dark);
    font-family: var(--xtr-font-body);
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    max-width: 145px;
}

.search-filter-form button {
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--xtr-green);
    color: #fff;
    font-family: var(--xtr-font-body);
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(4, 57, 39, 0.14);
    transition: 0.22s ease;
}

.search-filter-form button:hover {
    background: var(--xtr-red);
    transform: translateY(-1px);
}

.search-filter-form a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    color: var(--xtr-red);
    font-size: 13px;
    font-weight: 900;
}

.search-filter-form a:hover {
    text-decoration: underline;
}

/* Results */
.search-results-section {
    padding: 14px 0 80px;
    background: #f8fafc;
}

.search-results-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.search-results-head h2 {
    margin: 0;
    color: var(--xtr-green);
    font-family: var(--xtr-font-heading);
    font-size: 30px;
}

.search-results-head p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.search-results-head strong {
    color: var(--xtr-red);
}

.search-no-results {
    max-width: 680px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    text-align: center;
    box-shadow: 0 10px 30px rgba(2, 31, 21, 0.045);
}

.search-no-results h2 {
    margin: 0;
    color: var(--xtr-green);
    font-family: var(--xtr-font-heading);
    font-size: 30px;
}

.search-no-results p {
    margin: 12px 0 22px;
    color: #64748b;
}

.search-no-results a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--xtr-green);
    color: #fff;
    font-weight: 900;
}

/* Responsive */
@media (max-width: 720px) {
    .search-hero {
        padding: 42px 0 32px;
    }

    .search-main-form {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .search-main-form button {
        width: 100%;
    }

    .search-filter-form__inner {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-filter-form label {
        width: 100%;
        justify-content: space-between;
    }

    .search-filter-form label span {
        display: none;
    }

    .search-filter-form select {
        width: 100%;
        max-width: none;
    }

    .search-filter-form button,
    .search-filter-form a {
        grid-column: 1 / -1;
        width: 100%;
        justify-content: center;
    }

    .search-results-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ==================================================
   HERO ADVANCED SEARCH
   --------------------------------------------------
   Nâng cấp form search trang chủ:
   - Từ khóa
   - Khu vực
   - Chuyên mục
   - Nút tìm kiếm
================================================== */

.hero-search--advanced {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 210px 210px auto;
    align-items: center;
    gap: 10px;
}

/* Giữ các ô select gọn, không phá hero */
.hero-search--advanced .hero-search__select {
    min-width: 0;
}

.hero-search--advanced .hero-search__select select {
    width: 100%;
}

/* Mobile/tablet: form tự xuống dòng đẹp */
@media (max-width: 1024px) {
    .hero-search--advanced {
        grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
    }

    .hero-search--advanced .hero-search__field {
        grid-column: 1 / -1;
    }

    .hero-search--advanced button {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .hero-search--advanced {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .hero-search--advanced .hero-search__field,
    .hero-search--advanced .hero-search__select,
    .hero-search--advanced button {
        width: 100%;
    }
}

/* ==================================================
   SEARCH PAGE WIDTH FIX
   --------------------------------------------------
   Fix lỗi trang kết quả tìm kiếm bị co hẹp chiều rộng.
   Áp dụng riêng cho body class search của WordPress.
================================================== */ 

/* Ép toàn bộ trang search trở lại full width */
body.search,
body.search #page,
body.search .site,
body.search .site-main,
body.search .site-header,
body.search .site-footer {
    width: 100%;
    max-width: none;
}

/* Container chuẩn cho trang search */ 
body.search .xtr-container {
    width: min(1180px, calc(100% - 32px));
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
} 

/* Hero search không bị co quá nhỏ */
body.search .search-hero__inner {
    width: min(920px, calc(100% - 32px));
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

/* Filter và kết quả giữ đúng chiều ngang */
body.search .search-filter-section .xtr-container,
body.search .search-results-section .xtr-container {
    width: min(1180px, calc(100% - 32px));
    max-width: 1180px;
}

/* Grid kết quả tìm kiếm hiển thị rộng như trang danh mục */
body.search .search-post-grid,
body.search .category-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

/* Footer trên trang search không bị co lại */
body.search .site-footer,
body.search .footer-section,
body.search footer {
    width: 100%;
    max-width: none;
}

/* Responsive */
@media (max-width: 1024px) {
    body.search .search-post-grid,
    body.search .category-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    body.search .xtr-container,
    body.search .search-hero__inner,
    body.search .search-filter-section .xtr-container,
    body.search .search-results-section .xtr-container {
        width: min(100% - 24px, 100%);
    }

    body.search .search-post-grid,
    body.search .category-post-grid {
        grid-template-columns: 1fr;
    }
} 

/* ==================================================
   LEAD LANDING PAGES
   --------------------------------------------------
   Dùng cho:
   - Đăng bài đánh giá
   - Đăng ký đối tác
================================================== */

.xtr-lead-page {
    background: #f8fafc;
}

/* Hero */
.xtr-lead-hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0 66px;
    background:
        radial-gradient(circle at top left, rgba(212, 163, 115, 0.16), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.xtr-lead-hero--partner {
    background:
        radial-gradient(circle at top right, rgba(185, 28, 28, 0.09), transparent 34%),
        radial-gradient(circle at top left, rgba(212, 163, 115, 0.15), transparent 36%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.xtr-lead-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 420px;
    gap: 42px;
    align-items: center;
}

.xtr-lead-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 13px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(212, 163, 115, 0.16);
    color: #b45309;
    border: 1px solid rgba(212, 163, 115, 0.34);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.xtr-lead-hero h1 {
    max-width: 820px;
    margin: 0;
    color: var(--xtr-green);
    font-family: var(--xtr-font-heading);
    font-size: clamp(38px, 5.6vw, 66px);
    line-height: 1.08;
    letter-spacing: -1px;
}

.xtr-lead-hero p {
    max-width: 720px;
    margin: 20px 0 0;
    color: #64748b;
    font-size: 17px;
    line-height: 1.78;
}

.xtr-lead-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.xtr-lead-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 950;
    transition: 0.22s ease;
}

.xtr-lead-btn--primary {
    background: var(--xtr-red);
    color: #fff;
    box-shadow: 0 14px 34px rgba(185, 28, 28, 0.22);
}

.xtr-lead-btn--primary:hover {
    background: var(--xtr-green);
    color: #fff;
    transform: translateY(-2px);
}

.xtr-lead-btn--ghost {
    background: #fff;
    color: var(--xtr-green);
    border: 1px solid var(--xtr-border);
    box-shadow: 0 10px 26px rgba(2, 31, 21, 0.05);
}

.xtr-lead-btn--ghost:hover {
    background: var(--xtr-green);
    color: #fff;
    border-color: var(--xtr-green);
}

/* Hero card */
.xtr-lead-hero__card {
    padding: 28px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(212, 163, 115, 0.12), transparent 38%),
        #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 18px 46px rgba(2, 31, 21, 0.08);
}

.xtr-lead-hero__card strong {
    display: block;
    margin-bottom: 16px;
    color: var(--xtr-green);
    font-family: var(--xtr-font-heading);
    font-size: 24px;
}

.xtr-lead-hero__card ul {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.xtr-lead-hero__card li {
    padding: 13px 14px;
    border-radius: 16px;
    background: #f8fafc;
    color: #334155;
    font-size: 14px;
    font-weight: 750;
}

/* Sections */
.xtr-lead-section {
    padding: 72px 0;
    background: #f8fafc;
}

.xtr-lead-heading {
    max-width: 820px;
    margin: 0 auto 34px;
    text-align: center;
}

.xtr-lead-heading span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: rgba(4, 57, 39, 0.08);
    color: var(--xtr-green);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.xtr-lead-heading h2 {
    margin: 0;
    color: var(--xtr-green);
    font-family: var(--xtr-font-heading);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.18;
}

.xtr-lead-heading p {
    max-width: 720px;
    margin: 15px auto 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.75;
}

/* Benefits */
.xtr-lead-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.xtr-lead-benefits--six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.xtr-lead-benefits article {
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 8px 26px rgba(2, 31, 21, 0.04);
    transition: 0.22s ease;
}

.xtr-lead-benefits article:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(2, 31, 21, 0.08);
}

.xtr-lead-benefits article > span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 16px;
    background: #fff7ed;
    font-size: 24px;
}

.xtr-lead-benefits h3 {
    margin: 0;
    color: var(--xtr-green-dark);
    font-family: var(--xtr-font-heading);
    font-size: 21px;
    line-height: 1.3;
}

.xtr-lead-benefits p {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
}

/* Dark section partner */
.xtr-lead-section--dark {
    background: var(--xtr-green);
    color: #fff;
}

.xtr-lead-heading--light span {
    background: rgba(255, 255, 255, 0.12);
    color: var(--xtr-gold);
}

.xtr-lead-heading--light h2,
.xtr-lead-heading--light p {
    color: #fff;
}

.xtr-partner-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.xtr-partner-values div {
    padding: 26px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.xtr-partner-values strong {
    color: var(--xtr-gold);
    font-family: var(--xtr-font-heading);
    font-size: 28px;
}

.xtr-partner-values h3 {
    margin: 12px 0 8px;
    color: #fff;
    font-family: var(--xtr-font-heading);
    font-size: 23px;
}

.xtr-partner-values p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.65;
}

/* Form layout */
.xtr-lead-section--form {
    padding-top: 78px;
}

.xtr-lead-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 30px;
    align-items: start;
}

.xtr-lead-panel,
.xtr-lead-form-card {
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 10px 30px rgba(2, 31, 21, 0.045);
}

.xtr-lead-panel {
    position: sticky;
    top: 118px;
    padding: 30px;
}

.xtr-lead-panel h2,
.xtr-lead-form-card h2 {
    margin: 0;
    color: var(--xtr-green);
    font-family: var(--xtr-font-heading);
    font-size: 32px;
    line-height: 1.22;
}

.xtr-lead-panel p,
.xtr-lead-form-card > p {
    margin: 13px 0 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.72;
}

.xtr-lead-steps {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.xtr-lead-steps div {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 13px;
    align-items: start;
    padding: 14px;
    border-radius: 18px;
    background: #f8fafc;
}

.xtr-lead-steps strong {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--xtr-green);
    color: #fff;
    font-family: var(--xtr-font-heading);
}

.xtr-lead-steps p {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
}

.xtr-lead-note {
    margin-top: 22px;
    padding: 16px;
    border-radius: 18px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #7c2d12;
    font-size: 14px;
    line-height: 1.65;
}

.xtr-lead-note strong {
    color: #9a3412;
}

.xtr-lead-form-card {
    padding: 30px;
}

/* Fluent Forms inside lead pages */
.xtr-lead-form-card .fluentform {
    margin-top: 22px;
}

.xtr-lead-form-card .ff-el-group {
    margin-bottom: 16px;
}

.xtr-lead-form-card .ff-el-form-control {
    border-radius: 14px !important;
    border-color: #dbe3ea !important;
    min-height: 46px;
    font-family: var(--xtr-font-body);
}

.xtr-lead-form-card textarea.ff-el-form-control {
    min-height: 120px;
}

.xtr-lead-form-card .ff-btn-submit {
    min-height: 48px;
    padding: 0 24px !important;
    border-radius: 999px !important;
    background: var(--xtr-red) !important;
    border: 0 !important;
    color: #fff !important;
    font-weight: 950 !important;
    box-shadow: 0 12px 28px rgba(185, 28, 28, 0.18);
}

.xtr-lead-form-card .ff-btn-submit:hover {
    background: var(--xtr-green) !important;
}

/* Responsive */
@media (max-width: 1080px) {
    .xtr-lead-hero__inner,
    .xtr-lead-layout {
        grid-template-columns: 1fr;
    }

    .xtr-lead-panel {
        position: static;
    }

    .xtr-lead-benefits,
    .xtr-lead-benefits--six,
    .xtr-partner-values {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .xtr-lead-hero {
        padding: 52px 0 44px;
    }

    .xtr-lead-hero__actions {
        flex-direction: column;
    }

    .xtr-lead-btn {
        width: 100%;
    }

    .xtr-lead-section {
        padding: 52px 0;
    }

    .xtr-lead-benefits,
    .xtr-lead-benefits--six,
    .xtr-partner-values {
        grid-template-columns: 1fr;
    }

    .xtr-lead-panel,
    .xtr-lead-form-card,
    .xtr-lead-hero__card {
        padding: 22px;
        border-radius: 22px;
    }

    .xtr-lead-steps div {
        grid-template-columns: 1fr;
    }
}

/* ==================================================
   PARTNER CTA BUTTON FIX
   --------------------------------------------------
   Fix nút trong block CTA cuối bài:
   - Đăng bài đánh giá ngay
   - Đăng ký đối tác

   Lý do:
   HTML mới dùng class partner-cta__btn,
   cần CSS tương ứng để nút không bị mất giao diện.
================================================== */

.partner-cta__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.partner-cta__btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 22px;
    border-radius: 999px;
    font-family: var(--xtr-font-body);
    font-size: 14px;
    font-weight: 950;
    line-height: 1;
    text-decoration: none !important;
    transition: 0.24s ease;
    white-space: nowrap;
}

.partner-cta__btn--primary {
    background: var(--xtr-red);
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(185, 28, 28, 0.24);
}

.partner-cta__btn--primary:hover {
    background: #fff;
    color: var(--xtr-green-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(255, 255, 255, 0.18);
}

.partner-cta__btn--secondary {
    background: #fff;
    color: var(--xtr-green-dark) !important;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 28px rgba(255, 255, 255, 0.12);
}

.partner-cta__btn--secondary:hover {
    background: var(--xtr-gold);
    color: var(--xtr-green-dark) !important;
    border-color: var(--xtr-gold);
    transform: translateY(-2px);
}

/* Nếu block CTA đang dùng nền xanh đậm thì căn lại khoảng cách cho đẹp */
.partner-cta {
    overflow: hidden;
}

@media (max-width: 720px) {
    .partner-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .partner-cta__btn {
        width: 100%;
    }
}

/* ==================================================
   SINGLE PARTNER CTA BUTTON FINAL FIX
   --------------------------------------------------
   Fix chắc chắn nút CTA cuối bài viết:
   - Đăng bài đánh giá ngay
   - Đăng ký đối tác

   Áp dụng theo class cha .single-partner-cta để tránh bị CSS cũ ghi đè.
================================================== */

.single-partner-cta .partner-cta__actions {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    margin-top: 28px !important;
}

.single-partner-cta .partner-cta__actions a.partner-cta__btn {
    min-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0 24px !important;
    border-radius: 999px !important;
    font-family: var(--xtr-font-body) !important;
    font-size: 14px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    border: 0 !important;
    white-space: nowrap !important;
    transition: 0.24s ease !important;
}

.single-partner-cta .partner-cta__actions a.partner-cta__btn--primary {
    background: var(--xtr-red) !important;
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(185, 28, 28, 0.28) !important;
}

.single-partner-cta .partner-cta__actions a.partner-cta__btn--primary:hover {
    background: #fff !important;
    color: var(--xtr-green-dark) !important;
    transform: translateY(-2px) !important;
}

.single-partner-cta .partner-cta__actions a.partner-cta__btn--secondary {
    background: #fff !important;
    color: var(--xtr-green-dark) !important;
    border: 1px solid rgba(255, 255, 255, 0.75) !important;
    box-shadow: 0 12px 28px rgba(255, 255, 255, 0.12) !important;
}

.single-partner-cta .partner-cta__actions a.partner-cta__btn--secondary:hover {
    background: var(--xtr-gold) !important;
    color: var(--xtr-green-dark) !important;
    border-color: var(--xtr-gold) !important;
    transform: translateY(-2px) !important;
}

@media (max-width: 720px) {
    .single-partner-cta .partner-cta__actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .single-partner-cta .partner-cta__actions a.partner-cta__btn {
        width: 100% !important;
    }
}

/* ==================================================
   GLOBAL PARTNER CTA
   --------------------------------------------------
   CTA dùng chung toàn site:
   - Trang chủ
   - Trang danh mục
   - Chi tiết bài viết

   Dùng class riêng xtr-global-cta để tránh xung đột
   với các CTA cũ như partner-cta / single-partner-cta.
================================================== */

.xtr-global-cta {
    padding: 40px 0;
    background: #f8fafc;
}

.xtr-global-cta__box {
    position: relative;
    overflow: hidden;
    max-width: 980px;
    margin: 0 auto;
    padding: 54px 34px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top left, rgba(212, 163, 115, 0.16), transparent 34%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.08), transparent 32%),
        var(--xtr-green-dark);
    color: #fff;
    text-align: center;
    box-shadow: 0 24px 60px rgba(2, 31, 21, 0.18);
}

.xtr-global-cta__box::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.08), transparent 44%),
        radial-gradient(circle at center, rgba(255,255,255,0.04), transparent 40%);
    pointer-events: none;
}

.xtr-global-cta__pattern {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 1px dashed rgba(212, 163, 115, 0.38);
    border-radius: 999px;
    pointer-events: none;
}

.xtr-global-cta__pattern--left {
    left: -70px;
    bottom: -70px;
}

.xtr-global-cta__pattern--right {
    right: -70px;
    top: -70px;
}

.xtr-global-cta__content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
}

.xtr-global-cta__label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 13px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(212, 163, 115, 0.16);
    color: var(--xtr-gold);
    border: 1px solid rgba(212, 163, 115, 0.34);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.xtr-global-cta h2 {
    max-width: 720px;
    margin: 0 auto;
    color: var(--xtr-gold);
    font-family: var(--xtr-font-heading);
    font-size: clamp(30px, 4.4vw, 48px);
    line-height: 1.16;
    letter-spacing: -0.5px;
}

.xtr-global-cta p {
    max-width: 720px;
    margin: 16px auto 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 15.5px;
    line-height: 1.8;
}

.xtr-global-cta__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.xtr-global-cta__btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 24px;
    border-radius: 999px;
    font-family: var(--xtr-font-body);
    font-size: 14px;
    font-weight: 950;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    transition: 0.24s ease;
}

.xtr-global-cta__btn--primary {
    background: var(--xtr-red);
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(185, 28, 28, 0.28);
}

.xtr-global-cta__btn--primary:hover {
    background: #fff;
    color: var(--xtr-green-dark) !important;
    transform: translateY(-2px);
}

.xtr-global-cta__btn--secondary {
    background: #fff;
    color: var(--xtr-green-dark) !important;
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 12px 28px rgba(255, 255, 255, 0.12);
}

.xtr-global-cta__btn--secondary:hover {
    background: var(--xtr-gold);
    color: var(--xtr-green-dark) !important;
    border-color: var(--xtr-gold);
    transform: translateY(-2px);
}

@media (max-width: 720px) {
    .xtr-global-cta {
        padding: 44px 0;
    }

    .xtr-global-cta__box {
        padding: 38px 22px;
        border-radius: 24px;
    }

    .xtr-global-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .xtr-global-cta__btn {
        width: 100%;
    }
}

/* ==================================================
   HEADER CTA BUTTON FIX
   --------------------------------------------------
   Nút "Đăng ký đối tác" trên header.
   Tách riêng khỏi CTA dưới trang để tránh xung đột CSS.
================================================== */

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-header__actions .header-cta {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--xtr-red);
    color: #fff !important;
    font-family: var(--xtr-font-body);
    font-size: 14px;
    font-weight: 950;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(185, 28, 28, 0.22);
    transition: 0.24s ease;
}

.site-header__actions .header-cta:hover {
    background: var(--xtr-green);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(4, 57, 39, 0.2);
}

/* Mobile: có thể ẩn CTA nếu header bị chật, chỉ giữ nút menu */
/*@media (max-width: 860px) {
    .site-header__actions .header-cta {
        display: none;
    }
} */

/* ==================================================
   FRONTEND AD BANNERS
   --------------------------------------------------
   Style banner quảng cáo theo vị trí.
================================================== */

.xtr-ad-slot {
    position: relative;
    width: 100%;
    max-width: 1180px;
    margin: 28px auto;
    overflow: hidden;
    border-radius: 22px;
    background: #f1f5f9;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 10px 30px rgba(2, 31, 21, 0.05);
}

.xtr-ad-slot__label {
    position: absolute;
    z-index: 2;
    left: 12px;
    top: 12px;
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.58);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.xtr-ad-slot__link,
.xtr-ad-slot__image {
    display: block;
}

.xtr-ad-slot img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: 0.28s ease;
}

.xtr-ad-slot__link:hover img {
    transform: scale(1.015);
}

/* Trang chủ - Sau Hero */
.xtr-ad-slot--home_after_hero img {
    aspect-ratio: 1180 / 240;
}

/* Trang chủ - Trước Footer */
.xtr-ad-slot--home_before_footer img,
.xtr-ad-slot--global_footer img {
    aspect-ratio: 1180 / 190;
}

/* Danh mục */
.xtr-ad-slot--category_top img {
    aspect-ratio: 1180 / 220;
}

.xtr-ad-slot--category_before_cta img {
    aspect-ratio: 1180 / 190;
}

/* Bài viết - Sidebar */
.xtr-ad-slot--single_sidebar {
    margin: 0 0 20px;
    border-radius: 18px;
}

.xtr-ad-slot--single_sidebar img {
    aspect-ratio: 336 / 280;
}

/* Bài viết - Trong/cạnh nội dung */
.xtr-ad-slot--single_after_content {
    max-width: 780px;
}

.xtr-ad-slot--single_after_content img {
    aspect-ratio: 780 / 200;
}

.xtr-ad-slot--single_before_related img {
    aspect-ratio: 1180 / 200;
}

/* Mobile */
@media (max-width: 720px) {
    .xtr-ad-slot {
        margin: 22px auto;
        border-radius: 18px;
    }

    .xtr-ad-slot--home_after_hero img,
    .xtr-ad-slot--home_before_footer img,
    .xtr-ad-slot--category_top img,
    .xtr-ad-slot--category_before_cta img,
    .xtr-ad-slot--single_before_related img,
    .xtr-ad-slot--global_footer img {
        aspect-ratio: 16 / 7;
    }

    .xtr-ad-slot--single_after_content img {
        aspect-ratio: 16 / 7;
    }

    .xtr-ad-slot--single_sidebar img {
        aspect-ratio: 4 / 3;
    }
}

/* ==================================================
   SINGLE AFTER CONTENT AD SPACING
   --------------------------------------------------
   Căn khoảng cách banner sau nội dung bài viết.
================================================== */

.single-default-article .xtr-ad-slot--single_after_content,
.single-toplist-page .xtr-ad-slot--single_after_content,
.single-review-page .xtr-ad-slot--single_after_content {
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Banner nằm trong card trắng thì bỏ shadow quá nặng cho gọn */
.single-default-article .xtr-ad-slot--single_after_content,
.single-review-page .xtr-ad-slot--single_after_content {
    box-shadow: 0 8px 22px rgba(2, 31, 21, 0.045);
}

/* ==================================================
   SETTINGS LOGO DISPLAY
   --------------------------------------------------
   Logo lấy từ Xứ Thanh Settings.
================================================== */

.site-brand__logo img {
    display: block;
    max-height: 54px;
    width: auto;
}

.site-footer__logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
}

.site-footer__logo img {
    display: block;
    max-height: 74px;
    width: auto;
}

.site-footer__brand a {
    color: inherit;
}

@media (max-width: 720px) {
    .site-brand__logo img {
        max-height: 46px;
    }

    .site-footer__logo img {
        max-height: 64px;
    }
}

/* ==================================================
   LOGO SIZE REBALANCE
   --------------------------------------------------
   Cân lại logo header/footer cho logo tỉ lệ ngang 1200x608.
================================================== */

/* Header: tăng vùng chứa logo để logo rõ hơn */
.site-brand {
    display: inline-flex;
    align-items: center;
    min-width: 210px;
}

.site-brand__logo {
    display: inline-flex;
    align-items: center;
}

.site-brand__logo img {
    display: block;
    width: auto;
    max-width: 270px;
    max-height: 100px;
    object-fit: contain;
}

/* Nếu header hơi chật, giữ menu không bị ép quá mạnh */
.site-header__inner {
    min-height: 86px;
}

/* Footer: logo cần nổi bật hơn trên nền ảnh */
.site-footer__logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
}

.site-footer__logo img {
    display: block;
    width: auto;
    max-width: 240px;
    max-height: 108px;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

/* Tăng độ rõ cho khối thương hiệu footer */
.site-footer__brand {
    max-width: 310px;
}

.site-footer__brand p {
    line-height: 1.75;
}

/* Tablet */
@media (max-width: 1024px) {
    .site-brand {
        min-width: 180px;
    }

    .site-brand__logo img {
        max-width: 180px;
        max-height: 60px;
    }

    .site-header__inner {
        min-height: 78px;
    }

    .site-footer__logo img {
        max-width: 220px;
        max-height: 96px;
    }
}

/* Mobile */
@media (max-width: 720px) {
    .site-brand {
        min-width: auto;
    }

    .site-brand__logo img {
        max-width: 220px;
        max-height: 65px;
    }

    .site-header__inner {
        min-height: 70px;
    }

    .site-footer__logo img {
        max-width: 190px;
        max-height: 82px;
    }
}

/* ==================================================
   FOOTER SOCIALS & TRUST BADGES
   --------------------------------------------------
   Social icon + DMCA / Bộ Công Thương trong footer.
================================================== */

.site-footer__socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.site-footer__socials a {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none !important;
    transition: 0.24s ease;
}

.site-footer__socials a:hover {
    background: var(--xtr-red);
    border-color: var(--xtr-red);
    transform: translateY(-2px);
}

.site-footer__socials span {
    display: block;
    color: inherit;
    font-size: 18px;
    font-weight: 950;
    line-height: 1;
}

.site-footer__trust-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.site-footer__trust-badges a,
.site-footer__trust-badges span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 5px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: 0.24s ease;
}

.site-footer__trust-badges a:hover {
    transform: translateY(-2px);
    background: #fff;
}

.site-footer__trust-badges img {
    display: block;
    max-width: 128px;
    max-height: 42px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Mobile */
@media (max-width: 720px) {
    .site-footer__socials {
        justify-content: flex-start;
    }

    .site-footer__socials a {
        width: 40px;
        height: 40px;
    }

    .site-footer__trust-badges img {
        max-width: 116px;
        max-height: 40px;
    }
}

/* ==================================================
   STICKY SIDEBAR SUPPORT
   --------------------------------------------------
   Hỗ trợ JS sticky sidebar cho bài viết.
================================================== */

.js-sticky-sidebar {
    will-change: top, left;
}

.js-sticky-sidebar-placeholder {
    width: 100%;
}

@media (max-width: 980px) {
    .js-sticky-sidebar {
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: auto !important;
    }

    .js-sticky-sidebar-placeholder {
        display: none !important;
    }
}

/* ==================================================
   CATEGORY BREADCRUMB FIX
================================================== */

.xtr-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
}

.xtr-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: 0.2s ease;
}

.xtr-breadcrumb a:hover {
    color: var(--xtr-green-dark);
}

.xtr-breadcrumb span {
    color: #94a3b8;
}

.xtr-breadcrumb__current {
    color: var(--xtr-green-dark) !important;
    font-weight: 800;
}

/* ==================================================
   HEADER DROPDOWN MENU FIX
   --------------------------------------------------
   Fix menu phân cấp trong header:
   - Menu cha hiển thị ngang
   - Menu con ẩn mặc định
   - Hover menu cha thì xổ dropdown xuống
================================================== */

/* Menu desktop */
.site-nav__menu {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__menu li {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__menu > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--xtr-green, #334155);
    font-size: 15px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.22s ease;
}

.site-nav__menu > li > a:hover {
    color: var(--xtr-green-dark, #043927);
}

/* Dropdown cấp 2 */
.site-nav__menu .sub-menu {
    position: absolute;
    z-index: 999;
    top: 100%;
    left: 50%;
    min-width: 230px;
    margin: 0;
    padding: 10px;
    list-style: none;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(2, 31, 21, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(12px);
    transition: 0.22s ease;
}

/* Hiện dropdown khi hover */
.site-nav__menu li:hover > .sub-menu,
.site-nav__menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Item trong dropdown */
.site-nav__menu .sub-menu li {
    display: block;
    width: 100%;
}

.site-nav__menu .sub-menu a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 12px;
    color: #334155;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.35;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.2s ease;
}

.site-nav__menu .sub-menu a:hover {
    background: rgba(4, 57, 39, 0.06);
    color: var(--xtr-green-dark, #043927);
}

/* Dropdown cấp 3 nếu sau này có */
.site-nav__menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    transform: translateX(12px) translateY(0);
}

.site-nav__menu .sub-menu li:hover > .sub-menu,
.site-nav__menu .sub-menu li:focus-within > .sub-menu {
    transform: translateX(0) translateY(0);
}

/* Thêm mũi tên nhỏ cho menu có con */
.site-nav__menu > .menu-item-has-children > a::after {
    content: "▾";
    margin-left: 6px;
    font-size: 10px;
    opacity: 0.7;
}

/* ==================================================
   MOBILE MENU NESTED FIX
   --------------------------------------------------
   Trên mobile, menu con hiển thị dạng thụt vào,
   không dùng absolute dropdown.
================================================== */

@media (max-width: 980px) {
    .site-nav__menu {
        display: none;
    }

    .mobile-nav__menu {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .mobile-nav__menu li {
        list-style: none;
    }

    .mobile-nav__menu .sub-menu {
        position: static;
        display: block;
        margin: 6px 0 8px 14px;
        padding: 8px 0 8px 12px;
        border-left: 2px solid rgba(212, 163, 115, 0.45);
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .mobile-nav__menu .sub-menu a {
        display: block;
        padding: 8px 0;
        font-size: 14px;
        font-weight: 750;
    }

    .mobile-nav__menu .menu-item-has-children > a::after {
        content: "▾";
        margin-left: 6px;
        font-size: 10px;
        opacity: 0.7;
    }
}

/* ==================================================
   CATEGORY FILTER COMPACT FINAL
   --------------------------------------------------
   Fix riêng cho bộ lọc category.php hiện tại:
   .category-filter
   .category-filter__inner
   .category-filter__select
================================================== */

.category-filter.category-filter--form {
    margin: 18px 0 28px;
    padding: 0 !important;
}

.category-filter .category-filter__inner {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    width: 100%;
    padding: 18px 18px !important;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 12px 34px rgba(2, 31, 21, 0.045);
    overflow: visible;
}

.category-filter .category-filter__label {
    flex: 0 0 auto;
    margin-right: 2px;
    color: var(--xtr-green-dark);
    font-size: 14px;
    font-weight: 950;
    white-space: nowrap;
}

.category-filter .category-filter__select {
    flex: 0 1 auto;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    height: 42px;
    margin: 0 !important;
    padding: 0 10px !important;
    border: 1px solid #dbe3ea;
    border-radius: 13px;
    background: #f8fafc;
    white-space: nowrap;
}

.category-filter .category-filter__select > span {
    flex: 0 0 auto;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.category-filter .category-filter__select select {
    width: auto !important;
    min-width: 74px !important;
    max-width: 118px !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 0 24px 0 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #0f172a;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

/* Khu vực và Tiện ích thường dài hơn một chút */
.category-filter .category-filter__select select[name="area"],
.category-filter .category-filter__select select[name="amenity"] {
    max-width: 132px !important;
}

/* Nút áp dụng */
.category-filter .category-filter__submit {
    flex: 0 0 auto;
    height: 42px !important;
    min-width: 112px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    white-space: nowrap;
}

/* Link xóa lọc */
.category-filter .category-filter__clear {
    flex: 0 0 auto;
    color: var(--xtr-red);
    font-size: 13px;
    font-weight: 950;
    text-decoration: none;
    white-space: nowrap;
}

.category-filter .category-filter__clear:hover {
    text-decoration: underline;
}

/* Màn hình nhỏ hơn thì cho xuống dòng gọn */
@media (max-width: 1180px) {
    .category-filter .category-filter__inner {
        flex-wrap: wrap !important;
    }
}

/* Mobile */
@media (max-width: 720px) {
    .category-filter .category-filter__inner {
        align-items: stretch !important;
        flex-direction: column !important;
    }

    .category-filter .category-filter__select {
        width: 100% !important;
        justify-content: space-between !important;
    }

    .category-filter .category-filter__select select {
        max-width: none !important;
        width: 70% !important;
    }

    .category-filter .category-filter__submit,
    .category-filter .category-filter__clear {
        width: 100% !important;
        text-align: center;
    }
}

/* ==================================================
   MOBILE HEADER CTA
   --------------------------------------------------
   Hiển thị nút Đăng ký đối tác trên mobile,
   nằm giữa logo và nút menu.
================================================== */

@media (max-width: 860px) {
    .site-header__inner {
        gap: 10px;
    }

    .site-header__actions {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
    }

    .site-header__actions .header-cta {
        display: inline-flex !important;
        min-height: 36px;
        padding: 0 12px;
        border-radius: 999px;
        background: var(--xtr-red);
        color: #fff !important;
        font-size: 12px;
        font-weight: 900;
        line-height: 1;
        white-space: nowrap;
        box-shadow: 0 8px 18px rgba(185, 28, 28, 0.18);
    }

    .mobile-menu-toggle {
        flex: 0 0 auto;
    }
}

/* Màn hình rất nhỏ: rút gọn chữ để không vỡ header */
@media (max-width: 420px) {
    .site-header__actions .header-cta {
        max-width: 96px;
        padding: 0 10px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* ==================================================
   PAGE: TOPLIST THANH HOA
================================================== */

.toplist-page {
    background: #f8fafc;
}

.toplist-hero {
    position: relative;
    padding: 38px 0 54px;
    background:
        radial-gradient(circle at top right, rgba(212, 163, 115, 0.22), transparent 34%),
        linear-gradient(135deg, #043927 0%, #075e43 100%);
    color: #fff;
    overflow: hidden;
}

.toplist-breadcrumb {
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.78);
}

.toplist-breadcrumb a {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
}

.toplist-breadcrumb strong {
    color: var(--xtr-gold);
}

.toplist-hero__content {
    max-width: 840px;
}

.toplist-hero__label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 13px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(212, 163, 115, 0.16);
    color: var(--xtr-gold);
    border: 1px solid rgba(212, 163, 115, 0.34);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.toplist-hero h1 {
    margin: 0;
    color: #fff;
    font-family: var(--xtr-font-heading);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.08;
}

.toplist-hero p {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.8;
}

.toplist-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.toplist-hero__stats div {
    min-width: 150px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.toplist-hero__stats strong {
    display: block;
    color: var(--xtr-gold);
    font-size: 26px;
    line-height: 1;
}

.toplist-hero__stats span {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 800;
}

.toplist-filter-section {
    position: relative;
    z-index: 2;
    margin-top: -28px;
}

.toplist-filter {
    margin: 0;
}

.toplist-filter__inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 18px 42px rgba(2, 31, 21, 0.09);
}

.toplist-filter__label {
    color: var(--xtr-green-dark);
    font-size: 14px;
    font-weight: 950;
    white-space: nowrap;
}

.toplist-filter__select {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 10px;
    border-radius: 13px;
    background: #f8fafc;
    border: 1px solid #dbe3ea;
}

.toplist-filter__select span {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.toplist-filter__select select {
    min-width: 100px;
    max-width: 150px;
    height: 38px;
    border: 0;
    background: transparent;
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
    box-shadow: none;
}

.toplist-filter__submit {
    height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--xtr-red);
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
}

.toplist-filter__clear {
    color: var(--xtr-red);
    font-size: 13px;
    font-weight: 950;
    text-decoration: none;
}

.toplist-content-section {
    padding: 44px 0 34px;
}

.toplist-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.toplist-card {
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 12px 34px rgba(2, 31, 21, 0.05);
    transition: 0.24s ease;
}

.toplist-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 46px rgba(2, 31, 21, 0.09);
}

.toplist-card__thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e2e8f0;
    text-decoration: none;
}

.toplist-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.28s ease;
}

.toplist-card:hover .toplist-card__thumb img {
    transform: scale(1.035);
}

.toplist-card__thumb > span {
    display: grid;
    place-items: center;
    height: 100%;
    color: #64748b;
    font-weight: 900;
}

.toplist-card__badge {
    position: absolute;
    left: 14px;
    top: 14px;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    background: var(--xtr-red);
    color: #fff;
    font-size: 11px;
    font-weight: 950;
}

.toplist-card__body {
    padding: 20px;
}

.toplist-card__meta-top a {
    color: var(--xtr-green);
    font-size: 12px;
    font-weight: 950;
    text-decoration: none;
    text-transform: uppercase;
}

.toplist-card h2 {
    margin: 8px 0 0;
    font-family: var(--xtr-font-heading);
    font-size: 21px;
    line-height: 1.28;
}

.toplist-card h2 a {
    color: var(--xtr-green-dark);
    text-decoration: none;
}

.toplist-card h2 a:hover {
    color: var(--xtr-red);
}

.toplist-card p {
    margin: 12px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.toplist-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    color: #475569;
    font-size: 13px;
    font-weight: 850;
}

.toplist-card__meta strong {
    color: #d97706;
}

.toplist-card__readmore {
    display: inline-flex;
    margin-top: 16px;
    color: var(--xtr-red);
    font-size: 13px;
    font-weight: 950;
    text-decoration: none;
}

.toplist-pagination {
    margin-top: 34px;
}

.toplist-pagination ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.toplist-pagination a,
.toplist-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    color: var(--xtr-green-dark);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.toplist-pagination .current {
    background: var(--xtr-green-dark);
    color: #fff;
    border-color: var(--xtr-green-dark);
}

.toplist-seo-section {
    padding: 20px 0 58px;
}

.toplist-seo-box {
	width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 45px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 12px 34px rgba(2, 31, 21, 0.045);
}

.toplist-seo-box h2 {
    margin: 0;
    color: var(--xtr-green-dark);
    font-family: var(--xtr-font-heading);
    font-size: 30px;
    line-height: 1.25;
}

.toplist-seo-box p {
    margin: 16px 0 0;
    color: #475569;
    font-size: 15.5px;
    line-height: 1.9;
}

.toplist-seo-box strong {
    color: var(--xtr-green-dark);
    font-weight: 950;
}

@media (max-width: 1024px) {
    .toplist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .toplist-hero {
        padding: 28px 0 44px;
    }

    .toplist-filter__inner {
        align-items: stretch;
        flex-direction: column;
    }

    .toplist-filter__select,
    .toplist-filter__submit,
    .toplist-filter__clear {
        width: 100%;
    }

    .toplist-filter__select {
        justify-content: space-between;
    }

    .toplist-filter__select select {
        max-width: none;
        width: 70%;
    }

    .toplist-grid {
        grid-template-columns: 1fr;
    }

    .toplist-seo-box {
        padding: 24px;
    }
	.toplist-seo-box {
        padding: 24px;
    }

    .toplist-seo-box p {
        font-size: 15px;
        line-height: 1.85;
    }
}

/* ==================================================
   DEFAULT PAGE TEMPLATE
   --------------------------------------------------
   Dùng cho trang Giới thiệu, Liên hệ, Chính sách...
================================================== */

.default-page {
    background: #f8fafc;
}

.default-page-hero {
    padding: 34px 0 46px;
    background:
        radial-gradient(circle at top right, rgba(212, 163, 115, 0.18), transparent 34%),
        linear-gradient(135deg, #043927 0%, #075e43 100%);
    color: #fff;
}

.default-page-breadcrumb {
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.78);
}

.default-page-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.default-page-breadcrumb strong {
    color: var(--xtr-gold);
}

.default-page-hero__content {
    max-width: 820px;
}

.default-page-hero__label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 13px;
    margin-bottom: 15px;
    border-radius: 999px;
    background: rgba(212, 163, 115, 0.16);
    color: var(--xtr-gold);
    border: 1px solid rgba(212, 163, 115, 0.34);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.default-page-hero h1 {
    margin: 0;
    color: #fff;
    font-family: var(--xtr-font-heading);
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.12;
}

.default-page-hero p {
    max-width: 720px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.8;
}

.default-page-content-section {
    padding: 44px 0 64px;
}

.default-page-card {
	width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 38px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 14px 38px rgba(2, 31, 21, 0.055);
}

.default-page-featured {
    overflow: hidden;
    margin-bottom: 28px;
    border-radius: 22px;
}

.default-page-featured img {
    display: block;
    width: 100%;
    height: auto;
}

.default-page-content {
    color: #334155;
    font-size: 16px;
    line-height: 1.9;
}

.default-page-content > *:first-child {
    margin-top: 0;
}

.default-page-content h2,
.default-page-content h3,
.default-page-content h4 {
    color: var(--xtr-green-dark);
    font-family: var(--xtr-font-heading);
    line-height: 1.3;
}

.default-page-content h2 {
    margin-top: 34px;
    font-size: 30px;
}

.default-page-content h3 {
    margin-top: 28px;
    font-size: 24px;
}

.default-page-content p {
    margin: 16px 0 0;
}

.default-page-content a {
    color: var(--xtr-red);
    font-weight: 800;
    text-decoration: none;
}

.default-page-content a:hover {
    text-decoration: underline;
}

.default-page-content ul,
.default-page-content ol {
    margin: 16px 0 0;
    padding-left: 22px;
}

.default-page-content li {
    margin: 7px 0;
}

.default-page-content blockquote {
    margin: 24px 0;
    padding: 18px 22px;
    border-left: 4px solid var(--xtr-gold);
    border-radius: 16px;
    background: #fff7ed;
    color: #7c2d12;
    font-weight: 700;
}

.default-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
}

@media (max-width: 720px) {
    .default-page-hero {
        padding: 28px 0 38px;
    }

    .default-page-content-section {
        padding: 30px 0 48px;
    }

    .default-page-card {
        padding: 24px;
        border-radius: 22px;
    }

    .default-page-content {
        font-size: 15px;
        line-height: 1.85;
    }
}

/* ==================================================
   CONTACT PAGE CONTENT
   --------------------------------------------------
   Style nội dung trang Liên hệ.
================================================== */

.xtr-contact-page {
    display: grid;
    gap: 34px;
}

.xtr-contact-intro {
	width: 100%;
    max-width: 1180px;
}

.xtr-contact-intro h2,
.xtr-contact-purpose h2,
.xtr-contact-form-content h2 {
    margin: 0;
    color: var(--xtr-green-dark);
    font-family: var(--xtr-font-heading);
    font-size: 32px;
    line-height: 1.25;
}

.xtr-contact-intro p,
.xtr-contact-purpose p,
.xtr-contact-form-content p,
.xtr-contact-form-placeholder p {
    color: #475569;
    font-size: 16px;
    line-height: 1.85;
}

.xtr-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.xtr-contact-card {
    padding: 24px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid var(--xtr-border);
}

.xtr-contact-card span {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 16px;
    background: #fff7ed;
    font-size: 24px;
}

.xtr-contact-card h3 {
    margin: 0;
    color: var(--xtr-green-dark);
    font-size: 20px;
}

.xtr-contact-card p {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 14.5px;
    line-height: 1.75;
}

.xtr-contact-card a {
    display: inline-flex;
    margin-top: 14px;
    color: var(--xtr-red);
    font-weight: 950;
    text-decoration: none;
}

.xtr-contact-purpose {
    padding: 30px;
    border-radius: 26px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.xtr-contact-purpose-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.xtr-contact-purpose-grid div {
    padding: 20px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(154, 52, 18, 0.08);
}

.xtr-contact-purpose-grid h3 {
    margin: 0;
    color: #7c2d12;
    font-size: 18px;
}

.xtr-contact-purpose-grid p {
    margin: 10px 0 0;
    font-size: 14.5px;
}

.xtr-contact-form-box {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 24px;
    align-items: start;
    padding: 30px;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(212, 163, 115, 0.16), transparent 34%),
        #f8fafc;
    border: 1px solid var(--xtr-border);
}

.xtr-contact-note {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff;
    color: #475569;
    line-height: 1.75;
}

.xtr-contact-note a {
    color: var(--xtr-red);
    font-weight: 950;
    text-decoration: none;
}

.xtr-contact-form-placeholder {
    padding: 24px;
    border-radius: 22px;
    background: #fff;
    border: 1px dashed #cbd5e1;
}

.xtr-contact-form-placeholder p:first-child {
    margin-top: 0;
    color: var(--xtr-green-dark);
}

@media (max-width: 900px) {
    .xtr-contact-grid,
    .xtr-contact-purpose-grid,
    .xtr-contact-form-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .xtr-contact-purpose,
    .xtr-contact-form-box {
        padding: 22px;
        border-radius: 22px;
    }

    .xtr-contact-card {
        padding: 20px;
    }

    .xtr-contact-intro h2,
    .xtr-contact-purpose h2,
    .xtr-contact-form-content h2 {
        font-size: 26px;
    }
}

/* ==================================================
   TOPBAR LATEST NEWS TICKER
   --------------------------------------------------
   Hiển thị bài viết mới nhất trên topbar.
================================================== */

.site-topbar__news {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.site-topbar__badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 4px;
    background: var(--xtr-gold, #d4a373);
    color: #043927;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.site-topbar__ticker {
    position: relative;
    overflow: hidden;
    max-width: 520px;
    white-space: nowrap;
}

.site-topbar__ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    animation: xtrTopbarTicker 28s linear infinite;
}

.site-topbar__ticker-track:hover {
    animation-play-state: paused;
}

.site-topbar__ticker-track a {
    position: relative;
    color: #fff;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

.site-topbar__ticker-track a:hover {
    color: var(--xtr-gold, #d4a373);
}

.site-topbar__ticker-track a::after {
    content: "•";
    position: absolute;
    right: -14px;
    color: rgba(255, 255, 255, 0.45);
}

@keyframes xtrTopbarTicker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Nếu người dùng bật giảm chuyển động */
@media (prefers-reduced-motion: reduce) {
    .site-topbar__ticker-track {
        animation: none;
    }
}

/* Mobile: giữ gọn, tránh vỡ header */
@media (max-width: 720px) {
    .site-topbar__ticker {
        max-width: 260px;
    }

    .site-topbar__ticker-track {
        animation-duration: 22s;
    }

    .site-topbar__ticker-track a {
        font-size: 13px;
    }
}

/* ==================================================
   SINGLE AUTHOR BOX
   --------------------------------------------------
   Hộp tác giả cuối bài viết.
================================================== */

.single-author-box {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    /*margin: 10px 0;*/
    padding: 24px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(212, 163, 115, 0.14), transparent 34%),
        #fff;
    border: 1px solid var(--xtr-border);
    box-shadow: 0 12px 34px rgba(2, 31, 21, 0.045);
}

.single-author-box__avatar {
    width: 88px;
    height: 88px;
    overflow: hidden;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.single-author-box__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-author-box__label {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    margin-bottom: 8px;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.single-author-box h2 {
    margin: 0;
    color: var(--xtr-green-dark);
    font-family: var(--xtr-font-heading);
    font-size: 24px;
    line-height: 1.25;
}

.single-author-box p {
    margin: 10px 0 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.8;
}

.single-author-box__link {
    display: inline-flex;
    margin-top: 14px;
    color: var(--xtr-red);
    font-size: 14px;
    font-weight: 950;
    text-decoration: none;
}

.single-author-box__link:hover {
    text-decoration: underline;
}

@media (max-width: 720px) {
    .single-author-box {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 22px;
    }

    .single-author-box__avatar {
        width: 76px;
        height: 76px;
        border-radius: 20px;
    }

    .single-author-box h2 {
        font-size: 22px;
    }
}

/* ==================================================
   SINGLE POST TAGS
   --------------------------------------------------
   Hiển thị tag/từ khóa cuối bài viết.
================================================== */

.single-post-tags {
    margin: 15px 0;
    padding: 22px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid var(--xtr-border);
}

.single-post-tags__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--xtr-green-dark);
    font-size: 15px;
    font-weight: 950;
}

.single-post-tags__head span {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #fff7ed;
    font-size: 15px;
}

.single-post-tags__list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.single-post-tags__list a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #fff;
    color: #475569;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    transition: 0.22s ease;
}

.single-post-tags__list a:hover {
    background: var(--xtr-green-dark);
    border-color: var(--xtr-green-dark);
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 720px) {
    .single-post-tags {
        padding: 18px;
        border-radius: 18px;
    }

    .single-post-tags__list a {
        min-height: 30px;
        font-size: 12.5px;
    }
}