/* Preserved secondary pages, posts, archives, search, and 404s. */
.cbc-editorial {
  --cbc-editorial-width: min(1120px, calc(100vw - 40px));
  min-height: 65vh;
  padding: clamp(150px, 16vw, 230px) 0 clamp(80px, 10vw, 150px);
  background:
    radial-gradient(circle at 82% 8%, rgba(214, 86, 95, .12), transparent 26rem),
    #f4f0e7;
  color: #171a18;
}

.cbc-editorial__article,
.cbc-editorial__archive-header,
.cbc-editorial__cards,
.cbc-editorial .navigation,
.cbc-editorial__empty {
  width: var(--cbc-editorial-width);
  margin-inline: auto;
}

.cbc-editorial__article {
  max-width: 900px;
}

.cbc-editorial__header,
.cbc-editorial__archive-header {
  margin-bottom: clamp(34px, 6vw, 72px);
}

.cbc-editorial__eyebrow {
  margin: 0 0 14px;
  color: #d6565f;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.cbc-editorial h1,
.cbc-editorial h2,
.cbc-editorial h3 {
  color: #141816;
  text-wrap: balance;
}

.cbc-editorial h1 {
  max-width: 15ch;
  margin: 0;
  font-family: "Big Shoulders Display", "Montserrat", Arial, sans-serif;
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .9;
  text-transform: uppercase;
}

.cbc-editorial__archive-description {
  max-width: 65ch;
  margin-top: 22px;
  color: rgba(23, 26, 24, .72);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.65;
}

.cbc-editorial__content {
  color: rgba(23, 26, 24, .84);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.8;
}

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

.cbc-editorial__content h2 {
  margin: 2.25em 0 .75em;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1;
}

.cbc-editorial__content h3 {
  margin: 2em 0 .65em;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.05;
}

.cbc-editorial__content a {
  color: #a63d49;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

.cbc-editorial__content img,
.cbc-editorial__featured img {
  width: auto;
  height: auto;
  margin-inline: auto;
  border-radius: 18px;
}

.cbc-editorial__content iframe {
  max-width: 100%;
}

.cbc-editorial__featured {
  margin: 0 0 clamp(34px, 5vw, 64px);
}

.cbc-editorial__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.cbc-editorial-card {
  overflow: hidden;
  border: 1px solid rgba(23, 26, 24, .12);
  border-radius: 24px;
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 18px 50px rgba(23, 26, 24, .08);
}

.cbc-editorial-card__image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ddd7cc;
}

.cbc-editorial-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cbc-editorial-card__body {
  padding: clamp(24px, 3.5vw, 40px);
}

.cbc-editorial-card h2 {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.02;
}

.cbc-editorial-card h2 a {
  color: inherit;
  text-decoration: none;
}

.cbc-editorial-card__excerpt {
  margin-top: 18px;
  color: rgba(23, 26, 24, .72);
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.65;
}

.cbc-editorial-card__link,
.cbc-editorial__button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 12px 20px;
  border: 2px solid #171a18;
  background: #171a18;
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.cbc-editorial-card__link:focus-visible,
.cbc-editorial-card__link:hover,
.cbc-editorial__button:focus-visible,
.cbc-editorial__button:hover {
  background: #d6565f;
  border-color: #d6565f;
}

.cbc-editorial__post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(54px, 8vw, 90px);
  padding-top: 28px;
  border-top: 1px solid rgba(23, 26, 24, .16);
}

.cbc-editorial__post-nav a {
  color: #171a18;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
}

.cbc-editorial__post-nav a:last-child {
  text-align: right;
}

.cbc-editorial .navigation {
  margin-top: 48px;
}

.cbc-editorial .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cbc-editorial .page-numbers {
  display: inline-grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  border: 1px solid rgba(23, 26, 24, .18);
  color: #171a18;
  font-weight: 800;
  text-decoration: none;
}

.cbc-editorial .page-numbers.current {
  background: #171a18;
  color: #fff;
}

.cbc-editorial--centered {
  display: grid;
  place-items: center;
  text-align: center;
}

.cbc-editorial__empty {
  max-width: 760px;
}

.cbc-editorial__empty h1,
.cbc-editorial__empty h2 {
  max-width: none;
  margin: 0;
}

.cbc-editorial__empty p {
  color: rgba(23, 26, 24, .72);
  font-size: 18px;
  line-height: 1.65;
}

@media (max-width: 720px) {
  .cbc-editorial {
    --cbc-editorial-width: min(100% - 24px, 680px);
    padding-top: 120px;
  }

  .cbc-editorial__cards,
  .cbc-editorial__post-nav {
    grid-template-columns: 1fr;
  }

  .cbc-editorial__post-nav a:last-child {
    text-align: left;
  }

  .cbc-editorial__content {
    overflow-wrap: anywhere;
  }
}

