.ias-group-template{direction:rtl;color:#22324a;font-family:inherit}
.ias-group-template *{box-sizing:border-box}
.ias-modern-shell{max-width:1180px;margin:22px auto 34px;padding:0 12px}
.ias-modern-hero{background:linear-gradient(135deg,#113f6f 0%,#0d3a64 100%);border-radius:28px;padding:28px 30px;box-shadow:0 12px 30px rgba(9,44,77,.14)}
.ias-modern-hero__grid{display:grid;grid-template-columns:1fr 250px;gap:28px;align-items:center}
.ias-modern-kicker{font-size:15px;line-height:1.8;color:#d5e2f0;margin-bottom:6px}
.ias-modern-name{margin:0 0 6px;font-size:56px;line-height:1.15;color:#fff;font-weight:700}
.ias-modern-position{font-size:22px;line-height:1.7;color:#fff;font-weight:700;margin-bottom:4px}
.ias-modern-field{font-size:18px;line-height:1.85;color:#edf4fb}
.ias-modern-field.is-muted{color:#d7e6f7}
.ias-modern-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.ias-modern-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border-radius:12px;background:#fff;color:#123f6e !important;text-decoration:none;font-weight:700;border:1px solid #fff;transition:.2s}
.ias-modern-btn.is-light{background:#f3f5f7;color:#123f6e !important}
.ias-modern-btn:hover{transform:translateY(-1px)}
.ias-modern-hero__photo{display:flex;justify-content:flex-end}
.ias-modern-photo-frame{width:220px;height:220px;border-radius:18px;background:#f4f4f4;overflow:hidden;display:flex;align-items:center;justify-content:center}
.ias-modern-photo-frame img{width:100%;height:100%;object-fit:cover;display:block}
.ias-modern-photo-frame .dashicons{font-size:72px;width:72px;height:72px;color:#8aa1b8}

.ias-modern-body{display:grid;grid-template-columns:250px 1fr;gap:22px;margin-top:22px;align-items:start}
.ias-modern-sidebar{min-width:0}
.ias-modern-content{min-width:0;display:flex;flex-direction:column;gap:18px}
.ias-modern-card{background:#fff;border:1px solid #d8e0e8;border-radius:18px;padding:22px 20px;box-shadow:0 2px 0 rgba(9,44,77,.02)}
.ias-modern-card.is-sticky{position:sticky;top:24px}
.ias-modern-card__title,.ias-modern-card__heading{margin:0 0 14px;font-size:20px;line-height:1.5;color:#143d67;font-weight:700}
.ias-modern-card__heading{font-size:21px}
.ias-modern-card__content{font-size:16px;line-height:2;color:#30445d}
.ias-modern-contact-list{display:flex;flex-direction:column;gap:16px}
.ias-modern-contact-item{display:flex;flex-direction:column;gap:6px;font-size:15px;line-height:1.8;color:#32475f}
.ias-modern-contact-item strong{font-size:17px;color:#173e68}
.ias-modern-list{margin:0;padding-right:18px}
.ias-modern-list li{margin:0 0 10px;line-height:1.9;color:#30445d}
.ias-modern-tags{display:flex;flex-wrap:wrap;gap:10px}
.ias-modern-tags span{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:#eef4fa;border:1px solid #d9e4ef;color:#1f3b5c;font-size:14px;line-height:1.6}

.ias-staff-layout .ias-modern-kicker{color:#d8e6f4}
.ias-researcher-layout .ias-modern-kicker{color:#d8e6f4}
.ias-alumni-layout .ias-modern-kicker{color:#d8e6f4}

@media (max-width:1024px){
  .ias-modern-name{font-size:44px}
  .ias-modern-hero__grid{grid-template-columns:1fr 220px}
}
@media (max-width:860px){
  .ias-modern-hero__grid{grid-template-columns:1fr;gap:18px}
  .ias-modern-hero__photo{justify-content:flex-start}
  .ias-modern-body{grid-template-columns:1fr}
  .ias-modern-card.is-sticky{position:static}
}
@media (max-width:640px){
  .ias-modern-shell{padding:0 10px}
  .ias-modern-hero{padding:20px 18px;border-radius:18px}
  .ias-modern-name{font-size:34px}
  .ias-modern-position{font-size:20px}
  .ias-modern-field{font-size:16px}
  .ias-modern-photo-frame{width:180px;height:180px}
  .ias-modern-card{padding:18px 16px}
}


/* v1.3.8 - short researcher/staff/alumni profiles still fill the viewport. */
.ias-group-template,
.ias-modern-profile,
.ias-modern-shell{
  min-height:100vh !important;
}


/* v1.3.9 - hard viewport floor. Kept at EOF so theme/profile legacy rules cannot win. */
body.single-ias_profile .ias-profile-wrap,
body.single-ias_profile .ias-group-template,
body.single-ias_profile .ias-modern-profile,
body.single-ias_profile .ias-modern-shell{
    box-sizing:border-box !important;
    min-height:100vh !important;
    min-height:100dvh !important;
}
