.mf-bio-event-content{--mf-bio-accent:var(--wd-primary-color,#c90012)}
.mf-bio-event-content .mf-bio-photo-link,.mf-bio-event-content .mf-bio-photo-link img,.mf-bio-event-content .mf-bio-event-grid{border-radius:0!important;box-shadow:none!important}
.mf-bio-event-content .mf-bio-photo-link{cursor:zoom-in;isolation:isolate;display:block!important}
.mf-bio-event-content .mf-bio-photo-link img{transition:transform .35s ease;object-fit:cover!important}
.mf-bio-v12 .mf-bio-event-nav a{padding:8px 0;transition:color .2s ease}
.mf-bio-v12 .mf-bio-section-title h2{position:relative;padding-left:17px}
.mf-bio-v12 .mf-bio-section-title h2:before{content:'';position:absolute;left:0;top:.12em;bottom:.12em;width:3px;background:var(--mf-bio-accent)}
.mf-bio-v12 .mf-bio-event-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
.mf-bio-v12 .mf-bio-zoom{transition:background .2s,color .2s;z-index:1;pointer-events:none}
.mf-bio-event-content a:focus-visible{outline:2px solid var(--mf-bio-accent);outline-offset:3px}
@media(hover:hover){.mf-bio-event-content .mf-bio-photo-link:hover img{transform:scale(1.035)}.mf-bio-v12 .mf-bio-photo-link:hover .mf-bio-zoom{background:var(--mf-bio-accent)!important;color:white!important}.mf-bio-v12 .mf-bio-event-nav a:hover{color:var(--mf-bio-accent)!important}}
@media(max-width:1000px){.mf-bio-v12 .mf-bio-event-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:600px){.mf-bio-v12 .mf-bio-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.mf-bio-v12 .mf-bio-event-section{margin-bottom:38px!important}.mf-bio-v12 .mf-bio-section-title{margin-bottom:22px!important}.mf-bio-v12 .mf-bio-event-nav{gap:4px 18px!important;margin-bottom:26px!important}}
.mf-bio-gallery-modal{position:fixed!important;inset:0!important;width:100%!important;height:100%!important;height:100dvh!important;max-width:none!important;max-height:none!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:#101010!important;color:#fff!important;overflow:hidden!important;z-index:2147483647!important;box-sizing:border-box!important;font-family:inherit;display:none!important}
.mf-bio-gallery-modal.is-active{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto;gap:0}
.mf-bio-gallery-modal::backdrop{background:#101010}
.mf-bio-gallery-top{display:flex;align-items:center;justify-content:space-between;padding:12px 24px;gap:20px;border-bottom:1px solid #ffffff20}
.mf-bio-gallery-title{font-size:15px;font-weight:500;line-height:1.4;color:#fff}
.mf-bio-gallery-stage{position:relative;min-height:0;display:flex;align-items:center;justify-content:center;padding:12px 76px;overflow:hidden;touch-action:pan-y}
.mf-bio-gallery-modal .mf-bio-gallery-picture{display:block!important;max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;border-radius:0!important;box-shadow:none!important;margin:0!important}
.mf-bio-gallery-modal button{appearance:none!important;display:grid!important;place-items:center!important;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;padding:0!important;margin:0!important;border:1px solid #ffffff50!important;border-radius:0!important;background:#191919!important;color:#fff!important;font-size:34px!important;font-family:Arial,sans-serif!important;font-weight:400!important;line-height:1!important;box-shadow:none!important;cursor:pointer!important;flex:none!important}
.mf-bio-gallery-modal button:hover,.mf-bio-gallery-modal button:focus-visible{background:var(--wd-primary-color,#c90012)!important;color:#fff!important;outline:1px solid #fff;outline-offset:2px}
.mf-bio-gallery-prev,.mf-bio-gallery-next{position:absolute!important;top:50%;transform:translateY(-50%);z-index:2}.mf-bio-gallery-prev{left:16px}.mf-bio-gallery-next{right:16px}
.mf-bio-gallery-count{text-align:center;font-size:13px;color:#fff;padding:15px 12px max(15px,env(safe-area-inset-bottom));border-top:1px solid #ffffff20;line-height:1.4}
.mf-bio-gallery-error{text-align:center;color:#fff}.mf-bio-gallery-error a{color:#fff;text-decoration:underline}
.mf-bio-gallery-modal [hidden]{display:none!important}
@media(max-width:600px){.mf-bio-gallery-top{padding:8px 12px}.mf-bio-gallery-stage{padding:8px 4px 62px}.mf-bio-gallery-prev,.mf-bio-gallery-next{top:auto;bottom:7px;transform:none}.mf-bio-gallery-prev{left:calc(50% - 56px)}.mf-bio-gallery-next{right:calc(50% - 56px)}}
@media(prefers-reduced-motion:reduce){.mf-bio-event-content .mf-bio-photo-link img,.mf-bio-v12 .mf-bio-zoom{transition:none!important}}
