/* === style.css (complete) === */

.swiper-slide {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.1);
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
    height: 480px;
}

.blogs_slider {
    border-radius: 10px;
}

.posts-slider {
    position: relative;
}

.blogs_card-logo {
    display: flex;
    padding: 10px 8px 10px 8px;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    margin: 20px;
    max-height: 100px;
    background-color: white;
}

.blogs_card-logo img {
    object-fit: contain;
    height: 100%;
    max-width: 100%;
    width: 100%;
}

.blogs_card-image {
    display: flex;
    justify-content: center;
    height: 500px;
    max-height: 544px;
    object-fit: cover;
    max-height: 444px;
}

.posts-slider .swiper-slide.blogs_slider {
    border-radius: 10px !important;

}

.blogs_card-image img {
    width: 95%;
    object-fit: cover;
    margin: 0 20px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .blogs_card-image {
        max-height: 350px;
    }
}

@media (min-width: 1200px) {
    .blogs_card-image {
        max-height: 220px;
    }
}

@media (min-width: 1500px) {
    .blogs_card-image {
        max-height: 500px;
    }
}

@media (max-width: 1700px) {
    .blogs_card-image img {
        width: 90%;
    }
}

.blogs_card-content {
    flex: 1;
    padding: 15px 20px 20px 20px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
}

.blogs_card-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #fff;
}


.posts-slider .custom-button-next,
.posts-slider .custom-button-prev {
    background-color: #00000080;
    color: #fff;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    transition: all .3s ease;
    width: 80px;
    height: 80px;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

@media (max-width: 768px) {

    .posts-slider .custom-button-next,
    .posts-slider .custom-button-prev {
        height: 40px;
        width: 40px;
        padding: 0;
    }
}


.posts-slider .custom-button-prev {
    left: 0px;
}

.posts-slider .custom-button-next {
    right: 0px;
}


.posts-slider .custom-button-next::after,
.posts-slider .custom-button-prev::after {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


.posts-slider .custom-button-next::after {
    background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' \
stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
<polyline points='9 18 15 12 9 6'/></svg>");
}

/* left chevron */
.posts-slider .custom-button-prev::after {
    background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' \
stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
<polyline points='15 18 9 12 15 6'/></svg>");
}

/* hover/focus */
.posts-slider .custom-button-next:hover,
.posts-slider .custom-button-prev:hover,
.posts-slider .custom-button-next:focus-visible,
.posts-slider .custom-button-prev:focus-visible {
    background-color: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.04);
}

/* --------------- OTHER STYLES --------------- */

.blogs_card-content .blogs_date {
    font-size: 18px;
}

.blogs_card-content p {
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: 1px;
    font-family: Verdana, sans-serif;
    font-size: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blogs_read-more {
    text-align: center;
    border: 1px solid;
    border-radius: 10px;
    background-color: #ffffff00;
    padding: 20px;
    font-family: Verdana;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    letter-spacing: 0%;
    display: block;
}

.blogs_read-more:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.blogs_card-content hr {
    color: #fff;
    width: 100%;
}

.blogs_post_title {
    font-size: 18px;
    font-weight: 700;
}

p.blogs_description {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

img.icon-blue {
    margin-left: 4px;
}

@media (max-width: 768px) {
    .blogs_card-logo {
        min-height: 100px;
        max-height: 100px;
    }

    .custom-button-next,
    .custom-button-prev {
        padding: 25px;
        width: 40px;
        height: 40px;
        margin: -1px !important;
    }

}

.blogs_read-more br {
    display: none;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-header h3 {
    margin: 0;
}

.blogs_date {
    font-size: 16px;
}

.blogs_date br {
    display: none;
}

