/* Shared page theme. Specific selectors keep legacy utility CSS from changing the chrome. */
body.site-subpage {
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
}
.site-subpage .site-header {
  flex: none;
  width: 100%;
  border-bottom: 1px solid var(--line);
}
.site-subpage .site-header .container,
.site-subpage .site-footer.container {
  width: min(1220px, calc(100% - 100px));
  max-width: none;
}
.site-subpage .site-footer {
  margin-top: auto;
}
.site-subpage .site-header .brand,
.site-subpage .site-footer .brand {
  text-decoration: none;
}
.site-subpage .page-intro {
  padding: 65px 24px 55px;
  background: linear-gradient(110deg, #f0fdf4, #fff 85%);
  border-bottom: 1px solid var(--line);
}
.site-subpage .page-intro h1 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.2;
  letter-spacing: -1.2px;
}
.site-subpage .page-intro p {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: #53636b;
}
.site-subpage main {
  width: 100%;
}
.site-subpage main h2,
.site-subpage main h3,
.site-subpage main h4 {
  font-family: var(--font);
  color: var(--ink);
  font-weight: 650;
}
.site-subpage main h2 {
  letter-spacing: -0.5px;
}
.site-subpage main p,
.site-subpage main li {
  line-height: 1.75;
}
.site-subpage main aside .sticky {
  top: 128px;
}
.site-subpage main .accordion-item {
  background: #f5fbf7;
  border-color: #e2f0e6;
  border-radius: 18px;
}
.site-subpage main input,
.site-subpage main textarea,
.site-subpage main select {
  font-family: var(--font);
}
.site-subpage main input:focus,
.site-subpage main textarea:focus,
.site-subpage main select:focus {
  outline-color: var(--green);
}
.site-subpage main section {
  scroll-margin-top: 125px;
}
.site-subpage .site-footer .footer-grid h3 {
  font-size: 13px;
}
.site-subpage .site-footer .footer-brand p {
  font-size: 15px;
}
.site-subpage dialog {
  margin: auto;
}
.site-subpage .site-header .brand img,
.site-subpage .site-footer .brand img {
  object-fit: contain;
}
@media (max-width: 1190px) {
  .site-subpage .site-header .container,
  .site-subpage .site-footer.container {
    width: calc(100% - 64px);
  }
}
@media (max-width: 650px) {
  .site-subpage .site-header .container,
  .site-subpage .site-footer.container {
    width: calc(100% - 40px);
  }
  .site-subpage .page-intro {
    padding: 40px 20px 32px;
  }
  .site-subpage .page-intro p {
    font-size: 15px;
  }
  .site-subpage main {
    padding: 32px 20px;
  }
  .site-subpage main aside .sticky {
    position: static;
  }
  .site-subpage .site-footer .footer-brand p {
    font-size: 14px;
  }
  .site-subpage main table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }
}
@media (max-width: 360px) {
  .site-subpage .site-header .container,
  .site-subpage .site-footer.container {
    width: calc(100% - 30px);
  }
}

@media(max-width:650px) {
  .site-subpage .article-filters { flex-direction: column; align-items: flex-start; gap: 16px; }
  .site-subpage .article-filters > div { flex-wrap: wrap; }
}
