/* Team Member Layout */
.awd-team-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5em 1.75em;
    margin: 2rem auto;
    max-width: 1200px;
}
.awd-team-grid .awd-team-member {
    width: calc(33.333% - 1.33rem);
    flex: 1;
}
.awd-team-list { flex-direction: column; }
.awd-team-list .awd-team-member { display: flex; align-items: center; gap: 1.5rem; }
.awd-team-member { border-radius: 16px; overflow: hidden; position: relative; }
p.no-posts { text-align: center; font-size: 28px; font-style: italic; }

/* Image */
.team-image { position: relative; overflow: hidden; }
.awd-team-member .team-image img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 2 / 3; transform: scale(1); transition: transform 0.4s ease; transform-origin: center; will-change: transform; }
a.team-cta-link:hover img { transform: scale(1.03); }
a.team-cta-link:hover .awd-card-icon svg { transform: rotate(45deg); }

/* Info */
.team-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px 100px 10px 30px; background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.1) 80%, rgba(0, 0, 0, 0) 100%); display: flex; justify-content: space-between; align-items: flex-end; gap: 0; z-index: 1; flex-wrap: wrap; }
.team-info .team-name {
  color: #fff;
  text-align: left;
  margin: 0;
  letter-spacing: -0.045em;
}
.team-info .team-title { font-size: 15px; color: #fff; text-align: left; width: 100%; opacity: 0.85; }
.team-info .awd-card-icon { right: 15px; bottom: 15px; }

/* Modal */
.modal-inner { display: flex; max-width: 767px; gap: 2rem; align-items: center; }
.modal-image { flex: 0 0 33%; text-align: center; }
.modal-info { flex: 1 1 auto; }
.modal-title { font-size: 16px; }
/* .modal-info h3 { margin-bottom: 7px; letter-spacing: -.05em; font-weight: 600; } */
.modal-content { padding-top: 1rem; }

/* Prevent flicker or forced close */
.persistent-modal .fancybox__content {
  will-change: unset;
  animation: none !important;
}
.team-modal-content.f-html {
    border-radius: 24px;
}
