.image-slider-block {
    position: relative;
    max-width: 991px;
    margin: 0 auto;
}

.image-slider-block .image-slider-main {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 5px;
    position: relative;
}

.image-slider-block .image-slider-main .swiper-slide {
    display: flex;

    justify-content: center;
}

.image-slider-block .image-slider-main .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.image-slider-block .image-slider-prev,
.image-slider-block .image-slider-next {
    position: absolute !important;
    transform: translateY(-50%);
    margin: 0 !important;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    color: #fff;
    z-index: 10;
    transition: background 0.3s ease;
}

.image-slider-block .image-slider-prev:hover,
.image-slider-block .image-slider-next:hover {
    background: rgba(0, 0, 0, 0.85);
}

.image-slider-block .image-slider-prev { left: 10px; }
.image-slider-block .image-slider-next { right: 10px; }

.image-slider-block .image-slider-prev::after,
.image-slider-block .image-slider-next::after {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", sans-serif;
    font-weight: 900;
    font-size: 18px;
}
.image-slider-block .image-slider-prev::after { content: '\f053'; }
.image-slider-block .image-slider-next::after { content: '\f054'; }

.image-slider-block .image-slider-thumbs {
    width: 100%;
    margin-bottom: 16px;
}

.image-slider-block .image-slider-thumbs .swiper-slide {
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 991 / 564;
    height: auto;
    box-sizing: border-box;
}

.image-slider-block .image-slider-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

.image-slider-block .image-slider-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--color-primary, #e63946);
}


.image-slider-block .image-slider-main .image-slider-media {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.image-slider-block .image-slider-main .image-slider-media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
	border-radius: 8px;
}

.image-slider-block .image-slider-caption {
    font-size: 18px;
    line-height: 1;
    color: var(--single-p);
    font-style: italic;
    padding: 15px 0;
	text-align: left;
}

.image-slider-block .image-slider-main .swiper-slide {
    display: flex;
    flex-direction: column;
}

.image-slider-block .image-slider-main {
    position: relative;
}

.image-slider-block .image-slider-prev,
.image-slider-block .image-slider-next {
    position: absolute !important;
    top: calc(50% - 28px) !important;
    transform: translateY(-50%);
    margin: 0 !important;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    color: #fff;
    z-index: 10;
    transition: background 0.3s ease;
}

.image-slider-block .image-slider-caption .caption-sup {
    font-size: 0.83em;
    line-height: 0;
}

@media (max-width: 768px) {
	.image-slider-block .image-slider-thumbs .swiper-slide {
		height: 88px;
	}

	.image-slider-block .image-slider-thumbs .swiper-slide img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	
	.image-slider-block .image-slider-caption {
		padding: 10px 0 0;
		line-height: 1.3;
		margin-bottom: 5px;
		display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        min-height: calc(14px * 1.2 + 20px);
	}
}