@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 900;
    src: url("../fonts/fa-solid-900.woff2");
}

.arrow-container .fa-solid {
    font-size: 2em;
    color: #fb9f52;
}

#news,
.news-container
{
    background-color: #f3f4f6;
}
#news {
    padding-bottom: 20px;
}

.news-container h1 {
    border-left: 6px solid #4c5c62;
    margin-left: 60px;
    font-weight: normal;
}

.news-container {
    padding: 20px;
}

#news .slider {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.card {
    width: 340px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 560px;
    margin: 0 20px;
}

.card-image {
    background-color: #2C3E50;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px 15px 10px 15px;
    color: #fff;
}

.card-image p:first-child {
    font-size: 40px;
    color: #a9b3bd;
    float: left;
    margin-right: 150px;
}

.card-image img {
    width: 100%;
    height: auto;
}

.card-content {
    padding: 20px;
    flex: 1;
}

.card-title {
    font-size: 1.2em;
    font-weight: bold;
    -webkit-box-orient: vertical;
    line-height: 1.2em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    height: 3.6em;
}

.card-description {
    font-size: 0.9em;
    color: #555;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    height: 10em;
}

.card-footer {
    padding: 20px;
    text-align: center;
    background-color: #fff;
}

.card-button {
    background-color: #d94718;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1em;
    width: 100%;
}

.card-button:hover {
    background-color: #c0392b;
}
.card-footer a button {
    color: #fff;
    text-decoration: none;
}


.slider-container.news {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    background-color: #f3f4f6;
}

/* Position the arrows on either side of the slider */
.slider-prev {
    position: absolute;
    top: 33%;
    left: 80px;
    border: none;
    background-color: transparent;
}

.slider-next {
    position: absolute;
    top: 33%;
    right: 80px;
    border: none;
    background-color: transparent;
}


.arrow-container {
    display: flex;
    align-items: center;
}

.slider {
    width: 80%;
}

.slick-dots {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    margin-top: 50px;
}

.slick-dots li {
    display: inline-block;
    margin-right: 10px;
}

.slick-dots li button:before {
    content: "";
    position: relative;
    display: block;
    width: 13px;
    height: 13px;
    background-color: #beccd5;
    border-radius: 50%;
    opacity: 0.5;
}

.slick-dots li.slick-active button:before {
    background-color: #333;
    opacity: 1;
}

.slick-dots li {
    font-size: 0;
}

.slick-dots li button {
    font-size: 0;
    border: none;
    background-color: transparent;
}

.slick-dots li button div {
    font-size: 16px;
}

#news .slick-slide img {
    max-height: none;
}

@media (min-width: 1800px) {
    .card {
        height: 480px;
    }
}

@media (min-width: 1100px) and (max-width: 1880px) {
    .card {
        height: 480px;
    }
}

@media (max-width: 1100px) {
    .card {
        height: 480px;
    }
    .slider-prev {
        left: 50px;
    }

    .slider-next {
        right: 50px;
    }
}

@media screen and (max-width: 1200px) {
    .news-container, .slider-container.news  {
        display: none;
    }
}