/**
 * French Perspectives page only. Premium stacked cards, no classic table.
 * Does not style header, footer or other pages.
 */

body:has(.met-perspectives-hero) .met-main.wp-block-group,
body:has(.met-perspectives-hero) .met-main > .wp-block-post-content,
body:has(.met-perspectives-hero) .met-main .elementor {
	max-width: none;
	width: 100%;
}

.met-perspectives-hero,
.met-perspectives-families,
.met-perspectives-close {
	position: relative;
	overflow: hidden;
}

.met-perspectives-hero img,
.met-perspectives-hero .elementor-widget-image,
.met-perspectives-hero .elementor-widget-image img {
	display: none !important;
}

.met-perspectives-hero {
	padding-block: clamp(3.75rem, 8vw, 6.25rem) clamp(2.75rem, 5.5vw, 4.5rem);
	background:
		radial-gradient(circle at 92% 18%, rgba(0, 142, 137, 0.07) 0 18%, transparent 46%),
		linear-gradient(180deg, #f4f8f6 0%, #eef4f1 100%);
	text-align: left;
}

.met-perspectives-hero::after {
	content: "";
	position: absolute;
	right: -7%;
	top: 8%;
	width: min(28rem, 52vw);
	height: min(28rem, 52vw);
	border: 1px solid rgba(0, 142, 137, 0.14);
	border-radius: 50%;
	pointer-events: none;
}

.met-perspectives-hero__motif,
.elementor .met-perspectives-hero .met-perspectives-hero__motif {
	display: none;
}

.met-perspectives-rule {
	display: block;
	width: 2rem;
	height: 2px;
	margin: 0 0 1.35rem;
	background: #f0a126;
	border-radius: 99px;
}

.met-perspectives-hero .met-perspectives-rule,
.elementor .met-perspectives-hero .met-perspectives-rule {
	margin-inline: 0;
}

.met-perspectives-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	max-width: 42rem;
}

.met-perspectives-hero__title,
.met-perspectives-hero__title .elementor-heading-title {
	margin: 0 0 0.85rem;
	color: #004b3c;
	font-size: clamp(2.75rem, 6vw, 4.35rem);
	font-weight: 700;
	letter-spacing: -0.05em;
	line-height: 0.96;
	text-align: left;
}

.met-perspectives-hero__subtitle,
.met-perspectives-hero__subtitle .elementor-heading-title {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin: 0 0 1.15rem;
	color: #004b3c;
	font-size: clamp(1.35rem, 2.2vw, 1.85rem);
	font-weight: 650;
	letter-spacing: -0.028em;
	line-height: 1.2;
	text-align: left;
}

.met-perspectives-hero__subtitle::before,
.met-perspectives-hero__subtitle .elementor-heading-title::before {
	content: "";
	display: inline-block;
	width: 2.5px;
	height: 0.92em;
	background: #008e89;
	border-radius: 99px;
	flex-shrink: 0;
}

.elementor .met-perspectives-hero__subtitle::before {
	content: none;
}

.met-perspectives-hero__text,
.met-perspectives-hero .elementor-widget-text-editor p.met-perspectives-hero__text {
	margin: 0;
	max-width: 38rem;
	color: #2a3b36;
	font-size: 1.05rem;
	line-height: 1.7;
	text-align: left;
}

.met-perspectives-families {
	padding-block: 1.5rem 3.25rem;
	background: #f7fbf9;
}

.met-perspectives-families__title,
.met-perspectives-families__title .elementor-heading-title {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1.5rem;
	color: #008e89;
	font-size: clamp(1.7rem, 2.8vw, 2.15rem);
	font-weight: 700;
	letter-spacing: -0.034em;
	line-height: 1.15;
}

.met-perspectives-families__title::before,
.met-perspectives-families__title .elementor-heading-title::before {
	content: "";
	display: inline-block;
	width: 1.7rem;
	height: 2px;
	background: #008e89;
	border-radius: 99px;
	flex-shrink: 0;
}

.elementor .met-perspectives-families__title::before {
	content: none;
}

.met-perspectives-board {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	background: transparent;
	border: 0;
	overflow: visible;
}

.met-perspectives-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.35rem 1.5rem;
	padding: 1.15rem 1.45rem;
	background: #ffffff;
	border: 1px solid rgba(0, 75, 60, 0.08);
	border-radius: 16px;
	box-shadow: 0 10px 28px rgba(0, 75, 60, 0.03);
}

.met-perspectives-card:nth-child(even) {
	background: #fbfdff;
}

.met-perspectives-card__index,
.met-perspectives-card__title,
.met-perspectives-card__text {
	grid-column: 1;
	min-width: 0;
}

.met-perspectives-card__cta,
.met-perspectives-card__action {
	grid-column: 2;
	grid-row: 1 / span 3;
	align-self: center;
	justify-self: end;
	margin: 0;
}

.met-perspectives-card__index {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0 0 0.4rem;
	color: #008e89;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1;
}

