.blog-content {
    height: 120px; 
    overflow: hidden; 
    display: flex; 
    align-items: center;
    padding: 0 1rem; 
}

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 405px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
}

.flip-card-front {
    background-color: #fff;
}

.blog-img img {
    width: 100%;
    height: calc(100% - 120px);
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.flip-card-back {
    background-color: #ffffff;
    color: rgb(3, 13, 32);
    transform: rotateY(180deg);
    border: 1px solid #dbdbdb;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%; 
    padding: 20px; 
}
.card-back-content {
    width: 100%; 
}

.card-back-content p {
    margin-bottom: 10px;
}

.card-back-content button {
    margin-top: 10px;
}





.card-container {
    background-color: #fff;
    width: 100%;
    height: 405px;
    border-radius: 10px;

}


.card-image img {
    width: 100%;
    height: calc(100% - 120px);
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card-details {
    height: 120px; 
    overflow: hidden; 
    display: flex; 
    flex-direction: column;
    align-items: flex-start;
    padding: 0 1rem; 
}

.card-description {
    margin: 0;
    flex-grow: 1; /* Allows the paragraph to take up available space */
}

.card-title {
    text-decoration: none;
}
