/*
Theme Name: NusaVertical
Theme URI: https://nusatheme.com/nusa-vertical
Author: NusaTheme
Author URI: https://nusatheme.com
Description: Base vertical theme for Indonesian business websites. Fully customizable, Gutenberg compatible, SEO friendly, and translation ready. Parent theme for 8 vertical demos: Sekolah, Pesantren, Umroh, Dealer, Property, Klinik, Restoran, UMKM.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nusa-vertical
Domain Path: /languages
Tags: business, education, health, real-estate, food, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks, full-site-editing

NusaVertical - WordPress Theme for Indonesian Business Verticals
Copyright (C) 2026 NusaTheme

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/

/* ================================================================
   NUSAERTICAL DESIGN SYSTEM
   ================================================================ */

:root {
    /* Primary Colors - Override in child themes */
    --nv-primary: #2563eb;
    --nv-primary-dark: #1d4ed8;
    --nv-primary-light: #60a5fa;
    --nv-primary-bg: #eff6ff;

    /* Secondary Colors */
    --nv-secondary: #475569;
    --nv-secondary-dark: #334155;

    /* Accent */
    --nv-accent: #f59e0b;
    --nv-accent-dark: #d97706;

    /* Neutrals */
    --nv-white: #ffffff;
    --nv-gray-50: #f8fafc;
    --nv-gray-100: #f1f5f9;
    --nv-gray-200: #e2e8f0;
    --nv-gray-300: #cbd5e1;
    --nv-gray-400: #94a3b8;
    --nv-gray-500: #64748b;
    --nv-gray-600: #475569;
    --nv-gray-700: #334155;
    --nv-gray-800: #1e293b;
    --nv-gray-900: #0f172a;

    /* Semantic */
    --nv-success: #10b981;
    --nv-warning: #f59e0b;
    --nv-danger: #ef4444;
    --nv-info: #06b6d4;

    /* Typography */
    --nv-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --nv-font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --nv-font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Font Sizes */
    --nv-text-xs: 0.75rem;
    --nv-text-sm: 0.875rem;
    --nv-text-base: 1rem;
    --nv-text-lg: 1.125rem;
    --nv-text-xl: 1.25rem;
    --nv-text-2xl: 1.5rem;
    --nv-text-3xl: 1.875rem;
    --nv-text-4xl: 2.25rem;
    --nv-text-5xl: 3rem;

    /* Spacing */
    --nv-space-1: 0.25rem;
    --nv-space-2: 0.5rem;
    --nv-space-3: 0.75rem;
    --nv-space-4: 1rem;
    --nv-space-5: 1.25rem;
    --nv-space-6: 1.5rem;
    --nv-space-8: 2rem;
    --nv-space-10: 2.5rem;
    --nv-space-12: 3rem;
    --nv-space-16: 4rem;
    --nv-space-20: 5rem;
    --nv-space-24: 6rem;

    /* Border Radius */
    --nv-radius-sm: 0.25rem;
    --nv-radius: 0.5rem;
    --nv-radius-md: 0.75rem;
    --nv-radius-lg: 1rem;
    --nv-radius-xl: 1.5rem;
    --nv-radius-full: 9999px;

    /* Shadows */
    --nv-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --nv-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --nv-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --nv-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --nv-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

    /* Layout */
    --nv-container: 1200px;
    --nv-header-height: 72px;
    --nv-gap: 1.5rem;

    /* Transitions */
    --nv-transition: 0.2s ease;
    --nv-transition-slow: 0.3s ease;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--nv-font-primary);
    font-size: var(--nv-text-base);
    line-height: 1.7;
    color: var(--nv-gray-800);
    background-color: var(--nv-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--nv-primary);
    text-decoration: none;
    transition: color var(--nv-transition);
}

a:hover {
    color: var(--nv-primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--nv-font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--nv-gray-900);
}

h1 { font-size: var(--nv-text-4xl); }
h2 { font-size: var(--nv-text-3xl); }
h3 { font-size: var(--nv-text-2xl); }
h4 { font-size: var(--nv-text-xl); }
h5 { font-size: var(--nv-text-lg); }
h6 { font-size: var(--nv-text-base); }

p { margin-bottom: var(--nv-space-4); }

ul, ol { padding-left: var(--nv-space-6); }

