/**
* Fuel Theme
* Version 5.0.0
**/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Hero
# Welcome
# CTA's
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
#hero {
  padding-top: 1em;
  text-align: center;
  background: #edf5ff;
  padding-bottom: 4.8rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
#hero::after {
  content: "";
  width: 100%;
  height: 100%;
  aspect-ratio: 269 / 360;
  background: url("../images/hero-bg-new.webp");
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
  position: absolute;
  top: calc(100% - 13.5em);
  left: 0;
  z-index: -2;
}
#hero h2 {
  font-size: 2.4em;
  font-weight: 600;
  color: var(--alt-blue);
  margin: 0 auto;
  width: fit-content;
  position: relative;
  z-index: 1;
}
#hero h2:first-of-type {
  color: var(--title-color);
}
#hero h2:last-of-type {
  color: var(--site-orange);
}
#hero h2::after {
  content: "";
  width: calc(100% + 0.6rem);
  height: 0.05rem;
  background: var(--alt-blue);
  position: absolute;
  bottom: 0.25em;
  left: 0;
  z-index: -1;
}
#hero h2:first-of-type::after {
  background: var(--title-color);
  left: unset;
  right: 0;
}
#hero h2:last-of-type::after {
  background: var(--site-orange);
  left: unset;
  right: 0;
}
#hero h3 {
  font-size: 1.1em;
  font-weight: 600;
  margin-bottom: 1.6em;
  margin-top: 0.8em;
}
#hero .wp-block-buttons {
  justify-content: center;
  margin-bottom: 2.3em;
}
#hero figure img {
  border-radius: 100%;
}
#hero figure {
  width: 11.5em;
  margin: auto;
  position: relative;
  z-index: 1;
}
#hero figure::after {
  content: "";
  width: 15em;
  aspect-ratio: 308 / 279;
  background: url("../images/hero-ornament.svg");
  background-size: cover;
  position: absolute;
  top: -1.15em;
  left: -1.3em;
  z-index: -1;
}

@media (min-width: 48.5em) {
  #hero::after {
    height: calc(100% + 13.5em);
  }
}
@media (min-width: 68.5em) {
  #hero {
    text-align: left;
    padding-top: 4em;
    padding-bottom: 6em;
  }
  #hero::after {
    background: url("../images/hero-bg-large.webp");
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    max-width: 27.5em;
    width: clamp(15em, 27vw, 27.5em);
    height: 100%;
    aspect-ratio: 740 / 554;
    top: 0;
    left: unset;
    right: 0;
  }
  #hero::before {
    content: "";
    width: clamp(5rem, 27vw, 15em);
    aspect-ratio: 1 / 1;
    background: url("../images/footer-ornament.svg");
    background-size: cover;
    bottom: 0;
    left: 0;
    position: absolute;
    z-index: -1;
  }
  #hero h2 {
    margin: unset;
    font-size: 5.5em;
  }
  #hero h3 {
    font-size: 2em;
    margin-top: 0;
  }
  #hero h2::after {
    width: calc(100% + 2.4rem);
  }
  #hero .wp-block-buttons {
    justify-content: flex-start;
    margin: 0;
  }
  #hero figure {
    width: 20.5em;
    margin: 0;
    position: absolute;
    top: 8em;
    right: clamp(3em, 11vw, 12em);
  }
  #hero figure::after {
    width: 24.2em;
    aspect-ratio: 489 / 562;
    background: url("../images/hero-ornament-large.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right;
    top: -4.3em;
    left: -0.3em;
  }
}

/*--------------------------------------------------------------
# Welcome
--------------------------------------------------------------*/
#welcome {
  color: var(--site-white);
  background: url("../images/welcome-bg.svg");
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  padding-top: 1.2em;
  position: relative;
  overflow: hidden;
  z-index: 0;
}
#welcome::before,
#welcome::after {
  content: "";
  width: 100%;
  height: 0.15em;
  background: linear-gradient(
    to right,
    #3e5273 0%,
    #3e5273 33.33%,
    #f77751 33.33%,
    #f77751 66.66%,
    #7495b7 66.66%,
    #7495b7 100%
  );
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}
#welcome::after {
  top: unset;
  bottom: 0;
}
#welcome .welcome-text {
  font-size: 0.9em;
  margin-bottom: 2.5em;
}

