:root{
	--lineWeight: 2px;
	--lineColor: black;
}


#Cover, #Cover *,
h1, h2, h3{
	font-family: "PlexMono";
	color: black !important;
	font-weight: 700 !important;
}
.personRole {
	font-family: "PlexMono";
	font-style: normal;
	/* font-weight: 700 !important; */
}
#TOC{
	font-family: "PlexMono";
	letter-spacing: -0.025em;
}
#Main-TOC > #TOC{
	flex: 1 0 40ch;
}
@media(max-width: 720px){
	#Main-TOC > #TOC {
		flex: unset;
		border-right: none;
		/* border-top: none; */
		border-bottom: 2px solid black;
	}
	#Main-TOC{
		/* border-top: none; */
	}
}


.navBar { 
	   border-top: var(--lineWeight) solid var(--lineColor);
	border-bottom: var(--lineWeight) solid var(--lineColor);
}

#TOC { 
	border-right: var(--lineWeight) solid var(--lineColor); 
	padding: 0;
}




section{
	min-height: unset;
}
article{
	padding-bottom: 4rem; ;
}

#Cover,
#SecteursIntro,
/* #EspacesSociauxIntro, */
#FinancesIntro,
#SoutienEngagementIntro {
	background: var(--Appartenances-Bleu-10) !important;
}

@media screen {
#SecteursIntro,
/* #EspacesSociauxIntro, */
#FinancesIntro,
#SoutienEngagementIntro {
	min-height: 100vh;
}

#SecteursIntro,
#FinancesIntro,
#SoutienEngagementIntro {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

} /* @media screen  */



#Cover h1,
#SecteursIntro h1,
/* #EspacesSociauxIntro, */
#FinancesIntro h1,
#SoutienEngagementIntro h1 {
	margin: unset;
}



section { padding: 0; margin: 0; }
main { padding: 0; }

main > section { 
	border-top: var(--lineWeight) solid var(--lineColor);
}

article {
	border-top: var(--lineWeight) solid var(--lineColor);
	padding-left: 2rem;
	padding-right: 1rem;
}
@media (max-width: 640px){
	article {
		padding-left: 1rem;
	}
}



main > section:first-child,
/* main > section > section > article:first-child, */
main > section > article:first-child
{
	border-top: unset;
}


article.secteurStats{
	padding: unset;
	padding-left: unset;
	padding-right: unset;
}
article.secteurStats .statBlock {
	padding: 1rem;
}

layout-row:has(.statBlock){
	gap: 0rem;
} /* un-nested for PrinceXML */

	/* & layout-col:has(.statBlock) { */
	layout-row:has(.statBlock) layout-col:has(.statBlock) {
		padding-left: 0rem;
		border-left: var(--lineWeight) solid var(--lineColor);
	}
/* } */
@media(max-width: 75rem){
	/* layout-row { flex-direction:column; }  */
	layout-row:has(.statBlock){
	} /* un-nested for PrinceXML */
		/* & layout-col:has(.statBlock) { */
		layout-row:has(.statBlock) layout-col:has(.statBlock) {
			border-left: none;
		}
	/* } */
}


.statBlock {
	border-top: unset;
}
.statBlock:not(:first-child){
		border-top: var(--lineWeight) solid var(--lineColor);
}




/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - Background colors - - - - - - - - - - - - - - - - - - - - */


main {
	background: unset;
	background: none;
}
nav, #TOC{
	background: unset;
	background: none;
}

#Cover{
	background: unset;
	background: none;
}
footer{
	background: unset;
	background: none;
}








@media screen {
#CoverTitles{
	border: unset;
	display: flex !important;
	gap: 3rem;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
}/* @media screen  */

#CoverTitles h1 .innerWrap > span {
	display: block;
}

#Cover .arYear{
	font-size: 200%;
}
#Cover .thisYear{
	font-size: 100%;
}

header, .introPage{
	background-repeat: no-repeat !important;
	background-attachment: fixed !important;
	background-position: center !important;
	background-size: cover !important;
}


section.introPage{
	justify-content: flex-end;
	align-items: unset;
	margin:0;
	padding:0;
} /* un-nested for PrinceXML */


	/* & h1 { */
	section.introPage h1 {
		font-size: calc(var(--sizeX4L) * 1.33);
		/* text-decoration: underline;
		text-decoration-thickness: 3px;
		text-underline-offset: 3px;
		text-decoration-color: hsl(from currentcolor h s l /0.33); */

		/* color: #000; */
	}

	/* & .content { */
	section.introPage .content{
		max-width: unset;
		margin:0;
		padding:0 2rem;
		background: #F7F7F7;
		color: #000;
	}
