.content-page {
  --content-header-height: clamp(100px, 9.8vw, 150px);
  --canvas: #f4f4f3;
  background: var(--canvas);
}
.content-page main {
  padding-top: var(--content-header-height);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.rich-text {
  font-size: clamp(18px, 1.35vw, 20px);
  overflow-wrap: anywhere;
}
.rich-text h1,
.article-detail h1,
.article-card h2 {
  color: var(--navy);
}
.rich-text h1,
.article-detail h1 {
  font-size: clamp(50px, 5.31vw, 84px);
  line-height: 1.17;
}
.rich-text h2 {
  color: var(--navy);
}
.rich-text h3,
.rich-text h4 {
  color: var(--navy);
  font-family: var(--headings);
  font-size: clamp(26px, 2.28vw, 38px);
  letter-spacing: -0.05em;
  line-height: 1.15;
  font-weight: 500;
}
.rich-text h3,
.rich-text h4,
.rich-text h5,
.rich-text h6 {
  margin: 0;
}
.rich-text > :is(h1, h2, h3, h4):not(:last-child) {
  margin-bottom: 0.6em;
}
.rich-text > :is(p, ul, ol, blockquote):not(:last-child) {
  margin-bottom: 0.85em;
}
.rich-text ul,
.rich-text ol {
  padding-inline-start: 1.4em;
}
.rich-text li + li {
  margin-top: 0.35em;
}
.rich-text li p {
  margin: 0;
}
.rich-text .large-text {
  font-size: clamp(20px, 1.58vw, 26px);
}
.accent-text {
  color: var(--navy);
}
.light-text {
  color: white;
}
.dark-text {
  color: #383838;
}
.highlight-text {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.align-center {
  text-align: center;
}
.align-left {
  text-align: left;
}
.align-right {
  text-align: right;
}

.layout-section {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  padding-block: var(--section-padding);
  min-height: max(0px, calc(var(--section-height) - var(--overlapping-header, 0px)));
}
.layout-section:first-of-type {
  --overlapping-header: var(--content-header-height);
}
.layout-section.theme-white,
.layout-section.theme-white-bold {
  background: white;
}
.layout-section.theme-light-bold {
  background: #e7e8e5;
}
.layout-section.theme-dark {
  background: #383838;
  color: white;
}
.layout-section.theme-black {
  background: black;
  color: white;
}
.layout-section.theme-bright {
  background: #1c3a56;
  color: white;
}
.layout-section:is(.theme-dark, .theme-black, .theme-bright) :is(h1, h2, h3, h4, a, .accent-text) {
  color: white;
}
.layout-section:is(.theme-dark, .theme-black, .theme-bright) .pill {
  color: var(--navy);
  background: white;
}
.layout-backdrop {
  position: absolute;
  inset: calc(-1 * var(--overlapping-header, 0px)) 0 0;
  z-index: -1;
}
.layout-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.layout-backdrop::after {
  position: absolute;
  inset: 0;
  content: '';
  background: rgb(0 0 0 / var(--shade));
}
.layout-inset {
  margin-inline: 4vw;
}

.layout-grid {
  --phone-gutter: max(0px, calc(6vw - 11px));
  display: grid;
  grid-template-columns: minmax(var(--phone-gutter), 1fr) repeat(8, minmax(0, 1fr)) minmax(
      var(--phone-gutter),
      1fr
    );
  grid-template-rows: repeat(var(--phone-rows), minmax(24px, auto));
  gap: 11px;
  overflow: clip;
}
.layout-block {
  display: grid;
  grid-area: var(--phone-area);
  z-index: var(--phone-layer);
  min-width: 0;
  position: relative;
  align-content: var(--phone-align);
}
.layout-block > * {
  min-width: 0;
}
.grid-photo img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
}
.grid-oval {
  container-type: size;
}
.grid-oval img {
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(100cqw, 100cqh);
  height: min(100cqw, 100cqh);
  border-radius: 50%;
  object-fit: cover !important;
}
.grid-button {
  justify-items: center;
}
.grid-button.grid-start {
  justify-items: start;
}
.grid-button.grid-end {
  justify-items: end;
}
.grid-button .pill {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 78px) clamp(22px, 2.3vw, 38px);
  width: min(91%, 1260px);
  margin: 50px auto 0;
}
.article-card {
  text-align: center;
  overflow-wrap: anywhere;
}
.article-card-image {
  display: block;
  aspect-ratio: 3 / 2;
}
.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-card .article-meta {
  margin-top: 20px;
}
.article-meta {
  font-size: 14px;
  margin-bottom: 12px;
}
.article-meta a {
  text-decoration: none;
}
.article-meta a:hover {
  text-decoration: underline;
}
.article-meta :is(a, time) + :is(time, a) {
  margin-left: 6px;
}
.article-card h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 2.98vw, 48px);
}
.article-card h2 a {
  text-decoration: none;
}
.article-card h2 a:hover {
  text-decoration: underline;
}
.article-more {
  display: inline-block;
  margin: 15px 0 0;
}
.article-index-navigation {
  display: flex;
  justify-content: center;
  padding: 46px var(--gutter);
  font-size: 20px;
}
.article-detail {
  width: min(86%, 994px);
  margin: clamp(36px, 4vw, 66px) auto 0;
}
.article-detail h1 {
  margin-bottom: clamp(32px, 3.45vw, 58px);
}
.article-detail h1 {
  overflow-wrap: anywhere;
}
.article-body > :is(h2, h3, h4):not(:first-child) {
  margin-top: 1.25em;
}
.article-action {
  display: flex;
  justify-content: center;
  margin: 26px auto;
}
.article-byline {
  margin: 34px 0;
}
.article-adjacent {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  padding: 30px 0;
  border-top: 1px solid #b8c2c8;
}
.article-adjacent a {
  overflow-wrap: anywhere;
  font-size: clamp(17px, 1.4vw, 22px);
}
.article-adjacent span {
  display: block;
  color: #383838;
  font-size: 14px;
  margin-bottom: 5px;
}
.simple-page {
  width: min(86%, 1000px);
  min-height: 440px;
  text-align: center;
  margin: 0 auto;
  padding: clamp(36px, 4vw, 88px) 0;
}

@media (min-width: 800px) {
  .layout-grid {
    --layout-width: min(1500px, 92vw);
    --column: calc((var(--layout-width) - (23 * 11px)) / 24);
    --side: max(0px, calc(4vw - 11px));
    grid-template-columns: minmax(var(--side), 1fr) repeat(24, minmax(0, var(--column))) minmax(
        var(--side),
        1fr
      );
    grid-template-rows: repeat(
      var(--desktop-rows),
      minmax(calc(var(--layout-width) * 0.0215), auto)
    );
  }
  .layout-block {
    grid-area: var(--desktop-area);
    z-index: var(--desktop-layer);
    align-content: var(--desktop-align);
  }
  .layout-inset .layout-grid {
    --layout-width: min(1500px, 84vw);
  }
}

@media (max-width: 799px) {
  .content-page {
    --content-header-height: 83px;
  }
  .content-page .layout-grid {
    grid-template-columns: minmax(var(--phone-gutter), 0fr) repeat(8, minmax(0, 1fr)) minmax(
        var(--phone-gutter),
        0fr
      );
  }
  .article-list {
    grid-template-columns: 1fr;
    width: min(88%, 560px);
    margin-top: 25px;
  }
  .article-detail h1 {
    font-size: clamp(37px, 13.45vw, 54px);
  }
  .article-adjacent {
    grid-template-columns: 1fr;
  }
}
