
/*
 * Copyright 2020 Adobe. All rights reserved.
 * This file is licensed to you under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License. You may obtain a copy
 * of the License at http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under
 * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
 * OF ANY KIND, either express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 */
 :root {
  --background-color: white;
  --light-color: #f8f8f8;
  --dark-color: #505050;
  --text-color: #1E1E1E;
  --content-link-color: var(--site-color);
  --link-color: #3b63fb;
  --link-hover-color: #1d3ecf;
  --listing-card-logo-color: #fffc;
  --body-font-family: "Antarctica", "Antarctica Fallback", "sans-serif";
  --heading-font-family: "Antarctica", "Antarctica Fallback";
  --body-font-size-m: 18px;
  --body-font-size-s: 16.6px;
  --body-font-size-xs: 13.4px;
  --heading-font-size-xxl: 50px;
  --heading-font-size-xl: 50px;
  --heading-font-size-l: 40px;
  --heading-font-size-m: 18px;
  --heading-font-size-s: 16.6px;
  --heading-font-size-xs: 13.4px;
  --nav-height: 216px;
  --nav-mobile-height: 95px;
  --nav-tab-height: 136px;
  --header-height: var(--nav-height);
  --header-mob-height: var(--nav-mobile-height);
  --header-tab-height: var(--nav-tab-height);
  --site-color: #6B7E7C;
  --site-color-bien: #726248;
  --site-color-2: #839790;
  --site-color-2-bien: #947F5F;
  --arbres-header-color: #6b7e7cd9;
  --arbres-header-color-over: #6b7e7c;
  --footer-color: #6B7E7C;
  --titre: #6B7E7C;
  --btn-bg: #c5cbcb;

  /* MENU OPEN */
  --menu-open-bg: #6b7e7c;

  /* HOME CAROUSEL */
  --carousel-bg-box1: #d8d8d7;
  --carousel-bg-box2: #b1afa1;


  /* HOME PROJETS */
  --projet-bg-odd: #dbd9d3;
  --projet-bg-even: #ccd5d3;
  --projet-bloc-titre: #6B7E7C;
  --projet-bloc-btn-first: #9D9B88;

  /* HOME NEWS */
  --news-over-filtre: rgb(148 127 95 / 20%);

  /* HOME CHIFFRES */
  --chiffres-bloc-bg: #e1e3e0;
  --chiffres-bloc-btn: #525252;
  --chiffres-bloc-btn-bg: #d3cdbf;

  /* EVENTS PROJETS */
  --projet-bg-page-listing: #edecea;
  --projet-bg-intro: #b9b8b2;
  --projet-bg-intro-even: #c4c3b8;
  --projet-intro-texte: #6B7E7C;
  --projet-bg-page: #edecea;
  --projet-bg-page-suite: #dcdcdc;

  /* NEWS LISTING */
  --news-bg-bien: #918063;
  --news-bg-arbres: #6f7d7c;
  --news-bg-enavant: #d3cec7;

  /* NEWS PAGE */
  --news-bg-page: #eae8e9;
  --news-bg-page-suite: #f2f2f3;
  --news-category: #947f5f;

  /* NEWS PAGE SOPHISTIQUEE */
  --news-sophis-bg-intro: #e1e5e6;
  --news-sophis-intro: #6b7e7c;
  --news-sophis-bg-text: #6b7e7c;
  --news-sophis-bg-text2: #e9e7ea;

  /* TEAM PAGE */
  --team-bg-page: #f8f7f2;
  --team-cat-titre: #857873;
  --team-bg-btn: #a49e92;

  /* PARTENAIRES PAGE */
  --partenaires-bg: #f8f7f2;
  --partenaires-bg-bloc: #e1e5e6;

  /* PAGE BLOC */
  --page-bloc-full: #d8d7d0;
  --page-bloc-bg-pictos: #e2e5e5;
  --page-bloc-pictos-bg: #6f7d7c;
  --page-bloc-btn-bg: #afb4ad;
  --page-bloc-btn: #525252;
  --page-bloc-color-header: #9aa198;

  /* MEDIAS PAGE */
  --medias-bg: #edecea;

  /* NEWSLETTER */
  --newsletter-bg: #c4c3b9;
  --newsletter-titre: #72676B;
  --news-button-text-colour: #fff;

  /* FLECHE TO TOP */
  --fleche-to-top-bg: rgb(107 126 124 / 85%);

  /* DROPDOWN */
  --dropdown-bg: #c5cbcb;

  /* MAP */
  --map-box-bg: rgb(159 165 157 / 90%);
  --map-box-partenaires: #363f3e;
  --map-carte-icone-container: #E2E5E5;
  --map-box-bg-bien: rgba(177 154 117 / 90%);
  --map-box-partenaires-bien: #393124;
  --map-carte-icone-container-bien: #D8D7D0;
  --map-bg-page-bien: #EDECEA;

  /* BODY */
  --body-font-size: 20px;
  --body-line-height: 1.5em;
  --body-font-weight: 200;

  /* SECTIONS */
  --section-background-color: #d7d9d6;
  --default-colored-text: #726248;

  /* POLICY TEMPLATE */
  --policy-template-link-color: #947F5F;
  --policy-template-borders: #A49F94;

  /* LANDING PAGE */
  --input-color: #303030;
  --input-selected-color: #5a626b;
  --input-placeholder-color: #B69859;

  /* ARBRES CAROUSEL CARDS COLOURS */
  --arbres-carousel-card-1: #6b7e7c;
  --arbres-carousel-card-2: #a49f94;
  --arbres-carousel-card-3: #9aa198;
  --arbres-carousel-card-4: #9d9b88;

  /* BIENCOMMUN SITE COLORS */
  
  /* GENERAL */	
  --biencommun-site-color: #726248;
  --biencommun-site-color-2: #947F5F;
  --biencommun-header-color: rgb(114 98 72 / 85%);
  --biencommun-header-color-over: rgb(114 98 72 / 100%);
  --biencommun-footer-color: #726248;
  --biencommun-titre: #726248; 
  --biencommun-btn-bg:#ded7ca;
  --biencommun-carousel-color: #D3C19B;

  /* MENU OPEN */
  --biencommun-menu-open-bg: #947f57;      
      
  /* HOME CAROUSEL */
  --biencommun-carousel-bg-box1: #d8d8d8;  
  --biencommun-carousel-bg-box2: #aca89d;  

  /* HOME PROJETS */
  --biencommun-projet-bg-odd: #e0d6c0; 
  --biencommun-projet-bg-even: #d8d7d0;
  --biencommun-projet-bloc-titre: #525252;
  --biencommun-projet-bloc-btn-first: #A49F94;

  /* HOME news */
  --biencommun-news-over-filtre: rgb(148 127 95 / 20%);

  /* HOME CHIFFRES */
  --biencommun-chiffres-bloc-bg: #e8e4e3; 
  --biencommun-chiffres-bloc-btn:#525252;
  --biencommun-chiffres-bloc-btn-bg: #ccbfac; 

  /* PROJETS PAGE */
  --biencommun-projet-bg-page-listing: #edecea;     
  --biencommun-projet-bg-intro: #d8d7d0; 
  --biencommun-projet-bg-intro-even: #ded7ca;   
  --biencommun-projet-intro-texte: #695D5B;   
  --biencommun-projet-bg-page: #edecea;  
  --biencommun-projet-bg-page-suite: #dcdcdc;    
      

  /* NEWS LISTING */
  --biencommun-news-bg-bien: #918063; 
  --biencommun-news-bg-arbres: #6f7d7c;
  --biencommun-news-bg-enavant: #d3cec7;

  /* NEWS PAGE */	
  --biencommun-news-bg-page: #eae8e9; 
  --biencommun-news-bg-page-suite: #f2f2f3;
      
  /* NEWS PAGE SOPHISTIQUEE */	
  --biencommun-news-sophis-bg-intro: #e2e0db; 
  --biencommun-news-sophis-intro: #695D5B; 
  --biencommun-news-sophis-bg-text: #6f634b; 
  --biencommun-news-sophis-bg-text2: #eae8e9; 	
      
  /* TEAM PAGE */	
  --biencommun-team-bg-page: #ececeb; 	
  --biencommun-team-cat-titre: #857873;
  --biencommun-team-bg-btn: #a29f96; 
    
  /* TEAM PARTENAIRES */	
  --biencommun-partenaires-bg: #edecea; 	
  --biencommun-partenaires-bg-bloc: #d7d7cf; 
    
  /* PAGE BLOC */	
  --biencommun-page-bloc-full: #ded7ca; 	
  --biencommun-page-bloc-bg-pictos: #d8d7d0;
  --biencommun-page-bloc-pictos-bg: #917f63;	
  --biencommun-page-bloc-btn-bg: #a9997f;
  --biencommun-page-bloc-btn: #525252;	
    
  /* PAGE BLOC COLOR */	
  --biencommun-page-bloc-color-header:#e0d6c0;
      
  /* MEDIAS */	
  --biencommun-medias-bg: #eae7e9;

  /* NEWSLETTER BLOC */	
  --biencommun-newsletter-bg: #e7e1d5;
  --biencommun-newsletter-titre: #72676B;
      
  /* FLECHE TO TOP */	    
  --biencommun-fleche-to-top-bg: rgb(114 98 72 / 85%);
    
  /* DROPDOWN */	    
  --biencommun-dropdown-bg:#e2d6be; 
    
  /* MAP */	    
  --biencommun-map-box-bg:rgb(177 154 117 / 90%); 	
  --biencommun-map-box-partenaires:#393124;	
  --biencommun-map-carte-icone-container:#d8d7d0;

  /* BIENCOMMUN CAROUSEL CARDS COLOURS */
  --biencommun-carousel-card-1: #a49f94;
  --biencommun-carousel-card-2: #b19a75;
  --biencommun-carousel-card-3: #726248;
  --biencommun-carousel-card-4: #947f5f;

       
  /* BIENCOMMUN DEFAULT TEXT COLOURS */
  --biencommun-text-color-4: #D3C19B;

  /* FONDATIONS SITE COLORS */
  --fondations-site-color: #857873;
  --fondations-site-color-2: #947F5F;
  --fondations-header-color: rgb(133 120 115 / 100%);
  --fondations-footer-color: #9D9D9C;
  --fondations-titre-h2: #726248;
  --fondations-titre: #525252;
  --fondations-fleche-to-top-bg: #515151;

  /* FONDATIONS NEWSLETTER */
  --fondations-newsletter-bg:#e6e1d6;
  --fondations-newsletter-titre: #72676B;
  
  /* FONDATIONS MENU OPEN */
    --fondations-menu-open-bg: #5b626a;  
  
  /* FONDATIONS MEDIAS */
  --fondations-medias-bg: #eae7e9;

  /* FONDATIONS QUOTE */
  --fondations-quote-bg: #edecea;

  /* FONDATIONS NEWS */
  --fondations-hero-bg: #9AA198;
}

