/*
 * Pathfinders Wealthtender Homepage Reviews 1.0.0
 *
 * Styles only the homepage "Client experiences" section. Type, colours, the heading, the label, the
 * button and the text link come from the V49 theme (its tokens, .section-heading, .label, .button and
 * .text-link); this file sets the section's background and spacing and the widget area.
 */

.pf-reviews-section {
	padding: 64px 0;
	background: var(--mist, #f2f8f6);
}

.pf-reviews-section .section-heading.center {
	margin-bottom: 28px;
}

.pf-reviews-section .section-heading p {
	margin: 0;
}

.pf-reviews-widget {
	min-width: 0;
}

/* Reserved for the widget's header and its 560 px review list; the widget's own size messages then
   set the exact height, so nothing inside the frame is clipped. */
.pf-reviews-frame {
	display: block;
	width: 100%;
	height: 600px;
	border: 0;
}

.pf-reviews-fallback {
	margin: 0;
	padding: 22px;
	border: 1px solid var(--line, #cde3ee);
	border-radius: var(--radius, 8px);
	background: var(--paper, #fff);
	text-align: center;
}

.pf-reviews-fallback[hidden] {
	display: none;
}

.pf-reviews-unavailable .pf-reviews-frame {
	height: 0 !important;
	visibility: hidden;
}

.pf-reviews-unavailable .pf-reviews-more {
	display: none;
}

.pf-reviews-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 28px;
	margin-top: 28px;
}

.pf-reviews-section a:focus-visible,
.pf-reviews-frame:focus-visible {
	outline: 3px solid var(--teal, #087572);
	outline-offset: 3px;
}

.pf-reviews-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 760px) {
	.pf-reviews-section {
		padding: 40px 0;
	}

	.pf-reviews-section .section-heading.center {
		margin-bottom: 24px;
	}

	.pf-reviews-frame {
		height: 640px;
	}

	.pf-reviews-actions {
		flex-direction: column;
		align-items: stretch;
		margin-top: 24px;
	}

	.pf-reviews-actions .text-link {
		justify-content: center;
		text-align: center;
	}
}
