/* GG Peace Of Mind ------------------------------------------------------- */
.gg-peace-of-mind {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 40px;
	padding: 60px;
	color: #FBF3E7;
	font-family: var(--gg-font-sans, 'Poppins', sans-serif);
}

.gg-peace-of-mind__left {
	flex: 1 1 320px;
}

.gg-peace-of-mind__heading {
	margin: 0 0 16px;
	color: #FFFFFF;
}

.gg-peace-of-mind__desc {
	font-size: 13px;
	line-height: 1.7;
	opacity: 0.85;
	max-width: 420px;
	margin: 0 0 22px;
}

.gg-peace-of-mind__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	text-decoration: none;
	font-weight: 600;
	white-space: nowrap;
}

.gg-peace-of-mind__right {
	flex: 1 1 420px;
	display: flex;
	gap: 16px;
}

.gg-peace-of-mind__card {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	border-radius: 14px;
	overflow: hidden;
	background: rgba(255,255,255,0.05);
	text-decoration: none;
	color: inherit;
	display: block;
	transition: transform .25s ease, box-shadow .25s ease;
}

/* Hover effect variants, controlled by the "Hover Effect" style control. */
.gg-peace-of-mind__right[data-hover="lift"] .gg-peace-of-mind__card:hover,
.gg-peace-of-mind__right[data-hover="lift-zoom"] .gg-peace-of-mind__card:hover {
	transform: translateY(-6px);
	box-shadow: 0 14px 30px rgba(0,0,0,0.25);
}

.gg-peace-of-mind__card-img {
	width: 100%;
	padding-top: 68%;
	background-size: cover;
	background-position: center;
	transition: transform .35s ease;
}

.gg-peace-of-mind__right[data-hover="zoom"] .gg-peace-of-mind__card:hover .gg-peace-of-mind__card-img,
.gg-peace-of-mind__right[data-hover="lift-zoom"] .gg-peace-of-mind__card:hover .gg-peace-of-mind__card-img {
	transform: scale(1.08);
}

.gg-peace-of-mind__card-img-wrap {
	overflow: hidden;
}

.gg-peace-of-mind__card-caption {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 3px;
	padding: 12px 8px 16px;
	font-size: 11px;
}

.gg-peace-of-mind__card-icon {
	font-size: 15px;
	color: #D9A441;
	margin-bottom: 2px;
	display: inline-flex;
}

.gg-peace-of-mind__card-icon .gg-icon-svg {
	width: 18px;
	height: 18px;
}

.gg-peace-of-mind__card-icon img {
	display: block;
	width: 18px;
	height: auto;
	object-fit: contain;
}

.gg-peace-of-mind__card-title {
	font-weight: 700;
	font-size: 12px;
}

.gg-peace-of-mind__card-desc {
	opacity: 0.75;
	line-height: 1.4;
}

@media (max-width: 900px) {
	.gg-peace-of-mind { flex-direction: column; padding: 40px 24px; }
	.gg-peace-of-mind__left,
	.gg-peace-of-mind__right {
		flex-basis: auto; /* the 320px/420px basis values above are sized for the DESKTOP
		                     row layout's WIDTH — once the parent switches to a column here,
		                     those same values would otherwise be reinterpreted as HEIGHT
		                     hints, squeezing this whole area and (via flex-grow forcing each
		                     card to share that squeezed height) clipping each card's caption
		                     text below the photo thanks to overflow:hidden on the card. */
	}
	.gg-peace-of-mind__right {
		flex-direction: column;
		height: auto;
	}
	.gg-peace-of-mind__card {
		flex: 0 0 auto; /* let each card size itself to its own natural content height
		                    (photo + caption) instead of being forced to share equal space */
	}
}

/* Hover effects (lift / zoom, chosen via the "Hover Effect" style control) are plain CSS
   :hover — on touchscreens this triggers on tap, giving the same visual feedback there as a
   real mouse hover gives on desktop, so the effect works everywhere without extra styling. */

@media (max-width: 480px) {
	.gg-peace-of-mind { padding: 32px 20px; gap: 28px; }
	.gg-peace-of-mind__desc { max-width: 100%; }
	.gg-peace-of-mind__card-caption { font-size: 12px; padding: 14px 10px 18px; }
}
