/*
Theme Name: Huza
Theme URI: https://apusthemes.com/huza
Author: ApusTheme
Author URI: https://apusthemes.com/
Description: Huza is clean theme, it's used Apus Framework.
Version: 1.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: huza

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

img{
    max-width: 100%;
    height:auto;
 }
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}
.gallery-caption {
    box-sizing: border-box;
}
.bypostauthor{
    box-sizing: border-box;
}

h2 {
	font-size: 22px;
	font-weight: 500;
	color: #FFFFFF;
}
.vc_btn3.vc_btn3-color-orange.vc_btn3-style-modern {
	background-color: #F39325;
	background-image: none;
	box-shadow: none !important;
	border: none;
}
.vc_btn3.vc_btn3-color-orange.vc_btn3-style-modern:hover,
.vc_btn3.vc_btn3-color-orange.vc_btn3-style-modern:focus,
.vc_btn3.vc_btn3-color-orange.vc_btn3-style-modern:active {
	background-color: #3B9796 !important;
	background-image: none !important;
	box-shadow: none !important;
	border-color: #3B9796 !important;
	color: #fff !important;
}

.header-bottom-inner{
	background-color: white!important;
}
.apus-header .main-menu {
	background-color: #3B9796;
}
.apus-header .main-menu:before{
	background-color: #3B9796;
}

.apus-header .main-menu:after {
	border-color: #3B9796 transparent transparent #3B9796;
}

/* Menu principal — hover : fond blanc + vert ; page courante : fond blanc + orange */
#apus-header .main-menu .navbar-nav.megamenu > li > a {
	display: inline-block;
	padding-left: 14px !important;
	padding-right: 14px !important;
	box-sizing: border-box;
	transition: background-color 0.2s ease, color 0.2s ease;
}
#apus-header .main-menu .navbar-nav.megamenu > li:not(.active):not(.current-menu-item):not(.current-menu-ancestor):not(.current_page_item):hover > a,
#apus-header .main-menu .navbar-nav.megamenu > li:not(.active):not(.current-menu-item):not(.current-menu-ancestor):not(.current_page_item) > a:hover,
#apus-header .main-menu .navbar-nav.megamenu > li:not(.active):not(.current-menu-item):not(.current-menu-ancestor):not(.current_page_item) > a:focus,
#apus-header .main-menu .navbar-nav.megamenu > li.open:not(.active):not(.current-menu-item) > a {
	background: #fff !important;
	background-color: #fff !important;
	color: var(--iddc-green, #3B9796) !important;
}
#apus-header .main-menu .navbar-nav.megamenu > li.active > a,
#apus-header .main-menu .navbar-nav.megamenu > li.current-menu-item > a,
#apus-header .main-menu .navbar-nav.megamenu > li.current-menu-ancestor > a,
#apus-header .main-menu .navbar-nav.megamenu > li.current_page_item > a,
#apus-header .main-menu .navbar-nav.megamenu > li.active:hover > a,
#apus-header .main-menu .navbar-nav.megamenu > li.current-menu-item:hover > a,
#apus-header .main-menu .navbar-nav.megamenu > li.current-menu-ancestor:hover > a {
	background: #fff !important;
	background-color: #fff !important;
	color: var(--iddc-orange, #F39325) !important;
}

#apus-header .main-menu a.link.-cta {
	transition: background-color 0.2s ease, color 0.2s ease;
}
#apus-header .main-menu a.link.-cta:hover,
#apus-header .main-menu a.link.-cta:focus {
	background-color: var(--iddc-green, #3B9796) !important;
	color: #fff !important;
}

/* Page Tuile (page-ruiles.php) — body gris, tuiles blanches */
body.page-template-page-ruiles-php,
body.page-template-page-ruiles-php #wrapper-container {
	background-color: #efefef;
}
body.page-template-page-ruiles-php #main-content.main-page,
body.page-template-page-ruiles-php .page-tuile-layout #main-content.main-page {
	background-color: transparent;
	padding: 32px 0 48px;
	margin-bottom: 0;
}
body.page-template-page-ruiles-php .tuile-wrapper,
body.page-template-page-ruiles-php .page-tuile-layout .tuile-wrapper {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-top: 4px solid #F39325;
	box-sizing: border-box;
}
body.page-template-page-ruiles-php .tuile-wrapper .tuile.tuile--page,
body.page-template-page-ruiles-php .page-tuile-layout .tuile-wrapper .tuile.tuile--page {
	background: #fff !important;
}
body.page-template-page-ruiles-php .site-main > .clearfix.mt4,
body.page-template-page-ruiles-php .page-tuile-layout .site-main > .clearfix.mt4 {
	margin-top: 1.25rem !important;
}
body.page-template-page-ruiles-php .site-main > .clearfix.mt4 h1,
body.page-template-page-ruiles-php .site-main > .clearfix.mt4 h2,
body.page-template-page-ruiles-php .site-main > .clearfix.mt4 h3,
body.page-template-page-ruiles-php .page-tuile-layout .site-main > .clearfix.mt4 h1,
body.page-template-page-ruiles-php .page-tuile-layout .site-main > .clearfix.mt4 h2,
body.page-template-page-ruiles-php .page-tuile-layout .site-main > .clearfix.mt4 h3 {
	margin-bottom: 0.25em !important;
	line-height: 1.2;
}
body.page-template-page-ruiles-php .site-main > .clearfix.mt4 p,
body.page-template-page-ruiles-php .page-tuile-layout .site-main > .clearfix.mt4 p {
	margin-top: 0.35em !important;
	margin-bottom: 0.75em !important;
}
body.page-template-page-ruiles-php .site-main > .clearfix.mt4 .wpb_text_column p:first-child,
body.page-template-page-ruiles-php .page-tuile-layout .site-main > .clearfix.mt4 .wpb_text_column p:first-child {
	margin-top: 0.35em !important;
}

