:root {
  --color-bds-blue: #1D2F3D;
  --color-bds-blue-highlight: #4492CE;
  --color-bds-cream: #F7F2EB;
  --color-bds-green: #537930;
  --color-bds-green-highlight: #65AE21;
  --color-bds-offwhite: #F7F3EC;
  --color-bds-red: #A32A34;

  --color-bds-red-highlight: #E34343;
  --color-bds-sand: #E49963;
  --color-bds-yellow: #FFBF00;

  --color-black: #000000;
  --color-cta-blue: #334350;

  --color-cta-blue-highlight: #569CD2;
  --color-grey15: #262626;

  --color-grey20: #333333;
  --color-grey30: #4D4D4D;
  --color-grey40: #666666;
  --color-grey50: #808080;
  --color-grey60: #999999;
  --color-grey70: #B3B3B3;
  --color-grey80: #CCCCCC;
  --color-grey90: #E6E6E6;
  --color-grey95: #F2F2F2;
  --padding-h: 2rem;

  --spacing-lg: 2rem;
  --spacing-md: 1rem;
  --spacing-sm: 0.5rem;

  --padding-v: 1rem;
  --color-white: #FFFFFF;

  --content-width: 740px;

  @media (max-width: 900px) {
    --padding-h: 1rem;
  }

}

