:root {
	--lvb-polish-ocean: #00a9c0;
	--lvb-polish-ocean-dark: #006f81;
	--lvb-polish-ink: #102f3a;
	--lvb-polish-sand: #f7f4ec;
	--lvb-polish-line: #d9e8eb;
}

/* Le menu desktop dépassait 1 550 px alors que le thème ne bascule qu'à 1 212 px. */
@media (min-width: 1213px) and (max-width: 1599px) {
	#primary-menu.no-responsive > li > a {
		font-size: 14px !important;
		padding-right: 7px !important;
		padding-left: 7px !important;
	}

	#primary-menu.no-responsive > li.menu-item-logo {
		padding-right: 20px !important;
		padding-left: 20px !important;
	}

	#primary-menu.no-responsive > li.menu-item-logo .site-logo {
		width: 200px !important;
	}

	#primary-menu.no-responsive > li.menu-item-logo .logo {
		min-width: 0 !important;
	}

	#primary-menu.no-responsive > li.menu-item-logo img {
		width: 200px !important;
		height: auto !important;
	}
}

/* Le titre et les cartes associées restent centrés, quel que soit leur nombre. */
.single-product .related-products > h2,
.single-product .related-products .products-title,
.single-product .related-products .products-title h2 {
	width: 100%;
	text-align: center !important;
}

.single-product .related-products .products.row.inline-row {
	justify-content: center;
}

.single-product .related-products .gem-button-separator {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	width: 100%;
}

.single-product .related-products .gem-button-separator-holder,
.single-product .related-products .gem-button-separator-button {
	display: block !important;
	width: auto !important;
}

.single-product .related-products .bottom-product-link {
	position: relative;
}

.single-product .related-products .bottom-product-link::after {
	position: absolute;
	bottom: calc(100% + 10px);
	left: 50%;
	z-index: 5;
	width: max-content;
	max-width: 160px;
	padding: 7px 10px;
	transform: translateX(-50%) translateY(4px);
	border-radius: 6px;
	background: #102f3a;
	color: #fff;
	content: "Voir le produit";
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	opacity: 0;
	pointer-events: none;
	transition: opacity 160ms ease, transform 160ms ease;
}

.single-product .related-products .bottom-product-link:hover::after,
.single-product .related-products .bottom-product-link:focus-visible::after {
	transform: translateX(-50%) translateY(0);
	opacity: 1;
}

/* Pages Cours, Stages et Paddle : lecture plus courte, hiérarchie et CTA cohérents. */
.page-id-30212 .entry-content.post-content,
.page-id-30215 .entry-content.post-content,
.page-id-30217 .entry-content.post-content {
	max-width: 980px;
	margin-right: auto;
	margin-left: auto;
	padding: 42px 24px 64px;
}

.lvb-service-page {
	color: var(--lvb-polish-ink);
}

.lvb-service-intro {
	margin-bottom: 30px;
	padding: clamp(24px, 4vw, 44px);
	border: 1px solid var(--lvb-polish-line);
	border-radius: 20px;
	background: linear-gradient(135deg, #eefbfd 0%, #fff 62%, var(--lvb-polish-sand) 100%);
	box-shadow: 0 12px 34px rgba(16, 47, 58, 0.08);
}

.lvb-service-intro > p:first-of-type {
	margin-top: 0;
	font-size: clamp(19px, 2.1vw, 23px);
	line-height: 1.65;
}

.lvb-service-page p {
	font-size: 17px;
	line-height: 1.75;
}

.lvb-service-section {
	margin-top: 20px;
	padding: clamp(24px, 3.2vw, 36px);
	border: 1px solid var(--lvb-polish-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(16, 47, 58, 0.055);
}

.lvb-service-section:nth-of-type(even) {
	background: #f8fcfd;
}

.lvb-service-section--pricing {
	border-color: rgba(0, 169, 192, 0.42);
	background: linear-gradient(180deg, #effbfd 0%, #fff 100%);
}

.lvb-service-section h2 {
	margin: 0 0 18px !important;
	padding-left: 16px;
	border-left: 5px solid var(--lvb-polish-ocean);
	color: var(--lvb-polish-ink);
	font-size: clamp(23px, 2.7vw, 31px);
	line-height: 1.25;
}

.lvb-service-section p:last-child {
	margin-bottom: 0;
}

.lvb-service-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin: 28px 0 0;
}

.lvb-service-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	box-sizing: border-box;
	padding: 14px 26px;
	border: 2px solid var(--lvb-polish-ocean);
	border-radius: 10px;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
	text-decoration: none !important;
	transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.lvb-service-button--primary {
	background: var(--lvb-polish-ocean);
	color: #fff !important;
	box-shadow: 0 8px 18px rgba(0, 169, 192, 0.24);
}

.lvb-service-button--secondary {
	background: #fff;
	color: var(--lvb-polish-ocean-dark) !important;
}

.lvb-service-button:hover,
.lvb-service-button:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(16, 47, 58, 0.16);
}

.lvb-service-button:focus-visible {
	outline: 3px solid #ffca50;
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.page-id-30212 .entry-content.post-content,
	.page-id-30215 .entry-content.post-content,
	.page-id-30217 .entry-content.post-content {
		padding: 24px 14px 46px;
	}

	.lvb-service-intro,
	.lvb-service-section {
		padding: 22px 18px;
		border-radius: 14px;
	}

	.lvb-service-page p {
		font-size: 16px;
	}

	.lvb-service-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.lvb-service-button {
		width: 100%;
	}
}