/* Couleurs marque IDDC (CSS custom — réutiliser via var(--iddc-*)) */
:root {
	--iddc-green: #3B9796;
	--iddc-orange: #F39325;
	--iddc-blue: #1b557d;
}

/* Page Tuile — style type Solsoc / IDDC */
.tuile-wrapper .tuile.tuile--page {
	position: relative;
	display: block;
	height: 320px;
	overflow: hidden;
	text-decoration: none !important;
	background: #fff;
	transition: box-shadow 0.35s ease, background-color 0.35s ease;
}
.tuile-wrapper .tuile.tuile--page .tuile-thumb {
	position: absolute;
	inset: 0;
	z-index: 0;
	opacity: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transform: scale(1.06);
	transition: opacity 0.45s ease, transform 0.55s ease;
}
.tuile-wrapper .tuile.tuile--page .tuile-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	opacity: 0;
	background: rgb(243 147 37 / 53%);
	transition: opacity 0.45s ease;
	pointer-events: none;
}
.tuile-wrapper .tuile.tuile--page .tuile-content {
	position: absolute;
	inset: 0;
	z-index: 2;
	padding: 32px;
	box-sizing: border-box;
	pointer-events: none;
}
.tuile-wrapper .tuile.tuile--page .tuile-head {
	position: absolute;
	top: 32px;
	left: 32px;
	right: 32px;
	max-width: 88%;
	text-align: left;
	transform: translateY(92px);
	transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
	will-change: transform;
}
.tuile-wrapper .tuile.tuile--page .tuile-title {
	color: #F39325 !important;
	font-size: clamp(17px, 2vw, 21px);
	font-weight: 800;
	line-height: 1.25;
	text-transform: uppercase;
	margin-top: 0 !important;
	text-shadow: none;
	transition: color 0.35s ease;
}
.tuile-wrapper .tuile.tuile--page .tuile-title span {
	display: inline-block;
	border-bottom: 4px solid #F39325;
	padding-bottom: 4px;
	margin-bottom: 0;
	transition: border-color 0.35s ease, color 0.35s ease;
}
.tuile-wrapper .tuile.tuile--page .tuile-excerpt {
	max-width: 520px;
	margin-top: 0;
	font-size: 14px;
	line-height: 1.55;
	color: #fff;
	opacity: 0;
	max-height: 0;
	overflow: hidden;
	transition: opacity 0.35s ease, max-height 0.35s ease, margin 0.35s ease;
}
.tuile-wrapper .tuile.tuile--page .more-info {
	position: absolute;
	right: 32px !important;
	bottom: 28px !important;
	left: auto !important;
	width: auto !important;
	margin: 0;
	opacity: 0;
	transform: translateY(10px);
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
	text-align: right;
	text-shadow: none;
	pointer-events: auto;
	transition: opacity 0.35s ease, transform 0.35s ease, font-size 0.35s ease;
}
.tuile-wrapper .tuile.tuile--page .more-info .fa {
	font-size: 14px;
	transform: translateX(0);
}
@keyframes tuile-more-arrow-once {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(8px);
	}
}
.tuile-wrapper .tuile.tuile--page:hover,
.tuile-wrapper .tuile.tuile--page:focus,
.tuile-wrapper .tuile.tuile--page:focus-visible {
	background-color: #fff !important;
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
	z-index: 2;
}
.tuile-wrapper .tuile.tuile--page:hover .tuile-thumb,
.tuile-wrapper .tuile.tuile--page:focus .tuile-thumb,
.tuile-wrapper .tuile.tuile--page:focus-visible .tuile-thumb {
	opacity: 1;
	transform: scale(1.02);
}
.tuile-wrapper .tuile.tuile--page:hover .tuile-overlay,
.tuile-wrapper .tuile.tuile--page:focus .tuile-overlay,
.tuile-wrapper .tuile.tuile--page:focus-visible .tuile-overlay {
	opacity: 1;
}
.tuile-wrapper .tuile.tuile--page:hover .tuile-title,
.tuile-wrapper .tuile.tuile--page:focus .tuile-title,
.tuile-wrapper .tuile.tuile--page:focus-visible .tuile-title {
	color: #fff !important;
	margin-top: 0 !important;
}
.tuile-wrapper .tuile.tuile--page:hover .tuile-title span,
.tuile-wrapper .tuile.tuile--page:focus .tuile-title span,
.tuile-wrapper .tuile.tuile--page:focus-visible .tuile-title span {
	border-color: #fff;
}
.tuile-wrapper .tuile.tuile--page:hover .tuile-head,
.tuile-wrapper .tuile.tuile--page:focus .tuile-head,
.tuile-wrapper .tuile.tuile--page:focus-visible .tuile-head {
	transform: translateY(0);
}
.tuile-wrapper .tuile.tuile--page:hover .tuile-excerpt,
.tuile-wrapper .tuile.tuile--page:focus .tuile-excerpt,
.tuile-wrapper .tuile.tuile--page:focus-visible .tuile-excerpt {
	opacity: 1;
	max-height: 160px;
	margin-top: 2px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
}
.tuile-wrapper .tuile.tuile--page:hover .more-info,
.tuile-wrapper .tuile.tuile--page:focus .more-info,
.tuile-wrapper .tuile.tuile--page:focus-visible .more-info {
	opacity: 1;
	transform: translateY(0);
	font-size: 17px;
	margin-bottom: 0 !important;
}
.tuile-wrapper .tuile.tuile--page:hover .more-info .fa,
.tuile-wrapper .tuile.tuile--page:focus .more-info .fa,
.tuile-wrapper .tuile.tuile--page:focus-visible .more-info .fa {
	font-size: 22px;
	animation: tuile-more-arrow-once 0.45s ease forwards;
}
.tuile-wrapper .tuile.tuile--page.tuile--no-image:hover,
.tuile-wrapper .tuile.tuile--page.tuile--no-image:focus {
	background-color: #F39325 !important;
}
.tuile-wrapper .tuile.tuile--page.tuile--no-image:hover .tuile-title,
.tuile-wrapper .tuile.tuile--page.tuile--no-image:focus .tuile-title {
	color: #fff !important;
}
.tuile-wrapper .tuile.tuile--page.tuile--no-image:hover .tuile-title span,
.tuile-wrapper .tuile.tuile--page.tuile--no-image:focus .tuile-title span {
	border-color: #fff;
}

