@import url('https://fonts.googleapis.com/css2?family=Cal+Sans&family=Lexend+Deca:wght@100..900&display=swap');

html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Lexend Deca', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  background-color: #ffffff;
  color: #000000;
  margin: 0;
  padding: 0;
}
a {
  color: inherit;
}

h1, h2, h3, h4, h5, h6,
p, ul, ol {
    margin-top: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cal Sans', sans-serif;
  font-weight: 400;
}

h1, h2 {
  font-size: 2.33rem;
}
h3 {
  font-size:  2rem;
}
h4 {
  font-size:  1.5rem;
}

img {
  max-width: 100%;
  height: auto;
}


.content-width,
.paragraph--type--headline,
.paragraph--type--text,
.paragraph--type--people,
.paragraph--type--icon-list {
  box-sizing: border-box;
  max-width: 1732px;
  margin: 0 auto;
  padding: 0 4rem;
}
.text-width,
.field--type-text-long {
  max-width: 1154px;
  margin: 0 auto;
}

.header-container {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
.toolbar-fixed .header-container {
  min-height: calc(100vh - 79px);
}


.menu-bar {
  box-sizing: border-box;
  transition: all 0.5s;
  position: sticky;
  top: -1.25rem;
  z-index: 100;
  width: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 2.92rem 4rem 1.67rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.toolbar-fixed .menu-bar {
  top: 49px;
}

.block-system-branding-block img {
  min-width: 173px;
  width: 14rem;
  max-width: 337px;
  height: auto;
}

/*.menu-bar nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.875rem;
}
.menu-bar nav > ul a {
  text-decoration: none;
}*/

.menu-bar .contextual .trigger {
  right: -30px;
}
.menu-bar .menu-like {
  display: none;
}

.menu-bar nav ul.menu,
.hamburger-active .menu-like {
  display: flex;
  justify-content: flex-end;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 1.875rem;
}

.menu-bar nav ul.menu .menu-item,
.menu-like li {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  list-style: none;
}

.menu-bar nav ul.menu .menu-item a,
.menu-like li a {
  text-decoration: none;
  display: inline-block;
}

.menu-bar nav ul.menu .menu-item::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  height: 65%;
}

.hamburger-active .hamburger-overlay {
  /*display: none;*/
  background: rgba(255, 255, 255, 0);
  justify-content: flex-end;
  position: fixed;
  right: -200vw;
  top: 0;
  bottom: 0;
  height: auto;
  z-index: 10;
  transition: all 0.5s;
  overflow: hidden;
  max-width: 100vw;
}
.hamburger-active.hamburger-open .hamburger-overlay {
  display: flex;
  right: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.5);
}

.hamburger-active .hamburger-content {
  margin-right: -100%;
  background: #ffffff;
  overflow: auto;
  transition: all 0.5s;
  padding-top: 2.92rem;
}
.toolbar-fixed .hamburger-active .hamburger-content {
  padding-top: calc(2.92rem + 79px);
}
.hamburger-active.hamburger-open .hamburger-content {
  margin-right: 0;
}

.menu-bar .hamburger-active nav ul.menu,
.menu-bar .hamburger-active.hamburger-open nav ul.menu-like {
  height: auto;
  flex-direction: column;
  min-width: min(300px, 80vw);
}
.menu-bar .hamburger-active.hamburger-open nav ul.menu-like {
  margin-top: 1.875rem;
}

.hamburger-opener,
.hamburger-closer {
  font-weight: 900;
  font-size: 1.5rem;
}
.hamburger-opener span {
  font-size: 0.8rem;
  font-weight: 300;
  margin-right: 0.5em;
  vertical-align: 0.25em;
  text-transform: none;
}
.hamburger-active.hamburger-open .hamburger-opener,
.hamburger-closer span {
  display: none;
}

