/**
 * Articles de blog (single post) — design PEPS 2026.
 */

.peps-single-post-page {
	background-color: #ffeffc !important;
	padding: clamp(24px, 3vw, 40px) 5% clamp(12px, 2vw, 20px) 5% !important;
	margin: 0 !important;
}

.peps-single-post__panel {
	background: linear-gradient(180deg, #fff 0%, #fff9fc 100%);
	border: 1px solid rgba(232, 77, 138, 0.18);
	border-radius: 36px;
	box-shadow: 0 20px 50px rgba(232, 77, 138, 0.08);
	overflow: hidden;
	max-width: 920px;
	margin: 0 auto;
	padding: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 44px) clamp(28px, 3.5vw, 48px);
}

/* Image mise en avant */
.peps-single-post__panel .peps-single-post__featured,
.peps-single-post__panel .elementor-widget-theme-post-featured-image {
	margin: 0 0 clamp(20px, 2.5vw, 28px) !important;
}

.peps-single-post__panel .elementor-widget-theme-post-featured-image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: clamp(220px, 36vw, 420px);
	object-fit: cover;
	object-position: center;
	border-radius: 24px;
	box-shadow: 0 12px 32px rgba(61, 43, 50, 0.08);
}

/* Titre */
.peps-single-post__panel .elementor-widget-theme-post-title .elementor-heading-title,
.peps-single-post__panel h1.elementor-heading-title {
	margin: 0 0 18px !important;
	font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
	font-size: clamp(1.75rem, 3vw, 2.4rem) !important;
	font-weight: 500 !important;
	line-height: 1.15 !important;
	color: #3d2b32 !important;
	text-align: left !important;
	text-transform: none !important;
}

/* Partage */
.peps-single-post__share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 0 0 clamp(20px, 2.5vw, 28px) !important;
	padding-bottom: clamp(16px, 2vw, 22px);
	border-bottom: 1px solid rgba(232, 77, 138, 0.12);
}

.peps-single-post__share .elementor-heading-title,
.peps-single-post__share .elementor-widget-heading .elementor-heading-title {
	margin: 0 !important;
	font-family: Poppins, "Trebuchet MS", Arial, sans-serif !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	color: #e84d8a !important;
}

.peps-single-post__share .elementor-share-btn {
	border-radius: 999px !important;
	overflow: hidden;
}

.peps-single-post__share .elementor-share-btn__icon {
	background: rgba(232, 77, 138, 0.1) !important;
	color: #e84d8a !important;
}

.peps-single-post__share .elementor-share-btn:hover .elementor-share-btn__icon {
	background: #e84d8a !important;
	color: #fff !important;
}

/* Contenu article */
.peps-single-post__panel .elementor-widget-theme-post-content {
	margin: 0 !important;
}

.peps-single-post__panel .elementor-widget-theme-post-content,
.peps-single-post__panel .elementor-widget-theme-post-content p,
.peps-single-post__panel .elementor-widget-theme-post-content li {
	font-family: Poppins, "Trebuchet MS", Arial, sans-serif !important;
	font-size: 16px !important;
	line-height: 1.7 !important;
	color: #5a4f55 !important;
}

.peps-single-post__panel .elementor-widget-theme-post-content p {
	margin: 0 0 1.1em !important;
}

.peps-single-post__panel .elementor-widget-theme-post-content h2,
.peps-single-post__panel .elementor-widget-theme-post-content h3,
.peps-single-post__panel .elementor-widget-theme-post-content h4 {
	font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	color: #3d2b32 !important;
	text-transform: none !important;
	margin: 1.6em 0 0.7em !important;
}

.peps-single-post__panel .elementor-widget-theme-post-content h2 {
	font-size: clamp(1.4rem, 2vw, 1.75rem) !important;
}

.peps-single-post__panel .elementor-widget-theme-post-content h3 {
	font-size: clamp(1.2rem, 1.6vw, 1.4rem) !important;
}

.peps-single-post__panel .elementor-widget-theme-post-content a {
	color: #e84d8a !important;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.peps-single-post__panel .elementor-widget-theme-post-content a:hover {
	color: #d43d78 !important;
}

.peps-single-post__panel .elementor-widget-theme-post-content strong {
	color: #3d2b32;
	font-weight: 600;
}

