* {
  margin: 0;
  padding: 0;
}

:root {
  --padding: 1.5rem;
  --color-black: #000;
  --color-white: #fff;
  --color-grey: #777;
  --color-light: #efefef;
  --color-text: var(--color-black);
  --color-text-grey: var(--color-grey);
  --color-background: var(--color-white);
  --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

html {
  font-family: var(--font-family-sans);
  color: var(--color-text);
  background: var(--color-background);
}
img {
  width: 100%;
}
body {
  padding: var(--padding);
  max-width: 70rem;
  margin: 0 auto;
}
li {
  list-style: none;
}
a {
  color: currentColor;
  text-decoration: none;
}
button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
}
strong, b {
  font-weight: 600;
}
small {
  font-size: inherit;
  color: var(--color-text-grey);
}

.bg-light {
  background-color: var(--color-light);
}
.color-grey {
  color: var(--color-text-grey);
}

html {
  overflow-x: clip;
  scroll-padding-top: calc(var(--header-height, 8rem) + 1rem);
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-right: -1rem;
  margin-left: -1rem;
  margin-bottom: 3rem;
}
/* full window width background behind the sticky header */
.header::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100vw;
  right: -100vw;
  z-index: -1;
  background: var(--color-background);
  border-bottom: 1px solid transparent;
}
.header.is-stuck::before {
  border-bottom-color: #ddd;
}
.menu.is-open {
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
}

.logo {
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  line-height: 1.25em;
}
.logo img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}
.logo small {
  display: block;
  font-size: .875rem;
}

.menu-toggle {
  padding: 1rem;
  font-weight: 600;
}
.menu {
  display: none;
  width: 100%;
}
.menu.is-open {
  display: block;
}
.menu a {
  padding: .5rem 1rem;
  display: block;
}
.menu-item > a {
  font-weight: 600;
}
.submenu a {
  color: var(--color-text-grey);
}
.menu a[aria-current] {
  text-decoration: underline;
  color: var(--color-text);
}

.skip-link {
  position: absolute;
  left: -100vw;
}
.skip-link:focus {
  left: var(--padding);
  top: .5rem;
  background: var(--color-black);
  color: var(--color-white);
  padding: .5rem 1rem;
  z-index: 10;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.section {
  padding: 3rem 0;
}

.grid {
  --columns: 12;
  --gutter: 3rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}
.grid > .column {
  margin-bottom: var(--gutter);
}

.autogrid {
  --gutter: 3rem;
  --min: 10rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  grid-auto-flow: dense;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.text {
  line-height: 1.5em;
}
.text a {
  text-decoration: underline;
}
.text :first-child {
  margin-top: 0;
}
.text :last-child {
  margin-bottom: 0;
}
.text p,
.text ul,
.text ol {
  margin-bottom: 1.5rem;
}
.text ul,
.text ol {
  margin-left: 1rem;
}
.text ul p,
.text ol p {
  margin-bottom: 0;
}
.text ul > li {
  list-style: disc;
}
.text ol > li {
  list-style: decimal;
}
.text ul ol,
.text ul ul,
.text ol ul,
.text ol ol {
  margin-bottom: 0;
}
.text h1,
.h1,
.intro {
  font-size: 2rem;
  margin-bottom: 3rem;
  line-height: 1.25em;
}
.text h2,
.h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.text h3,
.h3 {
  font-weight: 600;
}
.text hr {
  margin: 6rem 0;
}
.text dt {
  font-weight: 600;
}
.text blockquote {
  font-size: 1.25rem;
  line-height: 1.325em;
  border-left: 2px solid var(--color-black);
  padding-left: 1rem;
  margin: 3rem 0;
  max-width: 25rem;
}
.text blockquote footer {
  font-size: .875rem;
  font-style: italic;
}
.text figure {
  margin: 3rem 0;
}
.text figcaption {
  padding-top: .75rem;
  color: var(--color-text-grey);
}
.text figure ul {
  line-height: 0;
  display: grid;
  gap: 1.5rem;
  margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}
.text figure ul li {
  list-style: none;
}

hr {
  border: 0;
  background: currentColor;
  height: 2px;
  width: 1.5rem;
  margin: 3rem auto;
}

.align-center {
  text-align: center;
}

.intro {
  max-width: 40rem;
}
.intro *:not(:last-child) {
  margin-bottom: 1em;
}

.cta {
  background: var(--color-black);
  color: var(--color-white);
  display: inline-flex;
  justify-content: center;
  padding: .75rem 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-black);
}

.box {
  background: var(--color-light);
  padding: 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-light);
}

