@import url('variables.css');

/* general classes */

section {
  padding: 90px 0;
}

@media screen and (max-width: 767px) {
  section {
    padding: 60px 0;
  }
}

.row {
  display: flex;
}

.column {
  display: flex;
  flex-direction: column;
}

.container,
.block__formatting {
  padding-left: 8.4rem;
  padding-right: 8.4rem;
}

.bg--dark {
  background-color: var(--dark-background);
}

.block__formatting--heading h3 {
  font-size: 28px;
}

.block__formatting--heading h4 {
  font-size: 20px;
}

.block__formatting--heading h5 {
  font-size: 18px;
}

.block__formatting--heading h6 {
  font-size: 16px
}

.first-element {
  margin-top: 70px;
}

@media only screen and (max-width: 991px) {
  .row {
    flex-direction: column;
  }

  .container {
    padding: 0;
  }

  .col {
    padding: 0;
  }
}

/* Side By Side */
.side-by-side {
  position: relative;
  width: 100%;
}

.side-by-side .row {
  align-items: center;
  flex-wrap: wrap;
}

.side-by-side__content-wrapper col {
  padding-right: 3rem;
}

@media (min-width: 1024px) {
  .side-by-side .row {
    flex-wrap: nowrap;
  }
}

.side-by-side__subheading {
  font-size: 1.5rem;
  font-family: 'Amiri', serif;
  color: var(--primary);
}

.side-by-side__heading,
.side-by-side__subheading {
  margin-bottom: 0;
}

.side-by-side__heading+.side-by-side__content,
.side-by-side__subheading+.side-by-side__content {
  margin-top: 2.3125rem;
}

.side-by-side__heading a {
  text-decoration: none;
}

.side-by-side__heading a:hover {
  text-decoration: underline;
}

.side-by-side__content a {
  font-weight: var(--semibold);
  line-height: 28px;
}

.side-by-side__content:last-child {
  margin-top: 3rem;
}

.side-by-side__content-wrapper,
.side-by-side__img-wrapper {
  width: 100%;
}

.side-by-side__img-wrapper .img__shape::after {
  content: '';
  position: absolute;
  bottom: 50%;
  left: 0;
  display: block;
  width: calc(50% - 3rem);
  height: 60px;
  background-color: var(--accent-color);
}

.side-by-side.side-by-side__reverse .side-by-side__img-wrapper .img__shape::after {
  right: 0;
  left: auto;
}

.side-by-side__img-wrapper {
  max-width: 50%;
}

.side-by-side__img-container {
  text-align: center;
}

.side-by-side__img-wrapper img {
  position: relative;
  width: 80%;
  min-width: 440px;
  height: auto;
  z-index: 2;
}

.side-by-side__img-wrapper iframe {
  position: relative;
  min-width: 440px;
  z-index: 2;
}

.side-by-side__buttons {
  margin-top: 2rem;
}

.side-by-side.side-by-side__reverse .row {
  flex-direction: row-reverse;
}

@media (max-width: 1023px) {
  .side-by-side__img-wrapper {
    max-width: 100%;
    margin-top: 3rem;
  }

  .side-by-side__img-container {
    padding-left: 0;
    padding-right: 0;
    margin: 0 auto;
    max-width: 550px;
  }

  .section-hero .side-by-side__img-wrapper {
    margin-bottom: 0;
    margin-top: 3rem;
  }

  .side-by-side__reverse-mobile.side-by-side__reverse .row,
  .side-by-side__reverse-mobile .row {
    flex-direction: column-reverse;
  }

  .side-by-side__img-wrapper {
    position: relative;
  }

  .side-by-side__img-wrapper img {
    width: auto;
    min-width: auto;
  }

  .side-by-side__img-wrapper::after {
    width: 100%;
  }
}

@media only screen and (max-width: 991px) {
  .side-by-side__img-container {
    margin-top: 4rem;
  }
}

.side-by-side-text.side-by-side .row {
  align-items: flex-start;
}

/* Hero with buttons */
.hero-with-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 4.375rem 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--primary-light-color);
}

@media (max-width: 1023px) {
  .hero-with-buttons {
    padding: 4.5625rem 0;
  }

  .hero-with-buttons.full-height {
    padding-bottom: 2rem;
  }

  .hero-with-buttons.full-height+section {
    padding-top: 2rem;
  }
}

.hero-with-buttons .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
}

.hero-with-buttons .hero-with-buttons__title {
  margin: 0 0 0.3em;
}

.hero-with-buttons h2.hero-with-buttons__title {
  margin-bottom: 2rem;
  line-height: 1.15;
}

.hero-with-buttons .hero-with-buttons__text {
  max-width: 800px;
  color: var(--paragraph-color);
  font-size: var(--fs-18);
}

