﻿/*
Theme Name: TN Digi Solution
Theme URI: https://tndigi.com
Author: TN Digi Solution
Author URI: https://tndigi.com
Description: Đáp ứng mọi nhu cầu - giao diện website chuyên nghiệp, tối ưu SEO, thân thiện với Google, phù hợp cho người mới bắt đầu và chuyên gia.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: az-ai-theme
Tags: thiết kế website chuẩn SEO, tối ưu Google, index nhanh, tối ưu tốc độ, responsive, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ---------------------------------------------------
   AZ AI Theme - Blue Green Design System
   Primary: #8c4d20  Dark: #111111  BG: #F7F7F7
--------------------------------------------------- */
/* CSS custom properties - single source of truth */
:root {
    --main-col:             #8c4d20;
    --secon-color:          #4caf50;
    --dpl-primary:          #8c4d20;
    --dpl-primary-dark:     #1a2e3b;
    --dpl-primary-light:    #e8f2fc;
    --dpl-secondary:        #4caf50;
    --dpl-secondary-light:  #e8f5e9;
    --dpl-bg:               #F7F7F7;
    --dpl-surface:          #FFFFFF;
    --dpl-surface-low:      #e8f2fc;
    --dpl-text:             #181818;
    --dpl-text-muted:       #4A4A4A;
    --dpl-border:           rgba(17,17,17,.12);
    --dpl-shadow:           rgba(17,17,17,.10);
}

/* ---------------------------------------------------
   Global Typography - Font Size Customization
--------------------------------------------------- */
/* Toàn bộ thẻ p, li, span: 16px */
p, li, span,b {
    font-size: 16px !important;
}

/* Thẻ h2: 20px */
h2 {
    font-size: 20px !important;
}

/* Thẻ h3: 18px */
h3 {
    font-size: 18px !important;
}

/* Thẻ h4: 16px */
h4 {
    font-size: 16px !important;
}

html, body {
    max-width: 100%;
}
body {
    font-family: 'Inter', sans-serif;
    background: var(--dpl-bg);
    min-height: 100vh;
    color: var(--dpl-text);
    overflow-x: clip; /* clip không tạo scroll container, không phá sticky */
}
.single-post article {
    padding: 10px;
}
.single-post .dpl-prose a {
    color: blue;
}
/* Glass panel - white/blue tint (replaces dark glass) */
.glass-panel {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--dpl-border);
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--dpl-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px var(--dpl-shadow);
}

/* Text gradient � blue tones */
.text-gradient {
    background: linear-gradient(to right, #111111, #8c4d20);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card with blue accent border */
.neon-border-card {
    position: relative;
    background: #FFFFFF;
    border-radius: 1rem;
    z-index: 1;
    border: 1px solid var(--dpl-border);
    transition: all 0.3s ease;
}

.neon-border-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: 1.05rem;
    background: linear-gradient(to bottom right, #8c4d20, #111111, rgba(255,255,255,0) 60%);
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

.neon-border-card:hover {
    border-color: var(--dpl-secondary);
    box-shadow: 0 0 20px rgba(0, 151, 167, 0.15);
    transform: translateY(-5px);
}

.neon-border-card:hover::before {
    opacity: 0.5;
}

.pricing-glow {
    box-shadow: 0 0 30px rgba(0, 87, 184, 0.12);
    border: 1px solid rgba(0, 87, 184, 0.3);
}

.dashboard-glow {
    filter: drop-shadow(0 0 20px rgba(0, 87, 184, 0.2));
}

.glow-underline {
    position: relative;
    display: inline-block;
}

.glow-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8c4d20, transparent);
    border-radius: 2px;
}

.workflow-line {
    background: linear-gradient(to right, #111111, #8c4d20, #e8f2fc);
    height: 4px;
    top: 40px;
    transform: translateY(-50%);
}

/* Remove dark neon mix-blend � not needed on light bg */
.neon-icon { mix-blend-mode: normal; }
img { mix-blend-mode: normal; }

/* Legacy neon color classes ? blue equivalents */
.text-neon-blue    { color: #8c4d20; }
.text-neon-purple  { color: #111111; }
.text-neon-green   { color: #4caf50; }

.border-neon-blue   { border-color: #8c4d20; }
.border-neon-purple { border-color: #111111; }
.border-neon-green  { border-color: #4caf50; }

.hover\:text-neon-blue:hover   { color: #8c4d20; }
.hover\:text-neon-purple:hover { color: #111111; }
.hover\:text-neon-green:hover  { color: #4caf50; }

.hover\:bg-neon-blue\/10:hover   { background-color: rgba(255, 196, 0, 0.16); }
.hover\:bg-neon-purple\/10:hover { background-color: rgba(17, 17, 17, 0.08); }
.hover\:bg-neon-green\/10:hover  { background-color: rgba(229, 29, 36, 0.08); }

/* Glass panel as card (second definition � overrides above for card usage) */
.glass-panel {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--dpl-border);
    border-radius: 1rem;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

.glass-panel:hover {
    background: rgba(255, 255, 255, 0.92);
    transform: translateY(-0.25rem);
    box-shadow: 0 8px 32px var(--dpl-shadow);
}

/* Pro/featured card � blue gradient */
.pro-card {
    position: relative;
    background: linear-gradient(160deg, #111111, #8c4d20);
    border-radius: 1rem;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    z-index: 1;
    box-shadow: 0 0 0 2px transparent;
}

.pro-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    z-index: -1;
    background: linear-gradient(135deg, #111111, #8c4d20);
    border-radius: inherit;
}

.custom-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-logo {
    width: 100%;
    height: 40px;
    object-fit: cover;
}

#mobile-menu {
    transition: all 0.3s ease;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.animate-spin-slow {
    animation: spin-slow 20s linear infinite;
}

/* Remove duplicate dark overrides */
.text-gradient {
    background: linear-gradient(to right, #181818, #2d78c4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.line-clamp-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------------------------------------------------
   DPL Prose � global white-blue typography
--------------------------------------------------- */
.dpl-prose { font-family:'Inter',sans-serif; color:#0D1B2A; line-height:1.8; }
.dpl-prose h1,.dpl-prose h2,.dpl-prose h3,.dpl-prose h4,.dpl-prose h5,.dpl-prose h6 { font-family:'Manrope',sans-serif; color:#181818; font-weight:800; margin-top:2rem; margin-bottom:1rem; line-height:1.25; }
.dpl-prose h2 { font-size:1.875rem; }
.dpl-prose h3 { font-size:1.5rem; }
.dpl-prose h4 { font-size:1.25rem; }
.dpl-prose p  { color:#333333; font-size:1.0625rem; margin-bottom:1.25rem; }
.dpl-prose a  { color:#181818; font-weight:600; text-decoration:none; }
.dpl-prose a:hover { color:#2d78c4; text-decoration:underline; }
.dpl-prose strong { color:#0D1B2A; font-weight:700; }
.dpl-prose ul,.dpl-prose ol { color:#333333; padding-left:1.5rem; margin:1.25rem 0; }

/* ---------------------------------------------------
   Phuong Nam concrete cutting homepage
--------------------------------------------------- */
:root {
    --pn-black: #1a2e3b;
    --pn-ink: #202020;
    --pn-yellow: #8c4d20;
    --pn-yellow-dark: #2d78c4;
    --pn-red: #4caf50;
    --pn-soft: #f6f6f6;
    --pn-border: #dfdfdf;
}

body.home #site-header {
    position: sticky;
    top: 0;
    background: #111;
    border: 0;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .28);
}

body.home .header-inner {
    height: 70px;
    max-width: 1180px;
    padding: 0 16px;
    gap: 22px;
}

body.home #logo-wrap .custom-logo-link img,
body.home #logo-wrap img.custom-logo {
    height: 52px;
    max-width: 270px;
}

body.home .logo-fallback-icon {
    width: 52px;
    height: 52px;
    background: #111111;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.home .logo-fallback-icon span {
    color: #fff !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 900 !important;
    font-size: 20px !important;
}

body.home .logo-fallback-text {
    width: 240px;
    color: var(--pn-yellow);
    font-family: 'Manrope', Arial, sans-serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    white-space: normal;
}

body.home .logo-fallback-text::before {
    content: 'KHOAN C?T B� T�NG';
    display: block;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .4px;
}

body.home #site-nav {
    justify-content: flex-end;
    gap: 0;
}

body.home #site-nav li a {
    color: #fff;
    border-radius: 0;
    font-family: 'Manrope', Arial, sans-serif;
    font-size: 16px;
    font-weight: 900;
    padding: 26px 11px 22px;
    text-transform: uppercase;
}

body.home #site-nav li a:hover,
body.home #site-nav li.current-menu-item > a,
body.home #site-nav li.current-page-ancestor > a {
    color: var(--pn-yellow);
    background: transparent;
    box-shadow: inset 0 -3px 0 var(--pn-yellow);
}

body.home .header-actions {
    gap: 12px;
}

body.home .btn-icon {
    display: none;
}

body.home .btn-cta {
    position: relative;
    min-width: 190px;
    padding: 8px 14px 8px 48px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    color: var(--pn-yellow);
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 900;
    font-size: 25px;
    letter-spacing: .5px;
}

body.home .btn-cta::before {
    content: 'call';
    position: absolute;
    left: 0;
    top: 50%;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border-radius: 8px;
    background: var(--pn-yellow);
    color: #111;
    font-family: 'Material Symbols Outlined';
    font-size: 25px;
}

body.home .btn-cta::after {
    content: 'Hotline 24/7';
    position: absolute;
    left: 48px;
    top: 0;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0;
}

body.home #search-bar,
body.home #mobile-nav {
    background: #171717;
    border-color: rgba(255, 196, 0, .2);
}

body.home #mobile-nav li a {
    color: #fff;
}

body.home .hamburger span {
    background: #fff;
}

.pn-home {
    background: #fff;
    font-family: 'Manrope', Arial, sans-serif;
    font-size: 18px;
    overflow: hidden;
}

.pn-home p,
.pn-home li {
    font-size: 18px;
    line-height: 1.6;
}

.pn-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.pn-hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    color: #fff;
}

.pn-hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.pn-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    will-change: opacity;
}

.pn-hero-slide.active {
    opacity: 1;
}

.pn-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,.62) 35%, rgba(0,0,0,.74) 100%);
    z-index: 1;
}

.pn-hero-grid {
    position: relative;
    z-index: 1;
    display: block;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding: 46px 16px 26px 16px;
}

.pn-hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
    gap: 30px;
    align-items: center;
    padding: 48px 0 36px;
}

.pn-hero-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.pn-hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.8);
    background: rgba(255,255,255,.3);
    cursor: pointer;
    transition: all 0.25s ease;
}

.pn-hero-dot.active {
    width: 18px;
    background: rgba(255,255,255,1);
    border-color: rgba(255,255,255,1);
}

/* Prev / Next arrow buttons */
.pn-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.6);
    background: rgba(0,0,0,.25);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.pn-hero-arrow:hover {
    background: rgba(0,0,0,.55);
    border-color: rgba(255,255,255,1);
    transform: translateY(-50%) scale(1.08);
}

.pn-hero-arrow .ms {
    font-size: 28px;
    line-height: 1;
    user-select: none;
}

.pn-hero-prev {
    left: 20px;
}

.pn-hero-next {
    right: 20px;
}

@media (max-width: 768px) {
    .pn-hero-arrow {
        width: 38px;
        height: 38px;
    }
    .pn-hero-arrow .ms {
        font-size: 22px;
    }
    .pn-hero-prev { left: 10px; }
    .pn-hero-next { right: 10px; }
}

.pn-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
    gap: 30px;
    align-items: center;
    padding: 48px 0 36px;
}

.pn-hero-subtitle {
    max-width: 680px;
    margin: 22px 0 30px;
    color: rgba(255, 255, 255, .9);
    font-size: 1.05rem;
    line-height: 1.8;
}

.pn-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.pn-hero-panel {
    background: rgba(255, 255, 255, .98);
    border-radius: 28px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .18);
    padding: 34px;
    color: #111;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pn-hero-panel-label {
    display: inline-block;
    margin-bottom: 16px;
    color: #111;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.pn-hero-panel h2 {
    margin: 0 0 18px;
    font-size: clamp(28px, 3vw, 34px);
    line-height: 1.05;
}

.pn-hero-panel p {
    margin: 0 0 28px;
    color: #333;
    line-height: 1.8;
}

.pn-feature-split .pn-split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 1fr);
    gap: 34px;
    align-items: center;
}

.pn-support-grid .pn-feature-image img {
    display: block;
    width: 100%;
    height: 535px;
    object-fit: cover;
    border-radius: 20px;
}

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

.pn-cta-strip {
    padding: 0;
    margin-top: -72px;
    position: relative;
    z-index: 2;
}

.pn-cta-card {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.pn-cta-card p {
    margin: 6px 0 0;
    color: #3e4a5a;
    line-height: 1.8;
    max-width: 640px;
}

.pn-intro-section {
    padding-top: 40px;
}

.pn-intro-text {
    max-width: 840px;
    margin: 0 auto;
    color: #39404d;
    font-size: 1.05rem;
    line-height: 1.9;
}

.pn-support-layout {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(380px, 1.1fr);
    gap: 34px;
    align-items: center;
}

.pn-support-grid {
    padding-top: 56px;
    padding-bottom: 56px;
}

.pn-accordion-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pn-accordion {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
    overflow: hidden;
}

.pn-accordion-item {
    border-top: 1px solid rgba(15, 23, 42, .08);
    padding: 0 24px;
}

.pn-accordion-item:first-of-type {
    border-top: 0;
}

.pn-accordion-item summary {
    list-style: none;
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: #111;
    font-size: 1rem;
}

.pn-accordion-item summary::-webkit-details-marker {
    display: none;
}

.pn-accordion-item details[open] summary {
    color: #1a2e3b;
}

.pn-accordion-item p {
    margin: 0 0 22px;
    color: #4e5b70;
    line-height: 1.8;
}

.pn-bullet-list {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.pn-bullet-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #334155;
    line-height: 1.8;
    font-size: 1rem;
}

.pn-blue-grid-section {
    padding-top: 32px;
    padding-bottom: 32px;
}

.pn-blue-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pn-blue-card {
    border-radius: 24px;
    padding: 32px;
    background: linear-gradient(180deg, #8c4d20 0%, #2d78c4 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 260px;
}

.pn-blue-card h3 {
    margin: 0 0 18px;
    font-size: 1.7rem;
    line-height: 1.3;
}

.pn-blue-card p {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, .86);
    line-height: 1.8;
}

.pn-blue-card .pn-call-btn {
    background: rgba(255,255,255,.14);
    color: #fff;
    box-shadow: none;
}

/* -- QUOTE / CAM KET SECTION ----------------------------------------------- */
.pn-quote-band {
    padding: 72px 0 0;
    background: #f0f4f8;
    overflow: hidden;
}

.pn-quote-band .pn-support-layout {
    align-items: flex-end;
    gap: 48px;
}

/* Card tr�i � n?n xanh d?m */
.pn-quote-band .pn-quote-card {
    background: #0d2137;
    border-radius: 28px;
    padding: 48px 44px;
    color: #fff;
    box-shadow: 0 32px 80px rgba(13, 33, 55, .22);
    position: relative;
    align-self: center;
}

/* D?u ngo?c k�p trang tr� */
.pn-quote-band .pn-quote-card::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 36px;
    font-size: 8rem;
    line-height: 1;
    color: #8c4d20;
    opacity: .35;
    font-family: Georgia, serif;
    pointer-events: none;
}

.pn-quote-band .pn-quote-card h3 {
    margin: 24px 0 28px;
    font-size: 1.25rem;
    line-height: 1.75;
    font-weight: 500;
    color: #e2eaf4;
}

.pn-quote-author {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, .6);
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 20px;
}

.pn-quote-author span {
    display: block;
    margin-top: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #8c4d20;
    letter-spacing: .03em;
    text-transform: uppercase;
}

/* ?nh ph?i � nh� l�n tr�n, kh�ng b? crop */
.pn-feature-image.quote-image {
    min-height: auto;
    align-self: flex-end;
    overflow: visible;
    position: relative;
}

.pn-feature-image.quote-image img {
    display: block;
    width: 100%;
    max-width: 480px;
    height: auto;
    object-fit: contain;
    object-position: bottom center;
    margin: 0 auto;
    filter: drop-shadow(0 -8px 32px rgba(13, 33, 55, .15));
}

.pn-dark-band.pn-final-stats {
    padding: 40px 0;
}

@media (max-width: 1024px) {
    .pn-support-layout,
    .pn-blue-grid,
    .pn-hero-layout,
    .pn-grid-2col,
    .pn-focus-grid {
        grid-template-columns: 1fr;
    }

    .pn-cta-card {
        flex-direction: column;
        text-align: center;
    }

    .pn-hero-panel {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .pn-hero-grid {
        padding: 46px 20px 26px 20px;
    }
    .pn-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .pn-cta-strip {
        margin-top: -32px;
    }
    .pn-cta-card {
        width: calc(100% - 24px);
    }
    .pn-hero-layout,
    .pn-support-layout,
    .pn-focus-grid,
    .pn-grid-2col,
    .pn-blue-grid {
        gap: 18px;
    }

    /* Quote section mobile */
    .pn-quote-band {
        padding: 48px 0 0;
    }
    .pn-quote-band .pn-quote-card {
        padding: 32px 24px;
    }
    .pn-quote-band .pn-quote-card h3 {
        font-size: 1.05rem;
    }
    .pn-feature-image.quote-image img {
        max-width: 280px;
    }
}

.pn-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.pn-card-highlight {
    position: relative;
    padding: 32px;
    border-radius: 26px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .12);
}

.pn-card-tag {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 196, 0, .12);
    color: #111;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
}

.pn-dark-band {
    padding: 50px 0;
    background: #1a2e3b;
    color: #fff;
}

.pn-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    text-align: center;
}

.pn-stat-grid div {
    padding: 24px 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .1);
}

.pn-stat-grid strong {
    display: block;
    font-size: clamp(2rem, 2.5vw, 3.2rem);
    color: #fff;
    margin-bottom: 10px;
}

.pn-stat-grid small {
    color: rgba(255, 255, 255, .75);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 0.85rem;
}

.pn-focus-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.pn-feature-card {
    background: #1a2e3b;
    border-radius: 30px;
    padding: 36px;
    color: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.pn-feature-card h3 {
    margin: 0 0 18px;
    font-size: 2rem;
    line-height: 1.05;
}

.pn-feature-card p {
    margin: 0;
    color: rgba(255, 255, 255, .85);
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .pn-hero-layout,
    .pn-split-grid,
    .pn-grid-2col,
    .pn-focus-grid {
        grid-template-columns: 1fr;
    }

    .pn-hero-panel {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .pn-hero-grid {
        padding: 46px 20px 26px 20px;
    }
    
    .pn-hero h1 {
        font-size: clamp(38px, 5.5vw, 54px);
    }
    
    .pn-check-list li {
        font-size: 16px;
    }
    
    .pn-proof-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pn-kicker {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, .8);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.pn-hero h1 {
    max-width: 690px;
    margin: 0;
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 900;
    font-size: clamp(44px, 6vw, 66px);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.pn-hero h1 span {
    display: block;
    color: var(--pn-yellow);
}

.pn-hero-ribbon {
    display: inline-block;
    margin: 14px 0 16px;
    padding: 8px 22px;
    background: var(--pn-yellow);
    color: #111;
    font-size: 17px;
    font-weight: 900;
    text-transform: uppercase;
    transform: skew(-12deg);
}

.pn-check-list {
    display: grid;
    gap: 7px;
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}

.pn-check-list li,
.pn-benefit-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 18px;
}

.pn-check-list .ms,
.pn-benefit-list .ms {
    color: var(--pn-yellow);
    font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24;
}

.pn-proof-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    max-width: 610px;
}

.pn-proof-row div {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    padding: 10px 10px;
    border: 1px solid rgba(255, 196, 0, .85);
    background: rgba(0, 0, 0, .55);
}

.pn-proof-row .ms {
    grid-row: span 2;
    color: var(--pn-yellow);
    font-size: 30px;
}

.pn-proof-row strong {
    color: #fff;
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 900;
    font-size: 26px;
    line-height: 1;
}

.pn-proof-row small {
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

/* Form li�n h? cu � scope v�o .pn-lien-he d? kh�ng override .pn-quote-band */
.pn-lien-he .pn-quote-card {
    overflow: hidden;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .25);
}

.pn-lien-he .pn-quote-head {
    padding: 14px 12px 10px;
    background: var(--pn-yellow);
    color: #111;
    text-align: center;
    text-transform: uppercase;
}

.pn-lien-he .pn-quote-head strong {
    display: block;
    font-size: 22px;
    line-height: 1;
}

.pn-lien-he .pn-quote-head span {
    display: block;
    margin-top: 3px;
    font-size: 18px;
    font-weight: 700;
    text-transform: none;
}

.pn-lien-he .pn-quote-card form {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.pn-lien-he .pn-quote-card input,
.pn-lien-he .pn-quote-card textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 11px 12px;
    color: #333;
    font-family: 'Manrope', Arial, sans-serif;
    font-size: 18px;
    outline: none;
}

.pn-lien-he .pn-quote-card textarea {
    min-height: 82px;
    resize: vertical;
}

.pn-quote-card button,
.pn-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 5px;
    background: var(--pn-red);
    color: #fff;
    padding: 13px 16px;
    font-family: 'Manrope', Arial, sans-serif;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 5px 12px rgba(229, 29, 36, .28);
}

.pn-quote-card p {
    margin: 0;
    color: #ffffff;
    text-align: center;
    font-size: 18px;
}

.pn-quote-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px 18px;
    color: var(--pn-red);
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 900;
    font-size: 30px;
    text-decoration: none;
}

.pn-section {
    padding: 26px 0 22px;
}

.pn-title {
    margin: 0 0 20px;
    color: #181818;
    font-family: 'Manrope', Arial, sans-serif;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
}

.pn-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    margin: 9px auto 0;
    background: var(--pn-yellow);
}

.pn-title-left {
    text-align: left;
}

.pn-title-left::after {
    margin-left: 0;
}

.pn-title span {
    color: var(--pn-yellow-dark);
}

.pn-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pn-service-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--pn-border);
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pn-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
}

.pn-service-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.pn-service-icon {
    position: absolute;
    z-index: 2;
    top: -1px;
    left: -1px;
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 0 0 24px 0;
    background: var(--pn-yellow);
    color: #111;
}

.pn-service-card img {
    width: 100%;
    aspect-ratio: 1.32;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pn-service-card:hover img {
    transform: scale(1.05);
}

.pn-service-card div:last-child {
    padding: 20px 18px 22px;
    text-align: center;
}

.pn-service-card h3 {
    margin: 0 0 10px;
    color: #111;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.pn-service-card:hover h3 {
    color: var(--pn-yellow);
}

.pn-service-card p {
    margin: 0;
    color: #333;
    font-size: 18px;
    line-height: 1.6;
}

/* -- Services Simple Section (white bg, icon cards) -- */
.pn-services-simple {
    background: #fff;
}

.pn-services-simple-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.pn-service-simple-card {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 28px 24px 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    min-height: 220px;
}

.pn-service-simple-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.13);
}

.pn-service-simple-icon {
    position: absolute;
    top: -1px;
    left: -1px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: var(--pn-yellow);
    border-radius: 0 0 16px 0;
    color: #111;
}

.pn-service-simple-icon .ms {
    font-size: 26px;
}

.pn-service-simple-card h3 {
    margin: 52px 0 12px;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    color: #111;
    letter-spacing: .03em;
    transition: color 0.2s;
}

.pn-service-simple-card:hover h3 {
    color: var(--pn-yellow);
}

.pn-service-simple-card p {
    margin: 0;
    font-size: 15px;
    color: #555;
    line-height: 1.65;
    text-align: center;
}

/* -- Services Featured Section (dark blue bg, image cards) -- */
.pn-services-featured {
    background: #1a2e3b;
    padding-top: 60px;
    padding-bottom: 60px;
}

.pn-title-light {
    color: #fff;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    text-align: center;
    margin: 0 0 8px;
}

.pn-title-light::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #4caf50;
    margin: 12px auto 0;
    border-radius: 2px;
}

.pn-services-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.pn-service-featured-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pn-service-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.pn-service-featured-image {
    width: 100%;
    aspect-ratio: 1.55;
    overflow: hidden;
}

.pn-service-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.pn-service-featured-card:hover .pn-service-featured-image img {
    transform: scale(1.05);
}

.pn-service-featured-content {
    padding: 18px 18px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pn-service-featured-content h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: #8c4d20;
    line-height: 1.3;
}

.pn-service-featured-content p {
    margin: 0 0 18px;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    flex: 1;
}

.pn-read-more-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #8c4d20;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    align-self: flex-start;
    transition: background 0.2s ease;
}

.pn-read-more-btn:hover {
    background: #2d78c4;
    color: #fff;
}

/* Pagination bar */
.pn-services-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
    color: #fff;
    font-size: 15px;
}

.pn-pagination-prev,
.pn-pagination-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.5);
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.pn-pagination-prev:hover,
.pn-pagination-next:hover {
    background: rgba(255,255,255,.15);
    border-color: #fff;
}

.pn-pagination-prev .ms,
.pn-pagination-next .ms {
    font-size: 20px;
    line-height: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .pn-services-simple-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .pn-services-featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pn-services-simple-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pn-services-featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .pn-services-simple-grid,
    .pn-services-featured-grid {
        grid-template-columns: 1fr;
    }
}

/* -- Warehouse Section � 3-col slider -- */
.pn-warehouse-section {
    background: #f8fafc;
    padding-top: 52px;
    padding-bottom: 60px;
}

.pn-warehouse-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.pn-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8c4d20;
    margin: 0 0 8px;
}

.pn-section-kicker .ms { font-size: 18px; }

.pn-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #8c4d20;
    text-decoration: none;
    white-space: nowrap;
    transition: gap 0.2s;
}

.pn-more-link:hover { gap: 10px; color: #2d78c4; }
.pn-more-link .ms { font-size: 18px; }

.pn-wh-slider-wrap { overflow: hidden; }

.pn-wh-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pn-wh-slide-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e8edf3;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pn-wh-slide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(140,77,32,.14);
}

.pn-wh-hidden { display: none !important; }

.pn-wh-card-img {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #1a2e3b;
}

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

.pn-wh-slide-card:hover .pn-wh-card-img img { transform: scale(1.05); }

.pn-wh-gdp-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #8c4d20;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    z-index: 2;
}

.pn-wh-gdp-badge .ms { font-size: 13px; }

.pn-wh-card-body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pn-wh-card-branch {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #8c4d20;
    margin-bottom: 6px;
    display: block;
}

.pn-wh-card-body h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
    color: #1a2e3b;
}

.pn-wh-card-body h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.pn-wh-card-body h3 a:hover { color: #8c4d20; }

.pn-wh-card-body p {
    margin: 0 0 14px;
    font-size: 14px;
    color: #5a6a7a;
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pn-wh-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 13px;
    font-weight: 700;
    color: #8c4d20;
    text-decoration: none;
    transition: gap 0.2s;
    align-self: flex-start;
}

.pn-wh-detail-link:hover { gap: 7px; color: #2d78c4; }
.pn-wh-detail-link .ms { font-size: 16px; }

.pn-wh-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 24px;
}

.pn-wh-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #d0dae6;
    background: #fff;
    color: #8c4d20;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.pn-wh-nav-btn:hover:not(:disabled) {
    background: #8c4d20;
    border-color: #8c4d20;
    color: #fff;
}

.pn-wh-nav-btn:disabled { opacity: .35; cursor: default; }
.pn-wh-nav-btn .ms { font-size: 20px; }

.pn-wh-dots { display: flex; gap: 8px; align-items: center; }

.pn-wh-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: #c8d8e8;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.pn-wh-dot.active {
    background: #8c4d20;
    transform: scale(1.35);
}

@media (max-width: 768px) {
    .pn-wh-track { grid-template-columns: repeat(2, 1fr); }
    .pn-warehouse-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .pn-wh-track { grid-template-columns: 1fr; }
}

.pn-why {
    padding-top: 8px;
}

.pn-why-grid {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 48px;
    align-items: center;
}

.pn-video-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 1.6;
    background: #000;
    min-height: 300px;
}

.pn-video-thumb img {
    width: 100%;
    aspect-ratio: 1.6;
    display: block;
    object-fit: cover;
}

.pn-video-thumb iframe,
.pn-video-thumb video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pn-video-thumb button {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    border: 0;
    border-radius: 50%;
    background: var(--pn-yellow);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    z-index: 10;
}

.pn-video-thumb button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}

.pn-video-thumb .ms {
    font-size: 38px;
    font-variation-settings: 'FILL' 1, 'wght' 700, 'GRAD' 0, 'opsz' 48;
}

.pn-benefit-list {
    display: grid;
    gap: 11px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pn-benefit-list li {
    color: #202020;
    font-size: 18px;
}

.pn-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.pn-steps div {
    position: relative;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 12px;
    row-gap: 3px;
    align-items: start;
}

.pn-steps div:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 29px;
    right: -16px;
    width: 28px;
    height: 12px;
    background: linear-gradient(90deg, var(--pn-yellow), transparent);
    clip-path: polygon(0 40%, 75% 40%, 75% 0, 100% 50%, 75% 100%, 75% 60%, 0 60%);
}

.pn-steps .ms {
    grid-row: 1 / 4;
    grid-column: 1;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--pn-yellow);
    color: #111;
    font-size: 28px;
}

.pn-steps strong {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    color: #111;
    font-size: 20px;
    line-height: 1;
}

.pn-steps b {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    font-size: 16px;
    line-height: 1.15;
    text-transform: uppercase;
}

.pn-steps p {
    grid-column: 2;
    grid-row: 3;
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.35;
}

@media (min-width: 1101px) {
    .pn-steps {
        width: min(1180px, calc(100% - 32px));
    }

    .pn-steps b {
        min-height: 38px;
    }
}

.pn-projects {
    background: #f7f7f7;
}

.pn-project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pn-project-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--pn-border);
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pn-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
}

.pn-project-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.pn-project-grid img {
    width: 100%;
    aspect-ratio: 1.32;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pn-project-card:hover img {
    transform: scale(1.05);
}

.pn-project-grid h3 {
    margin: 0;
    padding: 20px 18px 22px;
    color: #111;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
    transition: color 0.3s ease;
}

.pn-project-card:hover h3 {
    color: var(--pn-yellow);
}

.pn-more {
    display: table;
    margin: 28px auto 0;
    padding: 13px 38px;
    border: 1px solid #111;
    border-radius: 2px;
    color: #111;
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.pn-counter-band {
    background: #1a2e3b;
    color: #fff;
}

.pn-counter-band .pn-shell {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.pn-counter-band div div {
    display: grid;
    grid-template-columns: 56px auto 1fr;
    gap: 12px;
    align-items: center;
    padding: 25px 20px;
    border-left: 1px solid rgba(255, 255, 255, .18);
}

.pn-counter-band div div:last-child {
    border-right: 1px solid rgba(255, 255, 255, .18);
}

.pn-counter-band .ms {
    color: var(--pn-yellow);
    font-size: 46px;
}

.pn-counter-band strong {
    color: var(--pn-yellow);
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 900;
    font-size: 38px;
    line-height: 1;
}

.pn-counter-band small {
    max-width: 110px;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
}

.pn-testimonials {
    padding-bottom: 25px;
}

.pn-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.pn-testimonial-grid article {
    position: relative;
    min-height: 118px;
    padding: 22px 22px 14px;
    border: 1px solid #e4e4e4;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .07);
}

.pn-quote-mark {
    position: absolute;
    top: 8px;
    left: 14px;
    color: var(--pn-yellow);
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.pn-testimonial-grid p {
    margin: 8px 0 12px 26px;
    color: #666;
    font-size: 18px;
    font-style: italic;
    line-height: 1.35;
}

.pn-person {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-left: 36px;
}

.pn-person img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.pn-person strong {
    display: block;
    color: #333;
    font-size: 16px;
}

.pn-person span {
    display: block;
    color: var(--pn-yellow);
    letter-spacing: 2px;
    font-size: 13px;
}

.pn-price-strip {
    background: radial-gradient(circle at 82% 10%, #5ba3e0 0, #8c4d20 34%, #2d78c4 72%);
    color: #111;
}

.pn-price-strip .pn-shell {
    display: grid;
    grid-template-columns: 305px 1fr;
    gap: 28px;
    align-items: center;
    min-height: 245px;
    padding: 22px 0;
}

.pn-price-strip img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%);
}

.pn-price-content h2 {
    margin: 0 0 16px;
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 900;
    font-size: clamp(26px, 4vw, 45px);
    line-height: 1;
    text-transform: uppercase;
}

.pn-price-content h2 span {
    color: var(--pn-red);
}

.pn-price-icons,
.pn-price-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
}

.pn-price-icons span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
}

.pn-price-icons i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 2px solid #111;
    border-radius: 50%;
    font-style: normal;
}

.pn-price-actions {
    margin-top: 16px;
    gap: 16px;
}

.pn-call-btn,
.pn-zalo-btn {
    min-width: 270px;
}

.pn-zalo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 16px;
    border-radius: 5px;
    background: #4caf50;
    color: #fff;
    font-family: 'Manrope', Arial, sans-serif;
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 5px 12px rgba(5, 173, 60, .25);
}

.pn-areas {
    position: relative;
    min-height: 145px;
    overflow: hidden;
    background: #fff;
}

.pn-areas::before {
    content: '';
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .96) 34%, rgba(255, 255, 255, .78) 58%, rgba(255, 255, 255, .16) 100%);
    pointer-events: none;
}

.pn-areas .pn-shell {
    position: relative;
    z-index: 2;
    padding: 30px 0 24px;
}

.pn-areas h2 {
    margin: 0 0 15px;
    color: #111;
    font-size: 30px;
    font-weight: 900;
    text-transform: uppercase;
}

.pn-area-list {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
}

.pn-area-list span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #111;
    font-size: 18px;
    font-weight: 700;
}

.pn-area-list .ms {
    color: var(--pn-yellow);
    font-size: 17px;
    font-variation-settings: 'FILL' 1, 'wght' 700, 'GRAD' 0, 'opsz' 20;
}

