.news-page-posts {
    display: flex;
    width: min(1370px, 100% - 2rem);
    margin: 0 auto 0 0;
    flex-wrap: wrap;
    justify-content: space-between;
}

.news-card {
    width: min(440px, 100%);
    border: 3px solid black;
    display: flex;
    margin: 0 0 2.5rem 0;
    align-items: start;
    background-color: #303030;
    flex-direction: column;
}

.content-sidebar {
    flex: 440px;
    flex-wrap: wrap;
}

.banner-height {
    position: relative;
}

.banner-text {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem;
    display: flex;
    align-items: end;
    position: absolute;
    background-color: #000000ad;
}

.news-category {
    font-size: 1.5rem;
    font-weight: 300;
    color: #88d040;
}

.news-card-text {
    margin: 1rem;
    text-transform: uppercase;
}

.news-card-heading {
    font-size: 2rem;
    font-weight: 300;
    padding: 1rem 0 0 0;
    color: white;
}

.news-card-image {
    width: 100%;
    height: 435px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    transition: 300ms ease-in-out;
    height: 100%;
    object-fit: cover;
}

.newsletter-form .ctct-form-wrapper form {
    display: flex;
    flex-direction: column;
}

#news-posts {
    display: flex;
    align-items: start;
    width: min(1920px,100% - 4rem);
    gap: 4rem;
    margin: 2rem auto;
}

.news-pagination-links ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.news-pagination-links {
    margin-bottom: 5rem;
}

.news-pagination-links ul li {
    list-style: none;
    border-radius: 3px;
    background-color: #87cd48;
    padding: 0.5rem;
    font-size: 1.5rem;
}

.news-pagination-links ul li a {
    color: white;
}


.news-pagination-links ul li.active {
    background-color: black;
    pointer-events: none;
}

.newsletter-form .ctct-form-wrapper form p label {
    display: none;
}

.newsletter-form .ctct-form-wrapper form p,
.newsletter-form .ctct-form-wrapper form p input {
    margin: 0 !important;
    border: none;
    outline: none;
}

.news-card:hover .news-card-image img,
.news-card:focus .news-card-image img {
    transform: scale(1.07);
}

a.news-card:hover {
    text-decoration: none;
}

.newsletter-form .ctct-form-wrapper form p {
    padding: 0.5rem 0;
    text-align: center;
}

.newsletter-form .ctct-form-wrapper form p input[type="submit"] {
    background-color: black;
    padding: 0 2rem;
}

.newsletter-form .ctct-form-wrapper form p input:not(input[type="submit"]) {
    background-color: #88d040;
    width: 100%;
}

.ctct-form-wrapper .ctct-submit {
    padding: 0;
}

.newsletter-form .ctct-form-wrapper form p input::placeholder {
    text-align: center;
    color: white;
    font-weight: 300;
}

.news-letter-heading {
    font-size: 3rem;
    font-weight: 700;
}

.content-sidebar {
    padding: 0.1rem 0;
}

@media (max-width: 1860px) {

    .news-card {
        width: min(420px, 100%);
    }
}

@media (max-width:1786px) {
    #news-posts {
        gap: 2rem;
        justify-content: center;
    }

    .content-sidebar {
        flex: 350px;
        max-width: 350px;
    }

    .news-page-posts {
        width: min(1100px, 100% - 2rem);
        margin: 0;
    }

    .news-card-image {
        height: 350px;
    }

    .news-card {
        width: min(350px, 100%);
    }
}

@media (max-width:1643px) {
    .news-page-posts {
        justify-content: space-around;
    }
}

@media (max-width:1500px) {
    .news-card {
        width: min(310px, 100%);
        height: 380px;
    }
}

@media (max-width:1500px) {
    .news-card {
        width: min(310px, 100%);
        height: 380px;
    }
}

@media (max-width: 1303px) {
    .news-card {
        width: min(280px, 100%);
        height: 350px;
    }
}

@media (max-width:1289px) {

    .news-page-posts {
        margin: 0 auto;
    }

    .content-sidebar {
        width: 100%;
        align-items: baseline;
        display: flex;
        justify-content: space-around;
    }
}

@media (max-width: 1203px) {
    .news-card {
        width: min(350px, 100%);
        height: 400px;
    }

    #news-posts {
        flex-direction: column;
    }

    .content-sidebar {
        max-width: unset;
    }
}

@media (max-width:850px) {
    .content-sidebar {
        gap: 5rem;
    }
}