:root{
  --mma-bg:#ffffff;
  --mma-text:#202124;
  --mma-muted:#666a70;
  --mma-border:#dedede;
  --mma-soft:#f5f6f7;
  --mma-soft-2:#fafafa;
  --mma-dark:#17191c;
  --mma-accent:#a58b32;
  --mma-accent-soft:#f3eedc;
  --mma-max:1120px;
  --mma-radius:12px;
  --mma-shadow:0 10px 30px rgba(20,24,28,.06);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--mma-bg);color:var(--mma-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;line-height:1.65;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration-color:rgba(32,33,36,.35);text-underline-offset:3px}
a:hover{text-decoration-color:var(--mma-accent)}
img,video,iframe{max-width:100%;height:auto}
button,input,textarea{font:inherit}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.mma-skip-link{position:absolute;left:-9999px;top:1rem;z-index:9999;background:#fff;padding:.7rem 1rem;border:1px solid var(--mma-border)}
.mma-skip-link:focus{left:1rem}
.mma-wrap{width:min(calc(100% - 40px),var(--mma-max));margin-inline:auto}
.mma-site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);border-top:3px solid var(--mma-accent);border-bottom:1px solid var(--mma-border);backdrop-filter:saturate(150%) blur(10px)}
.mma-header-inner{width:min(calc(100% - 40px),var(--mma-max));margin:auto;min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:2rem}
.mma-brand{text-decoration:none;display:flex;flex-direction:column;line-height:1.18}
.mma-brand-name{font-weight:750;font-size:1.05rem;letter-spacing:-.015em}
.mma-brand-role{font-size:.76rem;color:var(--mma-muted);margin-top:.24rem}
.mma-nav-list{display:flex;align-items:center;gap:1.55rem;list-style:none;padding:0;margin:0}
.mma-nav-list a{text-decoration:none;font-size:.94rem;color:#3f4348;transition:color .18s ease}
.mma-nav-list a:hover{color:var(--mma-accent)}
.mma-menu-toggle{display:none;border:0;background:transparent;padding:.5rem;cursor:pointer}
.mma-menu-toggle>span:not(.screen-reader-text){display:block;width:24px;height:2px;background:var(--mma-dark);margin:4px 0}
.mma-site-main{min-height:70vh}
.mma-hero{padding:72px 0 58px;display:grid;grid-template-columns:290px 1fr;gap:58px;align-items:center}
.mma-hero-photo-wrap{display:flex;justify-content:center}
.mma-hero-photo{width:var(--mma-hero-photo-width,272px);aspect-ratio:1/1.08;object-fit:cover;border-radius:4px;box-shadow:var(--mma-shadow)}
.mma-eyebrow,.mma-kicker{margin:0 0 .55rem;text-transform:uppercase;letter-spacing:.13em;font-size:var(--mma-home-kicker-size,12px);font-weight:750;color:var(--mma-accent)}
.mma-eyebrow{font-size:var(--mma-hero-eyebrow-size,12px)}
.mma-hero h1{font-size:var(--mma-hero-name-size,64px);line-height:.98;letter-spacing:-.055em;margin:0 0 1.1rem;font-weight:760}
.mma-hero-role{font-size:var(--mma-hero-role-size,20px);line-height:1.5;margin:0 0 1.4rem;font-weight:600}
.mma-hero-role span{font-weight:450;color:var(--mma-muted)}
.mma-hero-intro{max-width:760px;font-size:var(--mma-hero-intro-size,17px);color:#45494e;margin:0 0 1.6rem}
.mma-hero-bio-link{margin:-.75rem 0 1.35rem}
.mma-hero-actions{display:flex;gap:.7rem;flex-wrap:wrap;margin-bottom:1.25rem}
.mma-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:.65rem 1rem;border-radius:6px;background:var(--mma-dark);color:#fff!important;text-decoration:none!important;font-weight:650;font-size:.9rem;border:1px solid var(--mma-dark);transition:transform .15s ease,box-shadow .15s ease}
.mma-button:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(0,0,0,.10)}
.mma-button-secondary{background:#fff;color:var(--mma-dark)!important;border-color:#b9b9b9}
.mma-social-row{display:flex;gap:1rem;flex-wrap:wrap}
.mma-social-row a,.mma-text-link{font-size:.88rem;font-weight:620;text-decoration:none;border-bottom:1px solid #b7b7b7}
.mma-social-row a:hover,.mma-text-link:hover{border-color:var(--mma-accent);color:#76651f}
.mma-latest{display:grid;grid-template-columns:80px 1fr;gap:18px;align-items:start;border-top:1px solid var(--mma-border);border-bottom:1px solid var(--mma-border);padding:18px 0}
.mma-latest-label{text-transform:uppercase;letter-spacing:.12em;font-size:.72rem;font-weight:800;color:var(--mma-accent)}
.mma-latest strong{display:block;font-size:.9rem;margin-bottom:.15rem}
.mma-latest span:not(.mma-latest-label){font-size:.88rem;color:var(--mma-muted)}
.mma-section{padding:76px 0}
.mma-section-tint{background:var(--mma-soft-2);border-top:1px solid #ececec;border-bottom:1px solid #ececec}
.mma-section-heading{display:flex;justify-content:space-between;align-items:end;gap:2rem;margin-bottom:34px}
.mma-section-heading h2{font-size:var(--mma-home-section-title-size,42px);line-height:1.12;letter-spacing:-.035em;margin:0;max-width:720px}
.mma-publications-heading{font-size:var(--mma-home-publications-heading-size,42px)!important;line-height:1.12!important;letter-spacing:-.035em!important;margin:0!important;color:var(--mma-accent);font-weight:760;text-transform:none;max-width:720px}
.mma-research-heading{font-size:var(--mma-home-research-heading-size,42px)!important;line-height:1.12!important;letter-spacing:-.035em!important;margin:0!important;color:var(--mma-accent);font-weight:760;text-transform:none;max-width:720px}
.mma-research-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.mma-research-card{display:block;text-decoration:none;border:1px solid var(--mma-border);background:#fff;border-radius:var(--mma-radius);overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.mma-research-card:hover{transform:translateY(-3px);box-shadow:var(--mma-shadow);border-color:#c9c9c9}
.mma-research-card>img,.mma-card-placeholder{width:100%;height:185px;object-fit:cover;background:#e9eaeb}
.mma-card-placeholder{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f3f3f3,#e6e6e6);font-size:2.2rem;color:#bababa;font-weight:800}
.mma-research-card-body{padding:20px}
.mma-project-number{display:inline-block;font-size:.72rem;color:var(--mma-accent);letter-spacing:.11em;font-weight:800;margin-bottom:.55rem}
.mma-research-card h3{font-size:var(--mma-home-card-title-size,17px);line-height:1.34;margin:0 0 .6rem;letter-spacing:-.012em}
.mma-research-card p{font-size:.87rem;color:var(--mma-muted);margin:0}
.mma-selected-publications .mma-publication:first-child{border-top:1px solid var(--mma-border)}
.mma-publication{display:grid;grid-template-columns:54px 1fr;gap:22px;padding:26px 0;border-bottom:1px solid var(--mma-border);align-items:start}
/* Keep filtered publication cards hidden even though the card layout sets display:grid. */
.mma-publication[hidden]{display:none !important}
.mma-publication:has(.mma-pub-thumb){grid-template-columns:54px 132px 1fr}
.mma-pub-number{font-size:1.05rem;font-weight:760;color:#9a9da1;padding-top:.25rem}
.mma-pub-thumb{display:block}
.mma-pub-thumb img{width:132px;height:92px;object-fit:cover;border-radius:5px;border:1px solid #eee}
.mma-pub-meta{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin-bottom:.45rem;color:var(--mma-muted);font-size:.72rem}
.mma-chip{display:inline-block;padding:.15rem .46rem;border-radius:999px;background:#efefef;color:#555;font-size:.68rem;font-weight:650}
.mma-chip-accent{background:var(--mma-accent-soft);color:#6f5d19}
.mma-pub-title{font-size:var(--mma-home-pub-title-size,18px)!important;line-height:1.38!important;letter-spacing:-.012em!important;margin:.15rem 0 .3rem!important}
.mma-pub-title a{text-decoration:none}.mma-pub-title a:hover{color:#76651f}
.mma-pub-venue{font-size:.91rem;font-weight:650;margin:.25rem 0;color:#414449}
.mma-pub-description{font-size:.86rem;color:var(--mma-muted);margin:.22rem 0}
.mma-pub-authors{font-size:.84rem;color:#666;margin:.25rem 0 0}
.mma-pub-actions{margin:.7rem 0 0}.mma-pub-actions a{font-size:.8rem;font-weight:650;text-decoration:none}
.mma-abstract{margin-top:.75rem;font-size:.83rem;color:#555}
.mma-abstract summary{cursor:pointer;font-weight:650;color:#43474b;width:max-content}
.mma-abstract[open] summary{margin-bottom:.7rem}
.mma-home-about-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:70px;align-items:start}
.mma-lead{font-size:1.08rem;color:#3d4146}
.mma-prose{color:#44484d}
.mma-prose p{margin:.2rem 0 1rem}.mma-prose ul{padding-left:1.25rem}.mma-prose li{margin:.27rem 0}.mma-prose a{color:#282a2d}
.mma-tag-list{display:flex;flex-wrap:wrap;gap:.55rem;list-style:none!important;padding:0!important;margin:1rem 0}
.mma-tag-list li{border:1px solid var(--mma-border);padding:.45rem .7rem;border-radius:999px;font-size:.82rem;background:#fff}
.mma-page-wrap{padding:68px 0 90px}
.mma-page-header{max-width:850px;margin-bottom:46px}
.mma-page-header h1{font-size:clamp(2.6rem,5vw,4.5rem);line-height:1;letter-spacing:-.05em;margin:.1rem 0 1rem}
.mma-page-intro{font-size:1.05rem;color:var(--mma-muted)}
.mma-page-content>h2:first-child{margin-top:0}
.mma-about-layout{display:block}
.mma-about-photo{max-width:520px;margin:0 auto 48px;text-align:center}.mma-about-photo img{display:block;width:100%;height:auto;margin:0 auto;border-radius:8px;box-shadow:var(--mma-shadow)}
.mma-resume-section{padding:10px 0 48px}
.mma-resume-section>h2{font-size:1.55rem;letter-spacing:-.02em;margin:0 0 20px;border-bottom:1px solid var(--mma-border);padding-bottom:12px}
.mma-timeline-entry{display:grid;grid-template-columns:150px 1fr;gap:34px;padding:22px 0;border-bottom:1px solid #ececec}
.mma-time-meta{display:flex;flex-direction:column;gap:.25rem}
.mma-dates{font-weight:750;font-size:.88rem}.mma-location{font-size:.78rem;color:var(--mma-muted)}
.mma-time-body h3{font-size:1.08rem;line-height:1.35;margin:0 0 .2rem}.mma-company{font-weight:600;color:#555;margin:.1rem 0 .6rem}
.mma-entry-description{font-size:.9rem}.mma-entry-description p{margin:.3rem 0 .7rem}.mma-entry-description ul,.mma-entry-description ol{padding-left:1.2rem;margin:.5rem 0}.mma-entry-description li{margin:.2rem 0}.mma-entry-description li>a:first-child{vertical-align:baseline}
.mma-skill-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.mma-skill-card{border:1px solid var(--mma-border);border-radius:10px;padding:20px}.mma-skill-card h3{margin:0 0 .6rem;font-size:1rem}
.mma-research-groups{display:flex;flex-direction:column;gap:76px}.mma-research-group-title{font-size:2rem;line-height:1.15;letter-spacing:-.035em;margin:0 0 22px;padding-bottom:12px;border-bottom:1px solid var(--mma-border)}.mma-research-list{display:flex;flex-direction:column;gap:0}
.mma-research-project{display:block;padding:42px 0;border-top:1px solid var(--mma-border);scroll-margin-top:100px}
.mma-research-project:first-child{border-top:0;padding-top:0}
.mma-research-project h3{font-size:1.55rem;line-height:1.25;letter-spacing:-.025em;margin:0 0 1rem}
.mma-project-gallery{display:grid;gap:14px;align-self:start}.mma-project-media{margin:0}.mma-project-media img,.mma-project-media video{display:block;width:100%;max-height:300px;object-fit:contain;border-radius:7px;background:#f6f6f6}.mma-video-embed iframe{display:block;width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:7px}
.mma-team-content img{display:block;max-width:100%;height:auto;margin-left:auto;margin-right:auto;border-radius:7px}.mma-team-content .wp-caption,.mma-team-content figure{max-width:780px!important;margin:1.75rem auto!important;float:none!important;clear:both!important}.mma-team-content .wp-caption img,.mma-team-content figure img{margin:0 auto}.mma-team-content .wp-caption-text,.mma-team-content figcaption{margin:.55rem 0 0!important;font-size:.8rem;color:var(--mma-muted);font-style:italic;text-align:left}.mma-team-content>p:empty,.mma-team-content>div:empty{display:none!important;margin:0!important;padding:0!important;height:0!important;min-height:0!important}
.mma-contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:64px}.mma-contact-card{background:var(--mma-soft);padding:30px;border-radius:12px}.mma-contact-card h2{font-size:1.55rem;line-height:1.25;margin:.3rem 0 1rem}
.mma-contact-form input[type=text],.mma-contact-form input[type=email],.mma-contact-form textarea{width:100%;border:1px solid #cfcfcf;border-radius:6px;padding:.72rem .8rem;background:#fff}.mma-contact-form textarea{min-height:150px}.mma-contact-form input[type=submit]{border:0;background:var(--mma-dark);color:#fff;border-radius:6px;padding:.72rem 1rem;cursor:pointer}
.mma-pub-tools{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:16px 0 25px;border-bottom:1px solid var(--mma-border)}
.mma-search input{min-width:250px;border:1px solid #cfcfcf;border-radius:7px;padding:.62rem .75rem;background:#fff}
.mma-filters{display:flex;gap:.45rem;flex-wrap:wrap;justify-content:flex-end}.mma-filters button{border:1px solid #d3d3d3;background:#fff;border-radius:999px;padding:.38rem .68rem;cursor:pointer;font-size:.76rem}.mma-filters button:hover,.mma-filters button.is-active{border-color:var(--mma-dark);background:var(--mma-dark);color:#fff}
.mma-no-results{padding:30px 0;color:var(--mma-muted)}
.mma-single-featured{margin:0 0 30px}.mma-single-featured img{border-radius:8px}.mma-single-abstract{max-width:850px}.mma-single-abstract h2{font-size:1.4rem}
.mma-site-footer{border-top:1px solid var(--mma-border);background:#fafafa;margin-top:20px}
.mma-footer-inner{width:min(calc(100% - 40px),var(--mma-max));margin:auto;padding:34px 0;display:grid;grid-template-columns:1fr auto;gap:14px 28px;align-items:start;font-size:.82rem;color:#555}.mma-footer-inner strong{color:#25272a}.mma-footer-links{display:flex;gap:1rem}.mma-footer-links a{text-decoration:none}.mma-copyright{grid-column:1/-1;font-size:.72rem;color:#8a8d90;padding-top:12px}
@media (max-width:920px){
  .mma-hero{grid-template-columns:220px 1fr;gap:36px}.mma-hero-photo{width:min(var(--mma-hero-photo-width,272px),210px)}.mma-research-grid{grid-template-columns:repeat(2,1fr)}.mma-research-project{grid-template-columns:1fr 300px}.mma-contact-grid{gap:36px}.mma-home-about-grid{gap:40px}
}
@media (max-width:760px){
  .mma-header-inner{min-height:68px}.mma-menu-toggle{display:block}.mma-primary-nav{display:none;position:absolute;top:68px;left:0;right:0;background:#fff;border-bottom:1px solid var(--mma-border);padding:16px 20px 22px}.mma-primary-nav.is-open{display:block}.mma-nav-list{flex-direction:column;align-items:flex-start;gap:.7rem}
  .mma-hero{grid-template-columns:1fr;padding:48px 0 42px}.mma-hero-photo-wrap{justify-content:flex-start}.mma-hero-photo{width:min(var(--mma-hero-photo-width,272px),190px)}.mma-hero h1{font-size:var(--mma-hero-name-mobile-size,46px)}.mma-section{padding:56px 0}.mma-section-heading{align-items:start;flex-direction:column;gap:12px}.mma-research-grid{grid-template-columns:1fr}.mma-home-about-grid,.mma-contact-grid{grid-template-columns:1fr}.mma-about-photo{max-width:440px;margin-bottom:36px}.mma-research-project{grid-template-columns:1fr;gap:20px}.mma-project-media{max-width:520px}.mma-publication,.mma-publication:has(.mma-pub-thumb){grid-template-columns:42px minmax(0,1fr)}.mma-pub-number{grid-column:1;grid-row:1}.mma-pub-main{grid-column:2;grid-row:1}.mma-pub-thumb{grid-column:2;grid-row:2;margin-top:12px}.mma-timeline-entry{grid-template-columns:1fr;gap:9px}.mma-time-meta{flex-direction:row;gap:.7rem}.mma-skill-grid{grid-template-columns:1fr}.mma-pub-tools{align-items:stretch;flex-direction:column}.mma-search input{width:100%;min-width:0}.mma-filters{justify-content:flex-start}.mma-footer-inner{grid-template-columns:1fr}.mma-footer-links{flex-wrap:wrap}.mma-copyright{grid-column:1}
}
@media (max-width:480px){.mma-about-photo{max-width:100%;margin-bottom:30px}.mma-wrap,.mma-header-inner,.mma-footer-inner{width:min(calc(100% - 28px),var(--mma-max))}.mma-hero h1{font-size:var(--mma-hero-name-mobile-size,46px)}.mma-hero-photo{width:min(var(--mma-hero-photo-width,272px),165px)}.mma-page-wrap{padding-top:48px}.mma-page-header h1{font-size:2.8rem}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.mma-research-card,.mma-button{transition:none}}
/* Homepage content editor additions (v1.0.3). */
.mma-hero-intro p{margin:0 0 .75rem}.mma-hero-intro p:last-child{margin-bottom:0}
.mma-section-description{max-width:720px;margin-top:.85rem;font-size:.94rem;color:var(--mma-muted)}
.mma-section-description p:last-child{margin-bottom:0}
.mma-lead>p:first-child{margin-top:0}

/* Homepage visual controls added in v1.0.4. */

/* Homepage news list and research carousel (v1.0.5). */
.mma-latest-list{display:grid;gap:0}
.mma-latest-item{padding:0 0 12px}
.mma-latest-item+.mma-latest-item{border-top:1px solid #ececec;padding-top:12px}
.mma-latest-item:last-child{padding-bottom:0}
.mma-latest-item a{display:inline-block;margin-top:.35rem;font-size:.8rem;font-weight:650;text-decoration:none;border-bottom:1px solid #bbb}
.mma-latest-item a:hover{border-color:var(--mma-accent);color:#76651f}

.mma-research-carousel{position:relative;overflow:visible}
.mma-carousel-viewport{overflow:hidden;border:1px solid var(--mma-border);border-radius:14px;background:#fff;box-shadow:var(--mma-shadow)}
.mma-carousel-track{display:flex;will-change:transform;transition:transform .58s cubic-bezier(.22,.61,.36,1)}
.mma-research-slide{flex:0 0 100%;min-width:0;background:#fff}
.mma-research-slide-media-link{display:block;text-decoration:none;background:#f5f6f7}
.mma-research-slide-media{width:100%;height:clamp(330px,48vw,560px);display:flex;align-items:center;justify-content:center;background:#f5f6f7;overflow:hidden}
.mma-research-slide-media img,.mma-research-slide-media video,.mma-research-slide-media iframe{display:block;width:100%;height:100%;border:0;background:#f5f6f7}
.mma-research-slide-media img,.mma-research-slide-media video{object-fit:contain}
.mma-research-slide-title{border-top:1px solid var(--mma-border);padding:19px 72px 20px 24px;background:#fff}
.mma-research-slide-title h3{font-size:var(--mma-home-card-title-size,17px);line-height:1.3;letter-spacing:-.015em;margin:0}
.mma-research-slide-title a{text-decoration:none}
.mma-research-slide-title a:hover{color:#76651f}
.mma-carousel-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f3f3f3,#e8e8e8);font-size:4rem;color:#c1c3c5;font-weight:800}
.mma-carousel-arrow{position:absolute;z-index:5;top:calc(50% - 34px);width:46px;height:46px;border-radius:999px;border:1px solid rgba(255,255,255,.55);background:rgba(23,25,28,.78);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.35rem;line-height:1;cursor:pointer;box-shadow:0 5px 20px rgba(0,0,0,.16);transition:background .16s ease,transform .16s ease}
.mma-carousel-arrow:hover,.mma-carousel-arrow:focus-visible{background:rgba(23,25,28,.96);transform:scale(1.04);outline:none}
.mma-carousel-prev{left:16px}.mma-carousel-next{right:16px}
.mma-carousel-dots{display:flex;justify-content:center;gap:8px;padding:15px 0 0}
.mma-carousel-dot{width:9px;height:9px;border-radius:999px;border:0;background:#c9c9c9;padding:0;cursor:pointer;transition:width .18s ease,background .18s ease}
.mma-carousel-dot.is-active{width:26px;background:var(--mma-dark)}
.mma-research-carousel.is-paused .mma-carousel-dot.is-active{background:var(--mma-accent)}

@media (max-width:760px){
  .mma-latest{grid-template-columns:1fr;gap:8px}
  .mma-research-slide-media{height:clamp(240px,68vw,390px)}
  .mma-research-slide-title{padding:16px 58px 17px 18px}
  .mma-carousel-arrow{width:40px;height:40px;top:calc(50% - 30px)}
  .mma-carousel-prev{left:10px}.mma-carousel-next{right:10px}
}

@media (prefers-reduced-motion:reduce){
  .mma-carousel-track{transition:none}
}

/* v1.0.18 Research page: large centered scientific media */
.mma-research-project .mma-project-copy{max-width:980px;margin:0 auto}
.mma-research-project .mma-project-gallery{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:28px;
    margin:30px auto 0;
    width:100%;
}
.mma-research-project .mma-project-media{
    width:min(100%, 980px);
    margin:0 auto;
    text-align:center;
}
.mma-research-project .mma-project-media img,
.mma-research-project .mma-project-media video{
    display:block;
    width:auto;
    max-width:100%;
    max-height:none;
    height:auto;
    margin:0 auto;
    object-fit:contain;
    border-radius:8px;
}
.mma-research-project .mma-project-media iframe{
    display:block;
    width:100%;
    max-width:980px;
    aspect-ratio:16/9;
    height:auto;
    margin:0 auto;
    border:0;
    border-radius:8px;
}
.mma-research-project .mma-project-media figcaption{
    max-width:900px;
    margin:10px auto 0;
    text-align:center;
    color:var(--mma-muted);
    font-size:.9rem;
}
@media (max-width:720px){
    .mma-research-groups{gap:54px}
    .mma-research-group-title{font-size:1.65rem}
    .mma-research-project{padding:32px 0}
}

/* v1.0.19 Team page: neutralize old Pulse/WordPress image spacing */
.mma-team-content .alignleft,
.mma-team-content .alignright,
.mma-team-content .aligncenter,
.mma-team-content .alignnone{
    float:none!important;
    clear:both!important;
    display:block!important;
    margin:1.75rem auto!important;
}
.mma-team-content p:has(> img:only-child){
    margin:1.75rem auto!important;
    padding:0!important;
    max-width:780px;
}
.mma-team-content p:has(> .wp-caption:only-child),
.mma-team-content div:has(> .wp-caption:only-child){
    margin:0!important;
    padding:0!important;
    min-height:0!important;
}

/* v1.0.21 Team page: enforce compact spacing between legacy caption blocks */
.mma-team-content figure.wp-caption,
.mma-team-content .wp-caption{
    margin-top:1.5rem!important;
    margin-bottom:1.5rem!important;
    padding-top:0!important;
    padding-bottom:0!important;
    min-height:0!important;
}
.mma-team-content figure.wp-caption + figure.wp-caption,
.mma-team-content .wp-caption + .wp-caption{
    margin-top:1.5rem!important;
}
.mma-team-content figure.wp-caption + p,
.mma-team-content .wp-caption + p{
    margin-top:.8rem;
}
.mma-team-content p[style*="height"],
.mma-team-content div[style*="height"]{
    min-height:0!important;
}

/* v1.0.22 Team page safe spacing reset */
.mma-team-content .wp-caption,
.mma-team-content figure.wp-caption,
.mma-team-content figure{
    display:block!important;
    float:none!important;
    clear:both!important;
    max-width:780px!important;
    width:auto!important;
    margin:1.5rem auto!important;
    padding:0!important;
    min-height:0!important;
}
.mma-team-content .wp-caption img,
.mma-team-content figure img{
    display:block!important;
    width:auto!important;
    max-width:100%!important;
    height:auto!important;
    margin:0 auto!important;
}
.mma-team-content .wp-caption-text,
.mma-team-content figcaption{
    margin:.5rem 0 0!important;
    padding:0!important;
}
.mma-team-content p:empty,
.mma-team-content div:empty{
    display:none!important;
    height:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
}

/* v1.0.23 Team page: clean separate photo gallery */
.mma-team-gallery{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:34px;
    margin-top:42px;
}
.mma-team-gallery-item{
    display:block;
    width:min(100%, 760px);
    margin:0 auto!important;
    padding:0!important;
    float:none!important;
    clear:both!important;
}
.mma-team-gallery-item img{
    display:block;
    width:100%;
    height:auto;
    max-width:100%;
    margin:0 auto;
    border-radius:8px;
}
.mma-team-gallery-item figcaption{
    margin:.6rem 0 0;
    padding:0;
    text-align:center;
    color:var(--mma-muted);
    font-size:.84rem;
    font-style:italic;
}

/* v1.0.24 Team gallery is the only Team-image renderer */
.mma-team-gallery{
    width:100%;
}
.mma-team-gallery-item{
    width:min(100%, 820px)!important;
}
.mma-team-gallery-item img{
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    object-fit:contain!important;
}
.mma-team-gallery-item figcaption{
    text-align:center!important;
    margin-top:.65rem!important;
}


/* v1.0.26 — Team text and Team gallery are two clean adjacent sections */
.mma-team-content{
    margin-bottom:0!important;
    padding-bottom:0!important;
}
.mma-team-gallery{
    margin-top:2.25rem!important;
}
.mma-team-content + .mma-team-gallery{
    margin-top:2.25rem!important;
}

/* v1.0.27 Team page stable text + gallery layout */
.mma-team-content{
    display:block!important;
    margin:0!important;
    padding:0!important;
}
.mma-team-content + .mma-team-gallery{
    margin-top:2.5rem!important;
}
.mma-team-gallery{
    margin-bottom:0!important;
}

/* v1.0.29 Header navigation cleanup */
.mma-brand{
    cursor:default;
    user-select:text;
}


/* v1.0.34 — consistent captions for every Research media type */
.mma-research-project .mma-project-media{
    display:block;
    width:min(100%, 980px);
    margin:0 auto;
    text-align:center;
}
.mma-research-project .mma-project-media video,
.mma-research-project .mma-project-media img{
    display:block;
    margin:0 auto;
}
.mma-research-project .mma-project-media .mma-video-embed{
    width:100%;
    margin:0 auto;
}
.mma-research-project .mma-project-media figcaption{
    display:block;
    width:100%;
    max-width:900px;
    margin:10px auto 0;
    text-align:center;
    color:var(--mma-muted);
    font-size:.9rem;
    font-style:normal;
}
