/**
 * Background-image slides (gloorst_render_slides(): gloorst-slides widget,
 * project category archive). Swiper base styles: library stylesheet "swiper".
 * Slide height comes from the widget control (or the archive CSS).
 */

.gloorst-slides {
	position: relative;
}

.gloorst-slides .gloorst-slides__bg {
	min-width: 100%;
	min-height: 100%;
	background-position: 50%;
	background-repeat: no-repeat;
	background-size: cover;
}

.gloorst-slides .gloorst-slides__inner {
	position: absolute;
	inset: 0;
	display: flex;
	margin: auto;
	padding: 50px;
	color: #fff;
}

.gloorst-slides--v-top .gloorst-slides__inner { align-items: flex-start; }
.gloorst-slides--v-middle .gloorst-slides__inner { align-items: center; }
.gloorst-slides--v-bottom .gloorst-slides__inner { align-items: flex-end; }
.gloorst-slides--h-left .gloorst-slides__inner { justify-content: flex-end; }
.gloorst-slides--h-center .gloorst-slides__inner { justify-content: center; }
.gloorst-slides--h-right .gloorst-slides__inner { justify-content: flex-start; }

.gloorst-slides .gloorst-slides__heading {
	font-size: 35px;
	font-weight: 700;
	line-height: 1;
}

.gloorst-slides .gloorst-slides__description {
	font-size: 17px;
	line-height: 1.4;
}

.gloorst-slides .gloorst-slides__heading:not(:last-child),
.gloorst-slides .gloorst-slides__description:not(:last-child) {
	margin-bottom: 30px;
}

.gloorst-slides .gloorst-slides__button {
	display: inline-block;
	border: 2px solid #fff;
	background: transparent;
	color: #fff;
}

.gloorst-slides .gloorst-slides__arrow {
	position: absolute;
	top: 50%;
	z-index: 1;
	display: inline-flex;
	font-size: 25px;
	color: rgba(238, 238, 238, 0.9);
	cursor: pointer;
	transform: translateY(-50%);
}

.gloorst-slides .gloorst-slides__arrow--prev { left: 10px; }
.gloorst-slides .gloorst-slides__arrow--next { right: 10px; }
.rtl .gloorst-slides .gloorst-slides__arrow--prev { right: 10px; left: auto; }
.rtl .gloorst-slides .gloorst-slides__arrow--next { left: 10px; right: auto; }

@media (max-width: 767px) {
	.gloorst-slides .gloorst-slides__inner {
		padding: 30px;
	}

	.gloorst-slides .gloorst-slides__heading {
		margin-bottom: 15px;
		font-size: 23px;
	}

	.gloorst-slides .gloorst-slides__description {
		margin-bottom: 15px;
		font-size: 13px;
	}
}
