/*
Theme Name: Twenty Twenty-Four Child
Theme URI: http://electricphuongvy.com
Description: Twenty Twenty-Four Child Theme
Author: OnePanel Assistant
Template: twentytwentyfour
Version: 1.0.0
Text Domain: twentytwentyfour-child
*/

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

body, button, input, select, textarea, p, span, a, li {
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* Core Color Custom Properties */
:root {
    --pv-primary: #238c47;
    --pv-primary-hover: #1b6d37;
    --pv-secondary: #1a4f8b;
    --pv-secondary-hover: #133a66;
    --pv-accent: #ffcc00;
    --pv-dark: #0c192c;
    --pv-dark-secondary: #162a45;
    --pv-light: #f4f9f5;
    --pv-white: #ffffff;
    --pv-gray-100: #f8f9fa;
    --pv-gray-200: #e9ecef;
    --pv-gray-500: #adb5bd;
    --pv-gray-700: #495057;
    --pv-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --pv-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --pv-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --pv-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Premium Gradients matching logo */
    --pv-gradient-primary: linear-gradient(135deg, var(--pv-primary) 0%, var(--pv-secondary) 100%);
    --pv-gradient-accent: linear-gradient(135deg, var(--pv-accent) 0%, #ff9900 100%);
    --pv-gradient-dark: linear-gradient(90deg, #071527 0%, #162a45 100%);
}

/* ==========================================
   GLOBAL CONTAINERS & LAYOUT (Sửa lỗi sát viền)
   ========================================== */
.alignwide {
    width: 100%;
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
}

.alignnormal {
    width: 100%;
    max-width: 1000px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

.wp-block-group.alignwide, .wp-block-columns.alignwide {
    width: 100%;
}

.wp-block-group.alignfull {
    width: 100%;
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Animations Base Styles - Progressive Enhancement with JS */
body.js-enabled .pv-animate {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

body.js-enabled .pv-fade-in {
    transform: translateY(0);
}
body.js-enabled .pv-fade-in.pv-visible {
    opacity: 1;
}

body.js-enabled .pv-slide-up {
    transform: translateY(40px);
}
body.js-enabled .pv-slide-up.pv-visible {
    opacity: 1;
    transform: translateY(0);
}

body.js-enabled .pv-slide-left {
    transform: translateX(-40px);
}
body.js-enabled .pv-slide-left.pv-visible {
    opacity: 1;
    transform: translateX(0);
}

body.js-enabled .pv-slide-right {
    transform: translateX(40px);
}
body.js-enabled .pv-slide-right.pv-visible {
    opacity: 1;
    transform: translateX(0);
}

body.js-enabled .pv-zoom-in {
    transform: scale(0.95);
}
body.js-enabled .pv-zoom-in.pv-visible {
    opacity: 1;
    transform: scale(1);
}

/* Delay modifiers for sequential animations */
.pv-delay-1 { transition-delay: 0.1s; }
.pv-delay-2 { transition-delay: 0.2s; }
.pv-delay-3 { transition-delay: 0.3s; }
.pv-delay-4 { transition-delay: 0.4s; }

/* Sticky Header Styling with Glassmorphism */
header.wp-block-template-part {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header.wp-block-template-part.scrolled {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--pv-shadow-md);
}

/* Gradient text */
.pv-text-gradient {
    background: linear-gradient(135deg, var(--pv-primary) 0%, var(--pv-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Beautiful Hero Area */
.pv-hero {
    position: relative;
    background-image: linear-gradient(180deg, rgba(12, 25, 44, 0.75) 0%, rgba(12, 25, 44, 0.9) 100%), url('images/intro_solar.png') !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax effect */
    color: var(--pv-white);
    padding: 120px 0 140px 0;
    overflow: hidden;
}

.pv-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 90%, rgba(35, 140, 71, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

/* Hero Grid Layout */
.pv-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.pv-hero-text {
    max-width: 680px;
}

@media (max-width: 991px) {
    .pv-hero {
        padding: 85px 0;
    }
    .pv-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .pv-hero-text {
        max-width: 100%;
        margin: 0 auto;
    }
}

/* Solution card image */
.pv-solution-card-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Cards & Hover Effects - Modern Flat Design */
.wp-block-columns.alignwide {
    align-items: stretch !important; /* Forces columns to stretch to the same height */
}

.wp-block-column {
    display: flex;
    flex-direction: column;
}

.pv-card {
    position: relative;
    overflow: hidden;
    background: var(--pv-white);
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02); /* Extremely subtle flat shadow */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--pv-gray-200);
    flex: 1; /* Stretch inner card to fill entire column height */
    display: flex;
    flex-direction: column;
}

/* Elegant top accent bar for flat cards */
.pv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--pv-primary) 0%, var(--pv-secondary) 100%);
    opacity: 0.85;
    transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(12, 25, 44, 0.08); /* Modern, soft shadow on hover */
    border-color: rgba(35, 140, 71, 0.2);
}

.pv-card:hover::before {
    height: 6px;
}

.pv-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(35, 140, 71, 0.08);
    color: var(--pv-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.pv-card:hover .pv-card-icon {
    background: var(--pv-primary);
    color: var(--pv-white);
    box-shadow: 0 8px 20px rgba(35, 140, 71, 0.25);
}

/* Glass panel */
.pv-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    color: var(--pv-white);
}

/* Custom buttons */
.pv-btn-primary {
    background: linear-gradient(135deg, var(--pv-primary) 0%, #34b35e 100%) !important;
    color: var(--pv-white) !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    padding: 12px 30px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(35, 140, 71, 0.25) !important;
    border: none !important;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.pv-btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(35, 140, 71, 0.4) !important;
    filter: brightness(1.05);
}

.pv-btn-secondary {
    background: transparent !important;
    color: var(--pv-white) !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    padding: 11px 28px !important;
    transition: all 0.3s ease !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.pv-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--pv-white) !important;
    transform: translateY(-2px) !important;
}

/* Section divider with subtle waves */
.pv-section {
    padding: 80px 0;
}

.pv-bg-light {
    background-color: var(--pv-light);
}

/* Project Cards Style */
.pv-project-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 350px;
    box-shadow: var(--pv-shadow-md);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0;
}

.pv-project-card .wp-block-post-featured-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

.pv-project-card .wp-block-post-featured-image a,
.pv-project-card figure {
    height: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

.pv-project-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: all 0.6s ease !important;
    display: block !important;
}

.pv-project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(12, 25, 44, 0.95) 0%, rgba(12, 25, 44, 0.4) 70%, transparent 100%);
    padding: 30px;
    color: var(--pv-white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    box-sizing: border-box;
    z-index: 2;
    pointer-events: none; /* Make overlay click-through so user can click image underneath */
}

/* Ensure child interactive links inside overlay can still be clicked */
.pv-project-overlay h2 a,
.pv-project-overlay h3 a {
    pointer-events: auto;
}

.pv-project-overlay .wp-block-post-terms,
.pv-project-overlay .wp-block-post-terms a {
    color: var(--pv-accent) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    margin: 0 !important;
}

.pv-project-overlay h2.wp-block-post-title,
.pv-project-overlay h2.wp-block-post-title a,
.pv-project-overlay h3.wp-block-post-title,
.pv-project-overlay h3.wp-block-post-title a {
    color: var(--pv-white) !important;
    text-decoration: none !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 5px 0 10px 0 !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-height: 46.8px !important; /* height constraint */
}

.pv-project-overlay .wp-block-post-excerpt,
.pv-project-overlay .wp-block-post-excerpt__excerpt {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 !important;
    line-height: 1.5 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-height: 39px !important; /* height constraint */
}

.pv-project-card:hover img {
    transform: scale(1.08) !important;
}

.pv-project-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: var(--pv-shadow-hover) !important;
}

/* Custom Read More Button for Project Cards */
.pv-project-overlay .wp-block-read-more {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: var(--pv-white) !important;
    padding: 8px 20px !important;
    border-radius: 30px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    margin-top: 15px !important;
    align-self: flex-start;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(5px);
    pointer-events: auto !important;
}

.pv-project-overlay .wp-block-read-more:hover {
    background: var(--pv-gradient-primary) !important;
    border-color: var(--pv-primary) !important;
    box-shadow: 0 4px 15px rgba(35, 140, 71, 0.3) !important;
    transform: translateY(-2px);
    color: var(--pv-white) !important;
}

/* Contact block style */
.pv-contact-box {
    background: linear-gradient(135deg, var(--pv-dark-secondary) 0%, var(--pv-dark) 100%);
    color: var(--pv-white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--pv-shadow-lg);
}

.pv-contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.pv-contact-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(35, 140, 71, 0.2);
    color: var(--pv-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 20px;
}

/* Form Styles */
.pv-form input[type="text"],
.pv-form input[type="email"],
.pv-form input[type="tel"],
.pv-form textarea,
.pv-form select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--pv-white);
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.pv-form input:focus,
.pv-form textarea:focus,
.pv-form select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--pv-primary);
    box-shadow: 0 0 0 3px rgba(35, 140, 71, 0.2);
}