/* Page membres */
section.main-content.members-page {
	padding-top: 40px;
	padding-bottom: 0;
}
@media (max-width: 991px) {
	section.main-content.members-page {
		padding-top: 28px;
	}
}
body.page-members-template #apus-breadscrumb {
	display: none;
}

/* Members grid template */
.members-page .members-toolbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	margin: 16px 0 28px;
}
.members-page .members-filter {
	grid-column: 1;
	justify-self: start;
}
.members-page .members-view-toggle {
	grid-column: 2;
	justify-self: end;
}
.members-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	margin: 16px 0 28px;
}
.members-view-toggle {
	display: inline-flex;
	border: 1px solid #d8d8d8;
	border-radius: 10px;
	overflow: hidden;
	background: #f7f7f7;
	padding: 4px;
	gap: 4px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.members-view-toggle__btn {
	appearance: none;
	border: 0;
	background: transparent;
	color: #666;
	min-width: 96px;
	height: 42px;
	padding: 0 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	border-radius: 8px;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.members-view-toggle__icon {
	font-size: 16px;
}
.members-view-toggle__btn:hover,
.members-view-toggle__btn:focus {
	background: rgba(59, 151, 150, 0.1);
	color: #3B9796;
	outline: none;
}
.members-view-toggle__btn.is-active {
	background: #3B9796;
	color: #fff;
	box-shadow: 0 2px 6px rgba(59, 151, 150, 0.35);
}
.members-view-toggle__btn.is-active:hover,
.members-view-toggle__btn.is-active:focus {
	background: #338786;
	color: #fff;
}
.members-page .members-tabs[data-active-view="map"] .members-filter {
	display: none;
}
.members-tabs[data-active-view="map"] .members-filter {
	display: none;
}
.members-tabs__panel[hidden] {
	display: none !important;
}

/* Liste membres : container 1200px */
.members-page .members-list-container.container {
	width: 1200px;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	float: none;
}

/* Carte : pleine largeur (+ hauteur jusqu'au footer en vue map) */
.members-page .members-map-fullwidth {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}
body.page-members-view-map #apus-main-content {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
}
body.page-members-view-map section.members-page {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
}
body.page-members-view-map .members-page .members-tabs[data-active-view="map"] {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
}
body.page-members-view-map .members-page .members-list-container {
	flex: 0 0 auto;
}
body.page-members-view-map .members-page .members-map-fullwidth {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
}
body.page-members-view-map .members-page .members-map-fullwidth .map-wrapper {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
	height: 100%;
	margin: 0 !important;
}
body.page-members-view-map .members-page .members-map-fullwidth .map-wrapper > .flex {
	flex: 1 1 auto;
	min-height: 0;
	align-items: stretch;
	height: 100%;
}
body.page-members-view-map .members-page .members-map-fullwidth .map-wrapper .sm-col-12.md-col-7 {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
}
body.page-members-view-map .members-page .members-map-fullwidth .map {
	flex: 1 1 auto;
	width: 100% !important;
	height: auto !important;
	min-height: 280px;
	background-color: #f1f1f1;
}
body.page-members-view-map .members-page .members-map-fullwidth .jvectormap-container {
	max-width: none;
	margin: 0;
	height: 100% !important;
}
.members-filter {
	display: inline-flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	flex: 0 1 auto;
	min-width: min(100%, 280px);
	max-width: 560px;
	margin: 0;
	padding: 4px;
	background: #f7f7f7;
	border: 1px solid #d8d8d8;
	border-radius: 10px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.members-filter__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	flex: 0 1 auto;
	min-width: 0;
	height: 42px;
	padding: 0 12px;
	font-size: 14px;
	font-weight: 600;
	color: #666;
	line-height: 1;
	white-space: nowrap;
}
.members-filter__label-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	background: transparent;
	color: #666;
	font-size: 16px;
	flex-shrink: 0;
}
.members-filter__field {
	flex: 1 1 200px;
	min-width: 200px;
	height: 42px;
	padding: 0 8px;
	background: #fff;
	border: 0;
	border-radius: 8px;
	transition: background 0.2s ease, box-shadow 0.2s ease;
}
.members-filter__field:focus-within {
	box-shadow: 0 0 0 2px rgba(59, 151, 150, 0.25);
}
.members-filter__select {
	width: 100%;
	min-width: 0;
	height: 42px;
	padding: 0 4px;
	border: 0;
	background: transparent;
	color: #666;
	font-size: 14px;
	font-weight: 600;
}
.members-filter .select2-container {
	width: 100% !important;
}
.members-filter .select2-container--default .select2-selection--single {
	height: 42px;
	border: 0;
	background: transparent;
}
.members-filter .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 42px;
	padding-left: 0;
	color: #666;
	font-weight: 600;
	font-size: 14px;
}
.members-filter .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 42px;
	right: 4px;
}
.members-filter .select2-container--default.select2-container--focus .select2-selection--single,
.members-filter .select2-container--default.select2-container--open .select2-selection--single {
	border: 0;
	outline: none;
}
@media (max-width: 575px) {
	.members-filter {
		flex-direction: column;
		align-items: stretch;
	}
	.members-filter__field {
		flex: 1 1 100%;
		min-width: 0;
		width: 100%;
	}
}
@media (max-width: 767px) {
	.members-toolbar {
		flex-direction: column;
		align-items: stretch;
	}
	.members-page .members-toolbar {
		grid-template-columns: 1fr;
	}
	.members-page .members-filter,
	.members-page .members-view-toggle {
		grid-column: 1;
	}
	.members-page .members-view-toggle {
		justify-self: end;
		width: auto;
	}
	.members-filter {
		max-width: none;
	}
	.members-view-toggle {
		width: 100%;
	}
	.members-view-toggle__btn {
		flex: 1;
	}
}
.members-grid {
	margin-top: 0;
}
.maps.js-map {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}
.members-grid__item {
	margin-bottom: 30px;
}
.members-grid__link {
	display: block;
	text-decoration: none;
	color: inherit;
	text-align: center;
	transition: opacity 0.2s ease;
}
.members-grid__link:hover,
.members-grid__link:focus {
	opacity: 0.85;
	text-decoration: none;
	color: inherit;
}
.members-grid__thumb {
	position: relative;
	width: 100%;
	padding-bottom: 75%;
	overflow: hidden;
	background: #f0f0f0;
	margin-bottom: 12px;
}
.members-grid__thumb img {
	position: absolute;
	top: 20px;
	right: 20px;
	bottom: 20px;
	left: 20px;
	width: calc(100% - 40px);
	height: calc(100% - 40px);
	object-fit: contain;
	object-position: center;
}
.members-grid__placeholder {
	display: block;
	position: absolute;
	inset: 0;
	background: #e8e8e8;
}
.members-grid__name {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.35;
	margin: 0;
	color: #333;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Single member hero banner */
.single-members #apus-breadscrumb,
.single-task_group #apus-breadscrumb {
	display: none;
}
.member-hero {
	margin-bottom: 24px;
	background: transparent;
}
.member-hero__body {
	padding: 8px 0 0;
}
/* Espace contenu ↔ sidebar (en plus de la gouttière Bootstrap) */
@media (min-width: 992px) {
	#main-container > .row {
		--layout-sidebar-gap: 12px;
	}
	#main-container > .row > #main-content[class*="col-md-"]:not([class*="col-md-12"]):has(~ [class*="col-md-"]) {
		padding-right: calc(15px + var(--layout-sidebar-gap));
	}
	#main-container > .row > #main-content[class*="col-md-"]:not([class*="col-md-12"]) ~ [class*="col-md-"] {
		padding-left: calc(15px + var(--layout-sidebar-gap));
	}
	#main-container > .row > [class*="col-md-"]:first-child:not(#main-content):has(+ #main-content) {
		padding-right: calc(15px + var(--layout-sidebar-gap));
	}
	#main-container > .row > [class*="col-md-"]:not(#main-content) + #main-content[class*="col-md-"]:not([class*="col-md-12"]) {
		padding-left: calc(15px + var(--layout-sidebar-gap));
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	#main-container > .row {
		--layout-sidebar-gap: 12px;
	}
	#main-container > .row > #main-content.col-sm-8:has(~ .col-sm-4),
	#main-container > .row > #main-content.col-sm-6:has(~ .col-sm-3) {
		padding-right: calc(15px + var(--layout-sidebar-gap));
	}
	#main-container > .row > #main-content.col-sm-8 ~ .col-sm-4,
	#main-container > .row > #main-content.col-sm-6 ~ .col-sm-3 {
		padding-left: calc(15px + var(--layout-sidebar-gap));
	}
	#main-container > .row > .col-sm-4:first-child:not(#main-content):has(+ #main-content),
	#main-container > .row > .col-sm-3:first-child:not(#main-content):has(+ #main-content) {
		padding-right: calc(15px + var(--layout-sidebar-gap));
	}
	#main-container > .row > .col-sm-4:not(#main-content) + #main-content.col-sm-8,
	#main-container > .row > .col-sm-3:not(#main-content) + #main-content.col-sm-6 {
		padding-left: calc(15px + var(--layout-sidebar-gap));
	}
}

