/* Resource articles use one reading surface. The guide navigation stays separate from the narrative. */
.editorial-resource-index .resources-format-nav {grid-template-columns:repeat(3,minmax(0,1fr));}
.editorial-resource-index .resources-featured-grid {grid-auto-rows:auto;align-items:stretch;}
.editorial-resource-index .resource-feature {min-height:430px;height:auto;}
.editorial-resource-index .resource-feature-copy {height:auto;padding-bottom:54px;}
.editorial-resource-index .resource-feature-copy h3 {margin:12px 0;}
.editorial-resource-index .editorial-feed-photo img {height:100%;width:100%;object-fit:cover;display:block;}
.resource-blog-page .resource-article-hero {background:#fff;}
.resource-blog-page .resource-article-hero-copy {max-width:760px;min-height:0;margin:0 auto;padding:72px 0 34px;border-bottom:1px solid #d5d9da;}
.resource-blog-page .resource-article-hero h1 {max-width:none;font-size:clamp(36px,4vw,53px);line-height:1.08;}
.resource-blog-page .resource-article-hero-copy > p:not(.section-number) {max-width:700px;font-size:clamp(18px,1.7vw,21px);line-height:1.55;}
.resource-blog-page .resource-article-layout {display:block;max-width:760px;width:calc(100% - 56px);padding:50px 0 46px;}
.resource-blog-page .resource-article-section {margin-bottom:46px;}
.resource-blog-page .resource-article-section h2 {font-size:clamp(25px,2.1vw,32px);line-height:1.22;margin:0 0 17px;}
.resource-blog-page .resource-article-section > p,.resource-guide-page .resource-article-section > p:not(.section-number) {font-size:17px;line-height:1.73;max-width:740px;}
.resource-blog-page .resource-article-section > p:last-child,.resource-guide-page .resource-article-section > p:last-child {margin-bottom:0;}
.resource-article-page .resource-story-figure {margin:29px 0 6px;}
.resource-story-figure img {display:block;width:100%;height:auto;max-height:440px;object-fit:contain;background:#f6f5f1;}
.resource-story-figure figcaption {border-left:2px solid #f47721;margin-top:12px;padding-left:13px;color:#4c5861;font-size:14px;line-height:1.52;max-width:680px;}
.resource-guide-page .resource-article-hero-copy {padding-block:56px;min-height:0;}
.resource-guide-page .resource-article-section > .section-number {color:var(--blue);font-size:11px;line-height:1.4;margin-bottom:11px;}
.resource-guide-page .resource-article-table-wrap {margin:20px 0;}
.resource-guide-page .resource-article-table {min-width:630px;}
.editorial-related {margin:auto;width:min(1180px,calc(100% - 56px));padding:20px 0 44px;border-top:1px solid #d5d9da;}
.editorial-related div {display:flex;flex-wrap:wrap;gap:9px 25px;}
.editorial-related a {color:var(--blue);font-size:15px;line-height:1.6;}
.resource-blog-page .editorial-related {max-width:760px;}
@media(max-width:850px) {
  .resource-blog-page .resource-article-hero-copy {width:calc(100% - 48px);padding:42px 0 27px;}
  .resource-blog-page .resource-article-layout {width:calc(100% - 48px);padding:34px 0 24px;}
  .resource-guide-page .resource-article-hero-copy {padding:42px 24px;}
  .resource-guide-page .resource-article-layout {display:block;width:calc(100% - 48px);padding:34px 0 24px;}
  .resource-guide-page .resource-article-side {position:static;margin-bottom:32px;}
  .editorial-related {width:calc(100% - 48px);}
}
@media(max-width:620px) {
  .editorial-resource-index .resources-format-nav {display:flex;gap:0;padding:0;margin-right:0;overflow:visible;border:1px solid #e8e4d8;}
  .editorial-resource-index .resource-format-filter {min-width:0;flex:1 1 0;min-height:56px;padding:9px 6px;border:0;border-right:1px solid #e8e4d8;}
  .editorial-resource-index .resource-format-filter:last-child {border-right:0;}
  .editorial-resource-index .resource-format-filter span {display:none;}
  .editorial-resource-index .resource-format-filter strong {font-size:12px;}
  .editorial-resource-index .resource-format-filter b {position:static;display:block;font-size:11px;}
  .editorial-resource-index .resource-feature {min-height:0;}
  .resource-blog-page .resource-article-hero-copy,.resource-blog-page .resource-article-layout,.resource-guide-page .resource-article-layout,.editorial-related {width:calc(100% - 36px);}
  .resource-blog-page .resource-article-section > p,.resource-guide-page .resource-article-section > p:not(.section-number) {font-size:16px;line-height:1.65;}
  .resource-story-figure figcaption {font-size:13px;}
  .editorial-related div {display:grid;}
}


/* Let a set of filtered cards size its text rows from their content. */
.editorial-resource-index .resource-feature {
  grid-template-rows: auto 1fr;
}

.editorial-resource-index .resource-feature:nth-child(3) {
  grid-column: auto;
}

.editorial-resource-index .resource-type-visual > div {
  min-width: 0;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.editorial-resource-index .resource-type-visual strong {
  min-width: 0;
}

@media (max-width: 620px) {
  .editorial-resource-index .resources-featured-grid {
    grid-template-columns: 1fr;
  }

  .editorial-resource-index .resource-format-filter.is-active {
    background: var(--ink);
    color: var(--paper);
  }

  .editorial-resource-index .resource-format-filter.is-active b {
    color: inherit;
  }
}
