/* ============================================
   BLOGS - List & Detail Page Styles
   Clean, editorial, restrained look
   ============================================ */

/* --- Shared blogs hero banner --- */
.blogs-hero-banner {
    position: relative;
    width: 100%;
    padding: 56px 24px 40px;
    margin-bottom: 32px;
    background: #faf6ef;
    border-bottom: 1px solid #ece5d6;
    text-align: left;
}

.blogs-hero-overlay {
    display: none;
}

.blogs-hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.blogs-hero-kicker {
    font-family: 'Work Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8a6f49;
    margin: 0;
}

.blogs-hero-title {
    font-family: 'Merriweather', serif;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 600;
    color: #262e2e;
    margin: 0;
    letter-spacing: -0.01em;
    text-shadow: none;
    text-align: left;
}

.blogs-hero-tagline {
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #5a5a5a;
    margin: 0;
    max-width: 680px;
    text-align: left;
}

/* ============================================
   BLOGS LIST PAGE
   ============================================ */

.blogs-list-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 100px;
    min-height: calc(100vh - 80px);
    text-align: left;
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid #ece5d6;
    text-align: left;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border-color: #dcd2bc;
}

.blog-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f3efe8;
    overflow: hidden;
    position: relative;
}

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

.blog-card:hover .blog-card-image img {
    transform: scale(1.02);
}

.blog-card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 32px;
    background: linear-gradient(135deg, #f4efe8, #e4d7c4);
    color: #a08868;
}

.blog-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 20px 20px;
    gap: 8px;
    text-align: left;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Work Sans', sans-serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9a9a9a;
    margin: 0 0 2px 0;
}

.blog-card-meta .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #c9c9c9;
}

.blog-card-title {
    font-family: 'Merriweather', serif;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 600;
    color: #262e2e;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
    letter-spacing: -0.005em;
}

.blog-card-subtitle {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: #5f5f5f;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
    font-weight: 400;
}

.blog-card-cta {
    margin-top: auto;
    padding-top: 10px;
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #a57040;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-card-cta i {
    transition: transform 0.2s ease;
    font-size: 11px;
}

.blog-card:hover .blog-card-cta i {
    transform: translateX(3px);
}

/* Empty state */
.blogs-empty {
    text-align: left;
    padding: 64px 8px;
    color: #666;
    font-family: 'Work Sans', sans-serif;
    max-width: 560px;
}

.blogs-empty-icon {
    font-size: 40px;
    margin-bottom: 14px;
}

.blogs-empty h2 {
    font-family: 'Merriweather', serif;
    font-size: 20px;
    font-weight: 600;
    color: #262e2e;
    margin: 0 0 6px;
    text-align: left;
}

.blogs-empty p {
    color: #666;
    font-size: 15px;
    margin: 0;
    text-align: left;
}

/* ============================================
   BLOG DETAIL PAGE
   ============================================ */

.blog-detail-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px 100px;
    text-align: left;
}

.blog-detail-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 6;
    min-height: 180px;
    max-height: 320px;
    margin-bottom: 32px;
    background-color: #f3efe8;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-bottom: 1px solid #ece5d6;
}

.blog-detail-hero-overlay {
    display: none;
}

.blog-detail-hero-inner {
    display: none;
}

.blog-detail-header {
    max-width: 720px;
    margin: 0 auto 28px;
    padding: 0 24px;
    text-align: left;
}

.blog-detail-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Work Sans', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #8a6f49;
    text-transform: none;
    letter-spacing: 0;
    background: transparent;
    padding: 0;
    border: none;
    text-decoration: none;
    margin-bottom: 14px;
}

.blog-detail-kicker:hover {
    color: #6b4f28;
    background: transparent;
}

.blog-detail-title {
    font-family: 'Merriweather', serif;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 600;
    color: #262e2e;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
    text-shadow: none;
    text-align: left;
}

.blog-detail-subtitle {
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #5a5a5a;
    margin: 0 0 12px;
    text-shadow: none;
    text-align: left;
    font-weight: 400;
}

