/*
Theme Name: Target Malaria 2.4
URI:        targetmalaria.org
Author:     Target Malaria
Author URI: https://targetmalaria.org
Text Domain: target-malaria
Version:    2.4
*/


/* =============================================
   REBOOT
   ============================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
  display: block;
}

body {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  background-color: var(--wp--preset--color--white);
}

[tabindex="-1"]:focus:not(:focus-visible) {
  outline: 0 !important;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

abbr[title],
abbr[data-original-title] {
  text-decoration: underline dotted;
  cursor: help;
  border-bottom: 0;
  text-decoration-skip-ink: none;
}

address {
  margin-bottom: 1rem;
  font-style: normal;
  line-height: inherit;
}

ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1rem;
}

ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}

dt {
  font-weight: bold;
}

dd {
  margin-bottom: 0.5rem;
  margin-left: 0;
}

blockquote {
  margin: 0 0 1rem;
}

b,
strong {
  font-weight: 600;
}

small {
  font-size: 80%;
}

sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sub { bottom: -0.25em; }
sup { top: -0.5em; }

pre,
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

pre {
  display: block;
  margin-top: 0;
  margin-bottom: 1rem;
  overflow: auto;
  font-size: 87.5%;
  color: #212529;
}

pre code {
  font-size: inherit;
  color: inherit;
  word-break: normal;
}

figure {
  margin: 0 0 1rem;
}

img {
  vertical-align: middle;
  border-style: none;
}

svg {
  overflow: hidden;
  vertical-align: middle;
}

table {
  border-collapse: collapse;
}

caption {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: #6c757d;
  text-align: left;
  caption-side: bottom;
}

th {
  text-align: inherit;
}

label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

button {
  border-radius: 0;
}

button:focus {
  outline: 1px dotted;
  outline: 5px auto -webkit-focus-ring-color;
}

input,
button,
select,
optgroup,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

select {
  word-wrap: normal;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button:not(:disabled),
[type="button"]:not(:disabled),
[type="reset"]:not(:disabled),
[type="submit"]:not(:disabled) {
  cursor: pointer;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

input[type="radio"],
input[type="checkbox"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
  -webkit-appearance: listbox;
}

textarea {
  overflow: auto;
  resize: vertical;
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

legend {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  line-height: inherit;
  color: inherit;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  outline-offset: -2px;
  -webkit-appearance: none;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}

output {
  display: inline-block;
}

summary {
  display: list-item;
  cursor: pointer;
}

template,
[hidden] {
  display: none !important;
}


/* =============================================
   TYPOGRAPHY UTILITIES
   ============================================= */

.small,
small {
  font-size: 80%;
  font-weight: 400;
}

.mark,
mark {
  padding: 0.2em;
  background-color: #fcf8e3;
}

.list-unstyled {
  padding-left: 0;
  list-style: none;
}

code {
  font-size: 87.5%;
  color: #e83e8c;
  word-wrap: break-word;
}

a > code {
  color: inherit;
}

kbd {
  padding: 0.2rem 0.4rem;
  font-size: 87.5%;
  color: var(--wp--preset--color--white);
  background-color: #212529;
  border-radius: 0.2rem;
}

kbd kbd {
  padding: 0;
  font-size: 100%;
  font-weight: 700;
}

.strong,
.bold {
  font-weight: 600;
}


/* =============================================
   CSS VARIABLES & BASE
   ============================================= */

:root {
  --gutter: 15px;
  --headerHeight: 80px;
}

@media screen and (min-width: 576px) {
  :root { --gutter: 30px; }
}

@media (min-width: 769px) {
  :root { --gutter: 45px; }
}

@media (min-width: 992px) {
  :root { --gutter: calc((100vw - 960px) / 2); }
}

@media (min-width: 1200px) {
  :root { --gutter: calc((100vw - 1140px) / 2); }
}

html,
body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
}


/* =============================================
   LAYOUT — CONTAINER
   ============================================= */

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding: 0;
  width: calc(100% - var(--gutter) * 2);
}


/* =============================================
   LAYOUT — GRID
   ============================================= */

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}


/* =============================================
   LINK UTILITIES
   ============================================= */

a.no-underline {
  text-decoration: none;
}

a.no-hover-underline {
  text-decoration: none;
}

a.no-hover-underline:hover {
  text-decoration: none;
  opacity: 0.9;
}

a.no-underline-hover {
  text-decoration: none;
  color: inherit;
}

a.no-underline-hover:hover {
  text-decoration: none;
  opacity: 0.9;
}


/* =============================================
   ANIMATIONS
   ============================================= */

.fade {
  opacity: 0;
  transition: opacity ease-out 2.2s;
}

.fade.in {
  opacity: 1;
}

.fade + .fade {
  transition-delay: 0.6s;
}

.fade + .fade + .fade {
  transition-delay: 0.9s;
}

.fade.wait {
  transition-delay: 0.25s;
}


/* =============================================
   HEADER
   ============================================= */

header {
  box-sizing: border-box;
  height: var(--headerHeight);
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 var(--gutter);
  position: fixed;
  top: 0;
  gap: 2rem;
  z-index: 11;
}

@media (min-width: 992px) and (max-width: 1199px) {
  header {
    padding: 10px var(--gutter);
    font-size: 88%;
  }
}

@media (max-width: 991px) {
  header,
  body.fullHeader.visible_logo header,
  body.fullHeader header.scrolling,
  body.fullHeader.menuOpen header {
    background-color: var(--wp--preset--color--white);
  }

  body.fullHeader header {
    background-color: transparent;
  }
}

header.scrolling {
  top: 0;
  background: var(--wp--preset--color--white);
  transition: all linear 0.1s;
}

.admin-bar header,
.admin-bar header.scrolling {
  top: 32px;
}


/* =============================================
   NAVIGATION
   ============================================= */

#menu__btn {
  color: var(--wp--preset--color--dark-green);
  display: none;
  position: absolute;
  right: var(--gutter);
  top: 15px;
  font-size: 200%;
  cursor: pointer;
}

@media (max-width: 991px) {
  #menu__btn {
    display: block;
  }
}
.fullHeader.light_mode #menu__btn {
  color: var(--wp--preset--color--white);
}

.fullHeader.visible_logo #menu__btn,
.fullHeader header.scrolling #menu__btn,
.scrolling #menu__btn {
  color: var(--wp--preset--color--dark-green);
}

.fullHeader.light_mode .scrolling nav.main__navigation ul:not(.main__navigation__submenu) li,
.fullHeader.light_mode .scrolling nav.main__navigation ul:not(.main__navigation__submenu) #search_btn {
  color: var(--wp--preset--color--dark-green);
}

.hide_nav nav.main__navigation{
	display:none;
}

nav.main__navigation {
  height: 100%;
  display: flex;
  flex-direction: row !important;
}

nav.main__navigation ul:not(.main__navigation__submenu) {
  list-style: none;
  margin-bottom: 0;
  font-size: 110%;
  padding: 0;
}

@media (min-width: 992px) {
  nav.main__navigation ul:not(.main__navigation__submenu) {
    display: flex;
    flex-direction: row;
    align-items: stretch;
  }
}

nav.main__navigation ul:not(.main__navigation__submenu) li {
  margin: 0;
  padding: 0 10px;
  font-weight: 600;
  font-size: 90%;
  letter-spacing: 1px;
  position: relative;
}

