/* =========================
   BLOG BASE
========================= */

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.blog-hero {
    padding: 140px 0 80px;
    text-align: center;
}

.blog-hero h1 {
    font-family: 'Fraunces', serif;
    font-size: 42px;
    font-weight: 200;
    margin-bottom: 20px;
}

.blog-hero p {
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    color: #4a4a4a;
    font-weight: 300;
}

/* =========================
   BLOG LIST
========================= */

.blog-list {
    padding: 60px 0 120px;
}

.blog-card {
    display: block;
    text-decoration: none;
    margin-bottom: 80px;
    transition: 0.4s ease;
}

.blog-card-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-card-content {
    margin-top: 20px;
}

.blog-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 28px;
    font-weight: 200;
    margin-bottom: 10px;
    color: #000;
}

.blog-card p {
    font-family: 'Lexend', sans-serif;
    font-size: 15px;
    color: #4a4a4a;
    font-weight: 300;
}

.blog-card:hover {
    opacity: 0.85;
}

/* =========================
   BLOG POST LAYOUT
========================= */

.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    padding: 120px 0;
}

.blog-main h1 {
    font-family: 'Fraunces', serif;
    font-size: 40px;
    font-weight: 200;
    margin-bottom: 20px;
}

.blog-main h4 {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    color: #4a4a4a;
    margin-bottom: 40px;
}

.blog-feature-image img {
    width: 100%;
    margin-bottom: 40px;
}

.blog-main p {
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    line-height: 1.9;
    font-weight: 400;
    color: #333;
    margin-bottom: 30px;
}

/* Sidebar */

.blog-sidebar h3 {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    margin-top: 130px;
    margin-bottom: 40px;
}

.sidebar-card {
    display: block;
    text-decoration: none;
    margin-bottom: 50px;
}

.sidebar-card img {
    width: 100%;
    display: block;
    margin-bottom: 10px;
}

.sidebar-card span {
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    color: #736868;
    margin-bottom: 0px;
}

.blog-sidebar {
    margin-left: 40px;   /* adjust: 20px / 40px / 60px */
}

/* =========================
   BLOG LIST PAGE ONLY
========================= */

.blog-list-page {
    padding: 140px 40px;
}

.blog-list-title {
    font-family: 'Fraunces', serif;
    font-size: 48px;
    font-weight: 200;
    text-align: center;
    margin-bottom: 100px;
    font-variation-settings: "wght" 200, "opsz" 60;
}

.blog-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
}

.blog-list-card {
    text-decoration: none;
    transition: transform 0.3s ease;
}

.blog-list-card:hover {
    transform: translateY(-6px);
}

.blog-list-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 25px;
}

.blog-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-list-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 26px;
    font-weight: 300;
    color: #000;
}


/* =========================
   BLOG MOBILE FIX (CLEAN)
========================= */

@media (max-width: 768px) {

    /* 🔥 KILL GRID COMPLETELY */
    .blog-layout {
        display: block !important;
        padding: 40px 0;
    }

    /* 🔥 REMOVE CONTAINER PRESSURE */
    .blog-container {
        max-width: 100%;
        padding: 0;
    }

    /* 🔥 TRUE READING COLUMN */
    .blog-main {
        width: 100%;
        max-width: 680px;       /* 🔥 slightly tighter = better */
        margin: 0 auto;
        padding: 0 20px;
        box-sizing: border-box;
        padding-top: 40px;
    }

    /* 🔥 FORCE EVERYTHING TO ALIGN */
    .blog-main > * {
        width: 100%;
        max-width: 100%;
    }

    /* TITLE */
    .blog-main h1 {
        font-size: 26px;
        margin-bottom: 16px;
    }

    /* SUBTITLE */
    .blog-main h4 {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    /* IMAGE */
    .blog-feature-image {
        width: 100%;
        margin-bottom: 24px;
    }

    .blog-feature-image img {
        width: 100%;
        display: block;
    }

    /* TEXT */
    .blog-main p {
        font-size: 14px;
        line-height: 1.8;
        margin-bottom: 20px;
    }

    /* 🔥 REMOVE SIDEBAR */
    .blog-sidebar {
        display: none;
    }

    .blog-list-grid {
        grid-template-columns: 1fr;
        justify-items: center;   /* 🔥 centers the card */
}

}