/* =========================================================
   HERO PERSONNALISÉ DES ARTICLES
   The public Review shell is black. Legacy white shell paint has been retired.
   ========================================================= */

.single-post .imc-post-hero {
	background: #000000 !important;
}

.single-post .imc-post-hero__wave {
	display: block;
	background: transparent !important;
}

.single-post .imc-post-hero__wave--top,
.single-post .imc-post-hero__wave--bottom {
	background: transparent !important;
}

.single-post .imc-post-hero__wave--top path,
.single-post .imc-post-hero__wave--bottom path {
	fill: #000000 !important;
}

.single-post .imc-post-hero + .inner-wrap,
.single-post .imc-post-hero + main,
.single-post .imc-post-hero + #main {
	background: #000000 !important;
}

.single-post .entry-hero-container {
	background: #000000 !important;
}

.single-post .entry-hero-container-inner {
	position: relative;
	overflow: hidden;
}

.single-post .entry-hero-container-inner::after {
	content: "";
	position: absolute;
	left: -2%;
	bottom: -34px;
	width: 104%;
	height: 70px;
	background: #000000;
	border-radius: 50% 50% 0 0 / 100% 100% 0 0;
	z-index: 2;
	pointer-events: none;
}

/* =========================================================
   FOND PUBLIC DES REVIEWS
   ========================================================= */

html body.single-post,
body.single-post,
.single-post #wrapper,
.single-post .site,
.single-post .site-content,
.single-post .inner-wrap,
.single-post #inner-wrap,
.single-post main,
.single-post #main,
.single-post .content-area,
.single-post .site-main,
.single-post .content-bg,
.single-post article.entry,
.single-post .entry-content-wrap,
.single-post .entry-content {
	background: #000000 !important;
}

.single-post .site-content {
	padding-top: 0 !important;
}

.single-post .content-area {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.single-post .entry-content-wrap {
	padding-top: 24px !important;
	padding-bottom: 0 !important;
}

.single-post .entry-content {
	margin-top: 0 !important;
}

.single-post .entry-content > .wp-block-html:first-child {
	margin-top: 0 !important;
}

/* =========================================================
   BLOC VIDÉO ET PLATEFORMES
   ========================================================= */

.imc-media-card,
.imc-media-card * {
	box-sizing: border-box;
}

.imc-media-card {
	width: min(1000px, calc(100vw - 48px));
	max-width: none;
	margin: 8px 0 32px;
	margin-left: 50%;
	padding: 26px;
	transform: translateX(-50%);
	background: #ffffff;
	border: 2px solid #a10d00;
	border-radius: 22px;
	box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
	color: #171717;
	font-family: "Lato", Arial, sans-serif;
}

.imc-media-card__grid {
	display: grid;
	grid-template-columns: 560px minmax(0, 1fr);
	align-items: start;
	gap: 24px;
}

.imc-media-card__column {
	min-width: 0;
}

.imc-media-card__title {
	margin: 0;
	color: #171717;
	font-family: "League Spartan", Arial, sans-serif;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.imc-media-card__title-line {
	width: 54px;
	height: 3px;
	margin: 10px 0 16px;
	background: #a10d00;
	border-radius: 999px;
}

.imc-media-card__video {
	display: block;
	width: 560px;
	max-width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #000000;
	border-radius: 8px;
}

.imc-media-card__video iframe {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	border: 0;
}

.imc-media-card__songlink {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 315px;
}

.imc-media-card__songlink iframe {
	display: block;
	width: 100%;
	height: 150px;
	margin: 0;
	border: 0;
}

/* =========================================================
   BLOC VIDÉO ET PLATEFORMES RESPONSIVE
   ========================================================= */

@media (max-width: 1020px) {
	.imc-media-card {
		width: min(720px, calc(100vw - 40px));
		padding: 26px;
	}

	.imc-media-card__grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.imc-media-card__video {
		width: 560px;
		margin: 0 auto;
	}

	.imc-media-card__songlink {
		min-height: auto;
	}
}

@media (max-width: 640px) {
	.imc-media-card {
		width: calc(100vw - 28px);
		margin-top: 0;
		margin-bottom: 28px;
		padding: 20px;
		border-radius: 18px;
	}

	.imc-media-card__grid {
		gap: 26px;
	}

	.imc-media-card__title {
		font-size: 21px;
	}

	.imc-media-card__title-line {
		margin-bottom: 15px;
	}

	.imc-media-card__songlink iframe {
		height: 170px;
	}
}

/* =========================================================
   IMC LISTENING GUIDE
   ========================================================= */

.imc-listening-guide,
.imc-listening-guide * {
	box-sizing: border-box;
}

.imc-listening-guide {
	width: min(1000px, calc(100vw - 48px));
	max-width: none;
	margin: 32px 0 48px;
	margin-left: 50%;
	padding: 26px;
	transform: translateX(-50%);
	background: #ffffff;
	border: 2px solid #a10d00;
	border-radius: 22px;
	box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
	font-family: "Lato", Arial, sans-serif;
	color: #171717;
}

.imc-listening-guide__header {
	margin-bottom: 20px;
}

.imc-listening-guide__title {
	margin: 0 0 8px;
	font-family: "League Spartan", Arial, sans-serif;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: #171717;
}

.imc-listening-guide__title span {
	color: #a10d00;
}

.imc-listening-guide__title-line {
	width: 54px;
	height: 3px;
	margin: 10px 0 16px;
	background: #a10d00;
	border-radius: 999px;
}

.imc-listening-guide__subtitle {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	color: #171717;
}

.imc-listening-guide__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
}

.imc-listening-guide__card {
	display: flex;
	flex-direction: column;
	grid-column: auto;
	min-width: 0;
	min-height: 190px;
	padding: 16px;
	background: #ffffff;
	border: 1px solid rgba(161, 13, 0, 0.22);
	border-radius: 13px;
}

.imc-listening-guide__card--wide {
	grid-column: auto;
}

.imc-listening-guide__heading {
	position: relative;
	min-height: 56px;
	margin: 0 0 14px;
	padding-bottom: 11px;
	font-family: "League Spartan", Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.12;
	color: #171717;
}

.imc-listening-guide__heading::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 46px;
	height: 3px;
	background: #a10d00;
	border-radius: 999px;
}

