/**
 * Single case study (single-case-study.php; was Elementor doc 2295).
 *
 * Hero, intro/story/challenge/solution blocks, image + text features,
 * background slides, results band, pie chart + progress bars, contact CTA.
 * Selectors use two classes to win over the kit / base element rules
 * (".elementor-kit-12 h2", "h2", "a:hover" ...).
 */

.gloorst-case-study {
	--gcs-font: "Helvetica Neue", sans-serif;
	--gcs-width: 1140px;
	--gcs-cyan: #25d1d6;
	--gcs-navy: #05142c;
	--gcs-yellow: #ffdd47;
	--gcs-ink: #08172f;
	--gcs-white: #fff;
}

/* Layout */
.gloorst-case-study .gloorst-case-study__container {
	position: relative;
	display: flex;
	max-width: var(--gcs-width);
	margin-inline: auto;
}

.gloorst-case-study .gloorst-case-study__col {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	width: 100%;
	min-height: 1px;
}

.gloorst-case-study .gloorst-case-study__col--padded {
	padding: 20px;
}

.gloorst-case-study .gloorst-case-study__col--middle {
	align-items: center;
	align-content: center;
}

.gloorst-case-study .gloorst-case-study__col > * {
	width: 100%;
}

/* Titles + texts */
.gloorst-case-study .gloorst-case-study__title {
	width: var(--gcs-title-width, 100%);
	max-width: 100%;
	margin: 0;
	padding: 0;
	font-family: var(--gcs-font);
	font-size: 45px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--gcs-cyan);
}

.gloorst-case-study .gloorst-case-study__text {
	padding-top: 20px;
	font-family: var(--gcs-font);
	font-size: 15px;
	font-weight: 400;
	line-height: 20px;
	color: var(--gcs-white);
}

.gloorst-case-study .gloorst-case-study__text:not(:last-child) {
	margin-bottom: 20px;
}

.gloorst-case-study .gloorst-case-study__text p {
	margin: 0 0 1.75em;
}

.gloorst-case-study .gloorst-case-study__actions {
	padding-top: 30px;
	text-align: center;
}

.gloorst-case-study .gloorst-case-study__button,
.gloorst-case-study .gloorst-case-study__button:hover,
.gloorst-case-study .gloorst-case-study__button:focus {
	display: inline-block;
	padding: 10px 50px;
	border-radius: 5px;
	background-color: var(--gcs-yellow);
	font-family: var(--gcs-font);
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	color: var(--gcs-ink);
	text-align: center;
	text-decoration: none;
	transition: all 0.3s;
}

/* Hero */
.gloorst-case-study .gloorst-case-study__hero {
	position: relative;
	padding-top: 200px;
	background-position: center center;
	background-size: cover;
}

.gloorst-case-study .gloorst-case-study__hero-inner {
	display: flex;
	align-items: center;
	max-width: var(--gcs-width);
	min-height: 100vh;
	margin-inline: auto;
}

.gloorst-case-study .gloorst-case-study__hero-body {
	width: 100%;
	padding: 0 0 1px 50px;
}

.gloorst-case-study .gloorst-case-study__hero-title {
	width: 1020px;
	max-width: 100%;
	margin: 0;
	padding: 0;
	font-family: var(--gcs-font);
	font-size: 50px;
	font-weight: 600;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--gcs-white);
}

/* Intro / challenge / solutions blocks */
.gloorst-case-study .gloorst-case-study__block {
	padding: 50px 0;
}

.gloorst-case-study .gloorst-case-study__block .gloorst-case-study__title,
.gloorst-case-study .gloorst-case-study__block .gloorst-case-study__text {
	text-align: center;
}

.gloorst-case-study__block--intro {
	--gcs-title-width: 1092px;
}

.gloorst-case-study__block--challenge {
	--gcs-title-width: 1095px;
}

.gloorst-case-study .gloorst-case-study__block--solutions {
	--gcs-title-width: 1089.983px;
	background-color: var(--gcs-cyan);
}

