/* Custom styles for DanBot */

/* Blog Post Typography & Readability (2024 SEO Best Practices) */
.prose {
    max-width: 700px; /* Optimal reading width - max 75 characters per line */
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6; /* Optimal line height for readability */
    font-size: 18px; /* Above minimum 16pt for better readability */
    color: #1f2937; /* High contrast for accessibility */
}

.prose h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 3rem 0 1.5rem 0;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.025em;
}

.prose h2 {
    font-size: 2rem;
    line-height: 1.25;
    margin: 2.5rem 0 1rem 0;
    font-weight: 600;
    color: #111827;
    letter-spacing: -0.02em;
}

.prose h3 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin: 2rem 0 0.75rem 0;
    font-weight: 600;
    color: #1f2937;
}

.prose h4 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin: 1.5rem 0 0.5rem 0;
    font-weight: 600;
    color: #1f2937;
}

.prose p {
    margin: 1.25rem 0; /* Generous paragraph spacing */
    max-width: 65ch; /* Optimal line length for reading */
    text-align: left;
}

/* Ensure short paragraphs for better readability */
.prose p + p {
    margin-top: 1.5rem;
}

.prose ul, .prose ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.prose li {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.prose li p {
    margin: 0.25rem 0;
}

.prose strong, .prose b {
    font-weight: 600;
    color: #111827;
}

.prose em, .prose i {
    font-style: italic;
    color: #374151;
}

.prose a {
    color: #2563eb;
    text-decoration: underline;
    text-decoration-color: #93c5fd;
    text-underline-offset: 2px;
    transition: all 0.2s ease;
}

.prose a:hover {
    color: #1d4ed8;
    text-decoration-color: #2563eb;
}

.prose blockquote {
    border-left: 4px solid #e5e7eb;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.1em;
    color: #4b5563;
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.prose code {
    background-color: #f3f4f6;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
}

.prose pre {
    background-color: #1f2937;
    color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 2rem 0;
    font-size: 0.875rem;
    line-height: 1.7;
}

/* Visual breathing room around sections */
.prose hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 3rem 0;
}

/* Call-to-action section styling */
.prose .cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    margin: 3rem 0;
    text-align: center;
}

.prose .cta-section h2 {
    color: white;
    margin-top: 0;
}

.prose .cta-section a {
    color: #bfdbfe;
    text-decoration-color: #bfdbfe;
}

.prose .cta-section a:hover {
    color: white;
    text-decoration-color: white;
}

