.ecs-page-contact {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ecs-page-contact > .ecs-section-md {
  display: flex;
  flex: 1;
  align-items: center;
}

.ecs-page-contact > .ecs-section-md > .ecs-container {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 2rem;
}

.ecs-page-contact > .ecs-section-md > .ecs-container > img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  object-position: center;
}

.ecs-page-contact > .ecs-section-md > .ecs-container > div {
  width: 100%;
}

.ecs-page-contact > .ecs-section-md > .ecs-container > div > h2 {
  margin: 0;
}

@media (min-width: 782px) {
  .ecs-page-contact > .ecs-section-md > .ecs-container {
    flex-direction: row;
    gap: 3.5rem;
  }

  .ecs-page-contact > .ecs-section-md > .ecs-container > img {
    width: 35%;
    height: 100%;
    max-height: unset;
  }
}
