/* ══════════════════════════════════════════════════════════
   HOLZBRUNNER BLOG STYLES
   ══════════════════════════════════════════════════════════ */

:root {
    --hb-wood-deep: #3C2415;
    --hb-wood-warm: #6B3A2A;
    --hb-wood-medium: #8B5E3C;
    --hb-wood-light: #C49A6C;
    --hb-cream: #F5F0E8;
    --hb-cream-light: #FAF7F2;
    --hb-forest: #2D4A3E;
    --hb-gold: #B8963E;
    --hb-gold-light: #D4B05C;
    --hb-text-dark: #2A1F17;
    --hb-text-body: #4A3F35;
    --hb-text-muted: #8A7E72;
    --hb-font-heading: 'Cormorant Garamond', Georgia, serif;
    --hb-font-body: 'Outfit', -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

/* ── BLOG ARCHIVE / OVERVIEW ─────────────────────────────── */

.hb-archive {
    background: var(--hb-cream-light);
    min-height: 100vh;
}

.hb-archive-hero {
    background: linear-gradient(135deg, var(--hb-wood-deep), var(--hb-wood-warm));
    padding: 100px 40px 70px;
    text-align: center;
}

.hb-archive-hero .hb-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--hb-gold-light);
    font-family: var(--hb-font-body);
    font-weight: 500;
    margin-bottom: 16px;
}

.hb-archive-hero .hb-label::before,
.hb-archive-hero .hb-label::after {
    content: '';
    width: 30px;
    height: 1.5px;
    background: var(--hb-gold-light);
}

.hb-archive-hero h1 {
    font-family: var(--hb-font-heading);
    font-size: 56px;
    font-weight: 400;
    color: var(--hb-cream);
    margin: 0 0 12px;
    line-height: 1.15;
}

.hb-archive-hero h1 em {
    font-style: italic;
    color: var(--hb-gold-light);
}

.hb-archive-hero p {
    font-family: var(--hb-font-body);
    font-size: 17px;
    font-weight: 300;
    color: rgba(245,240,232,0.6);
    max-width: 500px;
    margin: 0 auto;
}

/* Category Filter */
.hb-archive-filter {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 30px 40px 0;
    max-width: 900px;
    margin: 0 auto;
}

.hb-filter-link {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 100px;
    font-family: var(--hb-font-body);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid var(--hb-wood-light);
    color: var(--hb-text-body);
    background: white;
}

.hb-filter-link:hover,
.hb-filter-link.active {
    background: var(--hb-wood-deep);
    color: var(--hb-cream);
    border-color: var(--hb-wood-deep);
}

/* Post Grid */
.hb-archive-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Post Card */
.hb-post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(60,36,21,0.06);
    transition: all 0.4s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.hb-post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(60,36,21,0.12);
}

.hb-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.hb-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.hb-card-image .hb-card-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--hb-gold);
    color: #fff;
    font-family: var(--hb-font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
}

