.a-companies {
  margin: clamp(40px, 6vw, 80px) 0 0;
}

.companies__intro-title {
  margin-bottom: 10px;
}

.companies__intro-text {
  max-width: 720px;
  margin-bottom: 40px;
}
.companies__sidebar {
  margin-bottom: 2rem;
}
.companies__filters {
	z-index: 100;
	position: relative;
}
.companies__filters.is-sticky {
  position: fixed;
  z-index: 100;
  background: #A7A9AC;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  padding: 0 25px;
  width: 100%;
  left: 0;
  right: 0;
}
.companies__search-controls {
  height: 36px;
  background: #fff;
  position: relative;
  margin-bottom: 15px;
}

.companies__search-controls input {
  border: none;
  border-radius: 0;
  flex: 1 1;
  padding: 0 150px 0 15px;
}

.companies__search-controls .btn {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  padding: 0 20px;
  min-width: 130px;
}

.companies__filter-wrap {
  gap: 24px;
  row-gap: clamp(12px, 1vw, 24px);
}

.companies__filter {
  position: relative;
  width: 100%;
}

.companies__filter-toggle {
  width: 100%;
  border: none;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 10px;
  justify-content: flex-end;
  line-height: 1;
  height: 36px;
}

.companies__filter-toggle[aria-expanded="true"] {
  padding-bottom: 5px;
}

.companies__filter-title {
  left: 20px;
  right: 20px;
  top: 0;
  bottom: 0;
  pointer-events: none;
  font-size: 17px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.companies__filter-list {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  box-shadow: 3px 3px 6px rgba(0,0,0,0.161);
  background: #e3e3e3;
  padding: 20px 10px;
  overflow-y: auto;
  max-height: 400px;
  display: none;
  z-index: 1;
}

.companies__filter-list.is-open {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.companies__filter-item {
  display: flex;
  font-size: 13px;
  align-items: flex-start;
  gap: 10px;
}

.companies__filter-item input {
  margin-top: 4px;
}

.companies__filter-item-count {
  display: inline-block;
}

.companies__filter-item-count:before {
  content: '( ';
}

.companies__filter-item-count:after {
  content: ' )';
}

.companies__content {
  min-height: 32vw;
}

.companies__grid {
  row-gap: 52px;
  margin-bottom: clamp(40px, 6vw, 80px);
}

.companies__grid.is-loading > * {
  pointer-events: none;
  filter: blur(5px);
}

.company-card {
  background: #fff;
}

.company-card__media {
  padding: 20px;
}

.company-card__media img {
  aspect-ratio: 3/2;
  object-fit: contain;
}

.company-card__body {
  flex: 1 1;
  padding: 20px;
}

.company-card__title {
  font-family: inherit;
  font-size: clamp(14px, 2vw, 17px);
  margin-bottom: 5px;
  line-height: 1.3;
}

.company-card__excerpt {
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1.3;
  margin-bottom: 10px;
}

.company-card__cta .btn {
  font-size: 13px;
  padding: 8px 29px;
}

.companies__filter-item--hidden {
  display: none;
}

.companies__filter--empty {
  display: none;
}

.company-card__cta .btn:before {
  content: '';
  display: block; 
  position: absolute; 
  left: 0; 
  top: 0; 
  right: 0; 
  bottom: 0; 
  cursor: pointer;
  pointer-events: auto;
  z-index: 1;
}

@media screen and (min-width: 576px) {
  .companies__grid {
    row-gap: 30px;
  }

  .company-card__media {
    border-right: 1px solid #a7a9ac;
    width: 40%;
  }

  .company-card__cta {
    margin: auto -20px -20px auto;
  }
}

@media screen and (min-width: 768px) {
  .companies__filter {
    width: calc(100% / 2 - 12px);
  }
}

@media screen and (min-width: 1200px) {
  .a-companies .container {
    max-width: 1920px;
  }

  .companies__search-controls {
    max-width: calc(100% / 3 - 15px);
  }

  .companies__filter {
    width: calc(100% / 6 - 20px);
  }
}
@media screen and (max-width: 1199.98px) {
  .companies__filters.is-sticky .companies__filter-wrap.collapse:not(.show) {
    display: none !important;
  }
  .companies__filters.is-sticky .companies__filter-btn {
    display: block!important;
  }
}
@media screen and (max-width: 575px) {
  .company-card__media {
    border-bottom: 1px solid #a7a9ac;
  }
  .company-card__excerpt {
    margin-bottom: 20px;
  }
  .company-card__cta {
    margin: auto -20px -58px auto;
  }
}