* {
  box-sizing: border-box;
}

html {
  color: #1f2426;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  background: #fff;
}

body {
  margin: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(1800px, calc(100vw - 120px));
  min-height: 82px;
  margin: 0 auto;
  padding: 24px 0 10px;
  background: #fff;
}

.brand {
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 22px;
  color: #111;
  font-size: 0.9rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.dropdown-indicator {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 20;
  display: none;
  min-width: 166px;
  padding: 0;
  border: 1px solid #d5d5d5;
  background: #fff;
  box-shadow: none;
}

.dropdown a {
  display: block;
  padding: 10px 14px;
  line-height: 1.4;
  text-decoration: none;
  white-space: normal;
}

.dropdown a:hover,
.dropdown a:focus {
  background: #f5f5f5;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  display: block;
}

.site-main {
  width: 100%;
}

.wp-content {
  width: min(1760px, calc(100vw - 120px));
  margin: 0 auto;
  padding: 28px 0 0;
}

.home-page .wp-content {
  width: min(1800px, calc(100vw - 120px));
}

.wp-content > *:first-child {
  margin-top: 0;
}

.wp-content p {
  margin: 0 0 1.05rem;
}

.wp-content p.has-large-font-size {
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.wp-content h1,
.wp-content h2,
.wp-content h3 {
  line-height: 1.12;
  font-weight: 500;
  margin: 2.4rem 0 1rem;
}

.wp-content h1 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

.wp-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.wp-content h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.wp-block-group {
  margin: clamp(28px, 5vw, 64px) 0;
}

.wp-block-columns {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  align-items: flex-start;
  margin: clamp(28px, 5vw, 58px) 0;
}

.wp-block-column {
  flex: 1 1 0;
  min-width: 0;
}

.wp-block-image {
  margin: 1.4rem 0;
}

.home-page .wp-content > .wp-block-image:first-child {
  width: 92%;
  margin: 0 auto 56px;
  padding-bottom: 58px;
  border-bottom: 1px solid #222;
}

.home-page .wp-content > .wp-block-image:first-child img {
  width: 100%;
}

.wp-block-image.aligncenter,
.aligncenter {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.wp-block-image img {
  margin-left: auto;
  margin-right: auto;
}

.wp-block-pullquote {
  margin: 0 auto 76px;
  padding: 0 0 86px;
  border-bottom: 1px solid #222;
  text-align: center;
}

.wp-block-pullquote blockquote {
  margin: 0;
}

.wp-block-pullquote p {
  max-width: 1580px;
  margin: 0 auto 28px;
  font-size: clamp(1.45rem, 1.2vw, 1.8rem);
  line-height: 1.25;
  font-style: italic;
}

.wp-block-pullquote cite {
  display: block;
  color: #111;
  font-size: 0.9rem;
  font-style: normal;
}

.home-page .wp-content > p:last-child {
  max-width: none;
  font-size: clamp(1rem, 0.86vw, 1.1rem) !important;
  line-height: 1.5;
}

.wp-element-caption,
figcaption {
  margin-top: 0.65rem;
  color: #5f6668;
  font-size: 0.94rem;
  text-align: center;
}

.wp-block-separator {
  border: 0;
  border-top: 1px solid rgba(31, 36, 38, 0.18);
  margin: 44px 0;
}

.project-page .wp-content {
  width: min(1240px, calc(100vw - 40px));
}

.project-page .wp-content > p:first-child,
.content-page .wp-content > p:first-child {
  color: #1f2426;
}

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

.has-small-font-size {
  font-size: 0.9rem;
}

.has-medium-font-size {
  font-size: 1.15rem;
}

.has-large-font-size {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.site-footer {
  display: flex;
  justify-content: flex-start;
  width: min(1800px, calc(100vw - 120px));
  margin: 50px auto 0;
  padding: 0 0 56px;
  color: #111;
  border-top: 0;
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .site-header {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    width: min(100% - 28px, 1120px);
    min-height: 0;
    padding: 18px 0 4px;
  }

  .site-nav {
    gap: 12px;
  }

  .dropdown {
    left: 0;
    right: auto;
  }

  .wp-content {
    width: min(100% - 28px, 1120px);
    padding: 24px 0 52px;
  }

  .home-page .wp-content {
    width: min(100% - 28px, 1120px);
  }

  .home-page .wp-content > .wp-block-image:first-child {
    width: 100%;
    margin-bottom: 32px;
    padding-bottom: 30px;
  }

  .wp-block-pullquote {
    margin-bottom: 38px;
    padding-bottom: 42px;
  }

  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .wp-block-columns {
    flex-direction: column;
  }

  .wp-block-column {
    width: 100%;
  }
}