@media (min-width: 992px) {
  nav.main__navigation ul:not(.main__navigation__submenu) li {
    display: flex;
    align-items: center;
  }
}

nav.main__navigation ul:not(.main__navigation__submenu) li a {
  color: inherit;
  text-decoration: none;
}

nav.main__navigation ul:not(.main__navigation__submenu) li a:hover {
  color: var(--wp--preset--color--dark-green);
}

nav.main__navigation ul:not(.main__navigation__submenu) li.lang {
  font-size: 60%;
  color: var(--wp--preset--color--light-blue);
}

nav.main__navigation ul:not(.main__navigation__submenu) li.social__icons {
  font-size: 70%;
}

nav.main__navigation ul:not(.main__navigation__submenu) li.social__icons a {
  margin: 0 3px;
}

.fullHeader.light_mode nav.main__navigation ul:not(.main__navigation__submenu) li,
.fullHeader.light_mode nav.main__navigation ul:not(.main__navigation__submenu) li #search_btn {
  color: var(--wp--preset--color--white);
  background-color: transparent;
}

.fullHeader.light_mode nav.main__navigation ul:not(.main__navigation__submenu) li a {
  background-color: transparent;
}

nav.main__navigation ul.main__navigation__submenu {
  list-style: none;
  margin-bottom: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  font-size: 70%;
  padding: 0;
  height: 0;
  overflow: hidden;
}

nav.main__navigation ul ul.sub-menu {
  margin: 0;
  padding: 0;
}

nav.main__navigation ul.main__navigation__submenu li {
  position: initial;
}

@media (min-width: 992px) {
  nav.main__navigation li.about_us ul.main__navigation__submenu {
    overflow: visible;
  }

  nav.main__navigation ul.main__navigation__submenu {
    font-size: 110%;
    position: absolute;
    top: 100%;
    height: auto;
    display: none;
    background: var(--wp--preset--color--white);
    list-style-type: none;
    min-width: 350px;
    left: -5px;
    box-shadow: 5px 4px 7px -2px rgba(0, 0, 0, 0.05);
  }

  nav.main__navigation ul.main__navigation__submenu.vis {
    display: block;
  }

  nav.main__navigation ul.main__navigation__submenu li {
    font-weight: normal;
    color: var(--wp--preset--color--dark-green);
    padding: 15px;
    letter-spacing: 0;
    transition: opacity cubic-bezier(0.19, 1, 0.22, 1) 0.3s;
  }

  nav.main__navigation ul.main__navigation__submenu li:hover {
    background-color: #fafafa;
  }

  nav.main__navigation ul.main__navigation__submenu li.menu-item-has-children {
    width: 600px;
  }

  .fullHeader.light_mode nav.main__navigation ul.main__navigation__submenu li {
    color: var(--wp--preset--color--dark-green);
  }
}

@media (max-width: 991px) {
  nav.main__navigation {
    display: none;
  }

  nav.main__navigation ul.main__navigation__submenu.vis {
    height: auto;
    padding-top: 15px;
  }

  nav.main__navigation ul.main__navigation__submenu li {
    font-weight: normal;
  }

  nav.main__navigation ul.main__navigation__submenu li ul li {
    font-size: 90%;
  }
}

nav.main__navigation ul.main__navigation__submenu.sub_sub {
  left: auto;
  right: 0;
  top: 0%;
  background: var(--wp--preset--color--white);
  padding: 0;
  z-index: 2;
  box-shadow: none;
}

.menuOpen nav.main__navigation {
  width: 100%;
  display: flex;
  position: absolute;
  left: 0;
  top: var(--headerHeight);
  padding-bottom: 15px;
}

.menuOpen nav.main__navigation ul {
  flex-direction: column;
  width: 100%;
  padding: 0;
  margin: 0;
  overflow-y: scroll;
  background: var(--wp--preset--color--white);
  text-align: center;
  display: flex;
  justify-content: center;
  font-size: 100%;
}

.menuOpen nav.main__navigation ul.main__navigation__submenu {
  padding: 0;
  align-items: center;
}

@media (max-width: 991px) {
  .menuOpen nav.main__navigation ul.main__navigation__submenu.vis {
    padding-top: 10px;
  }
}

.menuOpen nav.main__navigation ul.menu > li {
  padding-bottom: 15px;
  font-size: 100%;
}

.menuOpen nav.main__navigation ul li .main__navigation__submenu li {
  padding-bottom: 10px;
}

.menuOpen nav.main__navigation ul li .main__navigation__submenu li:last-child {
  padding-bottom: 0;
}

@media (max-width: 991px) {
  .menuOpen nav.main__navigation ul li,
  .menuOpen nav.main__navigation ul li a {
    color: var(--wp--preset--color--dark-green) !important;
    justify-content: center;
  }

  .menuOpen nav.main__navigation {
    height: calc(100vh - var(--headerHeight));
    padding-bottom: 0;
  }
}

.menuOpen nav.main__navigation ul li.social__icons a {
  margin: 0 7px;
}

/* Logo */
.navigation__logo {
  height: var(--headerHeight);
  width: 150px;
  background-image: url("assets/css/img/logo.png");
  background-size: 100%;
  background-position: center left;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.navigation__logo a {
  height: 100%;
  display: flex;
  align-items: center;
}

.fullHeader.light_mode .navigation__logo {
  background-image: url("assets/css/img/logo_white.png");
}

.fullHeader.light_mode .scrolling .navigation__logo,
.fullHeader.visible_logo .navigation__logo {
  background-image: url("assets/css/img/logo.png");
}


/* =============================================
   FOOTER
   ============================================= */

footer.container-fluid {
  background-color: var(--wp--preset--color--dark-green);
  padding: 45px var(--gutter) 15px;
  color: var(--wp--preset--color--white);
}

@media (max-width: 991px) {
  footer.container-fluid {
    height: auto;
    margin-top: 0;
  }
}

footer ul {
  column-count: 3;
  list-style: none;
  padding: 0;
}

footer ul .new_column {
  break-after: column;
}

footer ul li a {
  color: inherit;
}

footer ul li a:hover {
  color: var(--wp--preset--color--light-blue);
  text-decoration: none;
}

@media (max-width: 768px) {
  footer ul {
    column-count: 1;
  }

  footer ul .new_column {
    break-after: initial;
    padding-top: 1rem;
  }

  .footer__details {
    order: 0;
  }

  .footer__links {
    order: -1;
  }
}

.footer__description {
  font-size: 80%;
  margin-bottom: 30px;
}

.footer__copyright {
  font-size: 80%;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.footer_description {
  padding-top: 30px;
}

.footer__logo {
  width: 180px;
  max-width: 100%;
}

.social_media {
  margin-bottom: 2rem;
}

.social_media i {
  width: 1.3rem;
  text-align: center;
}

.footer_description,
.footer_extra_links {
  display: flex;
  gap: 5rem;
  justify-content: space-between;
}

.footer__details {
  flex: 1;
}

.footer__links {
  flex: 2;
}

.footer_social_links a {
  margin-right: 1rem;
}

.footer_membership_links a {
  margin-right: 1.5rem;
}


/* =============================================
   PAGE LAYOUT
   ============================================= */

#page-wrap {
  background-image: url("assets/css/img/mosquitos_bg.jpg");
  background-size: 100%;
  background-position: top left;
  background-repeat: no-repeat;
  min-height: 100vh;
  height: auto;
  padding: var(--headerHeight) 0 0;
}

@media (min-width: 992px) {
  body.fullHeader.light_mode #page-wrap:before{
    content: "";
    width: 100%;
    height: 30vh;
    position: absolute;
    left: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent);
    z-index: 2;
  }
}

