/**
 * Card "service" (template-parts/cards/service.php; old loop items 8382 EN,
 * 8509 AR): viewport-high featured-image section, content pinned to the
 * bottom of a boxed container (1140px / 1024px / 767px). Hidden on mobile.
 * Two-class selectors win over the kit / base element rules.
 */

.gloorst-service {
	--gloorst-service-font: "Helvetica Neue", sans-serif;
	--gloorst-service-max-width: 1140px;
	--gloorst-service-accent: #00acb1;
}

.gloorst-service .gloorst-service__hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 100vh;
	transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

.gloorst-service .gloorst-service__inner {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--gloorst-service-max-width);
	margin-inline: auto;
	padding: 0 0 100px 20px;
}

.gloorst-service .gloorst-service__title {
	width: 500px;
	max-width: 500px;
	margin: 0;
	padding: 0;
	font-family: "Helvetica", sans-serif;
	font-size: 70px;
	font-weight: 600;
	line-height: 70px;
	color: #fff;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.gloorst-service--ar .gloorst-service__title {
	font-family: var(--gloorst-service-font);
}

.gloorst-service .gloorst-service__action {
	margin-top: 20px;
	padding-left: 5px;
	text-align: left;
}

.gloorst-service--ar .gloorst-service__action {
	text-align: right;
}

.gloorst-service .gloorst-service__button,
.gloorst-service .gloorst-service__button:hover,
.gloorst-service .gloorst-service__button:focus {
	display: inline-block;
	padding: 15px 30px 10px;
	border-radius: 3px;
	background-color: var(--gloorst-service-accent);
	font-family: var(--gloorst-service-font);
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	color: #fff;
	text-align: center;
	text-decoration: none;
	transition: all 0.3s;
}

@media (max-width: 1024px) {
	.gloorst-service {
		--gloorst-service-max-width: 1024px;
	}
}

@media (max-width: 767px) {
	.gloorst-service .gloorst-service__hero {
		display: none;
	}
}