/* } */

/* header#Cover, header#Cover { all: unset; } */



header#Cover {
	flex-direction: row-reverse;
	/* align-items: unset; */
	align-items: unset;
	padding: 2rem;
}

header#Cover h1 { 
	font-size: min(8vw, 128px) !important;
	/* line-height: 1;  */
	font-weight: 400;
	display: inline-block; 
}








/* BLING */

@media screen {


#Editorial{
	--blingColor: var(--Turquoise);
}
nav#TOC a[href="#Editorial"].active { background-color: hsl(from var(--Turquoise) h s l / 80%); }
#EditorialIntro{
	position: relative; padding:0;
	background: #FFF !important;
	min-height: 33vh;
	align-content: center;
	text-align: center;
	border-top: none;
}
#EditorialIntro h1 {
	font-size: 8vw;
}
#EditorialIntro h1::before{
	background-color: hsl(from var(--blingColor) h s 40% );
	mask-image: url("../rsrc/png-transparent/tamoul.png");
	/* image-rendering: pixelated;
	image-rendering: crisp-edges; */
	/* image-rendering: smooth;  */
	
	width: 100%;
	height: 100%;

	mask-size: 180%;
	mask-position: center;
	mask-repeat: no-repeat;
	position: absolute;
	top:0; left:0;
	z-index: 2;
	content: "";
}
#EditorialText{
	margin-top:0;
}




#Association { 
	--blingColor: var(--Saumon);
}
nav#TOC a[href="#Cover"].active{ background-color: hsl(from var(--Appartenances-Bleu-50) h s l / 40%); }
nav#TOC a[href="#Association"].group.active{ background-color: hsl(from var(--Saumon) h s l / 40%); }
nav#TOC a[href="#ActivitesMissionValeurs"].active,
nav#TOC a[href="#Comite"].active,
nav#TOC a[href="#Collaborat"].active,
nav#TOC a[href="#Qualite"].active,
nav#TOC a[href="#EntrepriseFormatrice"].active { background-color: hsl(from var(--Saumon) h s l / 60%); }
#AssociationIntro{
	position: relative; padding:0;
	background: #FFF !important;
	min-height: 33vh;
	align-content: center;
	text-align: center;
	border-top: none;
}
#AssociationIntro h1 {
	font-size: 6vw;
}
#AssociationIntro h1::before{
	background-color: hsl(from var(--blingColor) h s 75% );
	mask-image: url("../rsrc/png-transparent/tigrigna.png");
	/* image-rendering: pixelated;
	image-rendering: crisp-edges; */
	/* image-rendering: smooth;  */
	
	width: 100%;
	height: 100%;

	mask-size: 180%;
	mask-position: center;
	mask-repeat: no-repeat;
	position: absolute;
	top:0; left:0;
	z-index: 2;
	content: "";
}


#Secteurs { 
	--blingColor: var(--Appartenances-Bleu);
}
nav#TOC a[href="#Secteurs"].group.active{ background-color: hsl(from var(--Appartenances-Bleu) h s l / 30%); }
nav#TOC a[href="#InterpretariatCommunautaire"].active,
nav#TOC a[href="#CPM"].active { background-color: hsl(from var(--Appartenances-Bleu) h s l / 50%); }
#SecteursIntro{
	position: relative; padding:0;
	background: #FFF !important;
	min-height: 33vh;
}
#SecteursIntro h1 {
	font-size: 8vw;
}
#SecteursIntro h1::before{
	background-color: var(--Appartenances-Bleu);
	mask-image: url("../rsrc/png-transparent/persan.png");
	
	/* image-rendering: pixelated;
	image-rendering: crisp-edges; */
	image-rendering: smooth; 
	
	width: 100%;
	height: 100%;

	mask-size: 180%;
	mask-position: center;
	mask-repeat: no-repeat;
	position: absolute;
	top:0; left:0;
	z-index: 2;
	content: "";
}


/* #EspacesSociaux{
	--blingColor: var(--Turquoise);
}
nav#TOC a[href="#EspacesSociaux"].group.active{ background-color: hsl(from var(--Turquoise) h s l / 90%); }
nav#TOC a[href="#EspacesFemmes"].active,
nav#TOC a[href="#EspaceHommes"].active { background-color: hsl(from var(--Turquoise) h s l / 60%); }
#EspacesSociauxIntro{
	position: relative; padding:0;
	background: #FFF !important;
	min-height: 33vh;
	align-content: center;
	text-align: center;
}
#EspacesSociauxIntro h1 {
	font-size: 8vw;
}
#EspacesSociauxIntro h1::before{
	background-color: hsl(from var(--blingColor) h s 40% );
	mask-image: url("../rsrc/png-transparent/francais.png");
	
	image-rendering: smooth; 
	
	width: 100%;
	height: 100%;

	mask-size: 180%;
	mask-position: center;
	mask-repeat: no-repeat;
	position: absolute;
	top:0; left:0;
	z-index: 2;
	content: "";
}
#EspacesSociauxText{
	margin-top: 0;
} */
 