@media (max-width: 768px) {
  #page-wrap {
    background-size: 200%;
    background-position: top center;
    padding-top: var(--headerHeight);
  }
}

@media (max-width: 991px) {
  .fullHeader #page-wrap {
    padding-top: var(--headerHeight);
  }
}

.fullHeader #page-wrap {
  padding-top: 0;
}

.page-content__inner {
  padding-top: 30px;
}

.fullHeader .page-content__inner {
  padding-top: 0;
}


/* =============================================
   ARTICLE / CONTENT
   ============================================= */

.article__content {
  padding-top: 15px;
}

.fullHeader .article__content {
  padding-top: 0;
}

.article__title {
  font-size: 3.2rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}

@media (max-width: 991px) {
  .article__title {
    font-size: 2.5rem;
  }
}

@media (min-width: 992px) {
  .article__title__container {
    order: -1;
  }
}

.fullHeader .article__title__container {
  display: none;
}

.article__content > .alignfull {
  width: 100vw;
  left: calc(-1 * var(--gutter));
  position: relative;
}

.alignfull > img {
  width: 100vw;
}

.alignleft {
  float: left;
  padding: 15px 20px 15px 0;
}

.alignright {
  float: right;
  padding: 15px 0 15px 20px;
}


/* =============================================
   BREADCRUMBS
   ============================================= */

#breadcrumbs,
ol.breadcrumb {
  background-color: var(--wp--preset--color--white);
  font-size: 80%;
  padding: 0.75rem 0;
}

#breadcrumbs,
ol.breadcrumb li,
#breadcrumbs a,
ol.breadcrumb li a,
ol.breadcrumb li.active,
ol.breadcrumb li.breadcrumb-item + .breadcrumb-item::before {
  color: var(--wp--preset--color--light-blue);
}

ol.breadcrumb li.breadcrumb-item + .breadcrumb-item::before {
  content: "\203A";
}

.breadcrumb_sep {
  padding: 0 0.5rem;
}


/* =============================================
   BUTTONS
   ============================================= */

button,
.btn,
*[role="button"] {
  border-radius: 3px;
}

.btn-primary {
  background-color: var(--wp--preset--color--light-blue);
  padding: 8px 30px;
  border: 0;
  border-radius: 0;
  line-height: 1.5;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #7db0e1;
}

.btn-primary.hasArrow {
  padding-right: 70px;
  position: relative;
}

.btn-primary.hasArrow::after {
  width: 40px;
  height: 100%;
  background-color: #79ade0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  top: 0;
  content: "\f105";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  padding-left: 0;
  transition: padding-left cubic-bezier(0.19, 1, 0.22, 1) 1s;
}

.btn-primary.hasArrow:hover::after {
  padding-left: 10px;
}


/* =============================================
   IMAGES
   ============================================= */

img[usemap],
map area {
  outline: none;
}

.wp-block-image img {
  height: auto;
}


/* =============================================
   GALLERY
   ============================================= */

#gallery {
  z-index: 1;
  min-height: 500px;
}

.wp-block-cb-carousel-v2[data-cb-pagination=true] .swiper-horizontal {
  margin-bottom: 0;
  padding-bottom: calc(var(--wp--custom--carousel-block--pagination-bullet-size, 8px) * 4);
}

.is-vertically-aligned-center.wp-block-cb-carousel-v2 .swiper-wrapper {
  align-items: center;
}

.wp-block-cb-carousel-v2.is-vertically-aligned-bottom .swiper-wrapper {
  align-items: flex-end;
}

@media (max-width: 767px) {
  .is-style-gallery_carousel .swiper-slide {
    width: 100% !important;
  }
}


/* =============================================
   PRESS RELEASE
   ============================================= */

section.press-release {
  margin-bottom: 4rem;
}

.press_release_header {
  margin-bottom: 2rem;
}

.download_press_release::after {
  content: "";
  height: 0.5rem;
  width: 4rem;
  background-color: var(--wp--preset--color--dark-green);
  display: block;
  margin: 2rem 0;
}

.press-release h1 {
  color: var(--wp--preset--color--light-blue);
  line-height: 1.2;
}

.press-release h3 {
  color: var(--wp--preset--color--dark-green);
}

.press-release h2 {
  color: var(--wp--preset--color--light-blue);
  font-weight: bold;
  border-bottom: 2px solid var(--wp--preset--color--light-blue);
  padding-bottom: 5px;
  margin-bottom: 1rem;
}

.press_release_footer {
  margin-top: 4rem;
  padding: 2rem;
  background-color: var(--wp--preset--color--light-grey);
}

.social_icons {
  color: var(--wp--preset--color--light-blue);
  padding-bottom: 1rem;
  display: flex;
  gap: 0.5rem;
}


/* =============================================
   BLOCKQUOTE
   ============================================= */

blockquote.wp-block-quote > h2 {
  position: relative;
  line-height: 1.5;
  margin-bottom: 0;
  padding-bottom: 0;
}

blockquote.wp-block-quote > h2::before,
blockquote.wp-block-quote > h2::after {
  color: var(--wp--preset--color--light-blue);
  font-size: 4rem;
}

blockquote.wp-block-quote > h2::before {
  content: '\201C';
  left: -1.9rem;
  top: -1rem;
  position: absolute;
}

blockquote.wp-block-quote > h2::after {
  content: '\201D';
  bottom: -1.3rem;
  left: 0.2rem;
  position: relative;
  line-height: 0;
}


/* =============================================
   WP BLOCKS
   ============================================= */

.wp-block-cover,
.wp-block-cover-image {
  height: auto;
  background-position: center center;
  min-height: 430px;
}

@media (max-width: 768px) {
  .wp-block-cover,
  .wp-block-cover-image {
    min-height: 80vw;
  }
}

.library .wp-block-group {
  padding: 2rem 3rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.08);
}


/* =============================================
   RESOURCE CAROUSEL
   ============================================= */

.resource_page_logo {
  height: 1.5rem;
}

