.pageBg {
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%),
    url("/wp-content/uploads/6.webp") !important;
}

/*------General CSS-----------------------*/

.page__right {
  width: 100% !important;
  padding: 0 5% 0 2%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.personImage,
.teamPopupImage {
  width: 100px !important;
  height: auto;
  background-size: cover;
  background-repeat: no-repeat;
  margin: 0 auto;
  background-position: bottom;
  transition: all 0.2s ease;
  border: solid 5px var(--color-brand-secondary);
  border-radius: 50%;
}
.col3 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 3.5rem 2rem;
  overflow: hidden;
  overflow: auto;
  padding: 1rem 0;
  width: 95%;
  align-items: center;
}

h3,
.h3 {
  font-size: 20px;
  color: var(--colorWhite);
  white-space: nowrap;
  word-break: keep-all;
  text-align: center;
  margin: 0;
  font-family: var(--fontHeader);
  text-shadow: 0 0 15px #000;
}

.page__right {
  padding: 0;
  padding-top: 12px;
}

.contactCard {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: fit-content;
  width: 90%;
  padding: 0;
  min-width: 30%;
}

.contactCardTop {
  width: 100%;
  background-color: transparent;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: -50px;
  z-index: 2;
}

.contactCardTop h4 {
  font-family: var(--font-accent);
  font-size: 14px;
  color: var(--colorWhite50);
  display: none;
}

.contactCardBottom {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background-color: rgb(0 0 0 / 50%);
  padding: 0.75rem 1rem;
  position: relative;
  width: fit-content;
  min-width: 200px;
  max-width: 350px;
  margin: 0;
  padding-top: 60px;
  border-radius: 0.2rem;
  font-size: 14px;
  backdrop-filter: blur(4px);
  outline: 5px solid rgba(125, 125, 125, 0.05);
  /* border-top: 3px solid var(--color-brand-secondary); */
  gap: 0.5rem;
  min-height: 400px;
}

.contactCardBottom p {
  font-family: var(--font-base);
  font-size: 12px;
  letter-spacing: 0.1cap;
  line-height: 1.7;
  font-weight: 200;
}

.contactCardBottom .job {
  font-size: medium;
  color: gray;
}

.page__right a:link,
a:visited {
  color: rgb(235, 235, 235) !important;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 16px;
}

/* -------------------------------------------- */

/* Styles for mobile landscape screens */
@media only screen and (min-width: 412px) and (max-height: 767px) and (orientation: landscape) {
  .contactCard {
    width: auto;
  }

  .page__right {
    padding: 1% 1% 2% 2%;
    width: 100%;
  }

  .contactCardTop h4 {
    display: block;
  }

  .col3 {
    flex-direction: row;
    gap: 2rem;
    width: 100% !important;
    align-items: flex-start;
    padding: 1rem;
    justify-content: center;
  }
  .contactCardBottom {
    gap: 1rem;
  }
  h3,
  .h3 {
    margin: 0.75rem 0;
    font-size: 18px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .page__right p {
    font-size: 10px;
  }

  .col3 {
    flex-direction: row !important;
    justify-content: center;
    align-content: space-evenly;
    gap: 1.25rem 2rem;
    padding-right: 1rem;
    padding: 25% 0 !important;
  }
  .contactCard {
    height: 100%;
    justify-content: center !important;
    max-height: 500px;
  }
  .contactCardBottom {
    flex: 1;
  }

  .teamPopupImage {
    width: 14vw;
  }
  .contactCardTop h4 {
    display: block;
  }

  h3,
  .h3 {
    margin: 0.5rem 0;
    font-size: 24px;
  }
}

@media only screen and (min-width: 1024px) {
  .contactCard {
    width: fit-content;
    height: 100%;
    justify-content: center !important;
  }
  .col3 {
    flex-direction: row;
    justify-content: space-evenly;
  }

  .contactCardTop h4 {
    display: block;
  }
  .col3 {
    gap: 10%;
    padding: 0;
    justify-content: center;
  }

  .contactInfo {
    display: block;
    margin: 0.5rem 0;
  }
}

@media (min-width: 1024px) and (orientation: landscape) {
  .contactCardBottom {
    max-width: 320px;
    flex: 1;
  }
  .contactCard {
    height: 100%;
    max-height: 580px;
  }
  .col3 {
    flex-direction: row !important;
    padding: 5%;
    justify-content: center;
    align-items: start;
  }

  .personImage {
    width: 120px !important;
  }
  .contactCardTop {
    margin-bottom: -60px;
  }
  .contactCardBottom {
    padding-top: 70px;
  }
}

@media only screen and (min-width: 1280px) {
  .contactCardBottom {
    min-width: 210px;
  }
  h3,
  .h3 {
    margin: 0.5rem 0;
    font-size: 24px;
  }
}