/* --- Wrapper commun --------------------------------------------- */
.bloc_category_left,
.bloc_category_right {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: var( --wp--style--block-gap, 24px );
	border-top:1px solid #eee;
}

.bloc_category_left  { justify-content: flex-start; }
.bloc_category_right { justify-content: flex-end; }

.bloc_category_left  > .wp-block-cover,
.bloc_category_right > .wp-block-cover {
	flex: 0 0 48%;
	max-width: 48%;
}
.bloc_category_left  > .wp-block-cover .wp-block-cover__inner-container,
.bloc_category_right > .wp-block-cover .wp-block-cover__inner-container{
	display: flex;
	place-content: space-between;
	place-items:center;
	width: 100%!important;
}
.bloc_category_left  > .wp-block-cover .title,
.bloc_category_right > .wp-block-cover .title{
	font-family: sans-serif;
	font-size: 12px;
	color: #fff;
	background: rgba(0,0,0,0.45);
	padding: 5px 10px;
	margin:0;
}


.bloc_category_left  > .bloc_category_texte,
.bloc_category_right > .bloc_category_texte {
	flex: 1 1 auto;
	min-width: 0;
	padding-left:15px;
	padding-right:15px;
}

.bloc_category_vertical {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: var( --wp--style--block-gap, 24px );
}

/* --- Colonne texte (blockGap : 0) -------------------------------- */
.bloc_category_texte > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.bloc_category_credit {
	/*position: absolute;
	right: 16px;
	bottom: 12px;*/
	z-index: 2;
	font-size: 11px;
	line-height: 1.3;
	letter-spacing: 0.02em;
	color: #fff;
	text-align: right;
	pointer-events: none;
}

/* Crédit sombre sur le style « image centrée » (titre noir) */
.bloc_category_vertical .bloc_category_credit {
	color: #000;
}

/* --- Bloc cliquable ---------------------------------------------- */
a.bloc_category_link {
	color: inherit;
	text-decoration: none;
}

a.bloc_category_link:hover .wp-block-cover__background {
	opacity: 0.85;
	transition: opacity 0.3s ease;
}

/* --- Responsive --------------------------------------------------- */
@media ( max-width: 781px ) {
	.bloc_category_left,
	.bloc_category_right {
		flex-direction: column;
	}

	.bloc_category_left  > .wp-block-cover,
	.bloc_category_right > .wp-block-cover {
		flex-basis: auto;
		max-width: 100%;
		width: 100%;
	}

	.bloc_category_texte {
		padding-top: 40px !important;
	}

	.bloc_category_left  .bloc_category_categorie,
	.bloc_category_right .bloc_category_categorie,
	.bloc_category_vertical .bloc_category_categorie {
		font-size: 34px !important;
	}
}

.wp-block-gaia-category-showcase .wp-block-cover__image-background{
	transition: transform 0.5s ease;
}
.wp-block-gaia-category-showcase:hover .wp-block-cover__image-background{
	transform: scale(1.06);
}