#welcome .dot-wrap {
  display: flex;
  justify-content: space-between;
  z-index: 2;
  position: relative;
  max-width: 35em;
  margin: auto;
  font-size: 1rem;
}
.dot-wrap::before {
  content: "";
  width: 100%;
  height: 0.1em;
  background-image: linear-gradient(
    to right,
    var(--site-white) 33%,
    rgba(255, 255, 255, 0) 0%
  );
  background-position: bottom;
  background-size: 0.6em 0.1em;
  background-repeat: repeat-x;
  position: absolute;
  top: 0.4em;
  left: 0;
  z-index: -1;
}
.dot-wrap::after {
  content: "";
  width: 0.1em;
  height: 2em;
  background-image: linear-gradient(
    var(--site-white) 33%,
    rgba(255, 255, 255, 0) 0%
  );
  background-position: right;
  background-size: 0.1em 0.6em;
  background-repeat: repeat-y;
  position: absolute;
  top: -2em;
  left: 50%;
  z-index: -1;
}
.dot-wrap svg {
  display: block;
  width: 0.8em;
  color: var(--site-orange);
}
.dot-wrap svg:first-of-type {
  color: var(--primary-color);
}
.dot-wrap svg:last-of-type {
  color: var(--alt-blue);
}

#welcome .wp-block-buttons {
  justify-content: center;
  padding-top: 2em;
  border: none;
}
#welcome .wp-block-button__link {
  width: 12em;
  margin-bottom: 1.5em;
}
#welcome figure {
  margin: auto;
  margin-top: 4.5em;
  margin-bottom: 6em;
  width: fit-content;
  border-radius: 50%;
  /* padding: 0 0.8em; */
}
#welcome figure img {
  border-radius: 50%;
  /* position: relative; */
}
#welcome .blue-stripe {
  display: block;
  border-radius: unset;
  width: 100vw;
  max-width: 96em;
  height: 100vh;
  position: fixed;
  margin: unset;
  bottom: 0;
  left: 0;
  z-index: -1;
}
#welcome .blue-stripe img {
  border-radius: unset;
  width: 100%;
  height: 100%;
}
#welcome .wp-block-media-text .wp-block-media-text__media {
  position: relative;
}
.media-decor {
  position: absolute;
  width: 100%;
  top: clamp(-1.5em, -8%, -1em);
  z-index: -1;
}
.md-1 {
  color: #3e5273;
}
.md-2 {
  color: #526381;
}
.md-3 {
  color: #65758f;
}
.md-4 {
  color: #79869d;
}
.md-5 {
  color: #8c97ab;
}
.md-6 {
  color: #9fa8b9;
}
.md-7 {
  color: #b2bac7;
}

#welcome .media-text-2 .media-decor {
  color: var(--cta-2);
}
.media-text-2 .md-1 {
  color: #f77751;
}
.media-text-2 .md-2 {
  color: #f88562;
}
.media-text-2 .md-3 {
  color: #f99274;
}
.media-text-2 .md-4 {
  color: #f9a085;
}
.media-text-2 .md-5 {
  color: #faad97;
}
.media-text-2 .md-6 {
  color: #fbbba8;
}
.media-text-2 .md-7 {
  color: #fcc9b9;
}

