:root {
  --forest: #2e4f26;
  --green: #4e7a3e;
  --lime: #9bc01c;
  --lime-ink: #243700;
  --lime-wash: #f2f7e3;
  --orange: #f08a2a;
  --orange-dark: #b05a0f;
  --orange-ink: #4a2300;
  --ink: #1c2419;
  --body: #5a6155;
  --muted: #8a9184;
  --paper: #f7f8f4;
  --line: #e4e7dd;
  --line-hover: #d2dbc2;
  --r: 10px;
  --shadow: 0 1px 2px rgba(28, 36, 25, 0.05), 0 6px 20px rgba(28, 36, 25, 0.06);
  --shadow-up: 0 10px 30px rgba(28, 36, 25, 0.12);
  --wrap: 1180px;
}

@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.container {
  max-width: var(--wrap);
}

@media (max-width: 767px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .article-header .row.g-5 > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
  }
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--body);
}

h1,
h2,
h3,
h4 {
  font-family:
    "Outfit",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: var(--forest);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--orange-dark);
  outline-offset: 3px;
}

header .logo-coords img {
  height: 76px;
  width: auto;
  max-width: none;
}

.header-coords p {
  font-size: 0.86rem;
  line-height: 1.9;
  color: var(--body);
}

.header-coords p::first-line {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--forest);
}

.header-coords p a {
  color: var(--body);
}

.header-coords p a:hover,
.header-coords p a:focus-visible {
  color: var(--orange-dark);
}

.logo-coords {
  padding-top: 20px;
  padding-bottom: 20px;
  transition:
    padding-top 0.3s ease,
    padding-bottom 0.3s ease;
}

header.is-condensed .logo-coords {
  padding-top: 0;
  padding-bottom: 0;
}

header .line {
  border-top: 1px solid var(--line);
}

header {
  border-bottom: 1px solid var(--line);
}

.header-nav .nav li a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--forest);
  padding: 15px 16px;
}

.header-nav .nav li a::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 8px;
  height: 3px;
  background: var(--lime);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.header-nav .nav li a > span.fa-solid {
  font-size: 10px;
  padding-bottom: 0 !important;
  color: var(--orange-dark);
}

.header-nav .nav li a:hover::before,
.header-nav .nav li a:focus-visible::before,
.header-nav .nav li.active > a::before,
.header-nav .nav li.current > a::before {
  transform: scaleX(1);
}

.header-nav .nav li.parent > a::after {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-left: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E7A3E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin-top: 0;
  transition: transform 0.22s ease;
}

