.sec-blogs .card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.sec-blogs .card:hover {
    transform: scale(1.05);
}

.sec-blogs .card-img-top img {
    height: 200px;
    object-fit: cover;
}

.sec-blogs .card-body {
    padding: 15px;
}

.sec-blogs .card-title h5 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.sec-blogs .card-title .date {
    color: yellow; /* Set the date color to yellow */
    font-size: 0.9rem;
    margin-bottom: 10px;
}


.sec-blogs .card-text p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Grid layout for the blog cards */
.sec-blogs .row-cols-1 .col {
    margin-bottom: 20px;
}


iframe {
    width: 100% !important;
    height: 240px !important;
  }

@media (min-width: 768px) {
    .sec-blogs .row-cols-md-2 .col {
        flex: 0 0 calc(50% - 1rem); /* 2 columns for medium screens */
        margin-right: 1rem;
    }
}

@media (min-width: 992px) {
    .sec-blogs .row-cols-lg-3 .col {
        flex: 0 0 calc(33.333% - 1rem); /* 3 columns for large screens */
        margin-right: 1rem;
    }
}