header {  
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
header div:not(.field, .contextual, .node--type-header, .node--type-header *) {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.node--type-header {
  flex-grow: 1;
  min-height: 500px;
  background-color: #000000;
  background-size: cover;
  background-position: center;  
  font-size: 2.2rem;
  color: #ffffff;
  display: grid;
  grid-template-rows: 50% 50%;
  grid-template-columns: 50% 50%;
  position: relative;
  padding: 2.5rem 4rem;
  line-height: 1.5em;
}
.node--type-header p {
  margin: 0;
}
.field--name-field-top-left {
  grid-row: 1;
  grid-column: 1;
  align-self: start;
  justify-self: start;
  font-size: 3.5rem;
}
.field--name-field-top-right {
  grid-row: 1;
  grid-column: 2;
  align-self: start;
  justify-self: end;
  font-size: 3.5rem;
  text-align: right;
}
.field--name-field-bottom-left {
  grid-row: 2;
  grid-column: 1;
  align-self: end;
  justify-self: start;
}
.field--name-field-bottom-right {
  grid-row: 2;
  grid-column: 2;
  align-self: end;
  justify-self: end;
  text-align: right;
}
.node--type-header .field--name-field-link {
  position: absolute;
  left: 50%;
  margin-left: -1.7rem;
  bottom: 1.875rem;
}
.node--type-header .field--name-field-link a {
  background: #ffffff url(../img/icon-down.png) no-repeat center center;
  background-size: 1.61rem 1.61rem;
  color: #000000;
  border-radius: 50%;
  text-indent: -999999px;
  width: 3.4rem;
  height: 3.4rem;
  min-width: 40px;
  min-height: 40px;
  max-width: 80px;
  max-width: 80px;
  display: block;
}

a.anchor {
  width: 1px;
  display: block;
  position: absolute;
  margin-top: -8rem;
}

.tabs ul {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin: 0;
  margin-inline-start: 0; /* Override [dir] attribute in base <ul> in compiled CSS. */
  padding: 0;
  list-style: none;
  gap: 2rem;
}

.field--name-field-p-headline,
.node--type-contact h2 {
  text-align: center;
}
.paragraph:not(.paragraph--type--icon-list) .field--name-field-p-headline,
.node--type-contact h2 {
  margin-top: 6.9rem;
}
.paragraph:not(.no-line, .paragraph--type--icon-list) .field--name-field-p-headline::before,
.node--type-contact h2::before {
  content: "";
  display: block;
  width: 606px;
  max-width: 60%;
  height: 2px;
  background-color: #000000;
  margin: auto;
  margin-bottom: 4.2rem;
}


.field--name-field-p-icons {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 1rem;
}
.field--name-field-p-icons .paragraph--type--image-link,
.field--name-field-p-icons .field--name-field-p-image,
.field--name-field-p-icons .field--name-field-p-image a {
  display: block;
  height: 100%;
}
.field--name-field-p-icons .field--name-field-p-image a {
  display: flex;
  align-items: center;
  justify-content: center;
}


.blazy__slick-lightbox {
    cursor: pointer;
}

.media__icon.media__icon--litebox::after {
    content: "+";
    transform: none;
    height: auto;
    background: none;
    text-align: center;
}

.slick__slide.slide {
    vertical-align: middle;
}
.slick-list img {
    display: block;
}
.media__icon.media__icon--litebox::before {
    content: none;
    display: none;
}
.slick-arrow::before,
.slick-arrow:hover::before {
    opacity: 1;
    color: #ffffff;
}


.node--type-person h3 {
  margin-bottom: 0.72em;
}
.node--type-person .field--name-field-photo {
  text-align: center;
  margin-bottom: 2.7em;
}
.node--type-person .field--name-field-role {
  font-size: 1.33rem;
  min-height: 2.5em;
  margin-bottom: 1em;
}
.node--type-person .field--name-field-description {
  font-weight: 300;
}

.field--name-field-person {
  display: flex;
  justify-content: center;
  gap: 3.75rem;
  flex-wrap: wrap;
}
.field--name-field-person > .field__item {
  width: 25%;
  min-width: 200px;
  max-width: 355px;
}

.node--type-contact a {
  text-decoration: none;
}
.node--type-contact .node__content {
  padding: 0 4rem;
}
.node--type-contact .field--name-field-link {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3.33rem;
}
.node--type-contact .field--name-field-link .field__item a {  
  transition: all 0.3s;
  font-size: 1.5rem;
  font-family: 'Cal Sans', sans-serif;
  padding-left: 2rem;
  background: url(../img/icon-right.png) no-repeat 0 50%;
  background-size: 1.5rem 1.5rem;
}
.node--type-contact .field--name-field-link .field__item a:hover { 
  background-position: 0.4rem 50%;
}
.node--type-contact .field--name-field-description {
  margin-top: 1.875em;
  font-weight: 300;
}


.footer-bottom {
  padding: 2.3rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Cal Sans', sans-serif;
  gap: 1rem
}
img.footer-logo {
  min-width: 100px;
  width: 6rem;
  max-width: 130px;
  height: auto;
}