/* General Styles */
.center {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.jsvm_cm-news-list-wrap .thumbnail {
    width: 100%;
    height: 566px; 
    border: 1px solid #d4d4d4;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
    position: relative;
    padding-bottom: 30px; /* Adding padding for button spacing */
}

.thumbnail img {
    height: 145px;
    width: 100%;
    object-fit: cover;
    border: 1px solid #dd0004;
}

.datecomment {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border-top: 4px solid #dd0004;
}

.heading {
    font-size: 16px;
    background-color: #dd0004;
    padding: 5px 10px;
}

.caption {
    padding: 5px;
}

.news-heading {
    border-bottom: 1px solid #dd0004;
}

.section-title {
    margin-top: 1%;
}

.separator {
    margin: 14px 0;
}

.jsvm_bigfont {
    font-size: 110%;
    line-height: 1.5;
    color: #000;
}

/* Buttons */
.btn-plus {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: .25rem !important;
}

.btn-danger, .btn-plus {
    text-align: center;
    width: max-content;
    background-color: #dd0004;
    border: none;
    color: #fff;
    border-radius: 5px;
}
.more-link {
    margin: 10px;
    text-align: end;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .thumbnail img {
        height: 150px;/* Adjusted for smaller screens */
    }
    
    .btn-danger {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
}

@media (max-width: 576px) {
    .thumbnail {
        padding-bottom: 20px;
        height: auto;
    }
    
    .btn-plus {
        bottom: 5px;
        left: 5px;
        right: 5px;
    }
}
