* {
  box-sizing: border-box;
  font-family: "Bradford Mono LL", serif;
  font-size: var(--font-m);
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
  font-size: var(--font-m);
}

h1,
h2,
h3 {
  font-weight: inherit;
  font-size: inherit;
}

/* ----- header ----- */

header {
  background-color: #fff;
  height: var(--header-height);
  padding: var(--spacing-m);
  position: sticky;
  top: 0;
  transition: height 0.2s ease-in-out;
  z-index: 100;
}

header.scrolled {
  height: calc(var(--header-height) - 50px);
}

.main-navigation {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 75px;
  transition: height 0.2s ease-in-out;
  gap: var(--spacing-m);
}

header.scrolled .main-navigation {
  height: 50px;
}

.main-navigation-left {
  height: 100%;
}

.main-logo {
  height: 100%;
}

.main-logo img {
  display: block;
  height: 100%;
}

.main-navigation-right {
  display: flex;
  gap: var(--spacing-m);
  text-transform: uppercase;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media screen and (max-width: 768px) {
  header {
    height: calc(var(--header-height) - 50px);
  }

  .main-navigation {
    height: 50px;
  }

  .main-navigation-right {
    gap: var(--spacing-s);
  }
}

/* ----- no cookies banner ----- */

.no-cookies {
  display: none;
  justify-content: space-between;
  gap: var(--spacing-m);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: black;
  color: white;
  padding: var(--spacing-s) var(--spacing-m);
  z-index: 1000;
}

.no-cookies-close {
  background: none;
  border: none;
  color: white;
  font-size: inherit;
  text-transform: uppercase;
  cursor: pointer;
}

/* ----- main ----- */

.main-container {
  min-height: calc(100vh - var(--header-height) + 50px);
  padding: var(--spacing-m);
}

.view-switcher {
  display: flex;
  gap: var(--spacing-s);
}

.list-view-button,
.image-view-button {
  background: none;
  border: none;
  font-size: inherit;
  text-transform: uppercase;
  color: var(--color-gray);
  cursor: pointer;
}

.list-view-button.active,
.image-view-button.active {
  color: black;
}

.home-view {
  margin-top: var(--spacing-l);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-m);
}

/* ----- view elements ----- */

.view-element-header {
  display: flex;
}

.view-element-date {
  width: 20%;
  padding-right: var(--spacing-m);
}

.view-element-title-artist {
  width: 55%;
  padding-right: var(--spacing-m);
}

.view-element-title {
  text-transform: uppercase;
  padding-right: var(--spacing-m);
}

.view-element-artist {
  margin-left: var(--spacing-m);
}

.view-element-more {
  display: block;
  text-decoration: underline;
  width: fit-content;
  margin-top: var(--spacing-s);
}

.view-element-tag {
  width: 10%;
  padding-right: var(--spacing-m);
}

.view-element-tag-inner {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.view-element-location {
  width: 15%;
  display: flex;
  justify-content: flex-end;
}

.view-element-images {
  margin-top: var(--spacing-s);
  height: 400px;
}

.view-element-images img {
  height: 400px;
}

@media screen and (max-width: 768px) {
  .home-view {
    gap: var(--spacing-l);
  }

  .view-element-header {
    flex-wrap: wrap;
    gap: var(--spacing-s);
  }

  .view-element-date,
  .view-element-tag {
    width: calc(40% - var(--spacing-s) / 2);
    padding-right: 0;
  }

  .view-element-title-artist,
  .view-element-location {
    width: calc(60% - var(--spacing-s) / 2);
    padding-right: 0;
  }

  .view-element-artist {
    margin-left: 0;
    display: block;
    margin-top: var(--spacing-s);
  }

  .view-element-location {
    justify-content: flex-start;
  }

  .view-element-date span {
    display: block;
  }

  .view-element-images {
    height: 300px;
  }

  .view-element-images img {
    height: 300px;
  }
}

/* ----- splide ----- */

.splide__arrows,
.splide__pagination {
  display: none;
}

/* ----- news ----- */

.news {
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.news-page .news {
  margin-top: unset;
}

.news-header {
  text-transform: uppercase;
}

.news-elements {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-m);
  margin-top: var(--spacing-l);
}

.news-element {
  display: flex;
}

.news-element-date {
  width: 20%;
  padding-right: var(--spacing-m);
}

.news-element-category-title {
  width: 60%;
  padding-right: var(--spacing-m);
}

.news-element-link {
  width: 20%;
}

.news-element-link a {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .news-elements {
    gap: var(--spacing-l);
  }

  .news-element {
    flex-wrap: wrap;
    gap: var(--spacing-s);
    flex-direction: column;
  }

  .news-element-date,
  .news-element-category-title,
  .news-element-link {
    width: 100%;
    padding-right: 0;
  }
}

/* ----- subpages ----- */

.page-header {
  text-transform: uppercase;
  margin-bottom: var(--spacing-l);
}

/* ----- artists subpage ----- */

ul.artists-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ----- exhibition subpage ----- */

.exhibition-header {
  font-size: var(--font-l);
  margin-bottom: var(--spacing-m);
}

.exhibition-date-location {
  margin-bottom: var(--spacing-l);
}

.exhibition-container {
  display: flex;
  gap: var(--spacing-l);
}

.exhibition-modules {
  width: 35%;
}

.exhibition-images {
  width: 65%;
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xxs);
}

.exhibition-image {
  height: 350px;
}

.exhibition-image img {
  display: block;
}

.glightbox-clean .gslide-desc,
.glightbox-clean .gslide-title {
  font-family: inherit;
  font-size: var(--font-m);
}

.glightbox-clean .gslide-title {
  margin-bottom: 0;
}

.gdesc-inner {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-s);
}

@media screen and (max-width: 768px) {
  .exhibition-container {
    flex-direction: column;
  }

  .exhibition-modules,
  .exhibition-images {
    width: 100%;
  }

  .exhibition-image {
    height: 250px;
  }
}

/* ----- footer ----- */

footer {
  padding: var(--spacing-m);
}

.footer-navigation {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
}

.footer-navigation-left {
  display: flex;
  align-items: center;
  gap: var(--spacing-m);
}

@media screen and (max-width: 768px) {
  .footer-navigation {
    align-items: flex-end;
  }

  .footer-navigation-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
}

/* ----- mailchimp embed ----- */

input#mce-EMAIL {
  border: none;
  border-bottom: 1px solid black;
  margin-top: 10px;
  padding: 5px 0;
  font-size: 16px;
  color: black;
  border-radius: 0;
}

input#mce-EMAIL::placeholder {
  color: black;
}

input#mc-embedded-subscribe {
  font-size: 16px;
  padding: 10px 0;
  border: none;
  background: none;
  text-transform: uppercase;
  cursor: pointer;
}

#mc_embed_signup div.mce_inline_error {
  margin: 0 0 1em 0;
  padding: 10px 0 !important;
  color: #6b0505 !important;
  background-color: white !important;
  font-weight: bold;
  z-index: 1;
  width: fit-content;
  font-size: 16px;
}

input:focus {
  outline-width: 0;
}

/* ----- detail page ----- */

.module_image {
  margin: var(--spacing-m) 0;
  max-width: 1000px;
}

.module_text {
  max-width: 1000px;
}

.module_sectiontitle.bigHeaderSize {
  margin-top: var(--spacing-l);
  margin-bottom: var(--spacing-m);
  text-transform: uppercase;
  max-width: 1000px;
}

.module_sectiontitle.subheaderSize {
  margin-top: var(--spacing-m);
  margin-bottom: var(--spacing-m);
  max-width: 1000px;
}