.resource_page_logo.target_malaria {
  background-image: url("assets/css/img/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.resource_page_container {
  background-color: var(--wp--preset--color--light-grey);
  border: 2px solid var(--wp--preset--color--dark-green);
  border-radius: 15px;
  padding: 15px;
  height: auto;
  aspect-ratio: 3/4;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.resource_page_container .resource_page_date {
  display: inline-flex;
  flex-grow: 1;
  align-items: flex-end;
  color: var(--wp--preset--color--sandy-beige);
}

.resource_page_container::before {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 35px;
  height: 35px;
  border: 2px solid var(--wp--preset--color--dark-green);
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-left-radius: 15px;
}

.resource_page_container::after {
  content: "";
  background-color: var(--wp--preset--color--white);
  width: 35px;
  height: 49px;
  position: absolute;
  top: -16px;
  right: -36px;
  border-left: 2px solid var(--wp--preset--color--dark-green);
  transform-origin: bottom left;
  transform: rotate(-45deg);
}


/* =============================================
   MOSQUITO ANIMATION
   ============================================= */
   
.tm-mosquito-cover {
    position: relative !important;
}

.tm-mosquito-cover span.wp-block-cover__background.has-ambient-radial-lights-gradient-background {
  background-size: 160% 160%, 160% 160%, 100% 100% !important;
}

/* Gradient span — bottom layer */
.tm-mosquito-cover span.wp-block-cover__background {
    z-index: 0 !important;
}

.tm-mosquito-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.tm-mosquito-dot {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: white;
    top: 0;
    left: 0;
    opacity: 0.8;
    will-change: transform, filter;
    filter: blur(0px);
    transition: filter 0.05s linear;
}


/* =============================================
 ACF FORM
 ============================================= */

.af-form .af-field-type-group{
  padding: 0;
}
.af-form .af-field-type-group .af-label{
  display: none;
}
.af-form .acf-fields{
  border: 0 !important;
}
.af-form .acf-field{
  padding: 0 !important;
  min-height: auto !important;
  border: 0 !important;
}
.af-form .acf-form-fields {
  display: flex;
  flex-wrap: wrap;
  /* gap: 1rem; */
}
.af-form .af-field-type-group > .af-input > .acf-fields{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-right: 1rem;
}
.af-form .af-submit{
  margin-left: auto; /* Pushes the item to the far right of the new line */
  flex-basis: 100%;
  text-align: right;
  padding-right: 0;
}

/* =============================================
   MAILCHIMP FORM
   ============================================= */

.mc_form .mc-field-maingroup {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mc_form_popup {
  margin-bottom: 2rem;
}

.mc_form_popup .mc-field-maingroup {
  justify-content: center;
  align-items: center;
}

.mc_form_popup .mc-field-group {
  width: 80%;
}

.mc_form .response,
.mc_form div.mce_inline_error {
  font-size: 0.8rem;
  color: var(--wp--preset--color--light-blue);
  margin-top: 0.5rem;
}

.mc_form .submit_btn {
  margin-top: 1rem;
}

.mc_form .select-wrapper,
#filter_fiche .facetwp-type-dropdown {
  position: relative;
}

.mc_form .select-wrapper::after,
#filter_fiche .facetwp-type-dropdown::after {
  content: "▾";
  pointer-events: none;
  position: absolute;
  right: 9px;
  top: 3px;
}

.mc_form .select-wrapper::after {
  color: var(--wp--preset--color--black);
}

#filter_fiche .facetwp-type-dropdown::after {
  color: var(--wp--preset--color--white);
}

.mc_form .select,
#filter_fiche .facetwp-dropdown {
  -moz-appearance: none;
  -webkit-appearance: none;
  background: var(--wp--preset--color--white);
  color: var(--wp--preset--color--black);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  padding: 3px 30px 3px 10px;
  width: 100%;
}

#filter_fiche .facetwp-dropdown {
  color: var(--wp--preset--color--white);
  background-color: var(--wp--preset--color--light-blue);
}

.mc_form .select:focus {
  color: var(--wp--preset--color--black);
}

#filter_fiche .facetwp-dropdown:focus {
  color: var(--wp--preset--color--white);
  border: none;
}

.mc_form .select:focus-visible,
#filter_fiche .facetwp-dropdown:focus-visible,
#filter_fiche .facetwp-facet-search input:focus-visible {
  outline-style: none;
}

.mc_form .select::-ms-expand,
#filter_fiche .facetwp-dropdown::-ms-expand {
  display: none;
}

.mc_form [type="submit"],
.contact_form .button,
button.facetwp-reset,
.af-form [type="submit"] {
  color: var(--wp--preset--color--white);
  background-color: var(--wp--preset--color--light-blue);
  -webkit-appearance: none;
  border: none;
  border-radius: 3px;
  padding: 0.3rem 0.6rem;
}

button.facetwp-reset {
  background-color: var(--wp--preset--color--dark-green);
  line-height: 1.3;
}

.contact_form .acf-fields > .acf-field {
  padding: 0 12px 10px 0;
}

.contact_form .acf-field-acfe-column + .acf-field-acfe-column .acf-fields > .acf-field {
  padding: 0 0 10px 12px;
}

.contact_form .acf-field .acf-label {
  margin: 0;
}

.contact_form .acf-form-submit {
  display: flex;
  justify-content: end;
  padding: 15px 0;
}


/* =============================================
   POPUP / MODAL
   ============================================= */

dialog {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  height: 100vh;
  background: var(--wp--preset--color--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  opacity: 1;
  transition: opacity ease 0.6s;
}

dialog div {
  opacity: 0.05;
}

#once-popup {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.65);
  text-align: center;
  z-index: 10000;
}

#once-popup .inner {
  background: #404a29;
  padding: 20px;
  width: 90%;
  max-width: 450px;
  margin: 50px auto;
}

#once-popup #popup-close {
  float: right;
  font-size: 30px;
  line-height: 10px;
  padding: 5px;
  cursor: pointer;
  color: var(--wp--preset--color--white);
}

#once-popup input:not([type="submit"], [type="checkbox"]) {
  padding: 5px 15px !important;
  width: 100% !important;
}

#once-popup input[type="submit"] {
  padding: 10px 30px !important;
  margin-top: 1rem;
  background-color: var(--wp--preset--color--light-blue) !important;
  color: var(--wp--preset--color--white) !important;
  border: 0 !important;
  border-radius: 0 !important;
}

#once-popup form > p {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
}

#once-popup h2 {
  color: var(--wp--preset--color--white);
  padding: 1rem 0 !important;
  text-align: center !important;
}


/* =============================================
   SEARCH / FILTER
   ============================================= */

#filter_fiche {
  display: flex;
  justify-content: flex-start;
  gap: 0.5rem;
  align-items: center;
}

#filter_fiche .facetwp-facet-search {
  margin-left: auto;
}

#filter_fiche .facetwp-facet-search .facetwp-input-wrap {
  border-radius: 3px;
  background-color: var(--wp--preset--color--light-grey);
  padding: 0 0 0 6px;
}

#filter_fiche .facetwp-facet-search input {
  border: 0;
  padding: 3px 6px;
  background-color: var(--wp--preset--color--light-grey);
}

.facetwp-pager {
  text-align: center;
}

.facetwp-pager a {
  text-decoration: none;
}

.facetwp-pager i {
  font-size: 90%;
}

@media (max-width: 767px) {
  #filter_fiche {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  #filter_fiche .facetwp-type-dropdown {
    width: 100%;
    margin-bottom: 0;
  }

  #filter_fiche .facetwp-facet-search {
    margin: 0;
    width: 100%;
  }

  #filter_fiche .facetwp-facet-search .facetwp-input-wrap {
    width: 100%;
  }

  #filter_fiche .facetwp-facet-search input {
    border: 0;
    padding: 3px 6px;
    background-color: var(--wp--preset--color--light-grey);
    min-width: initial;
  }

  .facetwp-facet.facetwp-facet-reset {
    margin-bottom: 0;
  }
}


/* =============================================
   PERSON / AUTHOR / PROFILE
   ============================================= */

