.soliha-carte-clic {
	position: relative;
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--carte-largeur, none);
	height: var(--carte-hauteur, clamp(22rem, 62vw, 34rem));
	overflow: hidden;
	border-radius: 12px;
	background: #062B3A;
	box-shadow: 0 8px 18px rgba(0, 97, 138, 0.18);
	color: #fff;
}

.soliha-carte-clic__fond {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(rgba(6, 43, 58, 0.72), rgba(6, 43, 58, 0.9)),
		url('../illustrations/carte-soliha-nouvelle-aquitaine.webp') center / cover no-repeat;
}

.soliha-carte-clic__contenu {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	box-sizing: border-box;
	height: 100%;
	padding: 1.25rem;
	overflow-y: auto;
	text-align: center;
}

.soliha-carte-clic .soliha-carte-clic__contenu .soliha-carte-clic__titre {
	max-width: 32ch;
	text-align: center;
	margin: 0;
	font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
	font-weight: 700;
	line-height: 1.25;
	text-wrap: balance;
}

.soliha-carte-clic .soliha-carte-clic__contenu .soliha-carte-clic__note {
	max-width: 46ch;
	text-align: center;
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.5;
}

.soliha-carte-clic .soliha-carte-clic__note a,
.soliha-carte-clic .soliha-carte-clic__repli {
	display: inline;
	color: #fff;
	font-weight: 650;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.soliha-carte-clic__bouton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 2.9rem;
	margin: 0.25rem 0 0;
	padding: 0.6rem 1.6rem;
	box-sizing: border-box;
	border: 0;
	border-radius: 2rem;
	background: #fff;
	color: #062B3A;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.25;
	cursor: pointer;
	transition: transform 180ms ease-out, box-shadow 180ms ease-out;
}

.soliha-carte-clic__bouton:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
}

.soliha-carte-clic__bouton:focus-visible,
.soliha-carte-clic .soliha-carte-clic__note a:focus-visible,
.soliha-carte-clic .soliha-carte-clic__repli:focus-visible {
	outline: 3px solid var(--wp--preset--color--orange, #E89522);
	outline-offset: 3px;
}

.soliha-carte-clic__bouton {
	visibility: hidden;
}

.soliha-carte-clic--prete .soliha-carte-clic__bouton {
	visibility: visible;
}

.soliha-carte-clic__etat {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.soliha-carte-clic > iframe.soliha-carte-clic__cadre {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: inherit;
	background: #e8f1f4;
	box-shadow: none;
}

@media (max-width: 30rem) {
	.soliha-carte-clic__contenu {
		justify-content: flex-start;
		gap: 0.7rem;
		padding: 1rem;
	}
	.soliha-carte-clic__note {
		font-size: 0.9rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.soliha-carte-clic__bouton {
		transition: none;
	}
	.soliha-carte-clic__bouton:hover {
		transform: none;
	}
}
