.roadmap-directory.portal-main {
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 4px 12px 28px;
}
.roadmap-directory-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  margin: 0 0 3px;
}
.roadmap-directory-heading h1 {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: #19191f;
  font-size: clamp(19px, 4.6vw, 25px);
  line-height: 1.25;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.roadmap-directory-icon {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  height: 28px;
  border-radius: 6px;
  background: #fff2f4;
  color: #ab001d;
}
.roadmap-directory-icon .icon { width: 16px; height: 16px; }
.roadmap-directory-heading small {
  color: #61616b;
  font-size: 11px;
  white-space: nowrap;
}
.roadmap-filter-clear:not([hidden]) {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding-inline: 5px;
  color: #a8001b;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.roadmap-filter-clear:hover { text-decoration: underline; text-underline-offset: 3px; }

.roadmap-filters {
  display: flex;
  align-items: end;
  gap: 8px;
  margin: 0 0 10px;
  padding: 0 0 8px;
  border-bottom: 1px solid #e8e8ed;
}
.roadmap-filter-field {
  display: grid;
  flex: 1 1 0;
  min-width: 0;
  gap: 4px;
  color: #50505c;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}
.roadmap-filter-search { flex-grow: 1.3; }
.roadmap-filter-field :is(input, select) {
  display: block;
  width: 100%;
  min-width: 0;
  height: 42px;
  margin: 0;
  padding: 0 8px;
  border: 1px solid #dedee5;
  border-radius: 6px;
  background: #fff;
  color: #24242d;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}
.roadmap-filter-field input::placeholder { color: #666674; }
.roadmap-filter-apply {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid #b4001e;
  border-radius: 6px;
  background: #b4001e;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}
.roadmap-filter-apply .icon { width: 15px; height: 15px; }
.roadmap-filter-apply:is(:hover, :active) { background: #990018; border-color: #990018; }
:is(.roadmap-filters input, .roadmap-filters select, .roadmap-filter-apply, .roadmap-filter-clear):focus-visible {
  outline: 2px solid #af001d;
  outline-offset: 2px;
}
.roadmap-directory .topper-results-summary { margin: 0 0 8px; font-size: 12px; line-height: 1.45; }
.roadmap-directory .catalog-products { padding-top: 0; }

@media (max-width: 430px) {
  .roadmap-filter-apply .icon { display: none; }
  .roadmap-filter-apply { padding-inline: 7px; }
}
@media (max-width: 700px) {
  .roadmap-directory .catalog-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  .roadmap-directory .catalog-product-card { border-radius: 7px; box-shadow: none; }
  .roadmap-directory .catalog-product-body { padding: 9px 9px 6px; }
  .roadmap-directory .catalog-product-body h2 {
    min-height: 0;
    margin: 5px 0;
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }
  .roadmap-directory .classplus-badges { flex-wrap: wrap; }
  .roadmap-directory .catalog-product-card footer { padding: 7px 9px 9px; }
  .roadmap-directory .catalog-product-card footer > a {
    display: grid;
    place-items: center;
    min-height: 42px;
    margin-top: 6px;
    padding: 6px 4px;
    font-size: 11px;
  }
}
@media (min-width: 701px) {
  .roadmap-directory.portal-main { padding: 10px var(--desktop-gutter, 24px) 36px; }
  .roadmap-directory-heading { min-height: 42px; margin-bottom: 4px; gap: 10px; }
  .roadmap-directory-heading h1 { font-size: 25px; }
  .roadmap-filters { margin-bottom: 14px; padding-bottom: 10px; gap: 10px; }
  .roadmap-filter-field { flex: 0 1 200px; }
  .roadmap-filter-search { flex-basis: 260px; }
  .roadmap-filter-field :is(input, select) { padding-inline: 11px; font-size: 14px; }
  .roadmap-filter-apply { padding-inline: 14px; }
}