/* fallback fonts */
@font-face {
  font-family:"Antarctica Fallback";
  font-style:normal;
  font-weight:300;
  src:local("Arial");
  ascent-override:78.69%;
  descent-override:17.93%;
  line-gap-override:25.38%;
  size-adjust:107.38%;
}

@font-face {
  font-family:"Antarctica Fallback";
  font-style:normal;
  font-weight:400;
  src:local("Arial");
  ascent-override:90.56%;
  descent-override:20.63%;
  line-gap-override:29.20%;
  size-adjust:93.31%;
}

@font-face {
  font-family:"Antarctica Fallback";
  font-style:normal;
  font-weight:500;
  src:local("Arial");
  ascent-override:86.11%;
  descent-override:19.62%;
  line-gap-override:27.77%;
  size-adjust:98.13%;
}

@font-face {
  font-family:"Antarctica Fallback";
  font-style:normal;
  font-weight:600;
  src:local("Arial Bold");
  ascent-override:90.30%;
  descent-override:20.57%;
  line-gap-override:29.12%;
  size-adjust:93.58%;
}

@font-face {
  font-family:"Antarctica Fallback";
  font-style:normal;
  font-weight:700;
  src:local("Arial Bold");
  ascent-override:80.18%;
  descent-override:18.27%;
  line-gap-override:25.86%;
  size-adjust:105.39%;
}