#Finances{
	--blingColor: var(--JauneClaire);
}
nav#TOC a[href="#Finances"].group.active{ background-color: hsl(from var(--JauneClaire) h s l / 50%); }
nav#TOC a[href="#RapportRevision"].active,
nav#TOC a[href="#Bilan"].active,
nav#TOC a[href="#CompteExploitation"].active { background-color: hsl(from var(--JauneClaire) h s l / 80%); }
#FinancesIntro{
	position: relative; padding:0;
	background: #FFF !important;
	min-height: 33vh;
	align-content: center;
	text-align: center;
}
#FinancesIntro h1 {
	font-size: 8vw;
}
#FinancesIntro h1::before{
	background-color: hsl(from var(--blingColor) h s 75% );
	mask-image: url("../rsrc/png-transparent/espagnol.png");
	
	/* image-rendering: pixelated;
	image-rendering: crisp-edges; */
	image-rendering: smooth; 
	
	width: 100%;
	height: 100%;

	mask-size: 220%;
	mask-position: center;
	mask-repeat: no-repeat;
	position: absolute;
	top:0; left:0;
	z-index: 2;
	content: "";
}
#RapportRevision{ margin-top: 0; }


#SoutienEngagement{
	--blingColor: var(--Turquoise);
}
nav#TOC a[href="#SoutienEngagement"].group.active{ background-color: hsl(from var(--Turquoise) h s l / 50%); }
nav#TOC a[href="#PartenairesDonations"].active,
nav#TOC a[href="#Soutien"].active{ background-color: hsl(from var(--Turquoise) h s l / 80%); }

#SoutienEngagementIntro{
	position: relative; padding:0;
	background: #FFF !important;
	min-height: 33vh;
	align-content: center;
	text-align: center;
}
#SoutienEngagementIntro h1 {
	font-size: 8vw;
}
#SoutienEngagementIntro h1::before{
	background-color: hsl(from var(--blingColor) h s 67% );
	mask-image: url("../rsrc/png-transparent/albanais.png");
	
	/* image-rendering: pixelated;
	image-rendering: crisp-edges; */
	image-rendering: smooth; 
	
	width: 100%;
	height: 100%;

	mask-size: 220%;
	mask-position: center;
	mask-repeat: no-repeat;
	position: absolute;
	top:0; left:0;
	z-index: 2;
	content: "";
}





#coverDeco div:nth-of-type(1){	mask-image: url("../rsrc/png-transparent/albanais.png");	background-color: hsl(from var(--CorporateIdentityPrincipal) h s l); }
#coverDeco div:nth-of-type(2){	mask-image: url("../rsrc/png-transparent/arabe.png");		background-color: hsl(from var(--Turquoise) h s 40%); }
#coverDeco div:nth-of-type(3){	mask-image: url("../rsrc/png-transparent/espagnol.png");	background-color: hsl(from var(--Saumon) h s 80%); }
#coverDeco div:nth-of-type(4){	mask-image: url("../rsrc/png-transparent/francais.png");	background-color: hsl(from var(--JauneClaire) h s 60%); }
#coverDeco div:nth-of-type(5){	mask-image: url("../rsrc/png-transparent/georgien.png");	background-color: hsl(from var(--Appartenances-Bleu) h s l); }
#coverDeco div:nth-of-type(6){	mask-image: url("../rsrc/png-transparent/persan.png");		background-color: hsl(from var(--Turquoise) h s 40%); }
#coverDeco div:nth-of-type(7){	mask-image: url("../rsrc/png-transparent/tamoul.png");		background-color: hsl(from var(--Saumon) h s 80%); }
#coverDeco div:nth-of-type(8){	mask-image: url("../rsrc/png-transparent/tigrigna.png");	background-color: hsl(from var(--JauneClaire) h s 60%); }
#coverDeco div:nth-of-type(9){	mask-image: url("../rsrc/png-transparent/turque.png");		background-color: hsl(from var(--CorporateIdentityPrincipal) h s l); }
#coverDeco div:nth-of-type(0){	mask-image: url("../rsrc/png-transparent/ukrainien.png");	background-color: hsl(from var(--Turquoise) h s 40%); }

#Cover {
	position: relative;
	background: none !important;
}

