/*
Theme Name: Walking the World
Description: Custom WordPress theme for lilieni.com - a performance-optimized, reusable theme built for AI engineering career development and personal branding. Features blog content, case studies portfolio, and hidden WooCommerce infrastructure.
Author: Lilian
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: walking-the-world
Tags: custom-header, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, portfolio, e-commerce

Walking the World WordPress Theme
Built for reusability across multiple future projects
Performance-first architecture with Tailwind CSS
Content-first design with subtle textural elements
Japanese minimalism meets tropical modernism
*/

/* Google Fonts - Space Mono for body text */
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Londrina+Solid:wght@400&display=swap');

/* Basic theme styles for immediate functionality */
body {
    font-family: 'Space Mono', monospace;
    font-weight: 400;
    line-height: 1.65;
    color: #2C2C2C;
    font-size: 16px;
}

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

/* Enhanced Header Styles - Space Mono Font Integration */
.site-header {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 50;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px; /* Increased from 64px/80px to add 30px total */
    padding: 15px 0; /* 15px top and bottom padding */
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    margin: 0;
}

.site-title a {
    font-family: 'Londrina Solid', cursive;
    text-decoration: none;
    color: #2D4A2B;
    font-weight: 400;
    font-size: 1.75rem;
    transition: color 0.3s ease;
}

.site-title a:hover {
    color: #1F3319;
}

.custom-logo {
    height: 2.5rem;
    width: auto;
    max-width: none;
}

@media (min-width: 768px) {
    .custom-logo {
        height: 3rem;
    }
}

/* Header Navigation and Social */
.header-nav-social {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-navigation {
    display: none;
}

@media (min-width: 768px) {
    .main-navigation {
        display: block;
    }
}

.main-nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav-menu li {
    margin: 0;
}

.main-nav-menu a {
    font-family: 'Space Mono', monospace;
    text-decoration: none;
    color: #5A5D52;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav-menu a:hover {
    color: #2D4A2B;
}

.main-nav-menu a:hover::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: #2D4A2B;
    border-radius: 1px;
}

/* Current/Active Menu Item Styling */
.main-nav-menu .current-menu-item > a,
.main-nav-menu .current_page_item > a,
.main-nav-menu .current-menu-parent > a,
.main-nav-menu .current-menu-ancestor > a,
.main-nav-menu .current_page_parent > a,
.main-nav-menu .current_page_ancestor > a {
    font-weight: 700;
    color: #2D4A2B;
    background: rgba(45, 74, 43, 0.08);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    position: relative;
}

/* Remove hover underline for active items since they already have background */
.main-nav-menu .current-menu-item > a:hover::after,
.main-nav-menu .current_page_item > a:hover::after,
.main-nav-menu .current-menu-parent > a:hover::after {
    display: none;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    color: #686C4B;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: #2D4A2B;
    transform: translateY(-1px);
}

.social-icon svg {
    width: 100%;
    height: 100%;
}

/* Mobile Menu Button */
.mobile-menu-toggle {
    display: block;
    padding: 0.5rem;
    color: #5A5D52;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle:hover {
    color: #2D4A2B;
}

.hamburger-svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Mobile Menu */
.mobile-menu {
    background: white;
    border-top: 1px solid rgba(45, 74, 43, 0.1);
    padding: 1rem 0;
}