select option,
.pv-form select option {
    color: var(--pv-dark);
    background-color: var(--pv-white);
}

.pv-form button[type="submit"] {
    background: linear-gradient(135deg, var(--pv-primary) 0%, #34b35e 100%);
    color: var(--pv-white);
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(35, 140, 71, 0.25);
    width: 100%;
}

.pv-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(35, 140, 71, 0.4);
}

/* Single & Archive Blog page styling */
.pv-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.pv-blog-card {
    background: var(--pv-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--pv-shadow-md);
    border: 1px solid var(--pv-gray-200);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pv-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--pv-shadow-hover);
    border-color: rgba(35, 140, 71, 0.15);
}

.pv-blog-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.pv-blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.pv-blog-card:hover .pv-blog-img img {
    transform: scale(1.05);
}

.pv-blog-meta {
    padding: 20px 24px 0 24px;
    font-size: 14px;
    color: var(--pv-gray-500);
    display: flex;
    gap: 15px;
}

.pv-blog-title {
    padding: 12px 24px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--pv-dark);
    margin: 0;
}

.pv-blog-title a {
    color: var(--pv-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.pv-blog-title a:hover {
    color: var(--pv-primary);
}

.pv-blog-excerpt {
    padding: 0 24px 24px 24px;
    color: var(--pv-gray-700);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.pv-blog-btn {
    padding: 0 24px 24px 24px;
}

.pv-blog-btn a {
    color: var(--pv-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.pv-blog-btn a:hover {
    color: var(--pv-secondary);
}

.pv-blog-btn a::after {
    content: '→';
    transition: transform 0.3s ease;
}

.pv-blog-btn a:hover::after {
    transform: translateX(5px);
}

/* Sidebar styling */
.pv-sidebar-widget {
    background: var(--pv-white);
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--pv-shadow-sm);
    border: 1px solid var(--pv-gray-200);
    margin-bottom: 30px;
}

.pv-sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--pv-dark);
    border-left: 4px solid var(--pv-primary);
    padding-left: 12px;
    margin: 0 0 20px 0;
}

.pv-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pv-sidebar-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--pv-gray-200);
}

.pv-sidebar-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pv-sidebar-list a {
    color: var(--pv-gray-700);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
}

.pv-sidebar-list a:hover {
    color: var(--pv-primary);
}

/* Scroll To Top Button */
.pv-scroll-top {
    position: fixed;
    bottom: 30px;
    right: -60px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--pv-primary);
    color: var(--pv-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--pv-shadow-md);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
}