.imc-listening-guide__visual {
	display: flex;
	align-items: center;
	gap: 7px;
	min-height: 32px;
	margin-bottom: 11px;
}

.imc-listening-guide__icon {
	display: block;
	width: 27px;
	height: 27px;
	flex: 0 0 27px;
	color: #d3d3d3;
}

.imc-listening-guide__icon.is-active {
	color: #a10d00;
}

.imc-listening-guide__icon svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.imc-listening-guide__silence-icon {
	display: block;
	width: 27px;
	height: 27px;
	flex: 0 0 27px;
	color: #d3d3d3;
}

.imc-listening-guide__silence-icon.is-active {
	color: #a10d00;
}

.imc-listening-guide__silence-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.imc-listening-guide__result {
	margin: auto 0 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	color: #171717;
}

.imc-listening-guide__scale {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	margin: 10px 0 14px;
}

.imc-listening-guide__scale::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 6px;
	right: 6px;
	height: 2px;
	background: #d9d9d9;
	border-radius: 999px;
	transform: translateY(-50%);
}

.imc-listening-guide__scale-fill {
	position: absolute;
	top: 50%;
	left: 6px;
	width: calc(100% - 12px);
	height: 2px;
	background: #a10d00;
	border-radius: 999px;
	transform: translateY(-50%);
}

.imc-listening-guide__scale-dot {
	position: relative;
	z-index: 1;
	display: block;
	width: 11px;
	height: 11px;
	background: #ffffff;
	border: 2px solid #a10d00;
	border-radius: 50%;
}

.imc-listening-guide__visual--notes {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	margin-bottom: 11px;
}

.imc-listening-guide__note {
	display: block;
	width: 27px;
	height: 27px;
	flex: 0 0 27px;
	object-fit: contain;
}

.imc-listening-guide__note--off {
	filter: grayscale(1) brightness(1.15);
	opacity: 0.35;
}

/* =========================================================
   IMC LISTENING GUIDE TABLETTE
   ========================================================= */

@media (max-width: 1020px) {
	.imc-listening-guide {
		width: min(720px, calc(100vw - 40px));
		padding: 26px;
	}

	.imc-listening-guide__grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: 14px;
	}

	.imc-listening-guide__card {
		grid-column: span 2;
		min-height: 180px;
	}

	.imc-listening-guide__card--wide {
		grid-column: span 3;
	}
}

/* =========================================================
   IMC LISTENING GUIDE MOBILE
   ========================================================= */

@media (max-width: 640px) {
	.imc-listening-guide {
		width: calc(100vw - 28px);
		margin-top: 28px;
		margin-bottom: 32px;
		padding: 20px;
		border-radius: 18px;
	}

	.imc-listening-guide__header {
		margin-bottom: 18px;
	}

	.imc-listening-guide__title {
		font-size: 21px;
	}

	.imc-listening-guide__subtitle {
		font-size: 14px;
	}

	.imc-listening-guide__grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.imc-listening-guide__card,
	.imc-listening-guide__card--wide {
		grid-column: auto;
		min-height: 0;
		padding: 18px;
	}

	.imc-listening-guide__heading {
		min-height: 0;
		font-size: 17px;
	}

	.imc-listening-guide__visual {
		gap: 9px;
	}

	.imc-listening-guide__icon,
	.imc-listening-guide__silence-icon,
	.imc-listening-guide__note {
		width: 29px;
		height: 29px;
		flex-basis: 29px;
	}

	.imc-listening-guide__visual--notes {
		gap: 7px;
	}
}