.gloorst-case-study .gloorst-case-study__block--solutions .gloorst-case-study__title {
	color: var(--gcs-navy);
}

/* Story */
.gloorst-case-study .gloorst-case-study__story {
	--gcs-title-width: 537.991px;
	padding: 50px 0;
	background-color: var(--gcs-cyan);
}

.gloorst-case-study .gloorst-case-study__story .gloorst-case-study__title {
	color: var(--gcs-navy);
}

.gloorst-case-study .gloorst-case-study__story .gloorst-case-study__actions {
	text-align: left;
}

.gloorst-case-study .gloorst-case-study__story-media {
	margin-bottom: -30px;
	text-align: center;
}

.gloorst-case-study .gloorst-case-study__story-image {
	width: 80%;
}

/* Image + text features */
.gloorst-case-study .gloorst-case-study__feature--first {
	padding-top: 50px;
}

.gloorst-case-study .gloorst-case-study__feature--last {
	padding-bottom: 50px;
}

.gloorst-case-study .gloorst-case-study__feature--extra {
	padding: 50px 0;
}

.gloorst-case-study .gloorst-case-study__media {
	text-align: start;
}

.gloorst-case-study .gloorst-case-study__image {
	width: 80%;
}

.gloorst-case-study .gloorst-case-study__feature--extra .gloorst-case-study__image {
	width: 70%;
}

.gloorst-case-study .gloorst-case-study__feature-title {
	margin: 0;
	padding: 0 0 10px;
	font-family: var(--gcs-font);
	font-size: 35px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--gcs-cyan);
}

/* Background slides */
.gloorst-case-study .gloorst-case-study__slides-inner {
	display: flex;
}

.gloorst-case-study .gloorst-case-study__slide {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	align-content: center;
	width: 33.333%;
	padding: 0 0 0 100px;
}

.gloorst-case-study .gloorst-case-study__slide-title {
	width: 100%;
	margin: 0 0 20px;
	font-family: var(--gcs-font);
	font-size: 30px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--gcs-white);
}

.gloorst-case-study .gloorst-case-study__slide-title:last-child {
	margin-bottom: 0;
}

.gloorst-case-study .gloorst-case-study__slide-text {
	width: 500px;
	max-width: 100%;
	padding-top: 10px;
	font-family: var(--gcs-font);
	font-size: 20px;
	font-weight: 300;
	line-height: 1.3;
	color: var(--gcs-white);
}

/* Results band */
.gloorst-case-study .gloorst-case-study__results {
	--gcs-title-width: 406px;
	padding: 50px 0;
	background-color: var(--gcs-cyan);
}

.gloorst-case-study .gloorst-case-study__container--results {
	align-items: center;
	min-height: 514px;
}

.gloorst-case-study .gloorst-case-study__results .gloorst-case-study__title {
	color: var(--gcs-navy);
}

/* Charts: pie, texts, progress bars */
.gloorst-case-study .gloorst-case-study__charts-inner {
	max-width: var(--gcs-width);
	margin-inline: auto;
	padding: 10px;
}

.gloorst-case-study .gloorst-case-study__container--chart {
	margin: 50px 0;
}

.gloorst-case-study .gloorst-case-study__col--chart {
	padding: 30px;
}

.gloorst-case-study .gloorst-case-study__pie {
	position: relative;
	height: 225px;
	background-color: #000;
}

.gloorst-case-study .gloorst-case-study__pie-canvas {
	display: block;
	width: 100%;
	height: 100%;
}

.gloorst-case-study .gloorst-case-study__subtitle {
	width: 100%;
	margin: 0 0 20px;
	padding: 0;
	font-family: var(--gcs-font);
	font-size: 30px;
	font-weight: 600;
	line-height: 1.3;
	text-transform: uppercase;
	text-align: start;
	color: var(--gcs-cyan);
}