.header-nav .nav li.parent:hover > a::after,
.header-nav .nav li.parent:focus-within > a::after {
  transform: rotate(180deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B05A0F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

.header-nav .mod-menu__sub li > a {
  border-radius: 7px;
  padding: 9px 12px;
}

@media screen and (min-width: 992px) {
  .header-nav .nav li.parent {
    position: relative;
  }

  .header-nav .nav li.parent:hover > a,
  .header-nav .nav li.parent:focus-within > a {
    background: var(--lime-wash) !important;
    color: var(--forest) !important;
  }

  .header-nav .mod-menu__sub {
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: var(--shadow-up);
    background-color: #fff;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition:
      opacity 0.18s ease,
      transform 0.18s ease,
      visibility 0.18s;
  }

  .header-nav .nav > li.parent:last-child .mod-menu__sub {
    left: auto;
    right: 0;
  }

  .header-nav .nav li.parent:hover .mod-menu__sub,
  .header-nav .nav li.parent:focus-within .mod-menu__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .header-nav .mod-menu__sub li > a:hover,
  .header-nav .mod-menu__sub li > a:focus-visible {
    background: var(--lime-wash);
    color: var(--forest);
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  header .btn-nav-mobile {
    display: none;
  }

  .search {
    display: block;
  }

  .header-nav {
    display: flex;
    width: initial;
  }

  .header-nav .nav {
    flex-direction: row;
    margin: 0;
    padding: 0;
  }

  .header-nav .nav li {
    width: auto;
  }

  .header-nav .mod-menu__sub {
    position: absolute;
    width: 350px;
    display: block;
  }
}

.header-nav .nav-opened {
  background: var(--lime-wash) !important;
  color: var(--forest) !important;
}

.header-nav .nav-close {
  background: #fff !important;
  color: var(--forest) !important;
}

.slider {
  background-color: var(--paper);
  padding: 44px 0 40px;
  border-bottom: 1px solid var(--line);
}

.carousel-langevin:not(#carouselLogos) img {
  height: clamp(280px, 34vw, 420px);
  min-height: 0;
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

#carouselHome .carousel-item p,
#carouselHome .carousel-item h1 {
  text-align: center;
  margin-top: 26px;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 1.32rem;
  color: var(--forest);
}

.carousel-langevin .carousel-controls {
  gap: 22px;
  margin-top: 22px;
}

.carousel-langevin .carousel-controls .carousel-control-prev,
.carousel-langevin .carousel-controls .carousel-control-next {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Outfit", sans-serif;
  font-size: 0.85rem;
  color: var(--forest);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.carousel-langevin .carousel-controls .carousel-control-prev:hover,
.carousel-langevin .carousel-controls .carousel-control-next:hover,
.carousel-langevin .carousel-controls .carousel-control-prev:focus-visible,
.carousel-langevin .carousel-controls .carousel-control-next:focus-visible {
  border-color: var(--green);
  background: var(--lime-wash);
}

.carousel-langevin .carousel-indicators button {
  width: 26px;
  height: 4px;
  border-radius: 2px;
  background-color: #d3d8cb;
}

.carousel-langevin .carousel-indicators button.active {
  background-color: var(--orange);
}

.carousel-langevin .carousel-controls .carousel-control-prev-icon,
.carousel-langevin .carousel-controls .carousel-control-next-icon {
  width: 15px;
  height: 15px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: none;
}

.carousel-langevin
  .carousel-controls
  .carousel-control-prev
  .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E7A3E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E");
}

.carousel-langevin
  .carousel-controls
  .carousel-control-next
  .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E7A3E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E");
}

.cards {
  padding-top: 86px;
  padding-bottom: 86px;
}

.cards > h2,
.subcategory-block > h2,
.page-header h1,
.search .page-title {
  position: relative;
}

.cards > h2::before,
.subcategory-block > h2::before,
.page-header h1::before,
.search .page-title::before {
  content: "";
  display: block;
  width: 64px;
  height: 10px;
  margin-bottom: 16px;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='10' viewBox='0 0 64 10'%3E%3Cpath d='M2 7C14 1 38 1 62 2' stroke='%239BC01C' stroke-width='3.4' stroke-linecap='round' fill='none'/%3E%3Cpath d='M2 9C14 4 38 4 62 5' stroke='%23F08A2A' stroke-width='3.4' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}

.carousel-item .page-header h1::before,
.carousel-item .search .page-title::before {
  content: none;
}

.cards > h2,
.subcategory-block > h2 {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  color: var(--forest);
  margin-bottom: 38px;
}

.page-header h1,
.search .page-title {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  color: var(--forest);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.bg-saumon {
  background-color: var(--lime-wash);
}

.cards .row.g-5,
.subcategory-block .row.g-5 {
  align-items: stretch;
}

.cards .card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: none;
  margin: 0;
  box-shadow: none;
  position: relative;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.cards .card:hover,
.cards .card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-up);
  border-color: var(--line-hover);
}

.cards .card-header {
  height: 196px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  border-radius: var(--r) var(--r) 0 0;
  padding: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.cards .card-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: transparent;
  transition: transform 0.5s ease;
}

.cards .card:hover .card-header img {
  transform: scale(1.05);
}

.cards .card-header:has(img[src*="/icons/" i]),
.cards .card-header:has(img[src*="ico_" i]),
.cards .card-header:has(img[src*="/logo" i]),
.cards .card-header:has(img[src*="_logo" i]),
.cards .card-header:has(img[src*="miniature_" i]) {
  background-color: #fff;
  padding: 22px;
}

.cards .card-header img[src*="/icons/" i],
.cards .card-header img[src*="ico_" i],
.cards .card-header img[src*="/logo" i],
.cards .card-header img[src*="_logo" i],
.cards .card-header img[src*="miniature_" i] {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cards .card-body {
  padding: 22px 24px 0;
  background: #fff;
}

.cards .card-body h3 {
  font-size: 1.08rem;
  line-height: 1.35;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cards .card-desc {
  font-size: 0.92rem;
  color: var(--body);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cards .card-footer {
  background: transparent;
  border: none;
  padding: 20px 24px 24px;
  margin-top: auto;
}

.cards .btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--lime);
  color: var(--lime-ink);
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  font-style: normal;
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  transition:
    background-color 0.24s ease,
    color 0.24s ease;
}

.cards .btn-green i {
  font-size: 10px;
}

.cards .card:hover .btn-green,
.cards .card:focus-within .btn-green {
  background: var(--orange);
  color: var(--orange-ink);
  border: none;
}

.cards .card-footer .btn-green::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.cards > .mt-4.text-end {
  margin-top: 34px;
}

.cards > .mt-4.text-end > a {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--forest);
  border-bottom: 2px solid var(--lime);
  padding-bottom: 4px;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.cards > .mt-4.text-end > a:hover,
.cards > .mt-4.text-end > a:focus-visible {
  color: var(--orange-dark);
  border-color: var(--orange);
}

.cards > .mt-4.text-end > a i {
  display: inline-block;
  font-size: 10px;
  transition: transform 0.2s ease;
}

.cards > .mt-4.text-end > a:hover i,
.cards > .mt-4.text-end > a:focus-visible i {
  transform: translateX(4px);
}

.videos {
  padding-bottom: 86px;
}

.card-video {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  border-bottom: 4px solid var(--orange);
  box-shadow: none;
  overflow: hidden;
}

.card-video .logo-yt,
.card-video .logo-fablab {
  background: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-width: 0;
  min-height: 230px;
  overflow: hidden;
  position: relative;
}

.card-video .logo-yt img,
.card-video .logo-fablab img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-height: none;
}

.card-video .card-text {
  padding: 36px 40px;
  min-width: 0;
}

.card-video .card-text::before {
  display: none;
}

.card-video h4 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.card-video p {
  font-size: 0.95rem;
  color: var(--body);
  margin-top: 5px;
  margin-bottom: 0;
}

.card-video .icon-arrow {
  position: static;
  width: fit-content !important;
  height: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--forest);
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 9px 18px;
  border-radius: 999px;
  margin-top: 20px;
  transition:
    background-color 0.24s ease,
    color 0.24s ease;
}