@font-face {
  font-family: 'Droid Sans';
  src: url('../fonts/droid-sans/droid-sans.regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Droid Sans';
  src: url('../fonts/droid-sans/droid-sans.bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

body {
  font-family: 'Droid Sans', sans-serif;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.6;
}

/* --HEADER-- */
header {
  align-items: center;
  background-color: #FFFFFF;
  display: flex;
  justify-content: center;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 1000;
}

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

.bds--header-spacer {
  height: 80px;
  width: 100%;
}

.bds--header-container {
  align-items: center;
  display: flex;
  flex-direction: row;
  height: 80px;
  padding: 0 1.5rem;
  position: relative;
  width: 100%;
}

.bds--header-language-block {
  align-content: center;
  display: flex;
  flex: 1;
  flex-direction: row;
  font-size: 1.2rem;
  white-space: nowrap;
}

.bds--header-logo-block {
  flex: 1;
  text-align: center;
}

.bds--header-menu-block {
  align-items: center;
  display: flex;
  flex: 1;
  flex-direction: row;
  gap: 2rem;
  justify-content: end;
  white-space: nowrap;
}

.bds--header-menu {
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
}

/* --LANGUAGE-- */
ul.wp-block-polylang-language-switcher {
  list-style: none;
  margin: 0 0 0 1rem;
  padding: 0;
}

ul.wp-block-polylang-language-switcher li {
  display: inline-block;
}

ul.wp-block-polylang-language-switcher a {
  color: var(--color-black);
  text-decoration: none;
}

ul.wp-block-polylang-language-switcher li:not(:last-child)::after {
  content: "/";
  font-weight: normal;
  margin: 0 0 0 0.5rem;
}

.current-lang {
  font-weight: bold;
}

/* --MENU-- */
.bds--menu-container {
  background: #FFFFFFAF;
  display: flex;
  flex-direction: row;
  height: 100%;
  position: fixed;
  top: 0;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  width: 100%;
  z-index: 9999;
}

.bds--menu-container.open {
  transform: translateX(0);
}

.bds--menu-container.is-ready {
  transition: transform 0.3s ease;
}

.bds--menu-container ul.menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bds--menu-container ul.menu li {
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
}

.bds--menu-container ul.menu a {
  color: var(--color-black);
  text-decoration: none;
}

.bds--menu-container ul.menu a:hover {
  text-decoration: underline;
  text-underline-offset: .25em;
}

.bds--menu-overlay {
  background-color: #5379307F;
  flex: 1;
}

.bds--menu-logo {
  background-color: var(--color-white);
  width: 80px;
}

.bds--menu-scroller {
  align-items: start;
  background-color: var(--color-white);
  box-sizing: content-box;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow-y: scroll;
  padding: 8rem 0.5rem;
  width: 240px;
}

.bds--menu-close {
  background-color: var(--color-white);
  padding: 3rem 2rem 3rem 0;
}

.bds--menu-toggle {
  cursor: pointer;
}

/* --PAGE-- */
.bds--featured-image {
  display: flex;
  flex-direction: column;
  height: 30vw;
  justify-content: center;
  overflow: hidden;
}

.wp-block-post-title {
  display: block;
  line-height: 1.4em;
}

.wp-block-post-title span {
  background-color: var(--color-bds-red);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: var(--color-white);
  display: inline;
  padding-inline: 0.2em;
  text-transform: uppercase;
}

/* --ELEMENTS-- */
.bds--hr {
  border-top: var(--color-grey50) solid 2px;
  width: 100%;
}

/* --BUTTONS-- */
.bds--buttons-full-width {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  width: 100%;
}

a.bds--btn {
  border-radius: 5px;
  display: inline-block;
  font-weight: bold;
  padding: 0.5rem 1rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.bds--btn:hover {
  box-shadow: rgba(0, 0, 0, 0.75) 0.25rem 0.25rem;
  transform: translate(-0.25rem, -0.25rem);
}

a.bds--btn-green {
  background-color: var(--color-bds-green);
  color: var(--color-white);
}

a.bds--btn-red {
  background-color: var(--color-bds-red);
  color: var(--color-white);
}

a.bds--btn-blue {
  background-color: var(--color-bds-blue);
  color: var(--color-white);
}

a.bds--btn-yellow {
  background-color: var(--color-bds-yellow);
  color: var(--color-white);
}

.bds--buttons-full-width a {
  display: block;
  overflow: hidden;
  text-align: center;
  white-space: nowrap;
  width: 100%;
}

.bds--close {
  align-items: center;
  border: var(--color-black) solid 2px;
  border-radius: 50%;
  display: flex;
  height: 1.6rem;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 1.6rem;
}

.bds--close:hover {
  box-shadow: rgba(0, 0, 0, 0.75) 0.25rem 0.25rem;
  transform: translate(-0.25rem, -0.25rem);
}

/* --FOOTER-- */
footer {
  background-color: var(--color-bds-blue);
  display: flex;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.bds--footer-container {
  display: flex;
  flex-direction: row;
  max-width: var(--content-width);
  width: 100%;
}

.bds--footer-container div {
  flex: 1;
}

footer ul.menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

footer ul.menu li {
  font-size: 1rem;
}

footer ul.menu a {
  color: var(--color-white);
  text-decoration: none;
}

footer ul.menu a:hover {
  text-decoration: underline;
  text-underline-offset: .25em;
}

@media (max-width: 782px) {
  .admin-bar header {
    top: 46px;
  }

  li.lang-item > a {
    font-size: 0;
  }

  li.lang-item-nl > a::before {
    content: "NL";
    font-size: 1.2rem;
  }

  li.lang-item-en > a::before {
    content: "EN";
    font-size: 1.2rem;
  }

  .bds--hide-on-mobile {
    display: none;
  }

  .bds--menu-scroller {
    flex: 1;
  }

  .bds--menu-scroller {
    flex: 1;
    padding: 8rem 1rem;
  }

  .bds--menu-close {
    padding: 0;
    position: absolute;
    right: 1rem;
    top: 2rem;
  }
}

@media (max-width: 420px) {
  .bds--header-container,
  .bds--header-spacer {
    height: 60px;
  }

  .bds--header-logo-block img {
    width: 80px;
  }

  li.lang-item-nl > a::before {
    font-size: 1rem;
  }

  li.lang-item-en > a::before {
    font-size: 1rem;
  }

  .bds--header-menu {
    font-size: 1rem;
  }

  .bds--footer-container {
    flex-direction: column;
    gap: 2rem;
  }
}