.gloorst-case-study .gloorst-case-study__summary {
	margin-bottom: 50px;
	padding: 10px;
	text-align: center;
}

.gloorst-case-study .gloorst-case-study__subtitle--center {
	text-align: center;
}

.gloorst-case-study .gloorst-case-study__text--summary {
	padding: 20px 50px 0;
}

.gloorst-case-study .gloorst-case-study__progress-list {
	margin-bottom: 50px;
	padding: 10px;
}

.gloorst-case-study .gloorst-case-study__progress {
	position: relative;
	overflow: hidden;
	border-radius: 2px;
	background-color: #eee;
}

.gloorst-case-study .gloorst-case-study__progress:not(:last-child) {
	margin-bottom: 20px;
}

.gloorst-case-study .gloorst-case-study__progress-bar {
	display: flex;
	align-items: center;
	width: 0;
	height: 30px;
	border-radius: 2px;
	background-color: #ffca76;
	font-family: var(--gcs-font);
	font-size: 11px;
	font-weight: 600;
	line-height: 30px;
	color: #000;
	transition: width 1s ease-in-out;
}

.gloorst-case-study .gloorst-case-study__progress-text {
	flex-grow: 1;
	overflow: hidden;
	padding-inline-start: 15px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.gloorst-case-study .gloorst-case-study__progress-value {
	padding-inline-end: 15px;
}

/* Empty project */
.gloorst-case-study .gloorst-case-study__empty {
	display: flex;
	align-items: center;
	max-width: var(--gcs-width);
	height: 100vh;
	margin-inline: auto;
	padding: 0 10px;
}

.gloorst-case-study .gloorst-case-study__empty-title {
	width: 100%;
	margin: 0;
	font-family: var(--gcs-font);
	font-size: 55px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	color: var(--gcs-white);
}

/* Contact CTA */
.gloorst-case-study .gloorst-case-study__cta {
	background-color: #00acb1;
}

.gloorst-case-study .gloorst-case-study__cta-inner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: var(--gcs-width);
	min-height: 370px;
	margin-inline: auto;
	padding: 0 10px;
}

.gloorst-case-study .gloorst-case-study__cta-title {
	margin: 0 0 20px;
	padding: 0;
	font-family: var(--gcs-font);
	font-size: 32px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	color: #0c1b33;
}

.gloorst-case-study .gloorst-case-study__cta-button,
.gloorst-case-study .gloorst-case-study__cta-button:hover,
.gloorst-case-study .gloorst-case-study__cta-button:focus {
	display: inline-block;
	align-self: center;
	padding: 12px 20px 6px;
	border-radius: 3px;
	background-color: #edb230;
	font-family: var(--gcs-font);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	color: #0c1b33;
	text-decoration: none;
	transition: all 0.3s;
}

@media (min-width: 768px) {
	.gloorst-case-study .gloorst-case-study__container > .gloorst-case-study__col:not(:only-child) {
		width: 50%;
	}
}

@media (max-width: 1024px) {
	.gloorst-case-study {
		--gcs-width: 1024px;
	}

	.gloorst-case-study .gloorst-case-study__container,
	.gloorst-case-study .gloorst-case-study__slides-inner {
		flex-wrap: wrap;
	}
}

@media (max-width: 921px) {
	.gloorst-case-study .gloorst-case-study__cta-title {
		font-size: 25px;
	}
}

@media (max-width: 767px) {
	.gloorst-case-study {
		--gcs-width: 767px;
	}

	.gloorst-case-study .gloorst-case-study__hero-inner {
		min-height: 250px;
	}

	.gloorst-case-study .gloorst-case-study__hero-title {
		font-size: 30px;
	}

	.gloorst-case-study .gloorst-case-study__slide {
		width: 100%;
	}

	.gloorst-case-study .gloorst-case-study__slide-text {
		font-size: 15px;
	}

	.gloorst-case-study .gloorst-case-study__progress-text {
		padding-inline-start: 10px;
	}
}