.card-video .icon-arrow span {
  color: inherit;
}

.card-video .icon-arrow i {
  color: #fff;
  font-size: 10px;
}

.card-video:hover .icon-arrow,
.card-video:focus-visible .icon-arrow {
  background: var(--orange);
  color: var(--orange-ink);
}

.card-video:hover .icon-arrow i,
.card-video:focus-visible .icon-arrow i {
  color: var(--orange-ink);
}

.slider-logo,
.logo-important {
  background-color: var(--lime-wash);
  padding: 40px 0;
}

.slider-logo {
  padding-top: 86px;
}

.logo-important {
  padding-bottom: 86px;
}

#carouselLogos a {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 6px;
}

#carouselLogos img {
  height: 56px;
  width: auto;
  max-height: none;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 1;
  transition:
    filter 0.24s ease,
    transform 0.24s ease;
}

#carouselLogos a:hover img,
#carouselLogos a:focus-visible img {
  filter: grayscale(0);
  transform: scale(1.05);
}

.card-logos {
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  display: block;
  padding: 0;
  gap: 0;
}

.card-logos .row > div {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.card-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  min-height: 126px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.card-logos a:hover,
.card-logos a:focus-visible {
  border-color: var(--lime);
  box-shadow: var(--shadow);
}

.card-logos img {
  height: auto;
  max-height: 76px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  background: none;
}

footer {
  background: var(--forest);
  border-top: 5px solid var(--orange);
  border-radius: 0;
  padding: 66px 0 0;
  font-size: 0.93rem;
}

footer.mt-5 {
  margin-top: 0 !important;
}

footer .nav {
  gap: 11px;
}

.footer-info img {
  height: 78px;
  width: auto;
  max-width: none;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
  display: block;
}

footer h3 {
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

footer,
footer p,
footer li,
footer span {
  color: rgba(255, 255, 255, 0.75);
}

footer a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}

footer a:hover,
footer a:focus-visible {
  color: #fff;
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 54px;
  padding: 20px 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 980px) {
  .cards {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .videos {
    padding-bottom: 60px;
  }

  .cards .row.g-5,
  .subcategory-block .row.g-5 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: stretch;
  }

  .cards .row.g-5 > [class*="col-"],
  .subcategory-block .row.g-5 > [class*="col-"] {
    width: auto;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .card-video {
    grid-template-columns: 1fr;
  }

  footer .footer-block {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  footer .footer-block > div {
    width: auto;
    max-width: none;
  }
}

@media (max-width: 620px) {
  .cards .row.g-5,
  .subcategory-block .row.g-5 {
    grid-template-columns: 1fr;
  }

  .cards .btn-green,
  .carousel-langevin .carousel-controls .carousel-control-prev,
  .carousel-langevin .carousel-controls .carousel-control-next {
    min-height: 44px;
  }

  .carousel-langevin .carousel-controls {
    gap: 12px;
  }

  .carousel-langevin .carousel-controls .carousel-control-prev,
  .carousel-langevin .carousel-controls .carousel-control-next {
    padding: 9px 14px;
    font-size: 0.8rem;
  }

  .carousel-langevin .carousel-indicators button {
    box-sizing: content-box;
    border: 0;
    padding: 20px 9px;
    background-clip: content-box;
    margin: 0 4px;
  }

  .default-article .btn-back {
    min-height: 44px;
  }

  .default-article .urls a,
  .default-article .pdf-list a {
    min-height: 44px;
  }

  .footer-social .nav a,
  .footer-links .nav a {
    display: block;
    padding: 13px 0;
    margin: -13px 0;
  }

  .member-contact > div a {
    display: block;
    padding: 13px 0;
    margin: -13px 0;
  }

  .sections .mt-4.text-end a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  header .logo-coords > .d-flex {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .header-coords p {
    text-align: center;
  }

  header.is-condensed .logo-coords > .d-flex {
    display: none !important;
  }
}

@media (max-width: 460px) {
  .carousel-langevin .carousel-controls .carousel-control-prev > span:not([aria-hidden]),
  .carousel-langevin .carousel-controls .carousel-control-next > span:not([aria-hidden]) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

.cards .row.g-5,
.subcategory-block .row.g-5 {
  --gutter-x: 1.5rem;
  margin-left: 0;
  margin-right: 0;
}

.card-logos .row.gx-5 {
  margin-left: 0;
  margin-right: 0;
}

.slider .row.g-4 {
  margin-left: 0;
  margin-right: 0;
}

.article-header {
  background: var(--paper);
  padding: 56px 0;
}

.article-header .row.g-5 {
  align-items: flex-start;
  margin-left: 0;
  margin-right: 0;
}

.article-header .article-img img {
  border-radius: var(--r);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

.article-header .article-img img[src*="/icons/" i],
.article-header .article-img img[src*="ico_" i],
.article-header .article-img img[src*="/logo" i],
.article-header .article-img img[src*="_logo" i],
.article-header .article-img img[src*="miniature_" i] {
  max-height: 240px;
  width: auto;
  object-fit: contain;
  background: #fff;
  padding: 24px;
  border-radius: var(--r);
  aspect-ratio: auto;
}

.article-header .article-title {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  color: var(--forest);
  line-height: 1.2;
  margin-bottom: 16px;
}

.article-header .introtext {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--body);
}

.default-article .introtext,
.default-article .introtext p,
.default-article .article .content,
.default-article .article .content p {
  text-align: left !important;
}

.default-article .introtext p:empty,
.default-article .article .content p:empty {
  display: none;
}

.default-article .introtext a {
  color: var(--orange-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.default-article .introtext a:hover {
  color: var(--forest);
}

.default-article.has-image.no-body .article-header {
  padding: 56px 0 72px;
}

.default-article.has-image.no-body .article-img img {
  max-height: 340px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--r);
  box-shadow: var(--shadow);
  aspect-ratio: auto;
}

.default-article.has-image.no-body .article-img img[src*="/icons/" i],
.default-article.has-image.no-body .article-img img[src*="ico_" i],
.default-article.has-image.no-body .article-img img[src*="/logo" i],
.default-article.has-image.no-body .article-img img[src*="_logo" i],
.default-article.has-image.no-body .article-img img[src*="miniature_" i] {
  max-height: 240px;
  width: auto;
  object-fit: contain;
  aspect-ratio: auto;
}

.default-article.no-body .introtext {
  line-height: 1.75;
}

.default-article.no-body .introtext p {
  margin-bottom: 1.1rem;
}

.default-article.no-image .article-header {
  padding: 56px 0 40px;
}

.default-article.no-image .article-title {
  max-width: 22ch;
  margin-top: 32px;
}

.default-article.no-image.no-body .article-header {
  padding-bottom: 0;
}

.default-article.no-image.no-body .introtext {
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
  padding: 56px 0 72px;
}

.default-article.no-image.no-body .introtext [style*="font-size"] {
  font-size: inherit !important;
}

.default-article.no-image.no-body .introtext p {
  max-width: 56ch;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.75;
}

.default-article.no-image.no-body .introtext p + p {
  margin-top: 1.25rem;
}

.default-article.no-image.no-body .introtext > p:first-child {
  font-size: 1.05rem;
  color: var(--forest);
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 2rem;
}

.default-article.no-image.has-body .introtext {
  max-width: 56ch;
  margin-left: 0;
  margin-right: 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.default-article .btn-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  font-style: normal;
  background: var(--lime);
  color: var(--lime-ink);
  padding: 9px 18px;
  border-radius: 999px;
  border: none;
}

.default-article .btn-back:hover {
  background: var(--orange);
  color: var(--orange-ink);
  border: none;
}

.default-article .btn-back i {
  font-size: 10px;
}

.default-article .article.has-aside {
  display: grid;
  grid-template-columns: minmax(0, 56ch) 1fr;
  gap: 72px;
  align-items: start;
}

.default-article .article.has-aside .gallery {
  grid-column: 1 / -1;
}

.article-aside {
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 3rem;
}

.article-aside .urls,
.article-aside .pdf-list {
  border-left: 3px solid var(--lime);
  padding-left: 20px;
}

.article-aside h2 {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 14px;
}

.article-aside .urls ul,
.article-aside .pdf-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.default-article .article.no-aside .content {
  max-width: 64ch;
}

.default-article .article .content {
  max-width: 56ch;
  margin-left: 0;
  margin-right: 0;
  padding: 72px 0;
  padding-top: 0;
  line-height: 1.75;
}

@media screen and (max-width: 980px) {
  .default-article .article.has-aside {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .article-aside {
    position: static;
  }

  .default-article .article.has-aside .content,
  .default-article .article.no-aside .content {
    max-width: none;
  }
}

.default-article.no-body .article .content {
  display: none;
}

.default-article .article .content p {
  margin-bottom: 1.25rem;
}

.default-article .article .content h2 {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--forest);
  margin: 2.5rem 0 0.75rem;
}

.default-article .article .content h2:has(span[style*="f39224" i]) {
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.default-article .article .content h2 span[style*="f39224" i] {
  color: var(--orange-dark) !important;
}

.default-article .article .content h3 {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  margin: 2rem 0 0.5rem;
}

.default-article .article .content ul,
.default-article .article .content ol {
  padding-left: 1.4rem;
  margin-bottom: 1.25rem;
}

.default-article .article .content li + li {
  margin-top: 0.4rem;
}

.default-article .article .content a {
  color: var(--orange-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.default-article .article .content a:hover {
  color: var(--forest);
}

.default-article .urls h2,
.default-article .pdf-list h2,
.default-article .gallery h2 {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 0.8rem !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-dark) !important;
  margin-bottom: 16px;
}

.default-article .urls a,
.default-article .pdf-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--forest);
  font-style: normal;
}

.default-article .urls a:hover,
.default-article .pdf-list a:hover {
  border-color: var(--lime);
  background: var(--lime-wash);
}

.default-article .urls a i {
  color: var(--green);
  font-size: 15px;
}

.default-article .pdf-list a i {
  color: var(--orange-dark);
  font-size: 15px;
}

.default-article .urls ul,
.default-article .pdf-list ul {
  gap: 10px;
  flex-wrap: wrap;
}

.default-article .pdf-list:not(:has(a)) {
  display: none;
}

.default-article .urls:not(:has(a)) {
  display: none;
}

.gallery-main {
  border-radius: var(--r);
}

.gallery-main .carousel-item {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--forest);
  border-radius: var(--r);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin: 0;
}

.gallery-thumbs > [class*="col-"] {
  width: auto;
  max-width: none;
  padding: 0;
  margin-bottom: 0 !important;
}

.gallery-thumbs img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  opacity: 0.75;
  border: none;
}

.gallery-thumbs img:hover {
  opacity: 1;
  border: none;
}

.gallery-thumbs img.active {
  opacity: 1;
  outline: 2px solid var(--lime);
  outline-offset: 2px;
  border: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.trombinoscope .page-header {
  margin-bottom: 48px;
}

.trombi-accordion .accordion-item {
  border: none;
  border-radius: var(--r);
  margin-bottom: 12px;
  overflow: hidden;
}

.trombi-accordion .accordion-item:last-child {
  margin-bottom: 0;
}

.trombi-accordion .accordion-button {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: none;
}

.trombi-accordion .accordion-button.collapsed {
  background: #fff;
  color: var(--forest);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px 20px;
}

.trombi-accordion .accordion-button.collapsed:hover,
.trombi-accordion .accordion-button.collapsed:focus-visible {
  background: var(--lime-wash);
  border-color: var(--lime);
}

.trombi-accordion .accordion-button:not(.collapsed) {
  background: var(--forest);
  color: #fff;
  border: 1px solid var(--forest);
  border-radius: var(--r) var(--r) 0 0;
  padding: 16px 20px;
}

.trombi-accordion .accordion-button::after {
  width: 14px;
  height: 14px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
  transition: transform 0.22s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E7A3E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.trombi-accordion .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.trombi-accordion .accordion-body {
  background: #fff;
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 var(--r) var(--r);
  padding: 28px 24px;
}

.trombi-accordion .row.g-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin: 0;
}

.trombi-accordion .row.g-4 > [class*="col-"] {
  width: auto;
  max-width: none;
  padding: 0;
  margin: 0;
}

.member-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 20px;
  text-align: center;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.member-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-up);
  border-color: var(--line-hover);
}

.member-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--lime);
}

img.member-avatar[src*="avatar_femme" i],
img.member-avatar[src*="avatar_homme" i] {
  visibility: hidden;
}

.member-card:has(> img.member-avatar[src*="avatar_femme" i])::before,
.member-card:has(> img.member-avatar[src*="avatar_homme" i])::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid var(--lime);
  background-color: var(--lime-wash);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E7A3E' stroke-width='1.8'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-8 8-8s8 3.6 8 8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 44px;
}

