/* Contact head */

.contacts_head {
  background-image: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.9) 0%,
      #ffffff 100%
    ),
    url("<?php bloginfo('template_directory'); ?>/assets/images/bg-group.webp");

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: #242424;
}

.contacts_head .head_title {
  font-family: var(--base-font-family);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 7vw;
  color: #000000; 
  letter-spacing: 0.05em;
  text-shadow: 0em 0.18em 0.27em rgb(0 0 0 / 24%);
}

.contacts_head .head_description {
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  line-height: 1.3;
}

/* Flag contacts */

.contact-us {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.contact-us--wrapper {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
  gap: 30px;
  max-width: 1000px;
  background: #f1f1f1;
  box-shadow: 8px 8px 8px #00000020;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.contact-us-info {

  display: flex;
  flex-direction: column;
  gap: 2.5vh;
  padding: 3vw;
  /* padding-bottom: 6vw; */
  width: 100%;
}

.et_pb_blurb_container {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1vw;
}
.contact-us-info__title,
.contact-us-info__subtitle {
  font-family: var(--base-font-family);
  font-weight: 700;
  font-size: 24px;
  color: #000;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  position: relative;
  margin-bottom: 8px;
}

.contact-us-info__subtitle {
}


.contact-us-info__description,
.contact-us-info__phone {
  color: #000;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
}

.regional-offices-title {
  font-family: var(--base-font-family);
  font-weight: 700 !important;
  text-transform: uppercase;
  font-size: 36px;
  color: #000000;
  /* letter-spacing: 0.05em; */
  line-height: 0.9em;
  margin: 0;
  text-align: center;
}

@media screen and (min-width: 1200px) {
  .regional-offices {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
  }
  .regional-offices__item {
    width: 25%;
  }
}
.box {
  background: #23a3d3;
  width: 90px;
  height: 70px;
  padding: 20px;
  text-align: center;
  color: white;
  border-radius: 7px;
  float: left;
  margin: 4px;
  font-size: 12px;
  font-family: "Arial";
  text-transform: uppercase;
}

@media all and (max-width: 768px) {
  .contact-us-info {
    background: #c10f1b;
    padding: 60px 30px;
    width: 100%;
    margin-bottom: 60px;
  }
}

.subscribe_us_form .form-row > .input input {
  background-color: rgba(255, 255, 255, 0.12);
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  -webkit-appearance: none;
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  border: 1px solid #afafaf;
  color: #999;
  font-size: 14px;
  padding: 12px 15px;
} 
.subscribe_us_form .form-row > .input input::placeholder {
  color: #999;
  font-size: 14px;
}
.subscribe_us_form .form-row > .field_full textarea {
  border: 1px solid #afafaf;
  border-width: 1px;
}

/* My styles */

@media screen and (max-width: 1080px) {
  .section_offices--wrapper {
    align-items: center;
    width: 85%;
  }
  .regional-offices {
    grid-template-columns: 1fr;
    width: 60%;
  }

  .regional-offices__item .location-office__title {
    font-size: max(2.25vw, 18px);
  }

  .regional-offices__item .location-office__subtitle {
    font-size: max(1.9vw, 16px);
  }

  .location-office-info__item {
    font-size: max(1.65vw, 14px);
  }

  .contact-us--wrapper {
    margin: max(7.5vh, 2.5rem) auto;
  }
  .contact-us-info {
    display: none;
  }

  .feedback_form .form-inner,
  .feedback_form .form-inner__item {
    gap: 2vh;
  }

  .regional-offices-title {
    font-size: 24px;
  }


}

@media screen and (max-width: 650px) {
  .contact-us {
    background-image: none;
  }
}

@media screen and (max-width: 550px) {
  .feedback_form {
    --form-padding: initial;
  }
  .regional-offices {
    width: 94%;
  }

  .feedback_form .form-inner,
  .feedback_form .form-inner__item,
  .feedback_form .form-inner__item--half {
    width: 100%;
    gap: 2.5vh;
  }

  .feedback_form .form-inner__item {
    /* flex-direction: column; */
  }
}
@media screen and (min-width: 400px) and (max-width: 900px) and (orientation: landscape) {
  .contact-us {
    background-image: none;
    background-attachment: initial;
  }
}
