/* blog-style.css */

/* Section and Wrapper */
.blog-section {
    background: #f8f9fa;
    padding: 3rem 1rem;
}

.blog-wrapper {
    max-width: 1000px;
    margin: auto;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.blog-content {
    padding: 1rem;
}

/* Typography */
.blog-article {
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    line-height: 1.7;
}

.blog-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #212529;
    font-weight: 700;
    text-align: center;
}

.blog-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #555;
    font-weight: 400;
    text-align: center;
}

.blog-paragraph {
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
    color: #444;
}

/* Image Wrappers (single) */
.blog-image-wrapper {
    margin: 2rem 0;
    overflow: hidden;
    border-radius: 8px;
    max-height: 400px;
}

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

/* Date */
.blog-date {
    text-align: right;
    font-style: italic;
    color: #777;
    margin-top: 2rem;
    font-size: 0.95rem;
}

/* Image Grids (top, middle, bottom) */
.blog-image-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 0 1rem;
}

.blog-image-col {
    flex: 1 1 calc(33.333% - 1.5rem);
    max-width: calc(33.333% - 1.5rem);
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-image-col img.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    transition: transform 0.3s ease;
}

.blog-image-col:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.blog-image-col img.blog-image:hover {
    transform: scale(1.03);
}

/* Responsive Layout */
@media screen and (max-width: 992px) {
    .blog-image-col {
        flex: 1 1 calc(50% - 1.5rem);
        max-width: calc(50% - 1.5rem);
    }
}

@media screen and (max-width: 600px) {
    .blog-image-col {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .blog-image-col img.blog-image {
        height: 180px;
    }

    .blog-title {
        font-size: 2rem;
    }

    .blog-subtitle {
        font-size: 1.2rem;
    }

    .blog-paragraph {
        font-size: 1rem;
    }
}