@media (max-width: 767px) {
  .breads,
  #breadcrumbs {
    font-size: 80%;
  }

  .article__title,
  .single_result_content a {
    color: var(--wp--preset--color--light-blue);
  }

  #page-wrap .search_results_page h1.article__title {
    font-size: 2.5rem;
    margin-bottom: 20px !important;
  }

  .entry-content {
    width: 100%;
  }

  .related_content {
    margin-top: 4rem;
    margin-bottom: 4rem;
  }

  .related_content ul li {
    line-height: 1.2;
    margin-bottom: 0.6rem;
  }

  .search_result_single figure {
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    margin: 0;
  }

  .search_result_single figure img,
  .search_result_single figure iframe {
    height: 100%;
    width: 100%;
    object-fit: cover;
    padding: 0;
  }

  .search_placeholder {
    height: 100%;
    width: 100%;
    object-fit: cover;
    padding: 0;
    background-color: var(--wp--preset--color--light-grey);
    background-image: url("assets/css/img/logo.png");
    background-repeat: no-repeat;
    background-size: 50% auto;
    background-position: center;
  }

  .search_result_single .single_result_content {
    padding: 20px;
  }

  .single_result_content h4 {
    font-size: 1rem;
    color: var(--wp--preset--color--black);
    font-weight: 400;
    text-transform: uppercase;
    margin: 0;
  }

  .single_result_content h5 {
    font-size: 1.25rem;
    color: var(--wp--preset--color--black);
    font-weight: 700;
    line-height: 1.4;
  }
}


/* =============================================
   MISC UTILITIES
   ============================================= */

.angle-down {
  transform: translateY(2px);
  display: inline-block;
  padding-left: 5px;
  font-size: 90%;
}

@media (max-width: 991px) {
  .angle-down {
    transform: rotate(-90deg) translate(-4px, 14px);
  }
}

.angle-right {
  transform: translateY(2px);
  display: inline-block;
  padding-left: 10px;
  font-size: 90%;
}

.frame_heading_section {
  margin: 2rem auto 4rem;
}

.frame_heading_heading {
  margin-bottom: 1rem;
}

nav.page__links {
  display: flex;
  justify-content: center;
  width: 100%;
  padding-bottom: 3rem;
}

nav.page__links .page-numbers {
  padding: 8px 5px;
  margin: 0 3px;
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px solid #eee;
}

body:not(.logged-in) .broken_link,
body:not(.logged-in) a.broken_link {
  text-decoration: underline;
}

body.no-scroll {
  overflow: hidden;
  height: 100vh;
  position: fixed;
  width: 100%;
}

span.text-shadow {
  text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.9);
}


/* =============================================
   DEFAULT BLOCKS
   ============================================= */

.wp-block-pullquote p {
  margin: 0;
}

/* Plain Button Style */
.wp-block-button.is-style-plain .wp-block-button__link {
  background: none;
  border: none;
  color: var(--wp--preset--color--light-blue);
  padding: 5px 2px 3px;
  border-bottom: 2px solid var(--wp--preset--color--light-blue);
}

.wp-block-button.is-style-plain .wp-block-button__link:hover {
  color: var(--wp--preset--color--dark-green);
  border-bottom-color: var(--wp--preset--color--dark-green);
}

/* Outline Button Style */
.wp-block-button.is-style-outline .wp-block-button__link {
  background-color: var(--wp--preset--color--white);
  border: 2px solid var(--wp--preset--color--light-blue);
  color: var(--wp--preset--color--light-blue);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--dark-green);
  border-color: var(--wp--preset--color--dark-green);
}

/* Icon Button Style */
.wp-block-button.button_icon .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wp-block-button.button_icon .wp-block-button__link::after {
  font-family: var(--fa-style-family, "Font Awesome 6 Free");
  font-weight: var(--fa-style, 900);
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: var(--fa-display, inline-block);
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  content: var(--fa);
}


/* =============================================
   WP LIGHTBOX
   ============================================= */

.wp-lightbox-overlay.active .lightbox-image-container {
  overflow: visible !important;
}

.wp-lightbox-overlay .lightbox-image-container img {
  aspect-ratio: 0 !important;
  width: auto !important;
  height: auto !important;
  max-width: 90vw;
  max-height: 90vh;
}

.wp-lightbox-overlay:not(.active) .lightbox-image-container img {
  aspect-ratio: 16/9 !important;
}


/* =============================================
   SECTION BLOCK
   ============================================= */

.is-section.alignfull img {
  width: auto;
}

.is-section.is-layout-flex > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: var(--wp--style--global--content-size);
  margin-left: auto !important;
  margin-right: auto !important;
}

.entry-content > .wp-block-group.alignfull.is-section.is-layout-flex {
  margin-top: 0;
}


/* =============================================
   AUDIO BLOCK
   ============================================= */

.wp-block-audio.with-featured-image {
  aspect-ratio: 16/9;
  position: relative;
}

.wp-block-audio.with-featured-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.wp-block-audio.with-featured-image .wp-block-audio {
  position: absolute;
  width: 100%;
  bottom: -10px;
  margin: 0;
}

.wp-block-audio.with-featured-image::after {
  content: "\f2ce";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--wp--preset--color--white);
  font-size: 4rem;
  pointer-events: none;
}


/* =============================================
   CAROUSEL BLOCK
   ============================================= */