@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
    }
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-nav-menu a {
    font-family: 'Space Mono', monospace;
    text-decoration: none;
    color: #5A5D52;
    font-size: 1rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.mobile-nav-menu a:hover {
    color: #2D4A2B;
}

/* Current/Active Menu Item Styling for Mobile */
.mobile-nav-menu .current-menu-item > a,
.mobile-nav-menu .current_page_item > a,
.mobile-nav-menu .current-menu-parent > a,
.mobile-nav-menu .current-menu-ancestor > a,
.mobile-nav-menu .current_page_parent > a,
.mobile-nav-menu .current_page_ancestor > a {
    font-weight: 700;
    color: #2D4A2B;
    background: rgba(45, 74, 43, 0.08);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin: 0 -1rem;
}

/* Hero Page Template - Side by Side Layout */
.page-template-page-hero .hero-section {
    min-height: 85vh;
    background: #F9F7F4;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-template-page-hero .hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.page-template-page-hero .hero-content {
    display: grid;
    grid-template-columns: 60% 40%;
    align-items: center;
    min-height: 85vh;
    gap: 0;
}

/* Hero Image (Left 60%) */
.page-template-page-hero .hero-image {
    width: 100%;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-template-page-hero .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Hero Text (Right 40%) */
.page-template-page-hero .hero-text {
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-category {
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    font-weight: 400;
    color: #686C4B;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: 'Londrina Solid', cursive;
    font-size: 4rem;
    color: #2D4A2B;
    margin: 0 0 1.5rem 0;
    line-height: 1.1;
}

.hero-subtitle {
    font-family: 'Space Mono', monospace;
    font-size: 1.25rem;
    color: #5A5D52;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.hero-description {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    color: #2C2C2C;
    line-height: 1.6;
    margin: 0;
}

/* Tablet Layout (768px - 1199px) - 50/50 Split */
@media (max-width: 1199px) and (min-width: 768px) {
    .page-template-page-hero .hero-content {
        grid-template-columns: 50% 50%;
    }
    
    .page-template-page-hero .hero-text {
        padding: 2rem;
    }
    
    .page-template-page-hero .hero-title {
        font-size: 3.5rem;
    }
    
    .page-template-page-hero .hero-subtitle {
        font-size: 1.125rem;
    }
}

/* Mobile Layout (767px and below) - Stacked Vertically */
@media (max-width: 767px) {
    .page-template-page-hero .hero-section {
        min-height: auto;
    }
    
    .page-template-page-hero .hero-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        min-height: auto;
    }
    
    .page-template-page-hero .hero-image {
        height: 50vh;
        min-height: 300px;
    }
    
    .page-template-page-hero .hero-text {
        padding: 2rem 1rem;
        text-align: center;
    }
    
    .page-template-page-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .page-template-page-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .page-template-page-hero .hero-description {
        font-size: 0.875rem;
    }
}

/* Blog Carousel Section */
.blog-carousel-section {
    padding: 4rem 0;
    background: white;
}

.carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.carousel-title {
    font-family: 'Londrina Solid', cursive;
    font-size: 2rem;
    color: #2D4A2B;
    text-align: center;
    margin-bottom: 3rem;
}

.blog-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.blog-carousel {
    overflow: hidden;
    flex: 1;
}

.carousel-track {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.3s ease;
}

.carousel-card {
    flex: 0 0 calc(25% - 0.9375rem);
    background: #F9F7F4;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.carousel-card:hover {
    transform: translateY(-5px);
}

.carousel-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.carousel-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.carousel-card-content {
    padding: 1.25rem;
}

.carousel-card-category {
    margin-bottom: 0.5rem;
}

.carousel-card-category .category-link {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: #686C4B;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.carousel-card-title {
    font-family: 'Londrina Solid', cursive;
    font-size: 1.5rem;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.carousel-card-title a {
    color: #2D4A2B;
    text-decoration: none;
    transition: color 0.3s ease;
}

.carousel-card-title a:hover {
    color: #686C4B;
}

.carousel-card-meta {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: #5A5D52;
}

/* Carousel Navigation */
.carousel-nav {
    background: white;
    border: 2px solid #2D4A2B;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.carousel-nav:hover:not(:disabled) {
    background: #2D4A2B;
    color: white;
}

.carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-nav svg {
    width: 20px;
    height: 20px;
}

/* Carousel Footer */
.carousel-footer {
    text-align: center;
    margin-top: 3rem;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    color: #2D4A2B;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 2px solid #2D4A2B;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    background: #2D4A2B;
    color: white;
}

.view-all-link .arrow-icon {
    width: 20px;
    height: 20px;
}

/* Responsive Carousel */
@media (max-width: 1023px) {
    .carousel-card {
        flex: 0 0 calc(50% - 0.625rem);
    }
}

@media (max-width: 767px) {
    .carousel-card {
        flex: 0 0 100%;
    }
    
    .carousel-track {
        gap: 1rem;
    }
}

/* Original Hero Section Styles (for other pages) */
.hero-section {
    min-height: 70vh;
    background: linear-gradient(135deg, #F9F7F4 0%, rgba(249, 247, 244, 0.9) 100%);
    display: flex;
    align-items: center;
    padding: 1.2rem 0;
    position: relative;
    overflow: hidden;
}

.hero-container:not(.front-page .hero-container) {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.hero-content:not(.front-page .hero-content) {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 60vh;
}

@media (min-width: 1024px) {
    .hero-content:not(.front-page .hero-content) {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.hero-text {
    z-index: 2;
}

.hero-category {
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    font-weight: 400;
    color: #686C4B;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-title:not(.front-page .hero-title) {
    font-family: 'Londrina Solid', cursive;
    font-size: 4rem;
    font-weight: 400;
    color: #2D4A2B;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 6rem;
    }
}

.hero-subtitle {
    font-family: 'Space Mono', monospace;
    font-size: 1.25rem;
    color: #5A5D52;
    margin-bottom: 2rem;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.375rem;
    }
}

.hero-description {
    font-family: 'Space Mono', monospace;
    font-size: 22px;
    line-height: 1.7;
    color: #2C2C2C;
    max-width: 32rem;
}

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

.hero-visual-content {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-visual-content {
        height: 500px;
    }
}

/* About Page Visual */
.visual-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(45, 74, 43, 0.1);
    position: relative;
    z-index: 3;
    max-width: 280px;
    transform: rotate(-2deg);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-title {
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    font-weight: 700;
    color: #2D4A2B;
}

.card-badge {
    background: #2D4A2B;
    color: white;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-item {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: #5A5D52;
    padding: 0.375rem 0;
    border-bottom: 1px solid rgba(45, 74, 43, 0.1);
}

.skill-item:last-child {
    border-bottom: none;
}

.floating-element {
    position: absolute;
    background: rgba(45, 74, 43, 0.05);
    border-radius: 50%;
}

.element-1 {
    width: 60px;
    height: 60px;
    top: 10%;
    right: 20%;
    animation: float 6s ease-in-out infinite;
}

.element-2 {
    width: 40px;
    height: 40px;
    bottom: 15%;
    left: 10%;
    animation: float 8s ease-in-out infinite reverse;
}

.element-3 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 10%;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Portfolio Page Visual */
.portfolio-showcase {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.showcase-item {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(45, 74, 43, 0.08);
    flex: 1;
}

.item-image {
    height: 120px;
    background: linear-gradient(135deg, #2D4A2B 0%, #686C4B 100%);
    border-radius: 6px;
    margin-bottom: 0.75rem;
    position: relative;
}

.item-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 2px solid white;
    border-radius: 4px;
}

.item-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.item-title {
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    font-weight: 700;
    color: #2D4A2B;
}

.item-category {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: #686C4B;
}

.portfolio-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.control-slider {
    width: 200px;
    height: 4px;
    background: rgba(45, 74, 43, 0.1);
    border-radius: 2px;
    position: relative;
}

.control-slider::after {
    content: '';
    position: absolute;
    left: 60%;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #2D4A2B;
    border-radius: 50%;
}

.control-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toggle-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    color: #2D4A2B;
}

.toggle-switch {
    width: 40px;
    height: 20px;
    background: #2D4A2B;
    border-radius: 10px;
    position: relative;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    right: 2px;
    top: 2px;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
}

/* Workshop Page Visual */
.workshop-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 300px;
}

.grid-item {
    background: white;
    border-radius: 8px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(45, 74, 43, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-4px);
}

.tool-icon {
    width: 32px;
    height: 32px;
    background: #2D4A2B;
    border-radius: 6px;
    position: relative;
}

.tool-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-radius: 2px;
}

.tool-name {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: #5A5D52;
    font-weight: 400;
}

/* Page Content Section */
.page-content-section {
    padding: 4rem 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper p {
    font-family: 'Space Mono', monospace;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.content-wrapper h2,
.content-wrapper h3,
.content-wrapper h4 {
    font-family: 'Londrina Solid', cursive;
    color: #2D4A2B;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.content-wrapper h2 { font-size: 2.5rem; }
.content-wrapper h3 { font-size: 2rem; }
.content-wrapper h4 { font-size: 1.5rem; }

/* Case Studies Section (Portfolio Page) */
.case-studies-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(249, 247, 244, 0.5) 0%, rgba(249, 247, 244, 0.8) 100%);
}

.case-studies-header {
    text-align: center;
    margin-bottom: 4rem;
}

.case-studies-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.filter-btn {
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border: 1px solid #686C4B;
    background: transparent;
    color: #686C4B;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #2D4A2B;
    border-color: #2D4A2B;
    color: white;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .case-studies-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.case-study-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(45, 74, 43, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.case-study-card:hover {
    box-shadow: 0 8px 24px rgba(45, 74, 43, 0.15);
    transform: translateY(-4px);
}

.case-study-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.case-study-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-study-card:hover .case-study-thumbnail {
    transform: scale(1.05);
}

.case-study-content {
    padding: 1.5rem;
}

.case-study-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.case-study-pillars .pillar-tag {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    background: rgba(45, 74, 43, 0.1);
    color: #2D4A2B;
    border-radius: 12px;
    text-decoration: none;
}

.case-study-title {
    font-family: 'Londrina Solid', cursive;
    font-size: 1.375rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.case-study-title a {
    color: #2D4A2B;
    text-decoration: none;
    transition: color 0.3s ease;
}

.case-study-title a:hover {
    color: #1F3319;
}

.case-study-excerpt {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #5A5D52;
    margin-bottom: 1.25rem;
}

.case-study-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.read-case-study {
    display: inline-flex;
    align-items: center;
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2D4A2B;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-case-study:hover {
    color: #1F3319;
}

.case-study-arrow {
    width: 1rem;
    height: 1rem;
    margin-left: 0.375rem;
    transition: transform 0.3s ease;
}

.read-case-study:hover .case-study-arrow {
    transform: translateX(3px);
}

/* No Case Studies State */
.no-case-studies {
    text-align: center;
    padding: 4rem 2rem;
}

.no-case-studies-content h3 {
    font-family: 'Londrina Solid', cursive;
    font-size: 2rem;
    color: #2D4A2B;
    margin-bottom: 1rem;
}

.no-case-studies-content p {
    font-family: 'Space Mono', monospace;
    color: #5A5D52;
    max-width: 28rem;
    margin: 0 auto;
}

/* Filter Animation */
.case-study-card {
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
}

.case-study-card.filtered-out {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

/* Blog No-Hero Clean Design */
.blog-no-hero {
    padding-top: 2.2rem;
}

.blog-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Featured Post (First Post) */
.featured-post {
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(45, 74, 43, 0.1);
    padding-bottom: 3rem;
}

.featured-post-image {
    margin-bottom: 2rem;
}

.featured-thumbnail {
    width: 100%;
    height: auto;
    border-radius: 8px;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.featured-post-content {
    max-width: 600px;
}

.featured-post-category {
    margin-bottom: 1rem;
}

.category-link {
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    font-weight: 400;
    color: #686C4B;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.category-link:hover {
    color: #2D4A2B;
}

.featured-post-title {
    font-family: 'Londrina Solid', cursive;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2D4A2B;
}

@media (min-width: 768px) {
    .featured-post-title {
        font-size: 3rem;
    }
}

.featured-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-post-title a:hover {
    color: #1F3319;
}

.featured-post-excerpt {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    line-height: 1.6;
    color: #5A5D52;
    margin-bottom: 2rem;
    max-width: 600px;
}

.featured-post-excerpt p {
    margin-bottom: 0;
}

.featured-post-author-date {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
    gap: 1rem;
}

.author-avatar {
    flex-shrink: 0;
}

.author-image {
    width: 48px;
    height: 48px;
    border-radius: 50% !important;
    object-fit: cover;
}

.author-date-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    font-weight: 400;
    color: #2D4A2B;
}

.post-date {
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    color: #686C4B;
}

.post-author {
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    font-weight: 400;
    color: #5A5D52;
    letter-spacing: 0.05em;
}

/* Blog Posts Grid (2-Column) */
.blog-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem 3rem;
    }
}

/* Grid Post Styling */
.grid-post {
    border-bottom: 1px solid rgba(45, 74, 43, 0.08);
    padding-bottom: 2rem;
}

.grid-post:hover .grid-thumbnail {
    transform: scale(1.02);
}

.grid-post-image {
    margin-bottom: 1rem;
    overflow: hidden;
}

.grid-thumbnail {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.grid-post-content {
    max-width: 100%;
}

.grid-post-category {
    margin-bottom: 0.75rem;
}

.grid-post-title {
    font-family: 'Londrina Solid', cursive;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: #2D4A2B;
}

@media (min-width: 768px) {
    .grid-post-title {
        font-size: 2rem;
    }
}

.grid-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.grid-post-title a:hover {
    color: #1F3319;
}

.grid-post-excerpt {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #5A5D52;
    margin-bottom: 1.5rem;
}

.grid-post-author-date {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    gap: 0.875rem;
}

.grid-post-meta {
    margin-top: 1rem;
}

/* Content Pillar Archive Pages */
.pillar-archive .blog-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.pillar-header {
    margin: -2rem -1.5rem 3rem -1.5rem;
    padding: 0;
}

@media (min-width: 768px) {
    .pillar-header {
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }
}

.pillar-title {
    background: rgba(45, 74, 43, 0.08);
    padding: 1.5rem;
    margin: 0;
    font-family: 'Londrina Solid', cursive;
    font-size: 1.4rem;
    font-weight: 400;
    color: #2D4A2B;
    text-align: left;
}

@media (min-width: 768px) {
    .pillar-title {
        padding-left: calc(50vw - 500px + 1.5rem);
        padding-right: calc(50vw - 500px + 1.5rem);
    }
}

@media (min-width: 1200px) {
    .pillar-title {
        padding-left: calc(50vw - 500px);
        padding-right: calc(50vw - 500px);
    }
}

.pillar-archive .blog-posts-grid {
    margin: 3rem auto 0;
    max-width: 1000px;
}

/* Page Template Styling */
.page-template {
    background: #F9F7F4;
}

.page-article {
    background: #F9F7F4;
}

.page-header {
    background: rgba(45, 74, 43, 0.08);
    padding: 0;
    margin: 0;
}

.page-title {
    padding: 1.5rem;
    margin: 0;
    font-family: 'Londrina Solid', cursive;
    font-size: 1.4rem;
    font-weight: 400;
    color: #2D4A2B;
    text-align: left;
    max-width: 924px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .page-title {
        padding: 1.5rem 2rem;
    }
}

.page-content-area {
    max-width: 924px;
    margin: 0 auto;
    padding: 0;
}

.page-featured-image {
    margin: 3rem 0 2rem;
    padding: 0 1.5rem;
}

.page-featured-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.page-content {
    padding: 2rem 0;
}

.page-content .single-post-container {
    max-width: 924px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.page-content .post-content-wrapper {
    font-family: 'Space Mono', monospace;
    color: #2C2C2C;
    line-height: 1.8;
    font-size: 1rem;
}

/* Page content typography - same as single posts */
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    font-family: 'Londrina Solid', cursive;
    color: #2D4A2B;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

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

.page-content h3 {
    font-size: 1.5rem;
}

.page-content p {
    margin-bottom: 1.5rem;
}

.page-content ul,
.page-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content a {
    color: #2D4A2B;
    text-decoration: underline;
    text-decoration-color: rgba(45, 74, 43, 0.3);
    transition: text-decoration-color 0.3s ease;
}

.page-content a:hover {
    text-decoration-color: #2D4A2B;
}

.page-content blockquote {
    border-left: 3px solid #2D4A2B;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #5A5D52;
}

.page-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(45, 74, 43, 0.1);
    font-family: 'Space Mono', monospace;
}

/* Pagination Styling for Clean Design */
.pagination-nav {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(45, 74, 43, 0.1);
}

.pagination-nav .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.pagination-nav .page-numbers {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    color: #686C4B;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(104, 108, 75, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination-nav .page-numbers:hover,
.pagination-nav .page-numbers.current {
    background: #2D4A2B;
    border-color: #2D4A2B;
    color: white;
}

.pagination-nav .prev,
.pagination-nav .next {
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .blog-container {
        padding: 0 1rem;
    }
    
    .featured-post {
        margin-bottom: 3rem;
        padding-bottom: 2rem;
    }
    
    .blog-posts-grid {
        gap: 2rem;
    }
    
    .grid-post {
        padding-bottom: 1.5rem;
    }
}

/* Single Post Styles */
.single-post-main {
    padding-top: 1.2rem;
}

/* Remove card styling from single post article */
.single-post-article,
article.single-post-article,
.single-post-main article,
.single-post-main .single-post-article,
.single article,
body.single article,
body.single-post article,
.single .entry-content,
.single .post,
.single .hentry {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 924px;
}

.single-post-container {
    max-width: 924px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* Single Post Header (Above Featured Image) */
.single-post-header {
    padding-bottom: 3rem;
    margin: 0 auto;
    max-width: 924px;
    width: 100%;
}

.single-post-category {
    margin-bottom: 1.5rem;
}

.single-post-category a {
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    font-weight: 400;
    color: #686C4B;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.single-post-category a:hover {
    color: #2D4A2B;
}

.single-post-title {
    font-family: 'Londrina Solid', cursive;
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.2;
    color: #2D4A2B;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .single-post-title {
        font-size: 3.5rem;
    }
}

.single-post-excerpt {
    font-family: 'Space Mono', monospace;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #5A5D52;
    margin-bottom: 2rem;
    max-width: 600px;
}

.single-post-excerpt p {
    margin-bottom: 0;
}

.single-post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.meta-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.author-name {
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    font-weight: 400;
    color: #2D4A2B;
    letter-spacing: 0.05em;
}

.post-meta-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    color: #686C4B;
}

.meta-separator {
    opacity: 0.6;
}

.comment-link a {
    color: #686C4B;
    text-decoration: none;
    transition: color 0.3s ease;
}

.comment-link a:hover {
    color: #2D4A2B;
}

.post-category {
    color: #686C4B;
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
}

/* Single Post Featured Image */
.single-post-featured-image {
    margin: 0 auto 3rem auto;
    max-width: 924px;
    width: 100%;
}

.single-featured-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 8px;
}

/* Single Post Content */
.single-post-content {
    margin: 1.5rem auto 4rem auto;
    max-width: 924px;
    width: 100%;
    background: transparent !important;
}

.single-post-content,
.single-post-content *,
.single-post-container,
.single-post-container *,
.post-content-wrapper,
.post-content-wrapper * {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.post-content-wrapper {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    line-height: 1.7;
    color: #2C2C2C;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Override any content-wrapper constraints for single posts */
.single .content-wrapper,
.single-post .content-wrapper,
.single .post-content-wrapper,
.single-post .post-content-wrapper {
    max-width: 100% !important;
    width: 100% !important;
}

/* Override WordPress default content width constraints */
.single .entry-content,
.single-post .entry-content,
.single .post-content,
.single-post .post-content,
.single .wp-block-group,
.single-post .wp-block-group,
.single .wp-block-group__inner-container,
.single-post .wp-block-group__inner-container,
.single .has-global-padding,
.single-post .has-global-padding,
.single .wp-block-columns,
.single-post .wp-block-columns,
.entry-content > *,
.post-content > *,
.post-content-wrapper > * {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.post-content-wrapper h2,
.post-content-wrapper h3,
.post-content-wrapper h4 {
    font-family: 'Londrina Solid', cursive;
    color: #2D4A2B;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.post-content-wrapper h2 { font-size: 2.25rem; }
.post-content-wrapper h3 { font-size: 1.875rem; }
.post-content-wrapper h4 { font-size: 1.5rem; }

.post-content-wrapper p {
    margin-bottom: 1.5rem;
}

.post-content-wrapper a {
    color: #2D4A2B;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.post-content-wrapper a:hover {
    color: #1F3319;
}

/* Related Posts Section */
.related-posts-section {
    margin-bottom: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(45, 74, 43, 0.1);
}

.related-posts-title {
    font-family: 'Londrina Solid', cursive;
    font-size: 1.875rem;
    color: #2D4A2B;
    margin-bottom: 1.5rem;
}

.related-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-post-item {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.related-post-item::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #686C4B;
    font-family: 'Space Mono', monospace;
    font-weight: 400;
}

.related-post-item a {
    font-family: 'Space Mono', monospace;
    font-size: 0.95rem;
    color: #2D4A2B;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-item a:hover {
    color: #1F3319;
    text-decoration: underline;
}

/* Comments Section */
.comments-section {
    margin-bottom: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(45, 74, 43, 0.1);
}

.comments-title {
    font-family: 'Londrina Solid', cursive;
    font-size: 1.875rem;
    color: #2D4A2B;
    margin-bottom: 2rem;
}

/* Comment Form Styling */
.comment-respond {
    margin-bottom: 3rem;
}

.comment-reply-title {
    font-family: 'Londrina Solid', cursive;
    font-size: 1.5rem;
    color: #2D4A2B;
    margin-bottom: 1rem;
}

.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    color: #5A5D52;
    display: block;
    margin-bottom: 0.5rem;
}

.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    border: 1px solid rgba(45, 74, 43, 0.25) !important;
    border-radius: 6px;
    background: rgba(249, 247, 244, 0.6) !important;
    transition: all 0.3s ease;
    box-shadow: none !important;
}

.comment-form-comment textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-form-comment textarea:focus,
.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus {
    outline: none;
    border-color: #2D4A2B;
}

.comment-form .form-submit {
    margin-top: 1rem;
}

.comment-form .submit,
.comment-form input[type="submit"],
.comment-form button[type="submit"],
input#submit {
    background: #2D4A2B !important;
    color: white !important;
    padding: 0.75rem 2rem !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.comment-form .submit:hover,
.comment-form input[type="submit"]:hover,
.comment-form button[type="submit"]:hover,
input#submit:hover {
    background: #1F3319 !important;
    transform: translateY(-1px);
}

/* Comment List */
.comment-list {
    list-style: none;
    list-style-type: none;
    padding: 0;
    margin: 0;
    counter-reset: none;
}

.comment-list li {
    list-style: none;
    list-style-type: none;
}

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

.comment-list ul li {
    list-style: none;
    list-style-type: none;
}

.comment,
.comment-body,
article.comment-body,
.comment .comment-body {
    margin-bottom: 2rem;
    padding: 1rem !important;
    background: rgba(249, 247, 244, 0.15) !important;
    border-radius: 6px !important;
    border: 1px solid rgba(45, 74, 43, 0.04) !important;
    box-shadow: none !important;
}

/* Override any WordPress default comment styling */
.comments-area .comment,
.comments-area .comment-body,
.comments-area article.comment-body,
.comment-list .comment,
.comment-list .comment-body {
    background: rgba(249, 247, 244, 0.15) !important;
    border: 1px solid rgba(45, 74, 43, 0.04) !important;
    box-shadow: none !important;
    border-radius: 6px !important;
    padding: 1rem !important;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.comment-author img {
    border-radius: 50% !important;
}

.comment-author .fn {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2D4A2B;
}

.comment-metadata {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: #686C4B;
    margin-bottom: 1rem;
}

.comment-metadata a {
    color: inherit;
    text-decoration: none;
}

.comment-content p {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #2C2C2C;
    margin-bottom: 0;
}

.reply {
    margin-top: 0.75rem;
}

.comment-reply-link {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: #686C4B;
    text-decoration: none;
    transition: color 0.3s ease;
}

.comment-reply-link:hover {
    color: #2D4A2B;
}

/* Remove old card styles on blog page */
.blog-no-hero .post-excerpt-card {
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    border: none;
}

/* Enhanced Post Excerpt Card Styles */
.post-excerpt-card {
    background: 
        linear-gradient(135deg, rgba(249, 247, 244, 0.95) 0%, rgba(249, 247, 244, 1) 100%),
        linear-gradient(45deg, rgba(45, 74, 43, 0.02) 0%, rgba(104, 108, 75, 0.02) 100%);
    border-radius: 12px;
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: 
        0 4px 12px rgba(45, 74, 43, 0.08),
        0 2px 4px rgba(45, 74, 43, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(45, 74, 43, 0.08);
}

.post-excerpt-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(45, 74, 43, 0.1) 50%, 
        transparent 100%);
    pointer-events: none;
}

.post-excerpt-card:hover {
    box-shadow: 
        0 12px 32px rgba(45, 74, 43, 0.12),
        0 6px 12px rgba(45, 74, 43, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    border-color: rgba(45, 74, 43, 0.12);
}

.post-excerpt-layout {
    display: flex;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .post-excerpt-layout {
        flex-direction: row;
    }
}

.post-excerpt-image {
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .post-excerpt-image {
        width: 33.333%;
    }
}

@media (min-width: 1280px) {
    .post-excerpt-image {
        width: 25%;
    }
}

.post-excerpt-image-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.post-excerpt-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    aspect-ratio: 16/9;
}

@media (min-width: 1024px) {
    .post-excerpt-thumbnail {
        aspect-ratio: 4/3;
        height: 280px;
    }
}

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

.post-excerpt-content {
    flex: 1;
    padding: 2rem;
    background: 
        linear-gradient(135deg, rgba(249, 247, 244, 0.98) 0%, rgba(249, 247, 244, 1) 100%),
        radial-gradient(circle at 25% 25%, rgba(45, 74, 43, 0.01) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(104, 108, 75, 0.01) 0%, transparent 50%);
    position: relative;
}

.post-excerpt-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(45, 74, 43, 0.008) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(104, 108, 75, 0.008) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0.7;
}

.post-excerpt-header {
    margin-bottom: 1.5rem;
}

.post-excerpt-pillar {
    margin-bottom: 0.75rem;
}

.pillar-tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    font-family: 'Syne Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: #2D4A2B;
    background: rgba(45, 74, 43, 0.1);
    border: 1px solid rgba(45, 74, 43, 0.2);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pillar-tag:hover {
    background: rgba(45, 74, 43, 0.15);
    border-color: rgba(45, 74, 43, 0.3);
    color: #1F3319;
}

.post-excerpt-title {
    font-family: 'Londrina Solid', cursive;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

@media (min-width: 1024px) {
    .post-excerpt-title {
        font-size: 2rem;
    }
}

.post-excerpt-title a {
    color: #2D4A2B;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-excerpt-title a:hover {
    color: #1F3319;
}

.post-excerpt-meta {
    display: flex;
    align-items: center;
    font-family: 'Syne Mono', monospace;
    font-size: 0.875rem;
    color: #5A5D52;
    margin-bottom: 1.25rem;
}

.meta-separator {
    margin: 0 0.5rem;
    opacity: 0.6;
}

.reading-time {
    color: #686C4B;
}

.post-excerpt-summary {
    font-family: 'Syne Mono', monospace;
    font-size: 1rem;
    line-height: 1.7;
    color: #2C2C2C;
    margin-bottom: 1.5rem;
}

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

@media (max-width: 640px) {
    .post-excerpt-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    font-family: 'Syne Mono', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2D4A2B;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    color: #1F3319;
}

.read-more-arrow {
    width: 1rem;
    height: 1rem;
    margin-left: 0.375rem;
    transition: transform 0.3s ease;
}

.read-more-link:hover .read-more-arrow {
    transform: translateX(3px);
}

.post-excerpt-tags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .post-excerpt-tags {
        display: none;
    }
}

.tag-link {
    font-family: 'Syne Mono', monospace;
    font-size: 0.75rem;
    color: #686C4B;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tag-link:hover {
    color: #5A5D52;
}

/* Legacy post-card styles for backward compatibility */
.post-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.entry-title a {
    text-decoration: none;
    color: #333;
}

.entry-title a:hover {
    color: #2D4A2B;
}

/* Minimal Footer Styles */
.minimal-footer {
    background: #2D4A2B;
    color: white;
    margin-top: 4rem;
    font-family: 'Space Mono', monospace;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px; /* Same height as header */
    padding: 15px 0; /* Same padding as header */
}

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

.footer-copyright {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    color: #F9F7F4;
    opacity: 0.9;
}

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

@media (max-width: 768px) {
    .footer-nav-list {
        gap: 1.5rem;
    }
}

.footer-nav-list li {
    margin: 0;
}

.footer-nav-list a {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    color: #F9F7F4;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-nav-list a:hover {
    opacity: 1;
}

/* Blog Index Styles */
.latest-posts-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #F9F7F4 0%, rgba(249, 247, 244, 0.8) 100%);
}

.blog-header-container {
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.blog-title {
    font-family: 'Londrina Solid', cursive;
    font-size: 3rem;
    font-weight: 400;
    color: #2D4A2B;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 1024px) {
    .blog-title {
        font-size: 4rem;
    }
}

.blog-description {
    font-family: 'Syne Mono', monospace;
    font-size: 1.25rem;
    color: #5A5D52;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.content-pillars-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .content-pillars-nav {
        gap: 0.75rem;
    }
}

.posts-archive-section {
    padding: 4rem 0 5rem;
}

.posts-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1024px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .posts-grid {
        gap: 3.5rem;
    }
}

.pagination-nav {
    margin-top: 4rem;
    text-align: center;
}

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

.no-posts-container {
    max-width: 28rem;
    margin: 0 auto;
}

.no-posts-icon {
    width: 3rem;
    height: 3rem;
    color: #9CA3AF;
    margin: 0 auto 1rem;
}

.no-posts-title {
    font-family: 'Londrina Solid', cursive;
    font-size: 2rem;
    color: #2D4A2B;
    margin-bottom: 0.5rem;
}

.no-posts-description {
    font-family: 'Syne Mono', monospace;
    color: #686C4B;
    margin-bottom: 2rem;
}

/* Section Titles */
.section-title {
    font-family: 'Londrina Solid', cursive;
    font-size: 2.5rem;
    color: #2D4A2B;
    text-align: center;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-family: 'Syne Mono', monospace;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #2D4A2B;
    color: white;
}

.btn-primary:hover {
    background: #1F3319;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #686C4B;
    color: white;
}

.btn-secondary:hover {
    background: #5A5D52;
    transform: translateY(-1px);
}

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

/* 404 Error Page Styles */
.error-404-section {
    padding: 6rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #F9F7F4 0%, rgba(249, 247, 244, 0.8) 100%);
}

.error-404-container {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.error-404-number {
    font-family: 'Londrina Solid', cursive;
    font-size: 8rem;
    font-weight: 400;
    color: #2D4A2B;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.error-404-icon {
    width: 4rem;
    height: 4rem;
    color: #686C4B;
    margin: 0 auto 2rem;
}

.error-404-title {
    font-family: 'Londrina Solid', cursive;
    font-size: 3rem;
    color: #2D4A2B;
    margin-bottom: 1.5rem;
}

.error-404-description {
    font-family: 'Syne Mono', monospace;
    font-size: 1.125rem;
    color: #5A5D52;
    margin-bottom: 3rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.error-404-search,
.error-404-links,
.error-404-recent {
    margin-bottom: 3rem;
}

.error-404-search h3,
.error-404-links h3,
.error-404-recent h3 {
    font-family: 'Londrina Solid', cursive;
    font-size: 1.5rem;
    color: #2D4A2B;
    margin-bottom: 1rem;
}

.helpful-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 24rem;
    margin-left: auto;
    margin-right: auto;
}

.recent-posts-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(45, 74, 43, 0.1);
}

.recent-posts-list li:last-child {
    border-bottom: none;
}

.recent-posts-list a {
    font-family: 'Syne Mono', monospace;
    color: #2D4A2B;
    text-decoration: none;
    font-weight: 500;
}

.recent-posts-list a:hover {
    color: #1F3319;
}

.post-date {
    display: block;
    font-size: 0.875rem;
    color: #686C4B;
    margin-top: 0.25rem;
}

/* Front Page Hero Section - Side by Side Layout */
.front-page .hero-section {
    min-height: 70vh;
    background: #F9F7F4;
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

.front-page .hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    height: 70vh;
}

.front-page .hero-content {
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: stretch;
    height: 100%;
    gap: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: heroSlideUp 1.2s ease-out forwards;
}

/* Hero Slide Up Animation */
@keyframes heroSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.front-page .hero-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.front-page .hero-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

.front-page .hero-text {
    padding: 2rem;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.front-page .hero-category {
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    color: #686C4B;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.front-page .hero-title {
    font-family: 'Londrina Solid', cursive;
    font-size: 4.5rem;
    color: #2D4A2B;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 400;
}

.front-page .hero-subtitle {
    font-family: 'Space Mono', monospace;
    font-size: 1.125rem;
    color: #5A5D52;
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 400;
}

/* Tablet Layout (768px - 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    .front-page .hero-section {
        min-height: 60vh;
    }
    
    .front-page .hero-container {
        height: 60vh;
    }
    
    .front-page .hero-content {
        grid-template-columns: 50% 50%;
    }
    
    .front-page .hero-title {
        font-size: 3rem;
    }
    
    .front-page .hero-subtitle {
        font-size: 1rem;
    }
}

/* Mobile Layout (767px and below) */
@media (max-width: 767px) {
    .front-page .hero-section {
        min-height: auto;
        padding: 2rem 0;
        align-items: center;
    }
    
    .front-page .hero-container {
        height: auto;
    }
    
    .front-page .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        height: auto;
        align-items: center;
    }
    
    .front-page .hero-image {
        height: auto;
        align-items: center;
    }
    
    .front-page .hero-img {
        height: auto;
        max-height: 400px;
    }
    
    .front-page .hero-text {
        text-align: center;
        padding: 1rem;
        justify-content: center;
    }
    
    .front-page .hero-title {
        font-size: 2.5rem;
    }
    
    .front-page .hero-subtitle {
        font-size: 0.9rem;
    }
}