/* Compact profile introduction, without clipping longer personnel records. */
.profile-section .profile-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 18px;
    padding: 22px;
    margin-bottom: 28px;
    align-items: stretch;
    background: radial-gradient(ellipse at 0 0, #e9d5fa, transparent 65%), linear-gradient(120deg, #f7f0fc, #fff7fa);
    border-color: #e5ceee;
    border-radius: 22px;
    box-shadow: 0 10px 32px #6229840c;
}
.profile-section .profile-card { width: 100%; max-width: none; height: 100%; min-width: 0; border-radius: 15px; box-shadow: 0 6px 18px #60267c12; }
.profile-section .profile-photo { height: 200px; object-position: center 25%; }
.profile-section .profile-summary { padding: 17px 20px 19px; }
.profile-section .profile-summary .eyebrow { font-size: 9px; letter-spacing: 1.6px; color: #a1297e; }
.profile-section .profile-summary h1 { font-size: 24px; line-height: 1.45; margin: 8px 0 5px; color: #512075; overflow-wrap: anywhere; }
.profile-section .profile-summary p { margin: 0 0 11px; font-size: 12px; color: #81718c; overflow-wrap: anywhere; }
.profile-section .profile-summary .badge { padding: 4px 14px; font-size: 12px; border-radius: 7px; }
.profile-section .profile-overview { min-width: 0; grid-template-columns: 1.12fr 1fr; gap: 18px; align-items: stretch; }
.profile-section .profile-overview .detail-panel { min-width: 0; height: auto; margin: 0; padding: 20px; border-radius: 15px; border-color: #fff; background: #ffffffed; }
.profile-section .profile-overview .detail-panel h2 {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin: -4px 0 16px;
    padding: 0 0 12px;
    font-size: 21px;
    line-height: 1.5;
    color: #60248a;
    border-bottom-color: #eee3f4;
}
.profile-section .profile-overview .detail-panel h2::after { width: 44px; height: 3px; }
.profile-section .profile-overview dl > div {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: baseline;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f1eaf5;
}
.profile-section .profile-overview dl > div:first-child { padding-top: 0; }
.profile-section .profile-overview dl > div:last-child { padding-bottom: 0; border-bottom: 0; }
.profile-section .profile-overview dt { font-size: 11px; line-height: 1.7; color: #8a719c; }
.profile-section .profile-overview dd { font-size: 13px; line-height: 1.75; font-weight: 500; color: #45304f; overflow-wrap: anywhere; }
.profile-section .profile-overview .education { padding: 0 0 16px 20px; margin-left: 5px; }
.profile-section .profile-overview .education:last-child { padding-bottom: 0; }
.profile-section .profile-overview .education small { padding: 2px 9px; margin-bottom: 4px; font-size: 10px; font-weight: 500; }
.profile-section .profile-overview .education h3 { margin: 3px 0 4px; font-size: 15px; line-height: 1.65; color: #582769; overflow-wrap: anywhere; }
.profile-section .profile-overview .education p { margin: 2px 0; font-size: 12px; line-height: 1.75; color: #82708c; overflow-wrap: anywhere; }
@media (max-width: 1100px) {
    .profile-section .profile-layout { grid-template-columns: 230px minmax(0, 1fr); padding: 18px; }
    .profile-section .profile-overview { grid-template-columns: 1fr; gap: 14px; }
    .profile-section .profile-card { height: auto; }
    .profile-section .profile-overview .detail-panel { padding: 18px; }
    .profile-section .profile-overview .detail-panel h2 { font-size: 19px; margin-bottom: 12px; }
}
@media (max-width: 720px) {
    .profile-section .profile-layout { grid-template-columns: 1fr; padding: 15px; gap: 15px; border-radius: 18px; }
    .profile-section .profile-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; }
    .profile-section .profile-photo { width: 120px; height: 100%; min-height: 168px; object-position: center 25%; }
    .profile-section .profile-summary { padding: 16px; }
    .profile-section .profile-summary h1 { font-size: 21px; }
    .profile-section .profile-summary .eyebrow { font-size: 8px; letter-spacing: 1px; }
    .profile-section .profile-overview { gap: 14px; }
    .profile-section .profile-overview dl > div { grid-template-columns: 100px minmax(0, 1fr); }
}
@media (max-width: 380px) {
    .profile-section .profile-layout { padding: 12px; }
    .profile-section .profile-card { grid-template-columns: 95px minmax(0, 1fr); }
    .profile-section .profile-photo { width: 95px; }
    .profile-section .profile-summary { padding: 12px; }
    .profile-section .profile-summary h1 { font-size: 19px; }
    .profile-section .profile-overview .detail-panel { padding: 16px; }
    .profile-section .profile-overview dl > div { grid-template-columns: 85px minmax(0, 1fr); gap: 8px; }
}