#welcome .media-text-3 .media-decor {
  color: var(--cta-3);
}
.media-text-3 .md-1 {
  color: #7697ba;
}
.media-text-3 .md-2 {
  color: #84a1c1;
}
.media-text-3 .md-3 {
  color: #91abc7;
}
.media-text-3 .md-4 {
  color: #9db4cd;
}
.media-text-3 .md-5 {
  color: #9db4cd;
}
.media-text-3 .md-6 {
  color: #bbcbdd;
}
.media-text-3 .md-7 {
  color: #c8d5e3;
}
#welcome .dash-dot {
  position: absolute;
  left: calc(50% - 0.4em);
  bottom: -5.5em;
}
#welcome .dash-dot-long {
  display: none;
}
#welcome .wp-block-media-text:nth-of-type(3) .wp-block-media-text__media svg {
  color: var(--site-orange);
}
#welcome .wp-block-media-text:nth-of-type(2) .wp-block-media-text__media svg {
  color: var(--primary-color);
}
#welcome .wp-block-media-text:last-of-type .wp-block-media-text__media svg {
  color: var(--alt-blue);
}
#welcome .wp-block-media-text:last-of-type {
  padding-bottom: 2em;
}
@media (min-width: 600px) {
  .media-decor {
    top: clamp(-1.6em, -3vw, -1em);
  }
  #welcome .dash-dot {
    bottom: clamp(-5.5em, -10.5vw, -4.5em);

    /* bottom: -4.5em; */

    /* bottom: -5.5em; */
  }
}
@media (min-width: 68.5em) {
  #welcome {
    background: #000;
    padding-top: 0;
  }
  #welcome .wp-block-media-text {
    column-gap: 8.5em;
    grid-template-columns: 34% 1fr;
  }
  #welcome .has-media-on-the-right {
    grid-template-columns: 1fr 34%;
  }
  #welcome figure {
    width: 20.5em;
    border-radius: 50%;
    padding: unset;
  }
  #welcome .wp-block-media-text .wp-block-media-text__media::before {
    top: -2em;
  }
  #welcome .has-media-on-the-right .wp-block-media-text__media {
    justify-self: start;
  }
  #welcome .wp-block-media-text__content {
    padding: 0;
    max-width: 26em;
  }
  #welcome .has-media-on-the-right .wp-block-media-text__content {
    justify-self: end;
  }
  #welcome::before,
  #welcome::after {
    height: 0.8em;
  }
  #welcome .welcome-text {
    font-size: 1.2em;
  }
  .welcome-top {
    position: relative;
    padding-top: 5em;
  }
  .welcome-top p {
    max-width: 43rem;
    margin: auto;
  }
  #welcome .wp-block-buttons {
    max-width: 46rem;
    justify-content: space-between;
    margin: auto;
    font-size: 1rem;
  }
  #welcome .wp-block-media-text {
    text-align: left;
  }
  #welcome .has-media-on-the-right {
    text-align: right;
  }
  #welcome .wp-block-media-text .wp-block-media-text__media::before {
    height: calc(100% + 4em);
  }
  #welcome .dash-dot {
    display: none;
  }
  #welcome .dash-dot-long {
    display: block;
    width: 6.2em;
    position: absolute;
    top: 50%;
    right: clamp(-6em, -7vw, -3em);
    z-index: -1;
  }
  #welcome .dash-dot-long-right {
    display: none;
  }
  #welcome .has-media-on-the-right .dash-dot-long {
    display: none;
  }
  #welcome .has-media-on-the-right .dash-dot-long.dash-dot-long-right {
    display: block;
    right: unset;
    left: clamp(-6em, -7vw, -3em);
  }
  .media-decor {
    top: -1.5em;
    left: 0em;
  }
}