@media (width>=900px) {
  :root {
    --body-font-size-m: 18px;
    --body-font-size-s: 16.6px;
    --body-font-size-xs: 13.4px;
    --heading-font-size-xxl: 50px;
    --heading-font-size-xl: 50px;
    --heading-font-size-l: 40px;
    --heading-font-size-m: 18px;
    --heading-font-size-s: 16.6px;
    --heading-font-size-xs: 13.4px;
    --nav-height: 216px;
  }

  h2 {
    font-size: var(--heading-font-size-xl);
  }

  main p {
    font-size: var(--body-font-size-m);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateX(20%);
  transition: all 1.5s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateX(0);
}

body {
  display: none;
  margin: 0;
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: var(--body-font-family);
  font-size: var(--body-font-size-m);
  line-height: 1.6;

  text-rendering: auto;
	text-rendering: optimizeLegibility;
	text-rendering: geometricPrecision;
	font-smooth: always;
	
	font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	-webkit-font-smoothing: subpixel-antialiased;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;

}

body.appear {
  display: block;
}

header {
  height: var(--header-mob-height);
}

.fondations.homepage main {
  margin-top: calc(-1 * var(--header-mob-height));
}

header .header, footer .footer {
  visibility: hidden;
}

header .header[data-block-status="loaded"], footer .footer[data-block-status="loaded"] {
  visibility: visible;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0.8em;
  margin-bottom: 0.25em;
  font-family: var(--heading-font-family);
  font-weight: 600;
  line-height: 1.25;
  scroll-margin: 40px;
}

h1 {
  font-size: var(--heading-font-size-xxl);
}

.fondations h1 {
  color: var(--fondations-titre);
}

h2 {
  font-size: 30px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.2em;
  color: var(--site-color);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.biencommun h2 {
  color: var(--biencommun-site-color);
}


.fondations main .default-content-wrapper h2 {
  color: var(--fondations-titre);
}

h3 {
  font-size: var(--heading-font-size-l);
}

h4 {
  font-size: var(--heading-font-size-m);
}

h5 {
  font-size: var(--heading-font-size-s);
}

h6 {
  font-size: var(--heading-font-size-xs);
}

p, dl, ol, ul, pre, blockquote {
  margin-top: 0.8em;
  margin-bottom: 0.25em;
}

main p {
  letter-spacing: 0.02em;
  font-size: 14px;
  line-height: var(--body-line-height);
  font-weight: var(--body-font-weight);
}

code, pre {
  font-size: var(--body-font-size-s);
}

pre {
  padding: 16px;
  border-radius: 8px;
  background-color: var(--light-color);
  overflow-x: auto;
  white-space: pre;
}

/* main>div {
  margin: 40px 16px;
} */

input, textarea, select, button {
  font: inherit;
}

/* links */
a:any-link {
  color: var(--content-link-color);
  text-decoration: none;
  overflow-wrap: break-word;
}

a:hover {
  color: var(--content-link-color);
  text-decoration: underline;
}

.biencommun {
  --content-link-color: var(--biencommun-site-color);
}

/* buttons */
a.button:any-link, button {
  box-sizing: border-box;
  display: inline-block;
  max-width: 100%;
  margin: 12px 0;
  border: 2px solid transparent;
  border-radius: 2.4em;
  padding: 0.5em 1.2em;
  font-family: var(--body-font-family);
  font-style: normal;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  background-color: var(--link-color);
  color: var(--background-color);
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

a.button:hover, a.button:focus, button:hover, button:focus {
  background-color: var(--link-hover-color);
  cursor: pointer;
}

button:disabled, button:disabled:hover {
  background-color: var(--light-color);
  cursor: unset;
}

a.button.secondary, button.secondary {
  background-color: unset;
  border: 2px solid currentcolor;
  color: var(--text-color);
}

main img {
  max-width: 100%;
  width: auto;
  height: auto;
}

.icon {
  display: inline-block;
  height: 24px;
  width: 24px;
}

.icon img {
  height: 100%;
  width: 100%;
}

/* sections */

/* main>.section {
  margin: 40px 0;
} */

main>.section>div {
  max-width: 1440px;
  margin: auto;
  padding: 0 20px;
  box-sizing: border-box;
}

main>.section.colored-text>div.default-content-wrapper {
  max-width: unset;
  margin: unset;
  padding: unset;
  box-sizing: unset;
}

main>.section.colored-text>div.default-content-wrapper h2 {
  box-sizing: border-box;
  margin: auto;
  max-width: 1440px;
  padding: 0 20px;
}

main>.section.colored-text>div.default-content-wrapper p {
  box-sizing: border-box;
  margin: auto;
  max-width: 1720px;
  padding: 75px 20px 100px;
}

main>.section:first-of-type {
  margin-top: 0;
}

/* stylelint-disable no-descending-specificity */
.contact-us.full-width *,
.contact-us main .section .full-width *,
.contact-us main .section .default-content-wrapper .full-width * {
  margin: 0;
  padding: 0;
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}

main>.section.extra-padding {
  padding: 50px 0;
  margin: 0;
}

/* Ensure all children of full-width span the full width */

.contact-us.full-width > *,
.contact-us main .section .full-width > * {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.contact-us .full-width img {
  width: 100vw;
}

main .section:has(.accordion.teams) {
  padding: 80px 0;
}

main .section.cream-bg {
  background-color: var(--team-bg-page);
}

/* adding colors to main */
main .section.white-lilac-bg {
  background-color: var(--news-sophis-bg-text2);
}

main .section.beige-bg {
  background-color: var(--newsletter-bg);
}

main .section.green-bg {
  background-color: var(--arbres-header-color-over);
}

main .section.brown-bg {
  background-color: var(--site-color-bien);
}

main .section.white-smoke-bg {
  background-color: var(--news-bg-page);
}

main .section.light-grey-bg {
  background-color: var(--news-sophis-bg-intro);
}

main .section.pale-grey-bg {
  background-color: var(--biencommun-medias-bg);
}

main .section.grey-yellow-bg {
  background-color: var(--biencommun-page-bloc-bg-pictos);
}

main .section.warm-grey-bg {
  background-color: var(--chiffres-bloc-bg);
}

main .section.dark-grayish-blue {
  background-color: var(--input-selected-color);
}

/* Ensure default-content-wrapper inside full-width spans the full width */
.contact-us .full-width .default-content-wrapper,
.contact-us main .section .full-width .default-content-wrapper {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Override any specific default-content-wrapper padding/margins */
.contact-us main > .section > .full-width .default-content-wrapper,
.contact-us main .section .default-content-wrapper.full-width {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

main .section.light-grey-bg.float-right {
  max-width: 100%;
}

main .section.float-right {
  padding: 25px 0 5px;
}

main .section.float-right .default-content-wrapper {
  color: var(--text-color);
}

main .section.float-right .default-content-wrapper .container-col {
  position: relative;
  margin-left: -15px;
  margin-right: -15px;
}

main .section.float-right .default-content-wrapper .heading-wrapper {
  width: calc((((100% - (12*30px))/12)*12) + (11*30px));
  box-sizing: border-box;
  float: left;
  margin: 15px;
}

main .section.float-right .default-content-wrapper .heading-wrapper h1 {
  position: relative;
  margin: 15px 0;
  box-sizing: border-box;
  color: var(--site-color);
  text-transform: uppercase;
  font-weight: 400;
  font-feature-settings: "clig"0;
  font-style: normal;
  line-height: 1.2em;
  letter-spacing: .08em;
  font-size: 36px;
}

main .section.float-right .default-content-wrapper .content-wrapper {
  width: calc((((100% - (12*30px))/12)*12) + (11*30px));
  float: right;
  margin: 15px;
  box-sizing: border-box;
}

main .section.colored-text p{
    font-size: 30px; 
    letter-spacing: 1.2px; 
    line-height: 1.3; 
    background-color: transparent;
    font-family: Antarctica, sans-serif; 
    -webkit-font-smoothing: antialiased; 
    font-weight: 400;  
    padding-top: 40px;
    padding-bottom: 80px;
  }

main .section.soft-grey-bg.default-colored-text p {
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 400;
  color: var(--default-colored-text);
}

main .section.colored-text strong {
  color: var(--news-category);
  font-weight: 400; 
}

.biencommun main .section.colored-text strong {
  color: var(--site-color-2-bien);
}

.policy-template main .default-content-wrapper p a {
  color: var(--site-color-2);
  transition: color 0.5s;
  text-decoration: none;
  position: relative;
  display: inline-block;
}

.policy-template.biencommun main .default-content-wrapper p a {
  color: var(--site-color-2-bien);
}

.policy-template main .default-content-wrapper p em a {
  color: black;
  text-decoration: none;
  pointer-events: none;
  cursor: default;
  font-style: normal;
}


.policy-template main .default-content-wrapper p strong {
  font-weight: bold;
}

.policy-template main .default-content-wrapper p:last-child{
  margin-bottom: 20px;
}

/* Make strong elements bold in contact-us section for both themes */
.contact-us main .section .default-content-wrapper strong {
  font-weight: bold;
}

main .section.colored-text.warm-grey-bg p {
  font-size: 24px;
  margin: 0;
  padding: 0 0 60px;
}

.contact-us main .section .default-content-wrapper p {
  gap: 10px;
}

.contact-us main .section .default-content-wrapper .icon {
  width: 40px;  /* Increased from default 24px */
  height: 40px; /* Increased from default 24px */
}

.contact-us main .section .default-content-wrapper a {
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.2em;
  line-height: 20px;
  vertical-align: bottom;
  display: inline-block;
  padding-bottom: 15px;
}

.contact-us main .section .default-content-wrapper p > a[href]:has(picture),
p > a[href]:has(img) {
  padding-bottom: 0;
  line-height: 0;
}

.contact-us main .section .default-content-wrapper p:has(a[href] picture),
p:has(a[href] img) {
  margin-bottom: 0;
  margin-top: 0;
}

@media (width >= 900px) {
  main .section.float-right {
    padding: 65px 0 50px;
  }

  .newsroom.newsroom-template main .section .media-filter-container {
    max-width: 100%;
  }

  .contact-us main .section .default-content-wrapper a {
      font-size: 20px;
  }
}

/* Target paragraphs containing the icon classes */
/* stylelint-disable-next-line selector-class-pattern */
.contact-us .default-content-wrapper p .icon-fleche_right_black + a {
  color: var(--text-color);
}

/* stylelint-disable-next-line selector-class-pattern */
.contact-us .default-content-wrapper p .icon-fleche_right_green + a {
  color: var(--site-color);
}

/* stylelint-disable-next-line selector-class-pattern */
.contact-us .default-content-wrapper p .icon-fleche_right_brown + a {
  color: var(--news-category);
}


.policy-template main .section .default-content-wrapper li {
  font-size: 14px;
  letter-spacing: 0.02em;
  font-weight: 300;
}

main .section.float-right .default-content-wrapper .content-wrapper ul li {
  list-style: none;
  position: relative;
  margin-bottom: 12px;
  font-size: 14px;
  letter-spacing: 0.02em;
  font-weight: var(--body-font-weight);
  padding-left: 20px;
}

body.fondations main p,
body.fondations main ul li {
  font-size: 14px;
  line-height: 1.5em;
  letter-spacing: .02em;
  font-weight: 200;
}

body.fondations main .section.float-right .default-content-wrapper .content-wrapper ul li {
  padding-left: 30px;
}

main .section.float-right .default-content-wrapper .content-wrapper ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: #947F5F;
  font-size: 20px;
  line-height: 20px;
  position: absolute;
  top: 10px;
  left: -3px;
  border-radius: 500px;
}

body.fondations main .section.float-right .default-content-wrapper .content-wrapper ul li::before {
  left: 0;
}

main .section.colored-text em,
main .section.colored-text i {
  color: var(--site-color);
  font-style: normal; 
}

.biencommun main .section.colored-text em,
.biencommun main .section.colored-text i {
  color: var(--biencommun-page-bloc-btn);
}

.policy-template main .default-content-wrapper p strong em {
  letter-spacing: 0.01em;
  font-weight: 450;
  color: var(--policy-template-link-color);
}

main .section.float-right .default-content-wrapper .content-wrapper ul li em {
  color: var(--site-color);
  font-style: unset;
}

.biencommun main .section.float-right .default-content-wrapper .content-wrapper ul li em {
  color: var(--biencommun-site-color-2);
  font-style: unset;
}

main .section.float-right .default-content-wrapper .clear {
  clear: both;
}

main .section.light-grey-orange-bg {
  background-color: var(--biencommun-page-bloc-full);
}

body.fondations main .section.light-grey-orange-bg {
  background-color: var(--fondations-quote-bg);
}

main .section.ashy-grey-bg {
  background-color: var(--fondations-quote-bg);
}

body.fondations main .section.fade-up {
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 20px;
}

body.fondations main .section.fade-up p {
  margin: 0;
  padding: 0;
}

body.fondations main .section.full-width-image {
  padding: 0;
  margin: 0;
}

body.fondations main .section.full-width-image p {
  padding: 0;
  margin: 0;
}

body.fondations main .section.full-width-image .default-content-wrapper {
  padding: 0;
  margin: 0;
  max-width: unset;
}

.contact-us main p:not(:has(span)) {
  margin-bottom: 30px;
  margin-top: 40px;
}

.contact-us main p:last-of-type {
  margin-bottom: 50px;
}

main>.section.colored-text.columns-container>div.default-content-wrapper p {
  padding: 50px 20px 40px;
}

@media (width>=900px) {
  header {
    height: var(--header-tab-height);
  }

  .fondations.homepage main {
    margin-top: calc(-1 * var(--header-tab-height));
  }

  body.fondations main p,
  body.fondations main ul li
   {
    font-size: 20px;
   }

  main>.section.extra-padding {
    padding: 100px 0;
    margin: 0;
  }

  main>.section>div {
    padding: 0 80px;
  }

  main>.section.colored-text>div.default-content-wrapper h2 {
    padding: 0 80px;
  }

  main>.section.colored-text>div.default-content-wrapper p {
    padding: 75px 80px 100px;
  }

  main>.section.colored-text.cards-container>div.default-content-wrapper p {
    padding: 50px 80px 0;
  }
    
  main>.section.colored-text>div.default-content-wrapper p.button-container {
    padding: 0;
  }
    
  main>.section.colored-text.columns-container>div.default-content-wrapper p {
    padding: 50px 80px 40px;
  }

  main>.section.colored-text.columns-container>div.default-content-wrapper p {
    padding: 50px 80px 40px;
  }

  main p {
    font-size: var(--body-font-size-m);
  }

  .contact-us main p {
    letter-spacing: 0.05em;
    font-weight: 400;
  }


  main h2 {
    font-size: var(--heading-font-size-xl);
  }

  body.fondations main .section.fade-up:not(.full-width-image) {
    padding-bottom: 100px;
  }

  body.fondations main .section.float-right {
    max-width: unset;
  }

  main .section.float-right .default-content-wrapper .heading-wrapper h1 {
    font-size: 50px;
  }

  main .section.float-right .default-content-wrapper .content-wrapper {
    width: calc((((100% - (12*30px))/12)*9) + (8*30px));
  }

  main .section:has(.icons-grid.statistics) .cards-wrapper {
    padding: 50px 80px;
  }

  body.fondations main .section.float-right .default-content-wrapper .content-wrapper ul li {
    padding-left: 120px;
  }

  body.fondations main .section.float-right .default-content-wrapper .content-wrapper ul li::before {
    left: 100px;
  }
}

/* section metadata */
main .section.light, main .section.highlight {
  background-color: var(--light-color);
  margin: 0;
  padding: 40px 0;
}

.section.hidden {
  display: none;
}

/* Back to top button */
.page-level-btn {
  position: fixed;
  right: 80px;
  width: 4rem;
  height: 4rem;
  background-color: var(--fleche-to-top-bg);
  border-radius: 5000px;
  display: inline-block;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1s ease, visibility 1s ease;
}

.biencommun .page-level-btn {
  background-color: var(--biencommun-fleche-to-top-bg);
}

.fondations .page-level-btn {
  background-color: var(--fondations-fleche-to-top-bg);
}

.page-level-btn.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.da-live-preview .full-width.carousel-container .carousel.hero-banner.vertical:not(.scrollable) .carousel-slides-container {
  height: 600px;
}

@media (width<600px) {
  .page-level-btn {
    right: 20px;
    width: 3rem;
    height: 3rem;
  }
}

/* project article page styles */
.details-sidebar.light-grey-bg {
  background-color: var(--projet-bg-page);
}

.details-sidebar.grey-bg {
  background-color: var(--projet-bg-page-suite);
}

/* SECTIONS */
.section.soft-grey-bg {
  background-color: var(--section-background-color);
}

main .section:has(.icons-grid) {
  padding: 100px 0;
  margin: 100px 0 0;
}

.policy-template main .default-content-wrapper h2 {
  padding-top: 60px;
}

.policy-template.biencommun  .default-content-wrapper h2 {
  color: var(--biencommun-titre); 
}

main .section:has(.icons-grid) .default-content-wrapper h2 {
  margin: 0;
}

.biencommun main .section.float-right h2{
  color: var(--biencommun-titre);
}

/* Default button styles */
main .section:has(.icons-grid) .default-content-wrapper .button-container {
  text-align: center;
  margin: 0 auto;
}

.cta-section {
  padding-bottom: 50px;
}

.cta-section p.button-container {
  text-align: center;
  margin-top: 30px;
}

.cta-section p.button-container a.button:any-link {
  background-color: var(--page-bloc-btn-bg);
  background-image: url("/icons/btn_fleche_right.svg");
  border-radius: unset;
  overflow: unset;
  background-position: calc(100% - 10px) center;
  background-repeat: no-repeat;
  padding: 13px 50px 13px 15px;
  font-size: 12px;
  text-transform: uppercase;
  box-sizing: border-box;
  border: none;
  cursor: pointer;
  letter-spacing: .12em;
  font-weight: 500;
  text-align: center;
  min-width: 270px;
  line-height: normal;
  color: var(--page-bloc-btn);
}

/* Biencommun theme override for CTA button */
body.biencommun .cta-section p.button-container a.button:any-link {
  background-color: var(--biencommun-page-bloc-btn-bg); /* #a9997f */
}

.cta-section .default-content-wrapper p:first-child {
  margin-top: 40px;
  margin-bottom: 40px;
}

.cta-section .default-content-wrapper p:last-child {
  margin-bottom: 100px;
}

@media (width>=900px) {
  .cta-section .default-content-wrapper p:first-child {
    margin-left: 25%;
    width: calc((((100% - (12*30px))/12)*9) + (8 * 30px));
    letter-spacing: 0.04em;
  }
}

main .section.quote-container .quote-wrapper {
  margin-bottom: 30px;
}

body.fondations main .section.quote-container:has(+ .section.float-right) .quote-wrapper {
  margin-bottom: 0;
}

main .section:has(.icons-grid) .default-content-wrapper p.button-container a.button {
  background-color: var(--page-bloc-btn-bg);
  background-image: url("/icons/btn_fleche_right.svg");
  background-position: calc(100% - 10px) center;
  background-repeat: no-repeat;
  padding: 13px 50px 13px 15px;
  border-radius: unset;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: normal;
  text-transform: uppercase;
  box-sizing: border-box;
  border: none;
  cursor: pointer;
  color: var(--page-bloc-btn);
  text-align: center;
  overflow: unset;
  min-width: 270px;
  margin: 0;
}

.biencommun main .section:has(.icons-grid) .default-content-wrapper p.button-container a.button {
  background-color: var(--biencommun-page-bloc-btn-bg);
}

main .section:has(.icons-grid.statistics) .columns-wrapper .columns {
  padding: 0;
  margin-bottom: 20px;
}

main .section:has(.icons-grid.statistics) .columns-wrapper .columns > div {
 gap: 10px;
}

main .section:has(.icons-grid.statistics) .columns-wrapper .columns p.button-container a.button {
  background-color: var(--chiffres-bloc-btn-bg);
  background-image: url('/icons/btn_fleche_right.svg');
  background-position: calc(100% - 10px) center;
  background-repeat: no-repeat;
  padding: 13px 50px 13px 15px;
  border-radius: unset;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: normal;
  text-transform: uppercase;
  box-sizing: border-box;
  border: none;
  cursor: pointer;
  color: var(--chiffres-bloc-btn);
  text-align: center;
  overflow: unset;  
  min-width: 270px;
  margin: 0;
  display: inline-block;
}

.biencommun main .section:has(.icons-grid.statistics) .columns-wrapper .columns p.button-container a.button {
  background-color: var(--biencommun-chiffres-bloc-btn-bg);
}

main .section:has(.icons-grid.statistics) .columns-wrapper .columns p.button-container a.button:hover {
  text-decoration: none;
  opacity: .7;
}

main .section:has(.icons-grid.statistics) .columns-wrapper .columns p.button-container a.button::after {
  all: unset;
}

@media (width >= 900px) {
    main .section.soft-grey-bg.default-colored-text p {
    font-size: 20px;
  }
}

.policy-template main .section .default-content-wrapper > *:last-child {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--policy-template-borders);
}
  
.policy-template main .section:last-of-type .default-content-wrapper > *:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

main .section.bright-gray-bg {
background-color: var(--biencommun-team-bg-page);
}

.biencommun main .section.float-right .default-content-wrapper .heading-wrapper h1 {
  color: var(--biencommun-titre);
}

.biencommun main .section.extra-padding .default-content-wrapper h2 {
color: var(--biencommun-titre);
}

.policy-template main .section:last-of-type {
  margin-bottom: 0;
}

.biencommun main .section.light-grey-bg {
  background-color: var(--biencommun-projet-bg-page);
}

main .section.light-grey-red-bg {
  background-color: var(--biencommun-chiffres-bloc-bg);
}

.policy-template main .last-modified {
  font-size: 14px;
  display: block;
  padding: 0 20px 65px;
  letter-spacing: 0.02em;
  line-height: var(--body-line-height);
  font-weight: var(--body-font-weight);
  max-width: 1280px;
  margin: 0 auto;
}

@media (width >= 900px) {
main .section.float-right .default-content-wrapper .content-wrapper ul li {
 font-size: 19px;
}

main .section.float-right .default-content-wrapper .content-wrapper p{
  font-size: 19px;
}

.policy-template main .last-modified {
    font-size: var(--body-font-size-m);
    padding: 0 80px 145px;
  }
}

.policy-template main .last-modified.policy-update {
  margin-top: 1.5em;
}

.policy-template main .section .default-content-wrapper li::marker {
  color: var(--policy-template-borders);
}

main .section.colored-text u {
  color: var(--default-colored-text);
  text-decoration: none;
}

.biencommun main .section.colored-text u {
  color: var(--biencommun-team-cat-titre);
}

.biencommun main .section.colored-text strong > em {
  color: var(--biencommun-text-color-4);
}

.policy-template main .default-content-wrapper p u,
.policy-template main .default-content-wrapper p strong u {
  text-decoration: none;
  color: var(--default-colored-text);
}

.policy-template main .default-content-wrapper p strong u {
  font-weight: bold;
  color: var(--policy-template-link-color);
}

main .section.table-container.accordion-container .default-content-wrapper h2{
    color: var(--team-cat-titre); 
    font-size: var(--heading-font-size-l);
    margin-bottom: 50px;
    padding: 15px 0;
    text-transform: none;
}

main .section.table-container.accordion-container .default-content-wrapper:nth-child(1) h2 {
    margin-top: 30px;
}

main .section.table-container.accordion-container .default-content-wrapper:nth-child(3) h2 {
    margin-top: 60px;
}

main .section.table-container.accordion-container{
  margin-bottom: 0;
}

main .section:has(.icons-grid.statistics) {
    padding: 40px 0;
  }

@media (width >= 600px) {
  main .section:has(.icons-grid.statistics) {
    padding: 100px 0;
  }

  /* added because of generic selector rule: .columns.buttons > div > div */
  main .section:has(.icons-grid.statistics) .columns-wrapper .columns > div > div {
    flex: unset;
  }

  .policy-template main .section .default-content-wrapper {
    padding-top: 30px;
  }

  .policy-template main .section .default-content-wrapper > *:last-child {
  padding-bottom: 50px;
  border-bottom: 1px solid var(--policy-template-borders);
  }

 main .section.float-right .default-content-wrapper .content-wrapper ul li{
  padding-left: 70px;
 }

  main .section.float-right .default-content-wrapper .content-wrapper ul li::before {
  left: 50px;
}

}

@media (width >= 900px) {
  .policy-template main .default-content-wrapper h2 {
    padding-top: 100px;
  }

  .policy-template main .section .default-content-wrapper li {
    font-size: var(--body-font-size-m);
  }

  main .section:has(.icons-grid.statistics).cards-wrapper {
    padding: 0;
  }

  main .section:has(.icons-grid.statistics) .columns-wrapper .columns > div {
    gap: 65px;
  }
}


/* Mobile responsive for colorful class */
@media (width >= 600px) {
  main .section.colored-text p{
    font-size: 40px;
    letter-spacing: 2.4px;
    line-height: normal;
    padding-top: 40px;
    padding-bottom: 100px;
  }

  /* Override for combination at mobile sizes */
  main .section.colored-text.warm-grey-bg p {
    font-size: 24px ; /* Slightly larger for mobile */
    padding-top: 20px ;
    padding-bottom: 50px ;
  }
}

/* Mobile responsive for the combination */
@media (width >= 900px) {
  main .section.colored-text.warm-grey-bg p {
    font-size: 40px;
  }

  main .section:has(.icons-grid) .cards-wrapper {
    padding: 0 80px;
  }

  main .section:has(.icons-grid) .default-content-wrapper {
    padding: 0 80px;
  }

  .da-live-preview .full-width.carousel-container .carousel.hero-banner.vertical:not(.scrollable) .carousel-slides-container {
    height: 700px;
  }
}

/* Larger screen responsive for colorful class */
@media (width >= 1200px) {
  header {
    height: var(--header-height);
  }

  .fondations.homepage main {
    margin-top: calc(-1 * var(--header-height));
  }
  
  main .section.colored-text p{
    box-sizing: border-box;
    font-size: 40px; 
    font-family: Antarctica, sans-serif; 
    -webkit-font-smoothing: antialiased; 
    font-weight: 400; 
    line-height: normal; 
    letter-spacing: 2.4px; 
    text-align: left; 
  }

  main .section.colored-text.warm-grey-bg p {
    font-size: 42px; /* Slightly larger for large screens */
  }

  .da-live-preview .full-width.carousel-container .carousel.hero-banner.vertical:not(.scrollable) .carousel-slides-container {
    height: 760px;
  }
}