/* ========= BLOG LISTING PAGE ========= */
.blog-listing {
    width: 900px;
    max-width: 95%;
    margin: 30px auto 40px auto;
}

.blog-listing-header {
    margin-bottom: 30px;
}

.blog-listing-header h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 6px;
}

.blog-listing-header p {
    font-size: 15px;
    color: #555;
}

/* Blog Listing Intro Content */
.blog-listing-intro {
    margin-bottom: 30px;
    padding: 0 0 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.blog-listing-intro p {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin: 0 0 14px 0;
}

.blog-listing-intro a {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.blog-listing-intro a:hover {
    color: #000;
}

/* Blog Card */
.blog-card {
    display: flex;
    gap: 24px;
    background: #fafafa;
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-card:hover {
    border-color: #000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.blog-card-img {
    width: 260px;
    min-width: 260px;
    height: 170px;
    border-radius: 8px;
    overflow: hidden;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.blog-card-img .img-placeholder {
    font-size: 13px;
    color: #999;
    text-align: center;
    padding: 10px;
}

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

.blog-card-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
    display: flex;
    gap: 12px;
}

.blog-card-body h2 {
    font-size: 19px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card-body p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.blog-card-link {
    font-size: 13px;
    font-weight: 600;
    color: #000;
}


/* ========= BLOG POST PAGE ========= */
.blog-post {
    width: 780px;
    max-width: 95%;
    margin: 30px auto 40px auto;
}

/* Breadcrumb */
.blog-breadcrumb {
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
}

.blog-breadcrumb a {
    color: #555;
    text-decoration: none;
}

.blog-breadcrumb a:hover {
    color: #000;
}

/* Post Header */
.blog-post-header {
    margin-bottom: 28px;
    border-bottom: 1px solid #dcdcdc;
    padding-bottom: 20px;
}

.blog-post-header h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
}

.blog-post-meta {
    font-size: 13px;
    color: #888;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Featured Image */
.blog-featured-img {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 28px;
    background: #f0f0f0;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.blog-featured-img .img-placeholder {
    font-size: 14px;
    color: #999;
    padding: 60px 20px;
    text-align: center;
}

/* Post Body Content */
.blog-body h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 32px 0 12px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.blog-body h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 10px 0;
    color: #111;
}

.blog-body p {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin: 10px 0 16px 0;
}

.blog-body ul,
.blog-body ol {
    margin: 12px 0 18px 22px;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.blog-body li {
    margin-bottom: 6px;
}

.blog-body strong {
    color: #111;
}

/* Info Box / Callout */
.blog-info-box {
    background: #f7f7f7;
    border-left: 4px solid #000;
    padding: 18px 22px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
}

.blog-info-box strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

/* Image Placeholder within post */
.blog-img-space {
    width: 100%;
    background: #f0f0f0;
    border: 1px dashed #ccc;
    border-radius: 10px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.blog-img-space img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.blog-img-space .img-placeholder {
    font-size: 14px;
    color: #aaa;
    text-align: center;
    padding: 20px;
}

/* Size Table */
.blog-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0 24px 0;
    font-size: 14px;
}

.blog-table th,
.blog-table td {
    border: 1px solid #dcdcdc;
    padding: 10px 14px;
    text-align: left;
}

.blog-table th {
    background: #f5f5f5;
    font-weight: 600;
    color: #111;
}

.blog-table td {
    color: #333;
}

/* CTA Box */
.blog-cta {
    background: #000;
    color: #fff;
    padding: 28px 30px;
    border-radius: 10px;
    text-align: center;
    margin: 30px 0;
}

.blog-cta h3 {
    color: #fff;
    font-size: 18px;
    margin: 0 0 8px 0;
}

.blog-cta p {
    color: #ccc;
    font-size: 14px;
    margin: 0 0 16px 0;
}

.blog-cta a {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}

.blog-cta a:hover {
    background: #eee;
}


/* ========= MOBILE ========= */
@media (max-width: 768px) {
    .blog-card {
        flex-direction: column;
        gap: 14px;
    }

    .blog-card-img {
        width: 100%;
        min-width: unset;
        height: 180px;
    }

    .blog-listing-header h1 {
        font-size: 22px;
    }

    .blog-post-header h1 {
        font-size: 22px;
    }

    .blog-body h2 {
        font-size: 19px;
    }

    .blog-body h3 {
        font-size: 16px;
    }

    .blog-img-space {
        min-height: 180px;
    }
}