/*
Theme Name: Planbook
Theme URI: https://planbook.app
Author: Chad Jaggers
Author URI: https://chadjaggers.com
Description: A beautiful, warm SaaS theme for teacher lesson planning. Features a cream color palette with coral, sage, gold, and lavender accents.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: planbook
Tags: education, saas, one-column, custom-menu, featured-images, theme-options
*/

/* ===========================================
   CSS VARIABLES
   =========================================== */
:root {
    /* Primary Colors */
    --pb-cream: #FDF9F3;
    --pb-cream-dark: #F5EDE0;
    
    /* Text Colors */
    --pb-text-primary: #1A1A1A;
    --pb-text-secondary: #5C5C5C;
    --pb-text-muted: #8A8A8A;
    
    /* Accent Colors */
    --pb-coral: #E85A4F;
    --pb-coral-dark: #D14B40;
    --pb-sage: #7DB59A;
    --pb-sage-light: #E8F4ED;
    --pb-gold: #E6B74F;
    --pb-lavender: #9B8EC4;
    
    /* Utility Colors */
    --pb-white: #FFFFFF;
    --pb-border: #E8E3DA;
    
    /* Typography */
    --pb-font-heading: 'Fraunces', Georgia, serif;
    --pb-font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Border Radius */
    --pb-radius-sm: 8px;
    --pb-radius-md: 16px;
    --pb-radius-lg: 24px;
    --pb-radius-xl: 32px;
    --pb-radius-full: 100px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--pb-font-body);
    background-color: var(--pb-cream);
    color: var(--pb-text-primary);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--pb-font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--pb-text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--pb-coral);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--pb-coral-dark);
}

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

ul, ol {
    list-style: none;
}

/* ===========================================
   LAYOUT
   =========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-sm {
    padding: 60px 0;
}

.section-lg {
    padding: 120px 0;
}

/* Backgrounds */
.bg-cream { background-color: var(--pb-cream); }
.bg-white { background-color: var(--pb-white); }
.bg-dark { background-color: var(--pb-text-primary); color: var(--pb-white); }

/* Text utilities */
.text-center { text-align: center; }
.text-muted { color: var(--pb-text-muted); }
.text-secondary { color: var(--pb-text-secondary); }

/* ===========================================
   NAVIGATION
   =========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 249, 243, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--pb-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.site-logo img {
    height: 32px;
    width: auto;
}

.site-logo-text {
    font-family: var(--pb-font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--pb-text-primary);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--pb-coral) 0%, var(--pb-gold) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 18px;
    height: 18px;
    fill: white;
}

/* Main Navigation */
.main-nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--pb-text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav .current-menu-item a,
.main-nav .current_page_item a {
    color: var(--pb-text-primary);
}

/* Nav CTA */
.nav-cta {
    display: flex;
    gap: 12px;
    align-items: center;
}

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

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--pb-text-primary);
    transition: all 0.3s ease;
}

/* ===========================================
   BUTTONS
   =========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--pb-radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--pb-font-body);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    gap: 8px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--pb-coral);
    color: var(--pb-white);
    box-shadow: 0 2px 8px rgba(232, 90, 79, 0.25);
}

.btn-primary:hover {
    background: var(--pb-coral-dark);
    color: var(--pb-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(232, 90, 79, 0.3);
}

.btn-secondary {
    background: var(--pb-white);
    color: var(--pb-text-primary);
    border: 1.5px solid var(--pb-border);
}

.btn-secondary:hover {
    border-color: var(--pb-text-muted);
    background: var(--pb-cream);
    color: var(--pb-text-primary);
}

.btn-ghost {
    background: transparent;
    color: var(--pb-text-primary);
}

.btn-ghost:hover {
    background: var(--pb-cream-dark);
    color: var(--pb-text-primary);
}

.btn-white {
    background: var(--pb-white);
    color: var(--pb-sage);
}

.btn-white:hover {
    background: var(--pb-cream);
    color: var(--pb-sage);
}

.btn-outline-white {
    background: transparent;
    color: var(--pb-white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--pb-white);
}

.btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===========================================
   BADGES & LABELS
   =========================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--pb-white);
    border: 1px solid var(--pb-border);
    padding: 8px 16px;
    border-radius: var(--pb-radius-full);
    font-size: 0.85rem;
    color: var(--pb-text-secondary);
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--pb-coral);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--pb-radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}

.tag-coral { background: rgba(232, 90, 79, 0.1); color: var(--pb-coral); }
.tag-sage { background: var(--pb-sage-light); color: var(--pb-sage); }
.tag-gold { background: rgba(230, 183, 79, 0.15); color: #B8922E; }
.tag-lavender { background: rgba(155, 142, 196, 0.15); color: var(--pb-lavender); }

/* ===========================================
   SECTION HEADER
   =========================================== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--pb-text-secondary);
    margin-bottom: 0;
}

/* ===========================================
   PAGE HEADER
   =========================================== */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-header .lead {
    font-size: 1.25rem;
    color: var(--pb-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.page-header .badge {
    margin-bottom: 24px;
}

/* Decorative gradient blobs */
.page-header::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--pb-sage-light) 0%, transparent 70%);
    opacity: 0.6;
    z-index: 0;
}

