/*
 * Reusable article-page prototype.
 * This stylesheet only applies after .article-page--prototype is set on a page.
 */
.article-page--prototype {
  background: var(--base);
}

.article-page--prototype .article-hero {
  padding: 138px 0 54px;
  background: var(--white);
}

.article-page--prototype .article-header {
  width: min(800px, calc(100% - 40px));
  margin: 0 auto;
}

.article-page--prototype .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 28px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.article-page--prototype .breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-page--prototype .breadcrumbs .breadcrumb-separator {
  color: rgba(23, 32, 28, .45);
}

.article-page--prototype .article-hero h1 {
  max-width: none;
  font-size: clamp(32px, 4.1vw, 52px);
}

.article-page--prototype .article-lead {
  max-width: none;
  margin-top: 25px;
  font-size: 18px;
  line-height: 1.9;
}

.article-page--prototype .article-meta {
  margin: 22px 0 0;
  font-size: 13px;
}

/* A recovered Open Graph image is promoted here only when it was already the
   article's first representative asset. Images retain their intrinsic size. */
.article-page--prototype .article-top-media {
  max-width: 100%;
  margin: 34px auto 0;
}

.article-page--prototype .article-top-media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.article-page--prototype .article-introduction {
  margin-top: 40px;
  padding: 24px 28px;
  border-left: 3px solid var(--green);
  background: var(--light);
}

.article-page--prototype .article-introduction h2 {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 15px;
  letter-spacing: .08em;
}

.article-page--prototype .article-introduction p {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
}

.article-page--prototype .article-introduction ul {
  margin: 0;
  padding-left: 1.35em;
  font-size: 16px;
  line-height: 1.85;
}

.article-page--prototype .article-introduction li + li {
  margin-top: 5px;
}

.article-page--prototype .article-toc {
  margin: 24px 0 0;
  border: 1px solid var(--line);
  background: #fbfcfa;
}

.article-page--prototype .article-toc summary {
  padding: 18px 22px;
  cursor: pointer;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
}

.article-page--prototype .article-toc-list {
  margin: 0;
  padding: 0 24px 21px 44px;
}

.article-page--prototype .article-toc-list li {
  margin: 8px 0;
  padding-left: 4px;
  font-size: 14px;
  line-height: 1.65;
}

.article-page--prototype .article-toc-list .toc-level-3 {
  margin-left: 18px;
  font-size: 13px;
}

.article-page--prototype .article-toc a {
  color: rgba(23, 32, 28, .78);
  text-decoration: underline;
  text-decoration-color: rgba(23, 107, 80, .35);
  text-underline-offset: 3px;
}

.article-page--prototype .article-main {
  padding: 62px 0 70px;
  border-top: 1px solid rgba(23, 32, 28, .16);
}

.article-page--prototype .article-layout {
  display: block;
  width: min(800px, calc(100% - 40px));
  margin: 0 auto;
}

.article-page--prototype .article-paper {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.article-page--prototype .article-paper .legacy-body {
  overflow-wrap: anywhere;
}

.article-page--prototype .article-paper .legacy-body p {
  margin: 0 0 1.45em !important;
  color: rgba(23, 32, 28, .86);
  font-size: 18px !important;
  line-height: 1.9 !important;
}

/* Imported Joomla font-size values should not override the reusable article scale. */
.article-page--prototype .article-paper .legacy-body [style*="font-size"] {
  font-size: inherit !important;
}

.article-page--prototype .article-paper .legacy-body h2 {
  margin: 3.1em 0 1em !important;
  padding: 0 0 12px 18px;
  border-bottom: 1px solid var(--line);
  border-left: 4px solid var(--green);
  color: var(--dark);
  font-size: 28px !important;
  font-weight: 800;
  line-height: 1.45 !important;
  letter-spacing: -.03em;
  scroll-margin-top: 100px;
}

.article-page--prototype .article-paper .legacy-body h3 {
  margin: 2.25em 0 .8em !important;
  color: var(--green);
  font-size: 21px !important;
  line-height: 1.5 !important;
  scroll-margin-top: 100px;
}

.article-page--prototype .article-paper .legacy-body h2:first-child,
.article-page--prototype .article-paper .legacy-body h3:first-child {
  margin-top: 0 !important;
}

.article-page--prototype .article-paper .legacy-body img,
.article-page--prototype .article-paper .legacy-body video,
.article-page--prototype .article-paper .legacy-body iframe,
.article-page--prototype .article-paper .legacy-body table {
  max-width: 100% !important;
}

.article-page--prototype .article-paper .legacy-body img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-inline-size: 100% !important;
  margin: 2em auto !important;
  object-fit: contain;
}