.is-style-gallery_carousel {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.is-style-gallery_carousel .swiper-slide {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}

.is-style-gallery_carousel.aspectRatio_square .swiper-slide  { aspect-ratio: 1 / 1; }
.is-style-gallery_carousel.aspectRatio_long .swiper-slide    { aspect-ratio: 9 / 16; }
.is-style-gallery_carousel.aspectRatio_portrait .swiper-slide { aspect-ratio: 2 / 3; }
.is-style-gallery_carousel.aspectRatio_landscape .swiper-slide { aspect-ratio: 3 / 2; }
.is-style-gallery_carousel.aspectRatio_wide .swiper-slide    { aspect-ratio: 16 / 9; }

.is-style-gallery_carousel .swiper-slide > figure {
  width: 100%;
  height: 100%;
  margin: 0;
}

.is-style-gallery_carousel .swiper-slide > figure > img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.is-style-gallery_carousel .swiper-slide > figure > figcaption {
  width: 100%;
  position: absolute;
  bottom: 0;
  background: linear-gradient(0deg, #0006, #0000);
  box-sizing: border-box;
  color: var(--wp--preset--color--white);
  font-size: 13px;
  margin: 0;
  overflow: auto;
  padding: 1em;
  scrollbar-color: var(--wp--preset--color--black) var(--wp--preset--color--black);
  scrollbar-gutter: stable both-edges;
  scrollbar-width: thin;
  text-align: center;
  text-shadow: 0 0 1.5px var(--wp--preset--color--black);
  will-change: transform;
}

.is-style-gallery_carousel .swiper-slide .download-btn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: var(--wp--preset--color--white);
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.is-style-gallery_carousel .swiper-slide .download-btn i {
  font-size: 14px;
}

.is-style-gallery_carousel .swiper-slide:hover .download-btn {
  opacity: 1;
}


/* =============================================
   FILTERED CONTENT
   ============================================= */

.block-filtered_content {
  margin-bottom: 3vh;
}

body.category span.result_cat,
.type_press-release span.result_cat,
.type_profile .result_cat,
.type_profile p.job_title,
.post-type-archive-press-release span.result_cat {
  display: none;
}

.type_profile.filter-carousel p.job_title {
  display: block;
  margin: 0 0 0.5rem;
}

.author_by {
  margin: 0 auto 0.5rem;
}

.search_result_single:not(.type-profile) figure.result_image {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.search_result_single:not(.type-profile) .single_result_content {
  border: 1px solid #eaeaea;
  border-top: none;
  flex: 1;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

.single_result_content {
  display: flex;
  flex-direction: column;
}

.single_result_content .single_result_content_info {
  flex: 1;
}

.search_list {
  --column-count: 3;
  position: relative;
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(var(--column-count), 1fr);
}

.page-template-publications .search_list {
  grid-template-columns: repeat(4, 1fr);
  row-gap: 25px;
}

.latest-view .search_list {
  grid-template-columns: repeat(2, 1fr);
}

.filter-carousel .search_list {
  display: block;
}

.search_result_single {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap !important;
  background-color: var(--wp--preset--color--white);
  padding: 0 !important;
  border-radius: 1rem;
  position: relative;
}

.block_results .search_result_single {
  opacity: 1;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.5s;
  @starting-style {
    opacity: 0;
  }
}

.block_results .facetwp-loading .search_result_single {
  opacity: 0;
  transition-delay: 0;
}

.single_result_content .swiper .swiper-slide,
.publication_carousel .swiper .swiper-slide,
.filter-carousel .swiper .swiper-slide {
  display: flex !important;
  height: auto !important;
}

.single_result_content .wp-block-cb-carousel-v2 .cb-pagination.swiper-pagination-horizontal,
.publication_carousel .wp-block-cb-carousel-v2 .cb-pagination.swiper-pagination-horizontal,
.filter-carousel .wp-block-cb-carousel-v2 .cb-pagination.swiper-pagination-horizontal,
.is-style-gallery_carousel .wp-block-cb-carousel-v2 .cb-pagination.swiper-pagination-horizontal {
  bottom: var(--wp--custom--carousel-block--pagination-bottom, -10px);
}

.single_result_content .swiper .search_result_single,
.filter-carousel .swiper .search_result_single {
  width: 100%;
  margin: 0;
  flex: 1;
}

.detailed_list {
  gap: 5vh;
  display: flex;
  flex-direction: column;
}

.detailed_list .search_result_single {
  width: 100%;
  flex-direction: row;
  align-items: center;
}

.detailed_list .search_result_single:nth-child(even) {
  flex-direction: row-reverse;
}

.detailed_list .search_result_single figure.result_image {
  width: 50%;
  border-radius: 0 !important;
  position: relative;
  z-index: 0;
}

.detailed_list .search_result_single .single_result_content {
  border: none !important;
  border-radius: 0 !important;
}

.detailed_list .single_result_content .single_result_content_info {
  flex: none !important;
}

/* Blob mask variables */
:root {
  --mask1: url('data:image/svg+xml,<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1080 580"><path class="st0" d="M59,326.5c0,257.7,286.3,93,435,167,319.7,159.1,482,14,517-131,35.7-147.8-42.5-276.8-123-325.1s-294.3,53.4-419,39.1C110,35.5,59,178.8,59,326.5Z"/></svg>');
  --mask2: url('data:image/svg+xml,<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1080 580"><path class="st0" d="M1019.9,326.5c-172.9,316-330.2,230.5-537.9,163-123-40-383,54-418-91C28.3,250.7,126.8,124.6,213,87.5,394,9.5,508.3,54.7,633,40.5,992-.5,1090.8,196.9,1019.9,326.5Z"/></svg>');
  --mask3: url('data:image/svg+xml,<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1080 580"><path class="st0" d="M1001,332.5c61,192-285.3,261.5-493,194-123-40-281.6,4.4-383-105C-51,231.5,95,28.5,260,83.5s287.5-55,413-55c259,0,302.7,224.3,328,304Z"/></svg>');
  --mask4: url('data:image/svg+xml,<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1080 580"><path class="st0" d="M29.7,244.5c0,147.7,87,369,457,271,308.6-81.7,444,113,524-100,49.9-132.9-40.5-243.7-121-292S595.2,31.5,469.7,31.5c-249.1,0-440,65.3-440,213Z"/></svg>');
  --mask5: url('data:image/svg+xml,<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1080 580"><path class="st0" d="M991,356.5c0,147.7-116.8,121.9-361,171-313,63-566-94.3-566-242s81.5-125.7,162-174c81.8-49.1,249.5-85,375-85,249.1,0,390,182.3,390,330Z"/></svg>');
}

/* Ellipse-cropped photo */
.detailed_list .search_result_single figure.result_image > img,
.detailed_list .search_result_single figure.result_image > .search_placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  display: block;
  z-index: 1;
  mask: var(--mask1) center / contain no-repeat;
}

/* Blue border hugging the ellipse */
.detailed_list .search_result_single figure.result_image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--wp--preset--color--light-blue);
  transform: translate(0.3rem, -0.3rem);
  transition: transform ease-in-out 0.3s;
  z-index: -1;
  mask: var(--mask1) center / contain no-repeat;
}

.detailed_list .search_result_single:hover figure.result_image::after {
  transform: translate(0.3rem, 0.3rem);
}

.detailed_list .search_result_single:nth-child(2) figure.result_image > img,
.detailed_list .search_result_single:nth-child(2) figure.result_image > .search_placeholder,
.detailed_list .search_result_single:nth-child(2) figure.result_image::after {
  mask: var(--mask2) center / contain no-repeat;
}

.detailed_list .search_result_single:nth-child(3) figure.result_image > img,
.detailed_list .search_result_single:nth-child(3) figure.result_image > .search_placeholder,
.detailed_list .search_result_single:nth-child(3) figure.result_image::after {
  mask: var(--mask3) center / contain no-repeat;
}

.detailed_list .search_result_single:nth-child(4) figure.result_image > img,
.detailed_list .search_result_single:nth-child(4) figure.result_image > .search_placeholder,
.detailed_list .search_result_single:nth-child(4) figure.result_image::after {
  mask: var(--mask4) center / contain no-repeat;
}

.detailed_list .search_result_single:nth-child(5) figure.result_image > img,
.detailed_list .search_result_single:nth-child(5) figure.result_image > .search_placeholder,
.detailed_list .search_result_single:nth-child(5) figure.result_image::after {
  mask: var(--mask5) center / contain no-repeat;
}

.latest-view .search_result_single:first-child {
  grid-column: span 2;
}

.search_result_single.type-profile {
  background-color: transparent;
  box-shadow: none;
}

.search_result_single figure.result_image {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  margin: 0;
  text-align: center;
}

.search_list .search_result_single figure.result_image,
.block-filtered_content .search_result_single figure.result_image {
  background-color: var(--wp--preset--color--light-grey);
}

.search_result_single.type-profile figure.result_image {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 1rem;
  margin: 0 auto;
}

.search_result_single figure.result_image img,
.search_result_single figure.result_image iframe {
  height: 100%;
  width: 100%;
  object-fit: cover;
  padding: 0;
}

.search_result_single.type-fact_sheet figure.result_image img,
.search_result_single.type-resource figure.result_image img:not(.internal_image) {
  width: 50%;
  margin: 2rem auto 0;
  object-fit: initial;
  height: auto;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.4);
}

.search_placeholder {
  height: 100%;
  width: 100%;
  object-fit: cover;
  padding: 0;
  background-color: var(--wp--preset--color--light-grey);
  background-image: url("assets/css/img/logo.png");
  background-repeat: no-repeat;
  background-size: 50% auto;
  background-position: center;
}

.search_result_single .single_result_content {
  padding: 1rem;
}

.search_result_single.type-profile .single_result_content {
  padding: 1rem 1rem 0;
  text-align: center;
}

.single_result_content h3 {
  padding: 5rem 0 0;
}

