/* Styles for the news content layout */

/* Default styles for larger screens */
.row.createitcustomnewsposts {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px; /* spacing between each news item */
}

.row.createitcustomnewsposts aside {
    flex: 0 0 40%; /* This ensures the aside takes up a maximum of 30% width */
    max-width: 40%;
    margin-right: 2%; /* Optional spacing between image and content columns */
}

.row.createitcustomnewsposts section {
    flex: 1; /* This ensures the section takes up the remaining available width */
    height: 259px;
}

.createitcustomnewsposts .priorities-list a {
    text-decoration: none;
    margin-right: 10px; /* Space between links if there are multiple */
    margin-top: 5px;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .row.createitcustomnewsposts {
        flex-direction: column; /* Stack columns on top of each other */
        align-items: flex-start; /* Align items to the left */
    }

    .row.createitcustomnewsposts aside,
    .row.createitcustomnewsposts section {
        flex: 1; /* Each column takes up full width on smaller screens */
        max-width: 100%;
        margin-right: 0; /* Remove margin between columns */
    }
	.createitcustomnewsposts h3 {
    font-size: 17px;
	}
	.createitcustomnewsposts p {
    font-size: 15px;
    line-height: 18px;
	}
}

/* Desktop styles (screens larger than 768px) */
@media (min-width: 769px) {
    .row.createitcustomnewsposts {
        align-items: flex-start; /* Align items to the top margin */
    }
}

a.prev.page-numbers, a.next.page-numbers {
    width: 65px !important;
}