/* Mobile responsiveness for readability */
@media (max-width: 768px) {
    .prose {
        font-size: 16px;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .prose h1 {
        font-size: 2rem;
        margin: 2rem 0 1rem 0;
    }
    
    .prose h2 {
        font-size: 1.75rem;
        margin: 1.75rem 0 0.75rem 0;
    }
    
    .prose h3 {
        font-size: 1.5rem;
        margin: 1.5rem 0 0.5rem 0;
    }
    
    .prose p {
        margin: 1rem 0;
    }
}

/* Daily Blog Section Styling */
.daily-blog-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    margin: 2rem 0;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.blog-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.post-card.featured {
    background: rgba(255, 255, 255, 0.95);
    color: #1f2937;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card.featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.post-badge {
    background: #10b981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-right: 1rem;
}

.no-posts-cta {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.no-posts-cta h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-button.large {
    font-size: 1.125rem;
    padding: 1rem 2rem;
    margin: 0 0.5rem;
}

/* Site Footer */
.site-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 2rem 0;
    margin-top: 4rem;
}

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

.admin-link {
    opacity: 0.3;
    font-size: 1.25rem;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.admin-link:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Hero photo styling - Force specific sizing */
.hero-image .hero-photo,
img.hero-photo {
    width: 300px !important;
    height: 300px !important;
    max-width: 300px !important;
    max-height: 300px !important;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 6px solid #ffffff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease-in-out;
    display: block;
}

.hero-photo:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .hero-image .hero-photo,
    img.hero-photo {
        width: 200px !important;
        height: 200px !important;
        max-width: 200px !important;
        max-height: 200px !important;
        border-width: 4px;
    }
}

/* Loading animations */
.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator {
    display: block;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Form improvements */
textarea:focus, input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Button hover effects */
button {
    transition: all 0.2s ease-in-out;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Card hover effects */
.hover\\:bg-gray-50:hover {
    transition: background-color 0.2s ease-in-out;
}

/* Success/error message styles */
.success-message {
    background-color: #d1fae5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 12px;
    border-radius: 8px;
    margin: 8px 0;
}

.error-message {
    background-color: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px;
    border-radius: 8px;
    margin: 8px 0;
}

/* Progress indicators */
.progress-step {
    position: relative;
    padding-left: 24px;
}

.progress-step::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
}

.progress-step.active::before {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.progress-step.completed::before {
    background-color: #10b981;
    border-color: #10b981;
}

/* Mobile-Optimized Content Manager */
.mobile-friendly-button {
    min-height: 48px;
    font-size: 16px;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.mobile-friendly-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mobile-friendly-input {
    min-height: 48px;
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 16px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
}

.mobile-friendly-input:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.mobile-friendly-textarea {
    min-height: 120px;
    font-size: 16px;
    padding: 16px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    resize: vertical;
}

.mobile-friendly-textarea:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Topic selection cards - bigger touch targets */
.mobile-topic-card {
    min-height: 80px;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-topic-card:hover {
    border-color: #3b82f6;
    background: #f8faff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Range slider - bigger for mobile */
.mobile-range-slider {
    height: 8px;
    margin: 20px 0;
}

.mobile-range-slider::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.mobile-range-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* Responsive improvements */
@media (max-width: 768px) {
    .grid-cols-1.lg\\:grid-cols-3 {
        grid-template-columns: 1fr;
    }
    
    .px-4 {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    /* Content Manager Mobile Optimizations */
    .max-w-6xl {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }
    
    /* Hide desktop progress indicators on mobile */
    .flex.items-center.space-x-2.text-sm.text-gray-600 {
        display: none;
    }
    
    /* Make workflow cards mobile-friendly */
    .bg-white.rounded-lg.shadow {
        margin-bottom: 24px;
        padding: 24px 20px;
        border-radius: 16px;
    }
    
    /* Step titles bigger on mobile */
    .text-lg.font-semibold {
        font-size: 1.375rem;
        margin-bottom: 20px;
    }
    
    /* Better spacing for mobile */
    .mb-4 {
        margin-bottom: 20px;
    }
    
    .mb-6 {
        margin-bottom: 24px;
    }
    
    /* Touch-friendly labels */
    label {
        font-size: 16px;
        margin-bottom: 12px;
        font-weight: 500;
    }
    
    /* Loading states more prominent */
    .htmx-indicator {
        background: #f8faff;
        padding: 20px;
        border-radius: 12px;
        border: 2px solid #e0e7ff;
        margin: 16px 0;
    }
    
    /* Better mobile header */
    .text-2xl.font-bold {
        font-size: 1.5rem;
    }
    
    .flex.items-center.gap-6 a {
        font-size: 14px;
    }
}

/* Mobile Card-Based Workflow Interface */
.mobile-progress-header {
    background: white;
    padding: 24px 20px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
}

.mobile-progress-bar {
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    margin: 16px 0 8px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    border-radius: 3px;
    transition: width 0.6s ease;
    width: 25%;
}

.progress-text {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

.mobile-card-container {
    position: relative;
    min-height: calc(100vh - 300px);
    padding-bottom: 100px; /* Space for bottom actions */
}

.mobile-workflow-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    padding: 24px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.mobile-workflow-card.active {
    transform: translateX(0);
    opacity: 1;
    border-color: #3b82f6;
}

.mobile-workflow-card.completed {
    transform: translateX(-100%);
    opacity: 0.3;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f3f4f6;
}

.card-icon {
    font-size: 28px;
    margin-right: 16px;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

/* Bottom Navigation Bar */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 16px 20px 32px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #e5e7eb;
    z-index: 1000;
}

.bottom-nav-content {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
}

.bottom-nav-button {
    flex: 1;
    min-height: 52px;
    padding: 14px 20px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.bottom-nav-button.primary {
    background: linear-gradient(135deg, #3b82f6, #10b981);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.bottom-nav-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.bottom-nav-button.secondary {
    background: #f8fafc;
    color: #475569;
    border: 2px solid #e2e8f0;
}

.bottom-nav-button.secondary:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.bottom-nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Auto-save Indicator */
.auto-save-status {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    background: #10b981;
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1001;
}

.auto-save-status.saving {
    background: #f59e0b;
    opacity: 1;
}

.auto-save-status.saved {
    background: #10b981;
    opacity: 1;
}

.auto-save-status.offline {
    background: #ef4444;
    opacity: 1;
}

/* Offline Mode Styles */
.offline-banner {
    background: #fef3c7;
    color: #92400e;
    padding: 12px 20px;
    text-align: center;
    font-weight: 500;
    border-bottom: 1px solid #f59e0b;
}

/* Swipe Gestures */
.swipe-indicator {
    position: absolute;
    top: 50%;
    right: -40px;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-workflow-card:hover .swipe-indicator {
    opacity: 1;
}

/* Enhanced Loading States */
.mobile-loading {
    background: linear-gradient(90deg, #f3f4f6, #e5e7eb, #f3f4f6);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 12px;
    height: 20px;
    margin: 8px 0;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Express Post Styles */
.express-post-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 28px 24px;
    color: white;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.express-post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.express-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.express-icon {
    font-size: 32px;
    margin-right: 16px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.express-header h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.express-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 24px;
    line-height: 1.5;
}

.express-post-button {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    border: none;
    border-radius: 16px;
    padding: 18px 24px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.express-post-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    background: rgba(255, 255, 255, 1);
}

.express-post-button:active {
    transform: translateY(0);
}

/* Express Loading Animation */
.express-loading {
    padding: 24px 0;
}

.express-loading-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.express-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.express-loading-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.express-loading-step {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0 0 16px 0;
}

.express-progress-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.3);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Express Review Mode */
.express-review {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #10b981;
    position: relative;
}

.express-review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f3f4f6;
}

.express-review-header .express-icon {
    color: #10b981;
    margin-right: 16px;
}

.express-review-header h3 {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.express-review-content {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 24px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.express-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .express-actions {
        flex-direction: column;
    }
    
    .express-actions button {
        width: 100%;
    }
}

/* Code blocks */
pre {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.4;
}

/* File upload styling */
input[type="file"] {
    width: 100%;
}

input[type="file"]::-webkit-file-upload-button {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 12px;
}

input[type="file"]::-webkit-file-upload-button:hover {
    background: #2563eb;
}

/* Range slider styling */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: #e5e7eb;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Topic card animations */
.topic-card {
    transition: all 0.2s ease-in-out;
}

.topic-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* ==========================================
   PUBLIC BLOG SITE STYLES
   ========================================== */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.nav-brand {
    display: flex;
    flex-direction: column;
}

.brand-link {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1f2937;
    text-decoration: none;
}

.brand-tagline {
    font-size: 0.875rem;
    color: #6b7280;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #3b82f6;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

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

.hero-placeholder {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-placeholder span {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.hero-placeholder small {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.cta-button.primary {
    background: #3b82f6;
    color: white;
}

.cta-button.primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: #3b82f6;
    border-color: #3b82f6;
}

.cta-button.secondary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-1px);
}

/* Sections */
.expertise-section, .latest-posts, .newsletter-section {
    padding: 80px 0;
}

.expertise-section {
    background: #f9fafb;
}

.expertise-section h2, .latest-posts h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* On larger screens, center the 4th item when it's alone */
@media (min-width: 769px) {
    .expertise-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .expertise-card:nth-child(4) {
        grid-column: 2;
    }
}

.expertise-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.expertise-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.expertise-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.expertise-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Blog Posts */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 1.5rem;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.post-meta {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.post-title {
    margin-bottom: 1rem;
}

.post-title a {
    color: #1f2937;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.post-title a:hover {
    color: #3b82f6;
}

.post-excerpt {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.read-more:hover {
    color: #2563eb;
}

.section-cta {
    text-align: center;
}

/* Newsletter Section */
.newsletter-section {
    background: #1f2937;
    color: white;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Page Headers */
.page-header {
    background: #f9fafb;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.page-header p {
    font-size: 1.25rem;
    color: #6b7280;
}

/* Blog Pages */
.blog-content {
    padding: 60px 0;
}

.blog-grid {
    display: grid;
    gap: 3rem;
}

.blog-post-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.blog-post-card .post-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blog-post-card .post-title a {
    font-size: 1.5rem;
}

.blog-sidebar {
    background: #f9fafb;
    padding: 40px 0;
}

.sidebar-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.sidebar-section {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.sidebar-section h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.social-links {
    list-style: none;
}

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

.social-links a {
    color: #3b82f6;
    text-decoration: none;
}

.social-links a:hover {
    text-decoration: underline;
}

/* Individual Blog Post */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    padding: 60px 0 40px;
    text-align: center;
}

.post-header .post-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
    line-height: 1.2;
}

.author-info {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.author-details {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.author-name {
    font-weight: 600;
    color: #1f2937;
}

.author-title {
    font-size: 0.875rem;
    color: #6b7280;
}

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

.prose {
    line-height: 1.8;
    color: #374151;
}

.prose h1, .prose h2, .prose h3 {
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.prose h1 {
    font-size: 2rem;
}

.prose h2 {
    font-size: 1.75rem;
}

.prose h3 {
    font-size: 1.5rem;
}

.prose p {
    margin-bottom: 1.5rem;
}

.prose ul, .prose ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose blockquote {
    border-left: 4px solid #3b82f6;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6b7280;
}

.prose code {
    background: #f3f4f6;
    padding: 0.25rem 0.375rem;
    border-radius: 4px;
    font-size: 0.875rem;
    color: #d97706;
}

.prose pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.prose pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.prose a {
    color: #3b82f6;
    text-decoration: underline;
}

.prose a:hover {
    color: #2563eb;
}

/* Post Footer */
.post-footer {
    padding: 40px 0;
    border-top: 1px solid #e5e7eb;
}

.post-tags {
    margin-bottom: 2rem;
}

.tags-label {
    font-weight: 600;
    margin-right: 0.5rem;
    color: #1f2937;
}

.tag {
    display: inline-block;
    background: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.post-sharing {
    margin-bottom: 3rem;
}

.post-sharing h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.sharing-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-button {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    color: white;
    transition: transform 0.2s ease;
}

.share-button:hover {
    transform: translateY(-1px);
}

.share-button.linkedin {
    background: #0077b5;
}

.share-button.twitter {
    background: #1da1f2;
}

.author-bio {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 8px;
}

.author-bio h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.author-bio p {
    margin-bottom: 1rem;
    color: #6b7280;
    line-height: 1.6;
}

.author-links a {
    color: #3b82f6;
    text-decoration: none;
}

.author-links a:hover {
    text-decoration: underline;
}

/* Related Posts */
.related-posts {
    background: #f9fafb;
    padding: 60px 0;
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.related-card:hover {
    transform: translateY(-2px);
}

.related-title a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 600;
}

.related-title a:hover {
    color: #3b82f6;
}

.related-meta {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.related-excerpt {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Newsletter CTA */
.newsletter-cta {
    background: #3b82f6;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* About Page */
.about-content {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.about-text .prose {
    max-width: none;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card, .platforms-card, .quote-card, .credentials {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.platform-links, .credential-list {
    list-style: none;
}

.platform-links li, .credential-list li {
    margin-bottom: 0.75rem;
}

.platform-links a {
    color: #3b82f6;
    text-decoration: none;
}

.platform-links a:hover {
    text-decoration: underline;
}

.quote-card blockquote {
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 1rem;
}

.quote-card cite {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Speaking Page */
.speaking-intro {
    padding: 60px 0;
    background: white;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.intro-content p {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.6;
}

.speaking-topics, .speaking-formats {
    padding: 60px 0;
}

.speaking-topics {
    background: #f9fafb;
}

.speaking-topics h2, .speaking-formats h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
}

.topics-grid, .formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.topic-card, .format-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.topic-card h3, .format-card h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.topic-card p, .format-card p {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.topic-points {
    list-style: none;
    color: #6b7280;
}

.topic-points li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
}

.topic-points li::before {
    content: '•';
    color: #3b82f6;
    position: absolute;
    left: 0;
}

/* Testimonials */
.testimonials {
    padding: 60px 0;
    background: #f9fafb;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
    color: #374151;
    line-height: 1.6;
}

.testimonial cite {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Booking Info */
.booking-info {
    padding: 60px 0;
}

.booking-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.booking-text h2 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.booking-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.included-list, .audience-list {
    color: #6b7280;
    line-height: 1.6;
}

.included-list li, .audience-list li {
    margin-bottom: 0.5rem;
}

.booking-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.booking-card, .availability-card {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.booking-card h3, .availability-card h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.contact-info, .direct-contact {
    margin-bottom: 1.5rem;
}

.location-info p {
    margin-bottom: 0.5rem;
    color: #6b7280;
}

/* Contact Page */
.contact-content {
    padding: 60px 0;
}

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

.contact-info h2 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.contact-methods {
    margin: 2rem 0;
}

.contact-method {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.contact-method h3 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.contact-details {
    margin-top: 1rem;
}

.contact-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    text-decoration: underline;
}

.response-info {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.response-info h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.response-info ul {
    color: #6b7280;
}

.response-info li {
    margin-bottom: 0.5rem;
}

.expertise-card, .social-card, .location-card {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.services-list {
    list-style: none;
}

.services-list li {
    margin-bottom: 1rem;
    color: #6b7280;
}

.services-list strong {
    color: #1f2937;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-cta {
    background: #1f2937;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Footer */
.site-footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-top: 1px solid #374151;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #e5e7eb;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .footer-nav {
        justify-content: center;
    }
    
    .nav-menu {
        display: none;
    }
}

/* No Posts Message */
.no-posts {
    text-align: center;
    padding: 4rem 0;
}

.no-posts h2 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.no-posts p {
    color: #6b7280;
    font-size: 1.125rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .about-grid, .contact-grid, .booking-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .posts-grid, .related-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .sharing-buttons {
        justify-content: center;
    }
    
    .post-header .post-title {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .sidebar-content {
        grid-template-columns: 1fr;
    }
}
