/* Narrow fixes requested after reverting the broken global pass. */
html body#bd-page.bd-brand #main.feed-gallery .feed-totals {
  background: #f7f4ed !important;
  color: #101c1f !important;
  border: 1px solid #c8d0c0 !important;
  border-top: 5px solid #ff653b !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
}

html body#bd-page.bd-brand #main.feed-gallery .feed-totals > div {
  min-height: 170px !important;
  padding: clamp(22px, 3vw, 38px) !important;
  border-right: 1px solid #d6d0c3 !important;
  background: transparent !important;
}

html body#bd-page.bd-brand #main.feed-gallery .feed-totals > div:last-child {
  border-right: 0 !important;
}

html body#bd-page.bd-brand #main.feed-gallery .feed-totals span {
  color: #46525a !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  letter-spacing: .02em !important;
}

html body#bd-page.bd-brand #main.feed-gallery .feed-totals strong {
  color: #064bea !important;
  font: 600 clamp(44px, 5vw, 78px)/.95 BirdDogDisplay, Arial, sans-serif !important;
  letter-spacing: -.04em !important;
}

html body#bd-page.bd-brand #main.feed-gallery .company-feed-head a[href^="/posts/"],
html body#bd-page.bd-brand #main.feed-gallery .website-proof-links a[href^="/posts/"] {
  color: #064bea !important;
}

html body#bd-page.bd-brand #main.feed-gallery .company-feed-head a[href^="/posts/"]::after {
  content: none !important;
  display: none !important;
}

@media(max-width:760px) {
  html body#bd-page.bd-brand #main.feed-gallery .company-feed-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
    align-items: start !important;
    min-height: 0 !important;
  }

  html body#bd-page.bd-brand #main.feed-gallery .company-feed-head > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 180px !important;
    min-height: 52px !important;
    margin-top: 0 !important;
    padding: 12px 18px !important;
    text-align: center !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}

html body#bd-page.network-page #main .value-statement {
  background: #fffaf0 !important;
  color: #101c1f !important;
  border: 1px solid #d8cfc0 !important;
  border-top: 5px solid #ff653b !important;
  padding: clamp(28px, 4vw, 54px) !important;
}

html body#bd-page.network-page #main .value-statement .eyebrow {
  color: #b7461f !important;
}

html body#bd-page.network-page #main .value-statement :is(h2, h3, p) {
  color: #101c1f !important;
}

html body#bd-page.network-page #main .value-statement h2 {
  max-width: 1080px;
  font-size: clamp(36px, 5.2vw, 72px) !important;
  line-height: 1.02 !important;
}

html body#bd-page.network-page #main .value-statement .source-note {
  color: #555f66 !important;
}

html body#bd-page.posts-archive-page {
  background: #f7f4ed !important;
  color: #101c1f !important;
}

html body#bd-page.posts-archive-page #main.post-archive {
  width: min(1500px, calc(100% - 10vw)) !important;
  margin: 0 auto !important;
  padding: clamp(34px, 5vw, 76px) 0 !important;
  background: #f7f4ed !important;
  color: #101c1f !important;
}

html body#bd-page.posts-archive-page .archive-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: clamp(24px, 5vw, 74px);
  align-items: end;
  margin-bottom: clamp(28px, 5vw, 60px);
}

html body#bd-page.posts-archive-page .archive-head h1 {
  margin: 0 0 18px;
  color: #101c1f !important;
  font-size: clamp(44px, 6vw, 86px) !important;
  line-height: .98 !important;
}

html body#bd-page.posts-archive-page .archive-head p,
html body#bd-page.posts-archive-page .archive-note {
  color: #46525a !important;
  font-size: 18px !important;
  line-height: 1.55 !important;
}

html body#bd-page.posts-archive-page .archive-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

html body#bd-page.posts-archive-page .archive-tools label {
  display: grid;
  gap: 6px;
  color: #46525a;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

html body#bd-page.posts-archive-page .archive-tools input,
html body#bd-page.posts-archive-page .archive-tools select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #bfc8ba;
  border-radius: 4px;
  background: #fffdf7;
  color: #101c1f;
  padding: 10px 12px;
  font: 500 15px/1.3 inherit;
}

html body#bd-page.posts-archive-page .archive-tools label:last-child {
  grid-column: 1 / -1;
}

html body#bd-page.posts-archive-page .post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.3vw, 30px);
}

html body#bd-page.posts-archive-page .post-card {
  background: #fffdf7;
  border: 1px solid #d3d0c4;
  border-radius: 6px;
  overflow: hidden;
}

html body#bd-page.posts-archive-page .post-card button {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

html body#bd-page.posts-archive-page .post-image,
html body#bd-page.posts-archive-page .text-tile {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #e9e4d8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: #101c1f;
  font-size: 18px;
  line-height: 1.35;
}

html body#bd-page.posts-archive-page .post-meta,
html body#bd-page.posts-archive-page .post-metrics {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 0;
  color: #46525a;
  font-size: 12px;
  line-height: 1.35;
}

html body#bd-page.posts-archive-page .post-caption {
  margin: 10px 16px 18px;
  color: #101c1f !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
}

html body#bd-page.posts-archive-page .post-metrics {
  padding-bottom: 16px;
}

html body#bd-page.posts-archive-page .post-metrics span {
  display: grid;
  gap: 2px;
}

html body#bd-page.posts-archive-page .post-metrics strong {
  color: #064bea;
  font-size: 18px;
}

html body#bd-page.posts-archive-page #load-more {
  display: block;
  margin: 34px auto 0;
  min-height: 48px;
  border: 1px solid #101c1f;
  border-radius: 4px;
  background: #101c1f;
  color: #fffdf7;
  padding: 12px 22px;
  font-weight: 700;
}

html body#bd-page.posts-archive-page #load-more[hidden] {
  display: none;
}

html body#bd-page.posts-archive-page dialog {
  max-width: min(760px, calc(100vw - 32px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: #fffdf7;
  color: #101c1f;
}

html body#bd-page.posts-archive-page dialog::backdrop {
  background: #101c1fcc;
}

html body#bd-page.posts-archive-page #post-content {
  padding: 28px;
}

html body#bd-page.posts-archive-page #post-content img {
  display: block;
  max-width: 100%;
  max-height: 62vh;
  object-fit: contain;
  margin: 16px auto;
  background: #e9e4d8;
}

html body#bd-page.posts-archive-page #close-dialog {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 1px solid #101c1f;
  border-radius: 99px;
  background: #fffdf7;
  color: #101c1f;
  width: 38px;
  height: 38px;
}

@media (max-width: 820px) {
  html body#bd-page.bd-brand #main.feed-gallery .feed-totals {
    grid-template-columns: 1fr !important;
  }

  html body#bd-page.bd-brand #main.feed-gallery .feed-totals > div {
    min-height: 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid #d6d0c3 !important;
  }

  html body#bd-page.bd-brand #main.feed-gallery .feed-totals > div:last-child {
    border-bottom: 0 !important;
  }

  html body#bd-page.network-page #main .value-statement h2 {
    max-width: 100% !important;
    font-size: clamp(28px, 7.2vw, 38px) !important;
    line-height: 1.08 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  html body#bd-page.posts-archive-page #main.post-archive {
    width: min(100% - 32px, 1500px) !important;
    padding-top: 34px !important;
  }

  html body#bd-page.posts-archive-page .archive-head,
  html body#bd-page.posts-archive-page .post-grid {
    grid-template-columns: 1fr;
  }

  html body#bd-page.posts-archive-page .archive-tools {
    grid-template-columns: 1fr;
  }
}
