.contact-page {
  padding-bottom: var(--block-padding-y);

  .contact-container {
    max-width: var(--max-width-with-padding);
    margin: 0 auto;
    width: 100%;
    padding: 0 var(--block-padding-x);
  }

  .contact-container-sm {
    max-width: var(--max-width-sm, 744px);
    margin: 0 auto;
    width: 100%;
    padding: 0 var(--block-padding-x);
  }

  .text-center {
    text-align: center;
  }

  .section-heading {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-700);
    margin-bottom: 3rem;

    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    &::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 150px;
      height: 2px;
      background-color: var(--color-quaternary);
    }

    &.text-center::after {
      left: 50%;
      transform: translateX(-50%);
    }
  }

  .contact-hero {
    padding: var(--block-padding-y) 0 3rem 0;

    .contact-title {
      font-family: 'Libre Baskerville', serif;
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--color-primary-700);
      margin-bottom: 1rem;
    }

    .contact-subtitle {
      font-family: 'Hanken Grotesk', sans-serif;
      font-size: 1.125rem;
      line-height: 150%;
      color: var(--color-primary-700);
    }
  }

  .contact-main-section {
    margin-bottom: 4rem;
  }

  .contact-split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;

    @media (min-width: 900px) {
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: start;
    }
  }

  @media screen and (max-width: 900px) {
    .contact-persons-col {
      display: none;
    }
  }

  .persons-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
  }

  .advisor-card.static-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;

    .image-wrapper {
      flex: none;
      height: 8rem;
      aspect-ratio: 1 / 1;
      overflow: hidden;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
      }
    }

    .card-content {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      height: 100%;

      h3 {
        font-family: 'Libre Baskerville', serif;
        font-size: 1rem;
        font-style: normal;
        font-weight: 700;
        line-height: 150%;
        margin-bottom: 0.25rem;
        color: var(--color-primary-700);
      }

      .bio {
        font-size: 1rem;
        line-height: 150%;
        color: var(--color-primary-700);

        p {
          margin-bottom: 0.5rem;
        }
        p:last-child {
          margin-bottom: 0;
        }
      }
    }
  }

  .contact-form-col {
    @media (min-width: 900px) {
      position: sticky;
      top: 2rem;
    }
  }

  .form-card-wrapper {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.24);

    .section-heading {
      margin-bottom: 1.5rem;
    }

    .gravity-form-container {
      margin-bottom: 2rem;

      .gform_wrapper {
        margin: 0;
      }
    }

    .trustpilot-container {
      border-top: 1px solid rgba(0, 0, 0, 0.05);
      padding-top: 2rem;
    }
  }

  .contact-locations-section {
    padding-top: 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .locations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;

    @media (min-width: 768px) {
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 3rem;
    }
  }

  .location-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.24);
    display: flex;
    flex-direction: column;

    .location-media {
      height: 250px;
      width: 100%;
      background: #eee;

      .gmap,
      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      iframe {
        width: 100% !important;
        height: 100% !important;
      }
    }

    .location-content {
      padding: 2rem;
      flex-grow: 1;

      .location-title {
        font-family: 'Libre Baskerville', serif;
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--color-primary-700);
        margin-bottom: 1rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }

      .location-text {
        font-family: 'Hanken Grotesk', sans-serif;
        font-size: 1rem;
        line-height: 150%;
        color: var(--color-primary-700);

        p {
          margin-bottom: 0.5rem;
        }
        p:last-child {
          margin-bottom: 0;
        }

        a {
          color: var(--color-primary-700);
          text-decoration: underline;
        }
      }
    }
  }
}