.pv-scroll-top.visible {
    right: 30px;
    opacity: 1;
}

.pv-scroll-top:hover {
    background: var(--pv-secondary);
    transform: translateY(-3px);
    box-shadow: var(--pv-shadow-lg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pv-hero {
        padding: 60px 0 80px 0;
        background-attachment: scroll !important;
    }
    .pv-hero h1 {
        font-size: 30px !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }
    .pv-hero p {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }
    .pv-hero .pv-btn-primary,
    .pv-hero .pv-btn-secondary {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin: 10px 0 !important;
        box-sizing: border-box !important;
    }
    .pv-hero div.wp-block-group {
        margin-top: 20px !important;
    }
    .pv-contact-box {
        padding: 30px;
    }
    .pv-blog-grid {
        grid-template-columns: 1fr;
    }
    .pv-topbar-wrapper {
        display: none !important;
    }
    /* Stack columns on mobile to prevent narrow squeezed content */
    body.pv-body .wp-block-columns,
    body.pv-body .wp-block-columns.wp-block-columns {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }
    body.pv-body .wp-block-column,
    body.pv-body .wp-block-column.wp-block-column {
        flex-basis: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    /* Reset nested paddings on mobile */
    body.pv-body .wp-block-columns,
    body.pv-body .wp-block-query,
    body.pv-body .wp-block-column,
    body.pv-body ul.wp-block-post-template {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    body.pv-body .wp-block-group {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    body.pv-body .pv-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Topbar & Header Custom Classes */
.pv-topbar-wrapper {
    background: var(--pv-gradient-dark) !important;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pv-topbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.pv-topbar-right {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.pv-main-header-wrapper {
    padding: 0;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

/* Header Grid Layout (Logo Centered) */
.pv-header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 95px;
    width: 100%;
    position: relative;
    transition: height 0.3s ease;
}

header.wp-block-template-part.scrolled .pv-header-container {
    height: 75px;
}

.pv-nav-left {
    display: flex;
    gap: 35px;
    justify-content: flex-start;
}

.pv-nav-right {
    display: flex;
    gap: 35px;
    justify-content: flex-end;
    align-items: center;
}

.pv-logo-center {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 25px;
}

.pv-logo-center img {
    height: 80px; /* Larger centered logo! */
    width: auto;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 2px 8px rgba(35, 140, 71, 0.15));
}

header.wp-block-template-part.scrolled .pv-logo-center img {
    height: 60px;
}

.pv-logo-center img:hover {
    transform: scale(1.05);
}

.pv-menu-link {
    color: var(--pv-dark) !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.pv-menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--pv-gradient-primary);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
}

.pv-menu-link:hover {
    color: var(--pv-primary) !important;
}

.pv-menu-link:hover::after {
    width: 100%;
}

/* Premium Header Button */
.pv-btn-header {
    background: var(--pv-gradient-primary) !important;
    color: var(--pv-white) !important;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(35, 140, 71, 0.2) !important;
    transition: all 0.3s ease !important;
}

.pv-btn-header::after {
    display: none !important;
}

.pv-btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(35, 140, 71, 0.35) !important;
    color: var(--pv-white) !important;
}

/* Mobile responsive menu */
.pv-mobile-toggle, .pv-hamburger {
    display: none;
}

.pv-mobile-menu {
    display: none;
}

@media (max-width: 991px) {
    .pv-header-container {
        display: flex;
        justify-content: space-between;
        height: 75px;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .pv-nav-left, .pv-nav-right {
        display: none;
    }
    
    .pv-logo-center {
        padding: 0;
    }
    
    .pv-logo-center img {
        height: 60px;
    }
    
    /* Hamburger Icon */
    .pv-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 19px;
        cursor: pointer;
        z-index: 1001;
    }
    
    .pv-hamburger .bar {
        width: 100%;
        height: 3px;
        background-color: var(--pv-dark);
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    /* Toggle slide menu */
    .pv-mobile-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--pv-white);
        border-top: 1px solid var(--pv-gray-200);
        padding: 20px;
        gap: 15px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.08);
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
    }
    
    .pv-mobile-menu a {
        color: var(--pv-dark);
        text-decoration: none;
        font-weight: 700;
        font-size: 16px;
        padding: 10px 0;
        border-bottom: 1px solid var(--pv-gray-100);
    }
    
    .pv-mobile-menu a:last-child {
        border-bottom: none;
    }
    
    .pv-mobile-btn {
        background: var(--pv-gradient-primary);
        color: var(--pv-white) !important;
        text-align: center;
        padding: 12px !important;
        border-radius: 30px;
        margin-top: 10px;
        box-shadow: 0 4px 15px rgba(35, 140, 71, 0.2);
    }
    
    /* Checkbox Hack Actions */
    .pv-mobile-toggle:checked ~ .pv-hamburger .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .pv-mobile-toggle:checked ~ .pv-hamburger .bar:nth-child(2) {
        opacity: 0;
    }
    .pv-mobile-toggle:checked ~ .pv-hamburger .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .pv-mobile-toggle:checked ~ .pv-mobile-menu {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
}

/* Footer Custom Classes */
.pv-footer-wrapper {
    background-color: var(--pv-dark) !important;
    color: var(--pv-gray-500);
    border-top: 4px solid var(--pv-primary);
}
.pv-footer-wrapper h4 {
    margin: 0 0 25px 0;
    position: relative;
    padding-bottom: 10px;
}
.pv-footer-wrapper h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background-color: var(--pv-primary);
}
.pv-footer-wrapper a {
    color: var(--pv-gray-500);
    transition: all 0.3s ease;
}
.pv-footer-wrapper a:hover {
    color: var(--pv-primary) !important;
    padding-left: 5px;
}
.pv-footer-wrapper hr {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ==========================================
   FEATURED PRODUCTS SECTION (Sản Phẩm Nổi Bật)
   ========================================== */
.pv-prod-section {
    padding: 80px 0;
    background-color: var(--pv-white);
}

.pv-prod-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    margin-top: 40px;
}

/* Product Categories Sidebar (Left) */
.pv-prod-cat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-content: start;
}

.pv-prod-cat-card {
    background-color: var(--pv-gray-100);
    border: 1px solid var(--pv-gray-200);
    border-radius: 12px;
    padding: 20px 15px;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 140px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
}

.pv-prod-cat-card .cat-icon {
    font-size: 28px;
    margin-bottom: 10px;
    line-height: 1;
}

.pv-prod-cat-card .cat-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--pv-dark);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.pv-prod-cat-card .cat-arrow {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 14px;
    color: var(--pv-gray-500);
    transition: all 0.3s ease;
}

