/* ── BLOG LIST ───────────────────────────────────────────── */

.blog-list-page {
    padding-bottom: 4rem;
}

.blog-list-header {
    background: #f8f6f1;
    border-bottom: 1px solid #e8e2d9;
    padding: 2.5rem 0 2rem;
    margin-bottom: 2.5rem;
}
.blog-list-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: .35rem;
}
.blog-list-subtitle {
    color: #777;
    font-size: .95rem;
    margin: 0;
}

.blog-articles {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0;
    border: 1px solid #e8e2d9;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .2s, transform .2s;
}
.blog-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.10);
    transform: translateY(-2px);
}

.blog-card-img-wrap {
    display: block;
    overflow: hidden;
    background: #f0ece5;
    flex-shrink: 0;
}
.blog-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 180px;
    transition: transform .3s ease;
}
.blog-card:hover .blog-card-img-wrap img {
    transform: scale(1.04);
}

.blog-card-body {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-card-meta {
    font-size: .8rem;
    color: #999;
    margin-bottom: .5rem;
}
.blog-card-meta i { margin-right: .25rem; }

.blog-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: .6rem;
}
.blog-card-title a {
    color: #1a1a1a;
    text-decoration: none;
}
.blog-card-title a:hover { color: #e63012; }

.blog-card-excerpt {
    color: #666;
    font-size: .9rem;
    line-height: 1.6;
    margin-bottom: .75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    font-size: .85rem;
    font-weight: 600;
    color: #e63012;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin-top: auto;
    transition: gap .15s;
}
.blog-read-more:hover { gap: .55rem; color: #b82200; }
.blog-read-more i { font-size: .8rem; }

/* No image variant */
.blog-card:not(:has(.blog-card-img-wrap)) {
    grid-template-columns: 1fr;
}

@media (max-width: 600px) {
    .blog-card {
        grid-template-columns: 1fr;
    }
    .blog-card-img-wrap img {
        min-height: 200px;
        max-height: 220px;
    }
}

/* ── BLOG POST ───────────────────────────────────────────── */

.blog-post-page {
    padding-bottom: 4rem;
}

.blog-post-header {
    background: #f8f6f1;
    border-bottom: 1px solid #e8e2d9;
    padding: 2.5rem 0 2rem;
    margin-bottom: 2.5rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #888;
    text-decoration: none;
    font-size: .85rem;
    letter-spacing: .03em;
    margin-bottom: 1rem;
    transition: color .15s;
}
.back-link:hover { color: #e63012; }
.back-link i { font-size: .8rem; }

.blog-post-title {
    font-size: clamp(1.6rem, 4vw, 2.3rem);
    font-weight: 700;
    line-height: 1.25;
    color: #1a1a1a;
    margin-bottom: .75rem;
}

.blog-post-meta {
    color: #999;
    font-size: .85rem;
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.blog-post-meta i { margin-right: .25rem; }

.blog-content {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: #2a2a2a;
}

.blog-content p {
    margin-bottom: 1.2rem;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
    font-weight: 700;
    color: #111;
    margin-top: 2.25rem;
    margin-bottom: .7rem;
    line-height: 1.3;
}
.blog-content h2 { font-size: 1.45rem; }
.blog-content h3 { font-size: 1.2rem; }
.blog-content h4 { font-size: 1.05rem; }

.blog-content p > strong:only-child,
.blog-content p > strong:first-child {
    display: inline-block;
}

.blog-content ul,
.blog-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}
.blog-content li {
    margin-bottom: .45rem;
    line-height: 1.7;
}
.blog-content li::marker {
    color: #e63012;
}

.blog-content img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1.75rem auto;
    box-shadow: 0 2px 12px rgba(0,0,0,.10);
}

.blog-content p img {
    margin-top: 1rem;
    margin-bottom: .5rem;
}

@media (min-width: 640px) {
    .blog-content img + img {
        display: inline-block;
        vertical-align: top;
        max-width: 48%;
        margin: 1rem 1% 1rem 0;
    }
    .blog-content img:has(+ img) {
        display: inline-block;
        vertical-align: top;
        max-width: 48%;
        margin: 1rem 1% 1rem 0;
    }
}

.blog-content a {
    color: #e63012;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}
.blog-content a:hover {
    color: #b82200;
}

.blog-content blockquote {
    border-left: 4px solid #e63012;
    padding: .75rem 1.25rem;
    margin: 1.5rem 0;
    background: #fdf5f3;
    border-radius: 0 4px 4px 0;
    color: #444;
    font-style: italic;
}

.blog-post-footer {
    margin-top: 3rem;
}
.blog-post-footer hr {
    border-color: #e8e2d9;
    margin-bottom: 1.5rem;
}
