section.news {
    background: #eee;
}

section.news h1 {
    color: #061649;
    font-family: "Poppins";
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 42px;
}

section.news h1:before {
    content: "";
    background: #ddd;
    width: 40px;
    height: 3px;
    display: block;
    margin: 10px auto 10px auto;
}

section.news .col-md-4 {
    background: #fff;
    background-clip: padding-box;
    border: 12px solid transparent;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    display: flex; /* Make content a flex column */
    flex-direction: column; /* Stack content vertically */
    padding-bottom: 20px; /* Add some bottom padding */
    box-sizing: border-box; /* Include padding and border in the element's total width */
    border: 1px solid red; /* Temporary border for visualization */
}
section.news .col-md-4 img {
    width: 100%;
}

section.news .col-md-4 a.btn.btn-postdate {
    background: #fff2ea;
    color: #ff6e17;
    border-radius: 6px;
    margin: 12px 20px;
}

section.news .col-md-4 h2 {
    color: #061649;
    font-family: "Poppins";
    font-size: 24px;
    font-weight: 700;
    margin: -10px 20px 10px 20px; /* Reduce horizontal margins */
    word-break: break-word; /* Prevent long words from overflowing */
}

section.news .col-md-4 p.content {
    font-family: "Roboto";
    font-size: 14px;
    margin: 0px 25px;
    flex-grow: 1; /* Allow content to take up available vertical space */
    margin: 0px 20px; /* Reduce horizontal margins */
    word-break: break-word; /* Prevent long words from overflowing */
}

/* Add Flexbox to the row containing news items */
section.news .row.mb_row_97777 {
    display: flex;
    flex-wrap: wrap;
}

/* Ensure the link wrapping the column takes full height */
section.news .row.mb_row_97777 > a {
    height: 100%;
    display: block; /* Ensure the link is a block element */
}

section.news .col-md-4 a.btn.btn-readall {
    color: #061649;
    text-transform: uppercase;
    font-weight: bold;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #061649;
    margin: 8px 20px;
    border-radius: 0;
}

section.news p.intrested {
    text-align: center;
    font-family: "Poppins";
    font-size: 16px;
    margin-top: 40px;
    margin-bottom: -40px;
}
