/* Fix bug: long dropdown menus are clipped */
#site-navigation {
  z-index: 30;
}
/* End fix */

.site-title {
  max-width: 15em;
}

body.home header.entry-header {
  display: none;
}

body.home .entry-content {
  margin-top: 0;
}

.panel-layout a {
  color: #fff;
}

.panel-layout.panel-layout-align-buttons .wp-block-column {
  display: flex;
  flex-direction: column;
}

.panel-layout .wp-block-column figure {
  margin: -2em -2em 2em -2em;
}

.panel-layout h2 {
  color: #fff;
  line-height: 1.3;
}

.panel-layout .wp-block-column {
  background: #002f5f;
  color: #fff;
  padding: 2em;
}

.panel-layout .wp-block-column.panel-no-colour {
  background: unset;
  color: unset;
}

.panel-layout .wp-block-buttons {
  margin-top: 2rem;
}

.panel-layout .wp-block-button__link {
  color: #002f5f;
  background: #fff;
  border: 2px solid #fff;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.panel-layout .wp-block-button__link:hover {
  background: #002f5f;
  color: #fff;
}

.panel-layout .wp-block-column > *:last-child {
  margin-bottom: 0;
}

.panel-layout.panel-layout-align-buttons .wp-block-column > *:last-child {
  margin-top: auto;
}

.hero-image-intro {
  margin-bottom: 1.5em;
}

p,
ul,
ol {
  margin: 1em 0 1.5em;
}

table th,
table td {
  padding: 1rem 1.5rem;
}

figure.with-credit {
  position: relative;
}

figure.with-credit figcaption {
  position: absolute;
  bottom: 0;
  margin: 0;
  padding: 0 0.5rem;
  background: #000;
  color: #fff;
  font-size: 1.1rem;
  right: 0;
  opacity: 0.4;
}

figure.with-credit figcaption a {
  color: #fff;
}

#partner-links {
  margin: 2rem 0;
}

#footer-links {
  max-width: 1200px;
  background: #161b20;
  margin: 0 auto;
  padding: 0 2rem 2rem;
}

#partner-links > div,
#footer-links > div {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

#partner-links img {
  height: 100px;
}

#partner-links img.square-logo {
  height: 120px;
}

#footer-links img {
  height: 60px;
}

#footer-links img.square-logo {
  height: 100px;
}

@media screen and (min-width: 1218px) {
  #footer-links {
    margin: -48px auto 48px;
  }
}