/* Branches Section */

.branches__title {
  margin-bottom: clamp(40px, 85px, 85px);
}

.branch {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 20px 1fr 20px 1fr;
  grid-template-columns: repeat(3, 1fr);
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
}
@media (max-width: 991.98px) {
  .branch {
    -ms-grid-columns: (1fr) [2];
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 479.98px) {
  .branch {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
.branch__icon {
  height: 40px;
  width: auto;
  display: block;
  margin: 0 auto;
  fill: var(--dirty-white);
  margin-bottom: 20px;
}
.branch__link {
  -webkit-box-flex: 0;
  -ms-flex: 0 1 30%;
  flex: 0 1 30%;
  background-color: var(--accent);
  height: 220px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0 20px;
  text-align: center;
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
@media (any-hover: hover) {
  .branch__link:hover {
    background-color: var(--primary);
    color: var(--bg);
  }
}
.branch__link:focus-visible {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: var(--primary);
  color: var(--bg);
}
.branch__item-title {
  color: var(--dirty-white);
  font-size: clamp(16px, 18px, 20px);
  font-weight: 700;
}