.peps-single-post__panel .elementor-widget-theme-post-content ul,
.peps-single-post__panel .elementor-widget-theme-post-content ol {
	margin: 0 0 1.2em !important;
	padding-left: 1.25em !important;
}

.peps-single-post__panel .elementor-widget-theme-post-content blockquote,
.peps-single-post__panel .elementor-widget-theme-post-content em {
	font-style: italic;
}

.peps-single-post__panel .elementor-widget-theme-post-content blockquote {
	margin: 1.4em 0 !important;
	padding: 18px 22px !important;
	border-left: 3px solid #e84d8a !important;
	background: rgba(255, 239, 252, 0.7);
	border-radius: 0 16px 16px 0;
	color: #3d2b32 !important;
}

/* Tags / meta — masqués (non utilisés) */
.peps-single-post__meta {
	display: none !important;
}

/* Masquer les anciens séparateurs dans le panneau */
.peps-single-post__panel .elementor-widget-divider {
	display: none !important;
}

/* Articles liés */
.peps-single-related {
	background-color: #ffeffc !important;
	padding: clamp(12px, 2vw, 20px) 5% clamp(40px, 5vw, 64px) 5% !important;
	margin: 0 !important;
}

.peps-single-related__inner {
	max-width: 1200px;
	margin: 0 auto;
}

.peps-single-related .elementor-heading-title,
.peps-single-related .elementor-widget-heading .elementor-heading-title,
.peps-single-related .elementor-posts-heading {
	margin: 0 0 clamp(20px, 2.5vw, 28px) !important;
	font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
	font-size: clamp(1.5rem, 2.2vw, 1.9rem) !important;
	font-weight: 500 !important;
	color: #3d2b32 !important;
	text-align: center !important;
	text-transform: none !important;
}

.peps-single-related .elementor-posts-container {
	gap: clamp(16px, 2vw, 24px) !important;
}

.peps-single-related .elementor-post__card {
	background: #fff !important;
	border: 1px solid rgba(232, 77, 138, 0.12) !important;
	border-radius: 24px !important;
	overflow: hidden;
	box-shadow: 0 10px 28px rgba(61, 43, 50, 0.06) !important;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.peps-single-related .elementor-post__card:hover {
	box-shadow: 0 16px 36px rgba(232, 77, 138, 0.12) !important;
	transform: translateY(-2px);
}

.peps-single-related .elementor-post__thumbnail img {
	opacity: 1;
	transition: opacity 0.3s ease, filter 0.3s ease;
}

.peps-single-related .elementor-post__card:hover .elementor-post__thumbnail img {
	opacity: 0.85;
}

.peps-single-related .elementor-posts__hover-gradient .elementor-post__card .elementor-post__thumbnail__link:after {
	display: none !important;
}

.peps-single-related .elementor-post__card:hover {
	transform: none;
}

.peps-single-related .elementor-post__text {
	padding: clamp(14px, 1.8vw, 20px) !important;
}

.peps-single-related .elementor-post__title,
.peps-single-related .elementor-post__title a {
	font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
	font-size: clamp(1.05rem, 1.3vw, 1.2rem) !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	color: #3d2b32 !important;
	text-decoration: none !important;
	text-transform: none !important;
}

.peps-single-related .elementor-post__title a:hover {
	color: #e84d8a !important;
}

.peps-single-related .elementor-post__badge {
	background: rgba(232, 77, 138, 0.9) !important;
	font-family: Poppins, "Trebuchet MS", Arial, sans-serif !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.06em;
	border-radius: 999px !important;
}

.peps-single-related .elementor-widget-divider {
	display: none !important;
}

@media (max-width: 767px) {
	.peps-single-post-page,
	.peps-single-related {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}

	.peps-single-post__panel {
		border-radius: 28px;
		padding: 22px 18px 28px;
	}

	.peps-single-post__panel .elementor-widget-theme-post-content,
	.peps-single-post__panel .elementor-widget-theme-post-content p,
	.peps-single-post__panel .elementor-widget-theme-post-content li {
		font-size: 15px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.peps-single-related .elementor-post__card,
	.peps-single-related .elementor-post__thumbnail img {
		transition: none;
	}
}
