#top .aepefs-original[hidden],.aepefs-original[hidden]{display:none!important}
#top .aepefs-profile,.aepefs-profile{--aepe-blue:#2d5c88;--aepe-dark:#204565;--aepe-ink:#26394b;--aepe-pale:#eaf1f8;color:var(--aepe-ink);background:#fff;border:1px solid #dbe4ec;border-radius:15px;overflow:hidden;margin:24px auto 36px;width:100%;max-width:none;box-shadow:0 8px 30px rgba(32,69,101,.09);font-size:16px;line-height:1.65;clear:both;box-sizing:border-box;text-transform:none;letter-spacing:normal}
.aepefs-profile *{box-sizing:border-box}
#top .aepefs-profile .aepefs-hero{background:linear-gradient(125deg,#204565,#2d5c88 65%,#376b99);color:white;padding:30px 38px 34px;position:relative}
.aepefs-kicker{font-size:12px;font-weight:700;letter-spacing:1.7px;color:#e3eef8;margin-bottom:23px}
.aepefs-hero-row{display:flex;align-items:center;gap:26px}
.aepefs-portrait{width:140px;min-width:140px;height:140px;border:3px solid #dce8f3;border-radius:50%;background:#eaf1f8;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-shrink:0}
#top .aepefs-portrait img,.aepefs-portrait img{width:100%;height:100%;object-fit:cover;display:block;margin:0;max-width:none;border:0;border-radius:0}
.aepefs-portrait>a{display:block;width:100%;height:100%}
.aepefs-portrait.aepefs-multiple{width:170px;min-width:170px;height:auto;min-height:100px;flex-wrap:wrap;border-radius:12px;overflow:visible;padding:4px;gap:4px}
#top .aepefs-portrait.aepefs-multiple img,.aepefs-portrait.aepefs-multiple img{width:100%;height:auto;object-fit:contain;max-height:150px}
.aepefs-initials{font-size:48px;font-weight:700;color:#2d5c88}
.aepefs-info{min-width:0;flex:1}
#top .aepefs-profile .aepefs-name,.aepefs-profile .aepefs-name{font-size:clamp(25px,3.5vw,38px);line-height:1.18;font-weight:700;letter-spacing:0;text-transform:none;margin:0 0 12px;color:white;overflow-wrap:anywhere}
#top .aepefs-intro,.aepefs-intro{font-size:17px;line-height:1.5;color:#e8f1fa}
#top .aepefs-intro :is(p,h1,h2,h3,h4,h5,h6,span,a),.aepefs-intro :is(p,h1,h2,h3,h4,h5,h6,span,a){color:inherit;font-size:inherit;font-weight:400;line-height:inherit;margin:3px 0;text-transform:none;letter-spacing:0}
.aepefs-intro br:first-child,.aepefs-intro br:last-child{display:none}
.aepefs-since{display:inline-block;color:white;border:1px solid #c2d8ec80;background:#ffffff14;border-radius:6px;padding:4px 10px;margin-top:16px;font-size:13px}
.aepefs-columns{display:grid;grid-template-columns:minmax(0,65fr) minmax(0,35fr);gap:34px;padding:32px 38px}
.aepefs-columns.aepefs-single{grid-template-columns:minmax(0,1fr)}
#top .aepefs-profile .aepefs-columns>section>h2,.aepefs-profile .aepefs-columns>section>h2{font-size:22px;line-height:1.3;font-weight:700;color:#2d5c88;margin:0 0 20px;padding-bottom:12px;border-bottom:2px solid #2d5c88;letter-spacing:0;text-transform:none}
#top .aepefs-copy,.aepefs-copy{font-size:16px;line-height:1.8;text-align:justify;overflow-wrap:anywhere;white-space:normal}
#top .aepefs-copy p,.aepefs-copy p{margin:0 0 15px;color:inherit;font-size:inherit;line-height:inherit}
#top .aepefs-copy :is(h1,h2,h3,h4,h5,h6){text-transform:none;letter-spacing:0;line-height:1.5}
.aepefs-copy img,.aepefs-link-content img{max-width:100%;height:auto}
.aepefs-link-content{font-size:13px;line-height:1.5;overflow-wrap:anywhere;color:#4b6074}
#top .aepefs-link-content :is(p,h1,h2,h3,h4,h5,h6),.aepefs-link-content :is(p,h1,h2,h3,h4,h5,h6){font-size:13px;line-height:1.5;text-transform:none;letter-spacing:0;margin:8px 0;color:inherit;font-weight:500}
#top .aepefs-profile a.aepefs-link,.aepefs-profile a.aepefs-link{display:flex;align-items:center;gap:11px;margin:6px 0 10px;border:1px solid #dbe4ec;border-radius:9px;padding:11px;background:#fff;text-decoration:none;color:#26394b;line-height:1.4;min-width:0;transition:background .15s,border-color .15s}
#top .aepefs-profile a.aepefs-link:hover,.aepefs-profile a.aepefs-link:hover{background:#f0f5fa;border-color:#2d5c88}
.aepefs-link-icon{display:flex;align-items:center;justify-content:center;width:35px;height:35px;flex:0 0 35px;border-radius:7px;color:#fff;font-weight:700;font-size:15px}
.aepefs-link-words{flex:1;min-width:0;display:flex;flex-direction:column}
.aepefs-link-words strong{font-size:14px;color:#26394b;overflow-wrap:anywhere}
.aepefs-link-words small{font-size:11px;color:#566d80}
.aepefs-arrow{color:#2d5c88;font-size:15px}
.aepefs-footer{padding:20px 38px;border-top:1px solid #e1e8ef;background:#f8fafc}
#top .aepefs-profile .aepefs-back,.aepefs-profile .aepefs-back{display:inline-block;border:1px solid #2d5c88;color:#2d5c88;background:#fff;text-decoration:none;padding:9px 15px;border-radius:7px;font-size:14px;font-weight:600}
#top .aepefs-profile a:focus-visible,.aepefs-profile a:focus-visible{outline:3px solid #e7a63b;outline-offset:3px}
@media(max-width:767px){.aepefs-columns{grid-template-columns:minmax(0,1fr);padding:24px 20px;gap:25px}#top .aepefs-profile .aepefs-hero{padding:25px 20px}.aepefs-hero-row{gap:17px;align-items:flex-start}.aepefs-portrait{width:90px;min-width:90px;height:90px}.aepefs-initials{font-size:33px}.aepefs-footer{padding:18px 20px}#top .aepefs-copy,.aepefs-copy{text-align:left}}
@media(max-width:420px){.aepefs-hero-row{flex-direction:column;align-items:center;text-align:center}.aepefs-kicker{text-align:center;font-size:10px}.aepefs-info{width:100%}}
@media(prefers-reduced-motion:reduce){.aepefs-profile *{transition:none!important}}

/* Occupy the theme content area, without changing the site container or its gutters. */
#top #main .aepefs-wide-host,#top .aepefs-wide-host,.aepefs-wide-host{width:100%!important;max-width:none!important;min-width:0!important;margin-left:0!important;margin-right:0!important;float:none!important;clear:both;flex-basis:100%!important;box-sizing:border-box}

/* Isolate the profile header from Enfold and site-wide title/header styles. */
#top #main .aepefs-profile .aepefs-hero,#top .aepefs-profile .aepefs-hero,.aepefs-profile .aepefs-hero{display:block!important;position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;padding:22px 38px 24px!important;margin:0!important;float:none!important;box-sizing:border-box!important}
#top .aepefs-profile .aepefs-kicker{display:block!important;margin:0 0 15px!important;padding:0!important;line-height:1.35!important;height:auto!important;min-height:0!important;color:#e3eef8!important}
#top .aepefs-profile .aepefs-hero-row{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:24px!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important}
#top .aepefs-profile .aepefs-info{display:flex!important;flex:1 1 0%!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:6px!important;height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;margin:0!important;position:static!important}
#top #main .aepefs-profile .aepefs-info .aepefs-name,#top .aepefs-profile .aepefs-info .aepefs-name,.aepefs-profile .aepefs-name{display:block!important;position:static!important;color:#fff!important;-webkit-text-fill-color:#fff!important;background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;text-shadow:none!important;text-decoration:none!important;font-size:clamp(25px,3vw,38px)!important;font-family:inherit!important;line-height:1.15!important;font-weight:700!important;text-transform:none!important;letter-spacing:normal!important;padding:0!important;margin:0!important;height:auto!important;min-height:0!important;max-height:none!important;width:auto!important;white-space:normal!important;text-align:left!important}
#top .aepefs-profile .aepefs-name::before,#top .aepefs-profile .aepefs-name::after{content:none!important;display:none!important}
#top .aepefs-profile .aepefs-intro{display:block!important;position:static!important;padding:0!important;margin:0!important;height:auto!important;min-height:0!important;max-height:none!important;line-height:1.45!important;color:#e8f1fa!important}
#top .aepefs-profile .aepefs-intro :is(p,h1,h2,h3,h4,h5,h6,span,a,figure){position:static!important;height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;margin:0!important;line-height:1.45!important;border:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important;text-decoration:none!important}
#top .aepefs-profile .aepefs-intro :is(h1,h2,h3,h4,h5,h6)::before,#top .aepefs-profile .aepefs-intro :is(h1,h2,h3,h4,h5,h6)::after{content:none!important;display:none!important}
#top .aepefs-profile .aepefs-since{position:static!important;margin:4px 0 0!important;height:auto!important;min-height:0!important;line-height:1.4!important;color:#fff!important}
#top .aepefs-profile .aepefs-portrait{position:relative!important;width:140px!important;min-width:140px!important;height:140px!important;min-height:140px!important;margin:0!important;align-self:center!important}
#top .aepefs-profile .aepefs-portrait.aepefs-multiple{width:170px!important;min-width:170px!important;height:auto!important;min-height:100px!important}
@media(max-width:767px){#top #main .aepefs-profile .aepefs-hero,#top .aepefs-profile .aepefs-hero{padding:20px!important}#top .aepefs-profile .aepefs-hero-row{gap:15px!important}#top .aepefs-profile .aepefs-portrait{width:90px!important;min-width:90px!important;height:90px!important;min-height:90px!important}}
@media(max-width:420px){#top .aepefs-profile .aepefs-hero-row{flex-direction:column!important}#top .aepefs-profile .aepefs-info{align-items:center!important;text-align:center!important;width:100%!important}#top .aepefs-profile .aepefs-info .aepefs-name{text-align:center!important}}

/* 0.2.5: academic links in the existing blue header, never in the biography column.
   The desktop link grid is bounded by the header, so numerous links cannot stretch it. */
#top .aepefs-profile .aepefs-columns,.aepefs-profile .aepefs-columns{grid-template-columns:minmax(0,1fr)}
#top .aepefs-profile .aepefs-hero-links,.aepefs-profile .aepefs-hero-links{display:flex;flex-wrap:wrap;gap:7px;align-content:flex-start;min-width:0;box-sizing:border-box;padding:0;margin:0;overflow-x:auto}
#top .aepefs-profile .aepefs-hero-links a.aepefs-link,.aepefs-profile .aepefs-hero-links a.aepefs-link{display:flex;align-items:center;gap:6px;min-height:40px;margin:0;padding:5px 10px;background:#ffffff18;border:1px solid #ffffff40;border-radius:6px;color:#fff!important;text-decoration:none;line-height:1.2;box-shadow:none;flex:1 0 auto;min-width:190px;width:max-content;max-width:none;white-space:nowrap}
#top .aepefs-profile .aepefs-hero-links a.aepefs-link:hover,.aepefs-profile .aepefs-hero-links a.aepefs-link:hover{background:#ffffff30;border-color:#ffffff80}
#top .aepefs-profile .aepefs-hero-links .aepefs-link-icon{width:25px;height:25px;flex:0 0 25px;font-size:12px;border-radius:4px;color:#fff}
#top .aepefs-profile .aepefs-hero-links .aepefs-link-words strong{font-size:15px;font-weight:600;line-height:1.2;color:#fff!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}
#top .aepefs-profile .aepefs-hero-links .aepefs-arrow{color:#e3eef8;font-size:15px;flex-shrink:0}
#top .aepefs-profile .aepefs-hero-links a:focus-visible{outline-offset:-2px}
@media(min-width:1000px){
  #top .aepefs-profile .aepefs-has-links .aepefs-kicker,#top .aepefs-profile .aepefs-has-links .aepefs-hero-row{width:52%!important}
  #top .aepefs-profile .aepefs-has-links .aepefs-hero-links{position:absolute;top:15px;bottom:15px;left:55%;right:38px;overflow:auto;overscroll-behavior:contain;align-content:center;align-content:safe center;padding:2px;scrollbar-width:thin;scrollbar-color:#b4c9dc transparent}
  #top #main .aepefs-profile .aepefs-has-links .aepefs-info .aepefs-name,#top .aepefs-profile .aepefs-has-links .aepefs-info .aepefs-name{font-size:clamp(22px,2.1vw,32px)!important}
  #top .aepefs-profile .aepefs-has-links .aepefs-intro{font-size:15px;overflow-wrap:anywhere}
}
@media(max-width:999px){#top .aepefs-profile .aepefs-has-links .aepefs-hero-links{position:static;margin-top:16px}}

/* Keep text and both icons at their natural widths, including long custom labels. */
#top .aepefs-profile .aepefs-hero-links .aepefs-link-words,.aepefs-profile .aepefs-hero-links .aepefs-link-words{min-width:max-content;white-space:nowrap}

/* 0.2.6: original 2048 x 682 logos. The desktop header stays independently sized by the portrait and personal data. */
#top .aepefs-profile .aepefs-hero-links,.aepefs-profile .aepefs-hero-links{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(min(110px,100%),1fr));gap:7px;
  align-items:center;justify-items:center;overflow-x:hidden;
}
#top .aepefs-profile .aepefs-hero-links a.aepefs-link,.aepefs-profile .aepefs-hero-links a.aepefs-link{
  width:100%;min-width:0;max-width:156px;min-height:0;flex:none;white-space:normal;
  margin:0;box-sizing:border-box;
}
#top .aepefs-profile .aepefs-hero-links a.aepefs-logo-link,.aepefs-profile .aepefs-hero-links a.aepefs-logo-link{
  display:block;padding:0!important;border:0!important;border-radius:0;background:transparent!important;
  box-shadow:none!important;line-height:0;max-width:156px;min-height:0;height:auto;aspect-ratio:3/1;
}
#top .aepefs-profile .aepefs-hero-links img.aepefs-link-logo,.aepefs-profile .aepefs-hero-links img.aepefs-link-logo{
  display:block;width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;
  aspect-ratio:3/1;object-fit:contain!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;
}
#top .aepefs-profile .aepefs-hero-links a.aepefs-logo-link:hover img{filter:brightness(1.08)}
#top .aepefs-profile .aepefs-hero-links .aepefs-link-words,.aepefs-profile .aepefs-hero-links .aepefs-link-words{min-width:0;white-space:normal}
#top .aepefs-profile .aepefs-hero-links .aepefs-link-words strong,.aepefs-profile .aepefs-hero-links .aepefs-link-words strong{white-space:normal!important;overflow-wrap:anywhere!important;font-size:13px}

/* 0.2.7: three equal columns across the existing link area. On desktop,
   size the logos to fit three rows in the existing header, without distortion. */
@media(min-width:1000px){
  #top .aepefs-profile .aepefs-has-links .aepefs-hero-links{container-type:size;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:max-content}
  #top .aepefs-profile .aepefs-hero-links a.aepefs-link{max-width:100%}
  #top .aepefs-profile .aepefs-hero-links a.aepefs-logo-link{max-width:min(100%,calc((100cqh - 14px) / 3 * 3))}
}

/* 0.2.8: label aligned with the directory kicker; reserve its space inside
   the existing link area, without changing the height of the desktop hero. */
#top .aepefs-profile .aepefs-has-links .aepefs-links-heading{
  margin:0!important;text-align:left;
}
@media(min-width:1000px){
  #top .aepefs-profile .aepefs-has-links .aepefs-links-heading{
    position:absolute;top:22px;left:calc(55% + 2px);right:38px;width:auto!important;
  }
  #top .aepefs-profile .aepefs-has-links .aepefs-hero-links{top:42px}
}
@media(max-width:999px){
  #top .aepefs-profile .aepefs-has-links .aepefs-links-heading{margin:0!important}
  #top .aepefs-profile .aepefs-has-links .aepefs-hero-links{margin-top:-1px}
}


/* 0.2.9: align the ENLACES label with the first visible logo, keep the
   same heading-to-content spacing as on the left, and soften the blue block
   with a more lively gradient without increasing the desktop hero height. */
#top .aepefs-profile .aepefs-hero,.aepefs-profile .aepefs-hero{
  background:
    radial-gradient(circle at 12% 16%, rgba(255,255,255,.16) 0, rgba(255,255,255,0) 28%),
    radial-gradient(circle at 88% 82%, rgba(118,169,255,.18) 0, rgba(118,169,255,0) 30%),
    linear-gradient(135deg,#1f466a 0%,#2d5c88 36%,#4b72a9 70%,#6d8fca 100%)!important;
}
#top .aepefs-profile .aepefs-has-links .aepefs-links-heading{
  margin:0 0 15px!important;
  text-align:left;
}
@media(min-width:1000px){
  #top .aepefs-profile .aepefs-has-links{
    --aepefs-links-left:55%;
    --aepefs-links-right:38px;
    --aepefs-links-gap:15px;
    --aepefs-links-top:22px;
    --aepefs-links-bottom:24px;
    --aepefs-links-title-line:16.2px;
  }
  #top .aepefs-profile .aepefs-has-links .aepefs-links-heading{
    position:absolute;
    top:var(--aepefs-links-top);
    left:var(--aepefs-links-left);
    right:var(--aepefs-links-right);
    width:auto!important;
    margin:0!important;
  }
  #top .aepefs-profile .aepefs-has-links .aepefs-hero-links{
    position:absolute;
    top:calc(var(--aepefs-links-top) + var(--aepefs-links-title-line) + var(--aepefs-links-gap));
    bottom:var(--aepefs-links-bottom);
    left:var(--aepefs-links-left);
    right:var(--aepefs-links-right);
    margin:0!important;
    padding:0!important;
    overflow:auto;
    overscroll-behavior:contain;
    align-content:start;
    justify-items:start;
    scrollbar-width:thin;
    scrollbar-color:#b4c9dc transparent;
  }
  #top .aepefs-profile .aepefs-has-links .aepefs-hero-links a.aepefs-link{max-width:100%}
  #top .aepefs-profile .aepefs-has-links .aepefs-hero-links a.aepefs-logo-link{
    max-width:min(100%,calc((100cqh - 14px) / 3 * 3));
  }
}
@media(max-width:999px){
  #top .aepefs-profile .aepefs-has-links .aepefs-links-heading{margin:0 0 15px!important}
  #top .aepefs-profile .aepefs-has-links .aepefs-hero-links{margin-top:0!important}
}

/* 0.2.12: four 126 px columns plus three 7 px gaps (525 px total).
   Preserve the 0.2.9 logo size on wide screens; shrink proportionally only
   when the available space is narrower. The hero height is unchanged. */
@media(min-width:1000px){
  #top .aepefs-profile .aepefs-has-links .aepefs-hero-links{
    max-width:525px;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:7px;
    justify-content:start;
  }
  #top .aepefs-profile .aepefs-has-links .aepefs-hero-links a.aepefs-logo-link{
    max-width:126px;
  }
}


/* 0.2.14: transparency lives in the assets; protect layout against theme styles. */
#top #main .aepefs-profile .aepefs-hero-links a.aepefs-logo-link,
#top .aepefs-profile .aepefs-hero-links a.aepefs-logo-link {
 background:transparent!important; border:0!important; padding:0!important;
 box-shadow:none!important; border-radius:9px!important; overflow:hidden!important;
}
#top #main .aepefs-profile .aepefs-hero-links img.aepefs-link-logo,
#top .aepefs-profile .aepefs-hero-links img.aepefs-link-logo {
 background:transparent!important; border:0!important; padding:0!important;
 box-shadow:none!important; clip-path:none!important; border-radius:9px!important;
}
@media(min-width:1000px){
 #top #main .aepefs-profile .aepefs-has-links nav.aepefs-hero-links,
 #top .aepefs-profile .aepefs-has-links nav.aepefs-hero-links {
 display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:7px!important; max-width:525px!important; justify-items:start!important;
 justify-content:start!important; align-content:start!important;
 }
 #top #main .aepefs-profile .aepefs-has-links nav.aepefs-hero-links a.aepefs-logo-link {
 width:100%!important; max-width:126px!important; min-width:0!important;
 }
}


