.section-locations {
  padding: 0;
  position: relative;
  margin: 5rem 0;
}
.section-locations:first-child {
  margin-top: 99px;
  margin-bottom: 0;
}
.section-locations .container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.section-locations .container .content {
  width: 50%;
  padding: 100px 50px 100px 0;
}
.section-locations .container .content h1, .section-locations .container .content h2 {
  margin: 0;
  text-align: left;
  font-size: 4em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.section-locations .container .content h1 span, .section-locations .container .content h2 span {
  width: calc(100% - 100px);
}
.section-locations .container .content h1 img, .section-locations .container .content h2 img {
  width: 75px;
}
.section-locations .container .content .text {
  max-width: 800px;
  margin: 20px auto;
  text-align: center;
  line-height: 1.5em;
  opacity: 0.75;
}
.section-locations .container .content .buttons {
  justify-content: center;
  margin-top: 30px;
}
.section-locations .container .content .locations {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  grid-gap: 20px;
  margin-top: 50px;
}
.section-locations .container .content .locations .location {
  width: calc(50% - 10px);
  padding: 5px;
  border-radius: 10px;
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.1);
}
.section-locations .container .content .locations .location img.main {
  width: 100%;
  aspect-ratio: 1.5;
  border-radius: 10px;
  -o-object-fit: cover;
     object-fit: cover;
  max-height: 200px;
}
.section-locations .container .content .locations .location h3 {
  font-size: 1.2em;
  font-weight: 500;
  margin: 20px 0 10px;
  padding: 0 10px;
}
.section-locations .container .content .locations .location p.address {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  grid-gap: 5px;
  padding: 0 10px;
  font-size: 0.9em;
}
.section-locations .container .content .locations .location p.address img {
  width: 15px;
}
.section-locations .container .content .locations .location p.address span {
  width: calc(100% - 20px);
}
.section-locations .container .content .locations .location .links {
  border-top: 2px dashed #f2f2f2;
  margin-top: 20px;
  padding: 20px 10px 15px;
}
.section-locations .container .content .locations .location .links a.button {
  margin-left: 0;
  width: -moz-max-content;
  width: max-content;
  font-size: 0.8em;
  padding: 12px 24px;
}
.section-locations .container .map {
  width: 50%;
  position: relative;
}
.section-locations .container .map:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0) 5%);
  z-index: 1;
}

@media (max-width: 1000px) {
  .section-locations .container .content {
    width: 60%;
  }
  .section-locations .container .map {
    width: 40%;
  }
}
@media (max-width: 900px) {
  .section-locations .container .content .locations .location {
    width: 100%;
  }
}
@media (max-width: 820px) {
  .section-locations .container .content {
    width: 100%;
    margin-bottom: 50px;
    padding-bottom: 0;
    padding-right: 0;
    padding-top: 50px;
  }
  .section-locations .container .content .locations {
    justify-content: flex-start;
  }
  .section-locations .container .content .locations .location {
    width: calc(50% - 10px);
  }
  .section-locations .container .map {
    width: 100%;
    aspect-ratio: 2;
    margin-bottom: 50px;
  }
}
@media (max-width: 600px) {
  .section-locations .container .content :is(h1, h2) {
    font-size: 3em;
  }
  .section-locations .container .content .locations .location {
    width: 100%;
  }
}
/*

Scroll Animations

*/
.section-locations .block {
  margin-top: -50px;
  opacity: 0;
  transition: all 1s;
}
.section-locations.scrolled-to .block {
  margin-top: 0;
  opacity: 1;
}