.single_result_content h4 {
  font-size: 1rem;
  color: var(--wp--preset--color--black);
  font-weight: 400;
  text-transform: uppercase;
  margin: 0;
}

.single_result_content h5 {
  font-size: 1.25rem;
  color: var(--wp--preset--color--black);
  font-weight: 700;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 0.5rem;
  transition: color ease-in-out 0.4s;
}

.search-results .type-profile .single_result_content h5 {
  margin: 0 auto;
}

.type_profile.filter-carousel .single_result_content h5 {
  margin-bottom: 0;
}

.search-results .type-profile .single_result_content h5 + .result_cat {
  margin-bottom: 0.5rem;
}

.single_result_content a {
  text-decoration: none;
  color: var(--wp--preset--color--light-blue);
}


/* =============================================
   LIGHTBOX BLOCK
   ============================================= */

.lightbox-content {
  align-items: center;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 12;
  height: 100vh;
  width: 100vw;
  padding: 0 var(--gutter);
}

.lightbox-content .close-btn {
  color: var(--wp--preset--color--white);
  font-size: 2rem;
  position: absolute;
  top: 0.5rem;
  right: 2rem;
}

.lightbox-content button.close-btn:hover {
  color: var(--e-global-color-primary);
}

.is-lightbox .lightbox-content-inner {
  background-color: var(--wp--preset--color--white);
  padding: 2rem;
  width: 100%;
  min-height: 60%;
  max-height: 85%;
  overflow: scroll;
}

.is-lightbox .wp-element-button.is-btn-blue {
  background-color: var(--wp--preset--color--light-blue);
  color: var(--wp--preset--color--white);
}

.is-lightbox .wp-element-button.is-btn-green {
  background-color: var(--wp--preset--color--dark-green);
  color: var(--wp--preset--color--white);
}

.is-lightbox .wp-element-button.is-btn-beige {
  background-color: var(--wp--preset--color--sandy-beige);
  color: var(--wp--preset--color--white);
}

.is-lightbox .wp-element-button.is-btn-white {
  background-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--black);
}

.is-lightbox .wp-element-button.is-btn-black {
  background-color: var(--wp--preset--color--black);
  color: var(--wp--preset--color--white);
}

.is-lightbox .wp-element-button:hover,
.is-lightbox .wp-element-button:focus {
  background-color: var(--wp--preset--color--light-blue);
}


/* =============================================
   SINGLE POST
   ============================================= */

.post_featured_image {
  width: 100%;
  aspect-ratio: 16/7;
  overflow: hidden;
  margin: 0 auto 3rem;
}

.post_featured_image img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.post_details {
  background-color: var(--wp--preset--color--light-grey);
  margin: 0.5rem auto 1rem;
  padding: 1rem 1.5rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}

.post_details .post_date {
  flex-basis: 100%;
}

.post_details figure.post_author {
  max-height: 4rem;
  overflow: hidden;
  border-radius: 50%;
  aspect-ratio: 1/1;
  margin: 0;
}

.post_details figure.post_author img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.post_details .author_info {
  line-height: 1.3;
  max-width: calc(50% - 5.6rem);
}

.post_details .author_info p,
.post_details .author_info h6 {
  margin: 0;
}


/* =============================================
   SINGLE PROFILE
   ============================================= */

.search_result_single .profile_url {
  position: absolute !important;
  height: 100%;
  width: 100%;
  z-index: 1;
}

.search_result_single.type-profile:hover .single_result_content h5 {
  color: var(--wp--preset--color--light-blue);
}

.has-light-blue-background-color .search_result_single.type-profile:hover .single_result_content h5 {
  color: var(--wp--preset--color--white);
}

.search_list .search_result_single figure.result_image img {
  transform: scale(1);
  transition: transform ease-in-out 0.6s;
}

.filtered_content .search_result_single figure.result_image img,
.search_list .search_result_single figure.result_image img:not(.doc_image) {
  mix-blend-mode: darken;
}

.search_list .search_result_single:hover figure.result_image img {
  transform: scale(1.1);
}