.hb-card-no-image {
    background: linear-gradient(135deg, var(--hb-cream), #e8dfd2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hb-card-no-image::after {
    content: '🪵';
    font-size: 48px;
    opacity: 0.3;
}

.hb-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hb-card-date {
    font-family: var(--hb-font-body);
    font-size: 12px;
    color: var(--hb-text-muted);
    font-weight: 400;
    margin-bottom: 8px;
}

.hb-card-title {
    font-family: var(--hb-font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--hb-text-dark);
    line-height: 1.3;
    margin: 0 0 10px;
}

.hb-post-card:hover .hb-card-title {
    color: var(--hb-wood-warm);
}

.hb-card-excerpt {
    font-family: var(--hb-font-body);
    font-size: 14px;
    font-weight: 300;
    color: var(--hb-text-muted);
    line-height: 1.65;
    flex: 1;
    margin: 0 0 16px;
}

.hb-card-read {
    font-family: var(--hb-font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--hb-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hb-post-card:hover .hb-card-read {
    color: var(--hb-wood-warm);
}

/* Pagination */
.hb-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 20px 40px 80px;
}

.hb-pagination a,
.hb-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-family: var(--hb-font-body);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    color: var(--hb-text-body);
    background: #fff;
    border: 1px solid rgba(196,154,108,0.2);
}

.hb-pagination a:hover {
    background: var(--hb-wood-deep);
    color: var(--hb-cream);
    border-color: var(--hb-wood-deep);
}

.hb-pagination .current {
    background: var(--hb-wood-deep);
    color: var(--hb-cream);
    border-color: var(--hb-wood-deep);
}

/* No posts */
.hb-no-posts-msg {
    text-align: center;
    padding: 80px 40px;
    font-family: var(--hb-font-heading);
    font-size: 24px;
    color: var(--hb-text-muted);
}

/* ── SINGLE POST ──────────────────────────────────────────── */

.hb-single {
    background: var(--hb-cream-light);
    min-height: 100vh;
}

/* Hero */
.hb-single-hero {
    background: linear-gradient(135deg, var(--hb-wood-deep), var(--hb-wood-warm));
    padding: 100px 40px 60px;
    text-align: center;
}

.hb-single-meta-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.hb-single-cat {
    background: rgba(184,150,62,0.2);
    color: var(--hb-gold-light);
    font-family: var(--hb-font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
}

.hb-single-date {
    font-family: var(--hb-font-body);
    font-size: 13px;
    color: rgba(245,240,232,0.5);
    font-weight: 300;
}

.hb-single-hero h1 {
    font-family: var(--hb-font-heading);
    font-size: 48px;
    font-weight: 400;
    color: var(--hb-cream);
    margin: 0 auto 16px;
    line-height: 1.2;
    max-width: 800px;
}

.hb-single-excerpt {
    font-family: var(--hb-font-body);
    font-size: 17px;
    font-weight: 300;
    color: rgba(245,240,232,0.6);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Featured Image */
.hb-single-featured {
    max-width: 1100px;
    margin: -40px auto 0;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.hb-single-featured img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(60,36,21,0.15);
}

/* Layout: Content + Sidebar */
.hb-single-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 40px 80px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 50px;
    align-items: start;
}

/* Content Area */
.hb-single-content {
    min-width: 0;
}

.hb-single-content h2 {
    font-family: var(--hb-font-heading);
    font-size: 32px;
    font-weight: 600;
    color: var(--hb-text-dark);
    margin: 40px 0 16px;
    line-height: 1.2;
}

.hb-single-content h3 {
    font-family: var(--hb-font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--hb-text-dark);
    margin: 32px 0 12px;
}

.hb-single-content p {
    font-family: var(--hb-font-body);
    font-size: 16px;
    font-weight: 300;
    color: var(--hb-text-body);
    line-height: 1.85;
    margin: 0 0 20px;
}

.hb-single-content ul,
.hb-single-content ol {
    font-family: var(--hb-font-body);
    font-size: 16px;
    font-weight: 300;
    color: var(--hb-text-body);
    line-height: 1.85;
    margin: 0 0 20px;
    padding-left: 20px;
}

.hb-single-content li {
    margin-bottom: 6px;
}

.hb-single-content blockquote {
    border-left: 3px solid var(--hb-gold);
    padding: 20px 28px;
    margin: 30px 0;
    background: rgba(184,150,62,0.06);
    border-radius: 0 8px 8px 0;
}

.hb-single-content blockquote p {
    font-family: var(--hb-font-heading);
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    color: var(--hb-wood-warm);
    margin: 0;
}

.hb-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}

.hb-single-content a {
    color: var(--hb-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hb-single-content a:hover {
    color: var(--hb-wood-warm);
}

/* Post Footer */
.hb-post-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(196,154,108,0.2);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.hb-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.hb-tag {
    display: inline-block;
    padding: 5px 14px;
    background: var(--hb-cream);
    border-radius: 100px;
    font-family: var(--hb-font-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--hb-text-muted);
}

.hb-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hb-share-label {
    font-family: var(--hb-font-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--hb-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hb-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--hb-cream);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.hb-share a:hover {
    background: var(--hb-wood-deep);
    color: var(--hb-cream);
}

/* ── SIDEBAR ──────────────────────────────────────────────── */

.hb-sidebar {
    position: sticky;
    top: 100px;
}

/* CTA Box */
.hb-sidebar-cta {
    background: linear-gradient(160deg, var(--hb-wood-deep), var(--hb-forest));
    border-radius: 16px;
    padding: 35px 28px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.hb-sidebar-cta::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(184,150,62,0.08);
}

.hb-sidebar-cta::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(184,150,62,0.05);
}

.hb-cta-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(184,150,62,0.2);
    border-radius: 100px;
    font-family: var(--hb-font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--hb-gold-light);
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.hb-sidebar-cta h3 {
    font-family: var(--hb-font-heading);
    font-size: 26px;
    font-weight: 400;
    color: var(--hb-cream);
    margin: 0 0 12px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.hb-sidebar-cta h3 em {
    font-style: italic;
    color: var(--hb-gold-light);
}

.hb-sidebar-cta p {
    font-family: var(--hb-font-body);
    font-size: 14px;
    font-weight: 300;
    color: rgba(245,240,232,0.65);
    line-height: 1.65;
    margin: 0 0 22px;
    position: relative;
    z-index: 1;
}

.hb-cta-btn {
    display: block;
    text-align: center;
    padding: 14px 24px;
    background: var(--hb-gold);
    color: #fff !important;
    border-radius: 100px;
    font-family: var(--hb-font-body);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.hb-cta-btn:hover {
    background: var(--hb-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184,150,62,0.3);
}

.hb-cta-phone {
    display: block;
    text-align: center;
    padding: 12px 24px;
    background: transparent;
    color: var(--hb-cream) !important;
    border: 1px solid rgba(245,240,232,0.2);
    border-radius: 100px;
    font-family: var(--hb-font-body);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.hb-cta-phone:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(245,240,232,0.4);
}

/* Contact Box */
.hb-sidebar-contact {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: 0 2px 15px rgba(60,36,21,0.05);
}

.hb-sidebar-contact h4 {
    font-family: var(--hb-font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--hb-text-dark);
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(196,154,108,0.15);
}

.hb-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 0;
}

.hb-contact-icon {
    width: 40px;
    height: 40px;
    background: var(--hb-cream);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.hb-contact-row .hb-cl {
    font-family: var(--hb-font-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--hb-text-muted);
    margin-bottom: 2px;
}

.hb-contact-row a {
    font-family: var(--hb-font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--hb-text-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--hb-wood-light);
    transition: color 0.3s;
}

.hb-contact-row a:hover {
    color: var(--hb-gold);
}

.hb-contact-social {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(196,154,108,0.15);
}

.hb-contact-social a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--hb-font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--hb-gold);
    text-decoration: none;
}

/* Recent Posts Widget */
.hb-sidebar-recent {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 15px rgba(60,36,21,0.05);
}

.hb-sidebar-recent h4 {
    font-family: var(--hb-font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--hb-text-dark);
    margin: 0 0 18px;
}

.hb-recent-link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(196,154,108,0.1);
    text-decoration: none;
    transition: all 0.3s;
}

.hb-recent-link:last-child {
    border-bottom: none;
}

.hb-recent-link:hover {
    padding-left: 6px;
}

.hb-recent-date {
    font-family: var(--hb-font-body);
    font-size: 11px;
    color: var(--hb-text-muted);
    margin-bottom: 3px;
}

.hb-recent-title {
    font-family: var(--hb-font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--hb-text-dark);
    line-height: 1.3;
}

.hb-recent-link:hover .hb-recent-title {
    color: var(--hb-gold);
}

/* ── POST NAVIGATION ──────────────────────────────────────── */

.hb-post-nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.hb-post-nav a {
    display: block;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(60,36,21,0.05);
    transition: all 0.3s;
}

.hb-post-nav a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(60,36,21,0.1);
}

.hb-nav-label {
    font-family: var(--hb-font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--hb-gold);
    display: block;
    margin-bottom: 6px;
}

.hb-nav-title {
    font-family: var(--hb-font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--hb-text-dark);
    display: block;
}

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

/* ── RESPONSIVE ───────────────────────────────────────────── */

@media (max-width: 1024px) {
    .hb-single-layout {
        grid-template-columns: 1fr;
    }
    .hb-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .hb-sidebar-recent {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .hb-archive-hero h1 {
        font-size: 36px;
    }
    .hb-archive-grid {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
    .hb-single-hero {
        padding: 80px 20px 50px;
    }
    .hb-single-hero h1 {
        font-size: 32px;
    }
    .hb-single-layout {
        padding: 30px 20px 60px;
    }
    .hb-single-featured {
        padding: 0 20px;
    }
    .hb-single-featured img {
        height: 280px;
    }
    .hb-sidebar {
        grid-template-columns: 1fr;
    }
    .hb-post-nav {
        grid-template-columns: 1fr;
        padding: 0 20px 60px;
    }
}

@media (max-width: 480px) {
    .hb-archive-hero {
        padding: 80px 20px 50px;
    }
    .hb-archive-hero h1 {
        font-size: 30px;
    }
}
