/*=====================================================
	Page détail d'un article ("Actualités") — refonte
	premium : héros, méta, typographie soignée, partage
	social, sidebar articles liés + carte CTA.
=====================================================*/

.article-section{
	padding: 50px 0 90px;
	background: #f7f8fa;
}

.article-card{
	background: var(--pbmit-white-color);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
	padding: 0 0 36px;
}

.article-hero{
	width: 100%;
	height: 380px;
	overflow: hidden;
}
.article-hero img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.article-meta-row{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 24px 40px 0;
}
.article-meta-chip{
	font-size: 12.5px;
	font-weight: 600;
	color: #6b7280;
	background: #f1f3f5;
	padding: 5px 14px;
	border-radius: 100px;
}

.article-title{
	font-size: 32px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--pbmit-heading-color, #1a1a1a);
	padding: 16px 40px 0;
	margin: 0;
}

.article-lead{
	font-size: 17px;
	line-height: 1.6;
	color: #4b5563;
	font-weight: 500;
	padding: 16px 40px 0;
	margin: 0;
	border-left: 3px solid var(--pbmit-global-color);
	padding-left: 20px;
	margin: 20px 40px 0;
}

.article-body{
	padding: 28px 40px 0;
	font-size: 16px;
	line-height: 1.85;
	color: #374151;
}
.article-body p{ margin-bottom: 0; }

.article-share{
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	padding: 30px 40px 0;
	margin-top: 30px;
	border-top: 1px solid #f0f1f3;
}
.article-share-label{
	font-size: 13.5px;
	font-weight: 700;
	color: var(--pbmit-heading-color, #1a1a1a);
	margin-right: 4px;
}
.article-share-btn{
	font-size: 12.5px;
	font-weight: 600;
	color: var(--pbmit-heading-color, #1a1a1a);
	background: #f1f3f5;
	padding: 7px 16px;
	border-radius: 100px;
}
.article-share-btn:hover{
	background: var(--pbmit-global-color);
	color: var(--pbmit-white-color);
}

.article-back-link{
	padding: 24px 40px 0;
}
.article-back-link a{
	font-size: 13.5px;
	font-weight: 600;
	color: var(--pbmit-global-color);
}

/* ---------- Sidebar ---------- */
.article-sidebar{
	position: sticky;
	top: 110px;
}
.article-sidebar-card{
	background: var(--pbmit-white-color);
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
	margin-bottom: 24px;
}
.article-sidebar-title{
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 18px;
}
.article-related-item{
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #f0f1f3;
}
.article-related-item:last-child{ border-bottom: none; padding-bottom: 0; }
.article-related-item:first-of-type{ padding-top: 0; }
.article-related-item img{
	width: 60px;
	height: 60px;
	min-width: 60px;
	border-radius: 10px;
	object-fit: cover;
}
.article-related-title{
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--pbmit-heading-color, #1a1a1a);
	margin-bottom: 4px;
}
.article-related-item:hover .article-related-title{
	color: var(--pbmit-global-color);
}
.article-related-date{
	font-size: 11.5px;
	color: #9aa1ab;
}

.article-cta-card{
	background: linear-gradient(135deg, var(--pbmit-global-color), #14311d);
	border-radius: 16px;
	padding: 28px 24px;
	color: var(--pbmit-white-color);
	text-align: center;
}
.article-cta-card h3{
	font-size: 18px;
	font-weight: 700;
	color: var(--pbmit-white-color);
	margin-bottom: 10px;
}
.article-cta-card p{
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 18px;
}
.article-cta-card .formation-btn{
	width: 100%;
}

@media (max-width: 991px){
	.article-sidebar{
		position: static;
		margin-top: 24px;
	}
}

@media (max-width: 767px){
	.article-hero{ height: 220px; }
	.article-meta-row,
	.article-title,
	.article-body,
	.article-share,
	.article-back-link{
		padding-left: 20px;
		padding-right: 20px;
	}
	.article-lead{
		margin-left: 20px;
		margin-right: 20px;
	}
	.article-title{ font-size: 24px; }
}