blockquote {
    border-left: 4px solid var(--nv-primary);
    padding: var(--nv-space-4) var(--nv-space-6);
    margin: var(--nv-space-6) 0;
    background: var(--nv-gray-50);
    font-style: italic;
    color: var(--nv-gray-600);
    border-radius: 0 var(--nv-radius) var(--nv-radius) 0;
}

/* ================================================================
   LAYOUT UTILITIES
   ================================================================ */
.nv-container {
    max-width: var(--nv-container);
    margin: 0 auto;
    padding: 0 var(--nv-space-6);
}

.nv-section {
    padding: var(--nv-space-16) 0;
}

.nv-section-sm {
    padding: var(--nv-space-10) 0;
}

.nv-section-lg {
    padding: var(--nv-space-24) 0;
}

.nv-grid {
    display: grid;
    gap: var(--nv-gap);
}

.nv-grid-2 { grid-template-columns: repeat(2, 1fr); }
.nv-grid-3 { grid-template-columns: repeat(3, 1fr); }
.nv-grid-4 { grid-template-columns: repeat(4, 1fr); }

.nv-flex {
    display: flex;
    gap: var(--nv-gap);
}

.nv-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nv-flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nv-text-center { text-align: center; }

/* ================================================================
   BUTTONS
   ================================================================ */
.nv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--nv-space-2);
    padding: var(--nv-space-3) var(--nv-space-6);
    font-size: var(--nv-text-sm);
    font-weight: 600;
    line-height: 1.5;
    border: 2px solid transparent;
    border-radius: var(--nv-radius);
    cursor: pointer;
    transition: all var(--nv-transition);
    text-decoration: none;
    white-space: nowrap;
}

.nv-btn-primary {
    background: var(--nv-primary);
    color: var(--nv-white);
    border-color: var(--nv-primary);
}

.nv-btn-primary:hover {
    background: var(--nv-primary-dark);
    border-color: var(--nv-primary-dark);
    color: var(--nv-white);
}

.nv-btn-outline {
    background: transparent;
    color: var(--nv-primary);
    border-color: var(--nv-primary);
}

.nv-btn-outline:hover {
    background: var(--nv-primary);
    color: var(--nv-white);
}

.nv-btn-white {
    background: var(--nv-white);
    color: var(--nv-primary);
    border-color: var(--nv-white);
}

.nv-btn-white:hover {
    background: var(--nv-gray-100);
    color: var(--nv-primary-dark);
}

.nv-btn-lg {
    padding: var(--nv-space-4) var(--nv-space-8);
    font-size: var(--nv-text-base);
    border-radius: var(--nv-radius-md);
}

.nv-btn-sm {
    padding: var(--nv-space-2) var(--nv-space-4);
    font-size: var(--nv-text-xs);
}

/* ================================================================
   HEADER
   ================================================================ */
.nv-header {
    background: var(--nv-white);
    box-shadow: var(--nv-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--nv-header-height);
}

.nv-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nv-logo {
    display: flex;
    align-items: center;
    gap: var(--nv-space-3);
    font-size: var(--nv-text-xl);
    font-weight: 800;
    color: var(--nv-gray-900);
    text-decoration: none;
}

.nv-logo img {
    height: 40px;
    width: auto;
}

.nv-logo:hover {
    color: var(--nv-primary);
}

/* Navigation */
.nv-nav {
    display: flex;
    align-items: center;
    gap: var(--nv-space-1);
    list-style: none;
}

.nv-nav a {
    display: block;
    padding: var(--nv-space-2) var(--nv-space-4);
    color: var(--nv-gray-700);
    font-size: var(--nv-text-sm);
    font-weight: 500;
    border-radius: var(--nv-radius);
    transition: all var(--nv-transition);
}

.nv-nav a:hover,
.nv-nav .current-menu-item a {
    color: var(--nv-primary);
    background: var(--nv-primary-bg);
}

/* Mobile Toggle */
.nv-mobile-toggle {
    display: none;
    background: none;
    border: none;
    padding: var(--nv-space-2);
    cursor: pointer;
    color: var(--nv-gray-700);
}

.nv-mobile-toggle svg {
    width: 24px;
    height: 24px;
}

/* Top Bar */
.nv-topbar {
    background: var(--nv-gray-900);
    color: var(--nv-gray-300);
    font-size: var(--nv-text-xs);
    padding: var(--nv-space-2) 0;
}