/* Flex row : la colonne sidebar doit suivre la hauteur du contenu pour le sticky */
.single-members #main-container > .row,
.single-task_group #main-container > .row.task-group-page__with-sidebar {
	display: flex;
	flex-wrap: wrap;
}
.task-group-page__below {
	clear: both;
}
.task-group__section--stats-inner.row {
	margin-left: 0;
	margin-right: 0;
}
.task-group__section--stats-inner .col-md-8 {
	padding-left: 0;
}
.single-members .member-sidebar-col,
.single-task_group .task-group-sidebar-col {
	align-self: flex-start;
	position: sticky;
	margin-bottom: 30px;
}
.single-members .member-sidebar-col {
	top: 24px;
}
.single-task_group .task-group-sidebar-col {
	padding-top: 40px;
	top: calc(80px + 24px);
}
.single-members .member-sidebar-col .member-sidebar,
.single-task_group .task-group-sidebar-col .member-sidebar {
	position: static;
	top: auto;
	margin-bottom: 0;
}
.member-sidebar {
	margin-bottom: 30px;
}
.member-sidebar__card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 24px;
	color: #666;
	overflow: hidden;
}
.member-sidebar__logo {
	background: #f0f0f0;
	border: 0;
	border-radius: 0;
	padding: 24px 20px;
	margin: -24px -24px 20px;
	text-align: center;
}
.member-sidebar__logo-img {
	max-width: 100%;
	max-height: 140px;
	width: auto;
	height: auto;
	object-fit: contain;
}
.member-sidebar__meta {
	margin: 0 0 24px;
	padding: 0 0 20px;
	border-bottom: 1px solid #ececec;
}
.member-sidebar__row {
	margin: 0 0 14px;
}
.member-sidebar__row:last-child {
	margin-bottom: 0;
}
.member-sidebar__row dt {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #F39325;
}
.member-sidebar__row dd {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: #666;
}
.member-sidebar__summary {
	font-size: 15px;
	line-height: 1.55;
	color: #666;
}
.member-sidebar__title {
	margin: 0 0 14px;
	font-size: 20px;
	font-weight: 700;
	color: #F39325;
}
.member-sidebar__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 14px;
}
.member-sidebar__list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 15px;
	line-height: 1.5;
	color: #666;
}
.member-sidebar__icon {
	width: 20px;
	flex-shrink: 0;
	color: var(--iddc-blue, #1b557d);
	margin-top: 2px;
	text-align: center;
	font-size: 16px;
}
.member-sidebar__list a {
	color: var(--iddc-blue, #1b557d);
	font-weight: 700;
	text-decoration: none;
}
.member-sidebar__list a:hover,
.member-sidebar__list a:focus {
	color: #134261;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.single-members .member-sidebar__list a[href^="tel:"],
.single-members .member-sidebar__list a[href^="mailto:"],
.single-members .member-sidebar__list a[itemprop="url"] {
	color: var(--iddc-blue, #1b557d);
}
.member-hero__title {
	margin: 0 0 20px;
	font-size: 32px;
	font-weight: 700;
	color: #3B9796;
	line-height: 1.2;
	font-style: normal;
}
.member-hero__contacts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}
.member-hero__contacts li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: #fff;
	font-size: 15px;
	line-height: 1.5;
	font-style: normal;
}
.member-hero__icon {
	width: 20px;
	flex-shrink: 0;
	opacity: 0.9;
	margin-top: 2px;
	text-align: center;
}
.member-hero__contacts a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.member-hero__contacts a:hover,
.member-hero__contacts a:focus {
	color: #fff;
	opacity: 0.85;
}
.member-hero__logo {
	flex-shrink: 0;
	width: 220px;
	min-height: 120px;
	background: #f0f0f0;
	border-radius: 10px;
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.member-hero__logo-img {
	display: block;
	max-width: 100%;
	max-height: 140px;
	width: auto;
	height: auto;
	object-fit: contain;
}
.member-hero__acronym {
	font-size: 0.65em;
	font-weight: 500;
	color: #3B9796;
	opacity: 0.85;
}
.member-hero__description {
	margin: -8px 0 20px;
	font-size: 16px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.95);
	font-style: normal;
}
.member-profile {
	margin-top: 8px;
}
.member-profile__section {
	margin-bottom: 32px;
	padding-bottom: 28px;
	border-bottom: 1px solid #e8e8e8;
}
.member-profile__section:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}
.member-profile__title {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 700;
	color: #333;
}
.member-profile__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.member-profile__tags li {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--iddc-blue, #1b557d);
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
}
.member-profile__tags--muted li {
	background: #f0f0f0;
	color: #444;
}
.member-profile__regions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 24px;
}
.member-profile__region-title {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 600;
	color: #3B9796;
}
.member-related-row {
	margin-top: 40px;
	clear: both;
	width: 100%;
}
.member-related {
	margin-top: 0;
	padding-top: 32px;
	border-top: 1px solid #e8e8e8;
}
.member-related__title {
	margin: 0 0 24px;
	font-size: 22px;
	font-weight: 700;
	color: #F39325;
}
.member-profile__section--content {
	margin-top: 32px;
}
.member-profile__section--content .member-profile__title {
	margin-bottom: 12px;
}
.member-news {
	margin-top: 40px;
	padding-top: 8px;
}
.member-news__title {
	margin-bottom: 20px;
}
.member-news .widget-news-akimedia {
	margin-top: 0;
}
@media (max-width: 767px) {
	.single-members .member-sidebar-col,
	.single-task_group .task-group-sidebar-col {
		position: static;
		top: auto;
	}
	.member-sidebar {
		margin-bottom: 30px;
	}
	.member-hero__title {
		font-size: 26px;
	}
	.member-profile__regions {
		grid-template-columns: 1fr;
	}
}

