/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  container-type: inline-size;
  z-index: 100;
  background-color: var(--color--neutral--highest);
}
.site-header .container {
  max-width: var(--layout--width--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}
.header-logos {
  margin-right: auto;
}
.header-logos a:hover {
  opacity: 0.8;
}
.header-helpers {
  display: flex;
}
.block-system-branding-block {
  --logo-height: calc(var(--nav-height) - 2 * var(--layout--spacing--30));
  display: flex;
  gap: var(--layout--spacing--20);
  padding: var(--layout--spacing--30) 0;
}
.block-system-branding-block a {
  display: block;
}
.block-system-branding-block img {
  height: var(--logo-height);
  width: auto;
}
.block-system-branding-block .sep {
  width: 1px;
  min-height: 100%;
  border-right: 1px solid var(--color--neutral--low);
}
.header-contact-info {
  display: none;
}
#accessconfig {
  display: none;
}
@media (min-width: 40rem) {
  #accessconfig {
    display: block;
  }
  .header-contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color--accent--medium);
    color: var(--color--neutral--highest);
    font-weight: 700;
    text-align: center;
    padding: var(--layout--spacing--10) var(--layout--spacing--50);
    height: 100%;
  }
  .header-contact-info p {
    margin: 0;
    letter-spacing: 0.02em;
    font-variant-caps: all-small-caps;
    font-variant-numeric: normal;
    line-height: 1.2;
  }
}
@media (min-width: 64rem) {
  .site-header {
    position: relative;
    /* z-index: 1000; */
    padding: 0 var(--layout--global--padding-sides);
    background-color: rgb(from var(--color--neutral--highest) r g b / 95%);
    backdrop-filter: blur(0.25em);
  }
  .header-nav {
    flex-basis: 100%;
  }
}

/* Site footer */
.site-footer {
  background-color: var(--color--neutral--low);
  color: var(--color--neutral--highest);
  padding: var(--layout--global--section-padding-vert)
    var(--layout--global--padding-sides);
}
.site-footer .container {
  max-width: var(--layout--width--narrow);
  margin: 0 auto;
  display: grid;
  gap: var(--layout--spacing--70);
}
.site-footer h3:not(:first-child) {
  margin-top: var(--layout--spacing--60);
}
.footer-logos {
  display: flex;
  gap: var(--layout--spacing--20);
}
.site-footer img {
  max-width: 8rem;
}
.footer-logos img {
  height: var(--layout--spacing--70);
  width: auto;
  max-width: 100%;
}
.footer-logos a:hover {
  opacity: 0.8;
}
.footer-contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer-contact-info address {
  width: 100%;
}
.site-footer .image-block img,
.site-footer .image-block.has-link a {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}
.site-footer .image-block.has-link img {
  margin: 0;
}
.footer-legal {
  max-width: var(--layout--width--content);
  margin-left: auto;
  margin-right: auto;
  padding-top: var(--layout--spacing--30);
  border-top: 1px solid var(--color--neutral--medium);
  margin-top: var(--layout--spacing--60);
}

@media (min-width: 28rem) {
  .site-footer .container {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-footer .container section:nth-child(3n + 1) {
    grid-column: span 2;
  }
}
@media (min-width: 48rem) {
  .footer-contact-info {
    align-items: flex-start;
    text-align: left;
  }
  .site-footer .container section:nth-child(3n + 1) {
    grid-column: span 1;
  }
  .site-footer .container section:nth-child(4) {
    grid-area: 1/2;
  }
}

@media (min-width: 64rem) {
  .site-footer .container {
    max-width: var(--layout--width--container);
    grid-template-columns: repeat(3, 2fr) 1fr;
    gap: var(--layout--spacing--70);
  }
  .site-footer .container section:nth-child(4) {
    grid-area: 1/4;
  }
}

/* Layout Drupal */
.layout {
  display: flex;
  flex-wrap: wrap;
  --gap: var(--layout--columns-gap, var(--layout--spacing--40));
  gap: var(--gap);
  justify-content: center;
}

.layout > * {
  flex: 0 0 100%;
}
@container (min-width: 40rem) {
  .inverse > .layout {
    flex-direction: row-reverse;
  }
  .layout--twocol-section.layout--twocol-section--50-50
    > .layout__region--first,
  .layout--twocol-section.layout--twocol-section--50-50
    > .layout__region--second,
  .layout--threecol-section--25-50-25 > .layout__region--first,
  .layout--threecol-section--25-50-25 > .layout__region--third,
  .layout--threecol-section--25-25-50 > .layout__region--first,
  .layout--threecol-section--25-25-50 > .layout__region--second,
  .layout--threecol-section--50-25-25 > .layout__region--second,
  .layout--threecol-section--50-25-25 > .layout__region--third,
  .layout--threecol-section--33-34-33 > * {
    flex: 0 1 calc(50% - var(--gap) / 2);
  }
  .layout--twocol-section.layout--twocol-section--33-67
    > .layout__region--first,
  .layout--twocol-section.layout--twocol-section--67-33
    > .layout__region--second {
    flex: 0 1 calc(33% - var(--gap) / 2);
  }
  .layout--twocol-section.layout--twocol-section--33-67
    > .layout__region--second,
  .layout--twocol-section.layout--twocol-section--67-33
    > .layout__region--first {
    flex: 0 1 calc(67% - var(--gap) / 2);
  }
  .layout--twocol-section.layout--twocol-section--25-75
    > .layout__region--first,
  .layout--twocol-section.layout--twocol-section--75-25
    > .layout__region--second {
    flex: 0 1 calc(25% - var(--gap) / 2);
  }
  .layout--twocol-section.layout--twocol-section--25-75
    > .layout__region--second,
  .layout--twocol-section.layout--twocol-section--75-25
    > .layout__region--first {
    flex: 0 1 calc(75% - var(--gap) / 2);
  }
}

@container (min-width: 50rem) {
  .layout--threecol-section--25-50-25 > .layout__region--first,
  .layout--threecol-section--25-50-25 > .layout__region--third,
  .layout--threecol-section--25-25-50 > .layout__region--first,
  .layout--threecol-section--25-25-50 > .layout__region--second,
  .layout--threecol-section--50-25-25 > .layout__region--second,
  .layout--threecol-section--50-25-25 > .layout__region--third {
    flex: 0 1 calc(25% - 2 * var(--gap) / 3);
  }
  .layout--threecol-section--25-50-25 > .layout__region--second,
  .layout--threecol-section--25-25-50 > .layout__region--third,
  .layout--threecol-section--50-25-25 > .layout__region--first {
    flex: 0 1 calc(50% - 2 * var(--gap) / 3);
  }
  .layout--threecol-section--33-34-33 > .layout__region--first,
  .layout--threecol-section--33-34-33 > .layout__region--second,
  .layout--threecol-section--33-34-33 > .layout__region--third {
    flex: 0 1 calc(33.33% - 2 * var(--gap) / 3);
  }
}

/* Medias Embed */
.responsive-embed :where(iframe.instagram-media-rendered) {
  height: revert-layer;
  aspect-ratio: unset;
}
