.contact_main .hero > img {
  object-position: center center;
}
/* bright workshop photo : a left shade under the title on top of the home bottom gradient */
.contact_main .hero::after {
  background: linear-gradient(90deg, rgba(0, 11, 20, 0.62) 0%, rgba(0, 11, 20, 0.3) 42%, rgba(0, 11, 20, 0) 66%), linear-gradient(180deg, rgba(0, 11, 20, 0) 30%, rgba(0, 11, 20, 0.62) 72%, rgba(0, 11, 20, 0.92) 100%);
}
.contact_main .main {
  padding: 15rem 0px 16.5rem;
  scroll-margin-top: 4rem;
  background-color: #fff;
}
.contact_main .main .content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.contact_main .text {
  width: 56.63rem;
}
.contact_main .tcon h2 + p {
  margin-top: 2.4rem;
}
.contact_main .icon_rows {
  margin-top: 5.2rem;
}
.contact_main .icon_rows h3 a {
  transition: color 0.3s;
}
.contact_main .icon_rows h3 a:hover {
  color: var(--primary);
}
.contact_main .icon_rows p a {
  color: var(--title);
  text-decoration: underline;
  text-underline-offset: 0.3rem;
  transition: color 0.3s;
}
.contact_main .icon_rows p a:hover {
  color: var(--primary);
}
/* form : light grey panel, no shadow */
.contact_main .form {
  flex-shrink: 0;
  width: 71.45rem;
  padding: 5.4rem 5.6rem 5.6rem;
  border-radius: 1.95rem;
  background-color: var(--light);
}
.contact_main .form_head h3 {
  color: var(--title);
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 3.4rem;
  line-height: 4.4rem;
}
.contact_main .form_head p {
  margin-top: 0.6rem;
  color: var(--text2);
  font-size: 1.5rem;
  line-height: 2.2rem;
}
.contact_main .fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0px, 1fr));
  gap: 0.8rem 3.4rem;
  margin-top: 2.4rem;
}
.contact_main .fields .full {
  grid-column: 1 / -1;
}
.contact_main .fields .form_line {
  border-bottom-color: #d4d7da;
}
.contact_main .fields .form_line:focus-within {
  border-bottom-color: var(--primary);
}
.contact_main .fields textarea {
  height: 12rem;
}
.contact_main .consent {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-top: 3rem;
  cursor: pointer;
  color: var(--text2);
  font-size: 1.4rem;
  line-height: 2.2rem;
}
.contact_main .consent .wpcf7-list-item > label {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}
.contact_main .consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.contact_main .consent i {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  margin-top: 0.1rem;
  border-radius: 0.4rem;
  border: 1px solid #b9c4d0;
  background: #fff no-repeat center / 1.2rem;
  transition: 0.3s;
}
.contact_main .consent input:checked + i {
  border-color: var(--primary);
  background-color: var(--primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 10' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 5.2 4.6 8.8 12 1.2'/%3E%3C/svg%3E");
}
.contact_main .consent input:focus-visible + i {
  box-shadow: 0px 0px 0px 3px rgba(221, 0, 0, 0.2);
}
.contact_main .consent a {
  color: var(--title);
  text-decoration: underline;
}
.contact_main .form .btn {
  margin-top: 3.4rem;
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .contact_main .hero .anchors {
    grid-template-columns: repeat(4, minmax(0px, 1fr));
  }
  .contact_main .main {
    padding: 9rem 0px;
  }
  .contact_main .main .content {
    flex-direction: column;
    align-items: stretch;
    gap: 5rem;
  }
  .contact_main .text {
    width: auto;
  }
  .contact_main .form {
    width: auto;
    padding: 4.4rem;
  }
}
@media screen and (max-width: 768px) {
  /* inner.css keeps the 72rem min-height of .short on phones : let the content set the height */
  .contact_main .hero.inner_hero.short {
    min-height: 0px;
  }
  .contact_main .hero::after {
    background: linear-gradient(180deg, rgba(0, 11, 20, 0.5) 0%, rgba(0, 11, 20, 0.45) 34%, rgba(0, 11, 20, 0.86) 74%, rgba(0, 11, 20, 0.94) 100%);
  }
  .contact_main .hero .anchors {
    margin-top: 110px;
  }
  .contact_main .main {
    padding: 56px 0px 60px;
    scroll-margin-top: 30px;
  }
  .contact_main .main .content {
    display: block;
  }
  .contact_main .text {
    width: auto;
  }
  .contact_main .tcon h2 + p {
    margin-top: 14px;
  }
  .contact_main .icon_rows {
    margin-top: 26px;
  }
  .contact_main .icon_rows br {
    display: none;
  }
  .contact_main .form {
    width: auto;
    margin-top: 36px;
    padding: 28px 20px 30px;
    border-radius: 12px;
  }
  .contact_main .form_head h3 {
    font-size: 22px;
    line-height: 1.3;
  }
  .contact_main .form_head p {
    margin-top: 4px;
    font-size: 13px;
    line-height: 20px;
  }
  .contact_main .fields {
    grid-template-columns: minmax(0px, 1fr);
    gap: 2px;
    margin-top: 10px;
  }
  .contact_main .fields .form_line input,
  .contact_main .fields .form_line select {
    height: 50px;
    font-size: 15px;
  }
  .contact_main .fields textarea {
    height: 110px;
    font-size: 15px;
  }
  .contact_main .consent {
    gap: 10px;
    margin-top: 20px;
    font-size: 13px;
    line-height: 20px;
  }
  .contact_main .consent i {
    width: 18px;
    height: 18px;
  }
  .contact_main .form .btn {
    width: 100%;
    margin-top: 22px;
  }
}