/* WPBakery: Apus Media Highlight */
.apus-media-highlight {
	margin: 40px 0;
}
.apus-media-highlight__inner {
	display: flex;
	align-items: center;
	gap: 48px;
}
.apus-media-highlight--image-right .apus-media-highlight__inner {
	flex-direction: row-reverse;
}
.apus-media-highlight__media,
.apus-media-highlight__content {
	flex: 1 1 calc(50% - 24px);
	max-width: calc(50% - 24px);
	min-width: 0;
	box-sizing: border-box;
}
.apus-media-highlight__content {
	padding: 12px 0;
}
.apus-media-highlight__content-body {
	max-width: 600px;
	width: 100%;
}
.apus-media-highlight--image-right .apus-media-highlight__content {
	display: flex;
	justify-content: flex-end;
}
.apus-media-highlight__media-frame {
	position: relative;
	overflow: hidden;
	height: 360px;
	background: #f0f0f0;
}
.apus-media-highlight__media-frame::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(243, 147, 37, 0.18) 0%, rgba(59, 151, 150, 0.12) 100%);
	pointer-events: none;
	z-index: 1;
}
.apus-media-highlight__img-parallax {
	position: absolute;
	left: 0;
	right: 0;
	top: -35%;
	height: 170%;
	will-change: transform;
}
.apus-media-highlight__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.apus-media-highlight__title {
	margin: 0 0 16px;
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 700;
	line-height: 1.2;
	color: #3B9796;
}
.apus-media-highlight__description {
	margin: 0 0 24px;
	font-size: 16px;
	line-height: 1.65;
	color: #666;
	overflow-wrap: break-word;
	word-wrap: break-word;
}
.apus-media-highlight__description p:last-child {
	margin-bottom: 0;
}
.apus-media-highlight__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 22px;
	background: #F39325;
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none !important;
	transition: background 0.2s ease, transform 0.2s ease;
}
.apus-media-highlight__btn:hover,
.apus-media-highlight__btn:focus {
	background: #3B9796;
	color: #fff !important;
	transform: translateY(-1px);
}
@media (max-width: 991px) {
	.apus-media-highlight__inner,
	.apus-media-highlight--image-right .apus-media-highlight__inner {
		flex-direction: column;
		gap: 28px;
	}
	.apus-media-highlight__media,
	.apus-media-highlight__content {
		flex: 1 1 100%;
		max-width: 100%;
	}
	.apus-media-highlight--image-right .apus-media-highlight__content {
		justify-content: flex-start;
	}
}

