/* F3 governed page-family additions. Frozen shell, hero, forms, and booking selectors are not overridden. */
.xg-family-main {
	min-width: 0;
	overflow-wrap: anywhere;
}

.xg-family-shell {
	width: min(1120px, calc(100% - 40px));
	margin-inline: auto;
}

.xg-family-hero {
	padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.25rem, 5vw, 4rem);
	background: #f8f5fc;
}

.xg-family-hero h1 {
	max-width: 18ch;
	margin: 0;
	color: #0f2a4a;
	font-size: clamp(2.25rem, 5vw, 4.5rem);
	line-height: 1.05;
}

.xg-family-hero p:last-child {
	max-width: 68ch;
	margin: 1rem 0 0;
	color: #4a5568;
}

.xg-family-eyebrow,
.xg-resource-card__access {
	color: #0a2d84;
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.xg-resource-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	padding-block: clamp(2.5rem, 6vw, 5rem);
}

.xg-resource-card,
.xg-resource-zero {
	min-width: 0;
	padding: 1.5rem;
	border: 1px solid #dde2e8;
	border-radius: 1rem;
	background: #fff;
}

.xg-resource-card h2 {
	margin: .75rem 0;
	font-size: 1.35rem;
	line-height: 1.25;
}

.xg-resource-card h2 a,
.xg-resource-card__link {
	text-decoration-thickness: .08em;
	text-underline-offset: .18em;
}

.xg-resource-card__link,
.xg-resource-single .xg-button {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
}

.xg-resource-card__access--email { color: #0b8d96; }
.xg-resource-card__access--client { color: #2f3c4e; }

.xg-service-cta-group {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-top: 1.5rem;
}

.xg-service-cta-btn--secondary {
	background: transparent;
	color: #0a2d84;
	box-shadow: inset 0 0 0 2px currentColor;
}

.xg-resource-zero {
	grid-column: 1 / -1;
	max-width: 42rem;
}

.xg-resource-detail {
	padding-block: clamp(2.5rem, 6vw, 5rem);
}

.xg-resource-detail__content {
	max-width: 48rem;
}

.xg-resource-status {
	padding: 1rem;
	border-left: 4px solid #0b8d96;
	background: #f8f5fc;
}

@media (max-width: 768px) {
	.xg-family-shell { width: min(100% - 32px, 1120px); }
	.xg-resource-grid { grid-template-columns: 1fr; }
	.xg-service-cta-group { align-items: stretch; flex-direction: column; }
	.xg-service-cta-group .xg-service-cta-btn { justify-content: center; }
}

@media (max-width: 390px) {
	.xg-family-shell { width: min(100% - 24px, 1120px); }
	.xg-resource-card, .xg-resource-zero { padding: 1.25rem; }
}