/*--------------------------------------------------------------
# CTA's
--------------------------------------------------------------*/
#cta {
  padding-top: 2em;
  padding-bottom: 1.5em;
  color: var(--primary-color);
  background-color: var(--site-white);
  text-align: center;
  position: relative;
  z-index: 1;
}
#cta::before {
  content: "";
  width: 5.5em;
  aspect-ratio: 108 / 100;
  background: url("../images/cta-top.svg");
  background-size: cover;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
}
#cta h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 1.5em;
}
#cta h2::after {
  content: "";
  width: 3.3rem;
  height: 0.4rem;
  background: url(../images/dashes.svg);
  background-size: cover;
  position: absolute;
  bottom: -0.8rem;
  left: calc(50% - 1.65rem);
  z-index: -1;
}
#cta p {
  margin: 0;
}
.blog-section {
  display: flex;
  flex-direction: column;
  padding-bottom: 3em;
  background-color: var(--site-white);
}
.blog-wrapper {
  background: var(--site-white);
  padding-bottom: 3em;
}
.hover-wrap {
  max-width: 18em;
  margin: auto;
  margin-top: 0;
  margin-bottom: 0.8em;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
  background: var(--site-white);
  position: relative;
  z-index: 1;
}
.front-blog-wrap {
  border-top: 0.4em solid var(--cta-1);
}
.hover-wrap:last-of-type .front-blog-wrap {
  border-color: var(--cta-3);
}

.blog-pic {
  aspect-ratio: 360 / 180;
  overflow: hidden;
  position: relative;
  /* margin-top: 0.4em; */
}
.blog-pic img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.blog-info {
  margin-top: -1em;
  z-index: 1;
  padding: 0 0.8em 1.2em;
}
.blog-date {
  color: var(--site-white);
  background: var(--cta-1);
  z-index: 1;
  width: fit-content;
  position: relative;
  padding: 0 0.8em;
  margin-left: -0.8em;
}
.blog-title {
  margin-top: 0.8em;
  position: relative;
  color: var(--site-black);
  z-index: 1;
}
.blog-text {
  max-height: 6em;
  overflow: hidden;
  position: relative;
}
.hover-wrap:nth-of-type(2) .front-blog-wrap {
  border-color: var(--cta-2);
}
.hover-wrap:nth-of-type(2) .front-blog-wrap {
  border-color: var(--cta-2);
}
.hover-wrap:nth-of-type(2) .blog-date {
  background: var(--cta-2);
}
.hover-wrap:nth-of-type(2) .read {
  color: var(--cta-2);
}
.hover-wrap:nth-of-type(3) {
  border-color: var(--cta-3);
}
.hover-wrap:nth-of-type(3) .blog-date {
  background: var(--cta-3);
}
.hover-wrap:nth-of-type(3) .read {
  color: var(--cta-3);
}
.blog-title::after {
  content: "";
  width: 2em;
  height: 0.1em;
  background: var(--cta-1);
  position: absolute;
  bottom: -0.2em;
  left: 0;
  z-index: -1;
}
.hover-wrap:nth-of-type(2) .blog-title::after {
  background: var(--cta-2);
}
.hover-wrap:nth-of-type(3) .blog-title::after {
  background: var(--cta-3);
}
.read {
  font-style: italic;
}
.view-all-btn {
  display: block;
  margin: auto;
  width: fit-content;
  margin-top: 0em;
}

@media (min-width: 68.5em) {
  .blog-section {
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 3em;
  }
  #cta {
    padding-top: 8em;
    padding-bottom: 2.5em;
  }
  #cta::before {
    width: 16em;
  }
  #cta::after {
    content: "";
    width: 35%;
    aspect-ratio: 685 / 866;
    background: url("../images/cta-rectangle.svg");
    background-size: cover;
    position: absolute;
    top: 3.5em;
    left: 0;
    z-index: -1;
  }
  .front-blog-wrap {
    min-height: 33em;
    transition: transform 300ms;
    display: block;
  }
  .front-blog-wrap:hover {
    transform: translateY(-1em);
  }
  .hover-wrap {
    margin-left: unset;
    margin-right: unset;
  }
  .read {
    position: absolute;
    bottom: 1em;
    left: 1em;
    color: var(--cta-1);
  }
  .front-blog-wrap .read svg {
    transition: transform 300ms;
  }

  .front-blog-wrap:hover .read svg {
    transform: translateX(1em);
  }
}
@media (min-width: 120em) {
  #welcome .blue-stripe {
    left: calc(50% - 48em);
  }
}
/**
 * NOTE: If map and/or contact form styling appears on secondary pages, place styles in style.css
 */
