/* ----------------- Page Actualités --------------------- */

.page-id-167 .wp-block-latest-posts__featured-image img {
	border-radius: 50%;	
}

.page-id-167 .wp-block-latest-posts__list li {
	display: grid;
	margin-block: 5rem;
}

.page-id-167 .wp-block-latest-posts__featured-image {
	grid-row: 2;
	margin-right: 3rem;
}

.page-id-167 .wp-block-latest-posts__list li > *:nth-child(n+2) {
	grid-column: 2;
}

@media screen and (max-width: 400px) {
    .wp-block-latest-posts__list li {
        margin-block: 2rem !important;
    }

    .wp-block-latest-posts__list li div:first-of-type {
        text-align: center;
        margin-bottom: 1.5rem;
    }
}

/* ----------------- Page Prendre Soin de l'Humain ----------------- */

.page-id-270 figure.has-nested-images {
	gap: 1.5em;
	flex-wrap: nowrap;
}

/* --------------------- Page Jardin Eveil --------------------- */

.page-id-217 .wp-container-8 {
	gap: 1.5em;
	margin-block: 0 !important;
}

.page-id-217 .wp-container-8 .wp-block-image {
	margin-block: 0 !important;
}

.page-id-217 .lab-2-columns {
	display: grid !important;
	grid-template-columns: repeat(2,1fr);
}

@media screen and (min-width: 450px) {
	.page-id-217 .wp-block-column.is-vertically-aligned-top:nth-child(2) > * 	{
		flex-direction: row;
		justify-content: space-evenly;
	}
}

/* --------------------- Page Jardin Ecole --------------------- */

.page-id-146 .wp-container-6 .wp-block-image {
	margin-block: 0 !important;
}

.page-id-146 figure.has-nested-images {
	gap: 1.5em;
	flex-wrap: nowrap;
}

@media screen and (min-width: 700px) {
	.page-id-146 figcaption {
		font-size: 2rem !important;
	}
}

/* --------------------- Page Jardins Collectifs --------------------- */

.page-id-219 .size-post-thumbnail {
	max-width: 100%;
}

.page-id-219 div:is(.wp-container-4, .wp-container-7, .wp-container-10, .wp-container-13) img {
	margin-inline: auto;
}

/* ----------------- Page Notre Equipe-----------------  */

.page-id-1914 .entry-content > *:first-child {
	margin-top: 2rem;
}

.page-id-1914 .wp-block-image span {
	color: #555;
	font-family: inherit;
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size: 2.1rem;
}

.page-id-1914 .wp-block-image figcaption {
	line-height: 1;
	text-align: center;
}

.page-id-1914 .team-photos {
	max-width: min(100% - 4rem, 1600px);
	gap: clamp(2rem, 5vw ,10rem);
}

/* ----------------- Page Ecole Ponts-Jumeaux / Amidonniers --------------------- */

.page-id-1866 h2, .page-id-1866 h3,
.page-id-1868 h2, .page-id-1868 h3 {
	text-align: center;
}

.page-id-1866 .wp-block-image figcaption.wp-element-caption,
.page-id-1868 .wp-block-image figcaption.wp-element-caption {
	font-family: "Ubuntu", sans-serif !important;
	font-size: 2rem;
	color: black !important;
}

.page-id-1866 .wp-block-buttons.is-layout-flex,
.page-id-1868 .wp-block-buttons.is-layout-flex{
	justify-content: space-evenly;
}

.page-id-1866 .entry-content > div[id],
.page-id-1868 .entry-content > div[id] {
	display: none;
}

.page-id-1866 .entry-content div[id] iframe, 
.page-id-1868 .entry-content div[id] iframe {
	width: 1000px !important; /* 100% ? */
	height: 350px; /* auto ? */
	max-width: 1000px !important; /* 100% ? */
}

.page-id-1866 .entry-content .lab-month-button a, 
.page-id-1868 .entry-content .lab-month-button a{
	border: 2px solid #E79D2E;
	border-radius: 25px;
	background-color: transparent;
	padding: 0.9em 3em;
	box-shadow: 0px 0px 7px;
}

.page-id-1866 .entry-content .lab-month-button a:hover,
.page-id-1868 .entry-content .lab-month-button a:hover {
	background-color: #f7f7f7;
	box-shadow: 0px 0px 15px;
}

.page-id-1866 .entry-content div[id] .wp-block-group,
.page-id-1868 .entry-content div[id] .wp-block-group {
    display: none;
}

.page-id-1866 .entry-content div[id] .wp-block-buttons,
.page-id-1868 .entry-content div[id] .wp-block-buttons {
	flex-wrap: wrap;
}

.page-id-1866 .entry-content div[id] .wp-block-buttons a,
.page-id-1868 .entry-content div[id] .wp-block-buttons a {
	position: relative;
	padding: 0.6em 1.1em;
	background-color: transparent;
	text-decoration: none;
	border: 2px solid #E79D2E;
	border-radius: 10px;
	text-transform: none;
	box-shadow: 3px -3px;
}

/* --------------------- Page - En Cours de Développement -----------*/

.in-construction img {
	max-height: 350px;
	object-fit: cover;
}

/* --------------------- Page "Pourquoi la e-boutique" --------------------- */

.page-id-4984 .wp-image-4271 {
	border-radius: 4.5rem;
}

.page-id-4984 h1 {
	position: relative;
}

.page-id-4984 h1 {
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	gap: 2rem;
}

.page-id-4984 .entry-header  h1.entry-title .lab-back-to-shop-link {
	font-size: 1.6rem;
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	color: white !important;
	background-color: var(--primary-color);
	text-align: center;
	border-radius: 20px;
	border: 4px solid var(--primary-color);
	padding: 1rem 2rem;
	margin-bottom: 0;
	text-decoration: unset;
	font-weight: bold;
	letter-spacing: initial;
}

@media screen and (min-width: 1050px) {
	.page-id-4984 .entry-header  h1.entry-title .lab-back-to-shop-link {
		position: absolute;
		inset: 0 auto auto 0;
	}
}


/* --------------------- Page Politique de Confidentialité --------------------- */

.privacy-policy {
	margin: 0;
}

/* WP BLOCK FILE */

.wp-block-file {
	justify-content: left;
	gap: 2rem;
}

.wp-block-file a:not(.wp-block-file__button) {
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size: 1.8rem;
	font-weight: normal;
}

.wp-block-file .wp-block-file__button {
	border: 2px solid var(--primary-color);
	border-radius: 10px;
	padding: 1rem 2rem;
	color: white;
	background-color: var(--primary-color);
}

/* --------------------- Pages enfant de "Plus de biodiversité dans les Crous toulousains" --------------------- */

.post-4279 .wp-block-navigation-item__label,
.post-4281 .wp-block-navigation-item__label,
.post-4285 .wp-block-navigation-item__label{
	font-family: Margarine;
	color: var(--primary-color);
}

.post-4279 .wp-block-navigation-item__label:hover,
.post-4281 .wp-block-navigation-item__label:hover,
.post-4285 .wp-block-navigation-item__label:hover{
	text-decoration: underline;
}