#news h2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#news h2 a {
    display: flex;
    align-items: center;
    justify-content: center;
}

#news {
    position: relative;
    padding: 0 min(5vw, 60px);
}

#news svg {
    height: 35px;
    aspect-ratio: 1;
}

#news .e-card {
    width: 100%;
    max-width: 375px;

    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    background-color: white;
    box-shadow: 0 6px 14px 0 rgba(0, 0, 0, 0.37);
    border-radius: 8px;
}

#news .e-img {
    background-color: #277D31;
    background-image: url('/img/admin/news-placeholder.jpg');
    height: 210px;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    border-bottom: 2px solid #277D31;
}

#news .e-cont {
    flex-grow: 1;
    width: 100%;
    padding: 10px;
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
}

#news .e-title {
    margin: 0;
    font-size: 21px;
    font-weight: 600;
    max-width: 100%;
    line-height: 25px;

}

#news .e-desc {
    font-size: 15px;
    line-height: 19px;
    margin-top: 3px;
}

#news .e-card button {
    margin-top: auto;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: white;
    font-weight: 400;
    font-size: 20px;
    background-color: #277D31;
    border-radius: 6px;
    padding: 4px 11px;
    border: none;
    cursor: pointer;
    margin: auto;
    margin-bottom: 0;
}

#news .e-card button a {
    text-decoration: none;
}

#news .e-card.big {
    width: 490px;
}

#news .decor {
    width: 80vw;
    aspect-ratio: 1;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateX(50%) translateY(-30%);
    background-color: #277D31;
    border-radius: 50%;
    z-index: -1 !important;
    max-width: 500px;
}

#news .decor2 {
    width: 50vw;
    aspect-ratio: 1;
    position: absolute;
    left: 0;
    top: 10%;
    transform: translateX(-40%);
    background-color: #294936;
    border-radius: 50%;
    z-index: -1 !important;
    max-width: 500px;
}


#news button {
    width: max-content;
}

#news button a {
    color: white;
}

#news h2 {
    text-align: left;
}

#news .cards {
    justify-content: start;
    align-items: stretch;
    overflow-x: scroll;
    flex-wrap: nowrap;
    scroll-snap-type: x mandatory;
    scroll-snap-stop: always;
    scroll-behavior: smooth;
    scroll-snap-align: 375px;
    display: flex;
    flex-direction: row;
    scrollbar-width: thin;
}

#news .e-card {
    flex-shrink: 0;
    scroll-snap-align: center;
}

@media only screen and (min-width: 765px) {
    #news {
        padding: 0 min(10vw, 50px);
    }
    #news .cards{
        scroll-snap-type: none;
    }

    #news h2 {
        justify-content: start;
        gap: 30px;
        text-align: left;
    }
}