
/* Fonts */
@font-face {
    font-family: 'Figtree-Bold';
    src: url('../fonts/Figtree-Bold.woff2') format('woff2'), 
    url('../fonts/Figtree-Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Figtree-Regular';
    src: url('../fonts/Figtree-Regular.woff2') format('woff2'), 
    url('../fonts/Figtree-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Figtree-ExtraBold';
    src: url('../fonts/Figtree-ExtraBold.woff2') format('woff2'), 
    url('../fonts/Figtree-ExtraBold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'DelaGothicOne-Regular';
    src: url('../fonts/DelaGothicOne-Regular.woff2') format('woff2'), 
    url('../fonts/DelaGothicOne-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Reset and general Layout */
html {scrollbar-gutter: stable;}
body, html {font-family: "Figtree-Regular", Arial, "sans-serif"; color: #29265b !important;;}
.post, .page {margin: 0;}
.flex-container {display: flex; min-height: 100vh; flex-direction: column;}
.flex-container-main {flex: 1;}
.container {padding:0 13vh;}
.container-inner {display:flex; flex-direction:column; width: 100%; border-top: 10px solid #0f70b7;}
body.page-template-page-millefeuille .container-inner {border-top: 10px solid #f39208;}
#header-banner-outer .container {padding:0;}

/* Background */
body.page-template-page-enfamille {
    background-image: url('../images/bkg-bleu-01.svg'), url('../images/bkg-bleu.svg');
    background-attachment: fixed, fixed;
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    background-position-x: -65px, 1200px; 
    background-position-y: -130px, 250px;
    background-size: 43vw, 43vw;
}
body.page-template-page-millefeuille {
    background-image: url('../images/bkg-orange.svg'), url('../images/bkg-orange.svg');
    background-attachment: fixed, fixed;
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    background-position-x: 110px, 1205px;
    background-position-y: -270px, 350px;
    background-size: 24vw, 24vw;
}

/* Standard tags hacks */
h1 {font-size:1.4em!important; }
h2 {font-size:1.2em!important; }
h3 {font-size:1.1em!important; }
.entry-header.notformobile h1 {margin-top:0;}
h1, h2, h3, h4, h5 {line-height:1.2em; font-family: "Figtree-ExtraBold"; font-weight: 100;}
h4 {margin:3px 0 5px 0; padding:0;  }
h4 + p {margin-top:0; padding-top:0; }
ul, ol, .wp-block-list {margin:0 0 1.5em 0;}
p {margin-bottom:.5em!important;}

/* Header banner */
#header {background-color: transparent; }
#header.sticky {height:90px; background-color:rgb(216, 232, 243);}
body.page-template-page-millefeuille #header.sticky {height:90px; background-color:#ffddae;}
#header-banner {display:flex; justify-content:space-between; min-height:150px;}

.header-banner-column {display:flex; flex-direction:row; align-items:center; width:50%;}
#header.sticky .header-banner-column {align-items:flex-start;}
.header-banner-column:last-child {align-items:flex-start; justify-content:flex-end;}
.site-branding {display:flex; height:100%; align-items:center; width:13vh;}
.site-branding a {display:flex;}
.site-branding img {width:11vh;}
body.page-template-page-millefeuille .site-branding img {margin-top: 30px;}
#header.sticky #header-banner {min-height:90px; height:90px;}
#header.sticky .site-branding {width:13vh; justify-content:center; align-items:flex-start; margin:8px 0 0 0;}
#header.sticky .site-branding img {width:70px; z-index: 10;}

.site-tagline {font-size: clamp(24px, 2vw, 50px); padding: 0; color: #0f70b7; font-family: "Figtree-Bold"; margin-top: 5vh;}
body.page-template-page-millefeuille .site-tagline {color: #f39208;}
.site-tagline span {color: #29265b;}
#header.sticky .site-tagline {font-size: clamp(24px, 1.4vw, 50px); margin:20px 0 0 0;}

#header.sticky #header-navigation {position:absolute; width:100%; top:61px;}
#header-switcher {width:300px; display:flex; position:relative;}
#header-switcher a {height:135px; width:100%; display:flex; overflow:hidden;}
body.page-template-page-enfamille #header-switcher a {background-image:url(../images/switcher-millefeuille.svg); background-repeat:no-repeat; background-position-y:0; background-position-x:50px;}
body.page-template-page-millefeuille #header-switcher a {background-image: url(../images/switcher-enfamille.svg); background-repeat:no-repeat; background-position-y:0; background-position-x:30px;}
body.page-template-page-enfamille #header-switcher a:hover {background-image:url(../images/switcher-millefeuille-hover.svg); }
body.page-template-page-millefeuille #header-switcher a:hover {background-image: url(../images/switcher-enfamille-hover.svg); }
#header.sticky #header-switcher a {position:relative;}
body.page-template-page-enfamille #header.sticky #header-switcher a {top:-46px;}
body.page-template-page-millefeuille #header.sticky #header-switcher a {top:-37px; width:80%;}

#primary-menu li {margin-right:50px; padding:0; line-height:1.8em; position: relative;}
#primary-menu li a {text-decoration:none; color:#29265b; font-family: "Figtree-ExtraBold"; font-size:1.2em;}
#primary-menu li a:hover {color:#0f70b7;}
#primary-menu li.current-menu-item a, #primary-menu li.current-menu-ancestor a, #primary-menu li.current_page_item a, #primary-menu li.current_page_ancestor a {color: #f39208;}

/* Sous-menu niveaux deux et inférieurs */
.main-nav {position: relative; z-index: 100;}
.submenu-wrapper {position:absolute; width:100%; left:0; z-index:100; background:transparent;  overflow:hidden; /* État initial pour l'animation */
    opacity: 0;
    height: 0;
    transform: translateY(0px);
    transition: opacity 0.3s ease-in-out, 
                height 0.3s ease-in-out,
                transform 0.3s ease-in-out;
    pointer-events: none; /* Désactive les interactions quand caché */}
body.header-is-stuck .submenu-wrapper {position:fixed; top:90px;}
.submenu-wrapper.active {opacity: 1; transform: translateY(0); pointer-events: auto; }
.submenu-wrapper .container {height:100%; position: initial;}
.submenu-container {background-color: #0f70b7; color: #fff; font-family: "Figtree-ExtraBold"; height:100%; padding: 10px 20px 20px;}
body.page-template-page-millefeuille .submenu-container {background-color: #f39208;}
.submenu-content ul {margin:0; padding:0; list-style:none;}
.submenu-content.first-item-submenu ul {padding-left:20px}
.submenu-content li {padding:6px 0;}
.submenu-content li.current-menu-item a {color: #f39208;}
body.page-template-page-millefeuille .submenu-content li.current-menu-item a {color: #29265b;}


/* Cache les sous-menus natifs de WordPress */
.primary-menu-list .sub-menu {display: none !important; position:absolute; top:100%}

/* Templates Layout */
#display-columns { display:flex; width:100%; flex-direction:row-reverse; justify-content: space-between; margin-top:2em;}
#side-column, #main-column {display:flex; flex-direction:column; width:46%; overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; hyphens: auto;}
.side-column-visu img {max-width:550px; width:100%;}
.display-columns {display:flex; width:100%; flex-direction:row; justify-content: space-between; flex-wrap: wrap;}
.display-column {display:flex; flex-direction:column; width:46%;}
.display-column.display-column-spacebetween {justify-content: space-between;}
#display-fullpage {display:flex; width:100%; flex-direction:column; justify-content:flex-start; margin-top:2em;}

/* Footer */
.site-footer { background-color: #0f70b7; color: white; padding:0 20px 20px 20px; margin-top: 50px; font-size: .8em;} 
body.page-template-page-millefeuille .site-footer { background-color: #f39208; }
.site-footer .container {background-image: url('../images/signature-enfamille-footer.svg'); background-position:0 -22px; background-repeat:no-repeat; background-size:22vh;}
body.page-template-page-millefeuille .site-footer .container {background-image: url('../images/signature-millefeuille-footer.svg'); background-position:0 -22px; background-repeat:no-repeat; background-size:22vh;}
.site-footer .display-columns {padding-top:20px;}
.site-footer .display-column:first-child { padding-left:100px;}
.site-footer .display-column:last-child { align-items:flex-end; text-align:right; font-family:"Figtree-ExtraBold"; text-transform:uppercase; font-size:.8em;}
.site-footer .display-column:last-child a {text-decoration:none; color:#fff;}
.site-footer .display-column:last-child a:hover {color:#29265b}
#footer-navigation {margin:0; padding:0; list-style:none;}
#footer-navigation li {display: inline-block; padding-right:15px;}
#footer-navigation li a {color:#fff;}
#footer-social {margin:4px 0 20px 0;}
#footer-partenaires {display:flex; flex-direction:row; justify-content:flex-end; margin:5px 0 ;}
.partenaire-logo {height:45px; display:flex; justify-content:flex-end; flex-direction: column; padding-right:10px;}
.partenaire-logo:last-child {padding-right:0;}
.partenaire-logo.aidejeunesse img {height:65%;}
.partenaire-logo.familleaccueil img {height:100%;}

/* Social networks */
.social {width:25px; height:auto; display:flex;}
.list-social {margin:0; padding:0; list-style:none;}
.list-social li {display:inline-block; }

/* Better section navigation */
ul.bsn-list {margin:0 50px 0 0; padding:0; list-style:none; line-height:1.2em;}
ul.bsn-list > .page_item {padding:10px 0 10px 0; border-top:1px solid #e5e5e5;}
ul.children {margin:10px 0; padding:0 0 0 15px; list-style:square; line-height:1.2em;}
.page_item {padding:0;}
.page_item a, .page_item a:visited {text-decoration:none; color:#666}
.page_item a:hover, .page_item a:visited:hover {color: #0f1113}
.current_page_item a, .current_page_item > a:visited {color:#0f70b7}
.sub-menu .current_page_item a, .sub-menu .current_page_item > a:visited, .sub-menu .menu-item a, .sub-menu .menu-item > a:visited {color:#fff; text-decoration:none; font-size:1.2em;}
.sub-menu .menu-item a:hover {text-decoration: underline;}
.sub-menu .current_page_item a, .sub-menu .current_page_item > a:visited, .sub-menu .current_page_item a:hover, .sub-menu .current_page_item a:visited:hover {color:#f39208; text-decoration:none; cursor:default}
#contextual-nav, body.no-better-section-nav #contextual-nav {display:none;}
body.better-section-nav #contextual-nav {display:inline-block;}

/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky { position:fixed; top:0; width:100%; z-index:30; transition:all 1s ease-out; animation:slide-down 1s;}
@keyframes slide-down {
	0% 	 { opacity: 0; transform: translateY(-100%);} 
    100% { opacity: 1; transform: translateY(0);} 
}

/* Mobile navigation slicknav */
#mainmenu-mobile, #mobile-homelink-area, #mobile-language-area, .formmobile, .formobile {display:none;}
.notformobile {display:inline-block;}
body.page-template-page-enfamille .slicknav_nav .mobile-menu-footer a {background-color:#ffddae;}
body.page-template-page-enfamille .slicknav_nav .mobile-menu-footer a:hover {background-color:#f39208;}
body.page-template-page-millefeuille .slicknav_nav .mobile-menu-footer a {background-color:rgb(216, 232, 243);}
body.page-template-page-millefeuille .slicknav_nav .mobile-menu-footer a:hover {background-color:#0f70b7;}

/* Home switcher */
#home {background-image:url("../images/bkg-home.svg"); background-size:120%; width:100%; height:100%; background-position:center;}
#home.switcher-01-inactive {background-image:url("../images/bkg-home-02.svg"); background-size:120%; width:100%; height:100%; background-position:center;}
#home.switcher-02-inactive {background-image:url("../images/bkg-home-01.svg"); background-size:120%; width:100%; height:100%; background-position:center;}
.home-inner {display:flex; width:100%; justify-content:center;}
#home-switcher {display:flex; flex-direction:row; width:100%; height:100vh; justify-content:space-between; align-items:center; text-align:center;}
.home-switcher-column {width:28%; display:flex; flex-direction:column; justify-content:center; text-decoration:none; transition:transform 0.5s ease;}
.home-switcher-picto-container {width:100%; height:auto; aspect-ratio:1 / 0.8; display:flex; align-items:flex-start; justify-content:center; }
.home-switcher-picto { background-repeat:no-repeat;  background-size:contain; background-position:center; transition:transform 0.5s ease; width:100%; height:100%;}
#home-switcher-01 .home-switcher-picto {background-image:url("../images/logo-enfamille.svg"); width:90%; height:90%;}
#home-switcher-02 .home-switcher-picto {background-image:url("../images/logo-millefeuille-parrainage.svg"); width:75%; height:75%;}
.home-switcher-column:hover  {transform:scale(1.2);}
.home-switcher-tagline {font-family: "Figtree-Bold";font-size:1.8em; line-height:1.2em; color:#29265b}
.home-switcher-tagline span {color: #f39208; font-size:1.2em;}
.home-switcher-column:first-child span {color: #0f70b7;}
#home-switcher-02.inactive, #home-switcher-01.inactive {transform:scale(0.8);}
#home-switcher-01.inactive .home-switcher-picto {background-image:url("../images/logo-enfamille-inactive.svg"); }
#home-switcher-01.inactive .home-switcher-tagline, #home-switcher-01.inactive  .home-switcher-tagline span {color:#ffddae;}
#home-switcher-02.inactive .home-switcher-picto {background-image:url("../images/logo-millefeuille-parrainage-inactive.svg"); }
#home-switcher-02.inactive .home-switcher-tagline, #home-switcher-02.inactive  .home-switcher-tagline span {color:rgb(216, 232, 243)}

/* News - Accueil de rubrique */
#home-news {display:flex; flex-wrap:wrap; width:100%; flex-direction:row; gap:38px 3.5%; height:auto; min-height:fit-content; margin:3.5% 0 7% 0; align-items:stretch;}
.news-item {display: flex; flex-wrap: wrap; width:31%; flex-direction:column; text-decoration:none; color: #29265b;} 
.news-item-picture {aspect-ratio: 1/0.85; display:flex; overflow:hidden; position:relative;}
.news-item-picture img {width:100%; height:100%; object-fit:cover; display:flex; transition:transform 0.3s ease;}
.news-item-data {height:250px; display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-start; background-color: #fff; position: relative;}
.news-item-data-inner {border:9px solid #0f70b7; padding:14px; display:flex; flex-direction:column; width:100%; height:100%; overflow:hidden; overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; hyphens: auto; }
.theme-millefeuille .news-item-data-inner {border:9px solid #f39208;}
.news-item:nth-child(2n+1) .news-item-data-inner {border:0; padding:24px; }
.news-item-data h2 {margin-top:0px; color: #29265b; font-size:1.2em;}
.news-item-excerpt {display:flex;}
.news-item:hover {color: #fff} 
.news-item:hover .news-item-data {background-color: #0f70b7; color: #fff} 
.theme-millefeuille .news-item:hover .news-item-data {background-color:#f39208; color: #fff} 
.news-item:hover .news-item-data h2 {color: #fff} 
.news-item:hover .news-item-picture img {transform: scale(1.2); }
.excerpt-big {display:none;}
.news-item-plus-holder {position:absolute; width:30px; height:30px; bottom:23px; right:23px; background-repeat:no-repeat;}
body.page-template-page-enfamille-accueil .news-item-plus-holder, body.page-template-page-enfamille .news-item-plus-holder {background-image: url(../images/plus-bleu.svg);}
body.page-template-page-enfamille-millefeuille .news-item-plus-holder, body.page-template-page-millefeuille .news-item-plus-holder {background-image: url(../images/plus-orange.svg);}
.news-item:hover .news-item-plus-holder {position:absolute; background-image: url(../images/plus-blanc.svg);}

#home-news .news-item:first-child {width:100%; flex-direction:row; justify-content:space-between;}
#home-news .news-item:first-child .news-item-picture {width:31%;}
#home-news .news-item:first-child .news-item-data {width:65.5%; height:100%; background-color: transparent;}
#home-news .news-item:first-child .news-item-data-inner {border:0; padding:12px 26% 0 0;}
#home-news .news-item:first-child .excerpt-big {display:inline-block;}
#home-news .news-item:first-child .excerpt-small {display:none;}
#home-news .news-item:first-child:hover {background-color: #0f70b7; color: #fff}
.theme-millefeuille #home-news .news-item:first-child:hover {background-color: #f39208; color: #fff}

#home-banner .banner-picture {display:flex; width:100%; aspect-ratio:16/10; background-size:cover; background-position:center; justify-content:center; background-repeat:no-repeat;  position: relative;} 
#home-banner .banner-picture .banner-overlay { position: absolute; top: 0; left: 0;  right: 0; height: 30%;  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent); pointer-events: none; }
#home-banner .banner-picture span.banner-text {color: #fff; padding:5%; font-size: clamp(20px, 2.8vw, 35px); text-align:center; font-family: "Figtree-Bold"; text-shadow: 0 0 6px rgba(0, 0, 0, 0.5); position: relative; z-index: 2;}

/* News - Page de détail */
.actus #display-columns { flex-direction:row; margin-bottom:70px;}
.actus .side-column-visu {aspect-ratio:1/0.85; display:flex; overflow:hidden; position:relative;}
.actus .side-column-visu img {max-width:100%; width:100%; height:100%; object-fit:cover; display:flex;}
#more-news {display:flex; flex-wrap:wrap; width:100%; flex-direction:row; gap:38px 3.5%; height:auto; min-height:fit-content; margin:10px 0 7% 0; align-items:stretch;}

/* Equipe - Liste des membres */
#team-listing {display:flex; flex-direction:row; flex-wrap:wrap; width:100%;}
.team-item {display:flex; flex-direction:column; flex-wrap:wrap; width:25%; justify-content:flex-start; margin:0 0 40px 0;}
.team-item-inner {display:flex; flex-direction:column; flex-wrap:wrap; width:90%}
.team-item-data {word-wrap:break-word; overflow-wrap:break-word; word-break:break-word; hyphens:auto; white-space:normal; }
.team-item-picture  {aspect-ratio:1 / 1; overflow:hidden; display:flex; width:71%; }
.team-item-picture img  {width:100%; height:100%; object-fit: cover;}

/* Buttons */
.button-std { border-radius:20px; background-color: #868686; color: #29265b; padding:5px 15px; font-weight:100; margin:10px 0; display:inline-block; font-size:1.2em;}
.site-footer .display-column:last-child a.button-std { background-color: #fff; color: #29265b;}
.post-edit-link { border-radius:20px; background-color: #e5e5e5; color: #999; padding:5px 15px; font-weight:100; margin:10px 0; display:inline-block; text-decoration: none; }
.button-std:hover, .site-footer .display-column:last-child a.button-std:hover { background-color:#05104e; color: #fff; }
.post-edit-link:hover { background-color:#999; color:#fff;}
.buttons-holder {margin:15px 0 ;}
.edit-link {margin:40px 0 0 0; position:relative; display:inline-block;}

#side-map {margin: 20px 0 30px 0;}

/* Forms */
body.page-template-page-millefeuille-form .entry-header.notformobile h1, body.page-template-page-enfamille-form .entry-header.notformobile h1 {text-transform: uppercase;}
body.page-template-page-millefeuille-form, body.page-template-page-enfamille-form {color:#fff !important;}
body.page-template-page-millefeuille-form #primary {background-color: rgba(243,146,8,0.85); padding-bottom: 50px;}
body.page-template-page-enfamille-form #primary {background-color: rgba(15,112,183,0.85); padding-bottom: 50px;}
body.page-template-page-millefeuille-form input[type="text"], 
body.page-template-page-millefeuille-form input[type="email"], 
body.page-template-page-millefeuille-form input[type="tel"], 
body.page-template-page-millefeuille-form textarea {color: #4a2e05; border: 1px solid #fff; border-radius: 0;  padding: 5px; width: 100%; background: rgba(255,255,255,0.9);}
body.page-template-page-millefeuille-form button, body.page-template-page-millefeuille-form input[type="button"], body.page-template-page-millefeuille-form input[type="reset"], body.page-template-page-millefeuille-form input[type="submit"] {border-color: #fff;  border-radius: 0px;  background: #fff;  color: rgba(0, 0, 0, 0.8); line-height: 1;  padding: 0.6em 1em;  display: flex;  cursor: pointer; text-transform: uppercase; color:#f39208}
body.page-template-page-millefeuille-form button:hover, body.page-template-page-millefeuille-form input[type="button"]:hover, body.page-template-page-millefeuille-form input[type="reset"]:hover, body.page-template-page-millefeuille-form input[type="submit"]:hover { border-color: #333; background: #333; color:#fff}

body.page-template-page-enfamille-form .wpcf7-not-valid-tip {color: #fff;}
body.page-template-page-millefeuille-form .site-footer, body.page-template-page-enfamille-form .site-footer  {margin-top:0px;}

/* Responsive breakpoints */
@media (max-width:1399px) {
    #header-navigation .container, #primary .container, .submenu-wrapper .container {padding:0;}
    #header.sticky .site-branding { width:8vh; justify-content: flex-start;}
    #header.sticky .site-branding img {width:50px;}
    .site-footer .container {padding: 0 0 0 13vh;}
    #home-switcher {width:80%;}
    #header-switcher {width:230px;}
    #header-switcher a {height:100px;}
    body.page-template-page-enfamille #header-switcher a {background-position-x: 40px;}
}
@media (max-width:1119px) {
    #primary-menu li {margin-right: 35px;}
    .home-switcher-tagline {font-size:1.2em;}
    .home-switcher-tagline span {font-size:1.1em;} 
}
@media (max-width: 990px) {
    html {scrollbar-gutter:auto;}
    body.page-template-page-enfamille, body.page-template-page-millefeuille {background-image:none;} 
    .formmobile, .formobile {display:inline-block;}
    .notformobile {display:none;}
    .container {padding: 0; }
    #display-columns {width:100%; flex-direction:column; flex-wrap: wrap; margin-top:0;}
    .container-inner {border-top:none;}
    #side-column, #main-column {width:100%;}
    .entry-header {margin-top:20px;}
    main {margin-top:50px;} /* pour passer sous le slicknav */
    #mobile-homelink-area {display:inline-block; position:fixed; width: 45px; height: auto; top: 7px; margin: 0 auto; left: 20px; z-index: 102;}
    body.page-template-page-millefeuille #mobile-homelink-area {display:inline-block; position:fixed; width: 65px; height: auto; top: 15px; margin:0 auto; left: 20px; z-index: 102;}
    .site-language-switcher .lang-item a {font-size: 1.2em;}
    .site-footer {padding: 0 0 20px 0;}
    .site-footer .container {background:none; max-width:900px; padding:0;} 
    .site-footer .display-column:first-child {padding-left:0;} 
    .news-item {width: 48.25%;}
    .news-item-data {height: 270px;}
    #home-news {margin:50px 0;}
    .news-item-data h2 {font-size: 1.2em!important;}
    #home-news .news-item:first-child {width:48.25%; flex-direction:column; justify-content:flex-start;}
    #home-news .news-item:first-child .news-item-picture {aspect-ratio: 1/0.85; width:auto;}
    #home-news .news-item:first-child .news-item-data {width:auto; height:270px; background-color: #fff;}
    #home-news .news-item:first-child .news-item-data-inner, .news-item:nth-child(2n+1) .news-item-data-inner, #home-news .news-item-data-inner, #more-news .news-item:first-child .news-item-data-inner, #more-news .news-item-data-inner {border:7px solid #0f70b7; padding:14px;}
    .theme-millefeuille #home-news .news-item:first-child .news-item-data-inner, .theme-millefeuille .news-item:nth-child(2n+1) .news-item-data-inner, .theme-millefeuille #home-news .news-item-data-inner, .theme-millefeuille #more-news .news-item:first-child .news-item-data-inner, .theme-millefeuille #more-news .news-item-data-inner {border:7px solid #f39208; padding:14px;} 
    #home-news .news-item:first-child:hover, #home-news .news-item:first-child:hover .news-item-data {background-color:#0f70b7; color: #fff}
    .theme-millefeuille #home-news .news-item:first-child:hover, .theme-millefeuille #home-news .news-item:first-child:hover .news-item-data {background-color:#f39208; color: #fff}
    #home-news .news-item:first-child .excerpt-big {display:none;}
    #home-news .news-item:first-child .excerpt-small {display:inline-block;}
    .team-item {width:33.33%; }
}
@media (max-width: 767px) {
    .site-footer .container, body.page-template-page-millefeuille .site-footer .container {background:none;}
    .display-columns {flex-direction:column; justify-content:center;}
    .display-column {width:100%;}
    .site-footer .display-column:first-child { padding-left:0;}
    .site-footer .display-column:last-child { align-items:flex-start; text-align:left;}
    #footer-navigation li {display:block; padding-right:0;}
    #home, #home.switcher-01-inactive, #home.switcher-02-inactive {background-size: cover;}
    .home-switcher-tagline {font-size:1em;}
    .home-switcher-tagline span {font-size:1.1em;}
    #home-switcher {width:95%;}
    .home-switcher-column {width:45%;}
    .news-item-data h2 {font-size: 1em!important;}
    .news-item-excerpt {display:none;}
    .news-item-data, #home-news .news-item:first-child .news-item-data {height:190px;}
    .news-item-data-inner, #home-news .news-item:first-child .news-item-data-inner, #home-news .news-item-data-inner {border: 7px solid #0f70b7;}
    .theme-millefeuille .news-item-data-inner, .theme-millefeuille #home-news .news-item:first-child .news-item-data-inner, .theme-millefeuille #home-news .news-item-data-inner {border: 7px solid #f39208;}
    .team-item {width:50%; }
}
@media (max-width: 480px) {
    #home-switcher {width: 100%; flex-direction:column; justify-content:center;}
    .home-switcher-column {width:60%; margin-bottom:50px;}
    #home-news {gap:30px; width:100%; }
    .news-item, #home-news .news-item:first-child {width:100%;}
    .news-item-data, #home-news .news-item:first-child .news-item-data {height:auto;}
    .news-item-data-inner, #home-news .news-item:first-child .news-item-data-inner, #home-news .news-item-data-inner {border: 5px solid #0f70b7; }
    .theme-millefeuille .news-item-data-inner, .theme-millefeuille #home-news .news-item:first-child .news-item-data-inner, .theme-millefeuille #home-news .news-item-data-inner {border: 5px solid #f39208; }
    .news-item-data h2 {font-size: 1.1em!important;}
    .news-item-excerpt {display:flex; margin-bottom:50px;}
    .team-item {width:100%;}
    .team-item-picture {width: 50%;}
}