

.subcat__head { max-width: 1080px; margin: 0 auto 32px; text-align: center; }

.subcat__head h2 { max-width: 20ch; margin-left: auto; margin-right: auto; text-wrap: balance; }
.subcat__head h2 { margin-bottom: 16px; }
.subcat__head p { margin: 0 0 12px; color: var(--ac-body); }
.subcat__head p:last-child { margin-bottom: 0; }

.subcat__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}

@media (max-width: 899px) { .subcat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .subcat__grid { grid-template-columns: minmax(0, 1fr); } }

.subcat__grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 899px) { .subcat__grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .subcat__grid--four { grid-template-columns: minmax(0, 1fr); } }

.subcat__grid--center { display: flex; flex-wrap: wrap; justify-content: center; }
.subcat__grid--center > li { flex: 0 0 calc((100% - 40px) / 3); }
@media (max-width: 899px) { .subcat__grid--center > li { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 559px) { .subcat__grid--center > li { flex-basis: 100%; } }

.subcat__card {
  position: relative; display: flex; align-items: center; justify-content: center;
  text-align: center; aspect-ratio: 1.6 / 1; border-radius: var(--ac-radius);
  border: 1px solid var(--ac-card-border); background: var(--ac-white);
  padding: 20px 24px; text-decoration: none; color: var(--ac-ink);
}

.subcat__card-name {
  font-family: var(--ac-font-head); font-weight: 600; color: var(--ac-ink);
  font-size: 17px; line-height: 1.25;
}
.subcat__card-cta {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 10px; font-family: var(--ac-font); font-weight: 500; font-size: 13px;
  color: var(--ac-orange);
}
.subcat__card-cta svg { width: 14px; height: 14px; flex: none; }

span.subcat__card { color: var(--ac-body); }
span.subcat__card .subcat__card-name { color: var(--ac-body); }

.subcat__card--desc {
  aspect-ratio: auto;
  flex-direction: column;
  padding: 28px 24px;
}
.subcat__card-desc {
  display: block; margin: 10px auto 0; max-width: 40ch;
  font-family: var(--ac-font); font-weight: 400;
  font-size: 14px; line-height: 1.55; color: var(--ac-body);
}

.subcat__card--desc .subcat__card-name { display: block; }

.subcat-more { margin: 32px auto 0; max-width: 720px; }
.subcat-more .subtitle { margin-bottom: 10px; text-align: center; }
.subcat-more .ticks { display: block; columns: 2; column-gap: 40px; }
.subcat-more .ticks li { break-inside: avoid; }
.subcat-more .ticks li + li { margin-top: 10px; }
@media (max-width: 559px) { .subcat-more .ticks { columns: 1; } }

main.t5 h1 strong, main.t5 h2 strong, main.t5 h3 strong,
main.t5 h4 strong, main.t5 h5 strong, main.t5 h6 strong { font-weight: inherit; }

.subcat__grid > li { display: flex; min-width: 0; }
.subcat__grid > li > .subcat__card { flex: 1 1 auto; min-width: 0; }

.subcat__card--media {
  aspect-ratio: auto;                 
  padding: 0; overflow: hidden;
  display: flex; flex-direction: column;
  align-items: stretch; justify-content: flex-start;
}
.subcat__media { display: block; }
.subcat__media picture { display: block; }

.subcat__media img { display: block; width: 100%; height: auto; }

.subcat__card-body {
  flex: 1 1 auto; display: flex; flex-direction: column; justify-content: flex-start;
  padding: 18px 20px 20px;
}
.subcat__card--media .subcat__card-cta { margin-top: auto; padding-top: 14px; }

.subcat__grid > li > .subcat__card--media { align-self: stretch; }

.pm { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pm__copy { max-width: 68ch; min-width: 0; }
.pm__media { min-width: 0; }
.pm__media picture { display: block; }
.pm__media img { display: block; width: 100%; height: auto;
                 border-radius: var(--ac-radius-img); }
.pm--left .pm__media { order: -1; }
@media (max-width: 1199px) { .pm { gap: 36px; } }

@media (max-width: 899px) {
  .pm { grid-template-columns: 1fr; gap: 28px; }
  .pm--left .pm__media, .pm--right .pm__media { order: 0; }
  .pm__copy { max-width: none; }
}

.subcat-ground {
  position: relative;
  margin-top: 56px;
  
  padding-top: 44px;
  padding-bottom: 72px;
  
  border-radius: var(--ac-radius);
  overflow: hidden;
}
.subcat-ground > .wrap { position: relative; z-index: 1; }
.subcat-ground .subtitle { margin: 0 0 24px; text-align: center; }
.subcat-ground .subcat__grid { margin-bottom: 32px; }

@media (max-width: 1199px) { .subcat-ground { padding-bottom: 64px; } }
@media (max-width: 767px) {
  .subcat-ground { margin-top: 40px; padding-top: 32px; padding-bottom: 48px; }
}

.blade:has(> .subcat-ground:last-child) { padding-bottom: 0; }

.cta-photo { position: relative; overflow: hidden; isolation: isolate; }
.cta-photo__media { position: absolute; inset: 0; z-index: 0; display: block; }
.cta-photo__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cta-photo__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
      color-mix(in srgb, var(--ac-panel) 62%, transparent) 0%,
      color-mix(in srgb, var(--ac-panel) 74%, transparent) 100%);
}
.cta-photo > .wrap { position: relative; z-index: 2; }

.county-triad > div > .triad__pic {
  display: block;
  margin: -24px -24px 18px;
  border-radius: var(--ac-radius) var(--ac-radius) 0 0;
  overflow: hidden;
}
.county-triad > div > .triad__pic img {
  width: 100%; height: 100%; display: block; object-fit: cover;
  border-radius: var(--ac-radius) var(--ac-radius) 0 0;
}

.hero__dek {
  margin: 14px 0 0;
  max-width: 46ch;
  font-size: var(--ac-body-lg);
  line-height: 1.45;
  color: var(--ac-on-dark-body);
  text-wrap: pretty;
}
.hero__copy .cta-pair { margin-top: 26px; }
@media (max-width: 767px) {
  .hero__dek { font-size: var(--ac-body-lg-m); margin-top: 12px; }
}

.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band > .wrap { position: relative; z-index: 1; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; text-wrap: balance; }
.cta-band .measure { max-width: 58ch; margin: 14px auto 0; }
.cta-band .cta-pair { margin-top: 28px; }