/* ===========================================
   CARDS
   =========================================== */
.card {
    background: var(--pb-white);
    border-radius: var(--pb-radius-lg);
    padding: 32px;
    border: 1px solid var(--pb-border);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.card-cream {
    background: var(--pb-cream);
}

/* Feature Card */
.feature-card {
    background: var(--pb-cream);
    border-radius: var(--pb-radius-lg);
    padding: 32px;
    border: 1px solid var(--pb-border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.feature-card h3 {
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--pb-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===========================================
   ICON BOX
   =========================================== */
.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-box-lg {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    margin-bottom: 24px;
}

.icon-box svg {
    width: 24px;
    height: 24px;
}

.icon-box-lg svg {
    width: 32px;
    height: 32px;
}

.icon-box-coral { background: rgba(232, 90, 79, 0.1); color: var(--pb-coral); }
.icon-box-sage { background: var(--pb-sage-light); color: var(--pb-sage); }
.icon-box-gold { background: rgba(230, 183, 79, 0.15); color: var(--pb-gold); }
.icon-box-lavender { background: rgba(155, 142, 196, 0.15); color: var(--pb-lavender); }

/* ===========================================
   GRIDS
   =========================================== */
.grid {
    display: grid;
    gap: 24px;
}

.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: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

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

/* ===========================================
   FEATURE ROWS (Alternating Layout)
   =========================================== */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 80px 0;
    border-bottom: 1px solid var(--pb-border);
}

.feature-row:last-child {
    border-bottom: none;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-row-content {
    max-width: 480px;
}

.feature-row-content h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-row-content > p {
    font-size: 1.1rem;
    color: var(--pb-text-secondary);
    margin-bottom: 24px;
}

.feature-row-visual {
    background: var(--pb-white);
    border-radius: var(--pb-radius-lg);
    padding: 32px;
    border: 1px solid var(--pb-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.feature-row-visual img {
    border-radius: var(--pb-radius-md);
}

@media (max-width: 1024px) {
    .feature-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feature-row.reverse {
        direction: ltr;
    }
    
    .feature-row-content {
        max-width: 100%;
    }
}

/* ===========================================
   FEATURE LIST (Checkmarks)
   =========================================== */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    font-size: 1rem;
    color: var(--pb-text-secondary);
}

.feature-list li svg {
    width: 20px;
    height: 20px;
    color: var(--pb-sage);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ===========================================
   PRICING
   =========================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--pb-white);
    border-radius: var(--pb-radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--pb-border);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.pricing-card.popular {
    background: var(--pb-text-primary);
    color: var(--pb-white);
    border: none;
    transform: scale(1.03);
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pb-coral);
    color: var(--pb-white);
    padding: 6px 16px;
    border-radius: var(--pb-radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.pricing-price {
    font-family: var(--pb-font-heading);
    font-size: 3.5rem;
    font-weight: 600;
    margin: 20px 0;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.pricing-price .currency {
    font-size: 1.5rem;
    opacity: 0.7;
}

.pricing-price .period {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.6;
    font-family: var(--pb-font-body);
}

.pricing-description {
    font-size: 0.95rem;
    opacity: 0.7;
    margin-bottom: 32px;
    min-height: 48px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.pricing-features li {
    padding: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--pb-border);
}

.pricing-card.popular .pricing-features li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li svg {
    width: 20px;
    height: 20px;
    color: var(--pb-sage);
    flex-shrink: 0;
    margin-top: 2px;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-4px);
    }
}

/* ===========================================
   TESTIMONIALS / REVIEWS
   =========================================== */
.review-card {
    background: var(--pb-white);
    border-radius: var(--pb-radius-lg);
    padding: 32px;
    border: 1px solid var(--pb-border);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pb-white);
    font-weight: 600;
    font-size: 1.1rem;
}

.review-avatar-coral { background: linear-gradient(135deg, var(--pb-coral) 0%, #D14B40 100%); }
.review-avatar-sage { background: linear-gradient(135deg, var(--pb-sage) 0%, #5A9B7C 100%); }
.review-avatar-gold { background: linear-gradient(135deg, var(--pb-gold) 0%, #D4A43E 100%); }
.review-avatar-lavender { background: linear-gradient(135deg, var(--pb-lavender) 0%, #7B6EA4 100%); }

.review-author h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.review-author p {
    font-size: 0.85rem;
    color: var(--pb-text-muted);
    margin: 0;
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.review-stars svg {
    width: 18px;
    height: 18px;
    fill: var(--pb-gold);
}

.review-text {
    font-size: 0.95rem;
    color: var(--pb-text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.review-date {
    font-size: 0.8rem;
    color: var(--pb-text-muted);
}

/* Featured Review */
.featured-review {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 60px;
}

.featured-quote-mark {
    font-family: var(--pb-font-heading);
    font-size: 6rem;
    color: var(--pb-coral);
    opacity: 0.3;
    line-height: 0.5;
    margin-bottom: 24px;
}

.featured-quote {
    font-family: var(--pb-font-heading);
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 32px;
}

.featured-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.featured-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pb-sage) 0%, #5A9B7C 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pb-white);
    font-size: 1.5rem;
    font-weight: 600;
}

/* ===========================================
   TIMELINE (How It Works)
   =========================================== */
.timeline-step {
    display: grid;
    grid-template-columns: 1fr 100px 1fr;
    gap: 40px;
    align-items: start;
}

.timeline-content {
    padding: 40px 0;
}

.timeline-content.left {
    text-align: right;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.timeline-content p {
    color: var(--pb-text-secondary);
    font-size: 1.05rem;
}

.timeline-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--pb-font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--pb-white);
}

.timeline-number-coral { background: var(--pb-coral); }
.timeline-number-sage { background: var(--pb-sage); }
.timeline-number-gold { background: var(--pb-gold); }
.timeline-number-lavender { background: var(--pb-lavender); }

.timeline-line {
    width: 2px;
    height: 150px;
    background: var(--pb-border);
    margin-top: -10px;
}

.timeline-step:last-child .timeline-line {
    display: none;
}

.timeline-visual {
    background: var(--pb-white);
    border-radius: var(--pb-radius-lg);
    padding: 24px;
    border: 1px solid var(--pb-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

@media (max-width: 1024px) {
    .timeline-step {
        grid-template-columns: 60px 1fr;
        gap: 24px;
    }
    
    .timeline-content.left {
        text-align: left;
        grid-column: 2;
        grid-row: 1;
    }
    
    .timeline-content.right {
        grid-column: 2;
    }
    
    .timeline-center {
        grid-column: 1;
        grid-row: 1 / span 2;
    }
    
    .timeline-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .timeline-visual {
        grid-column: 2;
    }
}

/* ===========================================
   CTA SECTION
   =========================================== */
.cta-box {
    border-radius: var(--pb-radius-xl);
    padding: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.cta-box h2 {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.cta-box p {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 40px;
}

.cta-box .btn-group {
    position: relative;
    z-index: 1;
    justify-content: center;
}

.cta-gradient-sage {
    background: linear-gradient(135deg, var(--pb-sage) 0%, #5A9B7C 100%);
    color: var(--pb-white);
}

.cta-gradient-coral {
    background: linear-gradient(135deg, var(--pb-coral) 0%, var(--pb-coral-dark) 100%);
    color: var(--pb-white);
}

.cta-gradient-lavender {
    background: linear-gradient(135deg, var(--pb-lavender) 0%, #7B6EA4 100%);
    color: var(--pb-white);
}

@media (max-width: 768px) {
    .cta-box {
        padding: 48px 24px;
    }
    
    .cta-box .btn-group {
        flex-direction: column;
    }
}

/* ===========================================
   FAQ
   =========================================== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--pb-white);
    border-radius: var(--pb-radius-md);
    padding: 28px;
    border: 1px solid var(--pb-border);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--pb-text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

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

/* ===========================================
   STATS
   =========================================== */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 48px;
}

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

.stat-number {
    font-family: var(--pb-font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--pb-coral);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--pb-text-muted);
}

/* ===========================================
   RATING SUMMARY
   =========================================== */
.rating-box {
    background: var(--pb-white);
    border-radius: var(--pb-radius-lg);
    padding: 48px;
    border: 1px solid var(--pb-border);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.rating-overall {
    text-align: center;
}

.rating-score {
    font-family: var(--pb-font-heading);
    font-size: 5rem;
    font-weight: 600;
    line-height: 1;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 12px 0;
}

.rating-stars svg {
    width: 28px;
    height: 28px;
    fill: var(--pb-gold);
}

.rating-count {
    font-size: 0.95rem;
    color: var(--pb-text-muted);
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rating-row-label {
    width: 60px;
    font-size: 0.9rem;
    color: var(--pb-text-secondary);
}

.rating-bar {
    flex: 1;
    height: 8px;
    background: var(--pb-cream-dark);
    border-radius: var(--pb-radius-full);
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: var(--pb-gold);
    border-radius: var(--pb-radius-full);
}

.rating-row-count {
    width: 50px;
    text-align: right;
    font-size: 0.85rem;
    color: var(--pb-text-muted);
}

@media (max-width: 768px) {
    .rating-box {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ===========================================
   FOOTER
   =========================================== */
.site-footer {
    padding: 80px 0 40px;
    background: var(--pb-text-primary);
    color: var(--pb-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-logo-text {
    font-family: var(--pb-font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--pb-white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-column h4 {
    font-family: var(--pb-font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.5);
}

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

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--pb-white);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 16px;
}

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

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: var(--pb-white);
}

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

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

/* ===========================================
   MOBILE NAVIGATION
   =========================================== */
@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }
    
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav.active {
        display: block;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--pb-cream);
        border-bottom: 1px solid var(--pb-border);
        padding: 24px;
    }
    
    .main-nav.active ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav.active li {
        border-bottom: 1px solid var(--pb-border);
    }
    
    .main-nav.active a {
        display: block;
        padding: 16px 0;
    }
}

/* ===========================================
   WORDPRESS SPECIFIC
   =========================================== */
/* Screen reader text */
.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;
}

/* Skip link */
.skip-link {
    background: var(--pb-coral);
    color: var(--pb-white);
    padding: 8px 16px;
    position: absolute;
    top: -100px;
    left: 0;
    z-index: 9999;
}

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

/* WordPress alignment classes */
.alignleft {
    float: left;
    margin-right: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* WordPress gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    margin: 0;
}

.gallery-icon img {
    display: block;
    width: 100%;
    height: auto;
}

/* WordPress captions */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.85rem;
    color: var(--pb-text-muted);
    margin-top: 8px;
}

/* Block editor alignments */
.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
}
/* ===========================================
   BLOG STYLES - Add this to your style.css
   =========================================== */

/* Blog Section */
.blog-section {
    padding-top: 60px;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

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

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

/* Blog Card */
.blog-card {
    background: var(--pb-white);
    border-radius: var(--pb-radius-lg);
    overflow: hidden;
    border: 1px solid var(--pb-border);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.blog-card-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--pb-cream-dark);
}

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

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

.blog-card-content {
    padding: 24px;
}

.blog-card-title {
    font-family: var(--pb-font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-card-title a {
    color: var(--pb-text-primary);
    text-decoration: none;
}

.blog-card-title a:hover {
    color: var(--pb-coral);
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--pb-border);
}

.blog-read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pb-coral);
    text-decoration: none;
}

.blog-read-more:hover {
    color: var(--pb-coral-dark);
}

/* Blog Meta */
.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--pb-text-muted);
}

.blog-read-time {
    font-size: 0.85rem;
    color: var(--pb-text-muted);
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--pb-text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Blog Placeholder (no featured image) */
.blog-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pb-cream) 0%, var(--pb-cream-dark) 100%);
}

.placeholder-icon {
    color: var(--pb-text-muted);
    opacity: 0.5;
}

/* Featured Post Card */
.blog-featured-card {
    background: var(--pb-white);
    border-radius: var(--pb-radius-xl);
    overflow: hidden;
    border: 1px solid var(--pb-border);
    margin-bottom: 48px;
}

.blog-featured-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

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

.blog-featured-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--pb-cream-dark);
}

@media (max-width: 900px) {
    .blog-featured-image {
        aspect-ratio: 16 / 9;
    }
}

.blog-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-featured-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .blog-featured-content {
        padding: 32px 24px;
    }
}

.blog-featured-title {
    font-family: var(--pb-font-heading);
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.3;
}

.blog-featured-title a {
    color: var(--pb-text-primary);
    text-decoration: none;
}

.blog-featured-title a:hover {
    color: var(--pb-coral);
}

/* Blog Author */
.blog-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.blog-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.blog-author-info {
    display: flex;
    flex-direction: column;
}

.blog-author-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--pb-text-primary);
}

/* Blog Pagination */
.blog-pagination {
    margin-top: 60px;
    text-align: center;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: var(--pb-radius-full);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--pb-text-secondary);
    background: var(--pb-white);
    border: 1px solid var(--pb-border);
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-pagination .page-numbers:hover {
    border-color: var(--pb-coral);
    color: var(--pb-coral);
}

.blog-pagination .page-numbers.current {
    background: var(--pb-coral);
    border-color: var(--pb-coral);
    color: var(--pb-white);
}

.blog-pagination .prev,
.blog-pagination .next {
    padding: 0 20px;
}

/* Blog Empty State */
.blog-empty {
    text-align: center;
    padding: 80px 20px;
}

.blog-empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pb-cream-dark);
    border-radius: 50%;
    color: var(--pb-text-muted);
}

.blog-empty h2 {
    margin-bottom: 12px;
}

.blog-empty p {
    color: var(--pb-text-secondary);
    margin-bottom: 24px;
}

/* ===========================================
   SINGLE POST STYLES
   =========================================== */

/* Post Header */
.post-header {
    padding: 140px 0 60px;
}

.post-header-content {
    text-align: center;
}

.post-title {
    font-family: var(--pb-font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 500;
    margin-bottom: 24px;
    line-height: 1.2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.post-excerpt {
    font-size: 1.25rem;
    color: var(--pb-text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* Post Author Box */
.post-author-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.post-author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
}

.post-author-info {
    text-align: left;
}

.post-author-name {
    display: block;
    font-weight: 600;
    color: var(--pb-text-primary);
}

.post-author-name a {
    color: inherit;
    text-decoration: none;
}

.post-author-name a:hover {
    color: var(--pb-coral);
}

.post-meta-details {
    font-size: 0.9rem;
    color: var(--pb-text-muted);
}

/* Post Featured Image */
.post-featured-image {
    padding-bottom: 60px;
}

.post-thumbnail {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: var(--pb-radius-lg);
    display: block;
    margin: 0 auto;
}

/* Post Content */
.post-content-wrapper {
    padding-bottom: 60px;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--pb-text-secondary);
}

.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    color: var(--pb-text-primary);
    margin-top: 48px;
    margin-bottom: 20px;
}

.post-content h2 {
    font-size: 1.75rem;
}

.post-content h3 {
    font-size: 1.4rem;
}

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

.post-content a {
    color: var(--pb-coral);
    text-decoration: underline;
}

.post-content a:hover {
    color: var(--pb-coral-dark);
}

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

.post-content ul {
    list-style: disc;
}

.post-content ol {
    list-style: decimal;
}

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

.post-content blockquote {
    border-left: 4px solid var(--pb-coral);
    padding: 24px 32px;
    margin: 32px 0;
    background: var(--pb-white);
    border-radius: 0 var(--pb-radius-md) var(--pb-radius-md) 0;
    font-style: italic;
    font-size: 1.15rem;
}

.post-content blockquote p:last-child {
    margin-bottom: 0;
}

.post-content img {
    border-radius: var(--pb-radius-md);
    margin: 32px 0;
}

.post-content pre,
.post-content code {
    font-family: 'Fira Code', 'Monaco', monospace;
    background: var(--pb-white);
    border-radius: var(--pb-radius-sm);
}

.post-content code {
    padding: 2px 8px;
    font-size: 0.9em;
}

.post-content pre {
    padding: 24px;
    overflow-x: auto;
    margin: 32px 0;
}

.post-content pre code {
    padding: 0;
    background: none;
}

/* Post Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--pb-border);
}

.post-tags-label {
    font-size: 0.9rem;
    color: var(--pb-text-muted);
    margin-right: 8px;
}

.post-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--pb-white);
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius-full);
    font-size: 0.85rem;
    color: var(--pb-text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.post-tag:hover {
    border-color: var(--pb-coral);
    color: var(--pb-coral);
}

/* Post Share */
.post-share {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.post-share-label {
    font-size: 0.9rem;
    color: var(--pb-text-muted);
}

.post-share-links {
    display: flex;
    gap: 8px;
}

.post-share-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--pb-white);
    border: 1px solid var(--pb-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pb-text-secondary);
    transition: all 0.2s ease;
}

.post-share-link:hover {
    background: var(--pb-coral);
    border-color: var(--pb-coral);
    color: var(--pb-white);
}

/* Author Bio Section */
.post-author-bio-section {
    padding: 60px 0;
}

.post-author-bio {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 40px;
    background: var(--pb-cream);
    border-radius: var(--pb-radius-lg);
}

@media (max-width: 600px) {
    .post-author-bio {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

.post-author-bio-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    flex-shrink: 0;
}

.post-author-bio-content h4 {
    font-family: var(--pb-font-heading);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.post-author-bio-content p {
    color: var(--pb-text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Post Navigation */
.post-navigation {
    padding: 60px 0;
    border-top: 1px solid var(--pb-border);
}

.post-nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

@media (max-width: 600px) {
    .post-nav-links {
        grid-template-columns: 1fr;
    }
}

.post-nav-link {
    display: block;
    padding: 24px;
    background: var(--pb-white);
    border-radius: var(--pb-radius-md);
    border: 1px solid var(--pb-border);
    text-decoration: none;
    transition: all 0.2s ease;
}

.post-nav-link:hover {
    border-color: var(--pb-coral);
}

.post-nav-next {
    text-align: right;
}

.post-nav-label {
    display: block;
    font-size: 0.85rem;
    color: var(--pb-text-muted);
    margin-bottom: 8px;
}

.post-nav-title {
    display: block;
    font-family: var(--pb-font-heading);
    font-weight: 500;
    color: var(--pb-text-primary);
    line-height: 1.4;
}

.post-nav-empty {
    display: none;
}

/* Related Posts */
.related-posts-section {
    border-top: 1px solid var(--pb-border);
}

/* ===========================================
   SEARCH FORM
   =========================================== */

.search-form-wrapper {
    max-width: 500px;
    margin: 32px auto 0;
}

.search-form {
    display: flex;
    gap: 12px;
}

.search-input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius-full);
    font-size: 1rem;
    font-family: var(--pb-font-body);
    background: var(--pb-white);
    outline: none;
    transition: border-color 0.2s ease;
}

.search-input:focus {
    border-color: var(--pb-coral);
}

.search-input::placeholder {
    color: var(--pb-text-muted);
}

@media (max-width: 500px) {
    .search-form {
        flex-direction: column;
    }
}

/* ===========================================
   POST CONTENT FIXES
   =========================================== */

/* Make sure post content has proper specificity */
.post-content,
.entry-content,
article .post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--pb-text-secondary);
}

/* Fix heading sizes - more specific selectors */
.post-content h2,
.entry-content h2,
article h2 {
    font-family: var(--pb-font-heading);
    font-size: 1.75rem !important;
    font-weight: 500;
    color: var(--pb-text-primary);
    margin-top: 48px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.post-content h3,
.entry-content h3,
article h3 {
    font-family: var(--pb-font-heading);
    font-size: 1.4rem !important;
    font-weight: 500;
    color: var(--pb-text-primary);
    margin-top: 36px;
    margin-bottom: 16px;
    line-height: 1.3;
}

/* Fix bullet points - override the reset */
.post-content ul,
.entry-content ul,
article ul {
    list-style: disc !important;
    padding-left: 24px !important;
    margin-bottom: 24px;
}

.post-content ol,
.entry-content ol,
article ol {
    list-style: decimal !important;
    padding-left: 24px !important;
    margin-bottom: 24px;
}

.post-content li,
.entry-content li,
article li {
    margin-bottom: 12px;
    padding-left: 8px;
}

/* Fix paragraph spacing */
.post-content p,
.entry-content p,
article p {
    margin-bottom: 24px;
    line-height: 1.8;
}

/* Add more space before major headings */
.post-content h2:not(:first-child),
.entry-content h2:not(:first-child) {
    margin-top: 56px;
}