/** @format */

.locations-listing {
  display: flex;
  flex-direction: column;
  margin-bottom: 35px;
}

.locations-listing h4 {
  font-size: 1.438rem;
  font-weight: 600;
  margin-bottom: 19px;
  width: 100%;
  display: block;
  order: 2;
}

.locations-listing h4 a {
  text-decoration: none;
  color: var(--color-primary);
}

.locations-listing h4 a:hover,
.locations-listing h4 a:focus-visible {
  color: var(--color-orange);
}

.locations-listing a:focus,
.locations-listing a:hover {
  color: var(--color-orange);
}

.locations-links {
  width: 100%;
  order: 3;
  /* margin-bottom: 26px; */
  margin-bottom: 0;
}

.locations-links li {
  position: relative;
  padding-left: 32px;
}

.locations-links li i {
  position: absolute;
  top: 5px;
  left: 0;
  color: var(--color-alternate);
}

.locations-links a {
  text-decoration: none;
  color: var(--color-body-text);
}

.locations-links .color {
  color: var(--color-info);
}

.locations-address {
  width: 100%;
  order: 4;
}

.locations-address address {
  padding-left: 33px;
  display: block;
  position: relative;
}

.locations-address address i {
  position: absolute;
  top: 5px;
  left: 0;
  color: var(--color-alternate);
}

.locations-address .button {
  color: var(--color-info);
}

.locations-address .button:hover,
.locations-address .button:focus {
  color: var(--color-primary);
}

.locations-logo {
  width: 100%;
  order: 1;
  border-radius: 10%;
}

.locations-logo a {
  margin-bottom: 21px;
  display: block;
  border-radius: 10px;
}

.locations-holder.is-alt .color,
.locations-holder.is-alt .locations-address .button {
  color: var(--color-alternate);
}

.locations-holder.is-alt .color:focus,
.locations-holder.is-alt .color:hover,
.locations-holder.is-alt .locations-address a:focus,
.locations-holder.is-alt .locations-address a:hover {
  color: var(--color-orange);
}

@media screen and (min-width: 768px) {
  .locations-listing {
    flex-wrap: wrap;
    flex-direction: row;
  }

  .locations-listing h4 {
    order: 1;
  }

  .locations-links {
    width: 33.33%;
    order: 2;
    margin-bottom: 0;
    padding-right: var(--gutter-size);
  }

  .locations-address {
    order: 3;
    width: 66.66%;
    position: relative;

    display: -webkit-flex;
    display: -moz-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: wrap;
    grid-gap: 15px 25px;
    gap: 15px 25px;
  }

  .locations-address > div {
    width: calc((100% - 25px) / 2);
  }

  .locations-address .button {
    padding-left: 33px;
  }

  .locations-logo {
    width: 33.33%;
    order: 4;
    display: flex;
    padding-left: var(--gutter-size);
    justify-content: flex-end;
    align-self: flex-start;
  }

  .locations-logo a {
    margin-bottom: 0;
    display: block;
    padding: 10px;
  }

  .locations-logo img {
    width: 100%;
  }
}
