/*
Theme Name: Bourgeon AI LLC
Theme URI: https://bourgeon.ai
Author: Bourgeon AI LLC
Author URI: https://bourgeon.ai
Description: Professional AI & Technology Services WordPress Theme. Built for modern AI companies, technology consultancies, and digital transformation agencies. Features custom post types for Services, Projects, and Team Members with a clean, responsive design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bourgeon-ai-llc
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, one-column, two-columns, right-sidebar
Tested up to: 6.7
Requires PHP: 8.0
Requires at least: 6.0
*/

/* ==========================================================================
   CSS Variables & Design Tokens
   ========================================================================== */
:root {
    --primary: #0D9488;
    --primary-dark: #0A7A70;
    --primary-light: #14B8A6;
    --secondary: #FF6B4A;
    --secondary-dark: #E5553A;
    --secondary-light: #FF8A70;
    --dark: #1A1A2E;
    --dark-light: #2D2D44;
    --gray-900: #111827;
    --gray-800: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --white: #FFFFFF;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --font-primary: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'IBM Plex Mono', 'Fira Code', monospace;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    --transition: 0.3s ease;
    --container-max: 1200px;
}

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

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

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-900);
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1.25em; }
ul, ol { margin-bottom: 1.25em; padding-left: 1.5em; }

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-wide { max-width: 1400px; }
.container-narrow { max-width: 800px; }

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col { padding: 0 15px; flex: 1; }

.grid {
    display: grid;
    gap: 2rem;
}

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

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

@media (max-width: 767px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.625rem; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}
.btn-secondary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}
.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-lg { padding: 1rem 2.25rem; font-size: 1.0625rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.site-logo img { max-height: 40px; width: auto; }
.site-logo:hover { color: var(--primary); }

.site-logo .logo-ai {
    color: var(--primary);
}

/* Navigation */
.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--primary);
    background: rgba(13,148,136,0.05);
}

.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    flex-direction: column;
}

.main-navigation li { position: relative; }
.main-navigation li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation .sub-menu a {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-900);
    transition: all var(--transition);
}

@media (max-width: 991px) {
    .menu-toggle { display: flex; }
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-xl);
        padding: 5rem 2rem 2rem;
        transition: right var(--transition);
        z-index: 999;
    }
    .main-navigation.active { right: 0; }
    .main-navigation ul { flex-direction: column; align-items: flex-start; gap: 0; }
    .main-navigation a { padding: 0.75rem 0; width: 100%; }
    .main-navigation .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 1rem;
    }
    .header-cta .btn { display: none; }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, var(--gray-50) 0%, #E0F2F1 50%, var(--gray-50) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13,148,136,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container { position: relative; z-index: 1; }

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: rgba(13,148,136,0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

@media (max-width: 767px) {
    .hero { padding: 8rem 0 4rem; }
    .hero h1 { font-size: 2.25rem; }
    .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
    padding: 5rem 0;
}

.section-alt { background: var(--gray-50); }
.section-dark { background: var(--dark); color: var(--gray-300); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.section-header .subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section-header h2 { margin-bottom: 1rem; }

.section-header p {
    color: var(--gray-500);
    font-size: 1.0625rem;
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

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

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13,148,136,0.1);
    color: var(--primary);
    border-radius: var(--radius);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--primary);
}

.card-link:hover { gap: 0.625rem; }

/* Service Card */
.service-card { text-align: center; }
.service-card .card-icon { margin: 0 auto 1.25rem; }

/* Team Card */
.team-card { text-align: center; padding: 2rem 1.5rem; }

.team-card .team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.25rem;
    border: 3px solid var(--gray-200);
}

.team-card .team-role {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
}

.team-card .team-socials {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    list-style: none;
    padding: 0;
}

.team-card .team-socials a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-600);
    transition: all var(--transition);
}

.team-card .team-socials a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Project Card */
.project-card {
    padding: 0;
    overflow: hidden;
}

.project-card .project-image {
    height: 240px;
    overflow: hidden;
}

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

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

.project-card .project-content {
    padding: 1.5rem;
}