/* Hover effects for category cards */
.pv-prod-cat-card:hover {
    background-color: var(--pv-primary);
    border-color: var(--pv-primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(35, 140, 71, 0.15);
}

.pv-prod-cat-card:hover .cat-title {
    color: var(--pv-white);
}

.pv-prod-cat-card:hover .cat-arrow {
    color: var(--pv-white);
    transform: translateX(4px);
}

/* Product Cards Grid (Right) */
.pv-prod-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pv-prod-card {
    background-color: var(--pv-white);
    border: 1px solid var(--pv-gray-200);
    border-radius: 12px;
    padding: 20px;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 20px;
    align-items: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.pv-prod-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 4px;
    background-color: var(--pv-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.pv-prod-card:hover {
    border-color: rgba(35, 140, 71, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(12, 25, 44, 0.06);
}

.pv-prod-card:hover::before {
    opacity: 1;
}

.pv-prod-image-wrapper {
    background-color: var(--pv-gray-100);
    border-radius: 8px;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
}

.pv-prod-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.pv-prod-info {
    display: flex;
    flex-direction: column;
}

.pv-prod-brand {
    font-size: 11px;
    font-weight: 800;
    color: var(--pv-primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.pv-prod-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--pv-dark);
    margin: 0 0 8px 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.pv-prod-card:hover .pv-prod-title {
    color: var(--pv-primary);
}

.pv-prod-spec {
    font-size: 12px;
    color: var(--pv-gray-700);
    line-height: 1.5;
    margin-bottom: 8px;
}

.pv-prod-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.pv-prod-price {
    font-size: 13px;
    font-weight: 800;
    color: var(--pv-secondary);
}

.pv-prod-warranty {
    font-size: 10px;
    background-color: var(--pv-light);
    color: var(--pv-primary);
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .pv-prod-layout {
        grid-template-columns: 1fr;
    }
    .pv-prod-cat-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .pv-prod-cat-card {
        height: 120px;
    }
}

@media (max-width: 767px) {
    .pv-prod-cat-grid {
        grid-template-columns: 1fr 1fr;
    }
    .pv-prod-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   NEW REDESIGN UTILITIES & COMPONENTS
   ========================================== */

/* Core values list */
.pv-value-list {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pv-value-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: var(--pv-white);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--pv-gray-200);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pv-value-item:hover {
    transform: translateX(8px);
    border-color: rgba(35, 140, 71, 0.2);
    box-shadow: 0 8px 24px rgba(12, 25, 44, 0.05);
}

.pv-value-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: rgba(35, 140, 71, 0.08);
    color: var(--pv-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.pv-value-item:hover .pv-value-icon {
    background: var(--pv-primary);
    color: var(--pv-white);
}

.pv-value-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--pv-gray-700);
}

.pv-value-text strong {
    color: var(--pv-dark);
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
}

/* Static Blog cards styling */
.pv-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 991px) {
    .pv-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .pv-blog-grid {
        grid-template-columns: 1fr;
    }
}

/* SVG icons styling for other sections */
.pv-svg-icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: inline-block;
    vertical-align: middle;
}

.pv-card-icon svg {
    width: 28px;
    height: 28px;
}

.pv-prod-cat-card .cat-icon-svg {
    font-size: 0;
    margin-bottom: 12px;
    color: var(--pv-primary);
    transition: color 0.3s ease;
}

.pv-prod-cat-card:hover .cat-icon-svg {
    color: var(--pv-white);
}

.pv-prod-cat-card .cat-icon-svg svg {
    width: 32px;
    height: 32px;
}

/* Blog card wrapper and image styling */
.pv-blog-card {
    background: var(--pv-white);
    border-radius: 16px;
    border: 1px solid var(--pv-gray-200);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pv-blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(35, 140, 71, 0.15);
    box-shadow: 0 12px 32px rgba(12, 25, 44, 0.06);
}

.pv-blog-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.pv-blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pv-blog-card:hover .pv-blog-card-img {
    transform: scale(1.05);
}

/* ==========================================
   SINGLE POST & ARCHIVE STYLES
   ========================================== */

/* Single Article Typography & Spacing */
.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--pv-gray-700);
}

.entry-content p {
    margin-bottom: 24px;
}

.entry-content h2, 
.entry-content h3, 
.entry-content h4 {
    color: var(--pv-secondary);
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.entry-content h2 { font-size: 28px; }
.entry-content h3 { font-size: 22px; }
.entry-content h4 { font-size: 18px; }

.entry-content ul, 
.entry-content ol {
    margin-bottom: 24px;
    padding-left: 20px;
}

.entry-content li {
    margin-bottom: 8px;
}

.entry-content blockquote {
    border-left: 4px solid var(--pv-primary);
    background: var(--pv-gray-100);
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--pv-gray-800);
}

.entry-content blockquote p {
    margin-bottom: 0;
}

/* Author Bio Card */
.pv-author-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--pv-gray-100);
    border-radius: 16px;
    padding: 25px;
    margin-top: 50px;
    border: 1px solid var(--pv-gray-200);
}

