.fh-site .fh-plan-cta {
  color: #fff;
}

.fh-listing :is(.fh-collection-controls, .fh-case-controls) .fh-filter-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 7px 17px;
  color: #536d7c;
  background: #fff;
  border: 1px solid #dae3e9;
  border-radius: 2px;
}

.fh-listing :is(.fh-collection-controls, .fh-case-controls) .fh-filter-tabs a:is(.is-active, [aria-current="true"]) {
  color: #123747;
  background: var(--fh-accent);
  border-color: var(--fh-accent);
}

#cases-list { scroll-margin-top: 90px; }

.fh-listing .fh-case-controls {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 0 24px;
  border-top: 1px solid #dce5ed;
}

.fh-listing .fh-case-filter-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid #dce5ed;
}
.fh-case-filter-label { padding-block: 10px; color: #233b48; font-size: 15px; font-weight: 650; }
.fh-case-controls .fh-filter-tabs { display: flex; flex-wrap: wrap; gap: 6px; }

.fh-listing .fh-case-filter-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, max-content);
  width: 100%;
  align-items: center;
  gap: 10px 16px;
  padding-top: 12px;
}

.fh-case-results { margin: 0; color: #415d70; font-size: 15px; }
.fh-case-faq-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 28px;
}
.fh-case-faq-item h3 { font-size: 21px; line-height: 1.5; margin-bottom: 12px; }
.fh-case-faq-item p { color: #536d7c; font-size: 17px; line-height: 1.8; white-space: pre-line; }
.fh-case-faq-item .fh-inline-link { margin-top: 12px; }
.fh-case-demo-address { margin-top: 14px; overflow-wrap: anywhere; }
@media (max-width: 820px) {
  .fh-case-faq-items { grid-template-columns: 1fr; gap: 24px; }
  .fh-case-faq-item p { font-size: 16px; }
}
.fh-case-search-actions, .fh-case-search { display: flex; align-items: center; gap: 8px; min-width: 0; }
.fh-listing .fh-case-search-actions { justify-content: end; flex-wrap: nowrap; }
.fh-case-search-actions [data-case-search] { min-width: 0; }
.fh-case-search-actions [data-case-search]:empty { display: none; }
.fh-case-search input[type="search"] {
  box-sizing: border-box;
  width: clamp(255px, 27vw, 340px);
  min-width: 0;
  max-width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #c8d8e2;
  border-radius: 5px;
  background: #fff;
  color: #172c3d;
  font: inherit;
  font-size: 16px;
}

.fh-case-reset {
  display: inline-flex;
  min-height: 42px;
  padding: 6px 10px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dae3e9;
  border-radius: 5px;
  background: #fff;
  color: #27485d;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  white-space: nowrap;
}

.fh-case-reset:hover, .fh-case-pagination a:hover { border-color: #087f93; color: #086f80; }
.fh-case-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 7px; margin-top: 22px; }
.fh-case-pagination a { display: inline-grid; min-width: 41px; min-height: 42px; place-items: center; padding: 6px 8px; border: 1px solid #dce5ed; border-radius: 5px; background: #fff; color: #27485d; font-size: 15px; }
.fh-case-pagination a[aria-current="page"] { background: #087f93; border-color: #087f93; color: #fff; font-weight: 650; }
.fh-case-pagination .fh-pagination-gap { color: #536d7c; }
.fh-case-controls :focus-visible, .fh-case-pagination :focus-visible { outline: 2px solid #087f93; outline-offset: 2px; }
.fh-listing .fh-empty .fh-button { margin-top: 8px; }

.fh-listing .pagination,
.fh-listing .pagination .actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.fh-listing .pagination {
  margin-top: 36px;
  gap: 12px 18px;
  color: #536d7c;
}

.fh-listing .pagination :is(a, button),
.fh-detail-aside .theme-inquiry-action button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border: 1px solid #c8d8e2;
  color: #27485d;
  background: #fff;
}

.fh-listing .pagination button[disabled] {
  cursor: default;
}

.fh-detail-aside .theme-inquiry-action {
  margin-top: 12px;
}

.fh-detail-aside .theme-inquiry-action button {
  width: 100%;
}

.fh-card-copy .fh-case-title > a {
  min-width: 0;
  overflow-wrap: anywhere;
}

.fh-detail-body .fh-article-content {
  font-size: 17px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.fh-detail-section .fh-product-prose > h2,
.fh-detail-section .fh-case-prose > h2,
.fh-detail-section .fh-article-content > h2 {
  margin: 22px 0 8px;
  color: #263d4c;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.55;
}

.fh-detail-section .fh-product-prose > h2 { font-size: 20px; }

.fh-detail-section :is(.fh-product-prose, .fh-case-prose, .fh-article-content) > h2:first-child { margin-top: 0; }

.fh-article-content > figure { margin: 28px 0; }

.fh-article-content > figure img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: contain;
}

.fh-detail-body .fh-article-content :is(img, video),
.fh-detail-section .fh-prose :is(img, video) {
  max-width: 100%;
  height: auto;
}

.fh-detail-section .fh-case-prose > p { font-size: 17px; }

.fh-detail-section .fh-case-prose > p:has(> img:only-child) {
  max-width: 660px;
  margin-block: 14px 5px;
}

.fh-detail-section .fh-case-prose > p > img:only-child {
  display: block;
  border-radius: 5px;
}

.fh-detail-section .fh-case-prose > p:has(> small:only-child) {
  margin-block: 0 20px;
  color: #536d7c;
  font-size: 14px;
}

.fh-detail-section .fh-case-prose > p > small { font-size: inherit; }

.fh-detail-downloads a {
  text-decoration: underline;
}

.fh-detail-aside .fh-detail-date {
  margin-bottom: 16px;
  color: #536d7c;
  font-size: 14px;
}

@media (max-width: 680px) {
  .fh-listing :is(.fh-collection-controls, .fh-case-controls) .fh-filter-tabs a {
    padding-inline: 12px;
  }

  .fh-listing .fh-case-filter-row { grid-template-columns: 1fr; gap: 5px; }
  .fh-case-filter-label { padding-block: 2px; }
  .fh-listing .fh-case-filter-footer { grid-template-columns: minmax(0, 1fr); }
  .fh-listing .fh-case-search-actions { flex-wrap: wrap; }
  .fh-case-search-actions [data-case-search] { flex: 1 1 100%; }
  .fh-case-search input[type="search"] { flex: 1 1 auto; width: 100%; }

  .fh-detail-body .fh-article-content {
    font-size: 16px;
  }

  .fh-detail-section .fh-article-content > h2 { font-size: 20px; }
  .fh-detail-section .fh-case-prose > h2 { font-size: 19px; }
  .fh-detail-section .fh-case-prose > p:not(:has(> small:only-child)) { font-size: 16px; }
  .fh-detail-section .fh-product-prose > h2 { font-size: 18px; }
  .fh-article-content > figure { margin-block: 22px; }
}

@media (max-width: 360px) {
  .fh-case-search { flex-wrap: wrap; justify-content: end; }
  .fh-case-search input[type="search"] { flex: 1 1 100%; }
}
