/* Vars */
/* Reset CSS */
@font-face {
  font-family: "ScotchDeck-Regular";
  src: url(../fonts/ScotchDeck-Roman.ttf);
}
@font-face {
  font-family: "ScotchDeck-Medium";
  src: url(../fonts/ScotchDeck-Medium.ttf);
}
html, body {
  background: #fff;
  z-index: 1;
  font-family: "ScotchDeck-Regular";
  font-size: 1.75vw;
  line-height: 2.1vw;
  padding: 0;
  margin: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a, button, input, label {
  cursor: pointer;
  color: black;
  text-decoration: none;
}

img {
  width: 100%;
  height: auto;
}

*, *:after, *:before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-weight: lighter;
}

strong {
  font-weight: bold;
  letter-spacing: .05vw;
}

ul, li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Your CSS */
.logo {
  position: fixed;
  top: 0;
  left: 0;
  width: 25vw;
  height: 25vw;
  z-index: 9;
  padding: 1vw;
  border-bottom: 0.2vw solid black;
  background: #fff;
}
@media (max-width: 880px) {
  .logo {
    border-bottom: 0.4vw solid black;
  }
}

nav a,
aside a,
footer a {
  display: block;
  height: 3.57vw;
  line-height: 3.57vw;
  border-bottom: 0.2vw solid black;
  padding-left: 1vw;
}
@media (max-width: 880px) {
  nav a,
  aside a,
  footer a {
    border-bottom: 0.4vw solid black;
  }
}
nav a.sub,
aside a.sub,
footer a.sub {
  padding-left: 3vw;
}
nav.footnav,
aside.footnav,
footer.footnav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
nav.footnav a,
aside.footnav a,
footer.footnav a {
  border-top: 0.2vw solid black;
  height: 3.75vw;
  line-height: 3.57vw;
}
@media (max-width: 880px) {
  nav.footnav a,
  aside.footnav a,
  footer.footnav a {
    border-top: 0.4vw solid black;
  }
}
nav.footnav a:nth-child(2),
aside.footnav a:nth-child(2),
footer.footnav a:nth-child(2) {
  border-left: 0.2vw solid black;
}
@media (max-width: 880px) {
  nav.footnav a:nth-child(2),
  aside.footnav a:nth-child(2),
  footer.footnav a:nth-child(2) {
    border-left: 0.4vw solid black;
  }
}
nav.languages,
aside.languages,
footer.languages {
  width: 25vw;
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  overflow: scroll;
}
nav .active,
aside .active,
footer .active {
  background: yellow;
  font-family: "ScotchDeck-Medium";
}
nav li:has(> .active),
aside li:has(> .active),
footer li:has(> .active) {
  position: sticky;
  top: 0;
}

.navwrapper {
  height: calc(100dvh - 25vw);
  top: 25vw;
  position: fixed;
  width: 25vw;
  overflow: scroll;
  left: 0;
  z-index: 90;
}
.navwrapper .subnav {
  height: calc(100dvh - 7.14vw - 25vw);
  overflow: hidden;
}
.navwrapper .mainnav {
  position: relative;
  display: none;
}
.navwrapper .mainnav.active {
  display: block;
}

.main2 .innerlogo {
  border-top: 0.2vw solid black;
}
@media (max-width: 880px) {
  .main2 .innerlogo {
    border-top: 0.4vw solid black;
  }
}