.pv-author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--pv-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pv-white);
    font-size: 32px;
    font-weight: 700;
}

.pv-author-info h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--pv-secondary);
}

.pv-author-info p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--pv-gray-600);
}

/* Related Posts Section */
.pv-related-posts-section {
    margin-top: 60px;
    border-top: 1px solid var(--pv-gray-200);
    padding-top: 40px;
}

.pv-related-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--pv-secondary);
    margin-bottom: 25px;
}

/* Sidebar Custom Widgets */
.pv-sidebar-widget {
    background: var(--pv-white);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--pv-gray-200);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.pv-sidebar-widget:hover {
    box-shadow: 0 8px 30px rgba(12, 25, 44, 0.04);
    border-color: rgba(35, 140, 71, 0.15);
}

.pv-sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--pv-secondary);
    border-left: 4px solid var(--pv-primary);
    padding-left: 12px;
    margin: 0 0 20px 0;
}

/* Search widget button and input */
.wp-block-search__input {
    border: 1px solid var(--pv-gray-300);
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    outline: none;
}

.wp-block-search__input:focus {
    border-color: var(--pv-primary);
    box-shadow: 0 0 0 3px rgba(35, 140, 71, 0.1);
}

.wp-block-search__button {
    background: var(--pv-primary) !important;
    color: var(--pv-white) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    margin-left: 8px !important;
}

.wp-block-search__button:hover {
    background: var(--pv-secondary) !important;
}

/* Recent Posts & Categories in Sidebar */
.wp-block-latest-posts,
.wp-block-categories-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.wp-block-latest-posts li,
.wp-block-categories-list li {
    padding: 12px 0 !important;
    border-bottom: 1px dashed var(--pv-gray-200) !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

.wp-block-latest-posts li:last-child,
.wp-block-categories-list li:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.wp-block-latest-posts a,
.wp-block-categories-list a {
    color: var(--pv-gray-800) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
}

.wp-block-latest-posts a:hover,
.wp-block-categories-list a:hover {
    color: var(--pv-primary) !important;
}

.wp-block-latest-posts__post-date {
    display: block !important;
    font-size: 11px !important;
    color: var(--pv-gray-500) !important;
    margin-top: 4px !important;
}

/* Premium Read More button on Archive */
.pv-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--pv-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pv-read-more-btn:hover {
    color: var(--pv-secondary);
    transform: translateX(4px);
}

/* Comments Styling */
.wp-block-post-comments-form {
    margin-top: 50px;
    background: var(--pv-white);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--pv-gray-200);
}

.wp-block-post-comments-form h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--pv-secondary);
    margin-top: 0;
    margin-bottom: 20px;
}

.wp-block-post-comments-form textarea,
.wp-block-post-comments-form input[type="text"],
.wp-block-post-comments-form input[type="email"] {
    border: 1px solid var(--pv-gray-300);
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    width: 100%;
    outline: none;
    transition: all 0.3s ease;
}

.wp-block-post-comments-form textarea:focus,
.wp-block-post-comments-form input[type="text"]:focus,
.wp-block-post-comments-form input[type="email"]:focus {
    border-color: var(--pv-primary);
}