.video,
.img {
  position: relative;
  display: block;
  --w: 1;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  background: var(--color-black);
}
.img img,
.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.img[data-contain] img {
  object-fit: contain;
}
.img-caption,
.video-caption {
  padding-top: .75rem;
  line-height: 1.5em;
}

.footer {
  padding: 9rem 0 6rem;
  line-height: 1.5em;
}
.footer:before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--color-black);
  margin-bottom: 1.5rem;
}

.footer h2 {
  font-weight: 600;
  margin-bottom: .75rem;
}
.footer ul,
.footer p {
  color: var(--color-text-grey);
}
.footer p {
  max-width: 15rem;
}
.footer a:hover {
  color: var(--color-text);
}



.margin-s {
  margin-bottom: .75rem;
}
.margin-m {
  margin-bottom: 1.5rem;
}
.margin-l {
  margin-bottom: 3rem;
}
.margin-xl {
  margin-bottom: 4.5rem;
}
.margin-xxl {
  margin-bottom: 6rem;
}


@media screen and (min-width: 60rem) {
  body {
    --padding: 3rem;
  }

  .grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid > .column {
    grid-column: span var(--columns);
  }

}

.pagination {
  display: flex;
  padding-top: 6rem;
}
.pagination > span {
  color: var(--color-text-grey);
}
.pagination > * {
  padding: .5rem;
  width: 3rem;
  text-align: center;
  border: 2px solid currentColor;
  margin-right: 1.5rem;
}
.pagination > a:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}




/* Navigation on large screens: one row with dropdowns */
@media screen and (min-width: 60rem) {
  .menu-toggle {
    display: none;
  }
  .menu {
    display: block;
    width: auto;
  }
  .menu > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .menu-item {
    position: relative;
  }
  .menu-item > a {
    padding: 1rem .75rem;
    font-weight: 400;
  }
  .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 14rem;
    padding: .5rem 0;
    background: var(--color-white);
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .12);
    z-index: 5;
  }
  .menu-item:hover .submenu,
  .menu-item:focus-within .submenu {
    display: block;
  }
  .submenu a {
    color: var(--color-text);
  }
  .submenu a:hover {
    background: var(--color-light);
  }
}

/* Page */
.page-cover {
  margin-bottom: 3rem;
}
.page-header .h1 {
  margin-bottom: 3rem;
}
.page-header-parent {
  color: var(--color-text-grey);
  margin-bottom: .5rem;
}
.page,
.home-intro {
  max-width: 50rem;
}
.blocks > * {
  margin-bottom: 3rem;
}
.blocks > .text,
.blocks > p,
.blocks > ul,
.blocks > ol,
.blocks > h2,
.blocks > h3 {
  line-height: 1.5em;
}
.blocks > h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.blocks > h3 {
  font-weight: 600;
  margin-bottom: .75rem;
}
.blocks > p,
.blocks > ul,
.blocks > ol {
  margin-bottom: 1.5rem;
}
.blocks > ul,
.blocks > ol {
  margin-left: 1rem;
}
.blocks > ul > li {
  list-style: disc;
}
.blocks > ol > li {
  list-style: decimal;
}
.blocks a,
.text a {
  text-decoration: underline;
}
.blocks h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.post-meta {
  color: var(--color-text-grey);
  margin-top: -2rem;
  margin-bottom: 3rem;
}

