/* MFUB Academic Profiles 1.2 — scoped against Avada global headings */
.mfub-ap,.mfub-ap-directory{--navy:#0b2942;--blue:#12568d;--gold:#fdcf0c;font-family:Arial,Helvetica,sans-serif;color:#243444;box-sizing:border-box}
.mfub-ap *,.mfub-ap-directory *{box-sizing:border-box}
.mfub-ap{background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 12px 44px rgba(11,41,66,.08)}
.mfub-ap .mfub-ap-hero{background:linear-gradient(125deg,#0b2942,#12568d);padding:38px 34px;color:#fff}
.mfub-ap .mfub-ap-hero-inner{max-width:1100px;margin:auto;display:grid;grid-template-columns:minmax(150px,220px) minmax(0,1fr);gap:36px;align-items:center}
.mfub-ap .mfub-ap-portrait{width:100%;border:2px solid #fdcf0c;border-radius:14px;overflow:hidden;background:#173c59;aspect-ratio:3/4;max-height:310px}
.mfub-ap .mfub-ap-photo,.mfub-ap-directory .mfub-ap-photo{width:100%;height:100%;object-fit:cover;object-position:center 25%;display:block}
.mfub-ap .mfub-ap-placeholder{height:100%;display:flex;align-items:center;justify-content:center;color:#fdcf0c}
.mfub-ap .mfub-ap-eyebrow{display:block;font:700 11px/1.5 Montserrat,Arial,sans-serif;letter-spacing:1.5px;color:#fdcf0c}
body .mfub-ap .mfub-ap-hero h1.mfub-ap-name{display:block!important;font-family:Montserrat,Arial,sans-serif!important;font-size:clamp(26px,3vw,39px)!important;font-weight:700!important;line-height:1.22!important;letter-spacing:-.5px!important;color:#fff!important;text-transform:none!important;text-shadow:none!important;margin:13px 0 13px!important;padding:0!important;overflow-wrap:break-word}
.mfub-ap .mfub-ap-rank{font:600 18px/1.5 Montserrat,Arial,sans-serif!important;color:#fff!important;margin:0 0 20px!important}
.mfub-ap .mfub-ap-detail{font:400 14px/1.7 Arial,Helvetica,sans-serif!important;color:#edf3f7!important;margin:7px 0!important}
.mfub-ap .mfub-ap-detail strong{color:#fdcf0c!important;font-weight:700}
.mfub-ap .mfub-ap-body{max-width:1100px;margin:auto;padding:35px 34px 55px}
.mfub-ap .mfub-ap-info{background:#f2f7fa;border-radius:12px;padding:18px 22px;margin:0 0 15px;border-left:3px solid #fdcf0c}
body .mfub-ap .mfub-ap-info h2{font:700 15px/1.4 Montserrat,Arial,sans-serif!important;color:#12568d!important;margin:0 0 7px!important}
.mfub-ap .mfub-ap-info p{margin:0!important;line-height:1.7;color:#243444}
.mfub-ap .mfub-ap-section{margin:26px 0 0;padding:0 0 23px;border-bottom:1px solid #e8edf1}
body .mfub-ap .mfub-ap-section h2{font:700 22px/1.4 Montserrat,Arial,sans-serif!important;color:#0b2942!important;margin:0 0 9px!important;text-transform:none!important}
.mfub-ap .mfub-ap-rule{height:3px;width:42px;background:#fdcf0c;border-radius:4px;margin-bottom:16px}
.mfub-ap .mfub-ap-prose{font:400 15.5px/1.85 Arial,Helvetica,sans-serif;color:#243444;overflow-wrap:anywhere;white-space:pre-line}
.mfub-ap .mfub-ap-prose p{margin:0 0 12px!important;white-space:pre-line}
.mfub-ap .mfub-ap-orcid{margin:0 0 14px;color:#243444}
.mfub-ap .mfub-ap-orcid a{color:#12568d;text-decoration:underline}
.mfub-ap .mfub-ap-stat{display:flex;gap:14px;align-items:center;background:#f2f7fa;border-radius:12px;padding:16px 22px;margin:25px 0 10px}
.mfub-ap .mfub-ap-stat strong{font:700 30px/1.1 Montserrat,Arial,sans-serif;color:#12568d}
.mfub-ap .mfub-ap-stat span{font-size:15px;font-weight:600}
.mfub-ap .mfub-ap-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.mfub-ap .mfub-ap-links a{display:inline-block;background:#12568d;color:white!important;padding:10px 16px;border-radius:8px;text-decoration:none}
.mfub-ap-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.mfub-ap-directory .mfub-ap-card{display:block;text-decoration:none!important;color:#0b2942!important;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 8px 30px rgba(11,41,66,.12);transition:transform .2s,box-shadow .2s}
.mfub-ap-directory .mfub-ap-card:hover{transform:translateY(-4px);box-shadow:0 15px 40px rgba(11,41,66,.18)}
.mfub-ap-directory .mfub-ap-card-image{height:300px;background:#0b2942}
.mfub-ap-directory .mfub-ap-card-info{padding:22px}
body .mfub-ap-directory .mfub-ap-card-info h3{font:700 18px/1.4 Montserrat,Arial,sans-serif!important;color:#0b2942!important;margin:0 0 8px!important}
.mfub-ap-directory .mfub-ap-card-info p{margin:0 0 8px;color:#12568d}
.mfub-ap-directory .mfub-ap-card-info span{font-size:13px;color:#617487}
@media(max-width:850px){.mfub-ap-directory{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.mfub-ap .mfub-ap-hero{padding:28px 18px}.mfub-ap .mfub-ap-hero-inner{grid-template-columns:1fr;gap:20px}.mfub-ap .mfub-ap-portrait{width:min(65%,200px);margin:auto}.mfub-ap .mfub-ap-hero-text{text-align:center}body .mfub-ap .mfub-ap-hero h1.mfub-ap-name{font-size:27px!important}.mfub-ap .mfub-ap-body{padding:24px 17px 40px}.mfub-ap-directory{grid-template-columns:1fr}.mfub-ap-directory .mfub-ap-card-image{height:350px}.mfub-ap .mfub-ap-stat{flex-wrap:wrap}}

/* v1.2.1: ORCID number + separate action */
.mfub-ap .mfub-ap-orcid{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;margin:0 0 18px}
.mfub-ap .mfub-ap-orcid-number{font-size:15px;color:#243444;overflow-wrap:anywhere}
body .mfub-ap a.mfub-ap-orcid-button{display:inline-flex;align-items:center;justify-content:center;background:#12568d!important;color:#fff!important;font:700 13px/1.4 Montserrat,Arial,sans-serif!important;text-decoration:none!important;border-radius:8px;padding:11px 17px;transition:background .2s}
body .mfub-ap a.mfub-ap-orcid-button:hover,body .mfub-ap a.mfub-ap-orcid-button:focus{background:#0b2942!important;color:#fff!important}

/* v1.3.0 – sekcije, socijalni linkovi i obostrano poravnanje */
.mfub-ap .mfub-ap-prose p{text-align:justify;text-justify:inter-word;hyphens:auto}
.mfub-ap .mfub-ap-social{display:grid;gap:12px;margin:20px 0 28px}
.mfub-ap .mfub-ap-social-item{display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center;background:#f2f7fa;border-left:3px solid #fdcf0c;border-radius:10px;padding:14px 18px;overflow-wrap:anywhere}
.mfub-ap .mfub-ap-social-item span{color:#243444}
body .mfub-ap a.mfub-ap-social-button{display:inline-flex;align-items:center;justify-content:center;background:#12568d!important;color:#fff!important;font:700 13px/1.4 Montserrat,Arial,sans-serif!important;text-decoration:none!important;border-radius:8px;padding:10px 16px}
body .mfub-ap a.mfub-ap-social-button:hover,body .mfub-ap a.mfub-ap-social-button:focus{background:#0b2942!important;color:#fff!important}
@media(max-width:650px){.mfub-ap .mfub-ap-prose p{text-align:left}.mfub-ap .mfub-ap-social-item{align-items:flex-start;flex-direction:column}}

/* v1.3.1 – compact SCI count immediately below selected bibliography heading */
.mfub-ap .mfub-ap-section .mfub-ap-stat{display:inline-flex;max-width:100%;gap:9px;align-items:center;padding:9px 14px;margin:4px 0 19px;border-radius:9px;background:#f2f7fa;}
.mfub-ap .mfub-ap-section .mfub-ap-stat span{font:600 13px/1.4 Montserrat,Arial,sans-serif;}
.mfub-ap .mfub-ap-section .mfub-ap-stat strong{font:700 20px/1.2 Montserrat,Arial,sans-serif;}
@media(max-width:650px){.mfub-ap .mfub-ap-section .mfub-ap-stat{padding:8px 11px;gap:7px}.mfub-ap .mfub-ap-section .mfub-ap-stat span{font-size:12px}.mfub-ap .mfub-ap-section .mfub-ap-stat strong{font-size:18px}}
