﻿/*
Theme Name: Hann Cabinet
Theme URI: http://hann.test
Author: Hann Cabinet
Description: Custom theme ported from the static Hann Cabinet website (kitchen and wardrobe cabinetry).
Version: 1.0.0
Text Domain: hann
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1C1A16;
    background-color: #FAF7F2;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

/* Colors */
:root {
    --primary-color: #B87A45;
    --secondary-color: #2C1810;
    --accent-color: #FAF7F2;
    --text-light: #7A6A5A;
    --whatsapp: #25D366;
    --whatsapp-hover: #1DB954;
    --background-light: #FAF7F2;
    --background-section: #F0E8DB;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2.5rem;
    }
}

/* Sections */
section:not(.elementor-section):not(.elementor-widget) {
    padding: 100px 0;
}

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

.section-subtitle {
    font-family: 'DM Mono', monospace;
    color: var(--primary-color);
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.section-title {
    color: var(--secondary-color);
    font-weight: 600;
}

.section-title em {
    font-style: italic;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--accent-color);
}

.btn-primary:hover {
    background: #9B6435;
}

.btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border: 1px solid rgba(250,247,242,0.4);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-link {
    font-family: 'Inter', sans-serif;
    color: #2C1810;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-decoration: none;
    border-bottom: 1px solid #B87A45;
    padding-bottom: 2px;
    transition: color 0.2s;
}

.btn-link:hover {
    color: #B87A45;
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: #FFFFFF;
    padding: 1.2rem 3rem;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 6px 24px rgba(37,211,102,0.35);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-2px);
}

/* Grid */
.grid {
    display: grid;
    gap: 1.5rem;
}

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

@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
    .md\:flex-row { flex-direction: row; }
    .md\:items-start { align-items: flex-start; }
    .md\:items-end { align-items: flex-end; }
    .md\:grid-cols-\[auto_1fr\] { grid-template-columns: auto 1fr; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
    .lg\:grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-8 { margin-top: 2rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.gap-px { gap: 1px; }
.mb-14 { margin-bottom: 3.5rem; }

/* Navigation */
main.hann-page {
    padding-top: 152px;
}
@media (max-width: 768px) {
    main.hann-page {
        padding-top: 136px;
    }
}
.navbar {
    background: #FFFFFF;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(44,24,16,0.08);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
}

.navbar-brand a {
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2C1810;
}

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

.nav-menu a {
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: #2C1810;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #B87A45;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #2C1810;
    margin: 2px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 100vh;
    min-height: 600px;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 2rem 5rem;
    max-width: 780px;
}

.hero-controls {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-dots {
    display: flex;
    gap: 0.5rem;
}

/* Portfolio Section */
.portfolio-item {
    background: #FFFFFF;
    border: 1px solid rgba(44,24,16,0.08);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}

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

/* Services Section */
.service-item {
    display: grid;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .service-item {
        grid-template-columns: 1fr 1fr;
    }
    
    .service-item:nth-child(even) {
        direction: rtl;
    }
    
    .service-item:nth-child(even) > div:first-child {
        direction: ltr;
    }
}

/* Testimonials */
.testimonial-slider {
    background: #FFFFFF;
    border: 1px solid rgba(44,24,16,0.08);
    padding: 3rem 2.5rem;
    position: relative;
    min-height: 300px;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* WhatsApp FAB */
.whatsapp-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 100;
}

.whatsapp-fab a {
    width: 56px;
    height: 56px;
    background: var(--whatsapp);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    transition: all 0.2s ease;
    text-decoration: none;
}

.whatsapp-fab a:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37,211,102,0.55);
}

/* Footer */
.site-footer {
    background: #2C1810;
    color: #FAF7F2;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(184,122,69,0.15);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 2.5rem;
    }
}

.footer-widget h3,
.footer-widget h4 {
    color: #FAF7F2;
    margin-bottom: 1.5rem;
}

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

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    color: rgba(250,247,242,0.75);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.82rem;
}

.footer-menu a:hover {
    color: #B87A45;
}

.footer-bottom {
    border-top: 1px solid rgba(250,247,242,0.06);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
}

.testimonial-slide {
    display: none;
}

.testimonial-slide:first-child {
    display: block;
}

.testimonial-controls button {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(44,24,16,0.2);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    color: #2C1810;
    border-radius: 0;
}

