/*
 * Blog Archive Page — Styles
 * Font sizes inherit from theme throughout.
 */

/* ── Tokens ──────────────────────────────────────── */
:root {
    --blog-green:      #495037;
    --blog-gold:       #c9b97a;
    --blog-cream:      #faf8f5;
    --blog-white:      #ffffff;
    --blog-text:       #3a3228;
    --blog-text-mid:   #6b5f50;
    --blog-text-muted: #9a8c6e;
    --blog-border:     #e0d8cc;
    --blog-px:         80px;
}

/* ── Wrapper breakout ────────────────────────────── */
.blog-page-template .entry-content {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
}

/* ── Base ────────────────────────────────────────── */
.blog-page {
    background: var(--blog-cream);
    color: var(--blog-text);
    width: 100%;
    max-width: none;
}

.blog-eyebrow {
    display: block;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blog-text-muted);
    margin-bottom: 16px;
}

.blog-cat {
    display: inline-block;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blog-text-muted);
    margin-bottom: 10px;
    font-size: 0.75em;
}

.blog-read-more {
    display: inline-block;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blog-green);
    border-bottom: 0.5px solid var(--blog-green);
    padding-bottom: 2px;
    margin-top: 16px;
    font-size: 0.8em;
    transition: opacity 0.2s ease;
}

/* ── Hero ────────────────────────────────────────── */
.blog-hero {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    min-height: 520px;
    width: 100%;
}

.blog-hero__text {
    background: var(--blog-white);
    padding: 80px var(--blog-px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.blog-hero__heading {
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 22px;
}

.blog-hero__body p {
    color: var(--blog-text-mid);
    line-height: 1.85;
    margin-bottom: 14px;
}

.blog-hero__media {
    overflow: hidden;
    min-width: 0;
    aspect-ratio: 16 / 9;
}

.blog-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Posts section ───────────────────────────────── */
.blog-posts {
    padding: 80px var(--blog-px);
    display: flex;
    flex-direction: column;
    gap: 64px;
}

/* ── Featured post ───────────────────────────────── */
.blog-featured {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    min-height: 480px;
    text-decoration: none;
    background: var(--blog-white);
    border: 0.5px solid var(--blog-border);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.blog-featured:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.blog-featured__image {
    overflow: hidden;
    min-width: 0;
}

.blog-featured__image img {
    width: 100%;
    height: 100%;
	max-height:550px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.blog-featured:hover .blog-featured__image img {
    transform: scale(1.03);
}

.blog-featured__content {
    padding: 64px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.blog-featured__title {
    font-weight: 400;
    line-height: 1.35;
    margin-bottom: 16px;
    color: var(--blog-text);
}

.blog-featured__excerpt {
    color: var(--blog-text-mid);
    line-height: 1.8;
    margin: 0;
}

/* ── Grid ────────────────────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat( 3, 1fr );
    gap: 32px;
}

.blog-card {
    background: var(--blog-white);
    border: 0.5px solid var(--blog-border);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.blog-card__image {
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.03);
}

.blog-card__content {
    padding: 28px 32px 36px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card__title {
    font-weight: 400;
    line-height: 1.35;
    margin-bottom: 10px;
    color: var(--blog-text);
}

.blog-card__excerpt {
    color: var(--blog-text-mid);
    line-height: 1.75;
    margin: 0;
    flex: 1;
}

/* ── Responsive ──────────────────────────────────── */
@media ( max-width: 1024px ) {
    .blog-grid { grid-template-columns: repeat( 2, 1fr ); }
}

@media ( max-width: 900px ) {
    :root { --blog-px: 40px; }
    .blog-featured { grid-template-columns: 1fr; }
    .blog-featured__image { aspect-ratio: 16 / 9; min-height: unset; }
    .blog-featured__content { padding: 40px 32px; }
}

@media ( max-width: 768px ) {
    :root { --blog-px: 20px; }
    .blog-hero { grid-template-columns: 1fr; }
    .blog-hero__media { aspect-ratio: 4 / 3; }
    .blog-hero__text { padding: 48px 20px; }
    .blog-posts { padding: 48px 20px; gap: 40px; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-featured__content { padding: 32px 20px; }
}