.article-page--prototype .article-paper .legacy-body figure {
  max-width: 100%;
  margin: 2em auto;
}

.article-page--prototype .article-paper .legacy-body iframe,
.article-page--prototype .article-paper .legacy-body video {
  display: block;
  width: 100% !important;
  height: auto;
  aspect-ratio: 16 / 9;
}

.article-page--prototype .article-paper .legacy-body .article-table-scroll {
  max-width: 100%;
  margin: 2em 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.article-page--prototype .article-paper .legacy-body .article-text-table {
  margin: 0 0 1.45em;
}

.article-page--prototype .article-paper .legacy-body .article-text-table > :last-child {
  margin-bottom: 0 !important;
}

.article-page--prototype .article-paper .legacy-body table {
  width: max-content;
  min-width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.article-page--prototype .article-paper .legacy-body th,
.article-page--prototype .article-paper .legacy-body td {
  padding: .65em .8em;
  font-size: 16px;
  line-height: 1.7;
  vertical-align: top;
}

.article-page--prototype .article-inquiry {
  margin: 56px auto 0;
  padding: 32px 34px;
  border: 1px solid rgba(23, 107, 80, .32);
  background: var(--white);
}

.article-page--prototype .article-inquiry .eyebrow {
  margin-bottom: 12px;
}

.article-page--prototype .article-inquiry h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.5;
}

.article-page--prototype .article-inquiry p {
  margin: 14px 0 20px;
  font-size: 15px;
  line-height: 1.8;
}

.article-page--prototype .article-inquiry .contact-btn {
  background: var(--green);
  color: #fff;
}

.article-page--prototype .related {
  padding: 76px 0 46px;
  background: var(--white);
}

.article-page--prototype .related .container,
.article-page--prototype .article-navigation .container {
  width: min(1180px, calc(100% - 40px));
}

.article-page--prototype .article-navigation {
  padding: 0 0 72px;
  background: var(--white);
}

.article-page--prototype .article-navigation-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.article-page--prototype .article-navigation-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  .article-page--prototype .article-hero {
    padding: 112px 0 42px;
  }

  .article-page--prototype .article-header,
  .article-page--prototype .article-layout,
  .article-page--prototype .related .container,
  .article-page--prototype .article-navigation .container {
    width: calc(100% - 32px);
  }

  .article-page--prototype .breadcrumbs {
    margin-bottom: 22px;
    font-size: 10px;
  }

  .article-page--prototype .article-lead,
  .article-page--prototype .article-introduction p,
  .article-page--prototype .article-introduction ul {
    font-size: 16px;
  }

  .article-page--prototype .article-introduction,
  .article-page--prototype .article-inquiry {
    padding: 22px 20px;
  }

  .article-page--prototype .article-toc summary {
    padding: 16px 18px;
  }

  .article-page--prototype .article-toc-list {
    padding: 0 18px 18px 36px;
  }

  .article-page--prototype .article-main {
    padding: 46px 0 54px;
  }

  .article-page--prototype .article-paper .legacy-body p {
    font-size: 16px !important;
    line-height: 1.85 !important;
  }

  .article-page--prototype .article-paper .legacy-body th,
  .article-page--prototype .article-paper .legacy-body td {
    font-size: 15px;
  }

  .article-page--prototype .article-paper .legacy-body h2 {
    margin-top: 2.6em !important;
    padding-left: 14px;
    font-size: 23px !important;
  }

  .article-page--prototype .article-paper .legacy-body h3 {
    font-size: 19px !important;
  }

  .article-page--prototype .article-inquiry h2 {
    font-size: 21px;
  }

  .article-page--prototype .article-navigation-links {
    display: grid;
    justify-content: stretch;
  }
}