.wp-block-post-comments-form input[type="submit"] {
    background: var(--pv-primary);
    color: var(--pv-white);
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.wp-block-post-comments-form input[type="submit"]:hover {
    background: var(--pv-secondary);
}
/* WordPress Post Template Grid styling */
ul.wp-block-post-template {
    list-style: none !important;
    padding: 0 !important;
    margin: 40px 0 0 0 !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
}

/* Force 2 columns when template is rendered inside a column layout (beside a sidebar) */
.wp-block-column ul.wp-block-post-template {
    grid-template-columns: repeat(2, 1fr) !important;
}

@media (max-width: 991px) {
    ul.wp-block-post-template,
    .wp-block-column ul.wp-block-post-template {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    ul.wp-block-post-template,
    .wp-block-column ul.wp-block-post-template {
        grid-template-columns: 1fr !important;
    }
}

/* Ensure each list item inside post template spans full height and behaves well */
ul.wp-block-post-template li.wp-block-post {
    margin: 0 !important;
    padding: 0 !important;
    list-style-type: none !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
}

.pv-blog-card {
    width: 100% !important;
    max-width: 100% !important;
}

/* Archive Blog Card image styling */
.pv-blog-img {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.pv-blog-img img,
.pv-blog-img a img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

.pv-blog-card:hover .pv-blog-img img,
.pv-blog-card:hover .pv-blog-img a img {
    transform: scale(1.05);
}

/* Post title inside query loop cards */
.pv-blog-card h2.wp-block-post-title,
.pv-blog-card h3.wp-block-post-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.4 !important;
}

.pv-blog-card h2.wp-block-post-title a,
.pv-blog-card h3.wp-block-post-title a {
    color: var(--pv-dark) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.pv-blog-card:hover h2.wp-block-post-title a,
.pv-blog-card:hover h3.wp-block-post-title a {
    color: var(--pv-primary) !important;
}

.pv-blog-card .wp-block-post-excerpt {
    margin: 0 0 15px 0 !important;
}

.pv-blog-card .wp-block-post-excerpt__excerpt {
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: var(--pv-gray-600) !important;
    margin: 0 !important;
}

/* Premium Date/Meta Row */
.pv-blog-meta {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
    color: var(--pv-gray-500) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.pv-blog-meta span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.pv-blog-meta a {
    color: var(--pv-gray-600) !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.pv-blog-meta a:hover {
    color: var(--pv-primary) !important;
}

/* Pagination Styling */
.wp-block-query-pagination,
.pv-pagination {
    margin-top: 50px !important;
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
}

.wp-block-query-pagination a,
.wp-block-query-pagination span,
.pv-pagination a,
.pv-pagination span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    height: 40px !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
    border: 1px solid var(--pv-gray-200) !important;
    color: var(--pv-gray-700) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    background: var(--pv-white) !important;
}

.wp-block-query-pagination a:hover,
.pv-pagination a:hover {
    border-color: var(--pv-primary) !important;
    color: var(--pv-white) !important;
    background: var(--pv-primary) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(35, 140, 71, 0.2) !important;
}

.wp-block-query-pagination .current,
.wp-block-query-pagination span.page-numbers.current,
.pv-pagination span.page-numbers.current {
    background: var(--pv-primary) !important;
    color: var(--pv-white) !important;
    border-color: var(--pv-primary) !important;
}

.wp-block-query-pagination span.page-numbers.dots,
.pv-pagination span.page-numbers.dots {
    border: none !important;
    background: transparent !important;
    color: var(--pv-gray-500) !important;
}

/* Sidebar Search Widget Styling */
.pv-sidebar-widget .wp-block-search {
    margin: 0 !important;
    display: flex !important;
    width: 100% !important;
}

.pv-sidebar-widget .wp-block-search__label {
    display: none !important;
}

.pv-sidebar-widget .wp-block-search__inside-wrapper {
    display: flex !important;
    width: 100% !important;
    border: 1px solid var(--pv-gray-300) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: border-color 0.3s ease !important;
}

.pv-sidebar-widget .wp-block-search__inside-wrapper:focus-within {
    border-color: var(--pv-primary) !important;
    box-shadow: 0 0 0 3px rgba(35, 140, 71, 0.1) !important;
}

.pv-sidebar-widget .wp-block-search__input {
    border: none !important;
    padding: 10px 15px !important;
    font-size: 14px !important;
    outline: none !important;
    width: 100% !important;
    margin: 0 !important;
    background: var(--pv-white) !important;
}

.pv-sidebar-widget .wp-block-search__button {
    background: var(--pv-primary) !important;
    color: var(--pv-white) !important;
    border: none !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    margin: 0 !important;
}

.pv-sidebar-widget .wp-block-search__button:hover {
    background: var(--pv-secondary) !important;
}

/* Sidebar Widgets Categories and Latest Posts Lists */
.pv-sidebar-widget ul.wp-block-latest-posts,
.pv-sidebar-widget ul.wp-block-categories-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.pv-sidebar-widget ul.wp-block-latest-posts li,
.pv-sidebar-widget ul.wp-block-categories-list li {
    padding: 12px 0 !important;
    border-bottom: 1px dashed var(--pv-gray-200) !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.pv-sidebar-widget ul.wp-block-categories-list li {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.pv-sidebar-widget ul.wp-block-latest-posts li:last-child,
.pv-sidebar-widget ul.wp-block-categories-list li:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.pv-sidebar-widget ul.wp-block-latest-posts li a,
.pv-sidebar-widget ul.wp-block-categories-list li a {
    color: var(--pv-dark) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    transition: color 0.3s ease !important;
}

.pv-sidebar-widget ul.wp-block-latest-posts li a:hover,
.pv-sidebar-widget ul.wp-block-categories-list li a:hover {
    color: var(--pv-primary) !important;
}
/* Glowing Image Hover Wrapper */
.pv-img-glow-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: visible;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.pv-img-glow-wrapper::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: var(--pv-primary);
    filter: blur(25px);
    opacity: 0.12;
    z-index: -1;
    border-radius: 16px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pv-img-glow-wrapper:hover::after {
    opacity: 0.32;
    filter: blur(35px);
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
}

.pv-img-glow-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--pv-shadow-lg);
}

.pv-img-glow-wrapper:hover img {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 40px rgba(12, 25, 44, 0.12);
}

/* Badge Style */
.pv-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(35, 140, 71, 0.08);
    color: var(--pv-primary);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 auto 15px auto;
}

/* Redesigned Core Values Card Grid */
.pv-values-grid {
    gap: 30px !important;
    margin-top: 30px !important;
}

.pv-value-card {
    background: var(--pv-white) !important;
    border-radius: 16px !important;
    padding: 35px 30px !important;
    border: 1px solid var(--pv-gray-200) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01) !important;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.pv-value-card:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(35, 140, 71, 0.2) !important;
    box-shadow: 0 15px 35px rgba(12, 25, 44, 0.06) !important;
}

.pv-value-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(35, 140, 71, 0.08);
    color: var(--pv-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.pv-value-card:hover .pv-value-card-icon {
    background: var(--pv-primary);
    color: var(--pv-white);
    transform: rotate(360deg);
}

.pv-value-card-icon svg {
    width: 28px;
    height: 28px;
}

.pv-value-card-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--pv-secondary) !important;
    margin: 0 0 12px 0 !important;
}

.pv-value-card-desc {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: var(--pv-gray-600) !important;
    margin: 0 !important;
}

/* Showcase Image Banner with Floating Stats Card */
.pv-intro-image-wrapper {
    margin-top: 50px;
    margin-bottom: 70px;
    position: relative;
    z-index: 1;
}

.pv-intro-showcase-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--pv-shadow-lg);
    display: block;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pv-intro-image-wrapper:hover .pv-intro-showcase-img {
    box-shadow: 0 25px 50px rgba(12, 25, 44, 0.15);
}

.pv-floating-stats-card {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 45px rgba(12, 25, 44, 0.12);
    border-radius: 20px;
    padding: 25px 45px;
    display: flex;
    gap: 40px;
    align-items: center;
    z-index: 10;
    max-width: 90%;
    box-sizing: border-box;
}

