/* ==========================================================================
   GF About 3 / GF Service About / GF Service About 2
   ========================================================================== */

.gf-about3__inner {
	display: grid;
	grid-template-columns: var(--gf-about3-cols, minmax(0, 909fr) minmax(0, 766fr));
	column-gap: 30px;
	row-gap: 30px;
	align-items: center;
}

.gf-about3--image-left .gf-about3__figure {
	order: -1;
}

.gf-about3--no-image .gf-about3__inner {
	grid-template-columns: 1fr;
}

/* Full-width background variant (navy + faint photo) */
.gf-about3--bg {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: 80px 0 74px;
	background-color: var(--gf-navy);
}

.gf-about3--bg::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--gf-about3-bg, none);
	background-repeat: no-repeat;
	background-position: center 53%;
	background-size: cover;
	opacity: var(--gf-about3-bg-opacity, .06);
	pointer-events: none;
}

@media (min-width: 1200px) {
	.gf-about3--bg::before {
		background-size: 118.23% auto;
		background-position: 0 53%;
	}
}

.gf-about3--bg .gf-about3__inner {
	max-width: calc(var(--gf-site-width) + var(--gf-site-pad-l) + var(--gf-site-pad-r));
	margin: 0 auto;
	padding: 0 var(--gf-site-pad-r) 0 var(--gf-site-pad-l);
}

/* Style 2: heading + text on top, then image and content in equal halves */
.gf-about3__top {
	margin-bottom: 50px;
}

.gf-about3__top .gf-about3__intro {
	max-width: 1100px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.gf-about3--bg .gf-about3__top {
	max-width: calc(var(--gf-site-width) + var(--gf-site-pad-l) + var(--gf-site-pad-r));
	margin-right: auto;
	margin-left: auto;
	padding: 0 var(--gf-site-pad-r) 0 var(--gf-site-pad-l);
}

/* Style 2 with no items or buttons: the image stands alone */
.gf-about3--style-2.gf-about3--no-content .gf-about3__inner {
	grid-template-columns: 1fr;
}

/* Content */
.gf-about3__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 26px;
}

.gf-about3--items-plain .gf-about3__content {
	gap: 30px;
}

.gf-about3__intro {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.gf-about3__heading {
	margin: 0;
	font-family: var(--gf-font-alt);
	font-size: var(--gf-h2);
	font-weight: 600;
	line-height: 1.16;
	letter-spacing: -.02em;
	color: var(--gf-navy);
}

.gf-about3__text,
.gf-about3__item-text {
	margin: 0;
	font-family: var(--gf-font-body);
	font-size: var(--gf-body);
	line-height: var(--gf-body-lh);
	letter-spacing: -.02em;
	color: #4d4d4d;
}

.gf-about3__text p {
	margin: 0 0 var(--gf-body-lh);
}

.gf-about3__text > :last-child {
	margin-bottom: 0;
}

.gf-about3__items {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gf-about3__item {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.gf-about3--items-boxed .gf-about3__item {
	justify-content: center;
	min-height: 162px;
	padding: 29px 47px;
	background-color: #f4f4f4;
	border-radius: 7px;
}

.gf-about3--items-plain .gf-about3__items {
	gap: 24px;
}

.gf-about3__item-title {
	margin: 0;
	font-family: var(--gf-font-alt);
	font-size: var(--gf-h4);
	font-weight: 500;
	line-height: 1.16;
	letter-spacing: -.02em;
	white-space: pre-wrap;
	color: #0b0b0b;
}

.gf-about3__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

/* White text scheme (for dark backgrounds) */
.gf-about3--dark .gf-about3__heading,
.gf-about3--dark .gf-about3__text,
.gf-about3--dark .gf-about3__item-title,
.gf-about3--dark .gf-about3__item-text {
	color: var(--gf-white);
}

.gf-about3--dark .gf-about3__content {
	gap: 50px;
}

.gf-about3--dark .gf-btn-ghost {
	border-color: var(--gf-white);
	color: var(--gf-white);
}

.gf-about3--dark .gf-btn-ghost:hover,
.gf-about3--dark .gf-btn-ghost:focus {
	background: var(--gf-white);
	color: var(--gf-navy);
}

/* Image */
.gf-about3__figure {
	--gf-about3-backdrop: #e93f3f;
	position: relative;
}

.gf-about3__media {
	position: relative;
	z-index: 1;
	aspect-ratio: 766 / 819;
	margin: 0;
	overflow: hidden;
	background-color: var(--gf-white);
	border: 1px solid #d4d4d4;
	border-radius: 12px;
}

.gf-about3__media::after {
	content: "";
	position: absolute;
	bottom: -1px;
	left: calc(50% - 7.5px);
	width: 58.36%;
	height: 1px;
	background-color: var(--gf-navy);
	transform: translateX(-50%);
}

.gf-about3__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}

/* Red backdrop (Figma 536:15782: 706 × 671 red, 30px lower and 20px left of the 711 × 680 photo;
   same offset whether the image is left or right) */
.gf-about3--backdrop .gf-about3__figure {
	margin: 0 0 21px 20.4px;
}

.gf-about3--backdrop .gf-about3__figure::before {
	content: "";
	position: absolute;
	top: 30px;
	right: 25px;
	bottom: -21px;
	left: -20.4px;
	background-color: var(--gf-about3-backdrop);
	border-radius: 12px;
}

/* Responsive */
@media (max-width: 1440px) {
	.gf-about3__inner {
		column-gap: 60px;
	}

	.gf-about3--items-boxed .gf-about3__item {
		min-height: 0;
		padding: 24px 32px;
	}

}

@media (max-width: 1199px) {
	.gf-about3__inner {
		grid-template-columns: 1fr;
	}

	.gf-about3--image-left .gf-about3__figure {
		order: 0;
	}

	.gf-about3__figure {
		width: 100%;
		max-width: 766px;
		margin-right: auto;
		margin-left: auto;
	}

	.gf-about3--backdrop .gf-about3__figure {
		width: calc(100% - 21px);
		margin-right: auto;
		margin-left: auto;
	}
}

@media (max-width: 767px) {
	.gf-about3--items-boxed .gf-about3__item {
		padding: 20px;
	}

	.gf-about3--dark .gf-about3__content {
		gap: 30px;
	}

	.gf-about3__buttons > a {
		flex: 1 1 100%;
	}
}

@media (max-width: 1199px) {
	.gf-about3__top {
		margin-bottom: 32px;
	}
}