.profile_header .profile_info {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.profile_name h1 {
  line-height: 1;
  margin: 0;
}

.profile_name h2 {
  margin: 0;
}

figure.profile_img {
  aspect-ratio: 1/1;
  border-radius: 1rem;
  overflow: hidden;
  max-height: 16rem;
}

figure.profile_img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.profile_details {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.profile_header .profile_details {
  margin: 1rem auto 3rem;
  padding: 1.5rem;
  background-color: var(--wp--preset--color--light-grey);
}

.search_result_single .profile_details {
  flex-direction: column;
  gap: 0;
  margin-bottom: 1rem;
}

.search_result_single.type-profile .profile_details {
  margin-bottom: 0;
}

.profile-icon {
  display: flex;
}

.profile_header .profile_details .profile-icon {
  color: var(--wp--preset--color--dark-green);
}

.profile-icon i {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  text-decoration: none;
  transition: background 0.3s;
  margin-right: 0.3rem;
}

.search_result_single .profile-icon {
  font-size: 0.9rem;
  justify-content: center;
  line-height: 1.6;
}

.search_result_single .profile-icon i {
  font-size: 1rem;
}

.profile-sm {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
}

.profile-sm i {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1 / 1;
  width: 1.6rem;
  height: 1.6rem;
  font-size: 0.8rem;
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.3s;
}

.profile_header .profile_details .profile-sm i {
  border: 1px solid var(--wp--preset--color--light-blue);
  background-color: var(--wp--preset--color--light-blue);
  color: var(--wp--preset--color--white);
}

.profile_content {
  margin-bottom: 5rem;
}

/* Video embed */
.wp-block-embed.wp-embed-aspect-16-9 iframe {
  height: 100%;
  width: 100%;
  aspect-ratio: 16/9;
}


/* =============================================
   ACCORDION
   ============================================= */

.wp-block-details:not(.is-style-details_accordion) summary {
  color: var(--wp--preset--color--light-blue);
}

.wp-block-details:not(.is-style-details_accordion) > *:first-of-type {
  margin-top: 0;
}

.wp-block-details.is-style-details_accordion {
  border-top: 1px solid currentColor;
  padding: 0.5rem 0 !important;
  margin-top: 0 !important;
}

.wp-block-details.is-style-details_accordion:first-of-type {
  margin-top: 1em;
}

.wp-block-details.is-style-details_accordion:last-of-type {
  border-bottom: 1px solid currentColor;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
}

.wp-block-details.is-style-details_accordion summary {
  list-style: none;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  font-size: var(--wp--preset--font-size--medium);
  font-weight: 500;
  padding-right: 2em;
  cursor: pointer;
  margin: 0;
}

.wp-block-details.is-style-details_accordion summary::-webkit-details-marker {
  display: none;
}

.wp-block-details.is-style-details_accordion summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  font-size: 2rem;
  font-weight: 200;
  transition: all 0.3s ease;
  line-height: 0;
}

.wp-block-details.is-style-details_accordion[open] summary::after {
  content: "−";
  transform: rotate(180deg);
  top: 50%;
}

.wp-block-details.is-style-details_accordion > * {
  margin: 0.5rem auto;
}


/* =============================================
   CURVY EDGE SECTION
   ============================================= */

.wp-block-cover.ragged_edge-position-all,
.wp-block-group.ragged_edge-position-all {
  padding: 6rem;
  position: relative;
  z-index: 3;
  -webkit-mask-image: url("assets/css/img/mask_all.png");
  mask-image: url("assets/css/img/mask_all.png");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.wp-block-cover.ragged_edge-position-both,
.wp-block-group.ragged_edge-position-both {
  padding: 6rem 0;
  position: relative;
  z-index: 3;
  -webkit-mask-image: url("assets/css/img/mask.png");
  mask-image: url("assets/css/img/mask.png");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.wp-block-cover.ragged_edge-position-top,
.wp-block-group.ragged_edge-position-top {
  padding: 6rem 0 0;
  position: relative;
  z-index: 1;
  -webkit-mask-image: url("assets/css/img/mask_top.png");
  mask-image: url("assets/css/img/mask_top.png");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.wp-block-cover.ragged_edge-position-bottom,
.wp-block-group.ragged_edge-position-bottom {
  padding: 0 0 6rem;
  position: relative;
  z-index: 1;
  -webkit-mask-image: url("assets/css/img/mask_bottom.png");
  mask-image: url("assets/css/img/mask_bottom.png");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.ragged-edge-parent .wp-block-cover {
  width: 100%;
}

.ragged-edge-parent.top-background::before {
  content: "";
  width: 100%;
  height: 50%;
  position: absolute;
  background-color: var(--top-bg-color);
}


/* =============================================
   FULL SCREEN SEARCH
   ============================================= */

#s {
  background: transparent;
  border: solid var(--wp--preset--color--white);
  border-width: 0 0 1px 0;
  color: var(--wp--preset--color--white);
  flex: 1 0 auto;
  font-size: 2rem;
  height: 2rem;
  max-width: 100%;
  outline: 0;
  padding: 2rem 1rem;
}

#searchsubmit {
  display: inline-block;
  line-height: 1;
  font-size: 15px;
  padding: 12px 24px;
  text-align: center;
  transition: all 0.3s;
  color: var(--wp--preset--color--white);
  background-color: var(--e-global-color-primary);
  border: none;
  font-family: var(--e-global-typography-accent-font-family), Sans-serif;
  font-weight: var(--e-global-typography-accent-font-weight);
}

.recaptcha_info {
  position: absolute;
  left: 0;
  bottom: 0;
  color: var(--wp--preset--color--white);
  font-size: 60%;
  margin: 1rem;
}

.grecaptcha-badge {
  visibility: hidden;
}


/* =============================================
   RESPONSIVE OVERRIDES
   ============================================= */

@media (max-width: 1160px) {
  .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    min-width: 90%;
  }
}

@media (max-width: 1024px) {
  .search_list {
    grid-template-columns: repeat(2, 1fr);
  }

  .person-content__inner .person_right_column img {
    width: 80%;
  }
}

@media (max-width: 767px) {
  .article__content > .alignfull {
    left: calc(-1 * var(--gutter));
  }

  .article__content > *:last-child {
    padding-bottom: 20vh !important;
  }

  .wp-block-cover__image-background[style*="--mobileImageURL"] {
    background-image: var(--mobileImageURL) !important;
  }

  .is-layout-constrained:not(:has(.is-layout-constrained)) > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    min-width: 90% !important;
  }

  [class*="ragged_edge-"] :is(.is-layout-constrained):not(:has(.is-layout-constrained)):not(.cb-carousel-block .is-layout-constrained) > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: calc(100% - 2 * var(--gutter)) !important;
  }

  .person_header {
    flex-wrap: wrap;
  }

  .person_column {
    width: 100%;
  }

  .person-content__inner .person_right_column {
    order: -1;
    margin-bottom: 2rem;
  }

  .person-content__inner .person_right_column img {
    width: 100%;
  }

  .search_list {
    grid-template-columns: 1fr;
  }

  .latest-view .search_result_single:first-child {
    grid-column: initial;
  }

  .post_details {
    padding: 0.5rem;
  }

  .post_details figure.post_author {
    max-height: 3rem;
  }

  .post_details .author_info {
    max-width: calc(100% - 3.8rem);
  }

  .post_details .author_info p {
    font-size: var(--wp--preset--font-size--small);
  }

  .page-content__inner:not(.home) {
    padding-top: 0;
  }

  .container {
    padding: 0;
  }

  #filter_fiche {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  #filter_fiche .facetwp-facet-search {
    margin-left: initial;
  }

  .profile_header .profile_info {
    flex-wrap: wrap;
  }

  figure.profile_img {
    max-height: 12rem;
    margin: auto;
  }

  .profile_header .profile_details {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    margin: 1rem auto 2rem;
  }

  .profile-sm {
    margin-left: initial;
  }

  .article__content > .alignfull.wp-block-cb-carousel-v2[data-cb-slides-per-view="1"] .wp-block-cover {
    flex-direction: column;
    gap: calc(var(--headerHeight) + 5vh);
  }

  .article__content > .alignfull.wp-block-cb-carousel-v2[data-cb-slides-per-view="1"] .wp-block-cover .wp-block-cover__inner-container {
    width: calc(100% - 2 * var(--gutter)) !important;
  }

  .wp-block-cb-carousel-v2[data-cb-pagination=true] .swiper-horizontal {
    padding-bottom: calc(var(--wp--custom--carousel-block--pagination-bullet-size, 8px) * 2);
  }

  .wp-block-cover.ragged_edge-position-all,
  .wp-block-group.ragged_edge-position-all {
    padding: 2rem;
    -webkit-mask-size: 300% 100%;
    mask-size: 300% 100%;
  }

  .wp-block-cover.ragged_edge-position-top,
  .wp-block-group.ragged_edge-position-top {
    padding: 4rem 0 0;
    -webkit-mask-size: 300% 100%;
    mask-size: 300% 100%;
  }

  .wp-block-cover.ragged_edge-position-bottom,
  .wp-block-group.ragged_edge-position-bottom {
    padding: 0 0 4rem;
    -webkit-mask-size: 300% 100%;
    mask-size: 300% 100%;
  }

  .wp-block-cover.ragged_edge-position-both,
  .wp-block-group.ragged_edge-position-both {
    padding: 4rem 0;
    -webkit-mask-size: 300% 100%;
    mask-size: 300% 100%;
  }

  .article__content > .alignfull.wp-block-cover.ragged_edge-position-all,
  .article__content > .alignfull.wp-block-group.ragged_edge-position-all {
    width: calc(100vw - 7.5px);
    left: -15px;
  }

  .detailed_list .search_result_single,
  .detailed_list .search_result_single:nth-child(even) {
    flex-direction: column;
    margin: 0;
  }

  .detailed_list .search_result_single figure.result_image {
    width: 100%;
  }

  .footer_description {
    padding-top: 1rem;
    margin-bottom: 1rem;
  }

  .footer_description,
  .footer_extra_links {
    flex-wrap: wrap;
    gap: 1rem;
    flex-direction: column;
  }

  .footer__links {
    display: none;
    visibility: hidden;
  }

  .social_media {
    margin-bottom: 0;
  }

  footer.container-fluid {
    padding: 45px var(--gutter) 15px;
  }

  footer h5 {
    margin: 0.5rem auto;
  }

  .footer_description,
  .footer_extra_links {
    gap: 0.5rem;
  }

  .footer_membership_links p {
    display: flex;
    gap: 1rem;
  }

  .footer_membership_links p a {
    width: 50%;
    margin: 0;
  }

  .footer_membership_links p a img {
    object-fit: contain;
    width: 100%;
    height: 100%;
  }

  .footer__copyright {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
}