.nv-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nv-topbar a {
    color: var(--nv-gray-300);
}

.nv-topbar a:hover {
    color: var(--nv-white);
}

.nv-topbar-contact {
    display: flex;
    gap: var(--nv-space-4);
}

.nv-topbar-social {
    display: flex;
    gap: var(--nv-space-3);
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.nv-hero {
    position: relative;
    background: linear-gradient(135deg, var(--nv-primary) 0%, var(--nv-primary-dark) 100%);
    color: var(--nv-white);
    overflow: hidden;
    padding: var(--nv-space-20) 0;
}

.nv-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.nv-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.nv-hero h1 {
    color: var(--nv-white);
    font-size: var(--nv-text-5xl);
    margin-bottom: var(--nv-space-4);
}

.nv-hero p {
    font-size: var(--nv-text-lg);
    opacity: 0.9;
    margin-bottom: var(--nv-space-8);
}

.nv-hero-actions {
    display: flex;
    gap: var(--nv-space-4);
    flex-wrap: wrap;
}

/* Hero with image */
.nv-hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--nv-space-12);
    align-items: center;
}

.nv-hero-image {
    border-radius: var(--nv-radius-xl);
    overflow: hidden;
    box-shadow: var(--nv-shadow-xl);
}

.nv-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ================================================================
   CARDS
   ================================================================ */
.nv-card {
    background: var(--nv-white);
    border-radius: var(--nv-radius-lg);
    overflow: hidden;
    box-shadow: var(--nv-shadow);
    transition: all var(--nv-transition-slow);
    border: 1px solid var(--nv-gray-200);
}

.nv-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--nv-shadow-lg);
}

.nv-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--nv-gray-100);
}

.nv-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--nv-transition-slow);
}

.nv-card:hover .nv-card-image img {
    transform: scale(1.05);
}

.nv-card-body {
    padding: var(--nv-space-6);
}

.nv-card-title {
    font-size: var(--nv-text-lg);
    font-weight: 700;
    margin-bottom: var(--nv-space-2);
    line-height: 1.3;
}

.nv-card-title a {
    color: var(--nv-gray-900);
}

.nv-card-title a:hover {
    color: var(--nv-primary);
}

.nv-card-text {
    color: var(--nv-gray-500);
    font-size: var(--nv-text-sm);
    line-height: 1.6;
    margin-bottom: var(--nv-space-4);
}

.nv-card-meta {
    display: flex;
    gap: var(--nv-space-3);
    font-size: var(--nv-text-xs);
    color: var(--nv-gray-400);
}

.nv-card-badge {
    display: inline-block;
    padding: var(--nv-space-1) var(--nv-space-3);
    background: var(--nv-primary-bg);
    color: var(--nv-primary);
    font-size: var(--nv-text-xs);
    font-weight: 600;
    border-radius: var(--nv-radius-full);
    margin-bottom: var(--nv-space-3);
}

/* ================================================================
   FEATURES / SERVICES SECTION
   ================================================================ */
.nv-features {
    background: var(--nv-gray-50);
}

.nv-feature-item {
    text-align: center;
    padding: var(--nv-space-8);
    background: var(--nv-white);
    border-radius: var(--nv-radius-lg);
    box-shadow: var(--nv-shadow-sm);
    transition: all var(--nv-transition-slow);
    border: 1px solid var(--nv-gray-200);
}

.nv-feature-item:hover {
    box-shadow: var(--nv-shadow-md);
    transform: translateY(-2px);
}

.nv-feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--nv-space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nv-primary-bg);
    color: var(--nv-primary);
    border-radius: var(--nv-radius-lg);
    font-size: var(--nv-text-2xl);
}

.nv-feature-title {
    font-size: var(--nv-text-lg);
    font-weight: 700;
    margin-bottom: var(--nv-space-2);
}

.nv-feature-desc {
    color: var(--nv-gray-500);
    font-size: var(--nv-text-sm);
    line-height: 1.6;
}

/* ================================================================
   CTA SECTION
   ================================================================ */
.nv-cta {
    background: linear-gradient(135deg, var(--nv-primary) 0%, var(--nv-primary-dark) 100%);
    color: var(--nv-white);
    text-align: center;
    padding: var(--nv-space-16) 0;
}