main {
  width: 75vw;
  position: relative;
  overflow: auto;
}
main .content {
  position: relative;
  border-right: 0.2vw solid black;
  border-left: 0.2vw solid black;
  width: 50vw;
  top: 0;
  margin-left: 25vw;
  overflow: hidden;
}
@media (max-width: 880px) {
  main .content {
    border-right: none;
    border-left: none;
  }
}
main .content p a {
  text-decoration: underline;
}
main .content.overflow {
  overflow: scroll;
}
main .content .innerlogo h1 {
  font-size: 16.6vw;
  letter-spacing: -0.4vw;
  margin-left: -0.75vw;
  line-height: 12.05vw;
}
main .content .innerlogo h2 {
  padding-left: 0;
}
main .content article section {
  padding: 1vw;
  padding-top: 0;
}
@media (max-width: 880px) {
  main .content article section {
    padding: 2vw;
    padding-top: 0;
  }
}
main .content article section p {
  margin-bottom: 1vw;
}
main .content article section p:last-of-type {
  margin-bottom: 0;
}
main .content article section.block-type-heading, main .content article section.bordertop {
  border-top: 0.2vw solid black;
}
@media (max-width: 880px) {
  main .content article section.block-type-heading, main .content article section.bordertop {
    border-top: 0.4vw solid black;
  }
}
main .content article h1, main .content article h2 {
  font-size: 4vw;
  line-height: 3.25vw;
  margin-top: 1vw;
}
@media (max-width: 880px) {
  main .content article h1, main .content article h2 {
    margin-top: 2vw;
  }
}
main .content article h2 {
  padding-left: 3vw;
}
main .content article p {
  margin-bottom: 1vw;
}
main .content article blockquote {
  padding-left: 3vw;
}
main .content article .ai {
  width: 100%;
  background-color: yellow;
  font-size: 3vw;
  line-height: 2.5vw;
  padding: 0.75vw 0.5vw 0.5vw;
  border-top: 0.2vw solid black;
}
@media (max-width: 880px) {
  main .content article .ai {
    border-top: 0.4vw solid black;
  }
}

.logos img {
  width: auto;
  height: 8vw;
  filter: grayscale(100%);
}
.logos img:hover {
  filter: grayscale(0%);
}
@media (max-width: 880px) {
  .logos img {
    height: auto;
    width: 100%;
  }
}

.mobilenav {
  display: none;
}

.newsitem img, .block-type-image img {
  margin-top: 1vw;
  margin-bottom: 0.75vw;
  filter: grayscale(100%);
}
.newsitem img:hover, .block-type-image img:hover {
  filter: grayscale(0%);
}

@media (max-width: 880px) {
  body {
    font-size: 5.25vw;
    line-height: 6.2vw;
    padding-top: 12vw;
  }
  nav, aside, footer {
    background-color: white;
  }
  nav a, aside a, footer a {
    font-size: 7.75vw;
    line-height: 10vw;
    height: 10vw;
    padding-left: 2vw !important;
  }
  nav a.subnavitem, aside a.subnavitem, footer a.subnavitem {
    padding-left: 6vw !important;
  }
  nav.languages, aside.languages, footer.languages {
    display: none;
    height: calc(100dvh - 10vw);
    background-color: white;
    top: 10vw;
    width: 100vw;
    z-index: 90;
  }
  nav.footnav a, aside.footnav a, footer.footnav a {
    text-align: center;
    font-size: 7.75vw;
    line-height: 10vw;
    height: 10vw;
    border-bottom: none;
    padding-left: 0 !important;
  }
  .logo {
    width: 100%;
    padding: 0;
    font-size: 0;
    position: relative;
    height: auto;
  }
  main {
    width: 100%;
  }
  main .content {
    width: 100%;
    margin: 0;
  }
  main .content .innerlogo h1 {
    font-size: 32.5vw;
    line-height: 25.05vw;
  }
  main .content article h2 {
    font-size: 7.75vw;
    line-height: 7.75vw;
  }
  .navwrapper {
    display: none;
    height: calc(100dvh - 10vw);
    background-color: white;
    top: 10vw;
    width: 100vw;
    z-index: 90;
  }
  .mobilenav {
    width: 100vw;
    height: 10vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    display: grid;
    background-color: white;
    grid-template-columns: repeat(2, 1fr);
  }
  .mobilenav a {
    text-align: center;
    border-bottom: 0.4vw solid black;
    font-size: 7.75vw;
    line-height: 10vw;
    height: 10vw;
  }
  .mobilenav a:nth-child(2) {
    border-left: 0.4vw solid black;
  }
  main .content article .ai {
    font-size: 7.75vw;
    line-height: 7.75vw;
    padding: 2vw;
  }
  .languageopen .languages {
    display: block;
  }
  .menuopen .navwrapper {
    display: block;
  }
  html:has(> .languageopen), html:has(> .menuopen) {
    overflow: hidden !important;
  }
  main .content article h1, main .content article h2 {
    font-size: 7.75vw;
    line-height: 7.75vw;
  }
}