.blog-detail-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Work Sans', sans-serif;
    font-size: 12px;
    color: #8a8a8a;
    text-align: left;
}

.blog-detail-meta .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #c9c9c9;
}

/* Article body */
.blog-article {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: #333;
    text-align: left;
}

.blog-article h1 {
    display: none;
}

.blog-article h2 {
    font-family: 'Merriweather', serif;
    font-size: 21px;
    line-height: 1.3;
    font-weight: 600;
    color: #262e2e;
    margin: 40px 0 12px;
    letter-spacing: -0.005em;
    text-align: left;
}

.blog-article h3 {
    font-family: 'Merriweather', serif;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
    color: #262e2e;
    margin: 28px 0 10px;
    text-align: left;
}

.blog-article h4 {
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #262e2e;
    margin: 22px 0 8px;
    text-transform: none;
    letter-spacing: 0;
    text-align: left;
}

.blog-article p {
    margin: 0 0 18px;
    text-align: left;
}

.blog-article a {
    color: #a57040;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.blog-article a:hover {
    color: #8a5a2b;
}

/* Lists neutralised: shown as plain paragraphs instead of bulleted lists */
.blog-article ul,
.blog-article ol {
    margin: 0 0 18px;
    padding-left: 0;
    list-style: none;
}

.blog-article ul li,
.blog-article ol li {
    margin: 0 0 10px;
    list-style: none;
}

.blog-article ul li::before,
.blog-article ol li::before {
    content: none;
}

/* Neutralise bold emphasis: text stays readable, not heavy */
.blog-article strong,
.blog-article b {
    color: inherit;
    font-weight: 400;
}

.blog-article em,
.blog-article i {
    font-style: italic;
    color: inherit;
}

.blog-article blockquote {
    border-left: 3px solid #d4b78a;
    background: transparent;
    padding: 4px 16px;
    margin: 22px 0;
    font-style: italic;
    color: #4a4033;
    border-radius: 0;
    text-align: left;
}

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

.blog-article img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
    margin: 22px auto;
}

.blog-article code {
    background: #f3efe8;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: Consolas, Menlo, monospace;
    font-size: 0.92em;
    color: #8a5a2b;
}

.blog-article pre {
    background: #272338;
    color: #f5f1e8;
    padding: 16px 18px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    text-align: left;
}

.blog-article pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

.blog-article hr {
    border: none;
    border-top: 1px solid #ece5d6;
    margin: 32px 0;
}

/* Share + back nav at the bottom */
.blog-detail-footer {
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid #ece5d6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.blog-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #262e2e;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 999px;
    background: #f3efe8;
    transition: background 0.2s ease;
}

.blog-detail-back:hover {
    background: #e4dbc9;
    color: #262e2e;
}

/* Related blogs strip */
.related-blogs-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px 24px 24px;
    text-align: left;
}

.related-blogs-section h2 {
    font-family: 'Merriweather', serif;
    font-size: 20px;
    font-weight: 600;
    color: #262e2e;
    margin: 0 0 20px;
    text-align: left;
}

.related-blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Mobile */
@media (max-width: 768px) {
    .blogs-hero-banner {
        padding: 40px 20px 28px;
    }
    .blogs-hero-title {
        font-size: 24px;
    }
    .blogs-hero-tagline {
        font-size: 14px;
    }
    .blogs-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .blog-detail-title {
        font-size: 24px;
    }
    .blog-detail-subtitle {
        font-size: 14px;
    }
    .blog-detail-hero {
        aspect-ratio: 16 / 5;
        min-height: 140px;
        max-height: 220px;
        margin-bottom: 22px;
    }
    .blog-detail-header {
        padding: 0 20px;
    }
    .blog-article {
        font-size: 15px;
        line-height: 1.7;
    }
    .blog-article h2 {
        font-size: 19px;
    }
    .blog-article h3 {
        font-size: 17px;
    }
    .blog-card-title {
        font-size: 16px;
    }
    .blog-card-subtitle {
        font-size: 13px;
    }
}
