/* Page financement */
.donors-header {
	padding: 4rem 0 5rem;
	background-color: var(--category-color);
	color: #fff;
}
.donors-header__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.donors-header__title {
	margin: 0 0 1rem;
	font-size: 4em;
	color: inherit;
}
.donors-header__description {
	font-size: 2.25em;
}
.donors__container {
	display: flex;
	flex-direction: column;
	gap: 6rem;
	padding-top: 8rem;
	padding-bottom: 8rem;
}
.donors-item {
	display: flex;
	align-items: center;
	gap: 3rem;
}
.donors-item__content {
	flex: 2;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}
.donors-item__logo {
	flex: 1;
}
.donors-item__logo img {
	display: block;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 50%;
	border: 1px solid #707070;
	width: 100%;
}
.donors-item__representative {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	height: 150px;
}
.donors-item__representative-image img {
	display: block;
	object-fit: cover;
	border-radius: 50%;
	border: 1px solid #707070;
	width: 150px;
	height: 150px;
}
.donors-item__representative-name {
	font-size: 1.25em;
	color: var(--category-color);
}
.donors-item__donor-name {
	margin: 0 0 1rem;
	font-size: 2.667em;
	color: var(--category-color);
}
.financing-description,
.donors-item__donor-description {
	font-size: 1.25em;
	line-height: 1.714;
}

/* Smaller categories */
.donors.large .donors__container,
.donors.medium .donors__container,
.donors.small .donors__container {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 3rem;
	padding-top: 6rem;
	padding-bottom: 6rem;
}
.donors.large .donors-item,
.donors.medium .donors-item,
.donors.small .donors-item {
	flex-direction: column;
	align-items: stretch;
	width: calc(100% / 4 - 3rem / 4 * 3);
}
.donors.large .donors-item {
	gap: 0;
}
.donors.medium .donors-item {
	width: calc(100% / 6 - 3rem / 6 * 5);
}
.donors.small .donors-item {
	width: calc(100% / 8 - 3rem / 8 * 7);
}
.donors.large .donors-item__content {
	margin-top: -7rem;
}
.donors.large .donors-item__representative {
	flex-flow: row-reverse;
	align-items: flex-end;
	text-align: right;
}
.donors.medium .donors-item__donor-name {
	font-size: 1.778em;
}
.donors.small .donors-item__donor-name {
	font-size: 1.333em;
}

@media (max-width: 1479.9px) {
	.donors-item__content {
		flex: 1.5;
	}
	.donors.large .donors-item {
		width: calc(100% / 3 - 3rem / 3 * 2);
	}
	.donors.medium .donors-item {
		width: calc(100% / 4 - 3rem / 4 * 3);
	}
	.donors.small .donors-item {
		width: calc(100% / 6 - 3rem / 6 * 5);
	}
}
@media (max-width: 1199.9px) {
	.donors.full .donors-item {
		align-items: flex-start;
	}
	.donors.full .donors-item__representative.empty {
		display: none;
	}
	.donors.large .donors-item {
		width: calc(100% / 2 - 3rem / 2 * 1);
	}
}
@media (max-width: 991.9px) {
	.donors.full .donors__container {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 3rem;
		padding-top: 6rem;
		padding-bottom: 6rem;
	}
	.donors.full .donors-item {
		flex-direction: column;
		align-items: stretch;
		width: calc(100% / 2 - 3rem / 2 * 1);
	}
	.donors.full .donors-item {
		gap: 0;
	}
	.donors.full .donors-item__content {
		margin-top: -7rem;
	}
	.donors.full .donors-item__representative {
		flex-flow: row-reverse;
		align-items: flex-end;
		text-align: right;
	}
}
@media (max-width: 767.9px) {
	.donors-header__title {
		font-size: 3em;
	}
	.donors-header__description {
		font-size: 1.75em;
	}
	.donors-item__donor-name {
		font-size: 2em;
	}
	.financing-description,
	.donors-item__donor-description {
		font-size: 1.15em;
	}
	.donors.full .donors-item,
	.donors.large .donors-item {
		align-items: center;
		width: 100%;
	}
	.donors.medium .donors-item {
		width: calc(100% / 3 - 3rem / 3 * 2);
	}
	.donors.small .donors-item {
		width: calc(100% / 4 - 3rem / 4 * 3);
	}
	.donors.full .donors-item__logo img,
	.donors.large .donors-item__logo img {
		height: 350px;
	}
	.donors.full .donors-item__content,
	.donors.large .donors-item__content {
		align-items: center;
	}
}
@media (max-width: 511.9px) {
	.donors-header__title {
		margin: 0 0 0.5rem;
		font-size: 2em;
	}
	.donors-header__description,
	.donors-item__donor-name {
		font-size: 1.5em;
	}
	.financing-description,
	.donors-item__donor-description {
		font-size: 1em;
	}
	.donors.medium .donors-item__donor-name,
	.donors.small .donors-item__donor-name {
		font-size: 1.25em;
	}
	.donors.medium .donors-item {
		width: calc(100% / 2 - 3rem / 2 * 1);
	}
	.donors.small .donors-item {
		width: calc(100% / 3 - 3rem / 3 * 2);
	}
	.donors.full .donors-item__logo img,
	.donors.large .donors-item__logo img {
		height: 250px;
	}
	.donors.full .donors-item__content,
	.donors.large .donors-item__content {
		margin-top: -3.5rem;
	}
	.donors.full .donors-item__representative,
	.donors.large .donors-item__representative {
		height: 100px;
	}
	.donors.full .donors-item__representative-image img,
	.donors.large .donors-item__representative-image img {
		height: 100px;
		width: 100px;
	}
}




/* actualités fix */

.accueil_actualites .posts-container {
	display: flex !important;
	column-gap: 50px !important;
}

.accueil_actualites .posts-container article {
	position: relative !important;	
	opacity: 1 !important;
	left: initial !important;
}

@media only screen and (max-width : 991px) {
	.accueil_actualites .posts-container {
		flex-wrap: wrap;	
	}

	.accueil_actualites .posts-container article {
		margin-bottom: 50px;
		flex: 0 0 calc( 50% - 50px );
	}
}

@media only screen and (max-width : 768px) {

	.accueil_actualites .posts-container article {
		margin-bottom: 50px;
		flex: 0 0 100%;
	}
}

body.blog .posts-container {
	display: flex !important;
	column-gap: 50px !important;
	flex-wrap: wrap;
}

body.blog .posts-container article {
	position: relative !important;	
	opacity: 1 !important;
	left: initial !important;
	flex: 0 0 calc( 33.333% - 50px );
	margin-bottom: 50px;
}

@media only screen and (max-width : 1199px) {

	body.blog .posts-container article {
		flex: 0 0 calc( 50% - 50px );
	}
}


@media only screen and (max-width : 768px) {

	body.blog .posts-container article {
		flex: 0 0 100%;
	}
}
/* JP: below 992 the stacked "full" donors pulled their content up over the logo (-7rem / -3.5rem): names and the representative text sat on the circle. Start the content just under the logo instead. */
@media (max-width: 991.9px) {
	.donors.full .donors-item__content,
	.donors.large .donors-item__content { margin-top: 1.5rem !important; }
}
@media (max-width: 991.9px) {
	/* the representative row had a fixed height (150 / 100 px): a long caption overflowed upward onto the logo */
	.donors.full .donors-item__representative,
	.donors.large .donors-item__representative { height: auto !important; }
}
/* JP: small donors 2 per row below 400 (were 3 per row down to 320) */
@media (max-width: 399.9px) {
	.donors.small .donors-item { width: calc(100% / 2 - 3rem / 2 * 1); }
}