/* Task Group page template (Inclusive Health) */
.task-group-page {
	padding-bottom: 48px;
}
.task-group__hero {
	background: transparent;
	padding: 40px 0 24px;
	margin-bottom: 24px;
}
.task-group__kicker {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	opacity: 0.9;
}
.task-group__title {
	margin: 0;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 700;
	line-height: 1.15;
	color: var(--iddc-green, #3B9796) !important;
}
.task-group__cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 36px;
}
.task-group__card {
	background: #fff;
	border: 1px solid #e6e6e6;
	padding: 24px 28px;
}
.task-group__card--accent {
	border-top: 4px solid #F39325;
}
.task-group__card-title {
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: 700;
	color: #3B9796;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.task-group-sidebar__section {
	margin: 0 0 24px;
	padding: 0 0 20px;
	border-bottom: 1px solid #ececec;
}
.task-group-sidebar__section:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}
.task-group-sidebar__list {
	margin: 0;
	padding-left: 18px;
	list-style: disc;
	font-size: 15px;
	line-height: 1.55;
	color: #666;
}
.task-group-sidebar__list li {
	margin-bottom: 8px;
}
.task-group-sidebar__list li:last-child {
	margin-bottom: 0;
}
.task-group-sidebar__contact {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
}
.task-group-sidebar__contact a {
	color: var(--iddc-blue, #1b557d);
	font-weight: 700;
	text-decoration: none;
}
.task-group-sidebar__contact a:hover,
.task-group-sidebar__contact a:focus {
	color: #134261;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.task-group__list {
	margin: 0;
	padding-left: 18px;
	line-height: 1.65;
	color: #444;
}
.task-group__contact {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
}
.task-group__contact a {
	color: #F39325;
	word-break: break-word;
}
.task-group__section {
	margin-bottom: 40px;
}
.task-group__section-title {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 700;
	color: #333;
}
.task-group__lead {
	margin: 0;
	font-size: 18px;
	line-height: 1.65;
	color: #333;
}
.task-group__prose p {
	margin: 0 0 16px;
	line-height: 1.7;
	color: #555;
}
.task-group__prose p:last-child {
	margin-bottom: 0;
}
.task-group__section--background {
	background: #f7f7f7;
	padding: 32px 28px;
	border-left: 4px solid #3B9796;
}
.task-group__membership-rows {
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.task-group__membership-row {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.task-group__membership-text {
	margin: 0;
	font-size: 16px;
	line-height: 1.65;
	color: #333;
}
.task-group__membership-logo {
	margin: 0;
	text-align: center;
}
.task-group__membership-logo img {
	max-width: min(100%, 320px);
	height: auto;
	max-height: 96px;
	object-fit: contain;
}
.task-group__section--membership .task-group__partners {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 32px 48px;
	margin-top: 28px;
	padding: 28px 20px;
	background: #fafafa;
	border: 1px solid #eee;
	border-radius: 8px;
}
.task-group__partner {
	margin: 0;
	flex: 0 1 auto;
	text-align: center;
}
.task-group__partner img {
	display: block;
	max-width: min(100%, 300px);
	width: auto;
	height: auto;
	max-height: 96px;
	object-fit: contain;
}
.task-group__section--stats {
	background: #faf8f4;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 36px calc(50vw - 50%) 44px;
	box-sizing: border-box;
}
.task-group__section-title--stats {
	margin-bottom: 16px;
}
.task-group__stats-intro {
	margin: 0 0 24px;
	font-weight: 600;
	color: #444;
}
.task-group__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px 20px;
}
.task-group__stat-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.task-group__stat-card:hover {
	box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}
.task-group__stat-card-head {
	display: flex;
	align-items: center;
	min-height: 92px;
	padding: 16px 22px;
	background: var(--iddc-blue, #1b557d);
}
.task-group__stat-card-value {
	font-size: clamp(36px, 4.5vw, 52px);
	font-weight: 700;
	line-height: 1;
	color: #fff;
	letter-spacing: -0.03em;
}
.task-group__stat-card-unit {
	font-size: 0.72em;
	font-weight: 700;
}
.task-group__stat-card-body {
	flex: 1;
	padding: 18px 22px 22px;
	background: #fff;
}
.task-group__stat-card-body p {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: #444;
}
.task-group__stat-card-body strong {
	color: #2c2c2c;
	font-weight: 700;
}

/* News Akimedia — cartes carrées (grille + scroll) */
.widget-news-akimedia {
	--news-grid-gap: 20px;
	--news-card-min: 270px;
	--news-cols: 5;
	--news-col-width: calc((100% - (var(--news-cols) - 1) * var(--news-grid-gap)) / var(--news-cols));
}
@media (max-width: 1199px) {
	.widget-news-akimedia {
		--news-cols: 4;
	}
}
@media (max-width: 767px) {
	.widget-news-akimedia {
		--news-cols: 2;
		--news-grid-gap: 12px;
		--news-card-min: 0;
	}
}
.widget-news-akimedia--grid .news-akimedia-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: var(--news-grid-gap);
	width: 100%;
	min-width: 0;
	overflow: visible;
	padding: 8px 4px 12px;
	box-sizing: border-box;
}
.widget-news-akimedia--grid .news-akimedia-card__col {
	display: flex;
	flex: 0 1 var(--news-col-width);
	min-width: var(--news-card-min);
	max-width: var(--news-col-width);
	box-sizing: border-box;
}
.widget-news-akimedia--grid {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}
.widget-news-akimedia .news-akimedia-scroll__item {
	display: flex;
	flex: 0 0 var(--news-col-width);
	width: var(--news-col-width);
	max-width: var(--news-col-width);
	flex-shrink: 0;
	box-sizing: border-box;
}
.widget-news-akimedia--scroll .news-akimedia-scroll__item {
	flex: 0 0 280px;
	width: 280px;
	max-width: min(280px, 78vw);
}
.widget-news-akimedia--scroll .news-akimedia-scroll__item {
	scroll-snap-align: center;
}
.widget-news-akimedia .news-item {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	aspect-ratio: 1;
	min-width: var(--news-card-min);
	min-height: var(--news-card-min);
	overflow: hidden;
	border-radius: 12px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.27s ease-out;
}
.widget-news-akimedia .news-item:hover,
.widget-news-akimedia .news-item:focus-visible {
	background-color: #F39325 !important;
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}
.widget-news-akimedia .news-item:hover .date,
.widget-news-akimedia .news-item:focus-visible .date {
	color: #fff;
}
.widget-news-akimedia .news-item .bg-hover {
	position: relative;
	z-index: 0;
	flex: 0 0 56%;
	width: 100%;
	min-height: 0;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}
.widget-news-akimedia .news-item:not(:has(.bg-hover)) > .flex {
	flex: 1 1 auto;
}
.widget-news-akimedia .news-item > .flex {
	flex: 1 1 auto;
	min-height: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	padding: 14px 16px 16px !important;
}
.widget-news-akimedia .news-item .news-title {
	min-height: 0;
	margin: 0 0 8px !important;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	color: #fff;
	align-items: flex-start !important;
	text-align: center;
}
.widget-news-akimedia .news-item .news-title span {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	text-overflow: ellipsis;
}
.widget-news-akimedia .news-item .date {
	flex-shrink: 0;
	margin: 0 !important;
	font-size: 13px;
	font-weight: 700;
}
.widget-news-akimedia .news-item .news-resume,
.widget-news-akimedia .news-item .vc_btn3 {
	display: none !important;
}
@media (max-width: 767px) {
	.widget-news-akimedia--grid .news-akimedia-grid {
		padding-left: 12px;
		padding-right: 12px;
	}
	.widget-news-akimedia--grid .news-akimedia-card__col {
		min-width: 0;
	}
	.widget-news-akimedia--grid .news-item {
		min-width: 0;
		min-height: 0;
		border-radius: 10px;
	}
	.widget-news-akimedia--grid .news-item > .flex {
		padding: 10px 8px 12px !important;
	}
	.widget-news-akimedia--grid .news-item .news-title {
		margin: 0 0 4px !important;
		font-size: 12px;
		line-height: 1.25;
	}
	.widget-news-akimedia--grid .news-item .news-title span {
		-webkit-line-clamp: 2;
	}
	.widget-news-akimedia--grid .news-item .date {
		font-size: 10px;
		font-weight: 600;
	}
	.widget-news-akimedia--grid .news-item .bg-hover {
		flex: 0 0 52%;
	}
}
.widget-news-akimedia--scroll .news-akimedia-scroll-wrap {
	position: relative;
	width: 100%;
	padding: 0 52px;
	box-sizing: border-box;
}
.widget-news-akimedia--scroll .news-akimedia-scroll__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: #F39325;
	color: #fff;
	cursor: pointer;
	transform: translateY(-50%);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
	transition: background-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}
.widget-news-akimedia--scroll .news-akimedia-scroll__arrow--prev {
	left: 4px;
}
.widget-news-akimedia--scroll .news-akimedia-scroll__arrow--next {
	right: 4px;
}
.widget-news-akimedia--scroll .news-akimedia-scroll__arrow:hover:not(:disabled),
.widget-news-akimedia--scroll .news-akimedia-scroll__arrow:focus-visible:not(:disabled) {
	background: #e0851f;
	transform: translateY(-50%) scale(1.05);
}
.widget-news-akimedia--scroll .news-akimedia-scroll__arrow:disabled {
	opacity: 0.35;
	cursor: default;
	box-shadow: none;
}
.widget-news-akimedia--scroll .news-akimedia-scroll__arrow-icon {
	font-size: 16px;
	line-height: 1;
}
.widget-news-akimedia--scroll .news-akimedia-scroll {
	display: flex;
	justify-content: center;
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x proximity;
	scroll-padding-inline: 24px;
	padding-bottom: 8px;
	scrollbar-width: thin;
	scrollbar-color: #F39325 #eee;
}
.widget-news-akimedia--scroll .news-akimedia-scroll::-webkit-scrollbar {
	height: 8px;
}
.widget-news-akimedia--scroll .news-akimedia-scroll::-webkit-scrollbar-thumb {
	background: #F39325;
	border-radius: 4px;
}
.widget-news-akimedia--scroll .news-akimedia-scroll__track {
	display: inline-flex;
	flex-wrap: nowrap;
	align-items: stretch;
	justify-content: flex-start;
	gap: 20px;
	padding: 8px 24px 16px;
	min-width: min(100%, max-content);
}
.widget-news-akimedia--grid .news-akimedia-card__col .news-item {
	height: auto;
	min-height: 0;
}
.widget-news-akimedia--scroll .news-akimedia-scroll__item .news-item {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	min-height: 0;
	min-width: 0;
	overflow: hidden;
}
.widget-news-akimedia--scroll .news-item .news-title {
	flex: 0 0 auto;
	min-height: 4.05em;
	max-height: 4.05em;
	margin-bottom: 6px !important;
}
.widget-news-akimedia--scroll .news-item .news-title span {
	-webkit-line-clamp: 3;
	line-clamp: 3;
}
.widget-news-akimedia--scroll .news-akimedia-scroll__track {
	align-items: flex-start;
}
@media (max-width: 767px) {
	.widget-news-akimedia--scroll .news-akimedia-scroll-wrap {
		padding: 0 40px;
	}
	.widget-news-akimedia--scroll .news-akimedia-scroll__arrow {
		width: 36px;
		height: 36px;
	}
	.widget-news-akimedia--scroll .news-akimedia-scroll__arrow-icon {
		font-size: 14px;
	}
}

.task-group__section--news {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-left: 0;
	padding-right: 0;
}
.task-group__section--news .task-group__section-title {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
}
.task-group__section--news .widget-news-akimedia {
	margin-top: 8px;
	width: 100%;
}
@media (max-width: 991px) {
	.task-group__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 767px) {
	.task-group__cards,
	.task-group__stats {
		grid-template-columns: 1fr;
	}
	.task-group__section--stats {
		padding-top: 28px;
		padding-bottom: 36px;
	}
	.task-group__hero {
		padding: 28px 0 20px;
	}
	.single-task_group .task-group-sidebar-col {
		padding-top: 24px;
	}
	.task-group__partners {
		flex-direction: column;
		gap: 24px;
	}
}

/* Task Groups — liste (page template) */
.task-groups-grid__item {
	display: flex;
	flex-direction: column;
	margin-bottom: 32px;
}
.task-groups-grid__link {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	height: 100%;
	padding: 20px;
	background: #fff;
	border: 1px solid #e6e6e6;
	border-top: 4px solid var(--iddc-orange, #F39325);
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.task-groups-grid__link:hover,
.task-groups-grid__link:focus {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
	text-decoration: none;
	color: inherit;
}
.task-groups-grid__thumb {
	position: relative;
	width: 100%;
	padding-bottom: 56%;
	margin-bottom: 16px;
	overflow: hidden;
	background: #f0f0f0;
}
.task-groups-grid__thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.task-groups-grid__placeholder {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #3B9796 0%, #1b557d 100%);
}
.task-groups-grid__title {
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 700;
	color: var(--iddc-blue, #1b557d);
	line-height: 1.3;
	min-height: 2.6em;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
}
.task-groups-grid__excerpt {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.55;
	color: #555;
}
.task-groups-grid__more {
	margin-top: auto;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--iddc-orange, #F39325);
}

/* Task Groups — bandeau WPBakery (marquee infini) */
.task-groups-marquee {
	--task-groups-marquee-duration: 45s;
	--task-groups-marquee-gap: 20px;
	width: 100%;
	overflow: hidden;
}
.task-groups-marquee__viewport {
	overflow: hidden;
	width: 100%;
	padding: 8px 0 16px;
	mask-image: linear-gradient(
		to right,
		rgba(0, 0, 0, 0) 0,
		rgba(0, 0, 0, 0.92) 10px,
		#000 18px,
		#000 calc(100% - 18px),
		rgba(0, 0, 0, 0.92) calc(100% - 10px),
		rgba(0, 0, 0, 0) 100%
	);
	-webkit-mask-image: linear-gradient(
		to right,
		rgba(0, 0, 0, 0) 0,
		rgba(0, 0, 0, 0.92) 10px,
		#000 18px,
		#000 calc(100% - 18px),
		rgba(0, 0, 0, 0.92) calc(100% - 10px),
		rgba(0, 0, 0, 0) 100%
	);
}
.task-groups-marquee__track {
	display: flex;
	flex-wrap: nowrap;
	width: max-content;
	will-change: transform;
	animation: task-groups-marquee-scroll var(--task-groups-marquee-duration, 45s) linear infinite;
}
.task-groups-marquee:hover .task-groups-marquee__track,
.task-groups-marquee:focus-within .task-groups-marquee__track {
	animation-play-state: paused;
}
.task-groups-marquee__set {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: var(--task-groups-marquee-gap);
	flex-shrink: 0;
	padding-right: var(--task-groups-marquee-gap);
}
.task-groups-marquee__card {
	flex: 0 0 280px;
	width: 280px;
	max-width: 280px;
}
.task-groups-marquee__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 16px;
	background: #fff;
	border: 1px solid #e6e6e6;
	border-top: 4px solid var(--iddc-orange, #F39325);
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.task-groups-marquee__link:hover,
.task-groups-marquee__link:focus {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
	text-decoration: none;
	color: inherit;
}
.task-groups-marquee__thumb {
	position: relative;
	width: 100%;
	padding-bottom: 56%;
	margin-bottom: 12px;
	overflow: hidden;
	background: #f0f0f0;
}
.task-groups-marquee__thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.task-groups-marquee__placeholder {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #3B9796 0%, #1b557d 100%);
}
.task-groups-marquee__title {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--iddc-blue, #1b557d);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	min-height: 2.6em;
}
@keyframes task-groups-marquee-scroll {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}
@media (prefers-reduced-motion: reduce) {
	.task-groups-marquee__track {
		animation: none;
	}
	.task-groups-marquee__viewport {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		mask-image: none;
		-webkit-mask-image: none;
	}
}

/* Sticky footer — reste en bas si peu de contenu */
html,
body {
	height: 100%;
}
#wrapper-container.wrapper-container {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
#apus-main-content {
	flex: 1 0 auto;
}
#apus-footer {
	flex-shrink: 0;
	margin-top: auto;
}