/* ========================================
	SINGLE RISQUE / SECTEUR / VISITE
	======================================== */

/* Bloc after-content dedie aux fiches, positionne au-dessus du footer */
.single-fiche-after-content {
	margin-top: 100px;
	/* z-index: 19;
    position: relative; */
}

.single-risque{
	.blocTexteSimple__inner {
		ul, li{
			margin-bottom: 0!important;
			padding-bottom: 0!important;
		}
	}
}

/* Evite que les blocs alignfull debordent sur la colonne sidebar des fiches */
.single-fiche__main-content .alignfull {
	width: auto !important;
	max-width: none !important;
	margin-left: 0 !important;
	padding-top: 0;
}

.single-fiche__main-content .blocTexteSimple__decoration{
	display: none;
}

/* Sticky cartouche sur les fiches risque/secteur (meme logique que single-formation) */
.single-fiche__sidebar {
	position: sticky;
	top: 180px;
	align-self: flex-start;
	display: flex;
	flex-direction: column;
	gap: 15px;
	z-index: 20;
}

.single-fiche__sidebar .blocSidebar__inner {
	position: relative;
	top: auto;
}

.single-fiche__contact-btn {
	width: fit-content;
	margin: 0 auto;
}

.single-fiche__register-btn {
	width: fit-content;
	margin: 0 auto;
}

@media (max-width: 991px) {
	.single-fiche__sidebar {
		position: relative;
		top: auto;
	}
}

/* Titre intro fiche en span, avec style visuel de h2 blocTexteSimple */
.single-fiche__intro .blocTexteSimple__titre {
	display: block;
	font-family: 'Momo Trust Display', sans-serif;
	font-size: 32px !important;
	font-weight: 500;
	line-height: 1;
	color: var(--color-primary, #5CBE95);
	margin: 0;
	padding-bottom: 20px;
}

.single-fiche__intro h3,
.single-fiche__main-content h3 {
	font-style: normal!important;
}

/* H2 specifiques aux fiches risque/secteur : style italic-spaced */
.single-fiche__main-content h2 {
	/*
	font-family: 'Be Vietnam Pro', sans-serif !important;
	font-style: italic !important;
	letter-spacing: 1.2px !important;
	font-size: 20px !important;
	line-height: 28px !important;
	font-weight: 500 !important;*/
	padding-top: 40px !important;
} 

.single-fiche__main-content a{
	color: var(--color-primary, #5CBE95) !important;
    /* border-bottom: 1px dashed var(--color-primary, #5CBE95); */
}

.single-fiche__main-content h2:first-of-type {
	padding-top: 0 !important;
}

.single-fiche__main-content .encart-wysiwyg__inner a{
	color: white!important;
}

/* Espace sous les items de premier niveau qui contiennent une sous-liste */
.single-fiche__main-content ul > li:has(> ul),
.single-fiche__main-content ol > li:has(> ul),
.single-fiche__main-content ul > li:has(> ol),
.single-fiche__main-content ol > li:has(> ol) {
	padding-bottom: 12px;
}

.single-fiche.single-fiche .single-fiche__main-content h2 * {
	font-family: 'Be Vietnam Pro', sans-serif !important;
	font-style: italic !important;
	letter-spacing: 1.2px !important;
	font-size: 20px !important;
	line-height: 28px !important;
	font-weight: 500 !important;
	color: #00283F !important;
}

.single-fiche__toc-link {
	display: block;
	font-family: 'Be Vietnam Pro', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 20px;
	color: #FFFFFF;
	text-decoration: none;
	margin: 0 0 14px;
}

.single-fiche__toc-link:hover,
.single-fiche__toc-link:focus {
	text-decoration: underline;
}

.single-fiche__main-content .blocTexteSimple__chapeau{
	img{
		margin-bottom: 30px;
	}
}

/* Sidebar specifique aux evenements */
.single-fiche--evenement .blocSidebar__capacity-section {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.single-fiche--evenement .blocSidebar__capacity-gauge {
	width: 100%;
	height: 10px;
	border: 1px solid #ffffff;
	border-radius: 999px;
	padding: 1px;
	background: rgba(255, 255, 255, 0.25);
	overflow: hidden;
}

.single-fiche--evenement .blocSidebar__capacity-fill {
	display: block;
	height: 100%;
	width: 100%;
	border-radius: 999px;
	background: #ffffff;
}

.single-fiche--evenement .blocSidebar__capacity-value {
	margin: 0;
	font-family: 'Be Vietnam Pro', sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
	color: #ffffff;
}