main {
  padding-top: 0;
}
.hero-banner {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3)),
    url("../img/weaving-lo-hero.webp") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  min-height: 635px;
  text-align: center;
  margin-bottom: 5rem;
}

.hero-banner p {
  max-width: 70%;
  -webkit-text-size-adjust: 100%;
  text-transform: none;
  font-family: PT Serif, serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 50px;
  color: #fff;
  text-align: center;
  box-sizing: border-box;
}
.ems__title-wrapper {
  -webkit-text-size-adjust: 100%;
  color: #1a1b1f;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  max-width: 728px;
}
.ems__title-wrapper h2 {
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  line-height: 50px;
  color: #1f234c;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  padding-left: 5px;
  padding-right: 5px;
  font-family: PT Serif, serif;
  font-size: 32px;
  font-weight: 400;
  display: flex;
  margin-top: 60px;
}
.ems__title-wrapper .divider {
  -webkit-text-size-adjust: 100%;
  font-family: Montserrat, sans-serif;
  inset: 0% 0% auto;
  background-color: #59545480;
  width: 100%;
  height: 1px;
  margin-top: 40px;
  margin-bottom: 40px;
  display: block;
}
.ems-overview {
  -webkit-text-size-adjust: 100%;
  color: #1a1b1f;
  margin-left: auto;
  margin-right: auto;
  max-width: 70%;
  padding: 10px;
}
.ems-overview p {
  -webkit-text-size-adjust: 100%;
  color: #1a1b1f;
  font-family: Montserrat, sans-serif;
  font-weight: 400;
  line-height: 28px;
  box-sizing: border-box;
  margin-top: 0;
  margin-bottom: 10px;
  text-align: center;
  padding: 20px 60px;
  font-size: 15px;
}
.content-section {
  width: 80%;
  margin: 0 auto 3rem auto;
  padding: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 2rem;
}
.content-section:nth-child(even) .content-section__content {
  order: 1;
}
.content-section:nth-child(even) .content-section__slider-wrapper {
  order: 2;
}

.content-section:nth-child(odd) .content-section__content {
  order: 2;
}
.content-section:nth-child(odd) .content-section__slider-wrapper {
  order: 1;
}

.content-section__content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  width: 40%;
}
.content-section .content-section__content .content-section__content-title {
  -webkit-text-size-adjust: 100%;
  font-family: Montserrat, sans-serif;
  box-sizing: border-box;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  opacity: 0.6;
  color: #000;
}
.content-section .content-section__content .content-section__content-heading {
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  line-height: 50px;
  color: #1f234c;
  margin-top: 10px;
  margin-bottom: 20px;
  padding-left: 5px;
  padding-right: 5px;
  font-family: PT Serif, serif;
  font-size: 32px;
  font-weight: 400;
  display: flex;
  text-align: left;
  justify-content: flex-start;
  align-items: center;
}
.content-section .content-section__content .content-section__content-text {
  -webkit-text-size-adjust: 100%;
  font-family: Montserrat, sans-serif;
  box-sizing: border-box;
  opacity: 1;
  align-items: center;
  margin: 0 0 15px;
  padding-top: 0;
  font-weight: 400;
  line-height: 20px;
  color: #1f1a1a;
  text-align: left;
  justify-content: flex-start;
  font-size: 14px;
  display: block;
}

.cta,
.content-section__content-cta {
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  background-color: #1a1b1f;
  border-radius: 0;
  margin-bottom: 0;
  padding: 12px 25px;
  font-size: 12px;
  line-height: 20px;
  text-decoration: none;
  transition: background-color 0.4s, opacity 0.4s, color 0.4s;
  border-radius: 10px;
  margin-top: 5px;
  margin-left: 0;
}

.cta:hover,
.content-section__content-cta:hover {
  background-color: #444;
}
.content-section .content-section__slider-wrapper {
  position: relative;
  max-width: 100%;
  width: 20rem;
  /* margin: auto; */
  overflow: hidden;
}

.content-section .content-section__slider {
  display: flex;
  transition: transform 0.5s ease;
}

.content-section .content-section__slide {
  min-width: 100%;
}

.content-section .content-section__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.content-section button.prev,
.content-section button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 12px;
  cursor: pointer;
  z-index: 1;
}

.content-section button.prev {
  left: 10px;
}

.content-section button.next {
  right: 10px;
}
@media (max-width: 40rem) {
  .hero-banner {
    padding: 2rem;
    margin-bottom: 5rem;
  }
  .hero-banner p {
    max-width: 100%;
    font-family: PT Serif, serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 50px;
  }
  .ems-overview {
    padding: 16px;
    max-width: 100%;
  }

  .ems-overview p {
    padding: 10px;
  }
  .content-section {
    width: 100%;
    padding: 1rem;
    column-gap: 0;
    row-gap: 2rem;
  }
  .content-section:nth-child(even) .content-section__content {
    order: 2;
  }
  .content-section:nth-child(even) .content-section__slider-wrapper {
    order: 1;
  }

  .content-section:nth-child(odd) .content-section__content {
    order: 2;
  }
  .content-section:nth-child(odd) .content-section__slider-wrapper {
    order: 1;
  }
  .content-section__content {
    width: 100%;
  }
  .content-section .content-section__content .content-section__content-heading {
    padding-right: 0;
  }
  .content-section .content-section__slider-wrapper {
    max-width: 100%;
  }
}