/* 0.2.16: full right-hand area; no inline width limits. */
@media(min-width:1000px){
  #top .aepefs-profile .aepefs-has-links .aepefs-kicker,
  #top .aepefs-profile .aepefs-has-links .aepefs-hero-row{width:50%!important}
  #top .aepefs-profile .aepefs-has-links{--aepefs-links-left:53%;--aepefs-links-right:38px}
  #top #main .aepefs-profile .aepefs-has-links nav.aepefs-hero-links,
  #top .aepefs-profile .aepefs-has-links nav.aepefs-hero-links{
    display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
    column-gap:7px!important;row-gap:var(--aepefs-row-gap,7px)!important;
    width:auto!important;max-width:none!important;min-width:0!important;
    justify-items:stretch!important;justify-content:stretch!important;
    align-items:start!important;align-content:safe center!important;
  }
  #top #main .aepefs-profile .aepefs-has-links nav.aepefs-hero-links a.aepefs-link,
  #top .aepefs-profile .aepefs-has-links nav.aepefs-hero-links a.aepefs-link,
  #top #main .aepefs-profile .aepefs-has-links nav.aepefs-hero-links a.aepefs-logo-link,
  #top .aepefs-profile .aepefs-has-links nav.aepefs-hero-links a.aepefs-logo-link{
    width:100%!important;max-width:none!important;min-width:0!important;
  }
}

/* 0.2.17: compact the gap below the academic-profile title and improve reading. */
#top #main .aepefs-profile .aepefs-columns > .aepefs-bio > h2,
#top .aepefs-profile .aepefs-columns > .aepefs-bio > h2,
.aepefs-profile .aepefs-columns > .aepefs-bio > h2{margin-bottom:18px!important}
#top #main .aepefs-profile .aepefs-bio > .aepefs-copy,
#top .aepefs-profile .aepefs-bio > .aepefs-copy,
.aepefs-profile .aepefs-bio > .aepefs-copy{font-size:18px!important;line-height:1.8}
#top #main .aepefs-profile .aepefs-copy p,
#top .aepefs-profile .aepefs-copy p,
.aepefs-profile .aepefs-copy p{font-size:inherit!important;line-height:inherit!important}
