/* Blog List Container */
#features-wrapper {
    padding: 40px 0;
    background-color: #f9f9f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Grid row setup */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

/* Grid columns */
.col-12 {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.col-4 {
    width: 30%;
    max-width: 30%;
    padding: 0 15px;
    box-sizing: border-box;
    display: flex;
    align-items: center; /* vertically center */
    justify-content: center; /* horizontally center */
}

.col-8 {
    width: 70%;
    max-width: 70%;
    padding: 0 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Responsive */
@media (max-width: 992px) {
    .col-4, .col-8 {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin-bottom: 20px;
        display: block;
        text-align: center;
    }
}

/* Blog entry box */
section.box {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    margin-bottom: 32px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
}

section.box:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Image wrapper */
.blog-image-wrapper {
    width: 200px;
    height: 180px; /* Reduced height */
    overflow: hidden;
    border-radius: 5px 5px 5px 5px;
    flex-shrink: 0;
    position: relative;
    background-color: #eee;
}

.blog-image-wrapper img {
    width: 200px;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.3s ease;
}

.blog-image-wrapper:hover img {
    transform: scale(1.05);
}

/* Text content area */
.inner {
    padding: 20px 25px;
}

/* Header styles */
header h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.8rem;
    color: #222;
    font-weight: 700;
    transition: color 0.3s ease;
}

header h2 a {
    text-decoration: none;
    color: inherit;
}

header h2 a:hover {
    color: #0056b3;
}

/* Subtitle */
header p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 16px;
    font-style: italic;
}

/* Content paragraph */
.inner p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
}

/* Read More link */
.inner p a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    margin-left: 8px;
    transition: color 0.3s ease;
}

.inner p a:hover {
    color: #0056b3;
}

/* Responsive text adjustments */
@media (max-width: 768px) {
    section.box {
        flex-direction: column;
        border-radius: 16px;
    }
    .blog-image-wrapper {
        border-radius: 16px 16px 0 0;
        height: 220px;
    }
    header h2 {
        font-size: 1.5rem;
    }
    .inner p {
        font-size: 0.95rem;
    }
}