/* hide the SVG — logo now lives on the first deco cell */
#CoverTitles img { display: none; }

#coverDeco {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 1fr;
	position: absolute;
	inset: 0;
}

#coverDeco > div {
	mask-size: var(--mask-zoom, 300%);
	mask-position: center;
	mask-repeat: no-repeat;
}

/* first cell = logo, not a mask */
#coverDeco > div:nth-child(1) {
	mask-image: none;
	background-color: transparent;
	background-image: url("../rsrc/Appartenances-logo_web.svg");
	background-size: 80%; /* contain */
	background-position: center;
	background-repeat: no-repeat;
}

/* ---------- ≤ 960px : logo spans 2 cells, drop the next mask ---------- */
@media (max-width: 960px) {
	#coverDeco > div:nth-child(1) {
		grid-column: 1 / span 2;
	}
	#coverDeco > div:nth-child(2) {
		display: none;
	}
}


/* ---------- ≤ 640px : single column — logo + 2 masks ---------- */
@media (max-width: 640px) {
	#coverDeco {
		grid-template-columns: 1fr;
	}
	#coverDeco > div:nth-child(1) {
		grid-column: 1;          /* reset the span */
	}
	#coverDeco > div:nth-child(n) { display: block; }   /* re-show the one hidden above (specificity must match the 960px rule) */
	#coverDeco > div:nth-child(n+4) { display: none; }
}


#CoverTitles {
	width: 100%;
	flex-direction: column;
	justify-content: flex-end;
	align-items: end;
	text-align: right;
}
#CoverTitles h1 .innerWrap{
	display: flex;
	flex-direction: column-reverse;
}
#CoverTitles h1  .arYear {
	font-size: 25vw;
}




 /* v2 */
/* #coverDeco{
	position: absolute;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	mask-image: url("../rsrc/png-transparent/cercle.png");
	background-color: hsl(from var(--Appartenances-Bleu) h s l / 80% ); 
	mask-size: contain;
	mask-position: bottom right;
	mask-repeat: no-repeat;
} */






/* other bling */
.statBlock.bling.gradient{
	background: linear-gradient( 135deg, #FFF 33%, hsl( from var(--blingColor) h s l / 20% ));
	margin-bottom: 0;
	padding-bottom: 2rem;
}



#Mission, 
.secteurIntro.bling.gradient{
	background: linear-gradient( 135deg, #FFF 33%, hsl( from var(--blingColor) h s l / 20% ));
	margin-bottom: 0;
	padding-bottom: 2rem;
}
layout-row:has(.statBlock) { margin-top:0; }

#Mission { padding-bottom: 2rem; }
#Valeurs { margin-top:0; }




/* bling after text */

layout-col:has(.secteurReport){ 
	display: flex;
	flex-direction: column;
}

layout-col:has(.secteurReport) .secteurReport{
	flex-grow:0;
	flex-shrink: 0;
	flex-basis: auto;

}	
layout-col:has(.secteurReport):after{
	content: "";
	flex-grow: 1;
	background-color: hsl(from var(--blingColor) h s l / 60% );
	mask-image: url("../rsrc/png-transparent/francais.png");
	mask-position: center;
	mask-size: var(--mask-zoom, 180%);
	mask-repeat: no-repeat;
}
#Collaborat 					layout-col:has(.secteurReport):after{ mask-image: url("../rsrc/png-transparent/arabe.png"); }
#InterpretariatCommunautaire 	layout-col:has(.secteurReport):after{ mask-image: url("../rsrc/png-transparent/ukrainien.png"); }
#CPM 							layout-col:has(.secteurReport):after{ mask-image: url("../rsrc/png-transparent/espagnol.png"); }
#EspacesFemmes 					layout-col:has(.secteurReport):after{ mask-image: url("../rsrc/png-transparent/tigrigna.png"); }
#EspaceHommes 					layout-col:has(.secteurReport):after{ mask-image: url("../rsrc/png-transparent/persan.png"); }
#Formation 						layout-col:has(.secteurReport):after{ mask-image: url("../rsrc/png-transparent/georgien.png"); }




#Remercions{}

#Remercions layout-grid { gap: 0; }

#Remercions layout-grid li { padding: 1rem; align-content: center; }







/* Per-item random color + angle assigned by script/edition.js */
#Remercions layout-grid li[style*="--bg-color"]{
	background: linear-gradient( var(--bg-angle, 135deg), #FFF 33%, hsl( from var(--bg-color) h s l / 33% ));
}



}/* @media screen  */




@media (max-width: 720px) {
	nav#TOC a[href="#Cover"]{
		display: none;
	}
}