.pv-stat-item {
    text-align: center;
}

.pv-stat-number {
    font-size: 32px !important;
    font-weight: 850 !important;
    color: var(--pv-primary) !important;
    line-height: 1.1 !important;
    margin: 0 0 4px 0 !important;
}

.pv-stat-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--pv-secondary) !important;
    white-space: nowrap;
    margin: 0 !important;
}

.pv-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--pv-gray-300);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .pv-values-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .pv-value-card {
        flex-basis: 100% !important;
    }
    .pv-intro-showcase-img {
        height: 300px;
    }
    .pv-floating-stats-card {
        padding: 20px 30px;
        gap: 20px;
    }
    .pv-stat-number {
        font-size: 24px !important;
    }
    .pv-stat-label {
        font-size: 11px !important;
    }
}

@media (max-width: 767px) {
    .pv-floating-stats-card {
        flex-direction: column;
        bottom: -90px;
        width: 95%;
        padding: 20px;
        gap: 15px;
    }
    .pv-stat-divider {
        width: 80%;
        height: 1px;
    }
    .pv-intro-image-wrapper {
        margin-bottom: 120px;
    }
}



/* Floating Phone Call Button Styling */
.pv-phone-float {
    position: fixed;
    bottom: 95px; /* stacks directly above scroll to top button (which is at bottom: 30px) */
    right: 30px;
    z-index: 99999;
    transition: all 0.3s ease;
}

.pv-phone-link {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    position: relative;
}

/* Pulse animation circles */
.pv-phone-circle-fill {
    width: 65px;
    height: 65px;
    top: -10px;
    left: -10px;
    position: absolute;
    background-color: rgba(37, 211, 102, 0.2);
    border-radius: 100%;
    border: 2px solid transparent;
    opacity: 0.9;
    animation: pv-pulse-call 2s infinite ease-in-out;
    transform-origin: 50% 50%;
}

.pv-phone-img-circle {
    width: 45px;
    height: 45px;
    background-color: var(--pv-primary); /* green color */
    color: var(--pv-white);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(35, 140, 71, 0.4);
    animation: pv-shake-call 1.5s infinite ease-in-out;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.pv-phone-img-circle svg {
    width: 20px;
    height: 20px;
}

/* Phone Text Label */
.pv-phone-text {
    background: var(--pv-dark);
    color: var(--pv-white);
    padding: 6px 14px 6px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-right: -15px;
    position: relative;
    right: 10px;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Animations */
@keyframes pv-pulse-call {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@keyframes pv-shake-call {
    0% { transform: rotate(0) scale(1); }
    10% { transform: rotate(-25deg) scale(1); }
    20% { transform: rotate(25deg) scale(1); }
    30% { transform: rotate(-25deg) scale(1); }
    40% { transform: rotate(25deg) scale(1); }
    50% { transform: rotate(0) scale(1); }
    100% { transform: rotate(0) scale(1); }
}

/* Hover and active states */
.pv-phone-link:hover .pv-phone-img-circle {
    background-color: var(--pv-secondary);
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(12, 25, 44, 0.4);
}

/* Responsive styles: hide label text on small screens to avoid clutter */
@media (max-width: 575px) {
    .pv-phone-text {
        display: none;
    }
    .pv-phone-float {
        bottom: 90px; /* still stack above scroll to top */
        right: 20px;
    }
    .pv-phone-img-circle {
        width: 42px;
        height: 42px;
    }
    .pv-phone-circle-fill {
        width: 62px;
        height: 62px;
    }
}

/* Custom Lightbox Gallery Modal */
.pv-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(12, 25, 44, 0.95);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.pv-modal.pv-show {
    display: flex;
    opacity: 1;
}
.pv-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 100000;
    transition: color 0.3s, transform 0.3s;
}
.pv-modal-close:hover {
    color: var(--pv-primary);
    transform: scale(1.1);
}
.pv-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.pv-gallery-container {
    position: relative;
    width: 100%;
    height: 500px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 768px) {
    .pv-gallery-container {
        height: 300px;
    }
}
.pv-gallery-slides {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pv-gallery-slide {
    display: none;
    width: 100%;
    height: 100%;
    text-align: center;
}
.pv-gallery-slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pvFade 0.5s ease-in-out;
}
.pv-gallery-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.pv-gallery-prev,
.pv-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: background 0.3s, transform 0.3s;
}
.pv-gallery-prev { left: 20px; }
.pv-gallery-next { right: 20px; }
.pv-gallery-prev:hover,
.pv-gallery-next:hover {
    background: var(--pv-primary);
    transform: translateY(-50%) scale(1.1);
}
@media (max-width: 768px) {
    .pv-gallery-prev,
    .pv-gallery-next {
        padding: 10px 15px;
        font-size: 18px;
    }
    .pv-gallery-prev { left: 10px; }
    .pv-gallery-next { right: 10px; }
}
.pv-gallery-thumbnail-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    width: 100%;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    justify-content: center;
}
.pv-gallery-thumbnail-container::-webkit-scrollbar {
    height: 4px;
}
.pv-gallery-thumbnail-container::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}
.pv-gallery-thumb {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s, border-color 0.3s;
    border: 2px solid transparent;
}
.pv-gallery-thumb.active {
    opacity: 1;
    border-color: var(--pv-primary);
}
@keyframes pvFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==========================================================================
   HOMEPAGE SHOWCASE BENTO GRID
   ========================================================================== */