.nv-cta h2 {
    color: var(--nv-white);
    margin-bottom: var(--nv-space-4);
}

.nv-cta p {
    font-size: var(--nv-text-lg);
    opacity: 0.9;
    margin-bottom: var(--nv-space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.nv-testimonial {
    background: var(--nv-white);
    padding: var(--nv-space-8);
    border-radius: var(--nv-radius-lg);
    box-shadow: var(--nv-shadow);
    border: 1px solid var(--nv-gray-200);
}

.nv-testimonial-text {
    font-size: var(--nv-text-base);
    line-height: 1.8;
    color: var(--nv-gray-600);
    font-style: italic;
    margin-bottom: var(--nv-space-4);
}

.nv-testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--nv-space-3);
}

.nv-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--nv-radius-full);
    object-fit: cover;
}

.nv-testimonial-name {
    font-weight: 700;
    font-size: var(--nv-text-sm);
}

.nv-testimonial-role {
    font-size: var(--nv-text-xs);
    color: var(--nv-gray-400);
}

/* ================================================================
   STATS / COUNTER
   ================================================================ */
.nv-stats {
    background: var(--nv-primary);
    color: var(--nv-white);
    padding: var(--nv-space-12) 0;
}

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

.nv-stat-number {
    font-size: var(--nv-text-4xl);
    font-weight: 800;
    display: block;
}

.nv-stat-label {
    font-size: var(--nv-text-sm);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ================================================================
   GALLERY
   ================================================================ */
.nv-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--nv-space-4);
}

.nv-gallery-item {
    border-radius: var(--nv-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.nv-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--nv-transition-slow);
}

.nv-gallery-item:hover img {
    transform: scale(1.08);
}

/* ================================================================
   CONTACT SECTION
   ================================================================ */
.nv-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--nv-space-12);
}

.nv-contact-info-item {
    display: flex;
    gap: var(--nv-space-4);
    margin-bottom: var(--nv-space-6);
}

.nv-contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nv-primary-bg);
    color: var(--nv-primary);
    border-radius: var(--nv-radius);
    flex-shrink: 0;
}

.nv-contact-form input,
.nv-contact-form textarea,
.nv-contact-form select {
    width: 100%;
    padding: var(--nv-space-3) var(--nv-space-4);
    border: 1px solid var(--nv-gray-300);
    border-radius: var(--nv-radius);
    font-size: var(--nv-text-base);
    font-family: inherit;
    margin-bottom: var(--nv-space-4);
    transition: border-color var(--nv-transition);
}

.nv-contact-form input:focus,
.nv-contact-form textarea:focus {
    outline: none;
    border-color: var(--nv-primary);
    box-shadow: 0 0 0 3px var(--nv-primary-bg);
}

/* ================================================================
   FOOTER
   ================================================================ */
.nv-footer {
    background: var(--nv-gray-900);
    color: var(--nv-gray-400);
    padding: var(--nv-space-16) 0 var(--nv-space-8);
}

.nv-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--nv-space-8);
    margin-bottom: var(--nv-space-12);
}

.nv-footer-brand p {
    margin-top: var(--nv-space-4);
    font-size: var(--nv-text-sm);
    line-height: 1.8;
}

.nv-footer-title {
    color: var(--nv-white);
    font-size: var(--nv-text-base);
    font-weight: 700;
    margin-bottom: var(--nv-space-4);
}

.nv-footer-links {
    list-style: none;
    padding: 0;
}

.nv-footer-links li {
    margin-bottom: var(--nv-space-2);
}

.nv-footer-links a {
    color: var(--nv-gray-400);
    font-size: var(--nv-text-sm);
    transition: color var(--nv-transition);
}

.nv-footer-links a:hover {
    color: var(--nv-white);
}

.nv-footer-bottom {
    border-top: 1px solid var(--nv-gray-700);
    padding-top: var(--nv-space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--nv-text-xs);
}

.nv-footer-social {
    display: flex;
    gap: var(--nv-space-3);
}

.nv-footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nv-gray-800);
    color: var(--nv-gray-400);
    border-radius: var(--nv-radius);
    transition: all var(--nv-transition);
}

.nv-footer-social a:hover {
    background: var(--nv-primary);
    color: var(--nv-white);
}

