
/* =========================================================
   AVW — Employee Profile Pages
   ========================================================= */

.profile-page {
  background: #f6f8fa;
}

.profile-role {
  font-size: 22px;
  color: #c6e5f7;
  font-weight: 500;
}

.profile-rule {
  width: 65px;
  height: 3px;
  margin: 35px 0;
  background: #65c5f5;
}


.profile-hero-photo {
  width: 100%;
  max-width: 390px;
  aspect-ratio: 8 / 9;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

.profile-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Biography */
.profile-biography {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 110px 8%;
}

.profile-biography-heading h2 {
  margin: 20px 0;
}

.profile-biography-content {
  max-width: 750px;
}

.profile-biography-content p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.9;
  color: #526270;
}

.profile-biography-content .profile-lead {
  font-size: 23px;
  line-height: 1.5;
  font-weight: 600;
  color: #152e40;
}

/* Responsive */
@media (max-width: 900px) {

  .profile-biography {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

@media (max-width: 700px) {

  .profile-hero-photo {
    max-width: 340px;
  }

  .profile-biography {
    padding: 75px 7%;
  }

}

.hero .profile-hero-photo {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

@media (max-width: 1100px) {
  .profile-page .hero .profile-hero-photo {
    position: relative;
    top: auto;
    right: auto;
    transform: none;

    width: 84%;
    max-width: 390px;
    margin: 0 auto 60px;
  }
}
