/*
  contact form
  newsletter
  locations
  partners
*/



/* contact form
============================================================================ */
.heading-2 small {
  font-weight: 200;
}

#contact .card {
  margin-block-start: 3.813rem;
}

#contact form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

#contact fieldset:has(input) {
  width: calc(50% - .5rem);
}

#contact input[type="text"],
#contact input[type="email"],
#contact textarea {
  width: 100%;
}

#contact fieldset:has(textarea) {
  width: 100%;
}

  @media (max-width: 600px) {
    #contact form {
      flex-direction: column;
    }

    #contact fieldset {
      width: 100% !important;
    }
  }


/* newsletter
============================================================================ */
#newsletter,
#newsletter .heading-2 {
  color: var(--color-text-inverted);
}

#newsletter fieldset {
  max-width: 624px;
  margin-block-start: 1rem;
  margin-inline: auto;
  display: flex;
}

#newsletter input[type="email"] {
  width: 100%;
  margin-inline-end: -5px;
}


/* locations
============================================================================ */
.columns {
  width: 100%;
  display: flex;
  justify-content: center;
}

  .columns > div:first-child {
    padding-inline-end: 2rem;

    border-inline-end: 2px solid var(--color-divider);
  }

  .columns > div:last-child {
    padding-inline-start: 2rem;
  }

  @media (max-width: 800px) {
    .columns {
      flex-direction: column;
      gap: 3rem;
    }

    .columns > div {
      padding: 0 !important;

      border: 0 !important;
    }
  }

#locations ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 2rem;

  text-align: start;
}

  @media (min-width: 801px) and (max-width: 1170px) {
    #locations ul {
      grid-template-columns: 1fr 1fr;
    }
  }

#locations h2 {
  margin-block-end: 2rem;
}

#locations h3 {
  margin-block-end: .5rem;
}

#locations i {
  width: 80px;
  height: 80px;
  margin-inline: auto;
  margin-block-end: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--color-divider);
  border-radius: 50%;
}

#locations i svg {
  width: 30px;
  height: 30px;
}

#locations-team svg {
  fill: var(--color-confirmation);
}

#locations-partners svg {
  fill: var(--color-interactive-graphic);
}


/* partners
============================================================================ */
#partners h2 {
  text-transform: uppercase;
  font-size: .75rem;
  color: var(--color-text-supplementary);
}

.partners-groups {
  padding-block: 20px;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  overflow: auto;

  text-align: center;
}

.partners-group ul {
  display: flex;
  gap: 1rem;
}

.partners-group li {
  width: 80px;
  height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background-color: var(--color-panel);
}


.partners-group a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .5rem;

  font-size: .5rem;
  color: var(--color-text-supplementary);
}

.partners-group i {
  min-height: 32px;
  display: flex;
  align-items: center;
}

.partners-group picture,
.partners-group svg,
.partners-group img {
  width: auto;
  height: 32px;
  flex-shrink: 0;
}

  a[href="http://devmesh.platformos.com/"] svg {
    width: 48px;
    height: auto;
  }


.partners-group h3 {
  margin-block-start: 1rem;
  padding-block-start: 1em;
  position: relative;

  border-block-start: 1px solid var(--color-divider);

  font-size: .65rem;
}

  .partners-group h3:before,
  .partners-group h3:after {
    height: .5rem;
    position: absolute;
    top: -.5rem;

    border-inline-start: 1px solid var(--color-divider);

    content: '';
  }

  .partners-group h3:before {
    left: 0;
  }

  .partners-group h3:after {
    right: 0;
  }