.pn-map {
    position: absolute;
    inset: 0;
    z-index: 0;
    height: auto;
    background:
        url('https://staticmap.openstreetmap.de/staticmap.php?center=10.762622,106.660172&zoom=13&size=1280x260&maptype=mapnik') right center / cover no-repeat,
        linear-gradient(135deg, #f1efe7, #e5e2d8);
    opacity: .72;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.pn-map::after {
    content: '';
    position: absolute;
    right: 18%;
    top: 25px;
    width: 38px;
    height: 38px;
    border-radius: 50% 50% 50% 0;
    background: #e3312d;
    transform: rotate(-45deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
}

.pn-map::before {
    content: '';
    position: absolute;
    z-index: 1;
    right: calc(18% + 11px);
    top: 36px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
}

@media (max-width: 1100px) {
    body.home #site-nav li a {
        font-size: 14px;
        padding-left: 7px;
        padding-right: 7px;
    }

    body.home .btn-cta {
        min-width: 150px;
        font-size: 20px;
    }

    .pn-service-grid,
    .pn-project-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pn-testimonial-grid {
        gap: 18px;
    }
}

@media (max-width: 767px) {
    body.home .header-inner {
        height: 64px;
    }

    body.home .logo-fallback-text {
        width: 180px;
        font-size: 17px;
    }

    .pn-shell {
        width: min(100% - 32px, 1180px);
    }

    .pn-hero-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        padding-top: 34px;
    }

    .pn-proof-row,
    .pn-steps,
    .pn-counter-band .pn-shell,
    .pn-testimonial-grid,
    .pn-price-strip .pn-shell {
        grid-template-columns: 1fr;
    }

    .pn-proof-row {
        max-width: none;
    }

    .pn-service-grid,
    .pn-project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pn-why-grid {
        grid-template-columns: 1fr;
    }

    .pn-steps div:not(:last-child)::after {
        display: none;
    }

    .pn-counter-band div div,
    .pn-counter-band div div:last-child {
        border-right: 0;
        border-left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    .pn-price-strip img {
        height: 190px;
        clip-path: none;
    }

    .pn-price-content {
        padding-bottom: 28px;
    }
}

@media (max-width: 520px) {
    .pn-hero h1 {
        font-size: 33px;
        line-height: 1.05;
    }

    .pn-hero-ribbon,
    .pn-benefit-list li {
        font-size: 15px;
    }
    
    .pn-check-list li {
        font-size: 15px;
        gap: 7px;
    }
    
    .pn-check-list .ms {
        font-size: 20px;
    }
    
    .pn-proof-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .pn-proof-row div {
        padding: 8px 8px;
    }
    
    .pn-proof-row .ms {
        font-size: 24px;
    }
    
    .pn-proof-row strong {
        font-size: 16px;
    }
    
    .pn-proof-row small {
        font-size: 11px;
    }

    .pn-service-grid,
    .pn-project-grid {
        grid-template-columns: 1fr;
    }

    .pn-call-btn,
    .pn-zalo-btn {
        width: 100%;
        min-width: 0;
    }
}
.dpl-prose li { margin-bottom:.5rem; font-size:1.0625rem; }
.dpl-prose ul li::marker,.dpl-prose ol li::marker { color:#181818; font-weight:700; }
.dpl-prose blockquote { border-left:4px solid #2d78c4; padding:1rem 1.25rem; color:#333333; font-style:italic; margin:1.5rem 0; background:#e8f2fc; border-radius:0 .5rem .5rem 0; }
.dpl-prose code { color:#181818; background:#e8f2fc; padding:.2rem .5rem; border-radius:.375rem; font-size:.875rem; }
.dpl-prose pre  { background:#e8f2fc; border:1px solid rgba(17,17,17,.15); border-radius:.75rem; padding:1.5rem; overflow-x:auto; margin:1.5rem 0; }
.dpl-prose img  { border-radius:.75rem; box-shadow:0 8px 32px rgba(17,17,17,.10); margin:1.5rem 0; max-width:100%; }
.dpl-prose table { width:100%; margin:1.5rem 0; border-collapse:collapse; }
.dpl-prose th { color:#181818; font-weight:700; padding:.75rem; border-bottom:2px solid rgba(17,17,17,.15); text-align:left; }
.dpl-prose td { padding:.75rem; border-top:1px solid rgba(17,17,17,.12); color:#333333; }
.dpl-prose hr { border:none; border-top:1px solid rgba(17,17,17,.10); margin:2.5rem 0; }

/* WP pagination � white-blue */
.wp-pagenavi a, .wp-pagenavi span,
.nav-links a, .nav-links span.current {
    display:inline-flex; align-items:center; justify-content:center;
    min-width:2.5rem; height:2.5rem; padding:0 1rem;
    background:#e8f2fc; border:1px solid rgba(17,17,17,.15);
    border-radius:.75rem; color:#333333; font-weight:600;
    transition:all .2s; text-decoration:none;
}
.nav-links a:hover { background:rgba(17,17,17,.10); border-color:rgba(255,196,0,.45); color:#181818; }
.nav-links span.current { background:#181818; border-color:#181818; color:#fff; }

/* -------------------------------------------
   HOMEPAGE 2.0 � AZ AI / DPL
------------------------------------------- */
.hp-page {
    color: #0d1b2a;
    overflow: hidden;
}

.hp-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.hp-hero {
    position: relative;
    padding: 28px 0 0;
    background:
        radial-gradient(circle at 10% 10%, rgba(0, 87, 184, 0.14), transparent 28%),
        radial-gradient(circle at 92% 18%, rgba(0, 151, 167, 0.12), transparent 24%),
        linear-gradient(180deg, #f5f8fc 0%, #f5f8fc 52%, #ffffff 100%);
}

.hp-hero::before,
.hp-hero::after {
    content: "";
    position: absolute;
    inset: auto;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(28px);
    opacity: 0.5;
}

.hp-hero::before {
    width: 220px;
    height: 220px;
    left: -80px;
    top: 120px;
    background: rgba(0, 87, 184, 0.12);
}

.hp-hero::after {
    width: 260px;
    height: 260px;
    right: -100px;
    bottom: 40px;
    background: rgba(0, 151, 167, 0.10);
}

.hp-hero-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 32px;
    align-items: center;
    min-height: calc(100vh - 108px);
    padding-bottom: 28px;
}

.hp-hero-copy {
    max-width: 620px;
}

.hp-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 87, 184, 0.08);
    border: 1px solid rgba(0, 87, 184, 0.12);
    color: #1a2e3b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hp-kicker .ms {
    font-size: 16px;
    color: #8c4d20;
}

.hp-eyebrow {
    margin: 18px 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #5a7a94;
}

.hp-title {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -0.045em;
    color: #1a2e3b;
}

.hp-lead {
    max-width: 560px;
    margin: 22px 0 0;
    font-size: 18px;
    line-height: 1.75;
    color: #4a6070;
}

.hp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hp-btn:hover {
    transform: translateY(-1px);
}

.hp-btn-primary {
    background: linear-gradient(135deg, #8c4d20, #4caf50);
    color: #fff;
    box-shadow: 0 18px 40px rgba(0, 87, 184, 0.22);
}

.hp-btn-primary:hover {
    box-shadow: 0 24px 48px rgba(0, 87, 184, 0.28);
}

.hp-btn-secondary {
    color: #1a2e3b;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 87, 184, 0.14);
    box-shadow: 0 8px 26px rgba(0, 87, 184, 0.06);
}

.hp-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hp-pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(0, 87, 184, 0.12);
    color: #3a5068;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 87, 184, 0.06);
}

.hp-mini-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.hp-mini-stat {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(0, 87, 184, 0.08);
    box-shadow: 0 18px 42px rgba(0, 87, 184, 0.06);
}

.hp-mini-num {
    font-family: 'Manrope', sans-serif;
    font-size: 2rem;
    line-height: 1;
    font-weight: 900;
    color: #1a2e3b;
}

.hp-mini-num span {
    color: #4caf50;
}

.hp-mini-label {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.5;
    color: #5a7a94;
}

.hp-hero-visual {
    min-width: 0;
}

.hp-carousel,
.hp-visual-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(0, 87, 184, 0.12);
    background: #1a2e3b;
    box-shadow: 0 26px 80px rgba(0, 52, 101, 0.18);
}

.hp-carousel {
    min-height: 540px;
}

.hp-carousel-stage {
    position: relative;
    min-height: 540px;
}

.hp-banner-card {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(12px) scale(0.99);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.hp-banner-card.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    z-index: 1;
}

.hp-banner-media {
    position: absolute;
    inset: 0;
}

.hp-banner-media img,
.hp-visual-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-banner-fallback {
    width: 100%;
    height: 100%;
}

.hp-banner-overlay,
.hp-visual-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 24, 39, 0.88) 0%, rgba(6, 24, 39, 0.5) 42%, rgba(6, 24, 39, 0.18) 100%),
        linear-gradient(180deg, rgba(0, 87, 184, 0.16), rgba(0, 151, 167, 0.08));
}

.hp-banner-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 540px;
    padding: 34px;
    color: #fff;
}

.hp-banner-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(130, 252, 135, 0.14);
    border: 1px solid rgba(130, 252, 135, 0.22);
    color: #a5d6a7;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hp-banner-title {
    margin: 16px 0 0;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2.3rem, 4vw, 3.6rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #fff;
    max-width: 12ch;
}

.hp-banner-sub {
    max-width: 520px;
    margin: 16px 0 0;
    font-size: 16px;
    line-height: 1.75;
    color: rgba(224, 234, 245, 0.86);
}

.hp-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hp-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hp-banner-btn:hover {
    transform: translateY(-1px);
}

.hp-banner-btn-primary {
    background: #4caf50;
    color: #1a2e3b;
}

.hp-banner-btn-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hp-carousel-controls {
    position: absolute;
    right: 22px;
    bottom: 22px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hp-carousel-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hp-carousel-nav:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.hp-carousel-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hp-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.34);
    cursor: pointer;
    padding: 0;
}

.hp-carousel-dot.is-active {
    background: #4caf50;
    transform: scale(1.2);
}

.hp-visual-stack {
    display: grid;
    gap: 14px;
}

.hp-visual-primary {
    min-height: 420px;
}

.hp-visual-media {
    position: absolute;
    inset: 0;
}

.hp-visual-meta {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    color: #fff;
}

.hp-visual-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #a5d6a7;
}

.hp-visual-title {
    margin-top: 8px;
    max-width: 14ch;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.55rem, 3vw, 2.3rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hp-visual-seal {
    width: 84px;
    height: 84px;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.hp-visual-seal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hp-visual-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.hp-visual-chip {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(0, 87, 184, 0.10);
    box-shadow: 0 14px 34px rgba(0, 87, 184, 0.06);
}

.hp-visual-chip .ms {
    color: #8c4d20;
    font-size: 24px;
}

.hp-visual-chip strong {
    display: block;
    font-size: 14px;
    color: #1a2e3b;
}

.hp-visual-chip p {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.55;
    color: #5a7a94;
}

.hp-strip {
    margin-top: -18px;
    padding: 0 0 16px;
}

.hp-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.hp-strip-card {
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 87, 184, 0.08);
    box-shadow: 0 20px 48px rgba(0, 87, 184, 0.06);
}

.hp-strip-num {
    font-family: 'Manrope', sans-serif;
    font-size: 2.1rem;
    line-height: 1;
    font-weight: 900;
    color: #1a2e3b;
}

.hp-strip-num span {
    color: #4caf50;
}

.hp-strip-label {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.55;
    color: #5a7a94;
}

.hp-section {
    padding: clamp(72px, 8vw, 112px) 0;
}

.hp-section-alt {
    background: linear-gradient(180deg, #f5f8fc 0%, #ffffff 100%);
}

.hp-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 34px;
}

.hp-section-head-center {
    justify-content: center;
    text-align: center;
}

.hp-section-head-center > div {
    max-width: 760px;
}

.hp-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8c4d20;
}

.hp-section-title {
    margin: 14px 0 0;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #1a2e3b;
}

.hp-section-lead {
    margin: 16px 0 0;
    max-width: 720px;
    font-size: 16px;
    line-height: 1.8;
    color: #4a6070;
}

.hp-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    text-decoration: none;
    color: #1a2e3b;
    font-size: 13px;
    font-weight: 800;
}

.hp-text-link:hover {
    color: #8c4d20;
}

.hp-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.hp-service-feature {
    grid-column: span 2;
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(150deg, #1a2e3b 0%, #1e3a5f 55%, #8c4d20 100%);
    color: #fff;
    box-shadow: 0 24px 64px rgba(0, 52, 101, 0.20);
}

.hp-feature-badge,
.hp-service-badge,
.hp-hub-badge,
.hp-cta-side-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hp-feature-badge {
    background: rgba(130, 252, 135, 0.14);
    border: 1px solid rgba(130, 252, 135, 0.18);
    color: #a5d6a7;
}

.hp-service-feature h3 {
    margin: 18px 0 0;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.65rem, 3vw, 2.3rem);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.hp-service-feature p {
    margin: 16px 0 0;
    font-size: 15px;
    line-height: 1.85;
    color: rgba(224, 234, 245, 0.86);
}

.hp-feature-points {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.hp-feature-points span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.hp-feature-points .ms {
    font-size: 18px;
    color: #4caf50;
}

.hp-service-card {
    padding: 18px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(0, 87, 184, 0.08);
    box-shadow: 0 20px 48px rgba(0, 87, 184, 0.05);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hp-service-card:hover,
.hp-hub-card:hover,
.hp-partner-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(0, 87, 184, 0.10);
    border-color: rgba(0, 87, 184, 0.16);
}

.hp-service-top {
    position: relative;
    margin-bottom: 14px;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(135deg, #eef5fc, #ddeeff);
    aspect-ratio: 16 / 10;
}

.hp-service-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-service-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 87, 184, 0.08);
    margin-bottom: 4px;
}

.hp-service-icon .ms {
    color: #8c4d20;
    font-size: 28px;
}

.hp-service-badge {
    margin-top: 2px;
    background: rgba(0, 151, 167, 0.08);
    border: 1px solid rgba(0, 151, 167, 0.15);
    color: #006e7a;
}

.hp-service-title {
    margin: 14px 0 0;
    font-family: 'Manrope', sans-serif;
    font-size: 1.2rem;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #1a2e3b;
}

.hp-service-title a {
    color: inherit;
    text-decoration: none;
}

.hp-service-desc {
    margin: 12px 0 0;
    font-size: 13.5px;
    line-height: 1.8;
    color: #4a6070;
    flex: 1;
}

.hp-service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: #8c4d20;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
}

.hp-service-link:hover {
    color: #4caf50;
}

.hp-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
    gap: 32px;
    align-items: center;
}

.hp-tech-list {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.hp-tech-item {
    display: flex;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(0, 87, 184, 0.08);
    box-shadow: 0 18px 40px rgba(0, 87, 184, 0.05);
}

.hp-tech-abbr {
    flex-shrink: 0;
    width: 54px;
    font-family: 'Manrope', sans-serif;
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 900;
    color: #8c4d20;
}

.hp-tech-item h3 {
    margin: 0;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 800;
    color: #1a2e3b;
}

.hp-tech-item p {
    margin: 5px 0 0;
    font-size: 13px;
    line-height: 1.7;
    color: #4a6070;
}

.hp-tech-visual {
    padding: 0;
    min-height: 520px;
}

.hp-tech-media {
    position: relative;
    min-height: 370px;
}

.hp-tech-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px 20px;
}

.hp-tech-foot strong {
    display: block;
    font-size: 15px;
    color: #1a2e3b;
}

.hp-tech-foot p {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.65;
    color: #5a7a94;
}

.hp-tech-chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(0, 151, 167, 0.08);
    color: #006e7a;
    font-size: 12px;
    font-weight: 800;
}

.hp-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hp-hub-card {
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(0, 87, 184, 0.08);
    box-shadow: 0 18px 40px rgba(0, 87, 184, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hp-hub-media {
    min-height: 220px;
    background: linear-gradient(135deg, #eef5fc, #d6e8f8);
}

.hp-hub-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-hub-fallback {
    width: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8c4d20;
}

.hp-hub-fallback .ms {
    font-size: 72px;
    opacity: 0.28;
}

.hp-hub-body {
    padding: 24px;
}

.hp-hub-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.hp-hub-top h3 {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 1.35rem;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #1a2e3b;
}

.hp-hub-badge {
    background: rgba(0, 87, 184, 0.08);
    border: 1px solid rgba(0, 87, 184, 0.10);
    color: #1a2e3b;
}

.hp-hub-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.hp-hub-metrics span {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7a90a4;
}

.hp-hub-metrics strong {
    display: block;
    margin-top: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 1.25rem;
    font-weight: 900;
    color: #1a2e3b;
}

.hp-hub-desc {
    margin: 16px 0 0;
    font-size: 13.5px;
    line-height: 1.8;
    color: #4a6070;
}

.hp-hub-location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 87, 184, 0.08);
    color: #4a6070;
    font-size: 13px;
}

.hp-hub-location .ms {
    color: #4caf50;
    font-size: 18px;
}

.hp-partner-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.hp-partner-item {
    min-height: 86px;
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(0, 87, 184, 0.08);
    box-shadow: 0 14px 32px rgba(0, 87, 184, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hp-partner-item img {
    max-height: 36px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.hp-partner-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.hp-partner-item span {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #1a2e3b;
    text-align: center;
}

.hp-cta {
    padding-bottom: 92px;
}

.hp-cta-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
    padding: 30px;
    border-radius: 30px;
    background: linear-gradient(135deg, #1a2e3b 0%, #1e3a5f 50%, #8c4d20 100%);
    color: #fff;
    box-shadow: 0 28px 84px rgba(0, 52, 101, 0.24);
}

.hp-cta-copy .hp-section-kicker,
.hp-cta-copy .hp-section-title,
.hp-cta-copy .hp-section-lead {
    color: #fff;
}

.hp-cta-copy .hp-section-lead {
    max-width: 640px;
    color: rgba(224, 234, 245, 0.86);
}

.hp-cta-side {
    display: grid;
    gap: 12px;
}

.hp-cta-side-card,
.hp-cta-side-list {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.hp-cta-side-card strong {
    display: block;
    margin-top: 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
}

.hp-cta-side-card p {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.75;
    color: rgba(224, 234, 245, 0.82);
}

.hp-cta-side-list {
    display: grid;
    gap: 10px;
}

.hp-cta-side-list span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.hp-cta-side-list .ms {
    font-size: 18px;
    color: #4caf50;
}

@media (max-width: 1100px) {
    .hp-hero-shell,
    .hp-split,
    .hp-cta-panel {
        grid-template-columns: 1fr;
    }

    .hp-mini-stats,
    .hp-strip-grid,
    .hp-partner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-service-feature {
        grid-column: span 2;
    }

    .hp-hub-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hp-shell {
        padding: 0 20px;
    }

    .hp-hero-shell {
        min-height: auto;
        padding-bottom: 10px;
    }

    .hp-title {
        font-size: clamp(2.3rem, 11vw, 3.6rem);
    }

    .hp-lead {
        font-size: 16px;
    }

    .hp-mini-stats,
    .hp-strip-grid,
    .hp-partner-grid,
    .hp-services-grid,
    .hp-visual-grid {
        grid-template-columns: 1fr;
    }

    .hp-service-feature {
        grid-column: auto;
    }

    .hp-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .hp-cta-panel {
        padding: 24px;
    }

    .hp-carousel,
    .hp-carousel-stage,
    .hp-banner-content {
        min-height: 460px;
    }

    .hp-banner-content {
        padding: 24px;
    }

    .hp-carousel-controls {
        right: 14px;
        left: 14px;
        justify-content: space-between;
    }
}

/* -------------------------------------------
   HOMEPAGE RED / GOLD OVERRIDES
------------------------------------------- */
body.home {
    background: #faf7f5;
    color: #24171a;
}

body.home #site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 120;
    background: #fff;
    border-bottom: 1px solid rgba(17,17,17,.10);
    box-shadow: 0 2px 14px rgba(17,17,17,.08);
}

body.home #site-header.scrolled {
    box-shadow: none;
}

body.home #site-header .header-inner {
    width: 100%;
    max-width: none;
    height: 78px;
    gap: 22px;
}

body.home #site-header #logo-wrap .logo-fallback-text,
body.home #site-header #logo-wrap .custom-logo-link,
body.home #site-header #logo-wrap img.custom-logo {
    color: #fff;
}

body.home #site-header #logo-wrap .custom-logo-link img,
body.home #site-header #logo-wrap img.custom-logo {
    height: 52px;
    max-width: 300px;
}

body.home #site-header #logo-wrap .logo-fallback-icon {
    width: 52px;
    height: 52px;
}

body.home #site-header #logo-wrap .logo-fallback-text {
    font-size: 24px;
}

body.home #site-header #site-nav {
    justify-content: center;
}

body.home #site-header #site-nav li a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 600;
    padding: 6px 10px;
}

body.home #site-header #site-nav li a:hover,
body.home #site-header #site-nav li.current-menu-item > a,
body.home #site-header #site-nav li.current-page-ancestor > a {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

body.home #site-header .btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #a61f26;
    color: #fff;
    box-shadow: 0 8px 24px rgba(109, 0, 24, 0.22);
    order: 2;
}

body.home #site-header .btn-icon:hover {
    background: #8d1d2c;
    color: #fff;
}

body.home #site-header .btn-cta {
    display: none;
}

body.home #site-header .az-lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    order: 1;
}

body.home #site-header .az-lang-btn {
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
}

body.home #site-header .az-lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

body.home #site-header .az-lang-btn.active {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.12);
}

body.home #site-header .az-lang-divider {
    color: rgba(255, 255, 255, 0.5);
}

body.home .home-page {
    overflow: hidden;
}

body.home .home-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 clamp(16px, 3vw, 48px);
}

body.home .home-hero {
    padding: 0;
    background: #fff;
    position: relative;
}

body.home .home-hero-slider {
    position: relative;
    width: 100%;
    height: min(100vh, 920px);
    overflow: hidden;
    background: #0e2338;
}

body.home .home-hero-slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    transition: opacity .45s ease;
    pointer-events: none;
}

body.home .home-hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

body.home .home-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.home .home-hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 25, 48, 0.12) 0%, rgba(0, 25, 48, 0.10) 36%, rgba(0, 25, 48, 0.18) 100%);
}

body.home .home-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(6px);
}

body.home .home-hero-nav:hover {
    background: rgba(255, 255, 255, 0.16);
}

body.home .home-hero-nav-prev { left: 24px; }
body.home .home-hero-nav-next { right: 24px; }

body.home .home-hero-nav .ms {
    font-size: 22px;
}

body.home .home-section {
    padding: 40px 0 32px;
    width: 100%;
}

body.home .home-section-news {
    padding-top: 28px;
    background: #f7f5f3;
}

body.home .home-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

body.home .home-section-title {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    line-height: 1.1;
    font-weight: 900;
    color: #8d1d2c;
}

body.home .home-section-title-small {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: -0.03em;
}

body.home .home-section-lead {
    max-width: 650px;
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.7;
    color: #73656a;
}

body.home .home-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8d1d2c;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

body.home .home-link .ms,
body.home .home-round-btn .ms,
body.home .home-card-link .ms,
body.home .home-expertise-image-arrow .ms {
    font-size: 18px;
}

body.home .home-expertise-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}

body.home .home-expertise-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    min-height: 180px;
    padding: 26px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(49, 18, 22, 0.03);
}

body.home .home-expertise-large {
    grid-column: span 8;
    grid-row: span 2;
    min-height: 360px;
    background: linear-gradient(135deg, #f9f7f6 0%, #ffffff 100%);
}

body.home .home-expertise-dark {
    grid-column: span 4;
    grid-row: span 2;
    min-height: 360px;
    background: #8d1d2c;
    color: #fff;
}

body.home .home-expertise-light {
    grid-column: span 4;
    border-bottom: 3px solid #d3ab57;
}

body.home .home-expertise-image {
    grid-column: span 4;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #fff;
}

body.home .home-card-badge {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 0 6px;
    margin-bottom: 20px;
    background: #f0e5cb;
    color: #7b1827;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.home .home-card-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(141, 29, 44, 0.08);
    color: #8d1d2c;
    margin-bottom: 18px;
}

body.home .home-card-icon-dark {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

body.home .home-expertise-card h3 {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    color: inherit;
}

body.home .home-expertise-card p {
    margin: 10px 0 0;
    max-width: 36ch;
    font-size: 14px;
    line-height: 1.7;
    color: inherit;
    opacity: 0.82;
}

body.home .home-card-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 22px;
    color: #8d1d2c;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

body.home .home-card-link-dark {
    color: #ffd468;
}

body.home .home-card-watermark {
    position: absolute;
    right: -20px;
    bottom: -18px;
    color: rgba(141, 29, 44, 0.08);
    font-size: 190px;
    line-height: 1;
}

body.home .home-expertise-dark .home-card-watermark {
    color: rgba(255, 255, 255, 0.08);
}

body.home .home-expertise-image img {
    min-height: 210px;
}

body.home .home-expertise-image-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 18px 20px;
}

body.home .home-expertise-image-foot strong {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #24171a;
}

body.home .home-expertise-image-foot span {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.6;
    color: #73656a;
}

body.home .home-expertise-image-arrow {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(141, 29, 44, 0.18);
    color: #8d1d2c;
    flex-shrink: 0;
}

body.home .home-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
}

body.home .home-post-card {
    background: #fff;
    box-shadow: 0 12px 30px rgba(49, 18, 22, 0.04);
}

body.home .home-post-media {
    position: relative;
    height: 220px;
    overflow: hidden;
}

body.home .home-post-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #3b4654 0%, #15202b 100%);
}

body.home .home-post-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 8px;
    background: #8d1d2c;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.home .home-post-body {
    padding: 18px 18px 22px;
}

body.home .home-post-body h3 {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
}

body.home .home-post-body a {
    color: #24171a;
    text-decoration: none;
}

body.home .home-post-body a:hover {
    color: #8d1d2c;
}

body.home .home-post-body p {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.7;
    color: #73656a;
}

body.home .home-post-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #a28b91;
    text-transform: uppercase;
}

body.home .home-round-btn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(141, 29, 44, 0.22);
    background: #fff;
    color: #8d1d2c;
}

body.home .home-cta {
    padding: 24px 0 0;
}

body.home .home-cta-inner {
    padding: 48px 24px 52px;
    text-align: center;
    background: linear-gradient(180deg, #8d1d2c 0%, #6d0018 100%);
    color: #fff;
    width: 100%;
}

body.home .home-cta-inner h2 {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.1;
    font-weight: 900;
}

body.home .home-cta-inner p {
    max-width: 620px;
    margin: 14px auto 0;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 245, 246, 0.84);
}

body.home .home-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 22px;
    padding: 0 20px;
    border-radius: 2px;
    background: #e9ca59;
    color: #6d0018;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

body.home .home-cta-btn:hover {
    background: #f0d66f;
}

/* -- Footer trang ch?: Layout gi?ng c�c trang con -- */
body.home #site-footer .ft-top {
    display: none;
}

body.home #site-footer .ft-grid {
    padding-top: 38px;
    padding-bottom: 28px;
}

body.home #site-footer .ft-inner {
    max-width: 1180px;
    padding: 0 16px;
}

@media (max-width: 1199px) {
    body.home .home-expertise-large,
    body.home .home-expertise-dark,
    body.home .home-expertise-light,
    body.home .home-expertise-image {
        grid-column: span 6;
    }

    body.home .home-post-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    body.home #site-header .header-inner {
        gap: 14px;
        height: 66px;
    }

    body.home #site-header .btn-icon {
        width: 38px;
        height: 38px;
    }

    body.home .home-hero-slider {
        height: 78vh;
    }

    body.home .home-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    body.home .home-expertise-grid,
    body.home .home-post-grid {
        grid-template-columns: 1fr;
    }

    body.home .home-expertise-large,
    body.home .home-expertise-dark,
    body.home .home-expertise-light,
    body.home .home-expertise-image {
        grid-column: span 1;
        grid-row: auto;
        min-height: auto;
    }

    body.home .home-post-media {
        height: 200px;
    }

    body.home #site-footer .ft-grid {
        padding-top: 28px;
    }

    body.home .home-shell {
        padding: 0 16px;
    }

body.home .home-hero-nav-prev { left: 14px; }
    body.home .home-hero-nav-next { right: 14px; }
}

/* Final home override: keep the Phuong Nam layout above older home-page rules. */
body.home #site-header {
    position: sticky;
    top: 0;
    background: #fff;
    border: 0;
    border-bottom: 1px solid rgba(17,17,17,.10);
    box-shadow: 0 2px 14px rgba(17,17,17,.08);
}

body.home #site-header .header-inner {
    max-width: 1180px;
    height: 70px;
    padding: 0 16px;
    gap: 22px;
}

body.home #site-header #logo-wrap .logo-fallback-icon {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.home #site-header #logo-wrap .logo-fallback-icon span {
    color: #fff !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 900 !important;
    font-size: 20px !important;
}

body.home #site-header #logo-wrap .logo-fallback-text {
    width: 240px;
    color: #8c4d20;
    font-family: 'Manrope', Arial, sans-serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    white-space: normal;
}

body.home #site-header #logo-wrap .logo-fallback-text::before {
    content: 'KHOAN C?T B� T�NG';
    display: block;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .4px;
}

body.home #site-header #site-nav {
    justify-content: flex-end;
    gap: 0;
}

body.home #site-header #site-nav li a {
    color: #111111;
    border-radius: 0;
    background: transparent;
    font-family: 'Manrope', Arial, sans-serif;
    font-size: 16px;
    font-weight: 900;
    padding: 26px 11px 22px;
    text-transform: uppercase;
}

body.home #site-header #site-nav li a:hover,
body.home #site-header #site-nav li.current-menu-item > a,
body.home #site-header #site-nav li.current-page-ancestor > a {
    color: #8c4d20;
    background: transparent;
    box-shadow: inset 0 -3px 0 #8c4d20;
}

body.home #site-header .btn-icon {
    display: none;
}

body.home #site-header .btn-cta {
    position: relative;
    min-width: 190px;
    padding: 8px 14px 8px 48px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    color: #8c4d20;
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 900;
    font-size: 25px;
    letter-spacing: .5px;
}

body.home #site-header .btn-cta::before {
    content: 'call';
    position: absolute;
    left: 0;
    top: 50%;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border-radius: 8px;
    background: #8c4d20;
    color: #111;
    font-family: 'Material Symbols Outlined';
    font-size: 25px;
}

body.home #site-header .btn-cta::after {
    content: 'Hotline 24/7';
    position: absolute;
    left: 48px;
    top: 0;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0;
}

@media (max-width: 767px) {
    body.home #site-header .header-inner {
        height: 64px;
    }

    body.home #site-header #logo-wrap .logo-fallback-text {
        width: 180px;
        font-size: 15px;
    }
}

/* ---------------------------------------------------
   Global Phuong Nam color unification for all legacy pages
--------------------------------------------------- */
body:not(.wp-admin) {
    font-family: 'Manrope', Arial, sans-serif;
    background: #f7f7f7 !important;
    color: #181818;
}

/* -- HEADER: �?ng nh?t gi?ng trang ch? (n?n den, ch? tr?ng, hover v�ng) -- */
body:not(.home) #site-header {
    position: sticky !important;
    top: 0 !important;
    background: #fff !important;
    border-bottom: 1px solid rgba(17,17,17,.10) !important;
    box-shadow: 0 2px 14px rgba(17,17,17,.08) !important;
}

body:not(.home) #site-header.scrolled {
    box-shadow: 0 4px 20px rgba(17,17,17,.12) !important;
}

body:not(.home) #site-header .header-inner {
    max-width: 1180px !important;
    height: 70px !important;
    padding: 0 16px !important;
    gap: 22px !important;
}

/* -- LOGO: Gi?ng trang ch? v?i text 2 d�ng -- */
body:not(.home) #site-header #logo-wrap .logo-fallback-icon {
    width: 52px !important;
    height: 52px !important;
    border-radius: 8px !important;
    background: #111111 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body:not(.home) #site-header #logo-wrap .logo-fallback-icon span {
    color: #fff !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 900 !important;
    font-size: 20px !important;
}

body:not(.home) #site-header #logo-wrap .logo-fallback-text {
    width: 240px !important;
    color: #8c4d20 !important;
    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
    white-space: normal !important;
}

body:not(.home) #site-header #logo-wrap .logo-fallback-text::before {
    content: 'KHOAN C?T B� T�NG' !important;
    display: block !important;
    color: #fff !important;
    font-family: Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .4px !important;
}

/* -- NAVIGATION: Gi?ng trang ch? -- */
body:not(.home) #site-header #site-nav {
    justify-content: flex-end !important;
    gap: 0 !important;
}

body:not(.home) #site-header #site-nav li a {
    color: #111111 !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-family: 'Manrope', Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    padding: 26px 11px 22px !important;
    text-transform: uppercase !important;
}

body:not(.home) #site-header #site-nav li a:hover,
body:not(.home) #site-header #site-nav li.current-menu-item > a,
body:not(.home) #site-header #site-nav li.current-page-ancestor > a {
    color: #8c4d20 !important;
    background: transparent !important;
    box-shadow: inset 0 -3px 0 #8c4d20 !important;
}

/* -- BUTTON CTA: Gi?ng trang ch? v?i icon phone -- */
body:not(.home) #site-header .btn-icon {
    display: none !important;
}

body:not(.home) #site-header .btn-cta {
    position: relative !important;
    min-width: 190px !important;
    padding: 8px 14px 8px 48px !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    color: #8c4d20 !important;
    font-family: 'Manrope', Arial, sans-serif !important;
    font-weight: 900 !important;
    font-size: 25px !important;
    letter-spacing: .5px !important;
}

body:not(.home) #site-header .btn-cta::before {
    content: 'call' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    width: 38px !important;
    height: 38px !important;
    display: grid !important;
    place-items: center !important;
    transform: translateY(-50%) !important;
    border-radius: 8px !important;
    background: #8c4d20 !important;
    color: #111 !important;
    font-family: 'Material Symbols Outlined' !important;
    font-size: 25px !important;
}

body:not(.home) #site-header .btn-cta::after {
    content: 'Hotline 24/7' !important;
    position: absolute !important;
    left: 48px !important;
    top: 0 !important;
    color: #fff !important;
    font-family: Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

/* -- SEARCH & MOBILE NAV -- */
body:not(.home) #search-bar,
body:not(.home) #mobile-nav {
    background: #171717 !important;
    border-color: rgba(255, 196, 0, .2) !important;
}

body:not(.home) #mobile-nav li a {
    color: #fff !important;
}

body:not(.home) .mobile-cta a {
    background: #8c4d20 !important;
    color: #111 !important;
    font-weight: 900 !important;
}

body:not(.home) .hamburger span {
    background: #fff !important;
}

/* -- CONTENT: M�u ch? d?o v�ng-den -- */
body:not(.home) main,
body:not(.home) .site-main {
    background: #f7f7f7 !important;
}

body:not(.home) h1,
body:not(.home) h2,
body:not(.home) h3,
body:not(.home) h4,
body:not(.home) h5,
body:not(.home) h6 {
    font-family: 'Manrope', Arial, sans-serif !important;
    color: #181818;
}

body:not(.home) a {
    color: #111;
}