/* ================================================================
   PAGE TEMPLATES
   ================================================================ */
.nv-page-header {
    background: linear-gradient(135deg, var(--nv-primary) 0%, var(--nv-primary-dark) 100%);
    color: var(--nv-white);
    padding: var(--nv-space-12) 0;
    text-align: center;
}

.nv-page-header h1 {
    color: var(--nv-white);
    font-size: var(--nv-text-4xl);
}

.nv-breadcrumb {
    display: flex;
    gap: var(--nv-space-2);
    justify-content: center;
    margin-top: var(--nv-space-3);
    font-size: var(--nv-text-sm);
    opacity: 0.8;
}

.nv-breadcrumb a {
    color: var(--nv-white);
}

.nv-breadcrumb a:hover {
    text-decoration: underline;
}

/* ================================================================
   CONTENT AREA
   ================================================================ */
.nv-content {
    padding: var(--nv-space-12) 0;
}

.nv-content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--nv-space-8);
}

.nv-main-content {
    min-width: 0;
}

/* Sidebar */
.nv-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--nv-space-6);
}

.nv-widget {
    background: var(--nv-gray-50);
    border-radius: var(--nv-radius-lg);
    padding: var(--nv-space-6);
    border: 1px solid var(--nv-gray-200);
}

.nv-widget-title {
    font-size: var(--nv-text-base);
    font-weight: 700;
    margin-bottom: var(--nv-space-4);
    padding-bottom: var(--nv-space-3);
    border-bottom: 2px solid var(--nv-primary);
}

/* ================================================================
   BLOG POSTS
   ================================================================ */
.nv-post {
    margin-bottom: var(--nv-space-8);
    padding-bottom: var(--nv-space-8);
    border-bottom: 1px solid var(--nv-gray-200);
}

.nv-post:last-child {
    border-bottom: none;
}

.nv-post-thumbnail {
    border-radius: var(--nv-radius-lg);
    overflow: hidden;
    margin-bottom: var(--nv-space-4);
    aspect-ratio: 16/9;
}

.nv-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nv-post-title {
    font-size: var(--nv-text-2xl);
    margin-bottom: var(--nv-space-3);
}

.nv-post-title a {
    color: var(--nv-gray-900);
}

.nv-post-title a:hover {
    color: var(--nv-primary);
}

.nv-post-meta {
    display: flex;
    gap: var(--nv-space-4);
    font-size: var(--nv-text-sm);
    color: var(--nv-gray-400);
    margin-bottom: var(--nv-space-4);
}

.nv-post-excerpt {
    color: var(--nv-gray-600);
    line-height: 1.8;
}

/* Single Post */
.nv-single-content {
    font-size: var(--nv-text-lg);
    line-height: 1.8;
}

.nv-single-content p {
    margin-bottom: var(--nv-space-6);
}

.nv-single-content h2 {
    margin: var(--nv-space-8) 0 var(--nv-space-4);
}

.nv-single-content img {
    border-radius: var(--nv-radius);
    margin: var(--nv-space-6) 0;
}

/* ================================================================
   PAGINATION
   ================================================================ */
.nv-pagination {
    display: flex;
    gap: var(--nv-space-2);
    justify-content: center;
    margin-top: var(--nv-space-8);
}

.nv-pagination a,
.nv-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--nv-radius);
    font-size: var(--nv-text-sm);
    font-weight: 600;
    border: 1px solid var(--nv-gray-300);
    color: var(--nv-gray-700);
    transition: all var(--nv-transition);
}

.nv-pagination a:hover {
    background: var(--nv-primary-bg);
    border-color: var(--nv-primary);
    color: var(--nv-primary);
}

.nv-pagination .current {
    background: var(--nv-primary);
    border-color: var(--nv-primary);
    color: var(--nv-white);
}

/* ================================================================
   COMMENTS
   ================================================================ */
.nv-comments {
    margin-top: var(--nv-space-12);
    padding-top: var(--nv-space-8);
    border-top: 1px solid var(--nv-gray-200);
}

.nv-comment {
    display: flex;
    gap: var(--nv-space-4);
    margin-bottom: var(--nv-space-6);
    padding: var(--nv-space-4);
    background: var(--nv-gray-50);
    border-radius: var(--nv-radius);
}

.nv-comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--nv-radius-full);
    flex-shrink: 0;
}

