/*
 * Page Notre histoire.
 *
 * Tous les selecteurs sont limites a oasis-story-page. Les photographies
 * restent affichees dans leur ratio d'origine, sans masque ni recadrage.
 */

body.oasis-story-page #primary article.post-13859 {
	max-width: 1120px;
	margin-right: auto;
	margin-left: auto;
}

/* L'ancienne image mise en avant repetait la premiere photo du contenu. */
body.oasis-story-page #primary .evolve-plus-post-thumbnail {
	display: none !important;
}

body.oasis-story-page #primary .post-title {
	max-width: 980px;
	margin: 0 auto 30px;
	font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	font-size: 42px;
	font-weight: 500;
	line-height: 1.16;
	letter-spacing: -0.01em;
}

body.oasis-story-page #primary .post-content {
	font-family: Lato, Arial, Helvetica, sans-serif;
	font-size: 17px;
	line-height: 1.75;
	color: #2f3438;
}

body.oasis-story-page #primary .post-content p {
	margin-bottom: 1.2em;
}

body.oasis-story-page #primary .post-content h2.wp-block-heading {
	margin: 0 0 22px;
	font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	font-size: 34px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
}

body.oasis-story-page #primary .post-content h3.wp-block-heading {
	margin: 0 0 12px;
	font-family: Lato, Arial, Helvetica, sans-serif;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.35;
}

body.oasis-story-page #primary .post-content > .wp-block-image,
body.oasis-story-page #primary .oasis-story-photo {
	width: min(100%, 920px);
	margin-right: auto;
	margin-left: auto;
}

/* La photo d'ouverture reste volontairement plus contenue pour laisser respirer le titre. */
body.oasis-story-page #primary .oasis-story-photo-hero {
	width: min(100%, 760px) !important;
}

body.oasis-story-page #primary .post-content .wp-block-image img,
body.oasis-story-page #primary .oasis-story-photo img {
	display: block;
	width: 100% !important;
	height: auto !important;
	max-height: none !important;
	object-fit: contain !important;
	border-radius: 6px;
	box-shadow: 0 14px 34px rgba(31, 35, 38, 0.12);
}

body.oasis-story-page #primary .wp-element-caption {
	margin: 12px auto 0;
	font-family: Lato, Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-style: normal;
	line-height: 1.5;
	color: #66615a;
	text-align: center;
}

/* Repere chronologique : trois cartes sobres plutot que trois gros titres. */
body.oasis-story-page #primary .oasis-story-timeline {
	gap: 24px;
}

body.oasis-story-page #primary .oasis-story-timeline > .wp-block-column {
	padding: 24px 22px 20px;
	border-top: 2px solid #e8c547;
	background: #f8f5ef;
}

body.oasis-story-page #primary .oasis-story-timeline p:last-child,
body.oasis-story-page #primary .oasis-story-team-card p:last-child {
	margin-bottom: 0;
}

/* Filet dore repris de l'accueil, avec un vrai espace avant et apres. */
body.oasis-story-page #primary .oasis-story-separator {
	width: 60% !important;
	max-width: 800px;
	height: 2px !important;
	margin: 48px auto !important;
	border: 0 !important;
	background: linear-gradient(90deg, transparent, #e8c547 25%, #e8c547 75%, transparent) !important;
	opacity: 1;
}

body.oasis-story-page #primary .oasis-story-panel {
	padding: 40px 44px;
	border: 1px solid rgba(181, 145, 27, 0.22);
	border-radius: 6px;
	background: #f8f5ef;
}

body.oasis-story-page #primary .oasis-story-team {
	gap: 24px;
	align-items: stretch;
}

body.oasis-story-page #primary .oasis-story-team-card {
	padding: 28px 26px 24px;
	border: 1px solid rgba(39, 48, 57, 0.13);
	border-top: 3px solid #e8c547;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 10px 26px rgba(31, 35, 38, 0.07);
}

body.oasis-story-page #primary .oasis-story-final {
	width: min(100%, 920px);
	margin-right: auto;
	margin-left: auto;
	padding: 42px;
	border-radius: 6px;
	background: #273039;
	color: #fff;
}

body.oasis-story-page #primary .oasis-story-final h2,
body.oasis-story-page #primary .oasis-story-final p {
	color: #fff;
}

/* Meme traitement que le bouton des services complementaires des chambres. */
body.oasis-story-page #primary .oasis-story-final .wp-block-button.is-style-outline .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border: 1px solid #e8c547 !important;
	border-radius: 6px;
	background: #fffdf8 !important;
	color: #273039 !important;
	font-family: Lato, Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}

body.oasis-story-page #primary .oasis-story-final .wp-block-button.is-style-outline .wp-block-button__link:hover,
body.oasis-story-page #primary .oasis-story-final .wp-block-button.is-style-outline .wp-block-button__link:focus-visible {
	background: #e8c547 !important;
	color: #273039 !important;
}

@media (max-width: 781px) {
	body.oasis-story-page #primary .post-title {
		font-size: 36px;
	}

	body.oasis-story-page #primary .post-content h2.wp-block-heading {
		font-size: 31px;
	}

	body.oasis-story-page #primary .oasis-story-panel,
	body.oasis-story-page #primary .oasis-story-final {
		padding: 32px 28px;
	}
}

@media (max-width: 600px) {
	body.oasis-story-page #primary .post-title {
		margin-bottom: 24px;
		font-size: 32px;
		line-height: 1.18;
	}

	body.oasis-story-page #primary .post-content {
		font-size: 16px;
		line-height: 1.7;
	}

	body.oasis-story-page #primary .post-content h2.wp-block-heading {
		margin-bottom: 18px;
		font-size: 28px;
	}

	body.oasis-story-page #primary .post-content h3.wp-block-heading {
		font-size: 20px;
	}

	body.oasis-story-page #primary .oasis-story-separator {
		width: 76% !important;
		margin-top: 36px !important;
		margin-bottom: 36px !important;
	}

	body.oasis-story-page #primary .oasis-story-panel,
	body.oasis-story-page #primary .oasis-story-final,
	body.oasis-story-page #primary .oasis-story-team-card {
		padding: 26px 22px;
	}
}
