/* Member content uses the typography, navigation and footer from the main template. */
.profile-page a:focus-visible, .member-card a:focus-visible { outline: 3px solid #ce3232; outline-offset: 5px; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 1100; padding: 12px; background: #fff; }
.skip-link:focus { top: 12px; }
[hidden] { display: none !important; }
#profile-banner { background: url('../images/slider-image1.jpg') center center / cover; padding: 180px 0 80px; text-align: center; }
#profile-banner .container { position: relative; }
#profile-banner h1, #profile-banner p { color: #fff; }
#profile-banner .section-title { padding-bottom: 0; }
.profile-page .nav a[aria-current] { color: #ce3232; }
.profile-hero { padding: 60px 0; }
.back-link { display: inline-block; margin-bottom: 35px; font-size: 12px; }
.profile-portrait { display: block; width: 100%; height: auto; }
.portrait-placeholder { display: grid; place-items: center; aspect-ratio: 1; background: #f9f9f9; color: #757575; font-size: 70px; }
.portrait-caption { padding: 20px 0; font-size: 12px; }
.portrait-caption span { display: block; margin-top: 5px; color: #757575; }
.profile-intro .section-title { padding-bottom: 0; margin-top: 25px; }
.profile-intro h1 { font-size: 2.5em; line-height: 1.3; }
.profile-role { font-weight: bold; }
.profile-affiliation { margin: 20px 0; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 25px; align-items: center; }
.profile-actions a { display: inline-block; padding: 10px 25px; }
.profile-actions .section-btn:hover { background: #292929; color: #fff; }
.profile-outline { border: 1px solid #ddd; }
.profile-details section { padding: 25px 0 40px; }
.profile-details .section-title { padding-bottom: 0; }
.profile-details h2 { margin-top: 0; }
.profile-details h3 { font-size: 16px; line-height: 1.6; margin: 0 0 8px; }
.interest-list article { display: flex; gap: 20px; padding: 20px 0; border-top: 1px solid #eee; }
.interest-number { color: #ce3232; font-size: 12px; padding-top: 5px; }
.education-list { list-style: none; padding: 0; }
.education-list li { display: flex; gap: 25px; padding: 20px 0; border-top: 1px solid #eee; }
.education-list li > span { flex: 0 0 100px; color: #757575; font-size: 12px; }
.profile-sidebar { padding-left: 40px; }
.expertise-tags { padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.expertise-tags li { background: #f9f9f9; padding: 8px 12px; font-size: 12px; color: #757575; }
.contact-email { display: block; margin-bottom: 20px; overflow-wrap: anywhere; }
.profile-sidebar address { color: #757575; font-size: 14px; line-height: 24px; }
.academic-link { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid #eee; font-size: 12px; }
#team .member-card { display: flex; align-items: center; gap: 38px; max-width: 820px; margin: auto; text-align: left; padding: 28px; background: #f9f9f9; }
.member-card-portrait { flex: 0 0 220px; position: relative; }
.member-card-portrait img { width: 220px; height: 240px; object-fit: cover; }
.member-card-portrait .portrait-placeholder { font-size: 60px; aspect-ratio: 220 / 240; }
.member-card h3 { margin: 0 0 10px; }
.member-card .section-btn { display: inline-block; margin-top: 12px; font-size: 12px; }

@media (max-width: 767px) {
  #profile-banner { padding: 140px 0 60px; }
  #profile-banner h1 { font-size: 2.5em; }
  .profile-hero { padding: 40px 0 20px; }
  .profile-sidebar { padding-left: 15px; }
  #team .member-card { flex-direction: column; align-items: stretch; padding: 22px; }
  .member-card-portrait { flex-basis: auto; }
  .member-card-portrait img { width: 100%; height: auto; }
}

#team .member-card + .member-card { margin-top: 30px; }
