/*
Theme Name: TheGem Elementor Child
Description: Multi-Purpose Wordpress Theme
Author: Codex Themes.
Theme URI: http://codex-themes.com/thegem/
Author URI: http://codex-themes.com/thegem/
Template: thegem-elementor
Version: 1.0
Tags: one-column, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, full-width-template, theme-options, translation-ready, dark, light
License: GNU General Public License
License URI: license.txt
*/
#catalogue-grid .elementor-element {
    --padding-top: 5px !important;
    --padding-bottom: 5px !important;
}
/* Bloc intro catégorie */
.px-category-intro {
	position: relative;
	margin: 0 0 0px;
	padding: 0;
	margin-left: 18%;
    width: 90%;
}

/* Titre */
.px-category-intro__title {
	margin: 0 0 16px;
	font-size: 38px;
	line-height: 1.1;
	font-weight: 700;
	color: #2c83b6; /* à adapter */
}

/* Zone de contenu */
.px-category-intro__content-wrap {
	position: relative;
	overflow: hidden;
	max-height: 150px;
	transition: max-height 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* état replié */
.px-category-intro.is-collapsed .px-category-intro__content-wrap {
	max-height: 150px;
}

/* Texte */
.px-category-intro__content {
	font-size: 16px;
	line-height: 1.7;
	color: #666;
}

.px-category-intro__content h2,
.px-category-intro__content h3,
.px-category-intro__content h4 {
	margin: 0 0 10px;
	font-size: 27px;
	line-height: 1.25;
	font-weight: 600;
	color: #7eb4d6; /* à adapter */
}

.px-category-intro__content p {
	margin: 0 0 10px;
}

/* Dégradé bas quand replié */
.px-category-intro__fade {
	opacity: 1;
	transition: opacity 0.4s ease;
}
.px-category-intro.is-open .px-category-intro__fade {
	opacity: 0;
}

.px-category-intro.is-collapsed .px-category-intro__fade {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 56px;
	pointer-events: none;
	background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}

.px-category-intro__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 36px;
	margin-top: 8px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.px-category-intro__icon {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-right: 2px solid #000;
	border-bottom: 2px solid #000;
	transform: rotate(45deg);
	transform-origin: center;
	transition: transform 0.4s ease;
	box-sizing: border-box;
}

.px-category-intro.is-open .px-category-intro__icon {
	transform: rotate(-135deg);
}
/* Animation entrée bloc */

.px-category-intro {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.45s ease, transform 0.45s ease;
}

.px-category-intro.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Responsive */
@media (max-width: 767px) {
	.px-category-intro {
		margin-bottom: 24px;
	}

	.px-category-intro__title {
		font-size: 28px;
		margin-bottom: 12px;
	}

	.px-category-intro__content {
		font-size: 14px;
		line-height: 1.6;
	}

	.px-category-intro__content h2,
	.px-category-intro__content h3,
	.px-category-intro__content h4 {
		font-size: 20px;
	}
}