.project-card .project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.project-tag {
    padding: 0.125rem 0.625rem;
    background: rgba(13,148,136,0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
}

.cta-section h2 { color: var(--white); font-size: 2.25rem; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.125rem; max-width: 600px; margin: 0 auto 2rem; }

/* ==========================================================================
   Contact Page
   ========================================================================== */
.contact-section { padding: 8rem 0 5rem; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

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

.contact-info-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13,148,136,0.1);
    color: var(--primary);
    border-radius: var(--radius);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-info-card p {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

.contact-form { background: var(--white); }

.contact-form .form-group {
    margin-bottom: 1.25rem;
}

.contact-form label {
    display: block;
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--gray-700);
    margin-bottom: 0.375rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--gray-700);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}

.contact-form textarea { min-height: 140px; resize: vertical; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--dark);
    color: var(--gray-400);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 991px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 575px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-about .footer-logo {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    display: block;
}

.footer-about .footer-logo span { color: var(--primary); }

.footer-about p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--gray-400);
    transition: all var(--transition);
}

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

.footer-widget h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

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

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9375rem;
    transition: color var(--transition);
}

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

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.breadcrumb-area {
    padding: 8rem 0 3rem;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    text-align: center;
    color: var(--white);
}

.breadcrumb-area h1 { color: var(--white); margin-bottom: 0.75rem; }

.breadcrumb-list {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9375rem;
}

.breadcrumb-list a { color: var(--gray-400); }
.breadcrumb-list a:hover { color: var(--primary); }
.breadcrumb-list .separator { color: var(--gray-500); }
.breadcrumb-list .current { color: var(--primary); }

/* ==========================================================================
   Blog / Posts
   ========================================================================== */
.post-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

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

.post-card .post-thumbnail {
    height: 220px;
    overflow: hidden;
}

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

.post-card:hover .post-thumbnail img { transform: scale(1.05); }

.post-card .post-content {
    padding: 1.5rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.post-meta a { color: var(--gray-500); }
.post-meta a:hover { color: var(--primary); }

.post-card h3 a {
    color: var(--gray-900);
    transition: color var(--transition);
}

.post-card h3 a:hover { color: var(--primary); }

/* Single Post */
.single-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 0;
}

.single-post-content .entry-content p { font-size: 1.0625rem; }
.single-post-content .entry-content h2 { margin-top: 2rem; }

/* ==========================================================================
   Sidebar
   ========================================================================== */
.content-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    padding: 3rem 0;
}

@media (max-width: 991px) {
    .content-sidebar { grid-template-columns: 1fr; }
}

.sidebar .widget {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}

.sidebar .widget-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary);
}

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

.sidebar .widget ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.sidebar .widget ul li:last-child { border: none; }
.sidebar .widget ul li a { color: var(--gray-600); }
.sidebar .widget ul li a:hover { color: var(--primary); }

/* ==========================================================================
   404 Page
   ========================================================================== */
.error-404 {
    text-align: center;
    padding: 10rem 0 5rem;
}

.error-404 .error-code {
    font-size: 8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.error-404 h2 { margin-bottom: 1rem; }
.error-404 p { color: var(--gray-500); margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Search
   ========================================================================== */
.search-form {
    display: flex;
    gap: 0;
    max-width: 500px;
}

.search-form .search-field {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    font-family: var(--font-primary);
    font-size: 0.9375rem;
}

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

.search-form .search-submit {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 600;
    transition: background var(--transition);
}

.search-form .search-submit:hover { background: var(--primary-dark); }

/* ==========================================================================
   WordPress Defaults
   ========================================================================== */
.wp-caption { margin-bottom: 1.5em; max-width: 100%; }
.wp-caption-text { text-align: center; font-size: 0.875rem; color: var(--gray-500); }

.screen-reader-text {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 0 auto 1em; }

.wp-block-image { margin-bottom: 1.5em; }
.wp-block-gallery { margin-bottom: 1.5em; }

.page-links {
    clear: both;
    margin: 2rem 0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem 0;
    list-style: none;
    padding: 0;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: var(--radius);
    background: var(--gray-100);
    color: var(--gray-700);
    font-weight: 500;
    transition: all var(--transition);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--primary);
    color: var(--white);
}

/* Comments */
.comments-area { margin-top: 3rem; }

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
}

.comment-author img {
    border-radius: 50%;
    margin-right: 0.75rem;
}

.comment-respond .comment-form input,
.comment-respond .comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: var(--font-primary);
    margin-bottom: 1rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-white { color: var(--white); }
.bg-primary { background-color: var(--primary); }
.bg-dark { background-color: var(--dark); }
.bg-light { background-color: var(--gray-50); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