.testimonial-controls button:hover {
    border-color: #B87A45;
}

.testimonial-dot {
    width: 8px;
    height: 2px;
    background: rgba(44,24,16,0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
    border-radius: 0;
}

.testimonial-dot.active {
    width: 24px;
    background: #B87A45;
}

/* Animations */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #FFFFFF;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(44,24,16,0.08);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-content {
        padding: 0 1rem 3rem;
        max-width: 100%;
    }
    
    .hero-controls {
        bottom: 1rem;
        right: 1rem;
    }
    
    .testimonial-slider {
        padding: 2rem 1.5rem;
    }
}

/* ---------- Blog / Journal (matches static theme) ---------- */
.container-narrow { max-width: 820px; }
.container-center { margin-left: auto; margin-right: auto; text-align: center; }
.blog-hero {
    background: #2C1810;
    padding: 170px 0 70px;
    border-bottom: 1px solid rgba(184,122,69,0.15);
}
.blog-hero-center { text-align: center; }
.blog-hero-title {
    font-family: 'Playfair Display', serif;
    color: #FAF7F2;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 600;
    line-height: 1.12;
    margin-bottom: 1rem;
}
.blog-hero-title em { font-style: italic; color: #B87A45; }
.blog-hero-desc {
    font-family: 'Inter', sans-serif;
    color: rgba(250,247,242,0.65);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 620px;
    margin-bottom: 0;
}
.blog-hero-desc-center { margin-left: auto; margin-right: auto; }
.blog-listing { background: #FAF7F2; padding: 70px 0 90px; }
/* Two-column layout with right sidebar */
.blog-layout { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1024px) {
    .blog-layout { grid-template-columns: minmax(0, 1fr) 320px; }
}
.blog-main { min-width: 0; }
/* Image treatment: consistent ratio, soft frame, zoom on hover */
.img-zoom { position: relative; overflow: hidden; }
.img-zoom img { transition: transform 0.5s ease; }
.blog-card:hover .img-zoom img, .blog-featured:hover .img-zoom img { transform: scale(1.05); }
.blog-badge {
    position: absolute; left: 1rem; bottom: 1rem;
    background: rgba(28,24,16,0.85); color: #FAF7F2;
    font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 0.2em;
    padding: 0.45rem 0.8rem; text-transform: uppercase;
    border: 1px solid rgba(184,122,69,0.5);
}
.img-frame { border: 1px solid rgba(44,24,16,0.1); background: #fff; padding: 10px; box-shadow: 0 12px 32px rgba(44,24,16,0.08); }
.img-frame img { display: block; width: 100%; }
.img-frame figcaption { font-size: 0.78rem; color: #7A6A5A; text-align: center; padding: 0.6rem 0 0.2rem; }
.blog-featured {
    display: grid;
    gap: 0;
    background: #FFFFFF;
    border: 1px solid rgba(44,24,16,0.08);
    margin-bottom: 2.5rem;
    overflow: hidden;
}
@media (min-width: 900px) {
    .blog-featured { grid-template-columns: 1.1fr 1fr; }
}
.blog-featured-media { display: block; min-height: 320px; max-height: 480px; overflow: hidden; }
.blog-featured-media img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 7/5; }
.blog-featured-body { padding: 2.5rem 2.25rem; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0.75rem 0 1rem; }
.blog-featured-title a { color: #1C1A16; }
.blog-featured-title a:hover { color: #B87A45; }
.blog-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .blog-grid, .blog-grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
    background: #FFFFFF;
    border: 1px solid rgba(44,24,16,0.08);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(44,24,16,0.10); }
.blog-card-media { display: block; height: 220px; overflow: hidden; background: #F0E8DB; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4/3; }
.blog-card-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; font-family: 'DM Mono', monospace; letter-spacing: 0.2em; color: #B87A45; }
.blog-card-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.blog-card-title { font-size: 1.15rem; line-height: 1.4; margin-bottom: 0; }
.blog-card-title a { color: #1C1A16; }
.blog-card-title a:hover { color: #B87A45; }
/* Sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 1024px) { .blog-sidebar { position: sticky; top: 120px; } }
.blog-widget {
    background: #FFFFFF; border: 1px solid rgba(44,24,16,0.08); padding: 1.5rem;
}
.blog-widget-title {
    font-family: 'DM Mono', monospace; color: #B87A45; font-size: 0.62rem;
    letter-spacing: 0.22em; margin-bottom: 1rem; text-transform: uppercase;
}
.blog-search { display: flex; border: 1px solid rgba(44,24,16,0.2); }
.blog-search input { flex: 1; border: none; padding: 0.7rem 0.9rem; font-size: 0.85rem; background: transparent; outline: none; min-width: 0; }
.blog-search button { background: #2C1810; color: #FAF7F2; border: none; padding: 0 1.1rem; cursor: pointer; }
.blog-search button:hover { background: #B87A45; }
.blog-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.blog-recent li { display: grid; grid-template-columns: 64px 1fr; gap: 0.8rem; align-items: start; }
.blog-recent-thumb { width: 64px; height: 64px; overflow: hidden; display: block; background: #F0E8DB; }
.blog-recent-thumb img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; }
.blog-recent-thumb span { display: flex; align-items: center; justify-content: center; height: 100%; color: #B87A45; font-family: 'Playfair Display', serif; }
.blog-recent-link { color: #1C1A16; font-family: 'Playfair Display', serif; font-size: 0.92rem; line-height: 1.4; }
.blog-recent-link:hover { color: #B87A45; }
.blog-recent-date { font-size: 0.72rem; color: #7A6A5A; margin: 0.2rem 0 0; }
.blog-cat-list { list-style: none; margin: 0; padding: 0; }
.blog-cat-list li { border-bottom: 1px solid rgba(44,24,16,0.08); }
.blog-cat-list li:last-child { border-bottom: none; }
.blog-cat-list a { display: flex; justify-content: space-between; padding: 0.6rem 0; color: #2C1810; font-size: 0.86rem; }
.blog-cat-list a:hover { color: #B87A45; }
.blog-cat-list span { background: #F0E8DB; font-size: 0.7rem; padding: 0.1rem 0.55rem; color: #7A6A5A; }
.blog-widget-cta { background: #2C1810; border-color: rgba(184,122,69,0.25); text-align: center; }
.blog-widget-cta h3 { color: #FAF7F2; font-size: 1.3rem; margin-bottom: 0.5rem; }
.blog-widget-cta p { color: rgba(250,247,242,0.6); font-size: 0.85rem; }
.blog-widget-cta .btn { width: 100%; margin-top: 0.5rem; }
.blog-widget-wa { display: inline-block; margin-top: 0.8rem; font-size: 0.78rem; color: #B87A45; }
.blog-meta {
    font-family: 'DM Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    color: #7A6A5A;
    text-transform: uppercase;
    margin-bottom: 0;
}
.blog-meta-center { text-align: center; }
.blog-meta-cat { color: #B87A45; }
.blog-meta-dot { margin: 0 0.4rem; }
.blog-excerpt { font-size: 0.88rem; color: #7A6A5A; line-height: 1.7; margin-bottom: 0.5rem; }
.blog-empty { text-align: center; color: #7A6A5A; padding: 3rem 0; }
.blog-pagination { margin-top: 3rem; text-align: center; }
.blog-pagination .nav-links { display: inline-flex; gap: 0.5rem; align-items: center; }
.blog-pagination .page-numbers {
    font-family: 'Inter', sans-serif; font-size: 0.8rem; letter-spacing: 0.08em;
    border: 1px solid rgba(44,24,16,0.2); color: #2C1810; padding: 0.6rem 1rem; text-decoration: none;
}
.blog-pagination .page-numbers.current { background: #2C1810; color: #FAF7F2; border-color: #2C1810; }
.blog-pagination a.page-numbers:hover { border-color: #B87A45; color: #B87A45; }
.blog-cta {
    margin-top: 4rem;
    background: #FFFFFF;
    border: 1px solid rgba(44,24,16,0.08);
    padding: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
}
.blog-cta h2 { margin-bottom: 0; font-size: clamp(1.4rem, 2.5vw, 2rem); }
.blog-cta-dark { background: #2C1810; border-color: rgba(184,122,69,0.25); }
.blog-cta-dark h2 { color: #FAF7F2; }
/* Single post */
.post-hero { background: #2C1810; padding: 170px 0 60px; text-align: center; }
.post-title {
    font-family: 'Playfair Display', serif; color: #FAF7F2;
    font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.15; font-weight: 600;
    margin: 1rem auto; max-width: 800px;
}
.post-title-center { text-align: center; }
.post-byline { font-family: 'DM Mono', monospace; color: rgba(250,247,242,0.6); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0; }
.post-byline-center { text-align: center; }
.post-featured { margin: 0 auto 2rem; position: relative; z-index: 2; max-width: 100%; }
.post-featured-inline img { width: 100%; height: auto; max-height: 520px; object-fit: cover; display: block; aspect-ratio: 16/9; }
.post-body-section { background: #FAF7F2; padding: 60px 0 30px; }
.post-content { font-size: 1.02rem; color: #2c2620; max-width: 720px; margin-left: auto; margin-right: auto; }
.post-content-center p, .post-content-center ul, .post-content-center ol { margin-left: auto; margin-right: auto; }
.post-content-center h2, .post-content-center h3 { text-align: left; }
.post-content h2, .post-content h3 { margin-top: 2.5rem; color: #2C1810; }
.post-content img { max-width: 100%; height: auto; }
.post-content blockquote {
    border-left: 3px solid #B87A45; background: #FFFFFF;
    padding: 1.25rem 1.5rem; margin: 2rem 0; font-style: italic; color: #5a4f44;
}
.post-content ul, .post-content ol { margin: 0 0 1.25rem 1.25rem; line-height: 1.8; }
.post-tags { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.post-tag-label { font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.18em; color: #7A6A5A; }
.post-tag { font-size: 0.72rem; letter-spacing: 0.08em; border: 1px solid rgba(44,24,16,0.2); padding: 0.35rem 0.8rem; color: #2C1810; }
.post-tag:hover { border-color: #B87A45; color: #B87A45; }
.post-share { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(44,24,16,0.1); display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.14em; color: #7A6A5A; }
.post-nav { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 700px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav-item { background: #FFFFFF; border: 1px solid rgba(44,24,16,0.08); padding: 1.25rem 1.4rem; }
.post-nav-next { text-align: right; }
.post-nav-item span { font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 0.18em; color: #B87A45; display: block; margin-bottom: 0.4rem; }
.post-nav-item a { color: #1C1A16; font-family: 'Playfair Display', serif; font-size: 1rem; }
.post-related { background: #F0E8DB; padding: 70px 0; }
.post-cta-section { background: #FAF7F2; padding: 0 0 90px; }
.post-cta-section .blog-cta { margin-top: 0; }
@media (max-width: 1023px) {
    .blog-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
    .blog-widget-cta { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .blog-sidebar { grid-template-columns: 1fr; }
    .post-featured-inline img { aspect-ratio: 4/3; }
}
.nav-menu .current-menu-item a, .nav-menu .current_page_parent a { color: #B87A45; }

/* ---------- Blog pages — mirrors hann-html/blog.html & single-post.html ---------- */
.category-filter { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.filter-btn { font-family: 'Inter', sans-serif; font-size: 0.73rem; letter-spacing: 0.1em; padding: 0.45rem 1rem; border: 1px solid rgba(44,24,16,0.2); background: transparent; color: #7A6A5A; cursor: pointer; transition: all 0.2s; }
.filter-btn:hover, .filter-btn.active { background: #B87A45; color: #FAF7F2; border-color: #B87A45; }
.blog-card img { width: 100%; height: 230px; object-fit: cover; display: block; }
.featured-post { display: grid; gap: 0; background: #FFFFFF; border: 1px solid rgba(44,24,16,0.08); overflow: hidden; transition: transform 0.2s; }
.featured-post:hover { transform: translateY(-4px); }
.featured-post img { width: 100%; height: 320px; object-fit: cover; display: block; }
@media (min-width: 900px) { .featured-post { grid-template-columns: 1.1fr 1fr; } .featured-post img { height: 100%; min-height: 380px; } }
.breadcrumb { font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.16em; color: #7A6A5A; }
.breadcrumb a { color: #B87A45; }
.article-body p { font-family: 'Inter', sans-serif; color: #4a4239; font-size: 0.95rem; line-height: 1.9; margin-bottom: 1.4rem; }
.article-body h2 { font-family: 'Playfair Display', serif; color: #1C1A16; font-size: 1.5rem; font-weight: 600; margin: 2.5rem 0 1rem; line-height: 1.3; }
.article-body h3 { font-family: 'Playfair Display', serif; color: #2C1810; font-size: 1.15rem; font-weight: 600; margin: 2rem 0 0.75rem; }
.article-body ul, .article-body ol { font-family: 'Inter', sans-serif; color: #4a4239; font-size: 0.92rem; line-height: 1.85; margin: 0 0 1.5rem 1.25rem; }
.article-body li { margin-bottom: 0.5rem; }
.article-body li::marker { color: #B87A45; }
.article-body blockquote { border-left: 3px solid #B87A45; background: #FFFFFF; padding: 1.25rem 1.5rem; margin: 2rem 0; font-family: 'Playfair Display', serif; font-style: italic; color: #2C1810; font-size: 1.05rem; line-height: 1.7; }
.article-body img { max-width: 100%; height: auto; }
.article-body img.inline, .article-body p img { width: 100%; height: 340px; object-fit: cover; margin: 1.5rem 0 0.5rem; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem; font-family: 'Inter', sans-serif; font-size: 0.85rem; }
.article-body table th, .cost-table th { background: #2C1810; color: #FAF7F2; font-weight: 600; text-align: left; padding: 0.85rem 1rem; font-size: 0.75rem; letter-spacing: 0.08em; }
.article-body table td, .cost-table td { padding: 0.85rem 1rem; border-bottom: 1px solid rgba(44,24,16,0.1); color: #4a4239; }
.article-body table tr:nth-child(even) td, .cost-table tr:nth-child(even) td { background: #FFFFFF; }
.caption { font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.12em; color: #7A6A5A; margin-bottom: 1.5rem; }
.tag { font-family: 'Inter', sans-serif; font-size: 0.72rem; letter-spacing: 0.08em; border: 1px solid rgba(44,24,16,0.2); color: #7A6A5A; padding: 0.35rem 0.9rem; text-decoration: none; }
.tag:hover { border-color: #B87A45; color: #B87A45; }
.sidebar-card { background: #FFFFFF; border: 1px solid rgba(44,24,16,0.08); padding: 1.75rem; margin-bottom: 1.5rem; }
.sidebar-card h4 { font-family: 'DM Mono', monospace; color: #B87A45; font-size: 0.62rem; letter-spacing: 0.2em; margin-bottom: 1.25rem; font-weight: 500; }
.recent-item { display: flex; gap: 0.9rem; margin-bottom: 1.1rem; text-decoration: none; }
.recent-item:last-child { margin-bottom: 0; }
.recent-item img { width: 70px; height: 60px; object-fit: cover; flex-shrink: 0; display: block; }
.recent-item p { font-family: 'Playfair Display', serif; color: #1C1A16; font-size: 0.85rem; line-height: 1.45; margin: 0 0 4px; }
.recent-item span { font-family: 'DM Mono', monospace; color: #7A6A5A; font-size: 0.6rem; letter-spacing: 0.12em; }
.layout-post { display: grid; gap: 3rem; }
@media (min-width: 960px) { .layout-post { grid-template-columns: 1fr 320px; align-items: start; } }
.share-btn { width: 38px; height: 38px; border: 1px solid rgba(44,24,16,0.2); display: flex; align-items: center; justify-content: center; color: #2C1810; font-size: 0.8rem; text-decoration: none; font-family: 'Inter', sans-serif; font-weight: 600; }
.share-btn:hover { border-color: #B87A45; color: #B87A45; }
.related-card { background: #FFFFFF; border: 1px solid rgba(44,24,16,0.08); overflow: hidden; text-decoration: none; display: block; transition: transform 0.2s; }
.related-card:hover { transform: translateY(-4px); }
.toc { background: #FFFFFF; border: 1px solid rgba(44,24,16,0.08); border-left: 3px solid #B87A45; padding: 1.5rem 1.75rem; margin: 2rem 0; }
.toc p { font-family: 'DM Mono', monospace; color: #B87A45; font-size: 0.62rem; letter-spacing: 0.2em; margin-bottom: 0.75rem; }
.toc a { display: block; font-family: 'Inter', sans-serif; font-size: 0.85rem; color: #1C1A16; padding: 0.3rem 0; text-decoration: none; }
.toc a:hover { color: #B87A45; }

