/* Layout Styles
======================================= */
.hn-main-container {
  padding-left: 0;
  padding-right: 0;
}

.appointed-banner-outer {
  height: 400px;
  background: url("https://hnuk.blob.core.windows.net/hnuk-assets/hn-landing-pages/appointed/images/appointed-banner.jpg") no-repeat center center / cover;
}

.appointed-banner-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 80px 40px;
  height: 100%;
  display: flex;
  align-items: center;
}

.appointed-banner-content {
  max-width: 450px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.appointed-intro-inner {
  padding: 80px 40px 120px;
}

.appointed-intro-inner .appointed-blurb {
  max-width: 900px;
  margin: 0 auto;
}

.appointed-main-content-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 80px 40px;
}

.appointed-section-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 80px;
}

.appointed-section-content {
  flex-basis: 55%;
}

.appointed-section-image {
  flex-basis: 45%;
  border-radius: 16px;
  overflow: hidden;
}

.appointed-section-outer:nth-child(odd) .appointed-section-content {
  order: 1;
}

.appointed-section-outer:nth-child(odd) .appointed-section-image {
  order: 2;
}

.appointed-section-outer:nth-child(odd) .appointed-section-content {
  padding-right: 60px;
}

.appointed-section-outer:nth-child(even) .appointed-section-content {
  padding-left: 60px;
}

.appointed-images-inner {
  display: flex;
  justify-content: center;
  gap: 3.5%;
  flex-wrap: wrap;
}

.appointed-images-inner > div {
  flex-basis: 31%;
  margin-bottom: 3.5%;
}

.appointed-sections-outer {
  margin-bottom: 120px;
}

.book-appointment-outer,
.how-it-works-outer {
  margin-bottom: 80px;
}

.how-it-works-card span {
  font-size: 3.5em;
}

.how-it-works-cards {
  display: flex;
  gap: 40px;
}

.how-it-works-card {
  flex: 1 0 0;
  background: #f3f4f5;
  padding: 40px;
  border-radius: 8px;
}

.book-appointment-inner {
  display: flex;
  align-items: center;
  gap: 50px;
}

.book-appointment-content {
  width: 500px;
}

.book-appointment-content .appointed-section-blurb {
  margin-bottom: 40px;
}

.book-appopintment-map {
  flex: 1 0 0;
}

.book-appopintment-map iframe {
  height: 500px;
}

.appointment-button-group {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* Font Styles
======================================= */
.appointed-banner-content h1 {
  font-size: 2.4em;
  line-height: 1.2em;
  font-weight: 600;
  margin: 0 0;
  color: #fff;
}

.appointed-banner-content p {
  font-size: 1.8em;
  line-height: 1.3em;
  font-weight: 400;
  margin: 0 0;
  color: #fff;
}

.appointed-banner-content p span {
  font-weight: 800;
}

.appointed-section-content h2,
.book-appointment-inner h2,
.how-it-works-inner h2 {
  font-family: lato;
  font-size: 2.4em;
  line-height: 1.2em;
  font-weight: 400;
  margin: 0 0 0.5em;
  color: #444;
}

.appointed-intro-inner h2 span {
  display: block;
  font-weight: 800;
}

.appointed-blurb p {
  font-size: 1.143em;
  line-height: 1.3em;
  color: #444;
  margin: 0;
}

.appointment-button-group a {
  min-height: 2.5em;
  min-width: 8.5em;
  box-sizing: border-box;
  outline: 0;
  cursor: pointer;
  border: 0;
  color: #ffffff;
  padding: 8px 16px;
  font-size: 16px;
  border-radius: 5px;
  background-color: #000;
  text-decoration: none;
}

/* Media Queries
======================================= */
@media screen and (max-width: 992px) {
  .how-it-works-cards {
    flex-wrap: wrap;
    gap: 0;
    justify-content: space-between;
  }

  .how-it-works-card {
    flex: 0 0 48%;
    margin-bottom: 20px;
  }

  .book-appointment-inner {
    flex-direction: column;
  }

  .book-appointment-content {
    width: 100%;
  }

  .book-appointment-content .appointed-section-blurb {
    margin-bottom: 20px;
  }

  .book-appopintment-map {
    width: 100%;
  }

  .book-appopintment-map iframe {
    height: 400px;
  }
}

@media screen and (max-width: 750px) {
  .how-it-works-cards {
  }

  .how-it-works-card {
    flex: 0 0 100%;
  }
  .appointed-main-content-inner {
    padding: 40px 20px 0;
  }

  .appointed-intro-inner {
    padding: 40px 0 60px;
  }

  .appointed-intro-inner h2 {
    font-size: 2.4em;
  }

  .appointed-section-inner {
    flex-direction: column;
    gap: 20px;
  }

  .appointed-section-outer:nth-child(odd) .appointed-section-content {
    order: 2;
  }

  .appointed-section-outer:nth-child(odd) .appointed-section-image {
    order: 1;
  }

  .appointed-section-image > img {
    width: 100%;
  }

  .appointed-section-outer:nth-child(odd) .appointed-section-content {
    padding-right: 0;
  }

  .appointed-section-outer:nth-child(even) .appointed-section-content {
    padding-left: 0;
  }

  .appointed-section-content,
  .appointed-section-image {
    flex-basis: 100%;
    width: 100%;
  }

  .appointed-section-inner {
    margin-bottom: 50px;
  }

  .appointed-sections-outer {
    margin-bottom: 60px;
  }

  .appointed-images-inner {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 20px;
  }

  .appointed-images-inner > div {
    flex-basis: 100%;
    margin-bottom: 0;
  }

  .appointed-images-inner img {
    width: 100%;
  }
}

@media screen and (max-width: 550px) {
  .appointed-banner-inner {
    align-items: start;
    padding: 40px 30px;
  }

  .appointed-banner-outer {
    height: 470px;
    background-position: right 43% center;
  }

  .appointed-banner-content {
    max-width: 275px;
  }
}
