/* Contact Page */

.contactBlock {
  border-radius: var(--roundedEdge);
  padding: 3.75rem;
  margin-bottom: 2rem;
}

.contactBlock.address {
  background: var(--blockBackground);
  color: var(--headingText);
}

.contactBlock.address h4 {
  margin-bottom: 2rem;
  font-size: clamp(36px, 1.2vw, 54px);
}

.contactBlock.address h5.last {
  margin-top: 2rem;
}

.contactBlock.address .blogname {
  margin: 0 auto;
}

.contactBlock.address img {
  margin-right: 0.75rem;
}

.contactBlock.yellowCard {
  background: var(--yellowBlock);
}

.contactBlock.yellowCard p {
  color: var(--headingText);
}

.contactBlock.yellowCard a {
  color: var(--headingText);
  text-decoration: underline;
}

.contactBlock.yellowCard img {
  max-width: 75%;
  margin-bottom: 2rem;
}


/* Contact Form Row */

.cf7-contact-row {
  display: flex;
  gap: 20px;
  width: 100%;
}

.cf7-contact-row .cf7-field {
  width: 100%;
}

@media (max-width: 767px) {
  .cf7-contact-row {
    flex-direction: column;
    gap: 0;
  }

  .cf7-contact-row .cf7-field {
    width: 100%;
  }
}


/* Contact Form Stuff */
/* Contact Form Homepage */

.cf7-contact-wrap {
  max-width: 1820px;
  margin: auto;
  padding: 60px;
  border-radius: var(--roundedEdge);
  display: grid;
  grid-template-columns: 100% 1fr;
  gap: 80px;
  background: var(--blockBackground);
}

.cf7-contact-wrap .cf7-left h2 {
  margin: 0 0 50px;
}

.cf7-contact-wrap .cf7-right {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 60px 50px;
  align-items: start;
}

.cf7-contact-wrap .cf7-submit-group {
  display: flex;
  gap: 10px;
}

.cf7-contact-wrap .cf7-submit-group .wpcf7-submit {
  background: var(--blockBackground);
  border: none;
  border-radius: 15px;
  padding: 18px 40px;
  cursor: pointer;
  color: var(--headingText);
}

.cf7-contact-wrap .cf7-submit-group .cf7-arrow {
  width: 70px;
  border: none;
  border-radius: 15px;
  background: var(--blockBackground);
  font-size: clamp(18px, 1.2vw, 30px);
  cursor: pointer;
}

.cf7-contact-wrap .cf7-field {
  display: flex;
  flex-direction: column;
}

.cf7-contact-wrap .cf7-field.message {
  grid-row: span 2;
}

.cf7-contact-wrap .cf7-field label {
  margin-bottom: 10px;
  font-size: clamp(12px, 1.2vw, 24px);
  line-height: clamp(22px, 1.2vw, 34px);
  color: var(--bodyText);
}

.cf7-contact-wrap .cf7-field input,
.cf7-contact-wrap .cf7-field textarea {
  border: 1px solid var(--border);
  border-radius: var(--buttonRadius);
  padding: 8px;
  background: var(--white);
  width: 100%;
  outline: none;
  margin-bottom: 2rem;
}

.cf7-contact-wrap .cf7-field textarea {
  resize: none;
  height: 220px;
}


/* Submit Button */

.cf7-submit-group .siiButton button span {
  background-color: var(--button);
}


/* Contact Form 7 */

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


/* Tablet */

@media (max-width: 991px) {
  .cf7-contact-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 30px;
  }

  .cf7-contact-wrap .cf7-right {
    grid-template-columns: 1fr;
  }

  .cf7-contact-wrap .cf7-field.message {
    grid-row: auto;
  }

  .cf7-contact-wrap .cf7-left h2 {
    font-size: clamp(24px, 1.2vw, 42px);
  }

  .cf7-contact-wrap .cf7-submit-group {
    flex-direction: column;
  }
}
