/* ============================================================
   FAJAR — CARTES DE RECOMMANDATIONS DU LECTEUR
   ============================================================ */


/* ------------------------------------------------------------
   CONTENEUR DES RECOMMANDATIONS
   ------------------------------------------------------------ */

.fajar-player-related {
	margin-top: 60px;
	width: 100%;
}


/* ------------------------------------------------------------
   TITRE
   ------------------------------------------------------------ */

.fajar-player-related > h2 {
	margin: 0 0 28px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.25;
}


/* ------------------------------------------------------------
   GRILLE
   ------------------------------------------------------------ */

.fajar-player-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
}


/* ------------------------------------------------------------
   CARTE
   ------------------------------------------------------------ */

.fajar-player-related .fajar-cover {
	position: relative;
	display: block;
	width: 100%;
	overflow: hidden;
	border-radius: 18px;
	background: #182338;
	text-decoration: none;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20);

	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}


/* ------------------------------------------------------------
   EFFET HOVER
   ------------------------------------------------------------ */

.fajar-player-related .fajar-cover:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.30);
}


/* ------------------------------------------------------------
   IMAGE
   ------------------------------------------------------------ */

.fajar-player-related .fajar-cover-image {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #111827;
}


.fajar-player-related .fajar-cover-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;

	transition:
		transform 0.4s ease;
}


.fajar-player-related .fajar-cover:hover
.fajar-cover-image img {
	transform: scale(1.05);
}


/* ------------------------------------------------------------
   OVERLAY
   ------------------------------------------------------------ */

.fajar-player-related .fajar-cover-overlay {
	position: absolute;
	inset: 0;

	display: flex;
	flex-direction: column;
	justify-content: flex-end;

	padding: 22px;

	background:
		linear-gradient(
			to top,
			rgba(5, 10, 22, 0.96) 0%,
			rgba(5, 10, 22, 0.72) 42%,
			rgba(5, 10, 22, 0.08) 100%
		);
}


/* ------------------------------------------------------------
   TITRE DU CONTENU
   ------------------------------------------------------------ */

.fajar-player-related
.fajar-cover-overlay h3 {
	margin: 0 0 8px;

	color: #ffffff;

	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;

	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}


/* ------------------------------------------------------------
   AUTEUR
   ------------------------------------------------------------ */

.fajar-player-related
.fajar-cover-overlay p {
	margin: 0 0 8px;

	color: rgba(255, 255, 255, 0.72);

	font-size: 14px;
	line-height: 1.4;
}


/* ------------------------------------------------------------
   DURÉE
   ------------------------------------------------------------ */

.fajar-player-related
.fajar-cover-meta {
	margin-bottom: 14px;

	color: rgba(255, 255, 255, 0.72);

	font-size: 13px;
}


/* ------------------------------------------------------------
   ZONE BOUTON
   ------------------------------------------------------------ */

.fajar-player-related
.fajar-cover-buttons {
	margin-top: 4px;
}


/* ------------------------------------------------------------
   BOUTON ÉCOUTER
   ------------------------------------------------------------ */

.fajar-player-related
.fajar-play-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	padding: 10px 17px;

	border-radius: 999px;

	background: #f2c230;
	color: #111827;

	font-size: 14px;
	font-weight: 700;
	line-height: 1;

	transition:
		background 0.2s ease,
		transform 0.2s ease;
}


/* ------------------------------------------------------------
   HOVER BOUTON
   ------------------------------------------------------------ */

.fajar-player-related .fajar-cover:hover
.fajar-play-button {
	background: #ffffff;
	transform: translateY(-1px);
}


/* ------------------------------------------------------------
   TABLETTE
   ------------------------------------------------------------ */

@media (max-width: 1000px) {

	.fajar-player-related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}


/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 650px) {

	.fajar-player-related {
		margin-top: 45px;
	}

	.fajar-player-related > h2 {
		font-size: 24px;
		margin-bottom: 20px;
	}

	.fajar-player-related-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.fajar-player-related
	.fajar-cover-overlay {
		padding: 18px;
	}

	.fajar-player-related
	.fajar-cover-overlay h3 {
		font-size: 18px;
	}

}