body.asmon-page-template--ressources {
	overflow-x: clip;
	background-color: #0e0b08;
}

body.asmon-page-template--ressources::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(
		118deg,
		#0c0a07 0%,
		#100d09 22%,
		#0e0b08 48%,
		#12100c 72%,
		#0c0a07 100%
	);
	background-size: 320% 320%;
	animation: asmon-ressources-bg-drift 150s ease-in-out infinite alternate;
}

body.asmon-page-template--ressources::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 0.032;
	mix-blend-mode: soft-light;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-size: 200px 200px;
}

@keyframes asmon-ressources-bg-drift {
	0% { background-position: 0% 40%; }
	100% { background-position: 100% 60%; }
}

body.asmon-page-template--ressources #main-container,
body.asmon-page-template--ressources .site-main,
body.asmon-page-template--ressources main {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

body.asmon-page-template--ressources .site-main > article,
body.asmon-page-template--ressources .site-main > .hentry,
body.asmon-page-template--ressources .ct-container,
body.asmon-page-template--ressources .entry-content {
	flex: 0 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

body.asmon-page-template--ressources .entry-header,
body.asmon-page-template--ressources .page-title,
body.asmon-page-template--ressources .ct-page-title,
body.asmon-page-template--ressources .hero-section {
	display: none !important;
}

body.asmon-page-template--ressources .asmon-ressources-page {
	display: flex;
	flex: 0 1 auto;
	flex-direction: column;
	min-height: 0;
}

body.asmon-page-template--ressources .asmon-hero,
body.asmon-page-template--ressources .asmon-ressources-intro {
	flex-shrink: 0;
}

body.asmon-page-template--ressources .asmon-scroll-progress-rail {
	z-index: 10600;
}

@media (max-width: 900px) {
	body.asmon-page-template--ressources .asmon-hero .asmon-hero__label {
		display: none !important;
	}
}

body.asmon-page-template--ressources .asmon-ressources-intro {
	max-width: min(52rem, 100%);
	margin: 0 auto;
	padding: clamp(1.5rem, 4vh, 2.5rem) var(--asmon-hero-gutter) clamp(1rem, 3vh, 1.5rem);
}

body.asmon-page-template--ressources .asmon-ressources-stage {
	flex: 0 1 auto;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 0;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.asmon-page-template--ressources .asmon-ressources-stage > .wp-block-asmon-ressources,
body.asmon-page-template--ressources .asmon-ressources-stage > .asmon-archives,
body.asmon-page-template--ressources .asmon-ressources-stage > * {
	flex: 0 1 auto;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 0;
	margin: 0;
}

body.asmon-page-template--ressources .asmon-ressources-stage > .wp-block-asmon-ressources > .asmon-archives,
body.asmon-page-template--ressources .asmon-ressources-stage > .wp-block-asmon-ressources > section {
	flex: 0 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
	height: auto;
}

body.asmon-page-template--ressources .asmon-ressources-stage,
body.asmon-page-template--ressources .asmon-archives--template-full {
	margin-bottom: 0;
	padding-bottom: 0;
}

body.asmon-page-template--ressources .site-main > article,
body.asmon-page-template--ressources .entry-content {
	margin-bottom: 0;
	padding-bottom: 0;
}

body.asmon-page-template--ressources footer.ct-footer,
body.asmon-page-template--ressources .ct-footer {
	margin-top: 0;
	padding-top: 0.5rem;
	border-top-color: rgba(26, 18, 8, 0.9);
}

@media (min-width: 901px) {
	body.asmon-page-template--ressources .asmon-archives__wings:has(.asmon-archives__wing:nth-child(4)) {
		max-height: calc(7.65rem * 3 + 2px);
	}
}

@media (max-width: 767px), (hover: none) and (pointer: coarse) {
	body.asmon-page-template--ressources::before {
		animation: none;
		background-size: 100% 100%;
	}

	body.asmon-page-template--ressources::after {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.asmon-page-template--ressources::before {
		animation: none;
	}

	body.asmon-page-template--ressources::after {
		display: none;
	}
}