.nv-comment-body {
    flex: 1;
}

.nv-comment-author {
    font-weight: 700;
    margin-bottom: var(--nv-space-1);
}

.nv-comment-date {
    font-size: var(--nv-text-xs);
    color: var(--nv-gray-400);
    margin-bottom: var(--nv-space-2);
}

/* ================================================================
   SEARCH
   ================================================================ */
.nv-search-form {
    display: flex;
    gap: var(--nv-space-2);
}

.nv-search-form input {
    flex: 1;
    padding: var(--nv-space-3) var(--nv-space-4);
    border: 1px solid var(--nv-gray-300);
    border-radius: var(--nv-radius);
    font-size: var(--nv-text-base);
}

.nv-search-form input:focus {
    outline: none;
    border-color: var(--nv-primary);
}

/* ================================================================
   SCHEMA.ORG HELPER CLASSES
   ================================================================ */
.nv-schema-org { display: none; }

/* ================================================================
   GUTENBERG COMPATIBILITY
   ================================================================ */
.wp-block-group.alignwide {
    max-width: var(--nv-container);
    margin: 0 auto;
}

.wp-block-group.alignfull {
    width: 100%;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.wp-block-columns {
    display: flex;
    gap: var(--nv-gap);
}

.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    padding: var(--nv-space-3) var(--nv-space-6);
    background: var(--nv-primary);
    color: var(--nv-white);
    border-radius: var(--nv-radius);
    font-weight: 600;
    transition: all var(--nv-transition);
}

.wp-block-button__link:hover {
    background: var(--nv-primary-dark);
    color: var(--nv-white);
}

.wp-block-image figcaption {
    font-size: var(--nv-text-sm);
    color: var(--nv-gray-500);
    text-align: center;
    margin-top: var(--nv-space-2);
}

.wp-block-quote {
    border-left: 4px solid var(--nv-primary);
    padding: var(--nv-space-4) var(--nv-space-6);
    margin: var(--nv-space-6) 0;
    background: var(--nv-gray-50);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
    .nv-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .nv-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .nv-content-with-sidebar { grid-template-columns: 1fr; }
    .nv-hero-split { grid-template-columns: 1fr; }
    .nv-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root {
        --nv-header-height: 60px;
    }

    .nv-grid-2,
    .nv-grid-3,
    .nv-grid-4 { grid-template-columns: 1fr; }

    .nv-nav { display: none; }
    .nv-mobile-toggle { display: block; }

    .nv-nav-open .nv-nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--nv-header-height);
        left: 0;
        right: 0;
        background: var(--nv-white);
        padding: var(--nv-space-4);
        box-shadow: var(--nv-shadow-lg);
        border-top: 1px solid var(--nv-gray-200);
    }

    .nv-hero { padding: var(--nv-space-12) 0; }
    .nv-hero h1 { font-size: var(--nv-text-3xl); }
    .nv-section { padding: var(--nv-space-10) 0; }
    .nv-footer-grid { grid-template-columns: 1fr; }
    .nv-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .nv-topbar { display: none; }
    .nv-footer-bottom { flex-direction: column; gap: var(--nv-space-3); text-align: center; }

    h1 { font-size: var(--nv-text-3xl); }
    h2 { font-size: var(--nv-text-2xl); }
}

@media (max-width: 480px) {
    .nv-hero-actions { flex-direction: column; }
    .nv-hero-actions .nv-btn { width: 100%; }
    .nv-gallery-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   PRINT STYLES
   ================================================================ */
@media print {
    .nv-header,
    .nv-footer,
    .nv-sidebar,
    .nv-mobile-toggle,
    .nv-topbar,
    .nv-cta { display: none; }

    body { font-size: 12pt; color: #000; }
    a { color: #000; text-decoration: underline; }
}

/* ================================================================
   ACCESSIBILITY
   ================================================================ */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--nv-gray-100);
    clip: auto !important;
    clip-path: none;
    color: var(--nv-primary);
    display: block;
    font-size: var(--nv-text-sm);
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--nv-primary);
    color: var(--nv-white);
    padding: var(--nv-space-3) var(--nv-space-6);
    z-index: 10000;
    font-weight: 700;
}

.skip-link:focus {
    top: 0;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--nv-primary);
    outline-offset: 2px;
}