.hero-with-buttons h1,
.hero-with-buttons h2 {
  color: var(--paragraph-color);
  font-size: var(--heading-font-size);
}

.hero-with-buttons__btn-container {
  display: flex;
  width: 80%;
  gap: 3rem;
  margin-top: 1rem;
  justify-content: center;
}

.hero--big .hero-with-buttons__btn-container {
  width: 100%;
  justify-content: flex-start;
}

.hero-with-buttons__primary-btn {
  color: var(--btn-primary-text-color);
  background-color: var(--btn-primary-background-color);
  padding: 7px 25px;
  width: fit-content;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.hero-with-buttons__secondary-btn {
  color: var(--paragraph-color);
  padding: 7px 25px;
  width: fit-content;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

@media only screen and (max-width: 600px) {
  .hero-with-buttons__btn-container {
    flex-direction: column;
  }
}

/* two columns text */
.two-columns-text .container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.two-columns-text h2 {
  font-size: var(--fs-54);
}

.two-columns-text__row {
  display: flex;
  gap: 1rem;
  text-align: center;
  width: 80%;
}

/* contact us */
.contact-us__block {
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--primary-light-color);
}

.contact-us__block .container {
  padding: 2rem;
}

.contact-us__block h2 {
  font-size: var(--fs-54);
  font-family: var(--heading-font-family);
}

.contact-us__row {
  display: flex;
  justify-content: space-evenly;
}

.contact-us__row .column:first-child {
  width: 40%;
}

.contact-us__block .contact-us__details>div,
.contact-us__block .contact-us__details>a {
  display: flex;
  align-items: center;
  margin-bottom: 1.5em;
}

.contact-us__block .contact-us__details>a {
  color: var(--primary-light-color);
}

.wpcf7-form-control {
  width: 100%;
}

.contact-us__block .contact-us__details>div:last-child {
  align-items: flex-start;
}

.contact-us__block .contact-us__details p {
  margin-top: 0;
  margin-bottom: 0;
}

.contact-us__block .contact-us__details a p:first-child {
  flex-basis: 7%;
  min-width: 45px;
}

.contact-us__block .contact-us__details p svg {
  height: auto;
  transform: translateY(20%);
}

@media (max-width: 1023px) {
  .contact-us__block .side-by-side__content-wrapper>h2 {
    text-align: center;
  }

  .contact-us__block .side-by-side__content-wrapper>p {
    text-align: center;
  }

  .contact-us__details p {
    text-align: left;
  }

  .contact-us__block .side-by-side__content-wrapper>h2::after {
    content: '';
    display: block;
    width: 125px;
    height: 1px;
    margin: 0 auto;
    margin-top: 2rem;
    background-color: #fff;
  }

  .side-by-side__form-wrapper {
    margin-top: 2rem;
  }
}

/* Posts Slider */
.posts-slider {
  padding: 4.375rem 0;
}

.posts-slider-row {
  margin-left: calc(var(--gutter-width) * -.5);
  margin-right: calc(var(--gutter-width) * -.5);
  display: flex;
  align-items: flex-start;
}

.posts-slider .posts-slider__title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.bg--dark .posts-slider__title a {
  color: #fff;
}

.bg--dark .posts-slider__title a:hover {
  color: var(--gold);
}

@media (max-width: 1023px) {
  .posts-slider .posts-slider__title a {
    display: none;
  }
}

.posts-slider .posts-slider__title a span {
  margin-left: 1rem;
}

.posts-slider .posts-slider__title h2 {
  margin-top: 0;
  font-size: 2.75rem;
}

.posts-slider__slides {
  display: flex;
  align-items: stretch;
  margin-top: 2rem;
  margin-left: -1rem;
  margin-right: -1rem;
  padding-bottom: 3.125rem;
  overflow-x: hidden;
}

.posts-slider__slides .post-card {
  padding: 0 1rem;
  margin-right: 0;
  width: 100%;
}

@media (max-width: 1200px) {
  .posts-slider__slides .post-card {
    width: 50%;
  }
}

@media (max-width: 767px) {
  .posts-slider__slides .post-card {
    width: 100%;
    margin-bottom: 0;
  }
}

.posts-slider__slides .post-card:last-child {
  margin-right: 0;
}

.post-slider__button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

@media (min-width: 1024px) {
  .post-slider__button-wrapper {
    display: none;
  }
}

.post-slider__navigation {
  display: flex;
  justify-content: center;
}

.post-slider__navigation .btn {
  padding: 12px 20px;
  min-width: auto;
  border: 1px solid var(--primary-black);
}

.post-slider__navigation .btn:hover {
  background-color: var(--primary-black);
}

.post-slider__navigation .btn:hover svg path {
  fill: #fff;
}

.bg--dark .post-slider__navigation .btn:hover {
  background-color: #fff;
}

.bg--dark .post-slider__navigation .btn:hover svg path {
  fill: var(--primary-black);
}

.bg--dark .post-slider__navigation .btn {
  border: 1px solid #fff;
}

.post-slider__navigation .btn-prev {
  margin-right: 2rem;
}

.post-slider__navigation .btn-next {
  margin-left: 2rem;
}

.single__images>div>img,
.single__images>div:last-of-type>div {
  cursor: pointer;
}

.single__images {
  margin-bottom: 39px;
  display: flex;
}

.single__images img {
  display: none;
  border-radius: 3px;
  cursor: pointer;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single__images:first-of-type,
.single__images:nth-of-type(2),
.single__images:nth-of-type(3),
.single__images:nth-of-type(4),
.single__images:nth-of-type(5),
.single__images:nth-of-type(6) {
  display: block;
  height: 100%;
  object-position: center;
  object-fit: cover;
}

.single__images {
  display: flex;
  font-family: 'Lato', sans-serif;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.single__images>div span {
  line-height: 1.9rem;
  text-transform: capitalize;
  color: white;
  margin: 0 2px;
}

.single__images>div span:last-of-type {
  display: flex;
  align-items: center;
  justify-content: center;
}

.single__images>div span svg {
  transform: rotate(-90deg);
  width: 11px;
  height: 5px;
  margin-left: 5px;
}

@media only screen and (max-width: 576px) {
  .single__images>div span svg {
    display: none;
    margin: 0;
  }
}

@media only screen and (max-width: 576px) {
  .single__images>div span {
    margin: 0px 1px;
    font-size: 14px;
  }

  .single__images>div span:last-of-type {
    font-size: 14px;
  }
}

@media only screen and (max-width: 1200px) {
  .single__images {
    display: flex;
  }
}

@media only screen and (max-width: 991px) {
  .single__images {
    grid-template-rows: repeat(2, auto);
  }
}

.modal {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal .modal__slider {
  display: flex;
  justify-content: center;
  height: auto;
  width: 50%;
}

.modal .modal__slider {
  transition: all 0.2s;
}

.single__images:not(.active) {
  opacity: 0;
  visibility: hidden;
  position: absolute;
}

.show {
  display: block !important;
}

.navigation__container {
  display: flex;
  gap: 2rem;
}

.modal__btn-next,
.modal__btn-prev {
  cursor: pointer;
}

/* trust indicator */
.trust-indicator {
  display: flex;
  padding: 1.5rem;
}

.trust-indicator__main {
  display: flex;
  justify-content: space-between;
}

.trust-indicator__card {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.trust-indicator__text {
  max-width: 18.9rem;
  font-size: var(--fs-18);
  line-height: var(--lh-2);
  color: var(--clr-primary-blue);
}

/* services */
.service {
  position: relative;
  isolation: isolate;
}

.service::after {
  inset: 0 auto auto -22rem;
  width: 50rem;
}

.service__container {
  --container-width: 105rem;
}

.service__main {
  display: flex;
  flex-wrap: wrap;
}

.service__card {
  width: min(37rem, calc(50% - 1.5rem));
  display: flex;
  flex-direction: column;
}

.service__anchor {
  text-decoration: none;
  color: inherit;
  box-shadow: 1px 5px 40px 2px rgba(83, 83, 83, 0.07);
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service__anchor:hover {
  background: #E6E6E6;
  box-shadow: 1px 5px 40px 2px rgba(83, 83, 83, 0.07);
  text-decoration: none !important;
  transition: 700ms;
}

/*CTA */
.cta {
  color: var(--light-grey);
  background-size: cover;
}

.cta p {
  color: var(--light-grey)
}

.cta__content {
  max-width: 670px;
  text-align: center;
}

.cta .col {
  margin: 0 auto;
}

.cta__buttons {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

/* Services */
.services__header {
  width: 100%;
  position: relative;
}

.services__blurbs {
  margin: 0 -2rem;
  display: flex;
  flex-wrap: wrap;
}

.services__blurb {
  padding: 3rem 2rem 0;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  max-width: 33.33%;
}

.services__pre-heading p:last-child {
  margin-bottom: 1em;
}

.services__pre-heading svg {
  height: 70px;
  width: auto;
}

.blurbs__our-process .services__blurb {
  max-width: 25%;
}

.blurbs_memberships .services__blurb img {
  display: block;
  min-width: 200px;
  height: auto;
}

@media (min-width: 1024px) {
  .blurbs_memberships .services__blurb {
    max-width: 25%;
  }

  .blurbs_memberships .services__blurbs.row {
    align-items: center;
  }

  .blurbs_memberships .services__blurb img {
    max-width: 170px;
    min-width: auto;
  }
}

.blurbs_memberships .services__blurb {
  align-items: center;
  justify-content: center;
}

.blurbs_memberships>.container>.row>.col:last-child {
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
}

.services__heading {
  margin: 0;
  text-transform: capitalize;
}

.services__heading a {
  text-decoration: none;
}

.services__heading a:hover {
  text-decoration: underline;
}

.services__has-ribbon .services__header>div {
  max-width: 700px;
}

.services__ribbon {
  position: absolute;
  top: calc(2.75rem / 2);
  right: calc(100% - 1rem);
  display: flex;
  width: 100vw;
  height: 28px;
}

.services__ribbon>div:first-child {
  width: 100%;
  background-color: var(--text-darker);
}

.services__ribbon div {
  margin-right: 4px;
  width: 4px;
  background-color: var(--text-darker);
}

.services__buttons {
  margin: 3rem auto 0;
}

@media (max-width: 1023px) {
  .services__blurbs {
    margin: 0 -1rem;
  }

  .services__blurb {
    padding: 3rem 1rem 0;
    max-width: 50%;
  }

  .services__ribbon {
    display: none;
  }
}

.copper-state-story .services__blurb {
  padding: 1.25rem 2rem 0;
}

.copper-state-story .services__blurb h5 {
  color: var(--primary-title);
}

@media (max-width: 600px) {
  .blurbs__our-process .services__blurb,
  .copper-state-story .services__blurb,
  .services__blurb {
    padding: 0 0 1rem;
    max-width: 100%;
  }

  .services__blurbs {
    margin: 0 auto;
  }

  .services__blurbs {
    margin-left: 0;
    margin-right: 0;
  }

  .services__header {
    margin-bottom: 2rem;
  }
}

.blurbs__our-process .services__pre-heading h1 {
  color: var(--primary);
}

.blurbs__our-process .services__header p:last-child {
  margin-bottom: 0;
}

/* Contact us */
.contact-name,
.contact-phone-email {
  display: flex;
}

/*latest articles */
.meta__entry {
  display: block;
  margin-bottom: 10px;
  color: #787878;
  font-family: Libre Franklin;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px; /* 162.5% */ 
  max-width: 1207px !important;
  padding-left: 40px;
  padding-right: 40px;
  margin-left: auto;
  margin-right: auto;
}

.meta__entry a {
  color: var(--paragraph-color)
}

.post-main-title{
  color: var(--Titles, #957D59);
  font-family: Kefa;
  font-size: 78px;
  font-style: normal;
  font-weight: 400;
  line-height: 86px; /* 110.256% */
  letter-spacing: 4.68px; 
  max-width: 1207px !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
}

.single-article__content{
  max-width: 1207px !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
}

.article__card {
  width: 50%;
  padding-right: 0;
  max-width: 380px;
}

.article__card h3 {
  font-size: 23px;
  line-height: 29px;
  text-transform: capitalize;
  margin-bottom: 12px;
}

/* accordion */
.faq .accordion-box {
  max-width: 1174px;
  width: 100%;
  margin: auto;
  padding: .6rem;
}

.faq .accordion-box .accordion__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0 2rem;
}

.faq .accordion-box .accordion__header svg {
  min-width: 22px;
}

.accordion__body {
  display: none;
}

.faq .accordion-box .accordion__content {
  padding-bottom: 17px;
  width: 100%;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 7.5rem;
  padding-bottom: 2rem;
}

/* video */
.video__container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;
}

.video__container iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/* posts on cards */
.posts-on-cards__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.posts-on-cards__main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.posts-on-cards__card {
  display: flex;
  flex-direction: column;
  width: 40%;
}

/*team member*/
.team-member {
  position: relative;
  isolation: isolate;
}

.team-member::after {
  inset: 0 auto auto -22rem;
  width: 50rem;
}

.team-member__container {
  --container-width: 105rem;
}

.team-member__main {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.team-member__anchor {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.team-member__anchor img {
  max-width: 270px;
  height: auto;
  margin-bottom: 2rem;
}

.team-member__card {
  width: min(37rem, calc(50% - 1.5rem));
  display: flex;
  flex-direction: column;
}

.image-shape::after {
  content: '';
  position: absolute;
  display: block;
  width: calc(50% - 3rem);
  height: 60px;
  background-color: var(--accent-color);
  bottom: -1%;
  right: 0;
}

@media only screen and (max-width: 991px) {
  .image-shape::after {
    display: none;
  }
}