/* COLORS */
/* TYPOGRAPHY */
/* ---- MEDIA QUERIES ----- */
.contact-cards {
  background-color: #EBEDE9;
  background-image: url("../../../assets/icons/star_bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.contact-cards .container {
  max-width: 109.8rem;
  margin: 0 auto;
  width: 100%;
}
.contact-cards .content {
  display: grid;
  grid-template-columns: 17rem auto 17rem;
  gap: 2.4rem;
}
.contact-cards .heading-text {
  grid-column: 2;
}
.contact-cards .heading-image {
  grid-column: 3;
}
.contact-cards .heading-image img {
  aspect-ratio: 1/1;
  width: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.contact-cards .heading-pill-container {
  display: flex;
  justify-content: center;
  margin: 0 0 3.2rem;
}
.contact-cards .heading,
.contact-cards .text {
  text-align: center;
}
.contact-cards .text {
  margin: 2.4rem auto 0;
  max-width: 61rem;
}
.contact-cards .cards {
  margin: 5.6rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.2rem;
}
.contact-cards .cards .card {
  background-color: #fff;
  border-radius: 2.4rem;
  padding: 4rem clamp(2rem, 2vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-cards .cards .card .name {
  margin: 0 0 0.8rem;
}
.contact-cards .cards .card .role {
  color: #A1BAA7;
  margin: 0 0 2.4rem;
}
.contact-cards .cards .card .phone {
  margin: 0 0 0.8rem;
}
.contact-cards .cards .card a {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: #484948;
  transition: color 0.2s ease-in-out;
}
.contact-cards .cards .card a:hover {
  color: #A1BAA7;
}

@media (max-width: 1024px) {
  .contact-cards .content {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-cards .heading-text {
    grid-column: 1;
  }
  .contact-cards .heading-image {
    display: none;
  }
}
@media (max-width: 768px) {
  .contact-cards .heading-pill-container {
    margin: 0 0 2.4rem;
  }
  .contact-cards .text {
    margin: 1.6rem auto 0;
  }
  .contact-cards .cards {
    margin: 3.2rem 0 0;
    grid-template-columns: 1fr;
  }
  .contact-cards .cards .card {
    align-items: flex-start;
  }
}