/* ------------------------------------------------------------------ */
/* Widget : Panneau Catégories — mobile first                          */
/* ------------------------------------------------------------------ */

.lit-cat-panel {
	background-color: #01301B;
	border-radius: 0 13vw 13vw 0;
	padding: 11vw 6% 16vw 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	box-shadow: 10px 5px 24px 0 rgba(0, 0, 0, 0.3);
}

/* Header ------------------------------------------------------------ */

.lit-cat-panel__header {
	display: flex;
	flex-direction: column;
	padding-left: 5vw;
	font-size: clamp(2.75rem, 3vw, 3vw);
}

.lit-cat-panel__title-part1 {
	display: block;
	color: var(--color-gris);
}

.lit-cat-panel__title-part2 {
	display: block;
	font-size: .54em;
	color: var(--color-rouge);
}

/* List -------------------------------------------------------------- */

.lit-cat-panel__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 30px;
	width: 100%;
}

/* Item -------------------------------------------------------------- */

.lit-cat-panel__link {
	display: block;
	position: relative;
	border-radius: 0 20px 20px 0;
	overflow: hidden;
	aspect-ratio: 1 / .46;
	text-decoration: none;
	box-shadow: none;
	transition: box-shadow 0.4s ease;
}

.lit-cat-panel__link:hover {
	box-shadow: 6px 8px 24px rgba(0, 0, 0, 0.45);
}

.lit-cat-panel__img-wrap {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-color: #01301B;
	transition: transform 0.4s ease;
}

.lit-cat-panel__link:hover .lit-cat-panel__img-wrap {
	transform: scale(1.08);
}

.lit-cat-panel__img-wrap::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(1, 48, 27, 0.5);
}

.lit-cat-panel__name {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
	font-weight: 700;
	font-size: clamp(1.875rem, 3vw, 3vw);
	line-height: 1.15;
	color: var(--color-gris);
	padding-left: 5vw
}

/* Desktop ----------------------------------------------------------- */

@media (min-width: 1025px) {
	
	.lit-cat-panel {
		padding: 11vw 26% 16vw 0;
		gap: 41px;
		/*max-width: 464px;*/
	}

	.lit-cat-panel__list {
		gap: 35px;
	}

	.lit-cat-panel__link {
		border-radius: 0 30px 30px 0;
	}

}