.pv-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
    margin-top: 25px;
}
.pv-bento-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #0c192c;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}
.pv-bento-item:hover {
    transform: translateY(-4px) scale(1.015);
    box-shadow: 0 12px 28px rgba(35, 140, 71, 0.25);
}
.pv-bento-large {
    grid-column: span 2;
    grid-row: span 2;
}
.pv-bento-video {
    grid-column: span 1;
    grid-row: span 1;
}
.pv-bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}
.pv-bento-item:hover img {
    transform: scale(1.08);
}
.pv-bento-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(12, 25, 44, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
    letter-spacing: 0.3px;
}
.pv-bento-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(220, 38, 38, 0.9);
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.6);
    z-index: 2;
    transition: transform 0.3s ease;
}
.pv-bento-item:hover .pv-bento-video-play {
    transform: translate(-50%, -50%) scale(1.1);
}
.pv-bento-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 16px 14px;
    background: linear-gradient(to top, rgba(12, 25, 44, 0.95) 0%, rgba(12, 25, 44, 0.6) 60%, transparent 100%);
    color: #ffffff;
    z-index: 2;
    transition: background 0.3s ease;
}
.pv-bento-overlay h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
}
.pv-bento-large .pv-bento-overlay h4 {
    font-size: 18px;
}
.pv-bento-overlay p {
    margin: 0;
    font-size: 12px;
    color: #cbd5e1;
}

@media (max-width: 992px) {
    .pv-bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }
}
@media (max-width: 600px) {
    .pv-bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    .pv-bento-large {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* ==========================================================================
   DEDICATED GALLERY PAGE & FILTER TABS
   ========================================================================== */
.pv-gallery-hero {
    background: linear-gradient(135deg, #0c192c 0%, #112948 60%, #0f3d23 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 140px !important;
    padding-bottom: 60px !important;
}
@media (max-width: 768px) {
    .pv-gallery-hero {
        padding-top: 110px !important;
        padding-bottom: 40px !important;
    }
}
.pv-gallery-stats-bar {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 15px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.pv-stat-item {
    display: flex;
    flex-direction: column;
}
.pv-stat-num {
    font-size: 26px;
    font-weight: 800;
    color: var(--pv-accent, #ffcc00);
    line-height: 1.2;
}
.pv-stat-label {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 2px;
}

/* Filter Tabs */
.pv-gallery-filter-wrapper {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}
.pv-gallery-tabs {
    display: inline-flex;
    gap: 8px;
    background: #ffffff;
    padding: 6px;
    border-radius: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
}
.pv-gallery-tabs::-webkit-scrollbar {
    display: none;
}
.pv-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.pv-tab-btn:hover {
    color: var(--pv-primary);
    background: rgba(35, 140, 71, 0.06);
}
.pv-tab-btn.active {
    background: var(--pv-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(35, 140, 71, 0.35);
}
.pv-tab-count {
    display: inline-block;
    background: rgba(0, 0, 0, 0.08);
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 12px;
    margin-left: 2px;
}
.pv-tab-btn.active .pv-tab-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Gallery Masonry Grid */
.pv-gallery-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.pv-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}
.pv-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}
.pv-gallery-media-box {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: pointer;
    background: #0c192c;
}
.pv-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.pv-gallery-item:hover .pv-gallery-img {
    transform: scale(1.08);
}
.pv-gallery-top-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    pointer-events: none;
}
.pv-badge-cat {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 16px;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.pv-badge-cao-ap { background: linear-gradient(135deg, #7c3aed, #4338ca); }
.pv-badge-biet-thu { background: linear-gradient(135deg, #0284c7, #0369a1); }
.pv-badge-nha-xuong { background: linear-gradient(135deg, #475569, #334155); }
.pv-badge-inverter { background: linear-gradient(135deg, #f59e0b, #d97706); }
.pv-badge-pin-luu-tru { background: linear-gradient(135deg, #10b981, #059669); }
.pv-badge-video { background: linear-gradient(135deg, #ef4444, #dc2626); }

.pv-badge-cap {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 14px;
    background: rgba(12, 25, 44, 0.8);
    backdrop-filter: blur(4px);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.pv-gallery-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(220, 38, 38, 0.9);
    color: #fff;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.6);
    z-index: 2;
    transition: transform 0.3s ease;
}
.pv-gallery-item:hover .pv-gallery-play-badge {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Hover Overlay on Grid */
.pv-gallery-hover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 14px 14px;
    background: linear-gradient(to top, rgba(12, 25, 44, 0.95) 0%, rgba(12, 25, 44, 0.6) 65%, transparent 100%);
    color: #ffffff;
    z-index: 2;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.pv-gallery-item:hover .pv-gallery-hover-overlay {
    opacity: 1;
    transform: translateY(0);
}
.pv-gallery-item-title {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
}
.pv-gallery-item-loc {
    margin: 0 0 8px 0;
    font-size: 12px;
    color: #94a3b8;
}
.pv-gallery-zoom-btn {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--pv-accent, #ffcc00);
    letter-spacing: 0.3px;
}

/* Bottom CTA Box */
.pv-gallery-cta-box {
    margin-top: 60px;
    background: linear-gradient(135deg, #0c192c 0%, #163622 100%);
    border-radius: 16px;
    padding: 45px 35px;
    text-align: center;
    color: #ffffff;
    border: 1px solid rgba(35, 140, 71, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.pv-cta-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
}
.pv-cta-desc {
    font-size: 15px;
    color: #cbd5e1;
    max-width: 720px;
    margin: 0 auto 28px;
    line-height: 1.6;
}
.pv-cta-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.pv-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: 8px;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}
.pv-btn-outline:hover {
    background: #ffffff;
    color: #0c192c;
}

@media (max-width: 1200px) {
    .pv-gallery-masonry {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .pv-gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .pv-gallery-tabs {
        border-radius: 25px;
        padding: 4px;
    }
    .pv-tab-btn {
        padding: 7px 12px;
        font-size: 13px;
    }
    .pv-cta-title {
        font-size: 22px;
    }
}
@media (max-width: 480px) {
    .pv-gallery-masonry {
        grid-template-columns: 1fr;
    }
}