.met-perspectives-card__index i {
	display: block;
	width: 2.35rem;
	height: 1.5px;
	background: #008e89;
	border-radius: 99px;
}

.met-perspectives-card__title,
.met-perspectives-card__title .elementor-heading-title {
	margin: 0 0 0.35rem;
	color: #008e89;
	font-size: clamp(1.2rem, 1.8vw, 1.45rem);
	font-weight: 700;
	letter-spacing: -0.028em;
	line-height: 1.2;
}

.met-perspectives-card__text,
.met-perspectives-card .elementor-widget-text-editor p.met-perspectives-card__text {
	margin: 0;
	max-width: 42rem;
	color: #2a3b36;
	font-size: 0.97rem;
	line-height: 1.5;
}

.met-perspectives-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	color: #004b3c;
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

span.met-perspectives-cta {
	cursor: default;
}

.met-perspectives-cta::after {
	content: "";
	width: 0.42rem;
	height: 0.42rem;
	border-right: 2px solid #008e89;
	border-top: 2px solid #008e89;
	transform: rotate(45deg);
	transition: border-color 0.16s ease;
}

a.met-perspectives-cta:hover,
a.met-perspectives-cta:focus-visible {
	color: #004b3c;
}

a.met-perspectives-cta:hover::after,
a.met-perspectives-cta:focus-visible::after {
	border-color: #f0a126;
}

.met-perspectives-close {
	padding-block: 0 3.5rem;
	background: #f7fbf9;
}

.met-perspectives-close__quote,
.met-perspectives-close__quote .elementor-heading-title {
	position: relative;
	margin: 0;
	max-width: none;
	padding: 1.2rem 1.45rem 1.2rem 1.7rem;
	color: #004b3c;
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	font-weight: 700;
	letter-spacing: -0.028em;
	line-height: 1.35;
	background: #ffffff;
	border: 1px solid rgba(0, 75, 60, 0.08);
	border-radius: 16px;
	box-shadow: 0 10px 28px rgba(0, 75, 60, 0.03);
}

.met-perspectives-close__quote::before,
.elementor .met-perspectives-close__quote .elementor-heading-title::before {
	content: "";
	position: absolute;
	left: 0.85rem;
	top: 1.05rem;
	bottom: 1.05rem;
	width: 2.5px;
	background: #008e89;
	border-radius: 99px;
}

.elementor .met-perspectives-close__quote::before {
	content: none;
}

.elementor .met-perspectives-hero__inner.e-con,
.elementor .met-perspectives-close__grid.e-con,
.elementor .met-perspectives-board.e-con,
.elementor .met-perspectives-card.e-con {
	display: block;
}

.elementor .met-perspectives-hero__inner > .e-con-inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	max-width: none;
	margin-inline: 0;
	text-align: left;
}

.elementor .met-perspectives-board > .e-con-inner {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.elementor .met-perspectives-card > .e-con-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.2rem 1.5rem;
}

.elementor .met-perspectives-card__head,
.elementor .met-perspectives-card__body {
	grid-column: 1;
	min-width: 0;
	margin: 0;
	width: auto;
}

.elementor .met-perspectives-card__action {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: center;
	justify-self: end;
	width: auto;
	margin: 0;
}

.elementor .met-perspectives-hero .elementor-widget-heading,
.elementor .met-perspectives-hero .elementor-widget-text-editor,
.elementor .met-perspectives-families .elementor-widget-heading,
.elementor .met-perspectives-families .elementor-widget-text-editor,
.elementor .met-perspectives-close .elementor-widget-heading {
	width: 100%;
	text-align: left;
}

.elementor .met-perspectives-hero .elementor-widget-text-editor p,
.elementor .met-perspectives-families .elementor-widget-text-editor p,
.elementor .met-perspectives-close .elementor-widget-text-editor p {
	margin: 0;
}

.elementor .met-perspectives-card .elementor-widget-text-editor {
	width: auto;
	max-width: 100%;
}

@media (max-width: 900px) {
	.met-perspectives-card,
	.elementor .met-perspectives-card > .e-con-inner {
		grid-template-columns: 1fr;
		gap: 0.45rem;
	}

	.met-perspectives-card__cta,
	.met-perspectives-card__action,
	.elementor .met-perspectives-card__action {
		grid-column: 1;
		grid-row: auto;
		justify-self: start;
		padding-top: 0.15rem;
	}
}

@media (max-width: 640px) {
	.met-perspectives-hero,
	.met-perspectives-families,
	.met-perspectives-close {
		padding-block: 2.4rem 1.85rem;
	}

	.met-perspectives-hero {
		padding-bottom: 2.4rem;
	}

	.met-perspectives-card {
		padding: 1rem 1.1rem;
	}

	.met-perspectives-cta {
		white-space: normal;
	}

	.met-perspectives-hero::after {
		right: -28%;
		top: auto;
		bottom: -18%;
		width: 16rem;
		height: 16rem;
	}
}
