/* ================================================================
   HEW LIGHTS — blog.css
   ================================================================ */

/* ─── NAV CLEARANCE (fixed nav = 68px) ─── */
body {
    padding-top: 68px;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
    padding: 24px var(--gutter) 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb-sep { color: rgba(125,78,30,0.4); }
.breadcrumb span { color: var(--amber); }

.nav-links a {
    font-size: 0.79rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    transition: color 0.2s;
    font-weight: 500;
}
.nav-links a:hover { color: #fff; }

/* ─── BLOG INDEX — post grid ─── */
.blog-intro {
    padding: clamp(40px, 5vw, 72px) var(--gutter) clamp(28px, 4vw, 48px);
}
.blog-intro .section-header {
    margin-bottom: 0;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.blog-index-title {
    font-size: clamp(2rem, 3.5vw, 3.4rem);
    color: var(--cream);
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-top: 8px;
}

.blog-index-sub {
    margin-top: 16px;
    color: var(--muted);
    font-size: 1.01rem;
    font-weight: 300;
}

.blog-grid {
    padding: clamp(24px, 3vw, 40px) var(--gutter) var(--section-pad);
    max-width: calc(1080px + 2 * var(--gutter));
    margin: 0 auto;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(125,78,30,0.18);
    background: rgba(125,78,30,0.03);
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
}
.blog-card:hover {
    border-color: rgba(125,78,30,0.42);
    box-shadow: 0 6px 24px rgba(125,78,30,0.08);
}

.blog-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--wood);
}
.blog-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }

.blog-card-body {
    padding: 26px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.blog-card-body h2 {
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    color: var(--cream);
    line-height: 1.25;
    margin: 0;
}

.blog-card-body p {
    color: var(--muted);
    font-size: 0.97rem;
    line-height: 1.62;
    margin: 0;
    flex: 1;
}

.blog-card-link {
    margin-top: 8px;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--amber);
    font-weight: 500;
    transition: color 0.2s;
}
.blog-card:hover .blog-card-link { color: var(--gold); }

/* ─── ARTICLE PAGE ─── */
.article-header {
    padding: clamp(36px, 5vw, 64px) var(--gutter) clamp(24px, 3vw, 40px);
    max-width: calc(720px + 2 * var(--gutter));
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.article-header .label { display: block; margin-bottom: 16px; }

.article-header h1 {
    color: var(--cream);
    font-size: clamp(1.8rem, 3.5vw, 2.9rem);
    line-height: 1.12;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--muted);
    letter-spacing: 0.06em;
}

.article-meta time { color: var(--muted); }

.article-meta-sep {
    width: 3px; height: 3px;
    border-radius: 50%;
    background: rgba(125,78,30,0.4);
    flex-shrink: 0;
}

/* ─── ARTICLE HERO IMAGE ─── */
.article-hero-img {
    margin: 0 0 clamp(32px, 4vw, 52px);
    aspect-ratio: 16/7;
    overflow: hidden;
    background: var(--wood);
}
.article-hero-img img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* ─── ARTICLE BODY ─── */
.article-body {
    padding: clamp(32px, 4vw, 52px) var(--gutter);
    max-width: calc(720px + 2 * var(--gutter));
    margin: 0 auto;
    box-sizing: border-box;
}

.article-body h2 {
    font-size: clamp(1.3rem, 2.2vw, 1.75rem);
    color: var(--cream);
    margin: clamp(40px, 5vw, 56px) 0 14px;
    padding-top: clamp(32px, 4vw, 44px);
    border-top: 1px solid rgba(125,78,30,0.15);
}

.article-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.article-body p {
    color: var(--muted);
    font-size: clamp(1rem, 1.1vw, 1.07rem);
    line-height: 1.78;
    margin-bottom: 18px;
}

.article-body p:last-child { margin-bottom: 0; }

/* ─── INSTAGRAM EMBEDS ─── */
.ig-embeds {
    padding: clamp(48px, 6vw, 72px) var(--gutter);
    background: var(--wood);
    position: relative;
}
.ig-embeds::before {
    content: '';
    position: absolute; inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(175deg, transparent, transparent 80px, rgba(125,78,30,0.025) 81px);
}

.ig-embeds-header {
    max-width: 680px;
    margin-bottom: 40px;
}
.ig-embeds-header .label { display: block; margin-bottom: 12px; }
.ig-embeds-header h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--cream);
}

.ig-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

.ig-grid blockquote.instagram-media {
    margin: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
}

/* ─── POST PHOTO GALLERY ─── */
.post-gallery {
    padding: clamp(48px, 6vw, 72px) var(--gutter);
    background: var(--wood);
    position: relative;
}
.post-gallery::before {
    content: '';
    position: absolute; inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(175deg, transparent, transparent 80px, rgba(125,78,30,0.025) 81px);
}

.post-gallery-header {
    max-width: 680px;
    margin-bottom: 36px;
}
.post-gallery-header .label { display: block; margin-bottom: 12px; }
.post-gallery-header h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--cream);
}

.post-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    position: relative;
    z-index: 1;
}

.post-gallery-item {
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--mid);
}
.post-gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
    display: block;
}
.post-gallery-item:hover img { transform: scale(1.04); }

/* ─── ARTICLE CTA ─── */
.article-cta {
    padding: clamp(60px, 8vw, 100px) var(--gutter);
    text-align: center;
    background: var(--dark);
}

.article-cta .label { display: block; margin-bottom: 16px; }

.article-cta h2 {
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    color: var(--cream);
    margin-bottom: 16px;
}

.article-cta p {
    color: var(--muted);
    font-size: 1.01rem;
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.article-cta-btns {
    display: flex;
    gap: 13px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── BACK LINK ─── */
.back-link {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 400;
    transition: color 0.2s;
    padding: clamp(28px, 4vw, 48px) var(--gutter) clamp(40px, 5vw, 64px);
    max-width: calc(720px + 2 * var(--gutter));
    margin: 0 auto;
    box-sizing: border-box;
}
.back-link:hover { color: var(--amber); }

/* ─── RESPONSIVE ─── */
@media (max-width: 820px) {
    .post-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ig-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .post-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}
