/*
 * Industries page refinements layered on the shared Solutions page presentation.
 */

.gwo-industries-hero__card-icon {
	align-items: center;
	background-color: var(--gwo-black);
	block-size: var(--gwo-space-8);
	border-radius: 50%;
	color: var(--gwo-white);
	display: inline-flex;
	grid-column: 1;
	grid-row: 1;
	inline-size: var(--gwo-space-8);
	justify-content: center;
}

.gwo-industries-hero__card-icon svg {
	block-size: var(--gwo-space-4);
	display: block;
	fill: none;
	inline-size: var(--gwo-space-4);
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.gwo-industries-hero__card-icon svg use {
	fill: none;
	stroke: currentcolor;
}

.gwo-industry-section {
	--gwo-industry-accent-ink: var(--gwo-action-hover);
	--gwo-industry-accent-rgb: 68 158 55;

	background:
		radial-gradient(circle at 88% 24%, rgb(68 158 55 / 15%), transparent 30rem),
		var(--gwo-white);
	isolation: isolate;
	overflow: hidden;
	position: relative;
}

.gwo-industry-section.gwo-solution-section--reversed {
	--gwo-industry-accent-ink: var(--gwo-black);
	--gwo-industry-accent-rgb: 244 216 10;

	background:
		radial-gradient(circle at 12% 24%, rgb(244 216 10 / 13%), transparent 30rem),
		var(--gwo-surface-subtle);
}

.gwo-industries-page .gwo-industry-section .gwo-solution-section__inner {
	display: block;
	position: relative;
	text-align: start;
	z-index: 1;
}

.gwo-industry-section__panel {
	background:
		radial-gradient(circle at 88% 0%, rgb(68 158 55 / 18%), transparent 24rem),
		linear-gradient(145deg, rgb(255 255 255 / 68%), rgb(255 255 255 / 30%));
	backdrop-filter: blur(46px) saturate(180%);
	-webkit-backdrop-filter: blur(46px) saturate(180%);
	border-radius: var(--gwo-radius-xl);
	box-shadow: 0 2rem 5rem rgb(35 31 32 / 16%), 0 0.5rem 1.5rem rgb(35 31 32 / 5%);
	display: grid;
	grid-template-areas:
		"content"
		"services";
	grid-template-columns: minmax(0, 1fr);
	inline-size: 100%;
	overflow: hidden;
	position: relative;
}

.gwo-solution-section--reversed .gwo-industry-section__panel {
	background:
		radial-gradient(circle at 12% 0%, rgb(244 216 10 / 20%), transparent 24rem),
		linear-gradient(145deg, rgb(255 255 255 / 64%), rgb(255 255 255 / 28%));
}

.gwo-industry-section__content {
	align-content: start;
	background: var(--gwo-white);
	backdrop-filter: blur(38px) saturate(165%);
	-webkit-backdrop-filter: blur(38px) saturate(165%);
	display: grid;
	gap: var(--gwo-space-5);
	grid-area: content;
	justify-items: start;
	min-inline-size: 0;
	overflow: hidden;
	padding: clamp(var(--gwo-space-6), 4vw, var(--gwo-space-10));
	position: relative;
}

.gwo-industry-section__content > :not(.gwo-industry-section__watermark) {
	position: relative;
	z-index: 1;
}

.gwo-industry-section__watermark {
	display: none;
}

.gwo-industry-section__content .gwo-solution-section__description {
	display: block;
	inline-size: 100%;
	max-inline-size: none;
}

.gwo-industry-section__content .gwo-solution-section__summary {
	max-inline-size: none;
}

.gwo-industry-section__services-slot {
	background:
		radial-gradient(circle at 88% 0%, rgb(68 158 55 / 22%), transparent 20rem),
		radial-gradient(circle at 4% 100%, rgb(244 216 10 / 10%), transparent 18rem),
		linear-gradient(145deg, rgb(244 250 243 / 58%), rgb(255 255 255 / 18%));
	backdrop-filter: blur(40px) saturate(175%);
	-webkit-backdrop-filter: blur(40px) saturate(175%);
	border-block-start: 1px solid rgb(68 158 55 / 14%);
	display: block;
	grid-area: services;
	min-block-size: 0;
	min-inline-size: 0;
	overflow: hidden;
}

.gwo-solution-section--reversed .gwo-industry-section__services-slot {
	background:
		radial-gradient(circle at 12% 0%, rgb(244 216 10 / 24%), transparent 20rem),
		radial-gradient(circle at 96% 100%, rgb(68 158 55 / 10%), transparent 18rem),
		linear-gradient(145deg, rgb(255 251 230 / 56%), rgb(255 255 255 / 18%));
}

.gwo-industries-page .gwo-industry-section__services {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	inline-size: 100%;
	max-inline-size: none;
	overflow: hidden;
	text-align: start;
}

.gwo-industries-page .gwo-industry-section__services .gwo-solution-section__services-heading {
	background: transparent;
	border: 0;
	color: var(--gwo-black);
	justify-content: flex-start;
	padding: var(--gwo-space-6) var(--gwo-space-5) var(--gwo-space-3);
	text-align: start;
}

.gwo-industries-page .gwo-industry-section__services .gwo-solution-section__services-heading h3 {
	color: var(--gwo-black);
}

.gwo-industries-page .gwo-industry-section__services .gwo-solution-section__service-list {
	align-content: start;
	display: grid;
	gap: var(--gwo-space-3);
	grid-auto-rows: max-content;
	grid-template-columns: minmax(0, 1fr);
	list-style: none;
	margin: 0;
	min-block-size: 0;
	padding: var(--gwo-space-3) var(--gwo-space-4) var(--gwo-space-4);
}

.gwo-industries-page .gwo-industry-section__services .gwo-solution-section__service-list > li,
.gwo-industries-page .gwo-industry-section__services .gwo-solution-section__service-list > li:nth-child(odd),
.gwo-industries-page .gwo-industry-section__services .gwo-solution-section__service-list > li:nth-child(even),
.gwo-industries-page .gwo-industry-section__services .gwo-solution-section__service-list > li:last-child:nth-child(odd) {
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	box-sizing: border-box;
	display: block;
	grid-column: auto;
	min-block-size: 0;
	min-inline-size: 0;
	padding: 0;
}

.gwo-industries-page .gwo-industry-section__services :is(.gwo-solution-section__capability-trigger, .gwo-solution-section__capability-fallback) {
	min-block-size: 5rem;
}

.gwo-industries-page .gwo-industry-section__services .gwo-solution-section__capability-trigger:hover {
	border-color: rgb(var(--gwo-industry-accent-rgb) / 44%);
}

.gwo-industry-section__service-label {
	font-family: var(--font-heading);
	font-weight: var(--font-weight-semibold);
	line-height: 1.35;
	min-inline-size: 0;
}

.gwo-industries-page .gwo-industry-section__services .gwo-solution-section__service-icon {
	background-color: rgb(var(--gwo-industry-accent-rgb) / 15%);
	block-size: var(--gwo-space-10);
	color: var(--gwo-industry-accent-ink);
	inline-size: var(--gwo-space-10);
}

.gwo-industries-page .gwo-industry-section__services .gwo-solution-section__service-icon svg {
	block-size: var(--gwo-space-5);
	inline-size: var(--gwo-space-5);
}

.gwo-industry-section__followup {
	display: grid;
	gap: var(--gwo-space-4);
	inline-size: 100%;
	justify-items: start;
	margin-block-start: var(--gwo-space-2);
	min-inline-size: 0;
}

.gwo-industries-page .gwo-industry-section .gwo-solution-section__outcome {
	background:
		radial-gradient(circle at 100% 0%, rgb(var(--gwo-industry-accent-rgb) / 20%), transparent 11rem),
		linear-gradient(135deg, rgb(var(--gwo-industry-accent-rgb) / 16%), rgb(255 255 255 / 40%));
	backdrop-filter: blur(22px) saturate(155%);
	-webkit-backdrop-filter: blur(22px) saturate(155%);
	border-block-start: 0;
	border-radius: var(--gwo-radius-lg);
	box-sizing: border-box;
	box-shadow: 0 0.75rem 1.75rem rgb(35 31 32 / 7%), inset 0 1px 0 rgb(255 255 255 / 78%);
	display: grid;
	gap: var(--gwo-space-2);
	inline-size: min(100%, 32rem);
	max-inline-size: 100%;
	min-inline-size: 0;
	overflow: hidden;
	overflow-wrap: anywhere;
	padding: var(--gwo-space-3) var(--gwo-space-4);
	text-align: inherit;
	text-wrap: pretty;
}

.gwo-industries-page .gwo-industry-section .gwo-solution-section__outcome span {
	color: var(--gwo-industry-accent-ink);
	display: block;
	font-weight: var(--font-weight-semibold);
	margin-inline-end: 0;
}

.gwo-industries-page .gwo-industry-section .gwo-solution-section__action {
	justify-self: start;
}

.gwo-industries-page .gwo-solutions-cta__action:focus-visible,
.gwo-industries-page .gwo-solutions-hero__action--assessment:focus-visible {
	animation-play-state: paused;
}

@media (min-width: 600px) {
	.gwo-industries-page .gwo-industry-section__services .gwo-solution-section__service-list {
		padding: var(--gwo-space-3) var(--gwo-space-6) var(--gwo-space-6);
	}

	.gwo-industries-page .gwo-industry-section .gwo-solution-section__outcome {
		align-items: center;
		grid-template-columns: max-content minmax(0, 1fr);
	}
}

@media (min-width: 900px) {
	.gwo-industry-section__panel {
		grid-template-areas: "content services";
		grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
	}

	.gwo-solution-section--reversed .gwo-industry-section__panel {
		grid-template-areas: "services content";
		grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
	}

	.gwo-industry-section__services-slot {
		align-self: stretch;
		block-size: auto;
		border-block-start: 0;
		border-inline-start: 1px solid rgb(68 158 55 / 14%);
		position: relative;
	}

	.gwo-solution-section--reversed .gwo-industry-section__services-slot {
		border-inline-end: 1px solid rgb(68 158 55 / 14%);
		border-inline-start: 0;
	}

	.gwo-industries-page .gwo-industry-section__services {
		inset: 0;
		position: absolute;
	}

	.gwo-industries-page .gwo-industry-section__services .gwo-solution-section__service-list {
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-color: rgb(var(--gwo-industry-accent-rgb) / 62%) transparent;
		scrollbar-gutter: stable;
		scrollbar-width: thin;
	}

	.gwo-industries-page .gwo-industry-section__services .gwo-solution-section__service-list:focus-visible {
		box-shadow: inset 0 0 0 3px var(--gwo-yellow);
		outline: 2px solid var(--gwo-black);
		outline-offset: -4px;
	}

	.gwo-industries-page .gwo-industry-section__services .gwo-solution-section__service-list::-webkit-scrollbar {
		inline-size: 0.7rem;
	}

	.gwo-industries-page .gwo-industry-section__services .gwo-solution-section__service-list::-webkit-scrollbar-track {
		background: transparent;
	}

	.gwo-industries-page .gwo-industry-section__services .gwo-solution-section__service-list::-webkit-scrollbar-thumb {
		background: rgb(var(--gwo-industry-accent-rgb) / 62%);
		background-clip: padding-box;
		border: 3px solid transparent;
		border-radius: var(--gwo-radius-pill);
	}
}

@media (min-width: 1200px) {
	.gwo-industries-page .gwo-solutions-hero__package-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 389px) {
	.gwo-industry-section__content {
		padding-inline: var(--gwo-space-5);
	}

	.gwo-industries-page .gwo-industry-section .gwo-solution-section__heading {
		font-size: clamp(1.625rem, 8.5vw, var(--wp--preset--font-size--heading-3));
		overflow-wrap: anywhere;
	}

	.gwo-industries-page .gwo-industry-section__services .gwo-solution-section__services-heading {
		align-items: flex-start;
		flex-direction: row;
		padding-inline: var(--gwo-space-4);
		text-align: start;
	}

	.gwo-industries-page .gwo-industry-section .gwo-solution-section__action {
		inline-size: 100%;
	}
}
