#videos .e-card{
    width: 100%;
    height: 420px;
    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;
    max-width: 330px;
}
#videos h2{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#videos h2 a{
    width: max-content;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 2px 4px 5px 5px #0004;
}
#videos{
    position: relative;
    padding: 0 min(10vw, 50px);
}
#videos .e-img{
    background-color: #277D31;
    background-image: url('/img/admin/news-placeholder.jpg');
    height: 50%;
    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;
}
#videos .e-cont{
    height: 50%;
    width: 100%;
    padding: 10px;
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
}
#videos .e-title{
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    text-overflow: ellipsis;
    overflow-x: hidden;
    text-align: left;
    overflow-y: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 5em; /* Adjust based on your line-height */
    line-height: 1.5em; /* Set a fixed line-height */
    word-wrap: break-word;
}
#videos .e-desc{
    font-size: 15px;
    text-overflow: ellipsis;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5em; /* Set a fixed line-height */
    word-wrap: break-word;
}
#videos .e-card .button{
    margin-top: auto;
    margin-bottom: 10px;
    margin-left: 5px;
    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: 6px;
}
#videos .e-card a{
    text-decoration: none;
}
#videos .e-card.big{
    width: 490px;
}
#videos .decor{
    width: 100vw;
    aspect-ratio: 1;
    position: absolute;
    left: 0%;
    bottom: 0;
    transform: translateX(-50%) translateY(20%);
    background-color: #294936;
    border-radius: 50%;
    max-width: 500px;
}
@media only screen and (min-width: 720px){
    #videos .cards{
        justify-content: start;
    }
    #videos h2{
        justify-content: start;
        gap: 60px;
    }
}
#videos .e-card button {
    margin-top: auto;
    margin-bottom: 10px;
    margin-left: 5px;
    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;
}

#videos .e-card button a {
    text-decoration: none;
}
#videos button {
    width: max-content;
}

#videos button a {
    color: white;
}