/* -- RESPONSIVE -- */
@media (max-width: 1100px) {
    body:not(.home) #site-header #site-nav li a {
        font-size: 14px !important;
        padding-left: 7px !important;
        padding-right: 7px !important;
    }

    body:not(.home) #site-header .btn-cta {
        min-width: 150px !important;
        font-size: 20px !important;
    }
}

@media (max-width: 767px) {
    body:not(.home) #site-header .header-inner {
        height: 64px !important;
    }
    
    body:not(.home) #site-header #logo-wrap .logo-fallback-text {
        width: 180px !important;
        font-size: 17px !important;
    }
}

.dpl-prose {
    font-family: 'Manrope', Arial, sans-serif !important;
    color: #2a2a2a !important;
    font-size: 18px !important;
    line-height: 1.8 !important;
}

.dpl-prose h1,
.dpl-prose h2,
.dpl-prose h3,
.dpl-prose h4,
.dpl-prose h5,
.dpl-prose h6 {
    color: #181818 !important;
}

.dpl-prose p,
.dpl-prose li,
.dpl-prose td {
    color: #333 !important;
    font-size: 18px !important;
}

.dpl-prose a,
.dpl-prose th,
.dpl-prose code {
    color: #111;
}

.dpl-prose ul li::marker,
.dpl-prose ol li::marker {
    color: #8c4d20 !important;
}

.dpl-prose blockquote {
    border-left-color: #8c4d20 !important;
    background: #e8f2fc !important;
    color: #333 !important;
}

.dpl-prose pre,
.dpl-prose code {
    background: #e8f2fc !important;
    border-color: rgba(17, 17, 17, .12) !important;
}

body:not(.home) article,
body:not(.home) .dpl-prose,
body:not(.home) .arc-card,
body:not(.home) .ct-form-card,
body:not(.home) .ct-info-card,
body:not(.home) [style*="background:#FFFFFF"],
body:not(.home) [style*="background:#fff"] {
    background: #fff !important;
    border-color: rgba(17, 17, 17, .12) !important;
    box-shadow: 0 5px 18px rgba(17, 17, 17, .08) !important;
}

.arc-hero,
.ct-hero {
    background: linear-gradient(135deg, #111 0%, #252525 62%, #8c4d20 100%) !important;
}

.arc-search-form button,
.arc-filter a:hover,
.arc-filter a.active,
.arc-card-cat,
.arc-card-cat:hover,
.arc-pagination .page-numbers.current,
.arc-pagination .page-numbers:hover,
.ct-submit,
button[type="submit"],
input[type="submit"] {
    background: #8c4d20 !important;
    border-color: #8c4d20 !important;
    color: #fff !important;
    font-weight: 900 !important;
}

.arc-sidebar-title::before,
.ft-col-title::after {
    background: linear-gradient(90deg, #8c4d20, rgba(255, 196, 0, .18)) !important;
}

.ct-info-icon svg,
.ft-contact-icon svg {
    color: #8c4d20 !important;
}

.ft-links a::before {
    color: #8c4d20 !important;
    background: #8c4d20 !important;
}

#site-footer {
    background: #1a2e3b !important;
    color: #c8c8c8 !important;
}

#site-footer::before {
    background: #8c4d20 !important;
}

#site-footer .ft-col-title,
#site-footer .ft-logo-fallback-text,
#site-footer strong,
#site-footer .ft-copy strong {
    color: #8c4d20 !important;
}

#site-footer .ft-about,
#site-footer .ft-links a,
#site-footer .ft-contact-value,
#site-footer .ft-copy {
    color: #c8c8c8 !important;
}