/* Text with image */
.textimage {
  display: grid;
  gap: 1.5rem;
}
.textimage-image {
  order: -1;
}
.textimage-image figcaption {
  padding-top: .75rem;
  color: var(--color-text-grey);
}
@media screen and (min-width: 45rem) {
  .textimage {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
  .textimage[data-position="right"] .textimage-image {
    order: 1;
  }
}

/* Callout */
.callout {
  padding: 1.5rem;
  line-height: 1.5em;
  background: var(--color-light);
  border-left: 4px solid var(--color-black);
}
.callout[data-style="important"] {
  background: #fff4e5;
  border-left-color: #d97706;
}
.callout p:not(:last-child) {
  margin-bottom: 1rem;
}

/* Accordion */
.accordion-alphabet {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  margin-bottom: 1.5rem;
}
.accordion-alphabet a,
.accordion-alphabet span {
  width: 2rem;
  text-align: center;
  padding: .25rem 0;
  text-decoration: none;
}
.accordion-alphabet a {
  background: var(--color-light);
}
.accordion-alphabet a:hover {
  background: var(--color-black);
  color: var(--color-white);
}
.accordion-alphabet span {
  color: #bbb;
}
.accordion details {
  border-top: 1px solid var(--color-light);
  scroll-margin-top: 1rem;
}
.accordion details:last-child {
  border-bottom: 1px solid var(--color-light);
}
.accordion summary {
  padding: 1rem 0;
  font-weight: 600;
  cursor: pointer;
}
.accordion details .text {
  padding-bottom: 1.5rem;
}

/* People */
.people ul {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
}
.person {
  display: flex;
  flex-direction: column;
  line-height: 1.5em;
}
.person figure {
  margin-bottom: .75rem;
}
.person span {
  color: var(--color-text-grey);
}

/* Downloads */
.downloads li {
  border-top: 1px solid var(--color-light);
}
.downloads li:last-child {
  border-bottom: 1px solid var(--color-light);
}
.downloads a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  text-decoration: none;
}
.downloads a:hover .downloads-title {
  text-decoration: underline;
}
.downloads-title:before {
  content: "↓ ";
}

/* Gallery */
.gallery ul {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
}
.gallery img {
  display: block;
}
.gallery figcaption {
  padding-top: .75rem;
  color: var(--color-text-grey);
}

/* Cards */
.card-grid {
  display: grid;
  gap: 3rem 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  margin-bottom: 3rem;
}
.card a {
  display: block;
  text-decoration: none;
  line-height: 1.5em;
}
.card figure {
  margin-bottom: .75rem;
  background: var(--color-light);
}
.card-title {
  font-weight: 600;
}
.card a:hover .card-title {
  text-decoration: underline;
}
.card-meta,
.card-text {
  color: var(--color-text-grey);
}
.latest-news {
  margin-top: 6rem;
}

/* News filter */
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 3rem;
}
.filter a {
  padding: .5rem 1rem;
  background: var(--color-light);
}
.filter a[aria-current],
.filter a:hover {
  background: var(--color-black);
  color: var(--color-white);
}

/* Events */
.events li {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--color-light);
  line-height: 1.5em;
}
.events time {
  font-weight: 600;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  margin-bottom: 3rem;
}
.contact-grid p,
.contact-grid ul {
  margin-bottom: 1rem;
}
.plain li {
  list-style: none;
}

/* Search */
.search-form {
  display: flex;
  gap: .75rem;
  margin-bottom: 3rem;
}
.search-form input {
  flex-grow: 1;
  font: inherit;
  padding: .75rem 1rem;
  border: 2px solid var(--color-black);
}
.search-results li {
  padding: .75rem 0;
  border-top: 1px solid var(--color-light);
}

/* Footer */
.footer .text p {
  max-width: none;
  margin-bottom: .75rem;
}
.footer ul li {
  margin-bottom: .25rem;
}

/* Home */
.home-intro .h1 {
  margin-bottom: 1.5rem;
}
.home-intro .intro {
  font-size: 1.25rem;
  line-height: 1.5em;
  margin-bottom: 3rem;
}
