:root {
  --main-color: #002F6A;
  --main-hover-color: #001938;
}

.contact-module {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  padding-top: 32px;
  padding-bottom: 32px;
}
.contact-module .container {
  max-width: 100%;
  padding-left: 16px;
  padding-right: 16px;
}
.contact-module__title {
  font-size: 32px;
  font-weight: 400;
  line-height: 44px;
  text-align: left;
  margin-bottom: 24px;
}
.contact-module h3 {
  color: var(--main-color);
}
.contact-module__card {
  display: flex;
  background: #FAFAFA;
  flex-direction: column;
  border-radius: 12px;
}
@media screen and (min-width: 640px) {
  .contact-module__card {
    flex-direction: row;
  }
}
.contact-module__image img {
  border-radius: 12px;
  width: 100%;
}
.contact-module__details {
  padding: 32px;
}
.contact-module__name {
  color: var(--main-color);
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  text-align: left;
  margin-bottom: 4px;
}
.contact-module__position {
  margin-bottom: 24px;
}
.contact-module__email {
  transition: color 0.3s;
  margin-bottom: 0;
  color: #000;
  display: block;
}
.contact-module__email svg {
  margin-right: 12px;
}
.contact-module__email svg path {
  fill: var(--main-color);
}
.contact-module__email:hover {
  color: var(--main-color);
}
.contact-module__email span {
  border: none;
  margin-bottom: 8px;
  border-bottom: 1px solid #EEEEEE;
  padding-bottom: 8px;
  line-height: 24px;
  display: inline-block;
}
.contact-module__phone {
  transition: color 0.3s;
  color: #000;
  display: block;
  margin-bottom: 24px;
}
.contact-module__phone:hover {
  color: var(--main-color);
  text-decoration: none;
}
.contact-module__phone svg {
  margin-right: 12px;
}
.contact-module__phone svg path {
  fill: var(--main-color);
}
.contact-module__phone:hover {
  color: var(--main-color);
}
.contact-module__send-mail {
  width: 100%;
  display: block;
  text-align: center;
  border-radius: 50px;
  padding: 12px 32px;
  border: 1px solid var(--main-color);
  transition: all 0.3s;
}
.contact-module__send-mail:hover {
  color: #fff;
  text-decoration: none;
  background-color: var(--main-hover-color);
  border-color: var(--main-hover-color);
}
@media screen and (min-width: 640px) {
  .contact-module__details {
    padding: 48px 40px;
  }
  .contact-module__send-mail {
    width: initial;
    display: inline-block;
  }
  .contact-module__image {
    width: 227px;
    position: relative;
  }
  .contact-module__image img {
    width: 100%;
    position: absolute;
    height: 100%;
    object-fit: cover;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}
@media screen and (min-width: 768px) {
  .contact-module {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .contact-module__details {
    padding: 56px 40px;
  }
  .contact-module .container {
    max-width: 638px;
  }
  .contact-module__image {
    width: 244px;
  }
}
@media screen and (min-width: 992px) {
  .contact-module__details {
    padding: 64px;
  }
  .contact-module .container {
    max-width: 744px;
  }
  .contact-module__image {
    width: 302px;
  }
  .contact-module__position {
    margin-bottom: 40px;
  }
  .contact-module__phone {
    margin-bottom: 40px;
  }
  .contact-module__title {
    font-size: 40px;
    line-height: 56px;
  }
}
@media screen and (min-width: 1280px) {
  .contact-module {
    padding-top: 136px;
    padding-bottom: 136px;
  }
  .contact-module__details {
    padding: 80px 64px;
  }
  .contact-module .container {
    max-width: 766px;
  }
  .contact-module__name {
    font-size: 32px;
    line-height: 40px;
  }
  .contact-module__image {
    width: 317px;
  }
}
@media screen and (min-width: 1560px) {
  .contact-module {
    padding-top: 150px;
    padding-bottom: 150px;
  }
  .contact-module .container {
    max-width: 992px;
  }
  .contact-module__image {
    width: 400px;
  }
}

.grid-container-grid-50-50 .grid-row .grid-column div.contact-module, .grid-container-grid-33-33-33 .grid-row .grid-column div.contact-module, .grid-container-grid-25-75 .grid-row .grid-column div.contact-module, .grid-container-grid-75-25 .grid-row .grid-column div.contact-module, .grid-container-grid-25-25-25-25 .grid-row .grid-column div.contact-module {
  padding-top: 24px;
}
.grid-container-grid-50-50 .grid-row .grid-column div.contact-module .contact-module__details a, .grid-container-grid-33-33-33 .grid-row .grid-column div.contact-module .contact-module__details a, .grid-container-grid-25-75 .grid-row .grid-column div.contact-module .contact-module__details a, .grid-container-grid-75-25 .grid-row .grid-column div.contact-module .contact-module__details a, .grid-container-grid-25-25-25-25 .grid-row .grid-column div.contact-module .contact-module__details a {
  height: auto !important;
}
.grid-container-grid-50-50 .grid-row .grid-column div.contact-module .container, .grid-container-grid-33-33-33 .grid-row .grid-column div.contact-module .container, .grid-container-grid-25-75 .grid-row .grid-column div.contact-module .container, .grid-container-grid-75-25 .grid-row .grid-column div.contact-module .container, .grid-container-grid-25-25-25-25 .grid-row .grid-column div.contact-module .container {
  padding-left: 0;
  padding-right: 0;
}
@media screen and (min-width: 640px) {
  .grid-container-grid-50-50 .grid-row .grid-column div.contact-module .container .contact-module__card, .grid-container-grid-33-33-33 .grid-row .grid-column div.contact-module .container .contact-module__card, .grid-container-grid-25-75 .grid-row .grid-column div.contact-module .container .contact-module__card, .grid-container-grid-75-25 .grid-row .grid-column div.contact-module .container .contact-module__card, .grid-container-grid-25-25-25-25 .grid-row .grid-column div.contact-module .container .contact-module__card {
    flex-direction: column;
  }
}
.grid-container-grid-50-50 .grid-row .grid-column div.contact-module .container .contact-module__card .contact-module__image, .grid-container-grid-33-33-33 .grid-row .grid-column div.contact-module .container .contact-module__card .contact-module__image, .grid-container-grid-25-75 .grid-row .grid-column div.contact-module .container .contact-module__card .contact-module__image, .grid-container-grid-75-25 .grid-row .grid-column div.contact-module .container .contact-module__card .contact-module__image, .grid-container-grid-25-25-25-25 .grid-row .grid-column div.contact-module .container .contact-module__card .contact-module__image {
  width: 100%;
  height: 320px;
}
.grid-container-grid-50-50 .grid-row .grid-column div.contact-module .container .contact-module__card .contact-module__image img, .grid-container-grid-33-33-33 .grid-row .grid-column div.contact-module .container .contact-module__card .contact-module__image img, .grid-container-grid-25-75 .grid-row .grid-column div.contact-module .container .contact-module__card .contact-module__image img, .grid-container-grid-75-25 .grid-row .grid-column div.contact-module .container .contact-module__card .contact-module__image img, .grid-container-grid-25-25-25-25 .grid-row .grid-column div.contact-module .container .contact-module__card .contact-module__image img {
  width: 100%;
  position: initial;
  height: 100%;
  object-fit: cover;
  transform: initial;
}

.grid-container-grid-100 .grid-row .grid-column div.contact-module {
  padding-top: 24px;
}
.grid-container-grid-100 .grid-row .grid-column div.contact-module .container {
  padding-left: 0;
  padding-right: 0;
}

.grid-container .contact-module .container {
  max-width: 100%;
}
