/* General container for the review cards */
.blogs {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* ✅ 3 per row */
    gap: 20px;
    margin: 20px 0;
    padding: 0 20px;
}

/* Each review card */
.blog-card {
    background: #000; /* Black background */
    border: 1px solid #E71D25; /* Red border */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    overflow: hidden;
    color: #fff; /* White text inside cards */
}

/* Hover effect for the cards */
.blog-card:hover {
    transform: scale(1.05); /* Slight enlarge */
    box-shadow: 0 0 20px #E71D25; /* Red glow */
    z-index: 2;
}

/* Review post title */
.blog-card h5 {
    font-size: 16px;
    line-height: 1.4;
    margin: 10px 0;
    font-weight: bold;
    color: #E71D25; /* Red titles */
}

/* Review publish date */
.blog-card p {
    font-size: 13px;
    color: #ccc;
    margin-top: 8px;
}

/* Review images */
.blog-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    display: block;
    margin-bottom: 10px;
}

/* "Read More" button */
.read-more-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #E71D25; /* Red */
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.read-more-btn:hover {
    background-color: #000;
    color: #E71D25;
    box-shadow: 0 0 10px #E71D25;
}

/* Responsive design */
@media (max-width: 1200px) {
    .blogs {
        grid-template-columns: repeat(2, 1fr); /* 2 per row */
    }
}
@media (max-width: 768px) {
    .blogs {
        grid-template-columns: 1fr; /* 1 per row */
    }
}
