main {
  display: block;
  min-height: 60vh;
}

.labels:empty {
  display: none;
}

.labels {
  flex-wrap: wrap;
}

.chip {
  text-align: center;
}

.page-btn.is-disabled {
  opacity: 0.4;
  cursor: default;
}

.page-btn--dots {
  border-color: transparent;
}

.news-block__list {
  flex: 1;
  min-width: 0;
}

.card__body {
  flex: 1;
}

.card__body > .meta-row:last-child {
  margin-top: auto;
}

.card h2,
.card h3,
.article-row h2,
.article-row h3,
.card .desc,
.article-row p,
.next-article p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.article-head h1,
.project-title h1,
.crumbs li,
.tag,
.fact dd,
.gallery-grid h3,
.gallery-grid p,
.concept__copy,
.wpContent {
  overflow-wrap: anywhere;
}

.crumbs li {
  max-width: 100%;
}

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

.prose > :not(p),
.prose > :not(p) + p {
  margin-top: 24px;
}

.wpContent h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.8;
}

.wpContent h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.8;
}

.wpContent ul,
.wpContent ol {
  margin: 0;
  padding-left: 1.5em;
  color: var(--muted);
  font-size: 15px;
  line-height: 2.15;
}

.wpContent li > ul,
.wpContent li > ol {
  margin-top: 4px;
  font-size: 14px;
}

.wpContent a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.wpContent strong {
  color: var(--ink);
  font-weight: 600;
}

.wpContent blockquote,
.wpContent .wp-block-quote {
  margin: 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
}

.wpContent blockquote p {
  margin: 0;
  font-size: 15px;
  line-height: 2;
}

.wpContent blockquote cite {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-style: normal;
}

.wpContent hr,
.wpContent .wp-block-separator {
  width: 100%;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.wpContent .wp-block-table {
  margin: 0;
  overflow-x: auto;
}

.wpContent table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.8;
}

.wpContent th,
.wpContent td {
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.wpContent th,
.wpContent thead td {
  background: var(--ice);
  color: var(--ink);
  font-weight: 500;
}

.wpContent td {
  color: var(--muted);
}

.wpContent .wp-block-table figcaption,
.wpContent .wp-block-image figcaption,
.wpContent .wp-block-embed figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  text-align: center;
}

.wpContent .wp-block-image {
  margin: 0;
}

.wpContent .wp-block-image img {
  height: auto;
}

.wpContent .wp-block-image.alignleft,
.wpContent .wp-block-image.alignright,
.wpContent .alignleft,
.wpContent .alignright {
  max-width: 50%;
}

.wpContent .alignleft {
  float: left;
  margin: 0 24px 16px 0;
}

.wpContent .alignright {
  float: right;
  margin: 0 0 16px 24px;
}

.wpContent .aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.prose::after,
.page-body .wpContent::after {
  content: "";
  display: block;
  clear: both;
}

:where(.site) figure {
  margin: 1em 40px;
}

.wpContent figure {
  margin: 0;
}

.wpContent iframe,
.wpContent video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}

.wpContent .wp-block-embed {
  margin: 0;
}

.wpContent .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.wpContent .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 32px;
  border-radius: 100px;
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  text-decoration: none;
}

.wpContent p.is-style-notice {
  padding: 15px 20px;
  background: var(--ice);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.wpContent p.is-style-fine {
  font-size: 12px;
  line-height: 1.9;
}

.topics p strong {
  color: var(--ink);
  font-weight: 500;
}

.topics p:first-child:has(> strong:only-child) {
  line-height: inherit;
}

.figure .frame img,
.gallery-grid .frame img,
.card .frame img,
.hero-figure .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-body .wpContent {
  max-width: 800px;
  margin: 0 auto;
}

.page-body .wpContent > * {
  margin-bottom: 0;
}

.page-body .wpContent > * + * {
  margin-top: 24px;
}

.page-body .wpContent > h2 {
  margin-top: 56px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.8;
}

.page-body .wpContent > h3 {
  margin-top: 40px;
}

.page-body .wpContent > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 2.15;
}

.not-found {
  display: flex;
  justify-content: center;
}

@media (max-width: 760px) {
  .wpContent table {
    width: max-content;
    min-width: 100%;
  }

  .wpContent th,
  .wpContent td {
    white-space: nowrap;
  }

  .wpContent .alignleft,
  .wpContent .alignright,
  .wpContent .wp-block-image.alignleft,
  .wpContent .wp-block-image.alignright {
    float: none;
    max-width: 100%;
    margin: 0;
  }

  .page-body .wpContent > h2 {
    margin-top: 40px;
    font-size: 18px;
    line-height: 1.65;
    letter-spacing: 0.02em;
  }

  .page-body .wpContent > p,
  .wpContent ul,
  .wpContent ol {
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: 0.02em;
  }
}