.member-avatar-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid var(--lime);
  background: var(--lime-wash);
  color: var(--forest);
  opacity: 0.35;
}

.member-name {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--forest);
  margin-top: 8px;
}

.member-role {
  font-size: 0.9rem;
  color: var(--body);
  line-height: 1.5;
  margin-top: 8px;
}

.member-contact {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  width: 100%;
}

.member-contact > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--muted);
}

.member-contact > div a {
  font-size: 0.85rem;
  color: var(--orange-dark);
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: none;
  line-height: 1.4;
}

.member-contact > div a:hover,
.member-contact > div a:focus-visible {
  color: var(--forest);
  text-decoration: underline;
}

.trombinoscope .accordion-body a.btn.btn-sm {
  background-color: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--forest) !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trombinoscope .accordion-body a.btn.btn-sm:hover,
.trombinoscope .accordion-body a.btn.btn-sm:focus-visible {
  background-color: var(--lime-wash);
  border-color: var(--lime);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  background: var(--forest);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--r) var(--r);
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

body.offline-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--paper);
}

body.offline-page main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}

body.offline-page .card {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  border-top: 5px solid var(--orange);
  padding: 48px 40px;
  text-align: center;
  box-shadow:
    0 1px 2px rgba(28, 36, 25, 0.05),
    0 10px 30px rgba(28, 36, 25, 0.12);
}