/* ---------------------------------------------------
   PAGE ABOUT � Logistics Du?c Ph?m ��ng �
   Source: page-about.php
--------------------------------------------------- */
.ab-page { font-family:'Manrope',Arial,sans-serif; background:#f4f6f9; }

/* -- Hero -- */
.ab-hero {
  position:relative;
  background:linear-gradient(135deg,#0a1628 0%,#0d2137 55%,#1a3a5c 100%);
  padding:88px 0 72px;
  overflow:hidden;
}
.ab-hero::before {
  content:'';position:absolute;inset:0;
  background-image:radial-gradient(rgba(140,77,32,.1) 1px,transparent 1px);
  background-size:30px 30px;pointer-events:none;
}
.ab-hero::after {
  content:'';position:absolute;bottom:-1px;left:0;right:0;height:60px;
  background:#f4f6f9;
  clip-path:ellipse(55% 100% at 50% 100%);
}
.ab-hero-inner {
  max-width:1180px;margin:0 auto;padding:0 32px;
  position:relative;z-index:1;
  display:grid;grid-template-columns:1fr 420px;gap:64px;align-items:center;
}
.ab-hero-badge {
  display:inline-flex;align-items:center;gap:7px;
  background:rgba(140,77,32,.18);border:1px solid rgba(140,77,32,.35);
  color:#6db8f0;font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;
  padding:5px 14px;border-radius:100px;margin-bottom:20px;
}
.ab-hero h1 {
  font-size:clamp(2rem,4.5vw,3.2rem);
  font-weight:900;
  color:#fff !important;
  margin:0 0 8px;
  line-height:1.1;
}
.ab-hero h1 span { color:#8c4d20; }
.ab-hero-sub {
  font-size:1.05rem;color:rgba(255,255,255,.7);
  margin:0 0 32px;line-height:1.75;max-width:560px;
}
.ab-hero-founded {
  display:inline-flex;align-items:center;gap:10px;
  background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);
  border-radius:12px;padding:14px 20px;
}
.ab-hero-founded .ms { color:#8c4d20;font-size:22px; }
.ab-hero-founded strong { color:#fff;font-size:1rem;font-weight:800; }
.ab-hero-founded span { color:rgba(255,255,255,.6);font-size:13px;display:block; }

/* Stats card */
.ab-hero-stats {
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:20px;padding:32px 28px;
  display:grid;grid-template-columns:1fr 1fr;gap:24px;
}
.ab-hero-stat-num { font-size:2.4rem;font-weight:900;color:#8c4d20;line-height:1;margin-bottom:4px; }
.ab-hero-stat-label { font-size:13px;color:rgba(255,255,255,.6);font-weight:600; }

/* Shell & Sections */
.ab-shell { max-width:1180px;margin:0 auto;padding:0 32px; }
.ab-section { padding:72px 0; }
.ab-section-alt { background:#fff; }

/* Section header */
.ab-sec-head { text-align:center;margin-bottom:52px; }
.ab-sec-kicker {
  display:inline-flex;align-items:center;gap:6px;
  color:#8c4d20;font-size:12px;font-weight:700;letter-spacing:2px;text-transform:uppercase;
  margin-bottom:12px;
}
.ab-sec-kicker .ms { font-size:16px; }
.ab-sec-title { font-size:clamp(1.6rem,3vw,2.2rem);font-weight:900;color:#0d2137;margin:0 0 16px;line-height:1.2; }
.ab-sec-title span { color:#8c4d20; }
.ab-sec-desc { font-size:1rem;color:#5a6a7a;max-width:640px;margin:0 auto;line-height:1.8; }

/* Overview grid */
.ab-overview-grid { display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start; }
.ab-overview-text p { font-size:1rem;line-height:1.9;color:#3a4a5a;margin:0 0 18px; }
.ab-overview-text p:last-child { margin-bottom:0; }
.ab-overview-text strong { color:#0d2137; }

/* Timeline */
.ab-timeline { position:relative;padding-left:28px; }
.ab-timeline::before {
  content:'';position:absolute;left:7px;top:8px;bottom:8px;
  width:2px;background:linear-gradient(180deg,#8c4d20,rgba(140,77,32,.15));
  border-radius:2px;
}
.ab-timeline-item { position:relative;margin-bottom:28px; }
.ab-timeline-item:last-child { margin-bottom:0; }
.ab-timeline-dot {
  position:absolute;left:-24px;top:4px;
  width:14px;height:14px;border-radius:50%;
  background:#8c4d20;border:3px solid #f4f6f9;
  box-shadow:0 0 0 2px #8c4d20;
}
.ab-timeline-year { font-size:12px;font-weight:800;color:#8c4d20;letter-spacing:1px;text-transform:uppercase;margin-bottom:4px; }
.ab-timeline-text { font-size:0.95rem;color:#3a4a5a;line-height:1.7; }

/* VMV cards */
.ab-vmv-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:28px; }
.ab-vmv-card {
  background:#fff;border-radius:20px;padding:36px 32px;
  box-shadow:0 4px 24px rgba(13,33,55,.07);
  position:relative;overflow:hidden;
  transition:transform .2s,box-shadow .2s;
}
.ab-vmv-card:hover { transform:translateY(-4px);box-shadow:0 12px 40px rgba(140,77,32,.14); }
.ab-vmv-card::before {
  content:'';position:absolute;top:0;left:0;right:0;height:4px;
  background:linear-gradient(90deg,#8c4d20,#2d78c4);
}
.ab-vmv-icon {
  width:60px;height:60px;border-radius:16px;
  background:linear-gradient(135deg,rgba(140,77,32,.12),rgba(140,77,32,.22));
  display:flex;align-items:center;justify-content:center;margin-bottom:22px;
}
.ab-vmv-icon .ms { font-size:30px;color:#8c4d20; }
.ab-vmv-card h3 { font-size:1.25rem;font-weight:900;color:#0d2137;margin:0 0 14px; }
.ab-vmv-card p { font-size:0.95rem;line-height:1.8;color:#4a5a6a;margin:0; }

/* Values list */
.ab-values-list { list-style:none;margin:0;padding:0; }
.ab-values-list li { display:flex;align-items:flex-start;gap:10px;font-size:0.9rem;color:#4a5a6a;line-height:1.6;margin-bottom:10px; }
.ab-values-list li:last-child { margin-bottom:0; }
.ab-values-list .ms { color:#8c4d20;font-size:18px;flex-shrink:0;margin-top:1px;font-variation-settings:'FILL' 1,'wght' 600,'GRAD' 0,'opsz' 20; }

/* Org chart */
.ab-org-wrap { background:#fff;border-radius:20px;padding:48px;box-shadow:0 4px 24px rgba(13,33,55,.07); }
.ab-org-tree { display:flex;flex-direction:column;align-items:center;gap:0; }
.ab-org-level { display:flex;justify-content:center;gap:24px;position:relative; }
.ab-org-level + .ab-org-level { margin-top:0; }
.ab-org-connector { display:flex;flex-direction:column;align-items:center;height:40px;position:relative; }
.ab-org-connector::before { content:'';width:2px;height:100%;background:#8c4d20;opacity:.3; }
.ab-org-connector-h { height:2px;background:#8c4d20;opacity:.3;position:absolute;top:0; }
.ab-org-node { border-radius:14px;padding:18px 24px;text-align:center;min-width:180px;max-width:220px;position:relative; }
.ab-org-node-root { background:linear-gradient(135deg,#0d2137,#1a3a5c);border:2px solid #8c4d20;box-shadow:0 8px 32px rgba(140,77,32,.25); }
.ab-org-node-root .ab-org-node-name { color:#fff;font-size:1rem;font-weight:900; }
.ab-org-node-root .ab-org-node-sub { color:rgba(255,255,255,.65);font-size:12px;margin-top:4px; }
.ab-org-node-parent { background:#f0f6ff;border:2px solid #8c4d20; }
.ab-org-node-parent .ab-org-node-name { color:#0d2137;font-size:0.95rem;font-weight:800; }
.ab-org-node-parent .ab-org-node-sub { color:#5a7a9a;font-size:11px;margin-top:3px; }
.ab-org-node-child { background:#fff;border:1.5px solid #d0e4f5;box-shadow:0 2px 12px rgba(13,33,55,.06); }
.ab-org-node-child .ab-org-node-name { color:#0d2137;font-size:0.88rem;font-weight:700; }
.ab-org-node-child .ab-org-node-sub { color:#7a8a9a;font-size:11px;margin-top:3px; }
.ab-org-badge { display:inline-block;padding:2px 8px;border-radius:100px;font-size:10px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;margin-bottom:8px; }
.ab-org-badge-blue { background:rgba(140,77,32,.15);color:#8c4d20; }
.ab-org-badge-green { background:rgba(56,175,100,.12);color:#38a564; }

/* Parent cards */
.ab-parent-grid { display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:48px; }
.ab-parent-card { border-radius:16px;padding:32px;border:1.5px solid #d0e4f5;background:#f8fbff;display:flex;gap:20px;align-items:flex-start; }
.ab-parent-card-icon { width:52px;height:52px;border-radius:12px;flex-shrink:0;background:linear-gradient(135deg,#8c4d20,#2d78c4);display:flex;align-items:center;justify-content:center; }
.ab-parent-card-icon .ms { color:#fff;font-size:26px; }
.ab-parent-card h4 { font-size:1.05rem;font-weight:900;color:#0d2137;margin:0 0 6px; }
.ab-parent-card p { font-size:0.9rem;color:#5a6a7a;line-height:1.7;margin:0; }
.ab-parent-card-tag { display:inline-block;margin-top:10px;padding:3px 10px;border-radius:100px;background:rgba(140,77,32,.1);color:#8c4d20;font-size:11px;font-weight:700;letter-spacing:.5px; }

/* CTA band */
.ab-cta { background:linear-gradient(135deg,#0a1628 0%,#0d2137 60%,#1a3a5c 100%);border-radius:24px;padding:56px 48px;text-align:center;position:relative;overflow:hidden; }
.ab-cta::before { content:'';position:absolute;inset:0;background-image:radial-gradient(rgba(140,77,32,.1) 1px,transparent 1px);background-size:28px 28px;pointer-events:none; }
.ab-cta-inner { position:relative;z-index:1; }
.ab-cta h2 { font-size:1.9rem;font-weight:900;color:#fff !important;margin:0 0 12px; }
.ab-cta p { font-size:1rem;color:rgba(255,255,255,.7);margin:0 0 32px;line-height:1.7; }
.ab-cta-btns { display:flex;gap:14px;justify-content:center;flex-wrap:wrap; }
.ab-cta-btn { display:inline-flex;align-items:center;gap:8px;padding:14px 30px;border-radius:10px;font-size:15px;font-weight:800;text-decoration:none;transition:transform .2s,box-shadow .2s; }
.ab-cta-btn:hover { transform:translateY(-2px); }
.ab-cta-btn-primary { background:#8c4d20;color:#fff !important;box-shadow:0 4px 20px rgba(140,77,32,.35); }
.ab-cta-btn-primary:hover { box-shadow:0 8px 28px rgba(140,77,32,.5); }
.ab-cta-btn-outline { background:rgba(255,255,255,.08);color:#fff !important;border:1px solid rgba(255,255,255,.25); }
.ab-cta-btn-outline:hover { background:rgba(255,255,255,.14); }

/* Responsive � page-about */
@media(max-width:1024px){
  .ab-hero-inner { grid-template-columns:1fr;gap:40px; }
  .ab-hero-stats { grid-template-columns:repeat(4,1fr); }
  .ab-vmv-grid { grid-template-columns:1fr 1fr; }
  .ab-overview-grid { grid-template-columns:1fr; }
  .ab-parent-grid { grid-template-columns:1fr; }
}
@media(max-width:768px){
  .ab-shell { padding:0 20px; }
  .ab-section { padding:52px 0; }
  .ab-hero { padding:64px 0 56px; }
  .ab-hero-stats { grid-template-columns:1fr 1fr; }
  .ab-vmv-grid { grid-template-columns:1fr; }
  .ab-org-wrap { padding:28px 20px; }
  .ab-cta { padding:40px 24px; }
  .ab-cta h2 { font-size:1.5rem; }
}


/* ---------------------------------------------------
   PAGE CONTACT � Trang li�n h?
   Source: page-contact.php
--------------------------------------------------- */
.ct-page { font-family:'Inter',sans-serif;background:#f5f8fc;min-height:100vh; }

/* Hero */
.ct-hero { background:linear-gradient(135deg,#111111 0%,#252525 55%,#8c4d20 100%);padding:72px 0 56px;position:relative;overflow:hidden; }
.ct-hero * { color:#fff !important; }
.ct-hero::before { content:'';position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.05) 1px,transparent 1px);background-size:28px 28px; }
.ct-hero::after { content:'';position:absolute;right:-100px;bottom:-100px;width:400px;height:400px;border-radius:50%;background:radial-gradient(circle,rgba(140,77,32,.2) 0%,transparent 70%); }
.ct-hero-inner { max-width:1200px;margin:0 auto;padding:0 32px;position:relative;z-index:1;text-align:center; }
/* .ct-hero-badge { display:inline-flex;align-items:center;gap:7px;background:rgba(140,77,32,.12);border:1px solid rgba(140,77,32,.3);color:#8c4d20 !important;font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;padding:5px 14px;border-radius:100px;margin-bottom:16px; } */
.ct-hero h1 { font-family:'Manrope',sans-serif;font-size:clamp(2rem,4.5vw,3rem);font-weight:900;color:#fff !important;margin:0 0 14px;line-height:1.1; }
.ct-hero p { color:rgba(255,255,255,.8) !important;font-size:15px;max-width:520px;margin:0 auto; }

/* Layout */
.ct-layout { max-width:1200px;margin:0 auto;padding:48px 32px 80px;display:grid;grid-template-columns:1fr 1.5fr;gap:40px;align-items:start; }
@media(max-width:900px){ .ct-layout { grid-template-columns:1fr;padding:32px 20px 60px; } }

/* Info column */
.ct-info { display:flex;flex-direction:column;gap:16px; }
.ct-info-card { background:#fff;border-radius:14px;border:1px solid #e8edf4;padding:20px 22px;box-shadow:0 2px 12px rgba(17,17,17,.06);display:flex;align-items:flex-start;gap:16px;transition:border-color .2s,box-shadow .2s; }
.ct-info-card:hover { border-color:rgba(140,77,32,.2);box-shadow:0 6px 24px rgba(17,17,17,.1); }
.ct-info-icon { width:44px;height:44px;border-radius:11px;flex-shrink:0;background:linear-gradient(135deg,rgba(140,77,32,.10),rgba(140,77,32,.20));display:flex;align-items:center;justify-content:center; }
.ct-info-icon svg { width:20px;height:20px;color:#8c4d20; }
.ct-info-label { font-size:10px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:#666666;margin-bottom:4px; }
.ct-info-value { font-size:14px;font-weight:600;color:#1a2332;line-height:1.5; }
.ct-info-value a { color:#111111;text-decoration:none;transition:color .15s; }
.ct-info-value a:hover { color:#8c4d20; }

/* Social */
.ct-socials { display:flex;gap:10px;flex-wrap:wrap; }
.ct-social-btn { display:inline-flex;align-items:center;gap:7px;padding:8px 16px;border-radius:100px;font-size:12px;font-weight:700;text-decoration:none;transition:transform .15s,opacity .15s; }
.ct-social-btn:hover { transform:translateY(-2px);opacity:.88; }
.ct-social-fb { background:#1877f2;color:#fff; }
.ct-social-li { background:#0077b5;color:#fff; }

/* Map */
.ct-map { border-radius:14px;overflow:hidden;border:1px solid #e8edf4;height:240px;box-shadow:0 2px 12px rgba(17,17,17,.06); }
.ct-map iframe { width:100%;height:100%;border:none;display:block; }
.ct-map-placeholder { width:100%;height:100%;background:linear-gradient(135deg,#e8f2fc,#e8edf4);display:flex;align-items:center;justify-content:center;color:#666666;font-size:13px;font-weight:500;gap:8px; }

/* Form */
.ct-form-card { background:#fff;border-radius:16px;border:1px solid #e8edf4;box-shadow:0 4px 24px rgba(140,77,32,.18);overflow:hidden; }
.ct-form-header { background:linear-gradient(135deg,#111111,#252525);padding:24px 28px; }
.ct-form-header * { color:#fff !important; }
.ct-form-header h2 { font-family:'Manrope',sans-serif;font-size:1.15rem;font-weight:800;color:#fff !important;margin:0 0 4px; }
.ct-form-header p { font-size:13px;color:rgba(255,255,255,.8) !important;margin:0; }
.ct-form-body { padding:28px; }
.ct-field { margin-bottom:18px; }
.ct-field label { display:block;font-size:12px;font-weight:700;color:#333333;margin-bottom:6px;letter-spacing:.2px; }
.ct-field input,
.ct-field select,
.ct-field textarea { width:100%;padding:11px 14px;border:1.5px solid rgba(17,17,17,.15);border-radius:10px;font-size:14px;color:#1a2332;background:#fff;outline:none;transition:border-color .15s,box-shadow .15s;font-family:'Inter',sans-serif;box-sizing:border-box; }
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus { border-color:#8c4d20;box-shadow:0 0 0 3px rgba(140,77,32,.15); }
.ct-field textarea { resize:vertical;min-height:120px; }
.ct-field-row { display:grid;grid-template-columns:1fr 1fr;gap:14px; }
@media(max-width:480px){ .ct-field-row { grid-template-columns:1fr; } }
.ct-submit { width:100%;padding:13px;border-radius:11px;background:linear-gradient(135deg,#8c4d20,#2d78c4);color:#111;font-weight:800;font-size:15px;border:none;cursor:pointer;box-shadow:0 4px 20px rgba(140,77,32,.30);transition:opacity .15s,transform .15s;font-family:'Manrope',sans-serif;display:flex;align-items:center;justify-content:center;gap:8px; }
.ct-submit:hover { opacity:.9;transform:translateY(-1px); }
.ct-submit:disabled { opacity:.6;cursor:default;transform:none; }
.ct-submit-note { text-align:center;font-size:11px;color:#666666;margin-top:10px;display:flex;align-items:center;justify-content:center;gap:5px; }

/* Success */
.ct-success { display:none;text-align:center;padding:48px 24px; }
.ct-success-icon { width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,rgba(140,77,32,.15),rgba(140,77,32,.25));display:flex;align-items:center;justify-content:center;margin:0 auto 16px; }
.ct-success-icon svg { width:28px;height:28px;color:#8c4d20; }
.ct-success h3 { font-family:'Manrope',sans-serif;font-size:1.2rem;font-weight:800;color:#1a2332;margin:0 0 8px; }
.ct-success p { font-size:13px;color:#4a6070;margin:0; }


/* ---------------------------------------------------
   TESTIMONIALS � ��nh gi� kh�ch h�ng (front-page)
--------------------------------------------------- */
.pn-tm-section { background: #f8fbff; }

.pn-tm-head { text-align: center; margin-bottom: 40px; }
.pn-tm-head .pn-section-kicker {
    display: inline-flex; align-items: center; gap: 6px;
    color: #8c4d20; font-size: 12px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px;
}
.pn-tm-head .pn-section-kicker .ms {
    font-size: 15px;
    font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 20;
    color: #f59e0b;
}
.pn-tm-head .pn-title { margin-bottom: 0; }

/* Slider wrap */
.pn-tm-slider-wrap {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

/* Arrow buttons */
.pn-tm-arrow {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(140,77,32,.25);
    background: #fff;
    color: #8c4d20;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all .2s;
    margin-top: 80px;
    box-shadow: 0 2px 8px rgba(17,17,17,.08);
}
.pn-tm-arrow:hover { background: #8c4d20; color: #fff; border-color: #8c4d20; }
.pn-tm-arrow:disabled { opacity: .35; cursor: default; }
.pn-tm-arrow .ms { font-size: 22px; }

/* Track */
.pn-tm-track {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media(max-width: 1024px) { .pn-tm-track { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 640px)  { .pn-tm-track { grid-template-columns: 1fr; } }

/* Hidden card */
.pn-tm-hidden { display: none !important; }

/* Card */
.pn-tm-card {
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 2px 16px rgba(17,17,17,.06);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform .2s, box-shadow .2s;
}
.pn-tm-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(140,77,32,.12);
}

/* Stars */
.pn-tm-stars { display: flex; gap: 3px; }
.pn-tm-star {
    font-size: 20px;
    color: #d1d5db;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}
.pn-tm-star.filled {
    color: #f59e0b;
    font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 20;
}

/* Content */
.pn-tm-content {
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
    flex: 1;
    margin: 0;
    font-style: italic;
}

/* Author */
.pn-tm-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #f0f4f8;
}
.pn-tm-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(140,77,32,.15), rgba(140,77,32,.25));
    display: flex; align-items: center; justify-content: center;
    border: 2px solid rgba(140,77,32,.2);
}
.pn-tm-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pn-tm-avatar .ms { font-size: 28px; color: #8c4d20; }
.pn-tm-name {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #111111;
    font-family: 'Manrope', sans-serif;
}
.pn-tm-role {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

/* Dots */
.pn-tm-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}
.pn-tm-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(140,77,32,.25);
    cursor: pointer;
    transition: all .2s;
    padding: 0;
}
.pn-tm-dot.active {
    background: #8c4d20;
    width: 28px;
    border-radius: 100px;
}

@media(max-width: 640px) {
    .pn-tm-arrow { display: none; }
    .pn-tm-slider-wrap { display: block; }
}


/* ---------------------------------------------------
   TESTIMONIALS v2 � Slider v?i fade + equal height
--------------------------------------------------- */

/* Pages container � relative d? ch?a absolute pages */
.pn-tm-pages {
    flex: 1;
    position: relative;
    min-height: 200px;
}

/* M?i page = 1 nh�m 3 card */
.pn-tm-page {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .4s ease, transform .4s ease;
}
.pn-tm-page.active {
    display: grid;
    opacity: 1;
    transform: translateY(0);
}
.pn-tm-page.leaving {
    display: grid;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}

@media(max-width: 1024px) {
    .pn-tm-page,
    .pn-tm-page.active { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 640px) {
    .pn-tm-page,
    .pn-tm-page.active { grid-template-columns: 1fr; }
    .pn-tm-arrow { display: none; }
    .pn-tm-slider-wrap { display: block; }
}

/* Card � flex column d? author lu�n ? du?i c�ng */
.pn-tm-card {
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 2px 16px rgba(17,17,17,.06);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform .2s, box-shadow .2s;
    /* height du?c set b?ng JS d? b?ng nhau */
}
.pn-tm-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(140,77,32,.12);
}

/* Content chi?m h?t kh�ng gian c�n l?i ? author lu�n ? d�y */
.pn-tm-content {
    flex: 1;
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
    margin: 0;
    font-style: italic;
}


/* ---------------------------------------------------------------
   HEADER � NHAN.CAFE STYLE
   Palette: n�u #3d2008 | v�ng #8c4d20 | kem #f5f0ea
   File: header.php
--------------------------------------------------------------- */

/* Reset co b?n cho trang c� ph� */
*, *::before, *::after { box-sizing: border-box; }
html, body {
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Be Vietnam Pro', 'Manrope', sans-serif;
    background: #f5f0ea;
    color: #1e1208;
    overflow-x: clip; /* clip không tạo scroll container, không phá sticky */
}

/* -- TOP BAR -- */
.nh-topbar {
    background: #fff;
    border-bottom: 1px solid #ede5da;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
    margin: 0;
    padding: 0;
    display: block;
}
.nh-topbar-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 32px;
    height: 70px;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Logo */
.nh-logo {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    line-height: 1;
}
.nh-logo-name {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #3d2008;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.nh-logo-name span { color: #8c4d20; }
.nh-logo-sub {
    font-size: 9px;
    font-weight: 500;
    color: #a08060;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 1px;
}

/* -- SEARCH BAR -- */
.nh-search {
    flex: 1;
    max-width: 460px;
    margin: 0 auto;
    position: relative;
    z-index: 100;
}
.nh-search-form {
    display: flex;
    align-items: center;
    background: #f5ede0;
    border: 1.5px solid #e0d5c8;
    border-radius: 999px;
    overflow: hidden;
    margin: 0;
    margin-bottom: 0 !important;
    transition: border-color .25s, box-shadow .25s, background .25s;
}
.nh-search-form:focus-within {
    border-color: #8c4d20;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(200,134,10,.15), 0 4px 16px rgba(200,134,10,.10);
}

/* Icon k�nh l�p b�n tr�i */
.nh-search-icon {
    flex-shrink: 0;
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b8a898;
    pointer-events: none;
    transition: color .2s;
}
.nh-search-form:focus-within .nh-search-icon { color: #8c4d20; }
.nh-search-icon svg { width: 15px; height: 15px; }

/* Input */
.nh-search-form input {
    flex: 1;
    min-width: 0;
    padding: 9px 4px;
    border: none;
    background: transparent;
    font-size: 13.5px;
    color: #3d2008;
    outline: none;
    font-family: inherit;
}
.nh-search-form input::placeholder { color: #b8a898; }

/* N�t submit */
.nh-search-btn {
    flex-shrink: 0;
    margin: 4px;
    padding: 0 16px;
    height: 30px;
    border: none;
    border-radius: 999px;
    background: #8c4d20;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    transition: background .2s, transform .15s;
    letter-spacing: .3px;
}
.nh-search-btn:hover {
    background: #a06a08;
    transform: scale(1.04);
}
.nh-search-btn svg { width: 13px; height: 13px; }

/* N�t x�a (hi?n khi c� text) */
.nh-search-clear {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #b8a898;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background .15s, color .15s;
    margin-right: 2px;
}
.nh-search-clear:hover { background: #f0e8dc; color: #8c4d20; }
.nh-search-clear svg { width: 13px; height: 13px; }
.nh-search-clear.visible { display: flex; }

/* Dropdown g?i � */
.nh-search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    background: #fff;
    border: 1px solid #e8ddd4;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(61,32,8,.14);
    overflow: hidden;
    z-index: 200;
}
.nh-search-dropdown.open { display: block; }
.nh-search-dropdown-head {
    padding: 10px 14px 6px;
    font-size: 10.5px;
    font-weight: 700;
    color: #b8a898;
    text-transform: uppercase;
    letter-spacing: .8px;
}
.nh-search-dropdown ul {
    list-style: none;
    padding: 0 6px 8px;
    margin: 0;
}
.nh-search-dropdown ul li a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    color: #3d2008;
    font-weight: 500;
    transition: background .12s;
}
.nh-search-dropdown ul li a:hover { background: #f5ede0; color: #8c4d20; }
.nh-search-dropdown ul li a svg {
    width: 14px; height: 14px;
    color: #8c4d20; flex-shrink: 0;
}
.nh-search-dropdown-footer {
    border-top: 1px solid #f0ebe3;
    padding: 8px 14px;
    font-size: 12px;
    color: #a08060;
    display: flex;
    align-items: center;
    gap: 6px;
}
.nh-search-dropdown-footer kbd {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    background: #f5ede0;
    border: 1px solid #e0d5c8;
    border-radius: 4px;
    font-size: 11px;
    color: #6b5a4e;
    font-family: inherit;
}

/* Responsive */
@media (max-width: 768px) {
    .nh-search { max-width: none; flex: 1; }
    .nh-search-btn span { display: none; }
    .nh-search-btn { padding: 0 10px; }
}

/* Top icons */
.nh-top-icons {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.nh-icon-btn {
    width: 36px; height: 36px;
    border-radius: 7px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b5a4e;
    transition: background .15s, color .15s;
}
.nh-icon-btn:hover { background: #f5ede0; color: #8c4d20; }
.nh-icon-btn svg { width: 18px; height: 18px; }

/* Hamburger */
.nh-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 36px; height: 36px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 8px 6px;
    border-radius: 6px;
}
.nh-hamburger:hover { background: #f5ede0; }
.nh-hamburger span {
    display: block;
    width: 100%; height: 2px;
    background: #3d2008;
    border-radius: 2px;
    transition: all .25s;
}
.nh-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nh-hamburger.open span:nth-child(2) { opacity: 0; }
.nh-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -- BANNER -- */
.nh-banner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 10px 10px;
    background: #2c1a0e;
    aspect-ratio: 1100 / 280;
    max-height: 300px;
}
.nh-banner img.nh-banner-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.nh-banner-fallback {
    width: 100%; height: 100%;
    background: linear-gradient(110deg, #1a0a02 0%, #3d1a05 40%, #6b3010 70%, #8b4513 100%);
    display: flex;
    align-items: center;
    padding: 0 48px;
    position: relative;
    overflow: hidden;
}
.nh-banner-fallback::after {
    content: '';
    position: absolute;
    right: -40px; top: -20px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(200,134,10,.35) 0%, transparent 70%);
    border-radius: 50%;
}
.nh-banner-text { position: relative; z-index: 1; }
.nh-banner-text h2 {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 900;
    color: #f5c842;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 3px 16px rgba(0,0,0,.5);
    text-transform: uppercase;
}
.nh-banner-text p {
    font-size: clamp(14px, 2vw, 20px);
    color: #f0d9b5;
    font-style: italic;
    margin-top: 8px;
    font-weight: 500;
}

/* -- PROFILE BAR -- */
.nh-profile-wrap {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
}
.nh-profile-bar {
    background: #fff;
    border: 1px solid #ede5da;
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 10px 20px 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,.07);
}
.nh-profile-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    border: 3px solid #8c4d20;
    object-fit: cover;
    flex-shrink: 0;
    margin-top: -36px;
    box-shadow: 0 0 0 4px #fff, 0 2px 12px rgba(0,0,0,.18);
    background: #f5ede0;
}
.nh-profile-info { flex: 1; }
.nh-profile-name {
    font-size: 16px;
    font-weight: 800;
    color: #1e1208;
    letter-spacing: .3px;
    line-height: 1.2;
}
.nh-profile-role { font-size: 12px; color: #a08060; margin-top: 1px; }
.nh-profile-socials {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 7px;
}
.nh-profile-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    border-radius: 6px;
    transition: opacity .15s, transform .15s;
}
.nh-profile-socials a:hover { opacity: .85; transform: translateY(-1px); }
.nh-profile-socials a.fb { background: #1877f2; }
.nh-profile-socials a.tt { background: #010101; }
.nh-profile-socials a.yt { background: #ff0000; }
.nh-profile-socials a svg { width: 15px; height: 15px; fill: #fff; }

/* -- NAV BAR -- */
.nh-nav-wrap {
    max-width: 100%;
    margin: 12px auto 0;
    padding: 0 32px;
}
.nh-nav {
    background: #3d2008;
    border-radius: 8px;
    overflow: visible;
    position: relative;
}
.nh-nav > ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}
.nh-nav > ul > li { position: relative; }
.nh-nav > ul > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #f0d9b5;
    white-space: nowrap;
    transition: background .15s, color .15s;
    border-radius: 6px;
    margin: 4px 2px;
}
.nh-nav > ul > li > a svg {
    width: 14px; height: 14px;
    opacity: .75;
    flex-shrink: 0;
}
.nh-nav > ul > li > a:hover,
.nh-nav > ul > li.current-menu-item > a,
.nh-nav > ul > li.current-page-ancestor > a,
.nh-nav > ul > li.active > a {
    background: #8c4d20;
    color: #fff;
}
/* Dropdown arrow */
.nh-nav > ul > li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 4px;
    opacity: .7;
}
/* Dropdown menu */
.nh-nav > ul > li > ul {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    background: #fff;
    border: 1px solid #ede5da;
    border-radius: 8px;
    padding: 6px;
    min-width: 180px;
    box-shadow: 0 8px 24px rgba(0,0,0,.14);
    z-index: 300;
    list-style: none;
}
.nh-nav > ul > li:hover > ul { display: block; }
.nh-nav > ul > li > ul > li > a {
    display: block;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #3d2008;
    border-radius: 5px;
    transition: background .12s, color .12s;
}
.nh-nav > ul > li > ul > li > a:hover { background: #f5ede0; color: #8c4d20; }

/* -- MOBILE NAV -- */
.nh-mobile-nav {
    display: none;
    background: #fff;
    border-bottom: 2px solid #8c4d20;
    padding: 12px 20px 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.nh-mobile-nav.open { display: block; }
.nh-mobile-nav ul { list-style: none; }
.nh-mobile-nav ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #3d2008;
    border-radius: 6px;
    transition: background .15s;
}
.nh-mobile-nav ul li a:hover { background: #f5ede0; color: #8c4d20; }
.nh-mobile-nav ul li ul { padding-left: 14px; }
.nh-mobile-nav ul li ul li a { font-size: 13px; font-weight: 500; padding: 8px 12px; }

/* -- HEADER RESPONSIVE -- */
@media (max-width: 768px) {
    .nh-hamburger { display: flex; }
    .nh-nav-wrap { display: none; }
    .nh-banner { aspect-ratio: auto; height: 160px; }
    .nh-banner-text h2 { font-size: 26px; }
    .nh-profile-avatar { width: 56px; height: 56px; margin-top: -28px; }
    .nh-profile-name { font-size: 14px; }
    .nh-search { max-width: none; flex: 1; }
}
@media (max-width: 480px) {
    .nh-topbar-inner { gap: 10px; padding: 0 14px; }
    .nh-logo-name { font-size: 14px; }
    .nh-banner { height: 130px; }
    .nh-banner-text h2 { font-size: 20px; }
    .nh-banner-text p { font-size: 12px; }
}

/* ---------------------------------------------------------------
   FRONT PAGE � Chuy�n Gia C� Ph�
   File: front-page.php
--------------------------------------------------------------- */
:root {
    --cp-brown:  #3d2008;
    --cp-gold:   #8c4d20;
    --cp-gold2:  #8c4d20;
    --cp-cream:  #f5f0ea;
    --cp-white:  #ffffff;
    --cp-text:   #1e1208;
    --cp-muted:  #6b5a4e;
    --cp-border: #e8ddd4;
    --cp-radius: 8px;
    --cp-shadow: 0 2px 8px rgba(0,0,0,.10);
    --cp-shadow-hover: 0 6px 20px rgba(0,0,0,.16);
    --cp-max:    1300px;
    --cp-pad:    40px;
    --cp-gap:    10px;
}

/* -- HERO -- */
.cp-hero {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--cp-brown);
}
.cp-hero-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: .45;
    transition: transform 8s ease;
}
.cp-hero:hover .cp-hero-bg { transform: scale(1.04); }
.cp-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(30,10,2,.92) 0%, rgba(61,32,8,.70) 55%, rgba(61,32,8,.30) 100%);
}
.cp-hero-inner {
    position: absolute; inset: 0;
    display: flex; align-items: center;
    padding: 0 28px; gap: 18px;
    max-width: var(--cp-max);
    margin: 0 auto; left: 0; right: 0;
}
.cp-hero-avatar {
    width: 76px; height: 76px;
    border-radius: 50%;
    border: 3px solid var(--cp-gold);
    object-fit: cover; flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(200,134,10,.25);
}
.cp-hero-text h1 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(20px, 3.5vw, 34px);
    font-weight: 900;
    color: var(--cp-gold2);
    line-height: 1.15;
    letter-spacing: -.3px;
    text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.cp-hero-text .cp-tagline {
    font-size: 13px; color: #f0d9b5;
    font-style: italic; margin-top: 5px;
}
.cp-hero-author {
    display: flex; align-items: center; gap: 7px;
    margin-top: 8px;
}
.cp-hero-author img {
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 2px solid var(--cp-gold);
}
.cp-hero-author span {
    font-size: 12.5px; font-weight: 700;
    color: var(--cp-gold);
}

/* -- SOCIAL BAR -- */
.cp-social-bar {
    background: var(--cp-white);
    border-bottom: 1px solid var(--cp-border);
    padding: 5px 0;
}
.cp-social-inner {
    max-width: var(--cp-max); margin: 0 auto;
    padding: 0 16px;
    display: flex; align-items: center; gap: 6px;
}
.cp-social-bar a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px;
    border-radius: 5px;
    font-size: 12px; font-weight: 800; color: #fff;
    transition: opacity .15s, transform .15s;
}
.cp-social-bar a:hover { opacity: .85; transform: translateY(-1px); }
.cp-social-bar a.fb { background: #1877f2; }
.cp-social-bar a.yt { background: #ff0000; }
.cp-social-bar a.tt { background: #010101; }
.cp-social-bar a.zl { background: #0068ff; }

/* -- NAV -- */
.cp-nav {
    background: var(--cp-brown);
    border-bottom: 3px solid var(--cp-gold);
    position: sticky; top: 0; z-index: 50;
}
.cp-nav ul {
    max-width: var(--cp-max); margin: 0 auto;
    padding: 0 16px;
    list-style: none; display: flex; flex-wrap: wrap;
}
.cp-nav ul li a {
    display: block; padding: 9px 13px;
    font-size: 13px; font-weight: 600;
    color: #f0d9b5; white-space: nowrap;
    transition: background .15s, color .15s;
}
.cp-nav ul li a:hover,
.cp-nav ul li.active a {
    background: var(--cp-gold); color: #fff;
}

/* -- PAGE BODY -- */
.cp-body { background: var(--cp-cream); padding: 18px 0 48px; }
.cp-body {
    padding-bottom: 0 !important;
}
.cp-layout {
    max-width: var(--cp-max); 
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 18px;
    align-items: start;
}

/* ── SIDEBAR STICKY CHUNG (front-page, page-about, single) ── */
.sidebar-sticky {
    position: sticky;
    top: 90px;
    align-self: start;
    /* Bỏ max-height để sidebar tự nhiên cao theo nội dung */
    /* max-height: calc(100vh - 100px); */
    /* overflow-y: auto; */
    will-change: transform; /* Tối ưu performance cho sticky */
}

/* Đảm bảo sticky hoạt động trên desktop */
@media (min-width: 901px) {
    .sidebar-sticky {
        position: sticky !important;
    }
    
    .cp-sidebar {
        position: static !important; /* Đảm bảo không conflict với .sidebar-sticky */
    }
}

/* Bỏ scrollbar vì sidebar không có scroll nữa */
/* 
.sidebar-sticky::-webkit-scrollbar {
    width: 6px;
}

.sidebar-sticky::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-sticky::-webkit-scrollbar-thumb {
    background: rgba(140, 77, 32, 0.3);
    border-radius: 3px;
}

.sidebar-sticky::-webkit-scrollbar-thumb:hover {
    background: rgba(140, 77, 32, 0.5);
}
*/

/* -- SIDEBAR -- */
.cp-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cp-widget {
    background: var(--cp-white);
    border-radius: var(--cp-radius);
    overflow: hidden;
    box-shadow: var(--cp-shadow);
    border: 1px solid var(--cp-border);
}
.cp-widget-title {
    background: var(--cp-brown);
    color: var(--cp-gold2);
    font-size: 12px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px;
    padding: 8px 12px;
    border-left: 4px solid var(--cp-gold);
    display: flex; align-items: center; gap: 6px;
}
.cp-widget-body { padding: 12px; }

/* Gi?i thi?u */
.cp-intro-img {
    width: 100%; height: 130px;
    object-fit: cover; border-radius: 5px;
    margin-bottom: 9px;
}
.cp-intro-text {
    font-size: 12.5px; line-height: 1.7;
    color: var(--cp-muted); margin-bottom: 10px;
}
.cp-btn-more {
    display: inline-block;
    background: var(--cp-gold); color: #fff;
    font-size: 11.5px; font-weight: 700;
    padding: 5px 13px; border-radius: 4px;
    transition: background .15s;
}
.cp-btn-more:hover { background: #a06a08; }

/* Danh m?c */
.cp-cat-list { list-style: none; }
.cp-cat-list li { border-bottom: 1px solid #f0ebe3; }
.cp-cat-list li:last-child { border-bottom: none; }
.cp-cat-list li a {
    display: flex; align-items: center; gap: 7px;
    padding: 7px 2px;
    font-size: 12.5px; font-weight: 500;
    color: var(--cp-text);
    transition: color .15s, padding-left .15s;
}
.cp-cat-list li a::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%; background: var(--cp-gold);
    flex-shrink: 0;
}
.cp-cat-list li a:hover { color: var(--cp-gold); padding-left: 4px; }
.cp-cat-count {
    margin-left: auto;
    font-size: 10.5px; background: #f5ede0;
    color: #a06a08; padding: 1px 6px;
    border-radius: 10px; font-weight: 700;
}

/* B�i n?i b?t sidebar */
.cp-side-post {
    display: flex; gap: 9px;
    padding: 8px 0;
    border-bottom: 1px solid #f0ebe3;
}
.cp-side-post:last-child { border-bottom: none; }
.cp-side-post img {
    width: 62px; height: 50px;
    object-fit: cover; border-radius: 4px; flex-shrink: 0;
}
.cp-side-post-info h4 {
    font-size: 12px; font-weight: 600;
    color: var(--cp-text); line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.cp-side-post-info h4 a:hover { color: var(--cp-gold); }
.cp-side-post-info span {
    font-size: 10.5px; color: #aaa;
    margin-top: 3px; display: block;
}

/* -- MAIN CONTENT -- */
.cp-main { display: flex; flex-direction: column; gap: 18px; }

/* Section box */
.cp-section-box {
    background: var(--cp-white);
    border-radius: var(--cp-radius);
    padding: 14px;
    box-shadow: var(--cp-shadow);
    border: 1px solid var(--cp-border);
}

/* Section header */
.cp-section-head {
    display: flex; align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--cp-brown);
    padding-bottom: 7px; margin-bottom: 13px;
}
.cp-section-head h2 {
    font-size: 14px; font-weight: 800;
    color: var(--cp-brown);
    text-transform: uppercase; letter-spacing: .6px;
    display: flex; align-items: center; gap: 7px;
}
.cp-section-head h2::before {
    content: '';
    display: inline-block;
    width: 4px; height: 16px;
    background: var(--cp-gold); border-radius: 2px;
}
.cp-see-all {
    font-size: 11.5px; color: var(--cp-gold);
    font-weight: 600; white-space: nowrap;
    padding: 3px 8px; border-radius: 4px;
    border: 1px solid var(--cp-gold);
    transition: background .15s, color .15s;
}
.cp-see-all:hover { background: var(--cp-gold); color: #fff; }

/* -- FEATURED BLOCK -- */
.cp-featured-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.cp-feat-big { border-radius: 6px; overflow: hidden; position: relative; }
.cp-feat-big img {
    width: 100%; height: 190px;
    object-fit: cover; transition: transform .3s;
}
.cp-feat-big:hover img { transform: scale(1.03); }
.cp-feat-big-body { padding: 10px 0 0; }
.cp-feat-big-body h3 {
    font-size: 14px; font-weight: 700;
    color: var(--cp-text); line-height: 1.45;
    margin-bottom: 6px;
}
.cp-feat-big-body h3 a:hover { color: var(--cp-gold); }
.cp-feat-big-body p {
    font-size: 12.5px; color: var(--cp-muted);
    line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 3;
    -webkit-box-orient: vertical; overflow: hidden;
}
.cp-feat-meta {
    font-size: 11px; color: #bbb;
    margin-top: 6px; display: flex; gap: 8px;
}

/* 4 ?nh nh? 2x2 */
.cp-feat-small-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
}
.cp-feat-small { border-radius: 5px; overflow: hidden; position: relative; }
.cp-feat-small img {
    width: 100%; height: 88px;
    object-fit: cover; transition: transform .3s;
}
.cp-feat-small:hover img { transform: scale(1.04); }
.cp-feat-small-title {
    font-size: 11.5px; font-weight: 600;
    color: var(--cp-text); line-height: 1.35;
    margin-top: 5px;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.cp-feat-small-title a:hover { color: var(--cp-gold); }
.cp-feat-small-meta { font-size: 10.5px; color: #bbb; margin-top: 2px; }

/* -- POST GRID 4 c?t -- */
.cp-grid4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 11px;
}
.cp-card {
    border-radius: 10px; overflow: hidden;
    background: var(--cp-white);
    border: none;
    transition: box-shadow .2s, transform .2s;
}
.cp-card:hover { box-shadow: var(--cp-shadow-hover); transform: translateY(-2px); }

/* Ảnh card */
.cp-card-img-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}
.cp-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s;
}
.cp-card:hover .cp-card-img { transform: scale(1.05); }

/* Category tag overlay — góc trên trái ảnh */
.cp-card-cat-tag {
    position: absolute;
    top: 10px; left: 10px;
    background: rgba(30,10,2,.72);
    color: #f5c842;
    font-size: 10px !important;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .5px;
    pointer-events: none;
    white-space: nowrap;
    max-width: calc(100% - 20px);
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Card body */
.cp-card-body { padding: 10px 10px 12px; }
.cp-card-body h3 {
    font-size: 14px; font-weight: 700;
    color: var(--cp-text); line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
    margin: 0 0 5px;
}
.cp-card-body h3 a { color: inherit; }
.cp-card-body h3 a:hover { color: var(--cp-gold); }
.cp-card-exc {
    font-size: 12.5px; color: #7a6050; line-height: 1.55;
    margin: 0 0 6px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cp-card-date {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #c8860a;
}

/* -- POST LIST -- */
.cp-list { display: flex; flex-direction: column; gap: 9px; }
.cp-list-item {
    display: flex; gap: 10px;
    padding: 8px;
    background: var(--cp-white);
    border: 1px solid var(--cp-border);
    border-radius: 6px;
    transition: box-shadow .2s;
}
.cp-list-item:hover { box-shadow: var(--cp-shadow-hover); }
.cp-list-item img {
    width: 88px; height: 68px;
    object-fit: cover; border-radius: 4px; flex-shrink: 0;
}
.cp-list-info h3 {
    font-size: 12.5px; font-weight: 600;
    color: var(--cp-text); line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.cp-list-info h3 a:hover { color: var(--cp-gold); }
.cp-list-info p {
    font-size: 11.5px; color: var(--cp-muted);
    line-height: 1.5; margin-top: 3px;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.cp-list-meta { font-size: 10.5px; color: #bbb; margin-top: 3px; display: block; }

/* -- SPLIT: list + grid 2x2 -- */
.cp-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.cp-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

/* -- FRONT PAGE RESPONSIVE -- */
@media (max-width: 900px) {
    .cp-layout { grid-template-columns: 1fr; }
    .cp-sidebar {
        order: 2;
        position: static;
        max-height: none;
        overflow-y: visible;
    }
    .sidebar-sticky {
        position: static;
        max-height: none;
        overflow-y: visible;
    }
    .cp-main { order: 1; }
    .cp-grid4 { grid-template-columns: repeat(2, 1fr); }
    .cp-featured-wrap { grid-template-columns: 1fr; }
    .cp-feat-small-grid { grid-template-columns: repeat(4, 1fr); }
    .cp-feat-small img { height: 70px; }
    .cp-split { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
    .cp-hero { height: 150px; }
    .cp-hero-text h1 { font-size: 18px; }
    .cp-hero-avatar { width: 56px; height: 56px; }
    .cp-grid4 { grid-template-columns: repeat(2, 1fr); }
    .cp-feat-small-grid { grid-template-columns: repeat(2, 1fr); }
    .cp-nav ul li a { padding: 8px 10px; font-size: 12px; }
}

/* ---------------------------------------------------------------
   ICON POPUPS � Danh m?c | Chat | Th�ng b�o
--------------------------------------------------------------- */

/* Wrapper c� position relative d? popup d?nh v? */
.nh-popup-wrap {
    position: relative;
}

/* Icon btn active state */
.nh-icon-btn.active {
    background: #f5ede0;
    color: #8c4d20;
}

/* -- POPUP BASE -- */
.nh-popup {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border: 1px solid #e8ddd4;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(61,32,8,.16), 0 2px 8px rgba(0,0,0,.06);
    z-index: 500;
    overflow: hidden;
    animation: nhPopIn .18s ease;
    transform-origin: top right;
}
.nh-popup.open { display: block; }

@keyframes nhPopIn {
    from { opacity: 0; transform: scale(.94) translateY(-6px); }
    to   { opacity: 1; transform: scale(1)   translateY(0); }
}

/* Mui t�n nh? tr? l�n */
.nh-popup::before {
    content: '';
    position: absolute;
    top: -7px; right: 14px;
    width: 13px; height: 13px;
    background: #fff;
    border-left: 1px solid #e8ddd4;
    border-top: 1px solid #e8ddd4;
    transform: rotate(45deg);
    border-radius: 2px 0 0 0;
}

/* -- POPUP HEADER -- */
.nh-popup-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px 10px;
    border-bottom: 1px solid #f0ebe3;
}
.nh-popup-title {
    font-size: 13px;
    font-weight: 800;
    color: #3d2008;
    text-transform: uppercase;
    letter-spacing: .6px;
}
.nh-popup-close {
    width: 26px; height: 26px;
    border: none; background: transparent;
    cursor: pointer; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: #a08060;
    transition: background .15s, color .15s;
}
.nh-popup-close:hover { background: #f5ede0; color: #8c4d20; }
.nh-popup-close svg { width: 13px; height: 13px; }

/* -- POPUP FOOTER LINK -- */
.nh-popup-footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border-top: 1px solid #f0ebe3;
    font-size: 12px;
    font-weight: 700;
    color: #8c4d20;
    transition: background .15s;
}
.nh-popup-footer-link:hover { background: #fdf8f2; }

/* ------------------------------
   POPUP 1: DANH M?C
------------------------------ */
.nh-popup-cat {
    width: 300px;
}
.nh-cat-grid {
    list-style: none;
    padding: 8px 10px;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}
.nh-cat-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 8px;
    border-radius: 7px;
    font-size: 12.5px;
    font-weight: 500;
    color: #3d2008;
    transition: background .12s, color .12s;
    text-decoration: none;
}
.nh-cat-item:hover { background: #f5ede0; color: #8c4d20; }
.nh-cat-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #8c4d20;
    flex-shrink: 0;
}
.nh-cat-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nh-cat-count {
    font-size: 10px;
    background: #f5ede0;
    color: #a06a08;
    padding: 1px 5px;
    border-radius: 8px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ------------------------------
   POPUP 2: CHAT
------------------------------ */
.nh-popup-chat {
    width: 280px;
}
.nh-chat-desc {
    font-size: 12px;
    color: #a08060;
    padding: 10px 16px 6px;
    margin: 0;
    line-height: 1.5;
}
.nh-chat-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 6px 12px 10px;
}
.nh-chat-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 14px;
    text-decoration: none;
    transition: transform .18s, box-shadow .18s, filter .18s;
    position: relative;
    overflow: hidden;
    border: none;
}
.nh-chat-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.12);
    opacity: 0;
    transition: opacity .18s;
}
.nh-chat-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(0,0,0,.22); filter: brightness(1.06); }
.nh-chat-btn:hover::before { opacity: 1; }
.nh-chat-messenger {
    background: linear-gradient(135deg, #0084ff 0%, #a033ff 100%);
    color: #fff;
    box-shadow: 0 3px 12px rgba(0,132,255,.35);
}
.nh-chat-zalo {
    background: linear-gradient(135deg, #0068ff 0%, #00c6ff 100%);
    color: #fff;
    box-shadow: 0 3px 12px rgba(0,104,255,.35);
}
.nh-chat-btn-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,.22);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.nh-chat-btn-icon svg { width: 22px; height: 22px; }
.nh-chat-btn-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.nh-chat-btn-text strong { font-size: 14px; font-weight: 800; color: #fff; letter-spacing: .01em; }
.nh-chat-btn-text small  { font-size: 11.5px; opacity: .88; color: #fff; }
.nh-chat-arrow { opacity: .8; flex-shrink: 0; width: 15px; height: 15px; color: #fff; }
.nh-chat-note {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #a08060;
    padding: 0 16px 12px;
    margin: 0;
}
.nh-chat-note svg { flex-shrink: 0; }

/* ------------------------------
   POPUP 3: TH�NG B�O
------------------------------ */
.nh-popup-notif {
    width: 320px;
}

/* Badge d? tr�n icon chu�ng */
.nh-notif-btn { position: relative; }
.nh-notif-badge {
    position: absolute;
    top: 4px; right: 4px;
    min-width: 16px; height: 16px;
    background: #e53e3e;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 3px;
    border: 2px solid #fff;
    line-height: 1;
    pointer-events: none;
}

.nh-notif-list {
    list-style: none;
    padding: 6px 10px;
    margin: 0;
    max-height: 340px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e8ddd4 transparent;
}
.nh-notif-list::-webkit-scrollbar { width: 4px; }
.nh-notif-list::-webkit-scrollbar-track { background: transparent; }
.nh-notif-list::-webkit-scrollbar-thumb { background: #e8ddd4; border-radius: 4px; }

.nh-notif-item { border-bottom: 1px solid #f5ede0; }
.nh-notif-item:last-child { border-bottom: none; }

.nh-notif-link {
    display: flex;
    gap: 10px;
    padding: 9px 6px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .12s;
    align-items: flex-start;
}
.nh-notif-link:hover { background: #fdf8f2; }

.nh-notif-thumb {
    width: 52px; height: 42px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.nh-notif-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.nh-notif-cat {
    font-size: 10px;
    font-weight: 700;
    color: #8c4d20;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.nh-notif-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #2c1a0e;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nh-notif-time {
    font-size: 10.5px;
    color: #b8a898;
}
.nh-notif-empty {
    padding: 20px;
    text-align: center;
    font-size: 13px;
    color: #a08060;
}

/* -- RESPONSIVE -- */
@media (max-width: 600px) {
    .nh-popup-cat,
    .nh-popup-chat,
    .nh-popup-notif {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0; right: 0;
        width: 100%;
        border-radius: 18px 18px 0 0;
        max-height: 80vh;
        overflow-y: auto;
        transform-origin: bottom center;
    }
    .nh-popup::before { display: none; }
    @keyframes nhPopIn {
        from { opacity: 0; transform: translateY(20px); }
        to   { opacity: 1; transform: translateY(0); }
    }
}

/* ---------------------------------------------------------------
   PROFILE HEADER — Desktop | Mobile @media (max-width: 48em)
--------------------------------------------------------------- */

/* ── DESKTOP ── */
.fb-profile-wrap { background: #fff; width: 100%; box-sizing: border-box; overflow: visible; }
.fb-profile-inner { max-width: 1300px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }

.fb-cover { position: relative; width: 100%; height: 430px; overflow: hidden; background: #2c1a0e; }
.fb-cover-img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; transition: transform 6s ease; }
.fb-cover:hover .fb-cover-img { transform: scale(1.03); }
.fb-cover-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(30,10,2,.55) 100%); pointer-events: none; }

.fb-profile-row { display: flex; align-items: flex-end; gap: 20px; padding: 0 4px; margin-top: -80px; position: relative; z-index: 10; flex-wrap: wrap; }
.fb-avatar-wrap { position: relative; flex-shrink: 0; }
.fb-avatar { width: 180px; height: 180px; border-radius: 50%; border: 4px solid #fff; object-fit: cover; display: block; box-shadow: 0 4px 20px rgba(0,0,0,.22); background: #f5ede0; transition: transform .3s; }
.fb-avatar:hover { transform: scale(1.04); }
.fb-avatar-online { position: absolute; bottom: 8px; right: 22px; width: 18px; height: 18px; background: #22c55e; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 1px 4px rgba(0,0,0,.2); }

.fb-profile-info { flex: 1; min-width: 0; padding: 80px 0 6px; }
.fb-profile-name-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 15px; }
.fb-profile-name { font-family: 'Be Vietnam Pro','Manrope',sans-serif; font-size: clamp(20px,2.5vw,26px); font-weight: 900; color: #1e1208; margin: 0; line-height: 1.2; letter-spacing: -.3px; }
.fb-verified { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; color: #8c4d20; flex-shrink: 0; }
.fb-verified svg { width: 22px; height: 22px; }
.fb-profile-role { font-size: 13px; color: #8c4d20; font-weight: 600; margin: 3px 0 10px; }

.fb-stats { display: flex; align-items: center; flex-wrap: wrap; }
.fb-stat-item { display: flex; flex-direction: column; align-items: center; padding: 0 16px; text-align: center; }
.fb-stat-item:first-child { padding-left: 0; }
.fb-stat-item strong { font-size: 18px; font-weight: 900; color: #3d2008; line-height: 1; }
.fb-stat-item span { font-size: 11px; color: #a08060; margin-top: 2px; text-transform: uppercase; letter-spacing: .5px; }
.fb-stat-sep { width: 1px; height: 28px; background: #e8ddd4; flex-shrink: 0; }

.fb-profile-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; padding: 80px 0 6px; flex-shrink: 0; }
.fb-socials { display: flex; align-items: center; gap: 6px; }
.fb-socials-inline { display: none; }
.fb-socials-desktop { display: flex; }

.fb-social-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; transition: opacity .15s, transform .15s, box-shadow .15s; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.fb-social-btn:hover { opacity: .9; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.fb-social-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.fb-social-fb { background: #1877f2; color: #fff; }
.fb-social-tt { background: #010101; color: #fff; }
.fb-social-yt { background: #ff0000; color: #fff; }
.fb-social-zl { background: #0068ff; color: #fff; }

/* Nav tabs */
#fb-primary-menu img.cp-menu-icon { filter: brightness(0) saturate(100%) invert(30%) sepia(60%) saturate(600%) hue-rotate(355deg) brightness(85%); transition: filter .15s; }
#fb-primary-menu li a:hover img.cp-menu-icon { filter: brightness(0) saturate(100%) invert(22%) sepia(70%) saturate(700%) hue-rotate(355deg) brightness(70%); }
.fb-nav-tabs { margin-top: 14px; border-top: 1px solid #e8ddd4; background: #fff; overflow: visible; }
.fb-nav-tabs::-webkit-scrollbar { display: none; }
.fb-nav { position: relative; overflow: visible; }
.fb-nav::-webkit-scrollbar { display: none; }
.fb-nav > ul, #fb-primary-menu { list-style: none; margin: 0; padding: 0 8px; display: flex; flex-wrap: wrap; gap: 0; }
.fb-nav > ul > li, #fb-primary-menu > li { position: relative; }
.fb-nav > ul > li > a, #fb-primary-menu > li > a { display: block; padding: 13px 16px 11px; font-size: 13.5px; font-weight: 600; color: #6b5a4e; white-space: nowrap; transition: color .15s; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.fb-nav > ul > li > a:hover, #fb-primary-menu > li > a:hover { color: #8c4d20; }
.fb-nav > ul > li.current-menu-item > a,
.fb-nav > ul > li.current-page-ancestor > a,
#fb-primary-menu > li.current-menu-item > a,
#fb-primary-menu > li.current-page-ancestor > a { color: #8c4d20; border-bottom-color: #8c4d20; font-weight: 800; }
.fb-nav > ul > li.menu-item-has-children > a::after,
#fb-primary-menu > li.menu-item-has-children > a::after { content: ''; display: inline-block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; margin-left: 5px; vertical-align: middle; opacity: .6; }
.fb-nav > ul > li > ul, #fb-primary-menu > li > ul { display: none; position: absolute; top: calc(100% + 0px); left: 0; background: #fff; border: 1px solid #e8ddd4; border-radius: 10px; padding: 6px; min-width: 230px; box-shadow: 0 8px 24px rgba(0,0,0,.12); z-index: 9999; list-style: none; }
.fb-nav > ul > li:hover > ul, #fb-primary-menu > li:hover > ul { display: block; }
.fb-nav > ul > li > ul > li > a, #fb-primary-menu > li > ul > li > a { display: block; padding: 8px 12px; font-size: 13px; font-weight: 500; color: #3d2008; border-radius: 6px; transition: background .12s, color .12s; }
.fb-nav > ul > li > ul > li > a:hover, #fb-primary-menu > li > ul > li > a:hover { background: #f5ede0; color: #8c4d20; }

/* ── MOBILE @media (max-width: 48em = 768px) ── */
@media only screen and (max-width: 48em) {
    .fb-profile-inner { padding: 0 14px; }
    .fb-cover { height: 180px; }
    .fb-profile-row { flex-direction: row; align-items: flex-end; margin-top: 0; gap: 12px; padding: 8px 0 12px; }
    .fb-avatar-wrap { margin-top: -52px; flex-shrink: 0; z-index: 2; }
    .fb-avatar { width: 140px; height: 140px; border-width: 3px; }
    .fb-avatar-online { width: 12px; height: 12px; bottom: 5px; right: 3px; }
    .fb-profile-info { flex: 1; min-width: 0; padding: 0 0 2px; display: flex; flex-direction: column; justify-content: flex-end; }
    .fb-profile-name { font-size: 15px; }
    .fb-profile-role { font-size: 12px; margin: 2px 0 5px; }
    .fb-stats { gap: 4px; }
    .fb-stat-item { padding: 0 8px; }
    .fb-stat-item:first-child { padding-left: 0; }
    .fb-stat-item strong { font-size: 13px; }
    .fb-stat-item span { font-size: 10px; }
    .fb-stat-sep { height: 20px; }
    .fb-profile-actions { display: none; }
    .fb-socials-inline { display: flex; }
    .fb-socials-desktop { display: none; }
    .fb-socials { gap: 6px; margin-top: 4px; }
    .fb-social-btn { width: 32px; height: 32px; }
    .fb-social-btn svg { width: 15px; height: 15px; }
    .fb-nav-tabs { overflow: visible; }
    .fb-nav > ul, #fb-primary-menu { flex-wrap: nowrap; padding: 0 4px; }
    .fb-nav > ul > li > a, #fb-primary-menu > li > a { padding: 11px 12px 9px; font-size: 12.5px; }
}

/* ---------------------------------------------------------------
   LAYOUT WIDTH � 1300px max
--------------------------------------------------------------- */

/* Top bar */
.nh-topbar-inner {
    max-width: var(--cp-max) !important;
    padding: 0 var(--cp-pad) !important;
}

/* Banner */
.nh-banner {
    max-width: var(--cp-max) !important;
    border-radius: 0 !important;
}

/* Profile wrap */
.nh-profile-wrap {
    max-width: var(--cp-max) !important;
    padding: 0 var(--cp-pad) !important;
}

/* Nav wrap */
.nh-nav-wrap {
    max-width: var(--cp-max) !important;
    padding: 0 var(--cp-pad) !important;
    margin-top: 0 !important;
}
.nh-nav {
    border-radius: 0 !important;
}


/* Front page layout */
.cp-layout {
    display: grid !important;
    grid-template-columns: 320px 1fr !important;
    gap: 18px !important;
    max-width: var(--cp-max) !important;
    padding: 0 var(--cp-pad) !important;
    align-items: start !important;
}
.cp-body {
    padding: 10px 0 32px !important;
}

/* Search bar */
.nh-search {
    max-width: 560px !important;
}

/* Social bar */
.cp-social-inner {
    max-width: var(--cp-max) !important;
    padding: 0 var(--cp-pad) !important;
}

/* Nav cp */
.cp-nav ul {
    max-width: var(--cp-max) !important;
    padding: 0 var(--cp-pad) !important;
}

/* Responsive: gi?m padding tr�n mobile */
@media (max-width: 768px) {
    .nh-topbar-inner,
    .nh-profile-wrap,
    .nh-nav-wrap,
    .cp-layout,
    .cp-social-inner,
    .cp-nav ul {
        padding: 0 16px !important;
    }
    .nh-search { max-width: none !important; }
}
@media (max-width: 480px) {
    .nh-topbar-inner,
    .nh-profile-wrap,
    .nh-nav-wrap,
    .cp-layout,
    .cp-social-inner,
    .cp-nav ul {
        padding: 0 12px !important;
    }
}

/* ---------------------------------------------------------------
   POPUP DANH M?C � Grid ?nh + B�i vi?t xem nhi?u
--------------------------------------------------------------- */

/* Popup r?ng hon d? ch?a grid 3 c?t */
.nh-popup-cat {
    width: 520px !important;
}

/* -- Grid ?nh danh m?c 3 c?t -- */
.nh-cat-img-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 6px 10px 4px;
}

.nh-cat-img-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 7 / 3;
    display: block;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}
.nh-cat-img-item:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0,0,0,.22);
    z-index: 1;
}

/* ?nh n?n */
.nh-cat-img-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .35s ease;
}
.nh-cat-img-item:hover .nh-cat-img-bg {
    transform: scale(1.08);
}

/* Overlay t?i */
.nh-cat-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,.05) 0%,
        rgba(0,0,0,.55) 100%
    );
    transition: background .2s;
}
.nh-cat-img-item:hover .nh-cat-img-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,.1) 0%,
        rgba(61,32,8,.72) 100%
    );
}

/* T�n danh m?c */
.nh-cat-img-name {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 8px 8px 7px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0,0,0,.6);
    z-index: 1;
}

/* -- B�i vi?t xem nhi?u -- */
.nh-pop-popular {
    border-top: 1px solid #f0ebe3;
    padding: 10px 12px 6px;
}
.nh-pop-popular-title {
    font-size: 13px;
    font-weight: 800;
    color: #3d2008;
    margin-bottom: 8px;
    letter-spacing: .3px;
}
.nh-pop-popular-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
}
.nh-pop-popular-item {
    display: block;
    padding: 6px 4px;
    border-bottom: 1px solid #f5ede0;
    text-decoration: none;
    transition: background .12s;
    border-radius: 4px;
}
.nh-pop-popular-item:hover {
    background: #fdf8f2;
}
.nh-pop-popular-item-title {
    font-size: 11.5px;
    font-weight: 600;
    color: #2c1a0e;
    line-height: 1.4;
    text-transform: uppercase;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nh-pop-popular-item:hover .nh-pop-popular-item-title {
    color: #8c4d20;
}
.nh-pop-popular-item-date {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    color: #b8a898;
    margin-top: 3px;
}
.nh-pop-popular-item-date svg {
    flex-shrink: 0;
    color: #8c4d20;
}

/* Responsive mobile: popup full bottom sheet */
@media (max-width: 600px) {
    .nh-popup-cat {
        width: 100% !important;
    }
    .nh-cat-img-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nh-pop-popular-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------------------------------------
   MOBILE NAV DRAWER � d?ng b? v?i menu desktop
--------------------------------------------------------------- */
.nh-mobile-nav {
    display: none;
    background: #fff;
    border-top: 3px solid #8c4d20;
    box-shadow: 0 6px 24px rgba(0,0,0,.12);
    position: relative;
    z-index: 150;
}
.nh-mobile-nav.open { display: block; }

/* Menu list */
#nh-mobile-menu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

/* Item c?p 1 */
.nh-mob-item { border-bottom: 1px solid #f5ede0; }
.nh-mob-item:last-child { border-bottom: none; }

.nh-mob-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #3d2008;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.nh-mob-link:hover,
.nh-mob-item.active > .nh-mob-link {
    background: #fdf8f2;
    color: #8c4d20;
}
.nh-mob-item.active > .nh-mob-link {
    border-left: 3px solid #8c4d20;
    padding-left: 17px;
}

/* Mui t�n submenu */
.nh-mob-arrow {
    font-size: 18px;
    color: #8c4d20;
    font-weight: 400;
    line-height: 1;
    transition: transform .2s;
}
.nh-mob-item.has-sub.sub-open > .nh-mob-link .nh-mob-arrow {
    transform: rotate(90deg);
}

/* Submenu c?p 2 */
.nh-mob-submenu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fdf8f2;
    border-top: 1px solid #f0ebe3;
}
.nh-mob-submenu.open { display: block; }
.nh-mob-submenu li { border-bottom: 1px solid #f0ebe3; }
.nh-mob-submenu li:last-child { border-bottom: none; }

.nh-mob-sub-link {
    display: block;
    padding: 10px 20px 10px 32px;
    font-size: 13px;
    font-weight: 500;
    color: #6b5a4e;
    text-decoration: none;
    transition: color .15s, background .15s;
    position: relative;
}
.nh-mob-sub-link:hover {
    color: #8c4d20;
    background: #fff;
}

/* ---------------------------------------------------------------
   SIDEBAR � 4 WIDGETS: Gi?i thi?u | H�nh ?nh | Chuy�n m?c | Xem nhi?u
   Redesigned v2
--------------------------------------------------------------- */

/* -- Widget container -- */
.cp-sidebar .cp-widget {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(61,32,8,.08);
    border: 1px solid #ede5da;
}

/* -- Widget title -- */
.cp-widget-title {
    background: transparent !important;
    color: var(--cp-brown) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 14px 14px 10px !important;
    margin: 0 !important;
    border-left: none !important;
    border-bottom: 2px solid #f0e8dc !important;
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
}
.cp-widget-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: var(--cp-gold);
    border-radius: 2px;
    flex-shrink: 0;
}

/* -- Widget body -- */
.cp-widget-body {
    padding: 14px !important;
}
.cp-widget-body--nopad { padding: 0 !important; }

/* ----------------------------------
   ? GI?I THI?U
---------------------------------- */
.cp-intro-text {
    font-size: 12.5px;
    line-height: 1.8;
    color: #5a4a3a;
    margin: 0 0 8px;
}
.cp-intro-readmore {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--cp-gold);
    text-decoration: none;
    margin-bottom: 14px;
    transition: color .15s;
}
.cp-intro-readmore:hover { color: #a06a08; text-decoration: underline; }

/* Badges */
.cp-intro-badges {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.cp-intro-badges li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #3d2008;
    line-height: 1.35;
}
.cp-badge-icon {
    width: 22px; height: 22px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.cp-badge-icon--gold { background: linear-gradient(135deg,#f5c842,#8c4d20); color: #fff; }
.cp-badge-icon--red  { background: linear-gradient(135deg,#fc8181,#e53e3e); color: #fff; }
.cp-badge-icon--blue { background: linear-gradient(135deg,#63b3ed,#3182ce); color: #fff; }

/* Gallery 3 c?t */
.cp-intro-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    margin-bottom: 14px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ede5da;
}
.cp-intro-gallery-item {
    display: block;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    position: relative;
}
.cp-intro-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(61,32,8,0);
    transition: background .2s;
}
.cp-intro-gallery-item:hover::after {
    background: rgba(61,32,8,.18);
}
.cp-intro-gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .35s;
    display: block;
}
.cp-intro-gallery-item:hover img { transform: scale(1.1); }

/* N�t full width */
.cp-btn-more--full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--cp-gold);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 7px;
    text-decoration: none;
    transition: background .15s, transform .15s, box-shadow .15s;
    box-shadow: 0 2px 8px rgba(200,134,10,.25);
    letter-spacing: .3px;
}
.cp-btn-more--full:hover {
    background: #a06a08;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(200,134,10,.35);
}

/* ----------------------------------
   ? H�NH ?NH
---------------------------------- */
.cp-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}
.cp-photo-item {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
}
.cp-photo-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(61,32,8,0);
    transition: background .2s;
    pointer-events: none;
}
.cp-photo-item:hover::after { background: rgba(61,32,8,.15); }
.cp-photo-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s;
}
.cp-photo-item:hover img { transform: scale(1.08); }

/* ----------------------------------
   ? CHUY�N M?C
---------------------------------- */
.cp-cat-list2 {
    list-style: none;
    margin: 0; padding: 0;
}
.cp-cat-list2 li { border-bottom: 1px solid #f5ede0; }
.cp-cat-list2 li:last-child { border-bottom: none; }
.cp-cat-list2 li a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 4px;
    font-size: 13px;
    font-weight: 500;
    color: #2c1a0e;
    text-decoration: none;
    transition: color .15s, padding-left .15s, background .15s;
    border-radius: 5px;
}
.cp-cat-list2 li a:hover {
    color: var(--cp-gold);
    padding-left: 8px;
    background: #fdf8f2;
}
.cp-cat2-bullet {
    width: 8px; height: 8px;
    background: var(--cp-gold);
    border-radius: 2px;
    flex-shrink: 0;
    display: inline-block;
    transition: transform .15s;
}
.cp-cat-list2 li a:hover .cp-cat2-bullet {
    transform: scale(1.3);
}

/* ----------------------------------
   ? XEM NHI?U
---------------------------------- */
.cp-popular-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f5ede0;
    align-items: flex-start;
    transition: background .15s;
    border-radius: 6px;
    margin: 0 -4px;
    padding-left: 4px;
    padding-right: 4px;
}
.cp-popular-item:last-child { border-bottom: none; }
.cp-popular-item:hover { background: #fdf8f2; }

.cp-popular-thumb {
    flex-shrink: 0;
    width: 72px; height: 56px;
    border-radius: 6px;
    overflow: hidden;
    display: block;
    box-shadow: 0 1px 4px rgba(0,0,0,.1);
}
.cp-popular-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.cp-popular-thumb:hover img { transform: scale(1.08); }

.cp-popular-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 1px;
}
.cp-popular-title {
    font-size: 12px;
    font-weight: 700;
    color: #2c1a0e;
    text-decoration: none;
    line-height: 1.45;
    text-transform: uppercase;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .15s;
}
.cp-popular-title:hover { color: var(--cp-gold); }
.cp-popular-date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--cp-gold);
    font-weight: 600;
    background: #fdf3e3;
    padding: 2px 7px;
    border-radius: 10px;
    width: fit-content;
}
.cp-popular-date svg { flex-shrink: 0; }

/* ---------------------------------------------------------------
   SECTION 1: SLIDER + B�I BLOG L?N
--------------------------------------------------------------- */

/* -- SLIDER 4 ?NH -- */
.cp-slider-wrap {
    position: relative;
    overflow: hidden;
    margin-bottom: 14px;
}
.cp-slider-track {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(22%, 1fr));
    gap: 8px;
}
/* Giới hạn tối đa 4 cột, tự co theo số bài thực */
.cp-slider-track[data-count="1"] { grid-template-columns: repeat(1, minmax(0, 220px)); }
.cp-slider-track[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
.cp-slider-track[data-count="3"] { grid-template-columns: repeat(3, 1fr); }
.cp-slide-item { min-width: 0; }
.cp-slide-link { display: block; text-decoration: none; }

.cp-slide-img-wrap {
    position: relative;
    border-radius: 10px;
    aspect-ratio: 9 / 12 !important;
    overflow: hidden;
}
.cp-slide-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.cp-slide-item:hover .cp-slide-img-wrap img {
    transform: scale(1.06);
}
.cp-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 30%,
        rgba(30,10,2,.75) 100%
    );
    pointer-events: none;
}
.cp-slide-title {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 10px 10px 8px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    text-shadow: 0 1px 4px rgba(0,0,0,.6);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* N�t prev/next */
.cp-slide-btn {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 30px; height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.9);
    color: var(--cp-brown);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
    display: flex; align-items: center; justify-content: center;
    transition: background .15s, transform .15s;
    z-index: 10;
}
.cp-slide-btn:hover { background: var(--cp-gold); color: #fff; transform: translateY(-50%) scale(1.1); }
.cp-slide-prev { left: 4px; }
.cp-slide-next { right: 4px; }

/* -- B�I BLOG L?N -- */
.cp-blog-featured {
    border: 1px solid var(--cp-border);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .2s;
}
.cp-blog-featured:hover {
    box-shadow: 0 6px 24px rgba(61,32,8,.12);
}
.cp-blog-feat-img-wrap {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 7;
}
.cp-blog-feat-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.cp-blog-feat-img-wrap:hover .cp-blog-feat-img {
    transform: scale(1.03);
}
.cp-blog-feat-body {
    padding: 14px 16px 16px;
}
.cp-blog-feat-title {
    margin: 0 0 10px;
    font-size: 14.5px;
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: .2px;
}
.cp-blog-feat-title a {
    color: var(--cp-gold);
    text-decoration: n;
    transition: color .15s;
    text-transform: uppercase;
}
.cp-blog-feat-title a:hover { color: #a06a08; }

.cp-blog-feat-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.cp-blog-feat-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    color: #888;
    font-weight: 500;
}
.cp-blog-feat-meta-item svg { flex-shrink: 0; color: var(--cp-gold); }

.cp-blog-feat-excerpt {
    color: #5a4a3a;
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 640px) {
    .cp-slider-track {
        grid-template-columns: repeat(2, 1fr);
    }
    .cp-blog-feat-img-wrap { aspect-ratio: 16 / 9; }
}

/* -- Section kh�ng c� header -- */
.cp-section-no-head {
    padding-top: 12px !important;
}


/* -- Ti�u d? slide l?n hon ch�t -- */
.cp-slide-title {
    font-size: 12.5px !important;
    padding: 12px 10px 10px !important;
}


/* ---------------------------------------------------------------
   TYPOGRAPHY SYSTEM � Ch?nh font-size t?i d�y, �p d?ng to�n web
   Thay d?i --fs-base d? scale t?t c? theo t? l?
--------------------------------------------------------------- */
:root {
    --fs-base : 16px;   /* ? CH? S?A ? ��Y */
    --fs-sm   : 0.8125em;   /* 13px @ 16px base */
    --fs-h1   : 2em;        /* 32px */
    --fs-h2   : 1.5em;      /* 24px */
    --fs-h3   : 1.25em;     /* 20px */
    --fs-h4   : 1.125em;    /* 18px */
    --fs-h5   : 1em;        /* 16px */
    --fs-h6   : 0.9375em;   /* 15px */
}

/* -- Headings global -- */
h1 { font-size: var(--fs-h1); line-height: 1.2; }
h2 { font-size: var(--fs-h2); line-height: 1.3; }
h3 { font-size: var(--fs-h3); line-height: 1.35; }
h4 { font-size: var(--fs-h4); line-height: 1.4; }
h5 { font-size: var(--fs-h5); line-height: 1.5; }
h6 { font-size: var(--fs-h6); line-height: 1.5; }

/* -- Body text global -- */
html { font-size: var(--fs-base); }
body, p, li, span, td, th, label { font-size: 1rem; }
small { font-size: var(--fs-sm); }

/* -- SIDEBAR -- */
.cp-widget-title            { font-size: 15px !important; font-weight: 900 !important; }
.cp-intro-text              { font-size: 16px !important; line-height: 1.75 !important; }
.cp-intro-readmore          { font-size: 15px !important; }
.cp-intro-badges li         { font-size: 15px !important; }
.cp-cat-list2 li a          { font-size: 16px !important; }
.cp-popular-title           { font-size: 15px !important; line-height: 1.45 !important; }
.cp-popular-date            { font-size: 13px !important; }
.cp-side-post-info h4       { font-size: 15px !important; }
.cp-side-post-info span     { font-size: 13px !important; }

/* -- MAIN � Section heads -- */
.cp-section-head h2         { font-size: 16px !important; font-weight: 900 !important; }
.cp-see-all                 { font-size: 14px !important; }

/* -- Cards -- */
.cp-card-exc                { font-size: 12.5px !important; }

/* -- Slider -- */
.cp-slide-title             { font-size: 15px !important; }

/* -- Blog featured -- */
.cp-blog-feat-title         { font-size: 20px !important; line-height: 1.35 !important; }
.cp-blog-feat-meta-item     { font-size: 14px !important; }
.cp-blog-feat-excerpt       { font-size: 16px !important; line-height: 1.75 !important; }

/* -- Featured block -- */
.cp-feat-big-body h3        { font-size: 18px !important; line-height: 1.4 !important; }
.cp-feat-big-body p         { font-size: 16px !important; }
.cp-feat-small-title        { font-size: 14px !important; }
.cp-feat-meta               { font-size: 13px !important; }

/* -- List items -- */
.cp-list-info h3            { font-size: 16px !important; }
.cp-list-info p             { font-size: 15px !important; }
.cp-list-meta               { font-size: 13px !important; }

/* -- Popular -- */
.cp-pop-popular-item-title  { font-size: 15px !important; }
.cp-pop-popular-item-date   { font-size: 13px !important; }

/* -- Header nav -- */
.nh-nav > ul > li > a,
#fb-primary-menu > li > a   { font-size: 15px !important; }
.nh-logo-name               { font-size: 18px !important; }
.nh-logo-sub                { font-size: 11px !important; }
.nh-search-form input       { font-size: 15px !important; }

/* -- Profile -- */
.fb-stat-item strong        { font-size: 20px !important; }
.fb-stat-item span          { font-size: 13px !important; }
.fb-btn                     { font-size: 15px !important; }

/* -- Popup -- */
.nh-popup-title             { font-size: 15px !important; }
.nh-cat-img-name            { font-size: 14px !important; }
.nh-notif-title             { font-size: 15px !important; }
.nh-notif-cat               { font-size: 12px !important; }
.nh-notif-time              { font-size: 12px !important; }
.nh-chat-btn-text strong    { font-size: 16px !important; }
.nh-chat-btn-text small     { font-size: 13px !important; }
.nh-chat-note               { font-size: 13px !important; }
.nh-pop-popular-item-title  { font-size: 14px !important; }
.nh-pop-popular-item-date   { font-size: 12px !important; }

/* -- Mobile nav -- */
.nh-mob-link                { font-size: 16px !important; }
.nh-mob-sub-link            { font-size: 15px !important; }

/* -- Footer -- */
.ft-about, .ft-links a,
.ft-contact-value           { font-size: 15px !important; }
.ft-col-title               { font-size: 14px !important; }
.ft-copy                    { font-size: 14px !important; }

/* -- Slider section -- */
.cp-section-no-head         { padding-top: 12px !important; }

/* ---------------------------------------------------------------
   IMAGE QUALITY � H�nh ?nh n�t hon to�n front-page
--------------------------------------------------------------- */

/* T?t c? ?nh trong front-page */
.cp-body img,
.cp-sidebar img,
.cp-main img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: bicubic;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Card images � d�ng size l?n hon qua srcset */
.cp-card-img,
.cp-slide-img-wrap img,
.cp-blog-feat-img,
.cp-feat-big img,
.cp-feat-small img,
.cp-photo-item img,
.cp-intro-gallery-item img,
.cp-popular-thumb img,
.cp-list-item img {
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
    /* T?t blur khi scale */
    filter: none;
}

/* Kh�ng d? transition blur ?nh */
.cp-card:hover .cp-card-img,
.cp-slide-item:hover .cp-slide-img-wrap img,
.cp-blog-feat-img-wrap:hover .cp-blog-feat-img,
.cp-feat-big:hover img,
.cp-feat-small:hover img,
.cp-photo-item:hover img,
.cp-intro-gallery-item:hover img {
    filter: none;
    image-rendering: auto;
}

/* ---------------------------------------------------------------
   LAYOUT CLEANUP � B? background th?a, chia l?i kho?ng c�ch
--------------------------------------------------------------- */

/* -- Body: gi?m padding -- */
.cp-body {
    background: #f0ebe3 !important;
    padding: 10px 0 32px !important;
}
.cp-body--full {
    background: var(--cp-cream);
    padding: 0 0 32px;
}

/* -- Layout: sidebar nhỏ hơn, gap gần hơn -- */
.cp-layout {
    display: grid !important;
    grid-template-columns: 320px 1fr !important;
    gap: 18px !important;
    padding: 0 var(--cp-pad) !important;
    align-items: start !important;
}

/* -- Sidebar: b? gap th?a gi?a c�c widget -- */
.cp-sidebar {
    gap: 12px !important;
}

/* -- Widget: b? shadow, gi? border nh? -- */
.cp-sidebar .cp-widget {
    box-shadow: none !important;
    border: 1px solid #e0d5c8 !important;
    border-radius: 8px !important;
}
.cp-widget-body {
    padding: 12px 14px !important;
}

/* -- Section box: b? shadow + border, ch? d�ng background -- */
.cp-section-box {
    background: #ffffff !important;
    border: none !important;
    padding: 14px !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 6px rgba(0,0,0,.05) !important;
}

/* -- Main: kho?ng c�ch gi?a c�c section -- */
.cp-main {
    gap: 10px !important;
}

/* -- Section head: g?n hon -- */
.cp-section-head {
    padding-bottom: 8px !important;
    margin-bottom: 12px !important;
    border-bottom: 2px solid #e8ddd4 !important;
}
.cp-section-head h2::before {
    height: 14px !important;
}

/* -- Cards: border-radius đồng bộ -- */
.cp-card {
    border: none !important;
    box-shadow: 0 1px 4px rgba(0,0,0,.07) !important;
    border-radius: 10px !important;
}
.cp-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.12) !important;
}
.cp-card-body {
    padding: 10px 10px 12px !important;
}

/* -- List items: b? border -- */
.cp-list-item {
    border: none !important;
    box-shadow: 0 1px 4px rgba(0,0,0,.06) !important;
    border-radius: 8px !important;
    padding: 8px 10px !important;
}
.cp-list-item:hover {
    box-shadow: 0 3px 12px rgba(0,0,0,.10) !important;
}

/* -- Grid gaps g?n hon -- */
.cp-grid4 { gap: 10px !important; }
.cp-grid2 { gap: 8px !important; }
.cp-split  { gap: 10px !important; }

/* -- Blog featured: b? border -- */
.cp-blog-featured {
    border: none !important;
    box-shadow: 0 1px 6px rgba(0,0,0,.07) !important;
    border-radius: 10px !important;
}

/* -- Slider: kho?ng c�ch -- */
.cp-slider-wrap {
    margin-bottom: 12px !important;
}
.cp-slider-track {
    gap: 6px !important;
}

/* -- Section no-head -- */
.cp-section-no-head {
    padding-top: 16px !important;
}

/* -- Responsive -- */
@media (max-width: 900px) {
    .cp-layout { padding: 0 16px !important; gap: 14px !important; }
    .cp-section-box { padding: 12px !important; }
}
@media (max-width: 540px) {
    .cp-layout { padding: 0 12px !important; }
    .cp-body { padding: 12px 0 32px !important; }
}

/* -- Category tag trong b�i featured -- */
.cp-feat-cat-tag {
    display: inline-block;
    background: var(--cp-gold);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    text-decoration: none;
    transition: background .15s;
}
.cp-feat-cat-tag:hover { background: #a06a08; }

/* -- Footer "Xem t?t c?" c?a section -- */
.cp-section-footer {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #f0ebe3;
    text-align: center;
}
.cp-see-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--cp-gold);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    padding: 7px 16px;
    border: 1.5px solid var(--cp-gold);
    border-radius: 6px;
    transition: background .15s, color .15s;
}
.cp-see-all-btn:hover {
    background: var(--cp-gold);
    color: #fff;
}

/* -- Read more / collapse cho giới thiệu sidebar -- */
.cp-intro-collapse {
    position: relative;
}

#cp-intro-text {
    transition: max-height .35s ease;
    overflow: hidden;
}

/* Gradient fade ở dưới khi thu gọn */
#cp-intro-fade {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 48px;
    background: linear-gradient(to bottom, transparent, #fff);
    pointer-events: none;
}

.cp-widget-photos + .cp-widget .cp-widget-body #cp-intro-fade,
.cp-widget-intro .cp-widget-body #cp-intro-fade {
    background: linear-gradient(to bottom, transparent, #ffffff);
}

/* Nút toggle */
.cp-intro-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 700;
    color: blue;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 0;
    transition: color .15s;
    font-family: inherit;
}

.cp-intro-toggle-btn:hover { 
    color: #a06a08; 
}

.cp-intro-toggle-btn svg { 
    transition: transform .2s; 
}

.cp-intro-toggle-btn[aria-expanded="true"] svg { 
    transform: rotate(180deg); 
}

/* Intro text paragraphs */
#cp-intro-text p {
    font-size: 14px !important;
    line-height: 1.75 !important;
    color: #5a4a3a;
    margin: 0 0 8px;
}

#cp-intro-text p:last-child { 
    margin-bottom: 0; 
}

/* ----------------------------------
   FULL-WIDTH SECTIONS (kh�ng sidebar)
   �p d?ng t? danh m?c "C� Ph� Take Away" tr? xu?ng
---------------------------------- */
.cp-full-wrap {
    max-width: var(--cp-max);
    margin: 0 auto;
    padding: 0 var(--cp-pad);
    display: flex;
    flex-direction: column;
    gap: var(--cp-gap);
}
.cp-body--full .cp-section-box {
    width: 100%;
}
/* Grid 4 b�i r?ng hon khi full-width */
.cp-body--full .cp-grid4 {
    grid-template-columns: repeat(4, 1fr);
}
/* B�i l?n + 4 nh? c?nh nhau r?ng hon */
.cp-body--full .cp-featured-wrap {
    grid-template-columns: 1fr 1fr;
}
@media (max-width: 900px) {
    .cp-full-wrap { padding: 0 16px; }
    .cp-body--full .cp-featured-wrap { grid-template-columns: 1fr; }
    .cp-body--full .cp-grid4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .cp-full-wrap { padding: 0 12px; }
    .cp-body--full .cp-grid4 { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------------
   5 LAYOUT B? C?C DANH M?C FRONT-PAGE
-------------------------------------------------------------- */

/* -- 1. LAYOUT-HERO: 1 b�i l?n + 3 b�i d?c ph?i -- */
.cp-hero-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 12px;
}
.cp-hero-main {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16/9;
}
.cp-hero-main img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s; }
.cp-hero-main:hover img { transform:scale(1.04); }
.cp-hero-overlay {
    position:absolute; inset:0;
    background:linear-gradient(to bottom, transparent 40%, rgba(20,8,2,.75));
    pointer-events:none;
}
.cp-hero-caption {
    position:absolute; bottom:0; left:0; right:0;
    padding:16px 18px;
    color:#fff;
}
.cp-hero-caption h3 {
    font-size:16px; font-weight:700; margin:6px 0 4px; line-height:1.4;
    color:#fff; text-shadow:0 1px 3px rgba(0,0,0,.4);
}
.cp-hero-date { font-size:12px; opacity:.8; }
.cp-hero-side {
    display:flex; flex-direction:column; gap:10px;
}
.cp-hero-side-item {
    display:flex; gap:10px; align-items:flex-start;
    text-decoration:none; padding:8px; border-radius:8px;
    transition:background .15s;
}
.cp-hero-side-item:hover { background:#f5ede0; }
.cp-hero-side-item img {
    width:80px; height:58px; object-fit:cover;
    border-radius:6px; flex-shrink:0;
}
.cp-hero-side-body h4 {
    font-size:12px; font-weight:600; color:#2c1a0e;
    line-height:1.4; margin:0 0 4px;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.cp-hero-side-body span { font-size:11px; color:#a08060; }

/* -- 2. LAYOUT-SLIDER: cu?n ngang -- */
.cp-hslider {
    position:relative; overflow:hidden;
}
.cp-hslider-track {
    display:flex; gap:14px;
    overflow-x:auto; scroll-snap-type:x mandatory;
    scrollbar-width:none; -ms-overflow-style:none;
    padding-bottom:4px;
    scroll-behavior:smooth;
}
.cp-hslider-track::-webkit-scrollbar { display:none; }
.cp-hslider-item {
    flex:0 0 calc(33.333% - 10px);
    scroll-snap-align:start;
    background:#fff; border-radius:10px;
    overflow:hidden; box-shadow:0 1px 6px rgba(0,0,0,.07);
    transition:transform .2s, box-shadow .2s;
}
.cp-hslider-item:hover { transform:translateY(-3px); box-shadow:0 6px 18px rgba(0,0,0,.12); }
.cp-hslider-img {
    position:relative; 
    display:block; 
    aspect-ratio: 16 / 9 !important; 
    overflow:hidden;
}
.cp-hslider-img img { width:100%; height:100%; object-fit:cover; transition:transform .35s; }
.cp-hslider-img:hover img { transform:scale(1.06); }
.cp-hslider-overlay {
    position:absolute; inset:0;
    background:linear-gradient(to bottom, transparent 60%, rgba(20,8,2,.35));
    pointer-events:none;
}
.cp-hslider-body { padding:10px 12px 14px; }
.cp-hslider-body h4 { font-size:13px; font-weight:600; line-height:1.45; margin:0 0 6px; }
.cp-hslider-body h4 a { color:#2c1a0e; text-decoration:none; }
.cp-hslider-body h4 a:hover { color:#8c4d20; }
.cp-hslider-date { font-size:11px; color:#a08060; }
/* N�t prev/next */
.cp-hslider-prev, .cp-hslider-next {
    position:absolute; top:30%; transform:translateY(-50%);
    width:34px; height:34px; border-radius:50%;
    background:#fff; border:1px solid #e0d5c8;
    box-shadow:0 2px 8px rgba(0,0,0,.12);
    cursor:pointer; display:flex; align-items:center; justify-content:center;
    z-index:10; transition:background .15s;
}
.cp-hslider-prev:hover, .cp-hslider-next:hover { background:#f5ede0; }
.cp-hslider-prev { left:4px; }
.cp-hslider-next { right:4px; }

/* -- 3. LAYOUT-MAGAZINE: 1 l?n + 2 v?a + 3 nh? -- */
.cp-mag-top {
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:12px;
    margin-bottom:12px;
}
.cp-mag-big {
    position:relative; display:block;
    border-radius:10px; overflow:hidden; aspect-ratio:4/3;
}
.cp-mag-big img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s; }
.cp-mag-big:hover img { transform:scale(1.04); }
.cp-mag-big-overlay {
    position:absolute; inset:0;
    background:linear-gradient(to bottom, transparent 35%, rgba(20,8,2,.78));
    pointer-events:none;
}
.cp-mag-big-caption {
    position:absolute; bottom:0; left:0; right:0; padding:14px 16px; color:#fff;
}
.cp-mag-big-caption h3 { font-size:15px; font-weight:700; margin:6px 0 4px; color:#fff; line-height:1.4; }
.cp-mag-big-caption span { font-size:11px; opacity:.8; }
.cp-mag-mid { display:flex; flex-direction:column; gap:10px; }
.cp-mag-mid-item img {
    width:100%; aspect-ratio:16/9; object-fit:cover;
    border-radius:8px; display:block; transition:transform .3s;
}
.cp-mag-mid-item:hover img { transform:scale(1.03); }
.cp-mag-mid-body { padding:6px 2px 0; }
.cp-mag-mid-body h4 { font-size:13px; font-weight:600; margin:0 0 3px; line-height:1.4; }
.cp-mag-mid-body h4 a { color:#2c1a0e; text-decoration:none; }
.cp-mag-mid-body h4 a:hover { color:#8c4d20; }
.cp-mag-mid-body span { font-size:11px; color:#a08060; }
.cp-mag-bot {
    display:grid; grid-template-columns:repeat(3,1fr); gap:12px;
}

/* -- 4. LAYOUT-GRID3: 3 c?t d?u -- */
.cp-grid3 {
    display:grid; grid-template-columns:repeat(3,1fr); gap:14px;
}

/* -- 5. LAYOUT-ROW: danh s�ch ngang -- */
.cp-row-list { display:flex; flex-direction:column; gap:0; }
.cp-row-item {
    display:flex; align-items:center; gap:14px;
    text-decoration:none; padding:12px 8px;
    border-bottom:1px solid #ede5da;
    transition:background .15s; border-radius:8px;
}
.cp-row-item:last-child { border-bottom:none; }
.cp-row-item:hover { background:#f9f4ee; }
.cp-row-num {
    font-size:22px; font-weight:800; color:#e8d5c0;
    min-width:36px; text-align:center; flex-shrink:0;
    font-family:'Be Vietnam Pro', sans-serif;
}
.cp-row-thumb {
    width:110px; height:75px; object-fit:cover;
    border-radius:8px; flex-shrink:0;
}
.cp-row-body { flex:1; min-width:0; }
.cp-row-cat {
    font-size:11px; font-weight:700; color:#8c4d20;
    text-transform:uppercase; letter-spacing:.5px;
}
.cp-row-body h4 {
    font-size:14px; font-weight:700; color:#2c1a0e;
    margin:3px 0 4px; line-height:1.4;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.cp-row-body p {
    font-size:12px; color:#7a6050; margin:0 0 4px; line-height:1.5;
    display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden;
}
.cp-row-date { font-size:11px; color:#a08060; }

/* -- Responsive -- */
@media (max-width: 900px) {
    .cp-hero-layout { grid-template-columns:1fr; }
    .cp-hero-side { flex-direction:row; flex-wrap:wrap; }
    .cp-hero-side-item { flex:1 1 45%; }
    .cp-hslider-item { flex:0 0 calc(50% - 7px); }
    .cp-mag-top { grid-template-columns:1fr; }
    .cp-mag-bot { grid-template-columns:repeat(2,1fr); }
    .cp-grid3 { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 540px) {
    .cp-hslider-item { flex:0 0 calc(80% - 7px); }
    .cp-mag-bot { grid-template-columns:1fr; }
    .cp-grid3 { grid-template-columns:1fr; }
    .cp-row-thumb { width:80px; height:58px; }
    .cp-hero-side-item { flex:1 1 100%; }
}

/* -- JS slider script -- */

/* -- MASONRY -- */
.cp-masonry { columns:2; column-gap:12px; }
.cp-masonry-item { break-inside:avoid; margin-bottom:12px; border-radius:10px; overflow:hidden; background:#fff; box-shadow:0 1px 6px rgba(0,0,0,.07); }
.cp-masonry-img { 
    display:block; 
    position:relative;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden;
}
.cp-masonry-img img { 
    width:100%; 
    height: 100%;
    display:block; 
    object-fit:cover; 
    transition:transform .35s; 
}
.cp-masonry-item:hover .cp-masonry-img img { transform:scale(1.04); }
.cp-masonry-overlay { position:absolute;inset:0;background:linear-gradient(to bottom,transparent 50%,rgba(20,8,2,.5));pointer-events:none; }
.cp-masonry-body { padding:10px 12px 12px; }
.cp-masonry-body h4 { font-size:13px;font-weight:600;margin:0 0 4px;line-height:1.4; }
.cp-masonry-body h4 a { color:#2c1a0e;text-decoration:none; }
.cp-masonry-body h4 a:hover { color:#8c4d20; }
.cp-masonry-body span { font-size:11px;color:#a08060; }

/* -- TIPS -- */
.cp-tips-list { display:flex;flex-direction:column;gap:0; }
.cp-tips-item { display:flex;align-items:flex-start;gap:14px;padding:14px 8px;border-bottom:1px solid #ede5da;transition:background .15s;border-radius:8px; }
.cp-tips-item:last-child { border-bottom:none; }
.cp-tips-item:hover { background:#f9f4ee; }
.cp-tips-num { font-size:28px;font-weight:900;color:#e8d5c0;min-width:44px;text-align:center;flex-shrink:0;font-family:'Be Vietnam Pro',sans-serif;line-height:1; }
.cp-tips-img { flex-shrink:0; }
.cp-tips-img img { 
    width:110px;
    aspect-ratio: 16 / 9 !important;
    object-fit:cover;
    border-radius:8px;
    display:block;
    transition:transform .3s; 
}
.cp-tips-item:hover .cp-tips-img img { transform:scale(1.04); }
.cp-tips-body { flex:1;min-width:0; }
.cp-tips-body h4 { font-size:14px;font-weight:700;color:#2c1a0e;margin:0 0 5px;line-height:1.4; }
.cp-tips-body h4 a { color:#2c1a0e;text-decoration:none; }
.cp-tips-body h4 a:hover { color:#8c4d20; }
.cp-tips-body p { font-size:12px;color:#7a6050;margin:0 0 4px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.cp-tips-date { font-size:11px;color:#a08060; }

/* -- CASUAL -- */
.cp-casual-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:14px; }
.cp-casual-item { background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 1px 6px rgba(0,0,0,.07);transition:transform .2s,box-shadow .2s; }
.cp-casual-item:hover { transform:translateY(-3px);box-shadow:0 6px 20px rgba(0,0,0,.12); }
.cp-casual-img-wrap { 
    position:relative;
    aspect-ratio: 4 / 3;
    overflow:hidden; 
}
.cp-casual-img-wrap img { width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s; }
.cp-casual-item:hover .cp-casual-img-wrap img { transform:scale(1.06); }
.cp-casual-cat {
    position: absolute;
    top: 10px; left: 10px;
    background: rgba(30,10,2,.72);
    color: #f5c842;
    font-size: 10px !important;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .5px;
    pointer-events: none;
    white-space: nowrap;
    max-width: calc(100% - 20px);
    overflow: hidden;
    text-overflow: ellipsis;
}
.cp-casual-body { padding:10px 12px 12px; }
.cp-casual-body h4 { font-size:14px;font-weight:700;color:var(--cp-text);line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 5px; }
.cp-casual-body h4 a { color:inherit; }
.cp-casual-body h4 a:hover { color:var(--cp-gold); }
.cp-casual-body p { font-size:12.5px;color:#7a6050;line-height:1.55;margin:0 0 6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.cp-casual-date { display:block;font-size:12px;font-weight:600;color:#c8860a; }
.cp-casual-body { padding:12px 14px 14px; }
.cp-casual-body h4 { font-size:13px;font-weight:700;color:#2c1a0e;margin:0 0 6px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.cp-casual-body h4 a { color:#2c1a0e;text-decoration:none; }
.cp-casual-body h4 a:hover { color:#8c4d20; }
.cp-casual-body p { font-size:12px;color:#7a6050;margin:0 0 6px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.cp-casual-date { font-size:11px;color:#a08060; }
.cp-casual-slider { position:relative; }
.cp-casual-track { display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none; }
.cp-casual-track::-webkit-scrollbar { display:none; }
.cp-casual-slider .cp-casual-item { flex:0 0 calc((100% - 28px) / 3);scroll-snap-align:start; }

/* ── ĐỒNG BỘ STYLE: date / title / excerpt cho tất cả layout ── */
.cp-hslider-date,
.cp-masonry-date,
.cp-tips-date,
.cp-casual-date,
.cp-showcase-date,
.cp-deepread-date,
.cp-sb-list-date,
.cp-sb-card-date,
.cp-resource-body span,
.cp-card-date {
    display: block;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #c8860a !important;
}
/* Title đồng bộ */
.cp-hslider-body h4,
.cp-masonry-body h4,
.cp-tips-body h4,
.cp-casual-body h4,
.cp-showcase-body h3,
.cp-sb-list-body h4,
.cp-sb-card-body h4,
.cp-resource-body h4 {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #2c1a0e !important;
    line-height: 1.45 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cp-hslider-body h4 a,
.cp-masonry-body h4 a,
.cp-tips-body h4 a,
.cp-casual-body h4 a,
.cp-sb-list-body h4 a,
.cp-sb-card-body h4 a { color: #2c1a0e; text-decoration: none; }
.cp-hslider-body h4 a:hover,
.cp-masonry-body h4 a:hover,
.cp-tips-body h4 a:hover,
.cp-casual-body h4 a:hover,
.cp-sb-list-body h4 a:hover,
.cp-sb-card-body h4 a:hover { color: #8c4d20; }
/* Excerpt đồng bộ */
.cp-hslider-body p,
.cp-masonry-body p,
.cp-tips-body p,
.cp-casual-body p,
.cp-showcase-body p,
.cp-resource-body p {
    font-size: 12.5px !important;
    color: #7a6050 !important;
    line-height: 1.55 !important;
    margin: 0 0 6px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Cat tag — dùng chung cho tất cả layout */
.cp-hslider-img,
.cp-masonry-img,
.cp-sb-card-img,
.cp-sb-feat-img { position: relative; }
.cp-hslider-img .cp-card-cat-tag,
.cp-masonry-img .cp-card-cat-tag,
.cp-sb-card-img .cp-card-cat-tag { position: absolute; top: 10px; left: 10px; }
/* Slider img aspect ratio */
.cp-hslider-img { aspect-ratio: 4/3 !important; overflow: hidden; display: block; }
.cp-hslider-img img { width:100%;height:100%;object-fit:cover;transition:transform .35s; }
/* Masonry cat tag trong .cp-masonry-img đã position:relative */
/* Sb-card img */
.cp-sb-card-img { overflow: hidden; border-radius: 10px 10px 0 0; aspect-ratio: 4/3; }
.cp-sb-card-img img { width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s; }
.cp-sb-card:hover .cp-sb-card-img img { transform: scale(1.05); }
.cp-resource-list { display:flex;flex-direction:column;gap:2px; }
.cp-resource-item { display:flex;align-items:center;gap:16px;padding:14px 12px;background:#fff;border-radius:10px;text-decoration:none;border:1px solid #ede5da;transition:background .15s,border-color .15s,box-shadow .15s; }
.cp-resource-item:hover { background:#fdf8f2;border-color:#8c4d20;box-shadow:0 2px 12px rgba(200,134,10,.1); }
.cp-resource-icon { width:48px;height:48px;background:linear-gradient(135deg,#fff8ee,#fdeece);border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#8c4d20;border:1px solid #f5dfa0; }
.cp-resource-body { flex:1;min-width:0; }
.cp-resource-body h4 { font-size:14px;font-weight:700;color:#2c1a0e;margin:0 0 4px;line-height:1.35; }
.cp-resource-body p { font-size:12px;color:#7a6050;margin:0 0 3px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden; }
.cp-resource-body span { font-size:11px;color:#a08060; }
.cp-resource-arrow { flex-shrink:0;color:#8c4d20;opacity:.6;transition:opacity .15s,transform .15s; }
.cp-resource-item:hover .cp-resource-arrow { opacity:1;transform:translateX(3px); }

/* -- EDITORIAL -- */
.cp-editorial-hero { margin-bottom:14px; }
.cp-editorial-img { 
    position:relative;
    display:block;
    border-radius:12px;
    overflow:hidden;
    aspect-ratio: 16 / 9 !important; 
}
.cp-editorial-img img { width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s; }
.cp-editorial-img:hover img { transform:scale(1.03); }
.cp-editorial-overlay { position:absolute;inset:0;background:linear-gradient(to bottom,transparent 30%,rgba(15,6,1,.8));pointer-events:none; }
.cp-editorial-caption { position:absolute;bottom:0;left:0;right:0;padding:20px 24px;color:#fff; }
.cp-editorial-caption h3 { font-size:20px;font-weight:800;margin:8px 0 6px;color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.4);line-height:1.3; }
.cp-editorial-meta { display:flex;gap:12px;align-items:center;flex-wrap:wrap; }
.cp-editorial-meta span { font-size:12px;opacity:.85; }
.cp-editorial-exc { font-size:13px !important;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden; }
.cp-editorial-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:12px; }

/* -- SHOWCASE -- */
.cp-showcase-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:14px;align-items:start; }
.cp-showcase-item { background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 1px 8px rgba(0,0,0,.08); }
.cp-showcase-img { 
    position:relative;
    display:block;
    aspect-ratio: 16 / 9 !important;
    overflow:hidden; 
}
.cp-showcase-img img { width:100%;height:100%;object-fit:cover;transition:transform .4s; }
.cp-showcase-item:hover .cp-showcase-img img { transform:scale(1.05); }
.cp-showcase-overlay { position:absolute;inset:0;background:rgba(20,8,2,0);transition:background .3s;pointer-events:none; }
.cp-showcase-item:hover .cp-showcase-overlay { background:rgba(20,8,2,.12); }
.cp-showcase-body { padding:14px 16px 16px; }
.cp-showcase-body h3 { font-size:14px;font-weight:700;margin:6px 0 6px;line-height:1.4; }
.cp-showcase-body h3 a { color:#2c1a0e;text-decoration:none; }
.cp-showcase-body h3 a:hover { color:#8c4d20; }
.cp-showcase-body p { font-size:12px;color:#7a6050;line-height:1.55;margin:0 0 6px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden; }
.cp-showcase-date { font-size:11px;color:#a08060; }

/* -- DEEPREAD -- */
.cp-deepread-wrap { display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start; }
.cp-deepread-main { 
    display:block;
    border-radius:10px;
    overflow:hidden;
    aspect-ratio: 16 / 9 !important; 
}
.cp-deepread-main img { width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s; }
.cp-deepread-main:hover img { transform:scale(1.04); }
.cp-deepread-body h3 { font-size:18px;font-weight:800;line-height:1.35;margin:8px 0 10px; }
.cp-deepread-body h3 a { color:#2c1a0e;text-decoration:none; }
.cp-deepread-body h3 a:hover { color:#8c4d20; }
.cp-deepread-exc { font-size:14px;color:#5a4a3a;line-height:1.7;margin:0 0 10px; }
.cp-deepread-date { font-size:12px;color:#a08060;display:block;margin-bottom:14px; }
.cp-deepread-sub { display:flex;flex-direction:column;gap:10px;border-top:1px solid #ede5da;padding-top:12px; }
.cp-deepread-sub-item { display:flex;gap:10px;text-decoration:none;align-items:flex-start; }
.cp-deepread-sub-item img { width:80px;height:56px;object-fit:cover;border-radius:6px;flex-shrink:0; }
.cp-deepread-sub-item h5 { font-size:13px;font-weight:600;color:#2c1a0e;margin:0 0 3px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.cp-deepread-sub-item span { font-size:11px;color:#a08060; }
.cp-deepread-sub-item:hover h5 { color:#8c4d20; }

/* -- Responsive b? sung -- */
@media (max-width:900px){
  .cp-editorial-grid { grid-template-columns:repeat(2,1fr); }
  .cp-showcase-grid { grid-template-columns:repeat(2,1fr); }
  .cp-deepread-wrap { grid-template-columns:1fr; }
  .cp-casual-grid { grid-template-columns:repeat(2,1fr); }
  .cp-casual-slider .cp-casual-item { flex-basis:calc((100% - 14px) / 2); }
  .cp-masonry { columns:2; }
}
@media (max-width:540px){
  .cp-editorial-grid { grid-template-columns:1fr; }
  .cp-showcase-grid { grid-template-columns:1fr; }
  .cp-casual-grid { grid-template-columns:1fr; }
  .cp-casual-slider .cp-casual-item { flex-basis:80%; }
  .cp-masonry { columns:1; }
  .cp-tips-img img { 
    width:80px;
    aspect-ratio: 16 / 9 !important;
  }
}

/* -- SIDEBAR: XEM NHI?U � style resource -- */
.cp-sidebar-resource-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    text-decoration: none;
    border-bottom: 1px solid #f0ebe3;
    transition: background .15s;
}
.cp-sidebar-resource-item:last-child { border-bottom: none; }
.cp-sidebar-resource-item:hover { background: #fdf8f2; }
.cp-sidebar-resource-num {
    font-size: 20px;
    font-weight: 900;
    color: #e8d5c0;
    min-width: 30px;
    text-align: center;
    flex-shrink: 0;
    font-family: 'Be Vietnam Pro', sans-serif;
    line-height: 1;
}
.cp-sidebar-resource-body { flex: 1; min-width: 0; }
.cp-sidebar-resource-cat {
    font-size: 10px;
    font-weight: 700;
    color: #8c4d20;
    text-transform: uppercase;
    letter-spacing: .4px;
    display: block;
    margin-bottom: 2px;
}
.cp-sidebar-resource-body h4 {
    font-size: 13px;
    font-weight: 600;
    color: #2c1a0e;
    margin: 0 0 4px;
    line-height: 1.4;
    /* Bỏ line-clamp để hiện full 100% title */
}
.cp-sidebar-resource-item:hover h4 { color: #8c4d20; }
.cp-sidebar-resource-meta {
    display: flex;
    gap: 8px;
    align-items: center;
}
.cp-sidebar-resource-meta span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    color: #a08060;
}
.cp-sidebar-resource-arrow {
    flex-shrink: 0;
    color: #8c4d20;
    opacity: 0;
    transition: opacity .15s, transform .15s;
}
.cp-sidebar-resource-item:hover .cp-sidebar-resource-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* -- 2 C?T SONG SONG: Ki?n Th?c B�n L? + V?n H�nh KD -- */
.cp-twin-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--cp-gap);
    max-width: var(--cp-max);
    margin: 0 auto;
    padding: 0 var(--cp-pad);
}
.cp-twin-col .cp-section-box {
    height: 100%;
}
.cp-twin-col .cp-tips-item {
    padding: 10px 6px;
}
.cp-twin-col .cp-tips-img img {
    width: 160px;
    aspect-ratio: 16 / 9 !important;
}
@media (max-width: 900px) {
    .cp-twin-wrap { grid-template-columns: 1fr; padding: 0 16px; }
}
@media (max-width: 540px) {
    .cp-twin-wrap { padding: 0 12px; }
}

/* -- Deepread: 2 b�i extra b�n du?i -- */
.cp-deepread-extra {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #ede5da;
}
@media (max-width: 900px) {
    .cp-deepread-extra { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .cp-deepread-extra { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------
   SPACING SYNC � �?ng b? kho?ng c�ch front-page
   T?t c? gap, padding d?u = 12px
------------------------------------------------------ */

/* Container ch�nh */
.cp-main,
.cp-full-wrap,
.cp-twin-wrap {
    gap: 12px !important;
}

/* Layout sidebar+main */
.cp-layout {
    display: grid !important;
    grid-template-columns: 320px 1fr !important;
    gap: 12px !important;
    padding: 0 40px !important;
    padding-bottom: 12px !important;
    align-items: start !important;
}

/* Padding trong m?i section box */
.cp-section-box {
    padding: 16px !important;
    border-radius: 10px !important;
    margin: 0 !important;
}

/* Footer xem t?t c? */
.cp-section-footer {
    margin-top: 12px !important;
    padding-top: 10px !important;
}

/* Body padding tr�n/du?i */
.cp-body {
    padding: 12px 0 40px !important;
    padding-bottom: 0 !important;
}
.cp-body--full {
    padding: 0 0 40px !important;
}

/* Twin wrap can d?u */
.cp-twin-wrap {
    padding: 0px !important;
    max-width: 1300px !important;
    margin: 0 !important;
    gap: 12px !important;
}

/* Full wrap */
.cp-full-wrap {
    padding: 0 40px !important;
    max-width: 1300px !important;
    margin: 0 auto !important;
}

/* Responsive */
@media (max-width: 900px) {
    .cp-layout,
    .cp-full-wrap,
    .cp-twin-wrap { padding: 0 16px !important; }
    .cp-section-box { padding: 12px !important; }
}
@media (max-width: 540px) {
    .cp-layout,
    .cp-full-wrap,
    .cp-twin-wrap { padding: 0 12px !important; }
}

/* Văn bản giới thiệu (overflow controlled by JS) */
.cp-intro-text {
  overflow: hidden;
}

.cp-intro-text p {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.75;
  color: #5a4a3a;
}

/* Lớp fade-out phía dưới khi thu gọn */
.cp-intro-fade {
  height: 44px;
  background: linear-gradient(transparent, #fff);
  margin-top: -44px;
  position: relative;
  pointer-events: none;
}

/* ============================================================
   Mobile: ẩn search bar, giữ logo + icons
   ============================================================ */
@media (max-width: 768px) {
    .nh-search { display: none !important; }
}

/* ============================================================
   Mobile: ẩn nav tabs dưới profile, dùng hamburger drawer
   ============================================================ */
@media (max-width: 768px) {
    .fb-nav-tabs { display: none !important; }
}

/* ============================================================
   Mobile: ẩn 3 nút icon (danh mục, chat, thông báo)
   ============================================================ */
@media (max-width: 768px) {
    #nh-pop-cat-wrap,
    #nh-pop-chat-wrap,
    #nh-pop-notif-wrap { display: none !important; }
}

/* ============================================================
   Mobile nav drawer: hiện ngay dưới topbar
   ============================================================ */
@media (max-width: 768px) {
    .nh-topbar {
        position: relative;
        z-index: 200;
    }
    .nh-mobile-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 199;
    }
}

/* ============================================================
   Desktop vs Mobile: phân tách icon popup và hamburger
   ============================================================ */

/* Desktop: ẩn hamburger */
@media (min-width: 769px) {
    .nh-hamburger { display: none !important; }
    .nh-mobile-nav { display: none !important; }
}

/* Mobile: ẩn 3 icon popup, hiện hamburger */
@media (max-width: 768px) {
    #nh-pop-cat-wrap,
    #nh-pop-chat-wrap,
    #nh-pop-notif-wrap { display: none !important; }
    .nh-hamburger { display: flex !important; }
}

/* ============================================================
   Mobile topbar: logo trái, hamburger phải
   ============================================================ */
@media (max-width: 768px) {
    .nh-topbar-inner {
        justify-content: space-between;
        padding: 0 16px;
        gap: 0;
    }
    .nh-top-icons {
        margin-left: auto;
    }
}

/* ============================================================
   Mobile: hamburger sát phải, không có khoảng thừa
   ============================================================ */
@media (max-width: 768px) {
    .nh-search { display: none !important; }
    .nh-top-icons {
        margin-left: auto !important;
        flex-shrink: 0;
    }
}

/* ============================================================
   Mobile nav — rewrite sạch, tránh xung đột CSS cũ
   ============================================================ */

/* Override CSS cũ dùng ul li selector — chỉ trong mobile nav drawer */
.nh-mobile-nav ul li a:not(.fb-social-btn) { all: unset; }

/* Wrapper */
#nh-mobile-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 8px 0 !important;
}

/* Item cấp 1 */
.nh-mob-item {
    border-bottom: 1px solid #f0ebe3 !important;
}
.nh-mob-item:last-child { border-bottom: none !important; }

/* Link cấp 1 */
.nh-mob-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 13px 20px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #3d2008 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background .15s, color .15s !important;
    line-height: 1.4 !important;
}
.nh-mob-link:hover { background: #fdf8f2 !important; color: #8c4d20 !important; }
.nh-mob-item.active > .nh-mob-link {
    color: #8c4d20 !important;
    background: #fdf8f2 !important;
    border-left: 3px solid #8c4d20 !important;
    padding-left: 17px !important;
}

/* Mũi tên xoay khi mở */
.nh-mob-arrow {
    font-size: 20px !important;
    color: #8c4d20 !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    transition: transform .25s ease !important;
    display: inline-block !important;
}
.nh-mob-item.has-sub.sub-open > .nh-mob-link .nh-mob-arrow {
    transform: rotate(90deg) !important;
}

/* Submenu cấp 2 — dùng max-height để animate mượt */
.nh-mob-submenu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fdf8f2 !important;
    border-top: 1px solid #f0ebe3 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height .3s ease !important;
}
.nh-mob-submenu.open {
    max-height: 600px !important;
}

/* Link cấp 2 */
.nh-mob-sub-link {
    display: block !important;
    padding: 10px 20px 10px 32px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #6b5a4e !important;
    text-decoration: none !important;
    border-bottom: 1px solid #f0ebe3 !important;
    transition: color .15s, background .15s !important;
    line-height: 1.4 !important;
}
.nh-mob-submenu li:last-child .nh-mob-sub-link { border-bottom: none !important; }
.nh-mob-sub-link:hover { color: #8c4d20 !important; background: #fff !important; }

/* ============================================================
   Sidebar: ẩn trên mobile, hiện trên desktop
   ============================================================ */
@media (max-width: 768px) {
    .cp-sidebar { display: none !important; }
}

/* ============================================================
   Front-page Mobile Spacing Fix (≤768px)
   ============================================================ */
@media (max-width: 768px) {

    /* Layout: bỏ grid 2 cột khi sidebar ẩn */
    .cp-layout {
        grid-template-columns: 1fr !important;
        padding: 0 14px !important;
        gap: 10px !important;
    }

    /* Body padding */
    .cp-body       { padding: 10px 0 24px !important; }
    .cp-body--full { padding: 0 0 24px !important; }

    /* Section box */
    .cp-section-box { padding: 12px !important; }

    /* Main gap */
    .cp-main { gap: 10px !important; }

    /* Full wrap + twin wrap */
    .cp-full-wrap  { padding: 0 14px !important; }
    .cp-twin-wrap  { padding: 0 14px !important; grid-template-columns: 1fr !important; }

    /* Slider: 2 cột → gọn */
    .cp-slider-track { grid-template-columns: repeat(2, 1fr) !important; gap: 6px !important; }

    /* Blog featured */
    .cp-blog-feat-img-wrap { aspect-ratio: 16 / 9 !important; }
    .cp-blog-feat-body     { padding: 10px 12px 12px !important; }

    /* Casual grid → 2 cột */
    .cp-casual-grid   { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }

    /* Showcase → 2 cột */
    .cp-showcase-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }

    /* Grid3 → 2 cột */
    .cp-grid3 { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }

    /* Editorial grid → 2 cột */
    .cp-editorial-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }

    /* Deepread → 1 cột */
    .cp-deepread-wrap  { grid-template-columns: 1fr !important; gap: 12px !important; }

    /* Tips: thu nhỏ ảnh */
    .cp-tips-img img { 
        width: 80px !important; 
        aspect-ratio: 16 / 9 !important; 
    }
    .cp-tips-num     { font-size: 22px !important; min-width: 34px !important; }

    /* Section head */
    .cp-section-head { padding-bottom: 8px !important; margin-bottom: 10px !important; }
}

/* ≤480px: 1 cột tất cả */
@media (max-width: 480px) {
    .cp-layout,
    .cp-full-wrap,
    .cp-twin-wrap  { padding: 0 !important; }
    .cp-casual-grid,
    .cp-showcase-grid,
    .cp-grid3,
    .cp-editorial-grid { grid-template-columns: 1fr !important; }
    .cp-masonry    { columns: 1 !important; }
}

/* ============================================================
   Mobile: ẩn link "Xem tất cả" trong section head
   ============================================================ */
@media (max-width: 768px) {
    .cp-section-head .cp-see-all { display: none !important; }
}

/* ============================================================
   Fix: social icon buttons — đảm bảo kích thước đúng mọi trang
   ============================================================ */
a.fb-social-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}
a.fb-social-btn svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
    display: block !important;
    fill: currentColor !important;
}
a.fb-social-fb { background: #1877f2 !important; color: #fff !important; }
a.fb-social-tt { background: #010101 !important; color: #fff !important; }
a.fb-social-yt { background: #ff0000 !important; color: #fff !important; }
a.fb-social-zl { background: #0068ff !important; color: #fff !important; }


/* ══════════════════════════════════════════════════════
 *  THEME SHARED CSS — Sơn Dương Quán
 *  Header · Profile · Layout · Contact · Gallery · Pages
 *  (chuyển từ mobile-shared.css vào style.css)
 * ══════════════════════════════════════════════════════ */

html, body { overflow-x: clip; max-width: 100%; }

/* ── HEADER ── */
.nh-topbar { background:#fff; border-bottom:1px solid rgba(140,77,32,.12); position:sticky; top:0; z-index:1000; box-shadow:0 1px 4px rgba(0,0,0,.06); width:100%; box-sizing:border-box; }
.nh-topbar-inner { max-width:1300px; margin:0 auto; padding:0 24px; height:56px; display:flex; align-items:center; gap:12px; box-sizing:border-box; }
.nh-search { flex:1; position:relative; }
.nh-search-form { display:flex; align-items:center; background:#f5f0ea; border:1.5px solid #e0d5c8; border-radius:24px; overflow:hidden; height:38px; padding:0 6px 0 14px; gap:6px; transition:border-color .15s,box-shadow .15s; }
.nh-search-form:focus-within { border-color:#8c4d20; box-shadow:0 0 0 2px rgba(140,77,32,.12); background:#fff; }
.nh-search-icon { color:#a08060; display:flex; align-items:center; flex-shrink:0; }
.nh-search-form input { flex:1; border:none; background:transparent; font-size:13.5px; color:#2c1a0e; outline:none; min-width:0; }
.nh-search-form input::placeholder { color:#b09070; }
.nh-search-clear { display:none; background:none; border:none; cursor:pointer; color:#a08060; padding:4px; flex-shrink:0; align-items:center; justify-content:center; }
.nh-search-clear.visible { display:flex; }
.nh-search-btn { display:flex; align-items:center; gap:5px; background:#8c4d20; color:#fff; border:none; border-radius:18px; padding:0 14px; height:28px; font-size:12.5px; font-weight:700; cursor:pointer; flex-shrink:0; transition:background .15s; }
.nh-search-btn:hover { background:#6d3a16; }
.nh-search-dropdown { position:absolute; top:calc(100% + 6px); left:0; right:0; background:#fff; border:1px solid #e0d5c8; border-radius:12px; box-shadow:0 8px 28px rgba(44,26,14,.12); z-index:200; display:none; overflow:hidden; }
.nh-search-dropdown.open { display:block; }
.nh-search-dropdown-head { padding:8px 14px; font-size:10px; font-weight:800; color:#a08060; text-transform:uppercase; letter-spacing:.8px; border-bottom:1px solid #f0ebe3; }
.nh-search-dropdown ul { list-style:none; margin:0; padding:4px 0; }
.nh-search-dropdown li a { display:flex; align-items:center; gap:8px; padding:9px 14px; font-size:13px; color:#3d2008; text-decoration:none; transition:background .12s; }
.nh-search-dropdown li a:hover { background:#f5ede0; color:#8c4d20; }
.nh-search-dropdown-footer { padding:7px 14px; font-size:11px; color:#b09070; border-top:1px solid #f0ebe3; background:#faf7f4; }
.nh-search-dropdown-footer kbd { background:#e8ddd4; border-radius:3px; padding:1px 5px; font-size:10px; font-family:monospace; }
.nh-top-icons { display:flex; align-items:center; gap:4px; flex-shrink:0; }
.nh-icon-btn { width:38px; height:38px; display:flex; align-items:center; justify-content:center; border:none; background:none; border-radius:8px; cursor:pointer; color:#5a4a3a; position:relative; transition:background .12s,color .12s; }
.nh-icon-btn:hover,.nh-icon-btn.active { background:#f5ede0; color:#8c4d20; }
.nh-popup-wrap { position:relative; }
.nh-popup { position:absolute; top:calc(100% + 8px); right:0; background:#fff; border:1px solid #e0d5c8; border-radius:14px; box-shadow:0 12px 40px rgba(44,26,14,.14); z-index:300; display:none; overflow:hidden; }
.nh-popup.open { display:block; }
.nh-popup-cat {
    width: min(480px, calc(100vw - 32px)) !important;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}
.nh-popup-chat { width:300px; }
.nh-popup-notif { width:340px; }
.nh-popup-head { display:flex; align-items:center; justify-content:space-between; padding:10px 14px; border-bottom:1px solid #f0ebe3; }
.nh-popup-title { font-size:12.5px; font-weight:800; color:#2c1a0e; }
.nh-popup-close { width:28px; height:28px; display:flex; align-items:center; justify-content:center; border:none; background:none; cursor:pointer; color:#a08060; border-radius:50%; transition:background .12s,color .12s; }
.nh-popup-close:hover { background:#f5ede0; color:#8c4d20; }
.nh-popup-footer-link { display:flex; align-items:center; justify-content:center; gap:6px; padding:10px 16px; border-top:1px solid #f0ebe3; font-size:12.5px; font-weight:700; color:#8c4d20; text-decoration:none; transition:background .12s; }
.nh-popup-footer-link:hover { background:#f5ede0; }
.nh-notif-badge { position:absolute; top:4px; right:4px; background:#c0392b; color:#fff; font-size:9px; font-weight:800; min-width:16px; height:16px; border-radius:8px; display:flex; align-items:center; justify-content:center; padding:0 3px; line-height:1; border:1.5px solid #fff; }
.nh-notif-list { list-style:none; margin:0; padding:6px 0; max-height:340px; overflow-y:auto; }
.nh-notif-item { border-bottom:1px solid #f5f0ea; }
.nh-notif-item:last-child { border-bottom:none; }
.nh-notif-link { display:flex; align-items:flex-start; gap:10px; padding:10px 14px; text-decoration:none; transition:background .12s; }
.nh-notif-link:hover { background:#faf7f4; }
.nh-notif-thumb { width:48px; height:48px; border-radius:8px; object-fit:cover; flex-shrink:0; }
.nh-notif-info { flex:1; min-width:0; }
.nh-notif-cat { display:block; font-size:10px; font-weight:800; color:#8c4d20; text-transform:uppercase; letter-spacing:.5px; margin-bottom:2px; }
.nh-notif-title { display:block; font-size:12.5px; font-weight:700; color:#2c1a0e; line-height:1.4; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-bottom:3px; }
.nh-notif-time { font-size:11px; color:#a08060; }
.nh-notif-empty { padding:20px 14px; font-size:13px; color:#a08060; text-align:center; }
.nh-chat-desc { font-size:12.5px; color:#6b5a4e; padding:10px 16px 4px; margin:0; }
.nh-chat-btns { display:flex; flex-direction:column; gap:10px; padding:8px 14px 12px; }
.nh-chat-btn { display:flex; align-items:center; gap:12px; padding:13px 16px; border-radius:14px; text-decoration:none; font-size:13px; transition:transform .18s,box-shadow .18s,filter .18s; border:none; position:relative; overflow:hidden; }
.nh-chat-btn:hover { transform:translateY(-2px); box-shadow:0 6px 22px rgba(0,0,0,.22); filter:brightness(1.06); }
.nh-chat-messenger { background:linear-gradient(135deg,#0084ff 0%,#a033ff 100%); color:#fff; box-shadow:0 3px 12px rgba(0,132,255,.35); }
.nh-chat-zalo { background:linear-gradient(135deg,#0068ff 0%,#00c6ff 100%); color:#fff; box-shadow:0 3px 12px rgba(0,104,255,.35); }
.nh-chat-btn-icon { width:40px; height:40px; flex-shrink:0; display:flex; align-items:center; justify-content:center; border-radius:10px; background:rgba(255,255,255,.22); box-shadow:0 1px 4px rgba(0,0,0,.15); }
.nh-chat-btn-icon svg { width:22px; height:22px; }
.nh-chat-btn-text { flex:1; display:flex; flex-direction:column; gap:2px; }
.nh-chat-btn-text strong { display:block; font-size:14px; font-weight:800; color:#fff; }
.nh-chat-btn-text small { font-size:11.5px; color:rgba(255,255,255,.88); }
.nh-chat-messenger .nh-chat-btn-text small,.nh-chat-zalo .nh-chat-btn-text small { color:rgba(255,255,255,.88); }
.nh-chat-arrow { color:rgba(255,255,255,.8); flex-shrink:0; }
.nh-chat-note { display:flex; align-items:center; gap:5px; padding:8px 14px 12px; font-size:11.5px; color:#a08060; }
.nh-cat-img-grid { padding: 8px 10px 6px !important; gap: 7px !important; }
.nh-cat-img-item { position:relative; aspect-ratio:1/1; border-radius:7px; overflow:hidden; text-decoration:none; display:block; }
.nh-cat-img-bg { position:absolute; inset:0; background-size:cover; background-position:center; transition:transform .3s; }
.nh-cat-img-item:hover .nh-cat-img-bg { transform:scale(1.08); }
.nh-cat-img-overlay { position:absolute; inset:0; background:linear-gradient(to top,rgba(30,10,0,.7) 0%,transparent 60%); }
.nh-cat-img-name { position:absolute; bottom:0; left:0; right:0; padding:5px 6px; font-size:10px !important; font-weight:800; color:#fff; text-align:center; line-height:1.2; }
.nh-pop-popular { padding:7px 10px 4px; border-top:1px solid #f0ebe3; }
.nh-pop-popular-title { font-size:9.5px; font-weight:800; color:#a08060; text-transform:uppercase; letter-spacing:.8px; margin-bottom:7px; }
.nh-pop-popular-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:6px; }
.nh-pop-popular-item { padding:7px 8px; background:#faf7f4; border-radius:7px; text-decoration:none; transition:background .12s; }
.nh-pop-popular-item:hover { background:#f0e8dc; }
.nh-pop-popular-item-title { font-size:10.5px; font-weight:700; color:#2c1a0e; line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.nh-pop-popular-item-date { font-size:9.5px; color:#a08060; margin-top:3px; display:flex; align-items:center; gap:3px; }

/* Hamburger + Mobile nav */
.nh-hamburger { display:none; flex-direction:column; justify-content:center; gap:5px; width:38px; height:38px; border:none; background:none; cursor:pointer; padding:6px; border-radius:8px; transition:background .12s; }
.nh-hamburger:hover { background:#f5ede0; }
.nh-hamburger span { display:block; height:2px; border-radius:2px; background:#3d2008; transition:transform .25s,opacity .2s,width .2s; }
.nh-hamburger span:nth-child(1) { width:22px; }
.nh-hamburger span:nth-child(2) { width:18px; }
.nh-hamburger span:nth-child(3) { width:22px; }
.nh-hamburger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); width:22px; }
.nh-hamburger.open span:nth-child(2) { opacity:0; }
.nh-hamburger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); width:22px; }
.nh-mobile-nav { display:none; position:absolute; top:100%; left:0; right:0; background:#fff; border-bottom:2px solid #8c4d20; box-shadow:0 8px 24px rgba(44,26,14,.14); z-index:999; max-height:calc(100vh - 56px); overflow-y:auto; }
.nh-mobile-nav.open { display:block; }
#nh-mobile-menu { list-style:none; margin:0; padding:8px 0 16px; }
.nh-mob-item { border-bottom:1px solid #f0ebe3; }
.nh-mob-link { display:flex; align-items:center; justify-content:space-between; padding:13px 20px; font-size:14px; font-weight:700; color:#2c1a0e; text-decoration:none; transition:background .12s,color .12s; }
.nh-mob-link:hover,.nh-mob-item.active > .nh-mob-link { color:#8c4d20; background:#faf5ef; }
.nh-mob-arrow { font-size:18px; color:#a08060; font-style:normal; transition:transform .2s; }
.nh-mob-item.sub-open > .nh-mob-link .nh-mob-arrow { transform:rotate(90deg); }
.nh-mob-submenu { list-style:none; margin:0; padding:0; display:none; background:#faf7f4; }
.nh-mob-submenu.open { display:block; }
.nh-mob-sub-link { display:block; padding:10px 20px 10px 32px; font-size:13px; font-weight:600; color:#5a4a3a; text-decoration:none; border-top:1px solid #f0ebe3; transition:color .12s,background .12s; }
.nh-mob-sub-link:hover { color:#8c4d20; background:#f0e8dc; }

/* ── CONTACT PAGE ── */
.ct-page { background:#f0ebe3; width:100%; box-sizing:border-box; overflow-x:hidden; }
.ct-hero { background:linear-gradient(135deg,#2c1a0e 0%,#8c4d20 100%); padding:48px 0 36px; }
.ct-hero-inner { max-width:1200px; margin:0 auto; padding:0 40px; box-sizing:border-box; }
.ct-hero-badge { display:inline-flex; align-items:center; gap:5px; background:rgba(255,255,255,.15); border:1px solid rgba(255,255,255,.3); color:#fff; font-size:11px; font-weight:700; padding:4px 12px; border-radius:20px; margin-bottom:10px; }
.ct-hero h1 { font-size:clamp(1.4rem,3vw,2rem); font-weight:900; color:#fff !important; margin:0 0 8px; }
.ct-hero p { font-size:14px; color:rgba(255,255,255,.8) !important; margin:0; max-width:500px; }
.ct-layout { display:grid; grid-template-columns:380px 1fr; gap:24px; max-width:1200px; margin:32px auto; padding:0 40px; align-items:start; box-sizing:border-box; }
.ct-info { display:flex; flex-direction:column; gap:12px; }
.ct-info-card { background:#fff; border-radius:10px; padding:14px 16px; display:flex; align-items:flex-start; gap:12px; border:1px solid #e8ddd4; box-shadow:0 1px 6px rgba(0,0,0,.05); }
.ct-info-icon { width:40px; height:40px; background:rgba(140,77,32,.1); border-radius:10px; display:flex; align-items:center; justify-content:center; color:#8c4d20; flex-shrink:0; }
.ct-info-label { font-size:11px; font-weight:700; color:#a08060; text-transform:uppercase; letter-spacing:.5px; margin-bottom:2px; }
.ct-info-value { font-size:13.5px; font-weight:600; color:#2c1a0e; }
.ct-info-value a { color:#8c4d20; text-decoration:none; }
.ct-info-value a:hover { text-decoration:underline; }
.ct-socials { display:flex; gap:8px; flex-wrap:wrap; }
.ct-social-btn { display:inline-flex; align-items:center; gap:6px; padding:7px 14px; border-radius:8px; font-size:13px; font-weight:700; text-decoration:none; transition:opacity .15s; }
.ct-social-btn:hover { opacity:.85; }
.ct-social-fb { background:#1877f2; color:#fff; }
.ct-social-li { background:#0077b5; color:#fff; }
.ct-map { border-radius:10px; overflow:hidden; }
.ct-map iframe { width:100%; height:220px; border:none; display:block; }
.ct-map-placeholder { background:#e8ddd4; border-radius:10px; height:180px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; font-size:13px; color:#a08060; }
.ct-form-card { background:#fff; border-radius:12px; overflow:hidden; box-shadow:0 2px 16px rgba(44,26,14,.1); }
.ct-form-header { background:linear-gradient(135deg,#2c1a0e,#8c4d20); padding:20px 24px; }
.ct-form-header h2 { font-size:16px; font-weight:900; margin:0 0 4px; }
.ct-form-header p { font-size:13px; margin:0; }
.ct-form-body { padding:20px 24px; }
.ct-field { margin-bottom:14px; }
.ct-field label { display:block; font-size:12.5px; font-weight:700; color:#5a4a3a; margin-bottom:5px; }
.ct-field input,.ct-field textarea { width:100%; padding:10px 12px; border:1.5px solid #e0d5c8; border-radius:8px; font-size:13.5px; color:#2c1a0e; background:#faf7f4; box-sizing:border-box; transition:border-color .15s,box-shadow .15s; outline:none; font-family:inherit; }
.ct-field input:focus,.ct-field textarea:focus { border-color:#8c4d20; box-shadow:0 0 0 2px rgba(140,77,32,.1); background:#fff; }
.ct-field textarea { min-height:110px; resize:vertical; }
.ct-field-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.ct-submit { width:100%; padding:12px; background:#8c4d20; color:#fff; border:none; border-radius:8px; font-size:14px; font-weight:800; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px; transition:background .15s; }
.ct-submit:hover { background:#6d3a16; }
.ct-submit:disabled { opacity:.65; cursor:not-allowed; }
.ct-submit-note { display:flex; align-items:center; gap:5px; font-size:11.5px; color:#a08060; margin:8px 0 0; justify-content:center; }
.ct-success { display:none; text-align:center; padding:30px 20px; }
.ct-success-icon { width:52px; height:52px; background:#e8f5e9; border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 12px; color:#4caf50; }
.ct-success h3 { font-size:16px; font-weight:900; color:#2c1a0e; margin:0 0 6px; }
.ct-success p { font-size:13px; color:#6b5a4e; margin:0; }

/* ── PAGE.PHP ── */
:root { --pp-primary:#8c4d20; --pp-bg:#f0ebe3; --pp-surface:#fff; --pp-text:#2c1a0e; --pp-muted:#7a6558; --pp-border:rgba(140,77,32,.14); --pp-radius:12px; --pp-shadow:0 2px 16px rgba(140,77,32,.10); }
.pp-hero { position:relative; width:100%; max-width:100%; box-sizing:border-box; overflow-x:hidden; }
.pp-hero--plain { background:var(--pp-bg); padding:40px 0 32px; }
.pp-hero--img { background:center/cover no-repeat; padding:80px 0 64px; min-height:260px; }
.pp-hero-overlay { position:absolute; inset:0; background:linear-gradient(135deg,rgba(44,26,14,.72),rgba(140,77,32,.55)); }
.pp-hero-inner { position:relative; z-index:1; max-width:100%; margin:0 auto; padding:0 40px; box-sizing:border-box; }
.pp-hero-title { font-family:'Manrope',sans-serif; font-weight:900; font-size:clamp(1.5rem,3.5vw,2.4rem); line-height:1.2; margin:0 0 14px; max-width:800px; }
.pp-hero--plain .pp-hero-title { color:var(--pp-text); }
.pp-hero--img .pp-hero-title { color:#fff; text-shadow:0 2px 12px rgba(0,0,0,.3); }
.pp-hero-meta { display:flex; align-items:center; gap:18px; font-size:12px; font-weight:600; flex-wrap:wrap; }
.pp-hero--plain .pp-hero-meta { color:var(--pp-muted); }
.pp-hero--img .pp-hero-meta { color:rgba(255,255,255,.75); }
.pp-hero-meta span { display:inline-flex; align-items:center; gap:5px; }
.pp-wrap { background:var(--pp-bg); width:100%; max-width:100%; box-sizing:border-box; overflow-x:hidden; padding:32px 0 64px; }
.pp-layout { max-width:1000px; margin:0 auto; padding:0 40px; box-sizing:border-box; }
.pp-prose { background:var(--pp-surface); border-radius:var(--pp-radius); padding:36px 40px; box-shadow:var(--pp-shadow); border:1px solid var(--pp-border); }
.pp-prose h1,.pp-prose h2,.pp-prose h3,.pp-prose h4,.pp-prose h5,.pp-prose h6 { font-family:'Manrope',sans-serif; font-weight:800; color:var(--pp-text); line-height:1.25; margin:2rem 0 .75rem; scroll-margin-top:80px; }
.pp-prose h2 { font-size:1.4rem; padding-left:12px; border-left:4px solid var(--pp-primary); }
.pp-prose h3 { font-size:1.15rem; color:var(--pp-primary); }
.pp-prose h4 { font-size:1rem; }
.pp-prose p { font-size:.975rem; line-height:1.85; color:#3d2a1e; margin:0 0 1.1rem; }
.pp-prose a { color:var(--pp-primary); text-decoration:underline; text-decoration-color:rgba(140,77,32,.3); text-underline-offset:3px; font-weight:600; transition:color .15s; }
.pp-prose a:hover { color:#5a2e0a; }
.pp-prose strong { color:var(--pp-text); font-weight:700; }
.pp-prose ul,.pp-prose ol { color:#3d2a1e; font-size:.975rem; line-height:1.85; padding-left:1.5rem; margin:0 0 1.1rem; }
.pp-prose ul li::marker { color:var(--pp-primary); }
.pp-prose ol li::marker { color:var(--pp-primary); font-weight:700; }
.pp-prose blockquote { margin:1.5rem 0; padding:16px 20px 16px 24px; border-left:4px solid var(--pp-primary); background:rgba(140,77,32,.05); border-radius:0 8px 8px 0; font-style:italic; color:var(--pp-muted); }
.pp-prose img { max-width:100%; height:auto; border-radius:8px; display:block; margin:1.5rem auto; }
.pp-prose table { width:100%; border-collapse:collapse; font-size:.9rem; margin:1.5rem 0; }
.pp-prose th { background:var(--pp-primary); color:#fff; padding:10px 14px; text-align:left; font-weight:700; font-size:.85rem; }
.pp-prose td { padding:9px 14px; border-bottom:1px solid var(--pp-border); color:#3d2a1e; vertical-align:top; }
.pp-prose tr:last-child td { border-bottom:none; }
.pp-prose tr:nth-child(even) td { background:rgba(240,235,227,.5); }
.pp-prose pre { background:#1e1108; color:#f0e0c8; border-radius:8px; padding:16px 20px; overflow-x:auto; font-size:.88rem; line-height:1.6; margin:1.5rem 0; }
.pp-prose code { background:rgba(140,77,32,.1); color:var(--pp-primary); padding:2px 6px; border-radius:4px; font-size:.88em; }
.pp-prose pre code { background:none; color:inherit; padding:0; }
.pp-prose hr { border:none; border-top:1px solid var(--pp-border); margin:2rem 0; }
.pp-sidebar { display:none; }
.pp-widget { background:var(--pp-surface); border-radius:var(--pp-radius); box-shadow:var(--pp-shadow); border:1px solid var(--pp-border); overflow:hidden; }
.pp-widget-head { display:flex; align-items:center; gap:7px; padding:12px 16px; background:rgba(140,77,32,.07); font-size:12px; font-weight:800; color:var(--pp-primary); text-transform:uppercase; letter-spacing:.6px; border-bottom:1px solid var(--pp-border); }
.pp-toc { padding:12px 0; max-height:360px; overflow-y:auto; scrollbar-width:thin; scrollbar-color:var(--pp-border) transparent; }
.pp-toc-empty { display:block; padding:10px 16px; font-size:12px; color:var(--pp-muted); }
.pp-toc a { display:block; padding:5px 16px; font-size:12.5px; font-weight:600; color:var(--pp-muted); text-decoration:none; border-left:2px solid transparent; transition:color .15s,border-color .15s,background .15s; line-height:1.4; }
.pp-toc a:hover { color:var(--pp-primary); background:rgba(140,77,32,.05); }
.pp-toc a.is-active { color:var(--pp-primary); border-left-color:var(--pp-primary); background:rgba(140,77,32,.06); }
.pp-toc a.pp-toc-h2 { padding-left:16px; font-weight:700; color:var(--pp-text); font-size:13px; }
.pp-toc a.pp-toc-h3 { padding-left:28px; }
.pp-toc a.pp-toc-h4 { padding-left:40px; font-weight:500; }
.pp-share-btns { display:flex; flex-direction:column; gap:8px; padding:14px; }
.pp-share-btn { display:inline-flex; align-items:center; gap:8px; padding:9px 14px; border-radius:8px; font-size:13px; font-weight:700; text-decoration:none; cursor:pointer; border:none; transition:transform .15s,box-shadow .15s; }
.pp-share-btn:hover { transform:translateY(-1px); box-shadow:0 4px 12px rgba(0,0,0,.12); }
.pp-share-fb { background:#1877f2; color:#fff; }
.pp-share-copy { background:rgba(140,77,32,.1); color:var(--pp-primary); border:1px solid var(--pp-border); }
.pp-share-copy.copied { background:#10b981; color:#fff; border-color:#10b981; }
.pp-related-list { list-style:none; margin:0; padding:8px 0; }
.pp-related-list li a { display:flex; align-items:flex-start; gap:6px; padding:7px 14px; font-size:13px; font-weight:600; color:var(--pp-muted); text-decoration:none; transition:color .15s,background .15s; line-height:1.4; }
.pp-related-list li a:hover { color:var(--pp-primary); background:rgba(140,77,32,.05); }
.pp-related-list svg { flex-shrink:0; margin-top:2px; color:var(--pp-primary); }
.pp-page-links { display:flex; gap:6px; flex-wrap:wrap; margin-top:24px; padding-top:20px; border-top:1px solid var(--pp-border); font-size:14px; font-weight:600; color:var(--pp-muted); align-items:center; }
.pp-page-links span a,.pp-page-links a { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:6px; background:var(--pp-surface); border:1px solid var(--pp-border); color:var(--pp-text); text-decoration:none; transition:background .15s,color .15s; }
.pp-page-links span a:hover,.pp-page-links a:hover { background:var(--pp-primary); color:#fff; border-color:var(--pp-primary); }

/* ── GALLERY PAGE ── */
.pg-wrap { background:#f0ebe3; min-height:60vh; width:100%; max-width:100%; box-sizing:border-box; overflow-x:hidden; padding:48px 0 64px; }
.pg-container { max-width:1300px; margin:0 auto; padding:0 40px; box-sizing:border-box; }
.pg-header { text-align:center; margin-bottom:40px; }
.pg-title { font-size:clamp(1.4rem,3vw,2rem); font-weight:900; color:#2c1a0e; margin:0 0 8px; text-transform:uppercase; letter-spacing:.5px; }
.pg-subtitle { font-size:15px; color:#6b5a4e; margin:0 0 10px; }
.pg-count { display:inline-block; background:rgba(140,77,32,.1); color:#8c4d20; font-size:12px; font-weight:700; padding:4px 12px; border-radius:20px; border:1px solid rgba(140,77,32,.2); }
.pg-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.pg-item { position:relative; aspect-ratio:1/1; overflow:hidden; border-radius:10px; cursor:pointer; border:none; padding:0; background:#e8d5c0; display:block; }
.pg-item img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s ease; }
.pg-item:hover img { transform:scale(1.08); }
.pg-item-overlay { position:absolute; inset:0; background:rgba(0,0,0,.28); display:flex; align-items:center; justify-content:center; opacity:0; transition:opacity .25s; }
.pg-item:hover .pg-item-overlay { opacity:1; }
.pg-item:focus-visible { outline:3px solid #8c4d20; outline-offset:2px; }
.pg-empty { text-align:center; padding:80px 20px; color:#a08060; font-size:15px; display:flex; flex-direction:column; align-items:center; gap:12px; }
.pg-lb { position:fixed; inset:0; z-index:99999; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.pg-lb[hidden] { display:none !important; }
.pg-lb-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.93); cursor:pointer; }
.pg-lb-stage { position:relative; z-index:2; display:flex; flex-direction:column; align-items:center; max-width:90vw; max-height:80vh; }
.pg-lb-img { max-width:88vw; max-height:75vh; object-fit:contain; border-radius:8px; box-shadow:0 12px 48px rgba(0,0,0,.6); display:block; transition:opacity .2s; }
.pg-lb-counter { color:rgba(255,255,255,.6); font-size:13px; margin-top:10px; letter-spacing:.3px; }
.pg-lb-close { position:fixed; top:16px; right:20px; z-index:3; background:rgba(255,255,255,.12); border:none; color:#fff; width:44px; height:44px; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .2s; }
.pg-lb-close:hover { background:rgba(255,255,255,.25); }
.pg-lb-nav { position:fixed; top:50%; transform:translateY(-50%); z-index:3; background:rgba(255,255,255,.12); border:none; color:#fff; width:52px; height:52px; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .2s; }
.pg-lb-nav:hover { background:rgba(255,255,255,.25); }
.pg-lb-prev { left:16px; }
.pg-lb-next { right:16px; }
.pg-lb-strip { position:fixed; bottom:0; left:0; right:0; z-index:3; display:flex; gap:4px; overflow-x:auto; padding:8px 12px; background:rgba(0,0,0,.55); scrollbar-width:none; justify-content:center; }
.pg-lb-strip::-webkit-scrollbar { display:none; }
.pg-lb-thumb { flex-shrink:0; width:52px; height:52px; border-radius:5px; overflow:hidden; border:2px solid transparent; cursor:pointer; padding:0; background:none; transition:border-color .15s,transform .15s; opacity:.65; }
.pg-lb-thumb img { width:100%; height:100%; object-fit:cover; display:block; pointer-events:none; }
.pg-lb-thumb:hover { opacity:1; }
.pg-lb-thumb.is-active { border-color:#c9a97a; opacity:1; transform:scale(1.08); }

/* ── SINGLE POST mobile override ── */
.single-layout { display:grid; grid-template-columns:1fr 340px; gap:40px; align-items:start; }
.single-sidebar { position:sticky; top:80px; display:flex; flex-direction:column; gap:24px; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS — DÙNG CHUNG TOÀN THEME
═══════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .nh-topbar-inner { padding: 0 20px; }
    .fb-profile-inner { padding: 0 20px; }
    .ct-layout { grid-template-columns: 320px 1fr; padding: 0 20px; }
    .pg-grid { grid-template-columns: repeat(3, 1fr); }
    .pg-container { padding: 0 20px; }
    .single-layout { grid-template-columns: 1fr; }
    .single-sidebar { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
    .pp-layout { padding: 0 28px; }
    .pp-hero-inner { padding: 0 28px; }
}

@media (max-width: 900px) {
    /* Header */
    .nh-popup-wrap { display: none; }
    .nh-hamburger  { display: flex; }

    /* Contact */
    .ct-layout { grid-template-columns: 1fr; padding: 0 16px; margin: 24px auto; }
    .ct-hero-inner { padding: 0 16px; }

    /* Archive */
    .arc-container { padding: 0 16px !important; }
    .arc-hero-inner { padding: 24px 16px !important; }
    .arc-grid { grid-template-columns: repeat(2, 1fr) !important; }

    /* Single */
    .single-layout { grid-template-columns: 1fr !important; gap: 20px; }
    .single-sidebar { position: static !important; }
    .max-w-7xl.mx-auto { padding-left: 16px !important; padding-right: 16px !important; }

    /* Page.php */
    .pp-layout { padding: 0 16px; }
    .pp-hero-inner { padding: 0 16px; }

    /* Gallery */
    .pg-wrap { padding: 32px 0 40px; }
    .pg-container { padding: 0 16px; }
    .pg-grid { grid-template-columns: repeat(3, 1fr); }

    /* Goc chuyen gia */
    .gcg-body { padding: 24px 16px 48px !important; }
    .gcg-hero-inner { padding: 0 16px !important; }
    .gcg-slider-track { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 600px) {
    /* Header */
    .nh-topbar-inner { padding: 0 12px; height: 52px; gap: 8px; }
    .nh-search-btn span { display: none; }
    .nh-search-btn { padding: 0 8px; min-width: 32px; }
    .nh-search-form { height: 34px; }

    /* Profile cover */
    /* Profile row: avatar trái + info bên phải cùng 1 hàng */
    .fb-profile-row { flex-direction: row; align-items: flex-end; margin-top: 0; padding: 8px 0 12px; gap: 12px; }
    .fb-avatar-wrap { margin-top: -52px; flex-shrink: 0; }
    .fb-avatar { width: 140px; height: 140px; border-width: 3px; }
    .fb-avatar-online { width: 15px; height: 15px; bottom: 7px; right: 18px; }
    .fb-profile-info { flex: 1; min-width: 0; padding-top: 0; display: flex; flex-direction: column; justify-content: flex-end; }
    .fb-profile-name { font-size: .95rem; }
    .fb-profile-role { font-size: 11.5px; margin: 2px 0 5px; font-style: normal; font-weight: 600; color: #8c4d20; }
    .fb-stats { gap: 4px; }
    .fb-stat-item { padding: 0 7px; }
    .fb-stat-item:first-child { padding-left: 0; }
    .fb-stat-item strong { font-size: 12.5px; }
    .fb-stat-item span { font-size: 10px; }
    .fb-stat-sep { height: 18px; }
    .fb-profile-actions { display: none; }
    .fb-socials-inline { display: flex; }
    .fb-socials-desktop { display: none; }
    .fb-socials { display: flex; gap: 6px; margin-top: 5px; }
    .fb-social-btn { width: 30px; height: 30px; border-radius: 8px; }
    .fb-social-btn svg { width: 14px; height: 14px; }
    .fb-profile-inner { padding: 0 12px; }
    #fb-primary-menu > li > a { padding: 10px 10px; font-size: 12px; }

    /* Contact */
    .ct-hero { padding: 28px 0 20px; }
    .ct-hero-inner { padding: 0 12px; }
    .ct-layout { padding: 0 12px; margin: 16px auto; gap: 14px; }
    .ct-field-row { grid-template-columns: 1fr; gap: 0; }
    .ct-form-body { padding: 14px; }
    .ct-form-header { padding: 14px 16px; }
    .ct-map iframe { height: 170px; }

    /* Archive */
    .arc-container { padding: 0 12px !important; }
    .arc-hero-inner { padding: 20px 12px !important; }
    .arc-grid { grid-template-columns: 1fr !important; }
    .arc-body { padding: 16px 0 40px !important; }
    .arc-filter { gap: 6px; }
    .arc-filter a { font-size: 12px; padding: 5px 12px; }

    /* Single */
    .max-w-7xl.mx-auto { padding-left: 12px !important; padding-right: 12px !important; }

    /* Page.php */
    .pp-layout  { padding: 0 12px; }
    .pp-hero-inner { padding: 0 12px; }
    .pp-prose   { padding: 18px 14px; }
    .pp-hero--plain { padding: 24px 0 18px; }
    .pp-hero--img   { padding: 44px 0 32px; min-height: 200px; }
    .pp-wrap    { padding: 20px 0 40px; }

    /* Gallery */
    .pg-wrap { padding: 24px 0 32px; }
    .pg-container { padding: 0 12px; }
    .pg-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
    .pg-lb-nav { width: 40px; height: 40px; }
    .pg-lb-prev { left: 6px; }
    .pg-lb-next { right: 6px; }
    .pg-lb-thumb { width: 40px; height: 40px; }

    /* Goc chuyen gia */
    .gcg-body { padding: 14px 12px 36px !important; }
    .gcg-hero-inner { padding: 0 12px !important; }
    .gcg-hero { padding: 28px 0 22px !important; }
    .gcg-slider-track { grid-template-columns: 1fr !important; }
    .gcg-section-title { font-size: 13px !important; }

    /* Footer */
    .cp-footer-bar { padding: 12px !important; }
    .cp-footer-bar p { font-size: 11.5px !important; }
}

@media (max-width: 400px) {
    .nh-topbar-inner { padding: 0 10px; }
    .fb-profile-inner { padding: 0 10px; }
    .fb-avatar-wrap { margin-top: -44px; }
    .fb-avatar { width: 140px; height: 140px; border-width: 3px; }
    .fb-profile-name { font-size: .88rem; }
    .fb-profile-role { font-size: 11px; }
    .fb-social-btn { width: 26px; height: 26px; }
    .fb-social-btn svg { width: 12px; height: 12px; }
    #fb-primary-menu > li > a { padding: 9px 8px; font-size: 11.5px; }
}

/* ══════════════════════════════════════════════════════
 *  ARCHIVE PAGE
 * ══════════════════════════════════════════════════════ */
.arc-wrap { background:#f5f0ea; min-height:100vh; font-family:'Be Vietnam Pro','Manrope',sans-serif; }
.arc-hero { position:relative; background:#2c1a0e; overflow:hidden; min-height:200px; display:flex; align-items:flex-end; }
.arc-hero-bg { position:absolute; inset:0; background-size:cover; background-position:center; opacity:.35; }
.arc-hero-overlay { position:absolute; inset:0; background:linear-gradient(to right,rgba(20,8,2,.95) 40%,rgba(20,8,2,.4) 100%); }
.arc-hero-inner { position:relative; z-index:2; max-width:1300px; margin:0 auto; padding:36px 40px; width:100%; }
.arc-hero-badge { display:inline-flex; align-items:center; gap:5px; background:rgba(245,200,66,.15); border:1px solid rgba(245,200,66,.3); color:#f5c842; font-size:10px; font-weight:700; letter-spacing:2px; text-transform:uppercase; padding:3px 10px; border-radius:20px; margin-bottom:10px; }
.arc-hero h1 { font-size:clamp(1.6rem,3.5vw,2.6rem); font-weight:900; color:#fff !important; margin:0 0 8px; line-height:1.2; }
.arc-hero-desc { text-align: justify; color:rgba(255,255,255,.88) !important; max-width:680px; line-height:1.75; margin:0; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.arc-hero-desc.open { display:block !important; -webkit-line-clamp:unset; }
.arc-hero-desc h2 { color:#fff !important; font-size:20px; font-weight:900; margin:0 0 10px; line-height:1.3; }
.arc-hero-desc h3 { color:#fff !important; font-size:17px; font-weight:800; margin:14px 0 6px; line-height:1.35; }
.arc-hero-desc h4 { color:#fff !important; font-size:15px; font-weight:700; margin:12px 0 5px; line-height:1.4; }
.arc-hero-desc p { margin:0 0 12px; color:rgba(255,255,255,.88) !important; }
.arc-hero-desc p:last-child { margin-bottom:0; }
.arc-hero-desc br { display:block; content:""; margin-bottom:8px; }
.arc-hero-desc strong { color:#f5c842 !important; }
.arc-hero-desc ul,.arc-hero-desc ol { padding-left:0; margin:4px 0 8px; }
.arc-hero-desc li { color:rgba(255,255,255,.85) !important; margin-bottom:3px; font-size:13px; }
.arc-hero-desc-wrap { max-width:580px; }
.arc-hero-toggle { display:none; align-items:center; gap:5px; margin-top:8px; background:rgba(255,255,255,.15); border:1px solid rgba(255,255,255,.3); border-radius:20px; cursor:pointer; color:#fff !important; font-size:11px; font-weight:700; padding:5px 14px; transition:background .15s; }
.arc-hero-toggle:hover { background:rgba(255,255,255,.25); }
.arc-container { max-width:1300px; margin:0 auto; padding:0 40px; }
.arc-body { padding:28px 0 60px; }
.ak-search-page .arc-body { padding-top:96px; }
.ak-search-head { margin-bottom:24px; max-width:820px; }
.ak-search-head h1 { color:#2c1a0e; font-size:clamp(1.55rem,3vw,2.35rem); font-weight:900; line-height:1.25; margin:0 0 8px; }
.ak-search-head p { color:#6b5a4e; font-size:14px; line-height:1.75; margin:0; }
.arc-filter { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:24px; align-items:center; }
.arc-filter-label { font-size:12px; font-weight:700; color:#8c4d20; text-transform:uppercase; letter-spacing:1px; margin-right:4px; }
.arc-filter a { font-size:13px; font-weight:600; padding:6px 16px; border-radius:20px; text-decoration:none; border:1.5px solid #d5c5b5; color:#6b5a4e; background:#fff; transition:all .15s; white-space:nowrap; }
.arc-filter a:hover { border-color:#8c4d20; color:#8c4d20; }
.arc-filter a.active { background:#8c4d20; border-color:#8c4d20; color:#fff; }
.arc-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.arc-card { background:#fff; border-radius:12px; overflow:hidden; border:1px solid #e8ddd4; box-shadow:0 1px 6px rgba(44,26,14,.06); display:flex; flex-direction:column; transition:transform .2s,box-shadow .2s; }
.arc-card:hover { transform:translateY(-3px); box-shadow:0 8px 28px rgba(44,26,14,.12); }
.arc-card-img { position:relative; overflow:hidden; aspect-ratio:16/10; }
.arc-card-img img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s; }
.arc-card:hover .arc-card-img img { transform:scale(1.05); }
.arc-card-cat { position:absolute; top:10px; left:10px; background:rgba(140,77,32,.9); color:#fff; font-size:10px; font-weight:800; letter-spacing:.8px; text-transform:uppercase; padding:3px 10px; border-radius:20px; text-decoration:none; backdrop-filter:blur(4px); transition:background .15s; }
.arc-card-cat:hover { background:#6d3a16; }
.arc-card-body { padding:16px 18px 18px; flex:1; display:flex; flex-direction:column; }
.arc-card-meta { display:flex; align-items:center; gap:12px; font-size:11px; color:#a08060; margin-bottom:8px; }
.arc-card-meta span { display:flex; align-items:center; gap:4px; }
.arc-card-meta svg { width:11px; height:11px; flex-shrink:0; }
.arc-card h2 { font-size:15px; font-weight:800; line-height:1.45; margin:0 0 8px; color:#2c1a0e; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.arc-card h2 a { color:inherit; text-decoration:none; }
.arc-card h2 a:hover { color:#8c4d20; }
.arc-card-excerpt { font-size:13px; line-height:1.65; color:#6b5a4e; flex:1; margin-bottom:14px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.arc-card-footer { display:flex; align-items:center; justify-content:space-between; padding-top:12px; border-top:1px solid #f0ebe3; }
.arc-read-more { display:inline-flex; align-items:center; gap:5px; font-size:12px; font-weight:700; color:#8c4d20 !important; text-decoration:none; padding:5px 12px; border-radius:20px; border:1.5px solid #8c4d20; transition:background .15s,color .15s; }
.arc-read-more:hover { background:#8c4d20; color:#fff !important; }
.arc-read-more svg { width:12px; height:12px; }
.arc-card-cmt { font-size:11px; color:#a08060; display:flex; align-items:center; gap:4px; }
.arc-card-cmt svg { width:11px; height:11px; }
.arc-empty { text-align:center; padding:80px 20px; color:#6b5a4e; }
.arc-empty h2 { font-size:1.4rem; font-weight:800; color:#2c1a0e; margin-bottom:10px; }
.arc-pagination { margin-top:40px; display:flex; justify-content:center; gap:8px; flex-wrap:wrap; }
.arc-pagination .page-numbers { display:inline-flex; align-items:center; justify-content:center; min-width:40px; height:40px; padding:0 14px; background:#fff; border:1.5px solid #d5c5b5; border-radius:10px; color:#6b5a4e; font-weight:600; font-size:14px; text-decoration:none; transition:all .15s; }
.arc-pagination .page-numbers:hover { background:#8c4d20; border-color:#8c4d20; color:#fff; }
.arc-pagination .page-numbers.current { background:#8c4d20; border-color:#8c4d20; color:#fff; font-weight:800; }
.arc-pagination .page-numbers.dots { border:none; background:transparent; }
@media (max-width:1024px) { .arc-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:900px) { .arc-container { padding:0 16px; } .arc-hero-inner { padding:28px 16px; } }
@media (max-width:600px) { .arc-container { padding:0 12px; } .arc-hero-inner { padding:20px 12px; } .arc-grid { grid-template-columns:1fr; } .arc-body { padding:16px 0 40px; } }

/* ══════════════════════════════════════════════════════
 *  SINGLE POST — sidebar & typography
 * ══════════════════════════════════════════════════════ */
.single-layout { display:grid; grid-template-columns:1fr 340px; gap:40px; align-items:start; width:100%; }
.single-main { min-width:0; width:100%; }
/* KHÔNG dùng overflow trên ancestor của sidebar — sẽ phá sticky */
.single-header-wrap { max-width:1300px; margin:0 auto; padding:32px 40px 0; box-sizing:border-box; width:100%; }
.single-header-inner { max-width:860px; }
.single-content-wrap { max-width:1300px; margin:0 auto; padding:0 40px; box-sizing:border-box; width:100%; }
.single-prose-box { --prose-pad: 40px; border-radius:16px; padding:var(--prose-pad); width:100%; box-sizing:border-box; }

/* Sidebar sticky — tách class riêng, không dùng sidebar-sticky global */
.sp-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Featured image — tràn ra 2 cạnh và cạnh trên khớp đúng padding container */
.single-featured-image {
    margin: calc(var(--prose-pad) * -1) calc(var(--prose-pad) * -1) 28px;
    line-height: 0;
}
.single-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px 16px 0 0; /* khớp với border-radius của .single-prose-box */
    object-fit: cover;
}
.az-content-vi { overflow-x:hidden; word-break:break-word; overflow-wrap:break-word; max-width:100%; }
.az-content-vi * { max-width:100%; box-sizing:border-box; }
.az-content-vi img { max-width:100% !important; width:auto !important; height:auto !important; display:block; }
.az-content-vi iframe,.az-content-vi embed,.az-content-vi video { max-width:100% !important; height:auto !important; }
.az-content-vi table { display:block; overflow-x:auto; max-width:100%; }
.az-content-vi pre,.az-content-vi code { white-space:pre-wrap; word-break:break-all; max-width:100%; }
.single-prose-box .az-content-vi ul {
  list-style: disc outside !important;
  padding-left: 1.5rem !important;
}
.single-prose-box .az-content-vi ol {
  list-style: decimal outside !important;
  padding-left: 1.5rem !important;
}
.single-prose-box .az-content-vi li {
  display: list-item !important;
  margin: 0 0 .45rem !important;
}
.single-prose-box .az-content-vi li::marker {
  color: #333 !important;
  font-weight: 700;
}
.dpl-prose figure,
.dpl-prose .wp-caption {
  margin: 1.5rem 0 2.25rem;
}
.dpl-prose figure img,
.dpl-prose .wp-caption img {
  margin: 0 !important;
}
.dpl-prose figcaption,
.dpl-prose .wp-caption-text {
  margin: .45rem 0 0;
  color: #6f6258;
  font-size: .875rem;
  font-style: italic;
  line-height: 1.55;
  text-align: center;
}
.dpl-prose figcaption p,
.dpl-prose .wp-caption-text p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}
.sidebar-widget { background:#fff; border:1px solid rgba(17,17,17,.12); border-radius:16px; padding:24px; box-shadow:0 2px 12px rgba(17,17,17,.06); }
.sidebar-widget-title { font-family:'Manrope',sans-serif; font-size:17px; font-weight:800; color:#111 !important; margin:0 0 20px; padding-left:14px; position:relative; letter-spacing:-.3px; }
.sidebar-widget-title::before { content:''; position:absolute; left:0; top:50%; transform:translateY(-50%); width:4px; height:20px; background:linear-gradient(180deg,#8c4d20 0%,#ff7411 100%); border-radius:2px; }
.sidebar-recent-list { display:flex; flex-direction:column; gap:16px; }
.sidebar-recent-item { display:flex; gap:12px; align-items:flex-start; padding-bottom:16px; border-bottom:1px solid rgba(17,17,17,.08); }
.sidebar-recent-item:last-child { border-bottom:none; padding-bottom:0; }
.sidebar-recent-thumb { width:80px; height:80px; border-radius:10px; overflow:hidden; flex-shrink:0; display:block; }
.sidebar-recent-thumb-ph { width:80px; height:80px; border-radius:10px; background:linear-gradient(135deg,#e8f2fc 0%,#ffe999 100%); flex-shrink:0; }
.sidebar-recent-img { width:100%; height:100%; object-fit:cover; display:block; }
.sidebar-recent-content { flex:1; min-width:0; }
.sidebar-recent-title { margin:0 0 8px; font-size:14px; font-weight:700; line-height:1.4; }
.sidebar-recent-title a { color:#181818 !important; text-decoration:none; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.sidebar-recent-title a:hover { color:#8c4d20 !important; }
.sidebar-recent-meta { display:flex; align-items:center; gap:5px; font-size:12px; color:#666 !important; }
.sidebar-cat-list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:4px; }
.sidebar-cat-list li a { display:flex; align-items:center; justify-content:space-between; padding:10px 14px; border-radius:10px; text-decoration:none; font-size:14px; font-weight:600; color:#333 !important; }
.sidebar-cat-list li a:hover { background:rgba(140,77,32,.15); color:#111 !important; }
.sidebar-cat-count { background:#e8f2fc; color:#666 !important; font-size:11px; font-weight:700; padding:3px 10px; border-radius:100px; min-width:28px; text-align:center; }
.sidebar-tags { display:flex; flex-wrap:wrap; gap:8px; }
.sidebar-tags a { font-size:12px; font-weight:600; padding:6px 14px; border-radius:100px; background:#e8f2fc; color:#333 !important; text-decoration:none; border:1px solid rgba(17,17,17,.12); }
.sidebar-tags a:hover { background:#8c4d20; color:#fff !important; border-color:#8c4d20; }
@media (max-width:1024px) {
    .single-layout { grid-template-columns:1fr; }
    .single-sidebar { position:static; display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:16px; }
}
@media (max-width:768px) {
    .single-sidebar { display:none !important; }
    .single-layout { grid-template-columns:1fr !important; gap:14px !important; }
    .single-header-wrap { padding:16px 16px 0 !important; }
    .single-content-wrap { padding:0 16px !important; }
    .single-prose-box { --prose-pad: 18px; padding:18px 14px !important; border-radius:12px !important; }
    .single-author-bio { padding:16px !important; border-radius:12px !important; }
    .single-post-nav { grid-template-columns:1fr !important; gap:10px !important; }
    main.pb-20 { background:#f0ebe3 !important; }
}
@media (max-width:480px) {
    .single-header-wrap { padding:14px 12px 0 !important; }
    .single-content-wrap { padding:0 12px !important; }
    .single-prose-box { --prose-pad: 14px; padding:14px 12px !important; border-radius:10px !important; }
    .single-author-bio { padding:14px 12px !important; border-radius:10px !important; }
}

/* ══════════════════════════════════════════════════════
 *  PAGE ABOUT
 * ══════════════════════════════════════════════════════ */
.ab-page-wrap { background:#f0ebe3; width:100%; max-width:100%; box-sizing:border-box; overflow-x:clip; }
.ab-container { max-width:1300px; margin:0 auto; padding:0 40px; box-sizing:border-box; width:100%; }
.ab-section { padding:32px 0; }
.ab-two-col { display:flex; gap:20px; align-items:flex-start; width:100%; }
aside.ab-sidebar { flex:0 0 320px; width:320px; min-width:0; position:sticky; top:80px; align-self:start; margin:0; padding:0; }
.ab-content { flex:1 1 0; min-width:0; width:0; }
.cp-btn-more--full { color:#fff !important; }
.ab-content-box { background:#fff; border-radius:10px; padding:24px 28px; box-shadow:0 1px 6px rgba(0,0,0,.07); }
.ab-content-title { font-size:16px; font-weight:900; color:#8c4d20; border-left:4px solid #8c4d20; padding-left:12px; margin:0 0 20px; text-transform:uppercase; }
.ab-content-body p { font-size:14px; line-height:1.85; color:#3d2008; margin:0 0 14px; }
.ab-content-body p:last-child { margin-bottom:0; }
.ab-specialty-box { background:#fff; border-radius:10px; padding:20px 28px; box-shadow:0 1px 6px rgba(0,0,0,.07); text-align:center; margin-top:12px; }
.ab-specialty-title { font-size:15px; font-weight:900; color:#8c4d20; text-transform:uppercase; letter-spacing:.8px; margin:0 0 20px; }
/* Desktop & Mobile: Slider cuộn ngang */
.ab-sp-slider { position:relative; overflow:hidden; }
.ab-sp-track { 
    display:flex; 
    gap:16px; 
    overflow-x:auto; 
    scroll-snap-type:x mandatory; 
    scrollbar-width:none; 
    -ms-overflow-style:none; 
    scroll-behavior:smooth; 
    padding:4px 2px 8px; 
}
.ab-sp-track::-webkit-scrollbar { display:none; }
.ab-sp-item { 
    flex:0 0 calc(25% - 12px); 
    scroll-snap-align:start; 
    display:flex; 
    flex-direction:column; 
    align-items:center; 
    gap:10px; 
    text-decoration:none; 
    transition:transform .2s; 
}
.ab-sp-item:hover { transform:translateY(-4px); }
.ab-sp-circle { width:120px; height:120px; border-radius:50%; overflow:hidden; border:3px solid #e8d5c0; box-shadow:0 3px 10px rgba(140,77,32,.12); transition:border-color .2s,box-shadow .2s; flex-shrink:0; }
.ab-sp-item:hover .ab-sp-circle { border-color:#8c4d20; box-shadow:0 6px 18px rgba(140,77,32,.22); }
.ab-sp-circle img { width:100%; height:100%; object-fit:cover; }
.ab-sp-label { font-size:12px; font-weight:700; color:#3d2008; text-align:center; line-height:1.35; max-width:120px; }
.ab-sp-btn { position:absolute; top:55px; transform:translateY(-50%); width:32px; height:32px; border-radius:50%; background:#fff; border:1.5px solid #e0d5c8; box-shadow:0 2px 8px rgba(0,0,0,.10); cursor:pointer; display:flex; align-items:center; justify-content:center; color:#8c4d20; transition:background .15s,opacity .2s; z-index:2; }
.ab-sp-btn:hover { background:#f5ede0; }
.ab-sp-prev { left:-14px; }
.ab-sp-next { right:-14px; }
.ab-story-wrap p{
    margin-bottom: 15px !important;
}
.ab-story-wrap { background:#fff; padding:32px 0; width:100%; max-width:100%; box-sizing:border-box; overflow-x:clip; }
.ab-story-inner { max-width:1200px; margin:0 auto; padding:0 40px; box-sizing:border-box; }
.ab-story-header { text-align:center; margin-bottom:48px; }
.ab-story-main-title { font-size:clamp(1.5rem,3vw,2rem); font-weight:900; color:#2c1a0e; margin:0 0 6px; }
.ab-story-subtitle { font-size:16px; font-weight:700; color:#8c4d20; margin:0 0 16px; }
.ab-story-lead { font-size:14px; color:#6b5a4e; line-height:1.8; max-width:600px; margin:0 auto; }
.ab-story-timeline { position:relative; }
.ab-story-timeline::before { content:''; position:absolute; left:130px; top:0; bottom:0; width:2px; background:linear-gradient(to bottom,#e8d5c0,#8c4d20 40%,#e8d5c0); }
.ab-story-item { display:grid; grid-template-columns:130px 1fr; gap:32px; margin-bottom:48px; position:relative; }
.ab-story-item--last { margin-bottom:0; }
.ab-story-left { text-align:right; padding-right:20px; position:relative; }
.ab-story-year-wrap { display:flex; flex-direction:column; align-items:flex-end; gap:4px; margin-bottom:8px; }
.ab-story-badge { display:inline-block; background:rgba(140,77,32,.1); color:#8c4d20; font-size:9px !important; font-weight:700; padding:2px 6px; border-radius:16px; text-transform:uppercase; letter-spacing:.3px; border:1px solid rgba(140,77,32,.2); }
.ab-story-badge--gold { background:rgba(245,200,66,.15); color:#b8860b; border-color:rgba(245,200,66,.35); }
.ab-story-year { font-size:11px !important; font-weight:700; color:#2c1a0e; line-height:1.3; }
.ab-story-dot { position:absolute; right:-7px; top:2px; width:14px; height:14px; border-radius:50%; background:#8c4d20; border:3px solid #fff; box-shadow:0 0 0 2px #8c4d20; }
.ab-story-dot--gold { background:#f5c842; box-shadow:0 0 0 2px #f5c842; }
.ab-story-line { position:absolute; right:-1px; top:16px; bottom:-48px; width:2px; background:transparent; }
.ab-story-right { padding-top:2px; }
.ab-story-right h3.ab-story-title { font-size:15px !important; font-weight:700; color:#2c1a0e; margin:0 0 12px; line-height:1.4; }
.ab-story-right strong { color:#2c1a0e; }
.ab-story-list { margin:8px 0 12px 18px; padding:0; }
.ab-story-list li { font-size:13px !important; color:#5a4a3a; margin-bottom:5px; line-height:1.6; }
.ab-story-list li::marker { color:#8c4d20; }
.ab-story-img-wrap { margin-bottom:14px; }
.ab-story-img-wrap img,.ab-story-img-full { width:100%; border-radius:10px; display:block; margin-bottom:14px; }
.ab-story-img-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:14px; }
.ab-story-img-grid img { width:100%; border-radius:8px; aspect-ratio:4/3; object-fit:cover; display:block; }
.ab-story-img-final { width:100%; max-width:500px; border-radius:10px; display:block; margin:14px auto 0; }

/* ── Editor content styles ── */
.ab-story-pre-content { 
  transition: max-height .4s ease;
  position: relative;
}
.ab-story-pre-content[data-collapsed="true"] {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ab-story-pre-content p:last-child, .ab-story-main-content p:last-child { margin-bottom:0 !important; }
.ab-story-pre-content strong, .ab-story-main-content strong { color:#2c1a0e; font-weight:700; }
.ab-story-pre-content ul, .ab-story-main-content ul,
.ab-story-pre-content ol, .ab-story-main-content ol { margin:8px 0 18px 18px; padding:0; }
.ab-story-pre-content li, .ab-story-main-content li { margin-bottom:8px; line-height:1.7; }
.ab-story-pre-content ul li::marker, .ab-story-main-content ul li::marker { color:#8c4d20; }
.ab-story-pre-content img, .ab-story-main-content img { width:100%; max-width:100%; height:auto; border-radius:10px; margin:18px 0; display:block; }
.ab-story-pre-content a, .ab-story-main-content a { color:#8c4d20; text-decoration:underline; }
.ab-story-pre-content a:hover, .ab-story-main-content a:hover { color:#5c2d0e; }
.ab-story-pre-content blockquote, .ab-story-main-content blockquote { border-left:3px solid #8c4d20; padding-left:16px; margin:18px 0; font-style:italic; color:#6b5a4e; }

/* ── Pre-content "Đọc thêm" button ── */
.ab-precontent-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  margin-bottom: 8px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 12px !important;
  font-weight: 600;
  color: #8c4d20;
  text-decoration: none;
  transition: color .15s;
}
.ab-precontent-more:hover { color: #5c2d0e; }
.ab-precontent-more svg { transition: transform .3s ease; flex-shrink: 0; width: 11px; height: 11px; }
.ab-precontent-more.open svg { transform: rotate(180deg); }

/* ── Readmore toggle ── */
.ab-story-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s ease, opacity .35s ease;
  opacity: 0;
}
.ab-story-body[aria-expanded="true"] {
  max-height: 9999px;
  opacity: 1;
}
.ab-readmore-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 12px !important;
  font-weight: 600;
  color: blue;
  text-decoration: none;
  transition: color .15s;
}
.ab-readmore-btn:hover { color: #5c2d0e; }
.ab-readmore-btn svg { transition: transform .3s ease; flex-shrink: 0; width: 11px; height: 11px; }
.ab-readmore-btn.open svg { transform: rotate(180deg); }
.ab-moments-wrap { background:#f0ebe3; padding:48px 0 56px; width:100%; max-width:100%; box-sizing:border-box; overflow-x:clip; }
.ab-moments-inner { max-width:1300px; margin:0 auto; padding:0 40px; box-sizing:border-box; }
.ab-moments-title { font-size:18px; font-weight:900; color:#2c1a0e; text-align:center; text-transform:uppercase; letter-spacing:1px; margin:0 0 32px; }
.ab-moments-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.ab-moment-item { position:relative; overflow:hidden; border-radius:8px; cursor:pointer; display:block; aspect-ratio:1/1; background:#e8d5c0; }
.ab-moment-item img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s ease; }
.ab-moment-item:hover img { transform:scale(1.07); }
.ab-moment-overlay { position:absolute; inset:0; background:rgba(0,0,0,.25); display:flex; align-items:center; justify-content:center; opacity:0; transition:opacity .25s; }
.ab-moment-item:hover .ab-moment-overlay { opacity:1; }
.ab-lightbox { position:fixed; inset:0; z-index:99999; display:flex; align-items:center; justify-content:center; }
.ab-lightbox-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.88); cursor:pointer; }
.ab-lb-img-wrap { position:relative; z-index:1; max-width:90vw; max-height:90vh; display:flex; align-items:center; justify-content:center; }
.ab-lb-img-wrap img { max-width:88vw; max-height:85vh; border-radius:6px; object-fit:contain; display:block; box-shadow:0 8px 40px rgba(0,0,0,.5); }
.ab-lb-counter { position:absolute; bottom:-28px; left:50%; transform:translateX(-50%); color:rgba(255,255,255,.7); font-size:13px; white-space:nowrap; }
.ab-lb-close { position:fixed; top:20px; right:24px; z-index:2; background:rgba(255,255,255,.15); border:none; color:#fff; font-size:22px; width:44px; height:44px; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .2s; }
.ab-lb-close:hover { background:rgba(255,255,255,.3); }
.ab-lb-prev,.ab-lb-next { position:fixed; top:50%; transform:translateY(-50%); z-index:2; background:rgba(255,255,255,.15); border:none; color:#fff; font-size:26px; width:50px; height:50px; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .2s; }
.ab-lb-prev:hover,.ab-lb-next:hover { background:rgba(255,255,255,.3); }
.ab-lb-prev { left:20px; }
.ab-lb-next { right:20px; }
/* About responsive */
@media (max-width:1024px) { aside.ab-sidebar { flex:0 0 260px; width:260px; } }
@media (max-width:900px) {
    .ab-container { padding:0 16px; } .ab-section { padding:20px 0; }
    .ab-two-col { flex-direction:column; gap:14px; }
    aside.ab-sidebar { flex:none; width:100%; position:static; order:2; }
    .ab-content { width:100%; order:1; }
    /* Tablet: Slider với item 33.33% */
    .ab-sp-item { flex:0 0 calc(33.33% - 11px); } 
    .ab-sp-circle { width:88px; height:88px; }
    .ab-sp-btn { top:48px; } 
    .ab-sp-prev { left:-12px; } 
    .ab-sp-next { right:-12px; }
    .ab-story-inner { padding:0 16px; }
    .ab-moments-wrap { padding:32px 0 40px; } .ab-moments-grid { grid-template-columns:repeat(3,1fr); }
    .ab-moments-inner { padding:0 16px; } .ab-moments-title { font-size:15px; }
}
@media (max-width:600px) {
    .ab-page-wrap,.ab-story-wrap,.ab-moments-wrap { overflow-x:clip; }
    .ab-container { padding:0 12px; } .ab-section { padding:12px 0; }
    .ab-content-box { padding:14px 12px; border-radius:8px; } .ab-content-title { font-size:13px; }
    .ab-content-body p { font-size:13.5px; line-height:1.78; }
    .ab-specialty-box { padding:14px 12px 16px; border-radius:8px; overflow:hidden; }
    .ab-specialty-title { font-size:12.5px; margin:0 0 14px; }
    /* Mobile: Slider với item nhỏ hơn */
    .ab-sp-track { gap:12px; padding:2px 0 4px; }
    .ab-sp-item { flex:0 0 calc(33.33% - 8px); gap:6px; }
    .ab-sp-circle { width:60px; height:60px; border-width:2px; }
    .ab-sp-label { font-size:10px; max-width:100%; font-weight:700; line-height:1.3; } 
    .ab-sp-btn { width:28px; height:28px; top:38px; } 
    .ab-sp-prev { left:-10px; } 
    .ab-sp-next { right:-10px; }
    .cp-widget { border-radius:8px !important; } .cp-widget-body { padding:12px !important; }
    .ab-story-inner { padding:0 12px; } .ab-story-header { margin-bottom:22px; }
    .ab-story-main-title { font-size:1.3rem; } .ab-story-subtitle { font-size:13.5px; } .ab-story-lead { font-size:13px; }
    .ab-story-timeline::before { left:6px; width:2px; }
    .ab-story-item { grid-template-columns:1fr; gap:4px; margin-bottom:28px; padding-left:26px; position:relative; }
    .ab-story-item--last { margin-bottom:0; }
    .ab-story-left { text-align:left; padding-right:0; padding-left:0; position:static; }
    .ab-story-year-wrap { flex-direction:row; align-items:center; gap:8px; margin-bottom:4px; }
    .ab-story-dot { position:absolute; left:0; right:auto; top:4px; width:13px; height:13px; }
    .ab-story-line { display:none; } .ab-story-right { padding-top:0; }
    .ab-story-right h3.ab-story-title { font-size:14px; } .ab-story-right p { font-size:13px; line-height:1.75; }
    .ab-story-list li { font-size:13px; } .ab-story-img-grid { grid-template-columns:1fr; gap:8px; }
    .ab-story-img-final { max-width:100%; } .ab-story-img-wrap img,.ab-story-img-full { border-radius:8px; }
    .ab-moments-wrap { padding:24px 0 32px; } .ab-moments-inner { padding:0 12px; }
    .ab-moments-title { font-size:14px; margin-bottom:16px; }
    .ab-moments-grid { grid-template-columns:repeat(2,1fr); gap:5px; } .ab-moment-item { border-radius:6px; }
    .ab-lb-prev,.ab-lb-next { width:40px; height:40px; font-size:20px; }
    .ab-lb-prev { left:8px; } .ab-lb-next { right:8px; }
    .ab-lb-close { top:12px; right:12px; width:38px; height:38px; }
    .ab-lb-img-wrap img { max-width:94vw; max-height:82vh; }
}

/* ══════════════════════════════════════════════════════
 *  GÓC CHUYÊN GIA
 * ══════════════════════════════════════════════════════ */
.gcg-wrap { background:#f0ebe3; min-height:100vh; font-family:'Be Vietnam Pro','Manrope',sans-serif; }
.gcg-hero { background:linear-gradient(135deg,#2c1a0e 0%,#3d2008 55%,#8c4d20 100%); padding:44px 0 36px; position:relative; overflow:hidden; }
.gcg-hero::before { content:''; position:absolute; inset:0; background-image:radial-gradient(rgba(255,255,255,.04) 1px,transparent 1px); background-size:28px 28px; }
.gcg-hero-inner { position:relative; z-index:1; max-width:1300px; margin:0 auto; padding:0 40px; }
.gcg-hero-badge { display:inline-flex; align-items:center; gap:5px; background:rgba(245,200,66,.12); border:1px solid rgba(245,200,66,.3); color:#f5c842; font-size:10px; font-weight:700; letter-spacing:2px; text-transform:uppercase; padding:3px 12px; border-radius:20px; margin-bottom:12px; }
.gcg-hero h1 { font-size:clamp(1.6rem,3vw,2.4rem); font-weight:900; color:#fff !important; margin:0 0 8px; line-height:1.2; }
.gcg-hero p { font-size:14px; color:rgba(255,255,255,.75); max-width:520px; margin:0; line-height:1.7; }
.gcg-body { max-width:1300px; margin:0 auto; padding:32px 40px 60px; }
.gcg-cat-section { margin-bottom:36px; }
.gcg-section-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.gcg-section-title { display:flex; align-items:center; gap:8px; font-size:15px; font-weight:900; color:#2c1a0e; text-transform:uppercase; letter-spacing:.4px; }
.gcg-section-title::before { content:''; width:4px; height:18px; background:#8c4d20; border-radius:2px; flex-shrink:0; }
.gcg-see-all { font-size:12px; font-weight:700; color:#8c4d20; text-decoration:none; padding:5px 14px; border:1.5px solid #8c4d20; border-radius:20px; transition:background .15s,color .15s; white-space:nowrap; }
.gcg-see-all:hover { background:#8c4d20; color:#fff; }
.gcg-slider { position:relative; }
.gcg-slider-track { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.gcg-card { background:#fff; border-radius:10px; overflow:hidden; border:1px solid #e8ddd4; box-shadow:0 1px 6px rgba(44,26,14,.06); display:flex; flex-direction:column; transition:transform .2s,box-shadow .2s; }
.gcg-card:hover { transform:translateY(-3px); box-shadow:0 6px 20px rgba(44,26,14,.12); }
.gcg-card-img { position:relative; overflow:hidden; aspect-ratio:16/10; }
.gcg-card-img img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s; }
.gcg-card:hover .gcg-card-img img { transform:scale(1.05); }
.gcg-card-img a { display:block; width:100%; height:100%; }
.gcg-card-body { padding:14px 16px 16px; flex:1; display:flex; flex-direction:column; }
.gcg-card-meta { display:flex; align-items:center; gap:10px; font-size:11px; color:#a08060; margin-bottom:7px; }
.gcg-card-meta span { display:flex; align-items:center; gap:3px; }
.gcg-card-meta svg { width:11px; height:11px; flex-shrink:0; }
.gcg-card h3 { font-size:14px; font-weight:700; line-height:1.45; margin:0 0 8px; color:#2c1a0e; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.gcg-card h3 a { color:inherit; text-decoration:none; }
.gcg-card h3 a:hover { color:#8c4d20; }
.gcg-card-exc { font-size:12px; line-height:1.6; color:#6b5a4e; flex:1; margin-bottom:12px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.gcg-card-footer { display:flex; align-items:center; justify-content:space-between; padding-top:10px; border-top:1px solid #f0ebe3; }
.gcg-read-more { display:inline-flex; align-items:center; gap:4px; font-size:12px; font-weight:700; color:#8c4d20; text-decoration:none; padding:4px 12px; border-radius:20px; border:1.5px solid #8c4d20; transition:background .15s,color .15s; }
.gcg-read-more:hover { background:#8c4d20; color:#fff; }
.gcg-read-more svg { width:11px; height:11px; }
.gcg-cat-empty { padding:24px; background:#fff; border-radius:10px; text-align:center; font-size:13px; color:#a08060; border:1px dashed #d5c5b5; }
@media (max-width:900px) { .gcg-body { padding:24px 16px 48px; } .gcg-hero-inner { padding:0 16px; } .gcg-slider-track { grid-template-columns:repeat(2,1fr); } }
@media (max-width:540px) { .gcg-body { padding:16px 12px 40px; } .gcg-slider-track { grid-template-columns:1fr; } }

/* ══════════════════════════════════════════════════════
 *  FOOTER
 * ══════════════════════════════════════════════════════ */
.cp-footer-bar { background:#fff; padding:14px 40px; text-align:center; }
.cp-footer-bar p { margin:0; color:#000; }
.cp-footer-bar strong { color:#8c4d20; }
.cp-footer-bar a { color:#8c4d20; text-decoration:none; }
.cp-footer-bar a:hover { color:#5a2e0a; text-decoration:underline; }
@media (max-width:600px) { .cp-footer-bar { padding:12px 16px; } .cp-footer-bar p { font-size:12px; } }

/* ══════════════════════════════════════════════════════
 *  LEGAL PAGES (cookies / privacy / terms)
 * ══════════════════════════════════════════════════════ */
.legal-page { background:radial-gradient(circle at top right,#1e1b4b,#0f172a 60%); min-height:100vh; padding:80px 0 60px; }
.legal-card { background:rgba(16,29,35,.6); backdrop-filter:blur(12px); border:1px solid rgba(37,175,244,.2); border-radius:16px; padding:48px; max-width:860px; margin:0 auto; }
.legal-card h1 { font-size:2rem; font-weight:700; color:#fff; margin-bottom:8px; }
.legal-card .subtitle { color:#94a3b8; font-size:.9rem; margin-bottom:36px; }
.legal-card h2 { font-size:1.15rem; font-weight:600; color:#25aff4; margin:28px 0 10px; }
.legal-card p,.legal-card li { color:#cbd5e1; line-height:1.8; font-size:.95rem; }
.legal-card ul { padding-left:20px; margin:8px 0; }
.legal-card ul li { margin-bottom:6px; }
.legal-card a { color:#25aff4; text-decoration:underline; }
.cookie-table { width:100%; border-collapse:collapse; margin:16px 0; }
.cookie-table th { background:rgba(37,175,244,.15); color:#25aff4; padding:10px 14px; text-align:left; font-size:.85rem; border:1px solid rgba(37,175,244,.2); }
.cookie-table td { padding:10px 14px; color:#cbd5e1; font-size:.85rem; border:1px solid rgba(255,255,255,.07); }
.cookie-table tr:nth-child(even) td { background:rgba(255,255,255,.03); }
@media (max-width:600px) { .legal-card { padding:24px 16px; border-radius:10px; } .legal-card h1 { font-size:1.5rem; } }

/* ═══════════════════════════════════════════════════════════
   Style cho 2 danh mục: KIẾN THỨC BÊN LỀ & VẬN HÀNH KINH DOANH
   Layout: Card style với ảnh bên trái, nội dung bên phải
   ═══════════════════════════════════════════════════════════ */

/* Container list */
.cp-twin-wrap .cp-tips-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Card item với layout ngang */
.cp-twin-wrap .cp-tips-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 14px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    align-items: center;
}

.cp-twin-wrap .cp-tips-item:hover {
    border-color: #8c4d20;
    box-shadow: 0 4px 12px rgba(140, 77, 32, 0.15);
    transform: translateY(-2px);
}

/* Cột trái: ảnh với badge số */
.cp-twin-wrap .cp-tips-left {
    position: relative;
    flex-shrink: 0;
}

/* Ảnh đại diện vuông */
.cp-twin-wrap .cp-tips-img {
    display: block;
    width: 90px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cp-twin-wrap .cp-tips-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.cp-twin-wrap .cp-tips-item:hover .cp-tips-img img {
    transform: scale(1.05);
}

/* Badge số thứ tự nằm góc trên trái ảnh */
.cp-twin-wrap .cp-tips-num {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8c4d20 0%, #b86830 100%);
    color: #fff;
    font-weight: 900;
    font-size: 14px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(140, 77, 32, 0.4);
    z-index: 2;
}

/* Nội dung bài viết */
.cp-twin-wrap .cp-tips-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.cp-twin-wrap .cp-tips-body h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    color: #2c2c2c;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cp-twin-wrap .cp-tips-body h4 a {
    color: #2c2c2c;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cp-twin-wrap .cp-tips-body h4 a:hover {
    color: #8c4d20;
}

/* Date không có icon */
.cp-twin-wrap .cp-tips-date {
    display: inline-block;
    font-size: 12px;
    color: #888;
    font-weight: 500;
}

/* Responsive cho tablet */
@media (max-width: 1024px) {
    .cp-twin-wrap .cp-tips-item {
        gap: 12px;
        padding: 12px;
    }
    
    .cp-twin-wrap .cp-tips-img {
        width: 80px;
        height: 80px;
    }
    
    .cp-twin-wrap .cp-tips-body h4 {
        font-size: 14px;
    }
}

/* Responsive cho mobile */
@media (max-width: 768px) {
    .cp-twin-wrap .cp-tips-list {
        gap: 12px;
    }
    
    .cp-twin-wrap .cp-tips-item {
        gap: 10px;
        padding: 10px;
    }
    
    .cp-twin-wrap .cp-tips-img {
        width: 70px;
        height: 70px;
    }
    
    .cp-twin-wrap .cp-tips-num {
        width: 28px;
        height: 28px;
        font-size: 12px;
        top: -6px;
        left: -6px;
    }
    
    .cp-twin-wrap .cp-tips-body h4 {
        font-size: 13px;
    }
    
    .cp-twin-wrap .cp-tips-date {
        font-size: 11px;
    }
}


/* ═══════════════════════════════════════════════════════════
   FIX RESPONSIVE CHO FRONT-PAGE.PHP - MOBILE
   ═══════════════════════════════════════════════════════════ */

/* Đảm bảo container chính không bị overflow */
.cp-body {
    max-width: 100%;
    overflow-x: clip; /* Dùng clip thay vì hidden để không phá sticky */
}

.cp-layout {
    max-width: 100%;
    display: grid !important;
    grid-template-columns: 320px 1fr !important;
    /* Không dùng overflow-x ở đây để không phá sticky */
}

.cp-main,
.cp-full-wrap {
    max-width: 100%;
    overflow-x: hidden;
}

/* Fix cho các section box */
.cp-section-box {
    max-width: 100%;
    overflow-x: hidden;
}

/* Responsive cho mobile */
@media (max-width: 768px) {
    /* Fix header trên mobile */
    #site-header {
        position: sticky;
        top: 0;
        z-index: 100;
    }
    
    .header-inner {
        padding: 0 12px;
        height: 60px;
    }
    
    /* Fix logo */
    .custom-logo {
        max-width: 150px;
        height: auto;
    }
    
    /* Fix hero section */
    .cp-section-latest {
        padding: 12px;
    }
    
    /* Fix slider */
    .cp-slider-wrap {
        margin: 0 -12px;
        width: calc(100% + 24px);
    }
    
    .cp-slider-track {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
        margin: 10px;
    }
    
    /* Fix featured blog */
    .cp-blog-featured {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .cp-blog-feat-img-wrap {
        width: 100%;
        height: 200px;
        overflow: hidden;
        border-radius: 8px;
    }
    
    .cp-blog-feat-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .cp-blog-feat-title {
        font-size: 18px !important;
        line-height: 1.4;
    }
    
    .cp-blog-feat-excerpt {
        font-size: 14px !important;
        line-height: 1.6;
    }
    
    /* Fix grid layouts */
    .cp-grid3,
    .cp-editorial-grid,
    .cp-casual-grid,
    .cp-showcase-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    
    /* Fix twin columns */
    .cp-twin-wrap {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    /* Fix card images */
    .cp-card-img-wrap,
    .cp-card-img {
        width: 100%;
        height: auto;
        max-height: 200px;
    }
    
    /* Fix section headings */
    .cp-section-head h2 {
        font-size: 16px !important;
        word-break: break-word;
    }
    
    /* Fix sidebar - ẩn trên mobile nếu cần */
    .cp-sidebar {
        display: none;
    }
    
    /* Main full width trên mobile */
    .cp-main {
        width: 100%;
        max-width: 100%;
    }
    
    /* Fix horizontal slider */
    .cp-hslider {
        margin: 0;
        width: 100%;
    }
    
    .cp-hslider-track {
        padding: 0 12px;
        gap: 12px;
    }
    
    .cp-hslider-item {
        min-width: 280px;
    }
    
    /* Fix deepread layout */
    .cp-deepread-wrap {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    .cp-deepread-main,
    .cp-deepread-body {
        width: 100%;
    }
    
    /* Fix masonry */
    .cp-masonry {
        grid-template-columns: 1fr !important;
    }
    
    /* Fix tips layout */
    .cp-tips-list {
        width: 100%;
    }
    
    .cp-tips-item {
        flex-wrap: nowrap;
    }
    
    /* Fix showcase */
    .cp-showcase-grid {
        grid-template-columns: 1fr !important;
    }
    
    .cp-showcase-item {
        max-width: 100%;
    }
    
    /* Fix editorial */
    .cp-editorial-hero {
        margin-bottom: 16px;
    }
    
    .cp-editorial-img {
        height: 220px;
    }
    
    /* Fix resource list */
    .cp-resource-list {
        gap: 12px;
    }
    
    .cp-resource-item {
        padding: 12px;
        gap: 10px;
    }
    
    /* Fix section box padding */
    .cp-section-box {
        padding: 16px 12px;
        margin-bottom: 20px;
    }
    
    /* Fix buttons */
    .cp-see-all-btn {
        font-size: 14px !important;
        padding: 10px 16px;
        white-space: nowrap;
    }
    
    /* Fix card body */
    .cp-card-body {
        padding: 12px;
    }
    
    .cp-card-body h3 {
        font-size: 15px !important;
        line-height: 1.4;
        margin-bottom: 8px;
    }
    
    /* Fix meta items */
    .cp-card-meta {
        font-size: 11px !important;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .cp-meta-item {
        font-size: 11px !important;
    }
    
    /* Fix images to prevent overflow */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Fix any absolute positioned elements */
    .cp-editorial-overlay,
    .cp-showcase-overlay,
    .cp-masonry-overlay {
        border-radius: 8px;
    }
}

/* Extra small mobile devices */
@media (max-width: 375px) {
    .header-inner {
        padding: 0 8px;
        gap: 8px;
    }
    
    .custom-logo {
        max-width: 120px;
    }
    
    .cp-section-box {
        padding: 12px 8px;
    }
    
    .cp-hslider-item {
        min-width: 240px;
    }
    
    .cp-twin-wrap .cp-tips-img {
        width: 60px;
        height: 60px;
    }
    
    .cp-twin-wrap .cp-tips-body h4 {
        font-size: 13px !important;
    }
}


/* ═══════════════════════════════════════════════════════════
   FORCE FIX SIDEBAR STICKY - FINAL OVERRIDE
   Đảm bảo grid layout hoạt động đúng trên desktop
   ═══════════════════════════════════════════════════════════ */

/* Desktop: Grid 2 cột với sidebar sticky */
@media (min-width: 901px) {
    .cp-layout {
        display: grid !important;
        grid-template-columns: 320px 1fr !important;
        gap: 18px !important;
        align-items: start !important;
    }
    
    /* Đảm bảo sidebar sticky - BỎ max-height để full content */
    .cp-sidebar.sidebar-sticky,
    aside.cp-sidebar.sidebar-sticky {
        position: sticky !important;
        top: 90px !important;
        align-self: start !important;
        /* Bỏ max-height để sidebar cao 100% tự nhiên theo nội dung */
        /* max-height: calc(100vh - 100px) !important; */
        /* overflow-y: auto !important; */
    }
    
    /* Main content flex để fill space */
    .cp-main {
        min-width: 0; /* Prevent grid blowout */
    }
}

/* Tablet và Mobile: 1 cột */
@media (max-width: 900px) {
    .cp-layout {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }
    
    .cp-sidebar {
        position: static !important;
        order: 2;
    }
    
    .cp-main {
        order: 1;
    }
}



/* ═══════════════════════════════════════════════════════════
   SIDEBAR LAYOUTS — Tối ưu vùng có sidebar (cột hẹp)
   layout-sidebar-list | layout-sidebar-cards | layout-sidebar-featured
   ═══════════════════════════════════════════════════════════ */

/* ── Sidebar List: ảnh nhỏ + title dọc ── */
.cp-sb-list { display: flex; flex-direction: column; gap: 0; }
.cp-sb-list-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #f0ebe3;
    text-decoration: none;
    transition: background .12s;
}
.cp-sb-list-item:last-child { border-bottom: none; padding-bottom: 0; }
.cp-sb-list-item:hover { opacity: .85; }
.cp-sb-list-item:hover h4 { color: #8c4d20; }
.cp-sb-list-img {
    flex-shrink: 0;
    width: 80px; height: 60px;
    border-radius: 5px;
    overflow: hidden;
}
.cp-sb-list-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s;
}
.cp-sb-list-item:hover .cp-sb-list-img img { transform: scale(1.05); }
.cp-sb-list-body { flex: 1; min-width: 0; }
.cp-sb-list-body h4 {
    font-size: 13px;
    font-weight: 700;
    color: #2c1a0e;
    margin: 0 0 5px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .15s;
}
.cp-sb-list-date { font-size: 11px; color: #a08060; }

/* ── Sidebar Cards: 1 cột card đầy ── */
.cp-sb-cards { display: flex; flex-direction: column; gap: 10px; }
.cp-sb-card {
    display: block;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e8ddd4;
    background: #fff;
    transition: box-shadow .15s, transform .15s;
}
.cp-sb-card:hover { box-shadow: 0 4px 14px rgba(44,26,14,.1); transform: translateY(-2px); }
.cp-sb-card-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.cp-sb-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.cp-sb-card:hover .cp-sb-card-img img { transform: scale(1.05); }
.cp-sb-card-body { padding: 10px 12px 12px; }
.cp-sb-card-body h4 {
    font-size: 13px;
    font-weight: 700;
    color: #2c1a0e;
    margin: 0 0 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .15s;
}
.cp-sb-card:hover .cp-sb-card-body h4 { color: #8c4d20; }
.cp-sb-card-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 11px;
    color: #a08060;
}
.cp-sb-card-meta span + span::before { content: '·'; margin-right: 8px; }

/* ── Sidebar Featured: 1 ảnh lớn + list nhỏ ── */
.cp-sb-feat {
    display: block;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.cp-sb-feat-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.cp-sb-feat-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.cp-sb-feat:hover .cp-sb-feat-img img { transform: scale(1.05); }
.cp-sb-feat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20,8,2,.75) 0%, transparent 55%);
}
.cp-sb-feat-title {
    position: absolute;
    bottom: 10px; left: 12px; right: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
