.min-posts{
    margin-bottom: 10vh;
    .content-container {
        margin: 5px;
        border-radius: 10px;
        overflow: hidden; /* Ensure rounded corners work for inner elements */
    }
    
    .section--news .box-news, .section--alerts .box-news {
        /*margin-bottom: 48px;*/
        min-height: 86px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 1px solid #e0e0e0; /* Add border to make the content more visible */
        border-radius: 8px;
        padding: 8px;
        background-color: #ffffff;
    }
    
    .section--news .box-news:hover, .section--alerts .box-news:hover {
        transform: translateY(-10px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    }
    
    .section {
        padding-top: 10px;
        padding-bottom: 20px;
        border-radius: 8px;
        
    }
    
    .section--news {
        background: #f3f1f1; 
        display: flex;
    flex-direction: column;
    justify-content: space-between;
    }
    
    .section--alerts {
        background: #6bc5d1;
        color: white;
    }
    
    .h1, h1 {
        font-size: 1.4rem;
        font-weight: 200;
    }
    
    h2 {
        font-size: 1rem;
    }
    
    a {
        font-size: 1rem;
        color: inherit;
    }
    
    .view-button {
        display: inline-block;
        padding: 5px 10px;
        font-size: 0.8rem;
        border-radius: 5px;
        text-align: center;
        font-weight: bold;
        text-decoration: none;
        margin-top: auto; /* Push the button to the bottom */
    }
    
    .news-button {
        background-color: #00b6ce; /* Blue button for News */
        color: white;
    }
    
    .news-button:hover {
        background-color: #00b6ce;
    }
    
    .alert-button {
        background-color: #ffffff; /* White button for Alerts */
        color: #00b6ce;
    }
    
    .alert-button:hover {
        background-color: #e0e0e0;
    }
    
    /* Similar background for topic headings as buttons */
    .section--news h2.h1 {
        background-color: #00b6ce;
        color: white;
        padding: 10px;
        border-radius: 5px;
        display: inline-block;
        text-align: center;
        font-weight: 600;
    }
    
    .section--alerts h2.h1 {
        background-color: #ffffff;
        color: #00b6ce;
        padding: 10px;
        border-radius: 5px;
        display: inline-block;
        text-align: center;
        font-weight: 600;
    }
    
    /* Limit Title to 2 Lines */
    .box-news h2 {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
    }
    
    .box-news p {
        margin-bottom: 0;
    }
    
    img {
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    img:hover {
        opacity: 0.85;
    }
    
    /* Responsive Image and Text Alignment */
    .img-container {
        width: 100%;
    }
    
    .section--news .box-news .img-container, .section--alerts .box-news .img-container {
        max-width: 100px; /* Set consistent size for both news and alerts */
    }
    
    /* Light black for alert section boxes */
    .section--alerts .box-news {
        color: #000;
        min-height: 86px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 1px solid #e0e0e0; /* Add border to make the content more visible */
        border-radius: 8px;
        padding: 15px;
        background-color: #efebeb;
        margin-bottom: 30px;
    }
    
    /* Make sure titles and contents are not clipped on smaller screens */
    @media (min-width: 1230px) {
        .section--news .container, .section--alerts .container {
            max-width: 1100px;
        }
    }
    
    .section--alerts a:hover h2, .section--alerts p:hover, .section--alerts a:hover,
    .section--news a:hover h2, .section--news p:hover, .section--news a:hover {
        text-decoration: none;
        color:#000;
        /* font-weight: 550; */
    }
    /* Make sections side-by-side on wide screens */
    @media (min-width: 992px) {
        .side-by-side {
            display: flex;
        }
    
        .section--news, .section--alerts {
            flex: 1;
            margin-right: 0px;
        }
    
        .section--alerts {
            margin-right: 0;
        }
        /* .section--news h1, .section--alerts h1 {
            width: 100%;
        } */
    }
    .img-container {
        flex: 0 0 25%; /* Equivalent to col-lg-3 for large screens */
        max-width: 25%; /* Set the max width to maintain the column layout */
        padding-right: 0.25rem; /* Equivalent to pr-1 */
        box-sizing: border-box; /* Ensure padding does not affect total width */
        height: auto;
    }
    
    .img-container img {
        width: 100%; /* Make the image responsive */
        height: auto; /* Maintain aspect ratio */
    }
    
    @media (max-width: 768px) { /* Adjust styles for smaller screens */
        .img-container {
            flex: 0 0 50%; /* Equivalent to col-4 for smaller screens */
            max-width: 50%; /* Adjust max width for smaller screens */
        }
        .button-container {
            margin-top: 20px; /* Adjust margin for smaller screens */
        }
    }
    
    @media (max-width: 576px) { /* Further adjustments for very small screens */
        .img-container {
            flex: 0 0 100%; /* Full width on extra small screens */
            max-width: 100%;
        }
    }
}