body.offline-page .logo {
  height: 84px;
  width: auto;
  margin: 0 auto 28px;
  display: block;
}

body.offline-page .site-title {
  display: block;
  margin: 0 0 28px;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--forest);
}

body.offline-page .swoosh {
  display: block;
  width: 64px;
  height: 10px;
  margin: 0 auto 18px;
  overflow: visible;
}

body.offline-page .offline-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 20px;
  border-radius: var(--r);
}

body.offline-page h1 {
  margin: 0 0 14px;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--forest);
}

body.offline-page .card p {
  margin: 0 0 14px;
}

body.offline-page .card p:last-of-type {
  margin-bottom: 0;
}

body.offline-page .lead {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--forest);
}

body.offline-page .contact {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

body.offline-page .contact .label {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-dark);
}

body.offline-page .pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

body.offline-page .pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--forest);
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

body.offline-page .pill:hover,
body.offline-page .pill:focus-visible {
  border-color: var(--lime);
  background: var(--lime-wash);
}

body.offline-page .pill svg {
  width: 16px;
  height: 16px;
  flex: none;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.9;
}

body.offline-page .address {
  font-size: 0.9rem;
}

body.offline-page .offline-login {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

body.offline-page .offline-login summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

body.offline-page .offline-login summary::-webkit-details-marker {
  display: none;
}

body.offline-page .offline-login[open] summary {
  color: var(--orange-dark);
  margin-bottom: 20px;
}

body.offline-page .offline-login .login {
  text-align: left;
}

body.offline-page .offline-login label {
  display: block;
  margin-bottom: 6px;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--forest);
}

body.offline-page .offline-login .form-control {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  margin: 0 0 14px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s ease;
}

body.offline-page .offline-login .form-control:focus {
  outline: none;
  border-color: var(--green);
}

body.offline-page .offline-login .btn-primary {
  width: 100%;
  margin-top: 6px;
  background: var(--forest);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

body.offline-page .offline-login .btn-primary:hover,
body.offline-page .offline-login .btn-primary:focus-visible {
  background: var(--green);
}

body.offline-page .offline-login .btn-secondary {
  border-radius: 999px;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
}

body.offline-page footer {
  background: var(--forest);
  border-top: 5px solid var(--orange);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.86rem;
  text-align: center;
  padding: 20px;
}

@media (max-width: 480px) {
  body.offline-page .card {
    padding: 36px 24px;
  }

  body.offline-page .logo {
    height: 68px;
  }
}
