.elementor-5502 .elementor-element.elementor-element-b933c1a{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-624f3de */@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;600;700&display=swap');

.team-detail-section {
  padding: 100px 5%;
  background: #fafafa;
  font-family: 'Titillium Web', sans-serif;
}

/* ================= WRAPPER ================= */
.team-detail-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
}

/* ================= IMAGE ================= */
.team-detail-image {
  width: 420px; /* 🔥 smaller width */
  flex-shrink: 0;
}

.image-frame {
  position: relative;
}

.image-frame img {
  width: 100%;
  height: 580px; /* 🔥 reduced height */

  object-fit: cover;
  object-position: center;

  transition: 0.5s ease;
}

/* FRAME */
.image-frame::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;

  width: 100%;
  height: 100%;

  border: 2px solid #c32131;

  z-index: -1;
  transition: 0.4s ease;
}

/* HOVER */
.image-frame:hover img {
  transform: scale(1.02);
}

.image-frame:hover::after {
  top: 10px;
  left: 10px;
}

/* ================= CONTENT ================= */
.team-detail-content {
  flex: 1;
  max-width: 700px;
}

.member-tag {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #c32131;
  margin-bottom: 14px;
}

.team-detail-content h1 {
  font-size: 52px;
  line-height: 1.1;
  margin-bottom: 10px;
  color: #111;
}

.team-detail-content h4 {
  font-size: 20px;
  color: #666;
  font-weight: 400;
  margin-bottom: 20px;
}

.member-divider {
  width: 70px;
  height: 3px;
  background: #c32131;
  margin-bottom: 30px;
}

.team-detail-content p {
  font-size: 17px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 18px;
  transition: 0.3s ease;
}

.team-detail-content p:hover {
  color: #111;
}

/* ================= LAPTOP ================= */
@media (max-width: 1200px) {

  .team-detail-wrapper {
    gap: 50px;
  }

  .team-detail-image {
    width: 360px;
  }

  .image-frame img {
    height: 520px;
  }

  .team-detail-content h1 {
    font-size: 42px;
  }
}

/* ================= TABLET ================= */
@media (max-width: 992px) {

  .team-detail-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .team-detail-image {
    width: 100%;
    max-width: 500px;
  }

  .image-frame img {
    height: 600px;
  }

  .team-detail-content {
    max-width: 100%;
  }

  .team-detail-content h1 {
    font-size: 38px;
  }
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .team-detail-section {
    padding: 70px 5%;
  }

  .team-detail-wrapper {
    gap: 40px;
  }

  .team-detail-image {
    width: 100%;
  }

  .image-frame img {
    height: 420px;
  }

  .image-frame::after {
    display: none;
  }

  .team-detail-content h1 {
    font-size: 28px;
  }

  .team-detail-content h4 {
    font-size: 16px;
  }

  .team-detail-content p {
    font-size: 15px;
    line-height: 1.8;
  }
}/* End custom CSS */