/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Child theme of Hello Elementor for MPE. Put custom styles and functions here.
Author: MPE
Template: hello-elementor
Version: 1.0.2
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/*
 * All custom CSS for the site lives in this file. Do not add CSS in Elementor
 * (Site Settings, page settings or widget Custom CSS) or in the Customizer.
 *
 * Never target Elementor's generated classes (.elementor-40, .elementor-element-4f478db):
 * they change when a section is copied to another page. Give the section or widget an
 * mpe-* class instead (Advanced > CSS Classes) and style that class here.
 *
 * ".elementor .elementor-element.mpe-x" keeps the same weight as Elementor's own widget
 * styles, so these rules win over the panel settings they adjust.
 */

/* ==========================================================================
   Global
   ========================================================================== */

/* arrow icon sizes: one SVG arrow (Figma 295:77) at the four sizes the design uses */
.mpe-btn .elementor-button-icon svg{height:auto}
.mpe-arw-20 .elementor-button-icon svg{width:20px}
.mpe-arw-15 .elementor-button-icon svg{width:15px}
.mpe-arw-12 .elementor-button-icon svg{width:12.4px}
.mpe-arw-10 .elementor-button-icon svg{width:10px}
.mpe-btn .elementor-button-icon{display:flex;align-items:center;margin-top:1px}
.mpe-tlink .elementor-button{min-height:0;background:transparent}
.mpe-btn .elementor-button{transition:background-color .2s,color .2s,border-color .2s}
.mpe-btn .elementor-button-content-wrapper{align-items:center}
/* arrow nudges right on button hover / keyboard focus */
.mpe-btn .elementor-button-icon{transition:transform .25s ease}
.mpe-btn .elementor-button:is(:hover,:focus-visible) .elementor-button-icon{transform:translateX(5px)}
@media (prefers-reduced-motion:reduce){.mpe-btn .elementor-button-icon{transition:none}}
/* image widgets: no inline line box under the image (adds ~5px otherwise) */
.elementor-widget-image{line-height:0}
/* buttons: no body line box around the inline-block, never wrap the label */
.elementor-widget-button .elementor-button-wrapper,.elementor-widget-button{line-height:0}
.elementor-widget-button .elementor-button{vertical-align:top;white-space:nowrap}
/* Lato is the body face; keep headings tag-neutral */
.elementor-widget-heading .elementor-heading-title{font-feature-settings:normal}

/* keyboard focus: dark ring with a white halo, visible on light, dark and coloured backgrounds */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:not([tabindex="-1"]):focus-visible,.elementor-menu-toggle:focus-visible{outline:2px solid #2D2926;outline-offset:2px;box-shadow:0 0 0 4px #FFFFFF}
/* the skip link moves focus to <main>; no ring around the whole page */
main#content:focus{outline:0}

/* desktop-only line break inside headings */
@media(max-width:1024px){.mpe-dbr{display:none}}

/* theme templates without Elementor (search, archive, single post): 20px side gap on phones, as in the
   Elementor sections (Hello uses 10px below 576px; from 576px it centres the content in a narrower column) */
@media(max-width:575px){.page-header .entry-title,body:not([class*=elementor-page-]) .site-main{padding-inline-start:20px;padding-inline-end:20px}}

/* ==========================================================================
   Utilities (reusable on any page)
   ========================================================================== */

/* card accent: left border colour */
.elementor .elementor-element.mpe-bl-rose{border-left-color:#C97B8B}
.elementor .elementor-element.mpe-bl-orange{border-left-color:#F6A867}
.elementor .elementor-element.mpe-bl-blue{border-left-color:#257C9C}
.elementor .elementor-element.mpe-bl-slate{border-left-color:#5B6670}
.elementor .elementor-element.mpe-bl-pink{border-left-color:#EEB9B9}
.elementor .elementor-element.mpe-bl-peach{border-left-color:#FECA9E}

/* card accent: bottom border colour */
.elementor .elementor-element.mpe-bb-rose{border-bottom-color:#C97B8B}
.elementor .elementor-element.mpe-bb-blue{border-bottom-color:#257C9C}
.elementor .elementor-element.mpe-bb-plum{border-bottom-color:#8F5469}

/* rose arrow icon on a button */
.elementor .elementor-element.mpe-arw-rose .elementor-button-icon svg{fill:#C97B8B}

/* equal-height cards: grow to fill the row, push the last item to the bottom */
.elementor .elementor-element.mpe-grow{flex-grow:1}
.elementor .elementor-element.mpe-mt-auto{margin-top:auto}
.elementor .elementor-element.mpe-btn-bottom{margin-top:auto!important;padding-top:28px}
.elementor .elementor-element.mpe-btn-bottom-sm{margin-top:auto!important;padding-top:20px}

/* ==========================================================================
   Quick cards (.mpe-qcard + an mpe-bl-* accent): white by default, filled with
   the accent colour on hover and keyboard focus (Figma hover state)
   ========================================================================== */
.mpe-qcard.mpe-bl-rose{--mpe-accent:#C97B8B;--mpe-on-accent:#2D2926}
.mpe-qcard.mpe-bl-orange{--mpe-accent:#F6A867;--mpe-on-accent:#2D2926}
.mpe-qcard.mpe-bl-blue{--mpe-accent:#257C9C;--mpe-on-accent:#FFFFFF}
.mpe-qcard.mpe-bl-slate{--mpe-accent:#5B6670;--mpe-on-accent:#FFFFFF}
.mpe-qcard.mpe-bl-pink{--mpe-accent:#EEB9B9;--mpe-on-accent:#2D2926}
.mpe-qcard.mpe-bl-peach{--mpe-accent:#FECA9E;--mpe-on-accent:#2D2926}

.elementor .elementor-element.mpe-qcard{position:relative;transition:background-color .2s,border-color .2s}
/* thin white line inside the thick left border */
.elementor .elementor-element.mpe-qcard:is(:hover,:focus-within){background-color:var(--mpe-accent);border-color:var(--mpe-accent);border-left-color:#2D2926;box-shadow:none}
.elementor .elementor-element.mpe-qcard:is(:hover,:focus-within) .elementor-heading-title,
.elementor .elementor-element.mpe-qcard:is(:hover,:focus-within) .elementor-button{color:var(--mpe-on-accent)}
.elementor .elementor-element.mpe-qcard:is(:hover,:focus-within) .elementor-button-icon svg{fill:var(--mpe-on-accent)}
/* drop icon becomes the outlined white drop: white ring + white drop, the card colour shows between
   (mpe-drop-hover.png has a transparent ring, so one file works on every accent) */
.elementor .elementor-element.mpe-qcard .elementor-element.elementor-widget-image{position:relative}
.mpe-qcard .elementor-widget-image::after{content:"";position:absolute;inset:0;background:url(https://mpe.myathago.com/wp-content/uploads/2026/11/mpe-drop-hover.png) left top/100% 100% no-repeat;opacity:0;transition:opacity .2s;pointer-events:none}
.mpe-qcard .elementor-widget-image img{transition:opacity .2s}
.mpe-qcard:is(:hover,:focus-within) .elementor-widget-image img{opacity:0}
.mpe-qcard:is(:hover,:focus-within) .elementor-widget-image::after{opacity:1}

/* the whole card is clickable: the card's link stretches over it (one link, one tab stop) */
.elementor .elementor-element.mpe-qcard .elementor-element{position:static}
.mpe-qcard .mpe-tlink .elementor-button::after{content:"";position:absolute;inset:0}

@media (prefers-reduced-motion:reduce){.elementor .elementor-element.mpe-qcard,.mpe-qcard .elementor-widget-image img,.mpe-qcard .elementor-widget-image::after{transition:none}}

/* ==========================================================================
   Header
   ========================================================================== */
.mpe-utility,.mpe-navbar{position:relative}
/* social icons ([mpe_social] -> ul.mpe-social-icons; .mpe-social is the footer text menu): right end of the utility bar, and in the mobile navigation popup */
.mpe-social-icons{display:flex;align-items:center;gap:16px;margin:0;padding:0;list-style:none}
.mpe-social-icons li{margin:0}
.mpe-social-icons a{display:flex;align-items:center;justify-content:center;min-width:24px;min-height:24px;transition:opacity .2s}
.mpe-social-icons a:hover{opacity:.7}
.mpe-social-icons img{display:block;width:auto;max-width:none;height:20px}
.elementor .elementor-element.mpe-social-w{margin-left:auto}
.elementor .elementor-element.mpe-mnav-social{margin-left:0}

/* sticky navbar (Elementor Pro Sticky on .mpe-navbar): above the page content, soft shadow once the page scrolls */
.elementor .elementor-element.mpe-navbar.elementor-sticky--active{z-index:99}
.elementor .elementor-element.mpe-navbar{transition:box-shadow .2s}
.elementor .elementor-element.mpe-navbar.elementor-sticky--effects{box-shadow:0 6px 24px rgba(45,41,38,.10)}
/* keyboard focus and in-page links never land under the sticky navbar (WCAG 2.4.11) */
html{scroll-padding-top:120px}
@media(max-width:1024px){.mpe-nav-right .mpe-search{display:none}.mpe-main-menu{order:3}.mpe-navbar>.e-con-inner{align-items:center!important}}
@media(max-width:767px){.mpe-utility .mpe-util-menu .elementor-nav-menu{flex-wrap:wrap}.mpe-nav-right .elementor-widget-button{margin-left:0!important}}

/* search box */
.elementor .elementor-element.mpe-search .elementor-search-form__input{padding-left:21.86px;padding-right:0}
.elementor .elementor-element.mpe-search .elementor-search-form__input::placeholder{color:#2D2926;opacity:1}
.elementor .elementor-element.mpe-search .elementor-search-form__submit{width:45px;min-width:45px;flex:0 0 45px;background:#fff url(https://mpe.myathago.com/wp-content/uploads/2026/10/mpe-icon-search.png) no-repeat center/17px 17px!important}
.elementor .elementor-element.mpe-search .elementor-search-form__submit i,.elementor .elementor-element.mpe-search .elementor-search-form__submit svg{display:none}

/* ==========================================================================
   Footer
   ========================================================================== */
.mpe-nl-wrap,.mpe-newsletter,.mpe-footer{position:relative}
/* the grey newsletter box is the last section of each page (its own text per page, Figma) and overlaps the top of the pink footer
   with a negative bottom margin; the footer's large top padding is room for that overlap, so pages without the box get a normal one */
body:not(:has(.mpe-nl-wrap)) .elementor .elementor-element.mpe-footer-inner{min-height:0!important}
body:not(:has(.mpe-nl-wrap)) .elementor .elementor-element.mpe-footer-inner>.e-con-inner{padding-top:80px!important}
@media(max-width:1024px){body:not(:has(.mpe-nl-wrap)) .elementor .elementor-element.mpe-footer-inner>.e-con-inner{padding-top:64px!important}}
@media(max-width:767px){body:not(:has(.mpe-nl-wrap)) .elementor .elementor-element.mpe-footer-inner>.e-con-inner{padding-top:48px!important}}
.mpe-flinks .elementor-icon-list-item a{color:inherit}
.mpe-footer>.mpe-footer-inner{width:calc(100% + 2px)!important;max-width:none!important}
@media(max-width:767px){.mpe-footer-inner>.e-con-inner{gap:0}}

/* newsletter form: Gravity Forms "Newsletter" (shortcode widget .mpe-nl-gf in each page's newsletter box) */
/* label kept for screen readers, hidden on screen (the placeholder shows what to enter) */
.mpe-nl-gf .gform_wrapper.gravity-theme .gfield_label{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.mpe-nl-gf .gform_wrapper.gravity-theme .gform_fields{display:block}
.mpe-nl-gf .gform_wrapper.gravity-theme input[type=email]{width:100%;height:79px;margin:0;padding:0 30px;background:rgba(255,255,255,.08);border:1.3125px solid rgba(255,255,255,.18);border-radius:0;color:#FFFFFF;font:400 18.11px/1.2 Lato,sans-serif}
.mpe-nl-gf .gform_wrapper.gravity-theme input[type=email]::placeholder{color:#FFFFFF;opacity:1}
.mpe-nl-gf .gform_wrapper.gravity-theme .gform_footer{margin:23px 0 0;padding:0}
.mpe-nl-gf .gform_wrapper.gravity-theme .gform_footer :is(input[type=submit],button.gform_button){margin:0;letter-spacing:.36px;padding:18.1px 38px 18.1px 39px;min-height:0;border:0;border-radius:1000px;background:#8F5469;color:#FFFFFF;font:400 18.1125px/21.8px "Varela Round",sans-serif;cursor:pointer;transition:background-color .2s}
.mpe-nl-gf .gform_wrapper.gravity-theme .gform_footer :is(input[type=submit],button.gform_button):is(:hover,:focus-visible){background:#5E3544}
/* messages on the dark box */
.mpe-nl-gf .gform_confirmation_message{color:#FFFFFF;font:500 20px/30px Lato,sans-serif}
/* form-level error summary: hidden on screen, kept for screen readers (the field message below the input says what to fix) */
.mpe-nl-gf .gform_wrapper.gravity-theme .gform_validation_errors{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* field message: plain text on the dark box, light red so it keeps WCAG contrast */
.mpe-nl-gf .gform_wrapper.gravity-theme .gfield_validation_message{margin:10px 0 0;padding:0;background:none;border:0;color:#FFC4BA;font:400 15px/1.4 Lato,sans-serif}

/* full-width rule above the copyright line */
.elementor .elementor-element.mpe-footer-rule{max-width:none!important}

/* ==========================================================================
   Home
   ========================================================================== */
.mpe-hero .mpe-hl{color:var(--e-global-color-accent)}
.mpe-hero{overflow:visible}
@media(max-width:1024px){.mpe-hero>.e-con-inner{padding-bottom:0}}

/* hero photo: absolute on desktop, full-bleed under the text below 1025px */
@media(max-width:1024px){.elementor .elementor-element.mpe-hero-img{position:relative!important;inset:auto!important;width:calc(100% + 64px)!important;max-width:none!important;margin:48px -32px 0 -32px!important}.elementor .elementor-element.mpe-hero-img img{width:100%!important}}
@media(max-width:767px){.elementor .elementor-element.mpe-hero-img{width:calc(100% + 40px)!important;margin:40px -20px 0 -20px!important}}

/* "Support the community" photo card: dark fade behind the text */
.elementor .elementor-element.mpe-wbig::before{background-image:linear-gradient(180deg,rgba(102,102,102,0.000) 0.0%,rgba(89,89,89,0.125) 12.5%,rgba(76,76,76,0.250) 25.0%,rgba(64,64,64,0.375) 37.5%,rgba(51,51,51,0.500) 50.0%,rgba(38,38,38,0.625) 62.5%,rgba(26,26,26,0.750) 75.0%,rgba(13,13,13,0.875) 87.5%,rgba(0,0,0,1.000) 100.0%)!important}

/* Atlas map image */
/* tablet / phone: the whole map (938 x 455) sits across the bottom of the card, in the space kept by the card padding-bottom */
@media(max-width:1024px){.elementor .elementor-element.mpe-atlas-map{left:auto!important;right:0!important;top:auto!important;bottom:0!important;width:100%!important;max-width:none!important}.elementor .elementor-element.mpe-atlas-map img{width:100%!important}}
@media(max-width:767px){.elementor .elementor-element.mpe-atlas-map{width:120%!important;right:-10%!important}}

/* European Myeloma Day band: solid plum under the gradient, so the cream text keeps its
   contrast where the gradient is not drawn (forced colours, contrast checkers) */
.elementor .elementor-element.mpe-emd:not(.elementor-motion-effects-element-type-background){background-color:#8F5469}

/* European Myeloma Day arcs */
@media(max-width:1024px){.elementor .elementor-element.mpe-emd-arcs{top:auto!important;bottom:0!important;width:300px!important}.elementor .elementor-element.mpe-emd-arcs img{width:100%!important}}
/* the arcs PNG has its own dark ground: fade its left and top edges into the gradient so no box shows */
@media(max-width:1024px){.elementor .elementor-element.mpe-emd-arcs img{-webkit-mask-image:linear-gradient(90deg,transparent,#000 30%),linear-gradient(180deg,transparent,#000 30%);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent,#000 30%),linear-gradient(180deg,transparent,#000 30%);mask-composite:intersect}}

/* ==========================================================================
   News & events cards (JetEngine listings "MPE News – Featured card" / "MPE News – Card")
   ========================================================================== */

/* listing grids are <ul>/<li> for screen readers; no bullets or indent */
ul.jet-listing-grid__items{list-style:none;margin:0;padding:0}
li.jet-listing-grid__item{margin:0}

/* the featured card fills its grid cell */
.mpe-nfeat{height:100%}

/* card colours: white by default, change the three variables for a variant */
.mpe-ncard{--mpe-card-bg:#FFFFFF;--mpe-card-fg:var(--e-global-color-text);--mpe-card-tag:var(--e-global-color-primary);background-color:var(--mpe-card-bg);height:100%}
.elementor .elementor-element.mpe-ncard .elementor-heading-title{color:var(--mpe-card-fg)}
.elementor .elementor-element.mpe-ncard .mpe-card-meta .elementor-heading-title{color:var(--mpe-card-tag)}
.mpe-ncard .elementor-button,.mpe-ncard .elementor-button:hover,.mpe-ncard .elementor-button:focus{color:var(--mpe-card-tag)}
.mpe-ncard .elementor-button-icon svg{fill:var(--mpe-card-tag)}

/* colour cycle for any card grid with the class "mpe-ncards-colour": plum, orange, blue.
   Orange uses dark text: white on #FDA357 fails WCAG contrast (2:1). */
.mpe-ncards-colour .jet-listing-grid__item:nth-child(3n+1) .mpe-ncard{--mpe-card-bg:var(--e-global-color-primary);--mpe-card-fg:#FFFFFF;--mpe-card-tag:#FFFFFF}
.mpe-ncards-colour .jet-listing-grid__item:nth-child(3n+2) .mpe-ncard{--mpe-card-bg:#FDA357;--mpe-card-fg:#2D2926;--mpe-card-tag:#2D2926}
.mpe-ncards-colour .jet-listing-grid__item:nth-child(3n+3) .mpe-ncard{--mpe-card-bg:#257C9C;--mpe-card-fg:#FFFFFF;--mpe-card-tag:#FFFFFF}

/* "Read story" sits on the card bottom, so it lines up across a row whatever the title length (min. gap = the old top margin) */
.elementor .elementor-element.mpe-ncard>.elementor-element.mpe-btn{margin-top:auto!important;padding-top:34.6px}
.elementor .elementor-element.mpe-nfeat>.elementor-element.mpe-btn{margin-top:auto!important;padding-top:24.2px}
/* webinar cards (listing "MPE Event – Webinar card" on the Patients and carers hub): equal height, "View event" on the bottom */
.mpe-pch-wgrid .jet-listing-grid__item>.elementor{height:100%}
.elementor .elementor-element.mpe-pch-wcard{height:100%}
.elementor .elementor-element.mpe-pch-wcard-body{flex-grow:1}
.elementor .elementor-element.mpe-pch-wcard-body>.elementor-element.mpe-btn{margin-top:auto!important;padding-top:45px}
@media(max-width:1024px){.elementor .elementor-element.mpe-pch-wcard-body>.elementor-element.mpe-btn{padding-top:28px}}
/* desktop: the featured card and the three side cards end on the same line (Figma); the side cards share the height equally */
@media(min-width:1025px){
.elementor .elementor-element.mpe-news-feat,.e-con:has(>.elementor-element.mpe-news-side){align-self:stretch}
.elementor .elementor-element.mpe-news-side{flex:1 1 auto}
:is(.mpe-news-feat,.mpe-news-side)>.jet-listing-grid{height:100%;display:flex;flex-direction:column}
:is(.mpe-news-feat,.mpe-news-side) .jet-listing-grid__items{flex:1 1 auto;flex-direction:column;flex-wrap:nowrap}
:is(.mpe-news-feat,.mpe-news-side) .jet-listing-grid__item{flex:1 1 0!important;max-width:none!important;display:flex;flex-direction:column}
:is(.mpe-news-feat,.mpe-news-side) .jet-listing-grid__item>.elementor{flex:1 1 auto;display:flex;flex-direction:column}
:is(.mpe-news-feat,.mpe-news-side) .jet-listing-grid__item>.elementor>.e-con{flex:1 1 auto}
}

/* ==========================================================================
   Patients and Carers Hub
   ========================================================================== */
.mpe-pch-hero{overflow:visible}
/* cards that grow to equal height inside a row */
.mpe-pch-mcard,.mpe-pch-wcard,.mpe-pch-rcard,.mpe-pch-quick .mpe-qcard{height:auto}

/* hero photo below 1025px (Patients Hub, Information and support) */
@media(max-width:1024px){.elementor .elementor-element:is(.mpe-pch-hero-img,.mpe-info-hero-img){position:relative!important;inset:auto!important;width:min(560px, 75%)!important;max-width:none!important;margin:48px -32px 0 auto!important}.elementor .elementor-element:is(.mpe-pch-hero-img,.mpe-info-hero-img) img{width:100%!important}}
@media(max-width:767px){.elementor .elementor-element:is(.mpe-pch-hero-img,.mpe-info-hero-img){width:88%!important;margin:40px -20px 0 auto!important}}

/* ---------- Mega menu: JetMenu "Mega Menu" widget in header 31 (desktop), panels are jet-menu posts 279–282 (Figma 300:355 / 789 / 1197 / 1626) ---------- */
.mpe-mm-orange{--mm-c:#FDA357}.mpe-mm-blue{--mm-c:#2983A4}.mpe-mm-rose{--mm-c:#8F5469}
/* top level looks like the old Elementor nav menu; JetMenu reads these --jmm-* variables */
.mpe-megamenu .jet-mega-menu{--jmm-top-items-ver-padding:0;--jmm-top-items-hor-padding:0;--jmm-top-items-gap:21px;--jmm-sub-menu-bg-color:transparent;--jmm-mega-container-ver-padding:0;--jmm-mega-container-hor-padding:0;--jmm-sub-menu-offset:35px}
.mpe-megamenu .jet-mega-menu.jet-mega-menu--layout-horizontal .jet-mega-menu-list{flex-wrap:nowrap}
.mpe-megamenu .jet-mega-menu-item__label{white-space:nowrap;font:500 18.1125px/28.9px Lato,sans-serif;color:#58686F;transition:color .2s}
.mpe-megamenu .jet-mega-menu-item:is(:hover,:focus-within,.jet-mega-menu-item--hover) .jet-mega-menu-item__label{color:#8F5469}
.mpe-megamenu .jet-mega-menu-item__dropdown{display:none}
/* the panel hangs 35px below the item (bottom of the navbar); that gap is inside the mega container, so hover stays alive */
.elementor .elementor-element.mpe-mm{background:#FFFFFF;border:1px solid rgba(45,41,38,.12);border-top:0;border-radius:0 0 25px 25px;flex-wrap:nowrap}
/* column heading + link lists */
.elementor .elementor-element.mpe-mm-h{border-bottom:1.17px solid #8F5469;padding-bottom:6px;margin-bottom:8px}
.elementor .elementor-element.mpe-mm-h .elementor-heading-title{font:400 19.6px/31.35px "Varela Round",sans-serif;color:#2D2926}
.elementor .elementor-element.mpe-mm-h-blue{border-bottom-color:#257C9C}
/* link rows (Figma 2026-11-18): 60px rows with an icon (li class mm-i-<name> -> assets/mm/i/<panel>-<name>.svg) */
.mpe-mm-list ul{list-style:none;margin:0;padding:0}
.mpe-mm-list li{margin:0}
.mpe-mm-list a{display:block;padding:10px 0 9px;font:400 17.5px/40px Lato,sans-serif;color:#2D2926;text-decoration:none;border-bottom:1px solid rgba(0,0,0,.07);background:no-repeat 0 50%;transition:color .2s}
.mpe-mm-list li[class*="mm-i-"]>a{padding-left:30px}
.mpe-mm-list a:hover{color:#8F5469}
.mpe-mm-info .mpe-mm-list a{font-size:16.6px;color:#212529}
.mpe-mm-info .mpe-mm-list a:hover{color:#8F5469}
/* Information and support: myeloma sub-types are short rows with a drop bullet, no dividers between them */
.mpe-mm-info .mpe-mm-list li:has(>ul)>a{padding-bottom:0;border-bottom:0}
.mpe-mm-info .mpe-mm-list ul ul{padding:0 0 12px 30px;border-bottom:1px solid rgba(0,0,0,.07)}
.mpe-mm-info .mpe-mm-list ul ul a{padding:0 0 0 30px;border:0;background:url(assets/mm/i/inf-drop.svg) no-repeat 14px 50%/10px 12px}
/* What we do / About us: sub-links sit at the same level as the others (Figma has no indent) */
.mpe-mm-list ul ul{padding:0}
.mm-i-what-m>a{background-image:url(assets/mm/i/inf-what-m.svg)}.mm-i-types>a{background-image:url(assets/mm/i/inf-types.svg)}.mm-i-related>a{background-image:url(assets/mm/i/inf-related.svg)}.mm-i-diag-m>a{background-image:url(assets/mm/i/inf-diag-m.svg)}.mm-i-treat-m>a{background-image:url(assets/mm/i/inf-treat-m.svg)}.mm-i-sym-m>a{background-image:url(assets/mm/i/inf-sym-m.svg)}.mm-i-living-m>a{background-image:url(assets/mm/i/inf-living-m.svg)}
.mm-i-what-al>a{background-image:url(assets/mm/i/inf-what-al.svg);background-position:4px 50%}.mm-i-diag-al>a{background-image:url(assets/mm/i/inf-diag-al.svg)}.mm-i-treat-al>a{background-image:url(assets/mm/i/inf-treat-al.svg)}.mm-i-sym-al>a{background-image:url(assets/mm/i/inf-sym-al.svg)}.mm-i-living-al>a{background-image:url(assets/mm/i/inf-living-al.svg)}.mm-i-trial-al>a{background-image:url(assets/mm/i/inf-trial-al.svg)}
.mm-i-ca-overview>a{background-image:url(assets/mm/i/wwd-ca-overview.svg)}.mm-i-member-support>a{background-image:url(assets/mm/i/wwd-member-support.svg)}.mm-i-scholarships>a{background-image:url(assets/mm/i/wwd-scholarships.svg)}.mm-i-campaigns>a{background-image:url(assets/mm/i/wwd-campaigns.svg)}.mm-i-emd>a{background-image:url(assets/mm/i/wwd-emd.svg)}
.mm-i-rs-overview>a{background-image:url(assets/mm/i/wwd-rs-overview.svg)}.mm-i-patient-evidence>a{background-image:url(assets/mm/i/wwd-patient-evidence.svg)}.mm-i-eu-funded>a{background-image:url(assets/mm/i/wwd-eu-funded.svg)}.mm-i-pubs-reports>a{background-image:url(assets/mm/i/wwd-pubs-reports.svg)}.mm-i-current-research>a{background-image:url(assets/mm/i/wwd-current-research.svg)}
.mm-i-inf-overview>a{background-image:url(assets/mm/i/wwd-inf-overview.svg)}.mm-i-shaping>a{background-image:url(assets/mm/i/wwd-shaping.svg)}.mm-i-eu-hta>a{background-image:url(assets/mm/i/wwd-eu-hta.svg)}.mm-i-position>a{background-image:url(assets/mm/i/wwd-position.svg)}.mm-i-publications>a{background-image:url(assets/mm/i/wwd-publications.svg)}.mm-i-partners>a{background-image:url(assets/mm/i/wwd-partners.svg)}
.mm-i-improving>a{background-image:url(assets/mm/i/wwd-improving.svg)}.mm-i-atlas>a{background-image:url(assets/mm/i/wwd-atlas.svg)}.mm-i-cee>a{background-image:url(assets/mm/i/wwd-cee.svg)}.mm-i-regulatory>a{background-image:url(assets/mm/i/wwd-regulatory.svg)}.mm-i-individual>a{background-image:url(assets/mm/i/wwd-individual.svg)}.mm-i-case>a{background-image:url(assets/mm/i/wwd-case.svg)}
.mm-i-about>a{background-image:url(assets/mm/i/ab-about.svg)}.mm-i-members>a{background-image:url(assets/mm/i/ab-members.svg)}.mm-i-board>a{background-image:url(assets/mm/i/ab-board.svg)}.mm-i-medical>a{background-image:url(assets/mm/i/ab-medical.svg)}.mm-i-research>a{background-image:url(assets/mm/i/ab-research.svg)}.mm-i-involved>a{background-image:url(assets/mm/i/ab-involved.svg)}
/* "Become a member" pill under the Information and About us lists */
.elementor .elementor-element.mpe-mm-btn{margin-top:9px;margin-left:-10px}
.elementor .elementor-element.mpe-mm-btn-full{width:100%;margin:12px 0 0}
.elementor .elementor-element.mpe-mm-btn-full .elementor-button{width:100%}
/* featured cards (Information panel) and resource cards: icon = background, number = counter, arrow = mask */
.elementor .elementor-element.mpe-mm-cards,.elementor .elementor-element.mpe-mm-rgrid{counter-reset:mm}
.elementor .elementor-element:is(.mpe-mm-card,.mpe-mm-rcard){position:relative;display:block;background:#FFFFFF no-repeat;background-size:40px 45px;text-decoration:none;counter-increment:mm;transition:background-color .2s}
.elementor .elementor-element:is(.mpe-mm-card,.mpe-mm-rcard)::before{content:counter(mm,decimal-leading-zero);content:counter(mm,decimal-leading-zero) / "";position:absolute;font:400 11.5px/18.4px "Varela Round",sans-serif;color:#5B6670}
.elementor .elementor-element:is(.mpe-mm-card,.mpe-mm-rcard)::after{content:"";position:absolute;background:var(--mm-c);-webkit-mask:url(assets/mm/arrow.svg) center/100% 100% no-repeat;mask:url(assets/mm/arrow.svg) center/100% 100% no-repeat;transition:transform .25s ease}
.elementor .elementor-element:is(.mpe-mm-card,.mpe-mm-rcard):is(:hover,:focus-visible)::after{transform:translateX(5px)}
.elementor .elementor-element:is(.mpe-mm-card,.mpe-mm-rcard):is(:hover,:focus-visible) .mpe-mm-card-title .elementor-heading-title{color:#8F5469}
.elementor .elementor-element.mpe-mm-card-title .elementor-heading-title{font-family:"Varela Round",sans-serif;font-weight:400;color:#2D2926;transition:color .2s}
.elementor .elementor-element.mpe-mm-card-desc .elementor-heading-title{font-family:Lato,sans-serif;font-weight:400;color:#5B6670}
/* Information cards (Figma 2026-11-18): no number, larger title, arrow bottom left */
.elementor .elementor-element.mpe-mm-card{min-height:183px;padding:29px 30px 52px 75px;border:1px solid var(--mm-c);border-left:16px solid var(--mm-c);border-radius:16px 26px 26px 16px/72px 26px 26px 72px;background-position:25px 31px}
.elementor .elementor-element.mpe-mm-card::before{display:none}
.elementor .elementor-element.mpe-mm-card::after{left:28px;bottom:31px;width:34px;height:7px}
.elementor .elementor-element.mpe-mm-card .mpe-mm-card-title .elementor-heading-title{font-size:25px;line-height:29.65px}
.elementor .elementor-element.mpe-mm-card .mpe-mm-card-desc .elementor-heading-title{font-size:14.5px;line-height:23px;margin-top:0}
.elementor .elementor-element.mpe-mm-card.mpe-mm-blue .mpe-mm-card-desc .elementor-heading-title{color:#257C9C}
.elementor .elementor-element.mpe-mm-rcard{min-height:102px;padding:33px 70px 22px 63px;border:1px solid var(--mm-c);border-bottom:15px solid var(--mm-c);border-radius:20px 20px 0 0;background-position:19px 32px}
.elementor .elementor-element.mpe-mm-rcard::before{left:22px;top:18px;font-size:11px}
.elementor .elementor-element.mpe-mm-rcard::after{right:58px;top:46px;width:26px;height:5px}
.elementor .elementor-element.mpe-mm-rcard .mpe-mm-card-title .elementor-heading-title{font-size:14.4px;line-height:23px}
.elementor .elementor-element.mpe-mm-rcard .mpe-mm-card-desc .elementor-heading-title{font-size:13px;line-height:18px;margin-top:2px;color:var(--mm-t,var(--mm-c))}
/* resource card descriptions take the card colour; orange text is darkened to pass WCAG AA on white */
.mpe-mm-rcard.mpe-mm-orange{--mm-t:#A65A14}.mpe-mm-rcard.mpe-mm-blue{--mm-t:#257C9C}
.elementor .elementor-element.mpe-mm-ico-stories{background-image:url(assets/mm/mpe-mm-ico-stories.svg)}.elementor .elementor-element.mpe-mm-ico-atlas{background-image:url(assets/mm/mpe-mm-ico-atlas.svg)}.elementor .elementor-element.mpe-mm-ico-trials{background-image:url(assets/mm/mpe-mm-ico-trials.svg)}
.elementor .elementor-element.mpe-mm-ico-all{background-image:url(assets/mm/mpe-mm-ico-all.svg)}.elementor .elementor-element.mpe-mm-ico-qa{background-image:url(assets/mm/mpe-mm-ico-qa.svg)}.elementor .elementor-element.mpe-mm-ico-facts{background-image:url(assets/mm/mpe-mm-ico-facts.svg)}
.elementor .elementor-element.mpe-mm-ico-guides{background-image:url(assets/mm/mpe-mm-ico-guides.svg)}.elementor .elementor-element.mpe-mm-ico-videos{background-image:url(assets/mm/mpe-mm-ico-videos.svg)}.elementor .elementor-element.mpe-mm-ico-glossary{background-image:url(assets/mm/mpe-mm-ico-glossary.svg)}
/* Information and support: two link columns | divider | three cards */
.elementor .elementor-element.mpe-mm-links{width:714px;flex:none;padding:40px 0 41px 44px;gap:52px}
.elementor .elementor-element.mpe-mm-links>.mpe-mm-col{width:272px;flex:none}
.elementor .elementor-element.mpe-mm-cards{flex:1;min-width:0;border-left:1px solid rgba(45,41,38,.12);padding:46px 34px 50px 34px;gap:36px}
/* What we do: three columns, Influence split in two lists */
.elementor .elementor-element.mpe-mm-wwd{padding:40px 42px 42px 44px;gap:52px}
.elementor .elementor-element.mpe-mm-col-ca{width:271px;flex:none}
.elementor .elementor-element.mpe-mm-col-rs{width:273px;flex:none}
.elementor .elementor-element.mpe-mm-col-inf{flex:1;min-width:0}
.elementor .elementor-element.mpe-mm-split{gap:41px;flex-wrap:nowrap}
.elementor .elementor-element.mpe-mm-split>.mpe-mm-list{flex:1;min-width:0}
/* Resources: heading + 3 x 2 cards */
.elementor .elementor-element.mpe-mm-res{padding:40px 63px 50px 52px}
.elementor .elementor-element.mpe-mm-rgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px 27px;margin-top:32px}
/* About us: links | latest news | events (JetEngine listing 278) */
.elementor .elementor-element.mpe-mm-about{padding:40px 71px 52px 63px;gap:32px}
.elementor .elementor-element.mpe-mm-col-about{width:356px;flex:none}
.mpe-mm-col-about .mpe-mm-list{max-width:251px}
/* Resources and About us panels are wider than the 1280px header row in Figma (142–1522 / 136–1514 on a 1680 frame) */
@media(min-width:1440px){.elementor .elementor-element.mpe-mm-res{width:calc(100% + 100px);max-width:none;margin-left:-58px}.elementor .elementor-element.mpe-mm-about{width:calc(100% + 98px);max-width:none;margin-left:-64px}}
.elementor .elementor-element.mpe-mm-col-feed{flex:1;min-width:0}
.mpe-mm-col-feed .mpe-mm-grid{margin-top:16px}
.elementor .elementor-element.mpe-mm-mini{align-items:center;flex-wrap:nowrap;gap:11px;min-height:86px;padding:11px;background:#FFFFFF;border:1px solid rgba(45,41,38,.12);border-radius:5.4px}
.elementor .elementor-element.mpe-mm-thumb{width:50px;flex:none}
.mpe-mm-thumb img{display:block;width:50px;height:50px;object-fit:cover;border-radius:3.6px}
.mpe-mm-thumb img[src*="mpe-logo"]{object-fit:contain;padding:5px;border:1px solid rgba(45,41,38,.12)}
.elementor .elementor-element.mpe-mm-mini-txt{flex:1;min-width:0;gap:3.6px}
.elementor .elementor-element:is(.mpe-mm-mini-title,.mpe-mm-mini-desc) .elementor-heading-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.elementor .elementor-element.mpe-mm-mini-title .elementor-heading-title{font:400 14.4px/19.8px "Varela Round",sans-serif;color:#2D2926}
.elementor .elementor-element.mpe-mm-mini-desc .elementor-heading-title{font:400 13px/17px Lato,sans-serif;color:#5B6670}
.elementor .elementor-element.mpe-mm-more .elementor-button{padding:0;min-height:0;background:none;border-radius:0;font:600 13px/17px Lato,sans-serif;color:#8F5469;text-decoration:underline;text-underline-offset:2px}
@media (prefers-reduced-motion:reduce){.elementor .elementor-element:is(.mpe-mm-card,.mpe-mm-rcard)::after{transition:none}}

/* ==========================================================================
   Information and support (Figma 146:14892)
   ========================================================================== */
.elementor .elementor-element.mpe-bl-plum{border-left-color:#8F5469}
.elementor .elementor-element.mpe-bl-amber{border-left-color:#FDA357}

/* condition tabs (Elementor nested Tabs): titles fill the 447px column, arrow drawn from the site arrow SVG */
.mpe-info-tabs .e-n-tab-title{position:relative;justify-content:flex-start;transition:background-color .2s,color .2s,border-color .2s}
.mpe-info-tabs .e-n-tab-title::after{content:"";position:absolute;right:46px;top:50%;width:17px;height:8px;margin-top:-4px;background:currentColor;-webkit-mask:url(/wp-content/uploads/mpe/mpe-arrow.svg) center/100% 100% no-repeat;mask:url(/wp-content/uploads/mpe/mpe-arrow.svg) center/100% 100% no-repeat;transition:transform .25s ease}
.mpe-info-tabs .e-n-tab-title:is(:hover,:focus-visible)::after{transform:translateX(5px)}
@media(max-width:1024px){.mpe-info-tabs .e-n-tab-title{flex:1 1 0}}
@media(max-width:767px){.mpe-info-tabs .e-n-tabs-heading{flex-direction:column}.mpe-info-tabs .e-n-tab-title::after{right:28px}}

/* topic cards: the title link covers the whole card (one link, one tab stop) */
.mpe-topic{--mpe-tc:#257C9C}
.mpe-tc-plum{--mpe-tc:#8F5469}
/* the design's rose and orange are too light for 13px text on white (WCAG 1.4.3); darker shades of the same colours */
.mpe-tc-rose{--mpe-tc:#A0566A}
.mpe-tc-orange,.mpe-tc-amber{--mpe-tc:#A65F1B}
.elementor .elementor-element.mpe-topic{position:relative;transition:box-shadow .2s}
.elementor .elementor-element.mpe-topic .elementor-element{position:static}
.mpe-topic .mpe-topic-t a::after{content:"";position:absolute;inset:0}
.elementor .elementor-element.mpe-topic-t .elementor-heading-title{font:400 25px/29px "Varela Round",sans-serif;color:#2D2926;transition:color .2s}
.elementor .elementor-element.mpe-topic-t .elementor-heading-title a{color:inherit}
.elementor .elementor-element.mpe-topic-more .elementor-heading-title{display:inline-flex;align-items:center;gap:11px;white-space:nowrap;color:var(--mpe-tc)}
.mpe-topic-more .elementor-heading-title::after{content:"";width:9px;height:4px;background:currentColor;-webkit-mask:url(/wp-content/uploads/mpe/mpe-arrow.svg) center/100% 100% no-repeat;mask:url(/wp-content/uploads/mpe/mpe-arrow.svg) center/100% 100% no-repeat;transition:transform .25s ease}
.elementor .elementor-element.mpe-topic:is(:hover,:focus-within){box-shadow:0 6px 24px rgba(45,41,38,.08)}
.elementor .elementor-element.mpe-topic:is(:hover,:focus-within) .mpe-topic-t .elementor-heading-title{color:#8F5469}
.mpe-topic:is(:hover,:focus-within) .mpe-topic-more .elementor-heading-title::after{transform:translateX(5px)}
@media(max-width:767px){.elementor .elementor-element.mpe-topic-t .elementor-heading-title{font-size:21px;line-height:26px}}

/* light paragraph on the plum / slate bands (design .78 opacity is 4.0:1, under WCAG AA; .9 passes) */
.elementor .elementor-element.mpe-on-dark-p .elementor-heading-title{font:500 21px/28.6px Lato,sans-serif;color:rgba(250,248,245,.9)}
@media(max-width:767px){.elementor .elementor-element.mpe-on-dark-p .elementor-heading-title{font-size:18px;line-height:26px}}

/* resource cards: photo on top, the card link covers the whole card */
.elementor .elementor-element.mpe-rescard{position:relative;overflow:hidden;transition:box-shadow .2s}
.elementor .elementor-element.mpe-rescard .elementor-element{position:static}
.mpe-rescard .mpe-tlink .elementor-button::after{content:"";position:absolute;inset:0}
.mpe-rescard-img img{display:block;width:100%;height:162px;object-fit:cover}
.elementor .elementor-element.mpe-rescard:is(:hover,:focus-within){box-shadow:0 6px 24px rgba(45,41,38,.10)}
@media (prefers-reduced-motion:reduce){.mpe-info-tabs .e-n-tab-title::after,.mpe-topic-more .elementor-heading-title::after{transition:none}}

/* ==========================================================================
   Members hub (Figma 146:15147)
   ========================================================================== */
.elementor .elementor-element.mpe-arw-white .elementor-button-icon svg{fill:#FFFFFF}
.elementor .elementor-element.mpe-bb-orange{border-bottom-color:#FDA357}
.elementor .elementor-element.mpe-bb-pink{border-bottom-color:#EEB9B9}
.elementor .elementor-element.mpe-bb-slate{border-bottom-color:#58686F}

/* card link colours; orange and the two pinks are darker than the design for 13px text on white (WCAG 1.4.3) */
.mpe-lc-blue{--mpe-lc:#257C9C}.mpe-lc-plum{--mpe-lc:#8F5469}.mpe-lc-slate{--mpe-lc:#58686F}
.mpe-lc-orange{--mpe-lc:#A65F1B}.mpe-lc-pink,.mpe-lc-rose{--mpe-lc:#A0566A}
.elementor .elementor-element:is(.mpe-lc-blue,.mpe-lc-plum,.mpe-lc-slate,.mpe-lc-orange,.mpe-lc-pink,.mpe-lc-rose) .elementor-button{color:var(--mpe-lc)}
.elementor .elementor-element:is(.mpe-lc-blue,.mpe-lc-plum,.mpe-lc-slate,.mpe-lc-orange,.mpe-lc-pink,.mpe-lc-rose) .elementor-button-icon svg{fill:var(--mpe-lc)}
.elementor .elementor-element.mpe-mh-scard2 .mpe-rescard-img img{height:256px}
.elementor .elementor-element.mpe-mh-acard:is(:hover,:focus-within) .elementor-heading-title,
.elementor .elementor-element.mpe-mh-scard2:is(:hover,:focus-within) h3.elementor-heading-title{color:#8F5469}

/* event intro: first line semibold */
.mpe-mh-intro strong{font-weight:600}

/* Masterclass video (Elementor Video widget, plays in a lightbox): the cover photo with the design's plum play button */
.elementor .elementor-element.mpe-mh-video .elementor-custom-embed-image-overlay{position:relative;border-radius:10px;overflow:hidden;cursor:pointer}
.elementor .elementor-element.mpe-mh-video .elementor-custom-embed-image-overlay img{display:block;width:100%;height:423px;object-fit:cover}
.elementor .elementor-element.mpe-mh-video .elementor-custom-embed-play{position:absolute;left:50%;top:50%;width:84px;height:84px;margin:0;transform:translate(-50%,-50%);border-radius:50%;background:#8F5469 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 29'%3E%3Cpath fill='%23fff' d='M24.9 12.8 2.6.3C1.3-.5 0 .5 0 1.9v25.2c0 1.5 1.3 2.4 2.6 1.6l22.3-12.5c1.3-.8 1.3-2.6 0-3.4Z'/%3E%3C/svg%3E") 54% 50%/26px 29px no-repeat;opacity:1;transition:transform .2s}
.elementor .elementor-element.mpe-mh-video .elementor-custom-embed-play :is(i,svg){display:none}
.elementor .elementor-element.mpe-mh-video .elementor-custom-embed-image-overlay:hover .elementor-custom-embed-play,
.elementor .elementor-element.mpe-mh-video .elementor-custom-embed-play:focus-visible{transform:translate(-50%,-50%) scale(1.08)}
@media(max-width:767px){.elementor .elementor-element.mpe-mh-video .elementor-custom-embed-image-overlay img{height:240px}}
/* gallery: 3 x 3, the last tile links to all photos */
.elementor .elementor-element.mpe-mh-grid>.elementor-widget-image{width:calc((100% - 48px)/3)}
.mpe-mh-viewall a{position:relative;display:block}
.mpe-mh-viewall a::after{content:"View all" / "";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border-radius:10px;background:rgba(143,84,105,.9);color:#FFFFFF;font:500 16.09px/25.7px Lato,sans-serif;transition:background-color .2s}
.mpe-mh-viewall a:is(:hover,:focus-visible)::after{background:rgba(94,53,68,.92)}
/* General Assembly photo may run past the 1280px column (as in the design) */
.mpe-mh-ga{overflow:visible;overflow-x:clip}
.elementor .elementor-element.mpe-mh-ga-img img{width:100%;max-width:none}
@media(max-width:1024px){.elementor .elementor-element.mpe-mh-ga-img{max-width:560px;margin-left:auto!important;margin-right:auto!important}}

/* accordions (Elementor nested Accordion): white cards, the open one gets the plum edge, arrow down / up */
.mpe-acc{width:100%}
.mpe-acc .e-n-accordion{gap:19px}
.elementor .elementor-element.mpe-acc .e-n-accordion-item{position:relative;background:#FFFFFF;border:1.17px solid rgba(45,41,38,.12);border-radius:20px 0 50px 0;overflow:hidden}
.elementor .elementor-element.mpe-acc .e-n-accordion-item[open]{border-left:9px solid #8F5469;border-radius:20px 0 50px 20px}
.elementor .elementor-element.mpe-acc .e-n-accordion-item-title{position:relative;justify-content:flex-start;padding:27px 80px 27px 38px;background:transparent;border:0;cursor:pointer}
.elementor .elementor-element.mpe-acc .e-n-accordion-item[open]>.e-n-accordion-item-title{padding-left:30px;padding-bottom:12px}
.elementor .elementor-element.mpe-acc .e-n-accordion-item-title-text{font:400 25px/29px "Varela Round",sans-serif;color:#2D2926}
.elementor .elementor-element.mpe-acc .e-n-accordion-item-title-icon{display:none}
/* arrow drawn pointing down (not a rotated mask: that rendered blurry in some browsers); flipped when open */
.mpe-acc .e-n-accordion-item-title::after{content:"";position:absolute;right:38px;top:32px;width:12px;height:19px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 19'%3E%3Cpath d='M6 1v16M1.5 12.5 6 17l4.5-4.5' fill='none' stroke='%238F5469' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px 19px no-repeat;transition:transform .2s}
.elementor .elementor-element.mpe-acc .e-n-accordion-item>.e-con{border:0}
.mpe-acc .e-n-accordion-item[open]>.e-n-accordion-item-title::after{transform:scaleY(-1)}
.elementor .elementor-element.mpe-acc .mpe-acc-body{padding:0 33px 29px 30px}
@media(max-width:767px){.elementor .elementor-element.mpe-acc .e-n-accordion-item-title{padding:22px 64px 22px 24px}.elementor .elementor-element.mpe-acc .e-n-accordion-item-title-text{font-size:21px;line-height:26px}.mpe-acc .e-n-accordion-item-title::after{right:24px;top:26px}}

/* members map ([mpe_members_map]): map on the right, the country card over it on the left */
.mpe-mmap{position:relative;min-height:calc(min(1077px, 64.1vw) * 1050 / 1077);padding:166px 0 120px}
.mpe-mmap-map{position:absolute;top:0;right:0;width:min(1077px, 64.1vw);aspect-ratio:1077/1050}
.mpe-mmap-map svg{display:block;width:100%;height:100%}
.mpe-map-c,.mpe-map-x{color:#DEDEDE}
.mpe-mmap-member{color:#8F5469;cursor:pointer;transition:color .2s}
.mpe-mmap-member:hover{color:#A86A80}
.mpe-mmap-member.is-active{color:#FDA357}
.mpe-mmap-member:focus{outline:0}
.mpe-mmap-member:focus-visible path[fill]{stroke:#2D2926;stroke-width:3px}
.mpe-mmap-card{position:relative;z-index:1;width:715px;max-width:calc(100% - 40px);min-height:701px;margin-left:max(20px, calc(50% - 645px));padding:20px 66px 56px 69px;background:#FFFFFF;border:1.17px solid rgba(45,41,38,.12);border-radius:20px 0 88.84px 0}
.mpe-mmap-eyebrow{margin:0;font:400 13.41px/21.5px "Varela Round",sans-serif;letter-spacing:1.34px;text-transform:uppercase;color:#8F5469}
.mpe-mmap-country{display:flex;align-items:center;gap:16px;margin:7px 0 0;font:400 40px/48px "Varela Round",sans-serif;letter-spacing:-.23px;color:#2D2926}
.mpe-mmap-flag{width:32px;height:24px;border-radius:4px;object-fit:cover}
.mpe-mmap-tag{display:inline-block;margin-top:2px;padding:0 21px;border-radius:30px;background:rgba(253,163,87,.3);font:400 11px/19px "Varela Round",sans-serif;letter-spacing:1.34px;text-transform:uppercase;color:#5E3544}
.mpe-mmap-orgs{list-style:none;margin:26px 0 0;padding:0;display:flex;flex-direction:column;gap:17px}
.mpe-mmap-org{margin:0;padding:23px 40px 25px 39px;border:1.17px solid rgba(45,41,38,.12);border-left:9px solid #8F5469;border-radius:20px 0 50px 20px}
.mpe-mmap-org p{margin:0;font:500 14.09px/21.7px Lato,sans-serif;color:#2D2926}
.mpe-mmap-org strong{font-weight:inherit}
.mpe-mmap-org a{color:#8F5469;text-decoration:underline;text-underline-offset:2px}
/* country picker: tablet and mobile only (not in the desktop design; there the map is the picker) */
.mpe-mmap-pick{display:none}
@media(max-width:1024px){.mpe-mmap-pick{display:flex}}
.mpe-mmap-pick{flex-wrap:wrap;align-items:center;gap:8px 12px;margin:12px 0 18px;font:500 15px/22px Lato,sans-serif;color:#2D2926}
.mpe-mmap-pick select{min-height:44px;min-width:220px;padding:0 12px;border:1px solid #5B6670;border-radius:6px;background:#FFFFFF;font:inherit;color:#2D2926}
@media(max-width:1024px){
.mpe-mmap{min-height:0;padding:0 0 64px;display:flex;flex-direction:column}
.mpe-mmap-map{position:relative;width:100%}
.mpe-mmap-card{width:auto;max-width:none;min-height:0;margin:-40px 32px 0;padding:28px 28px 36px}
}
@media(max-width:767px){.mpe-mmap-card{margin:-20px 20px 0;padding:24px 20px 28px;border-radius:20px 0 50px 0}.mpe-mmap-country{font-size:30px;line-height:36px}.mpe-mmap-org{padding:18px 20px 20px 24px}}

/* Instagram feed (static posts in an Elementor carousel) */
.elementor .elementor-element.mpe-ig-post{height:100%;background:#FFFFFF;border:1px solid #E5E7EB;border-radius:16px;overflow:hidden}
.mpe-ig-img img{display:block;width:100%;height:330px;object-fit:cover}
.elementor .elementor-element.mpe-ig-logo .elementor-icon{display:flex}
.elementor .elementor-element.mpe-ig-all .elementor-button-icon svg{fill:#374151}

@media (prefers-reduced-motion:reduce){.mpe-mh-video .elementor-custom-embed-play,.mpe-mmap-member,.mpe-acc .e-n-accordion-item-title::after{transition:none}}

/* ==========================================================================
   Mobile navigation (Elementor popup "Mobile navigation", opened by the header burger on tablet and mobile)
   ========================================================================== */
.mpe-mnav-popup .dialog-widget-content{box-shadow:0 0 40px rgba(45,41,38,.2)}
.elementor .elementor-element.mpe-mnav-search{width:100%}
/* menu: sub-menus open as an accordion under their item (Elementor's vertical layout shows them as fly-outs) */
.mpe-mnav-menu .elementor-nav-menu>li{border-bottom:1px solid rgba(45,41,38,.12)}
.mpe-mnav-menu .elementor-nav-menu>li:first-child{border-top:1px solid rgba(45,41,38,.12)}
.elementor .elementor-element.mpe-mnav-menu .elementor-nav-menu a{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px;white-space:normal}
.elementor .elementor-element.mpe-mnav-menu .sub-menu{position:static!important;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;left:auto!important;top:auto!important;padding:0 0 10px 16px;background:transparent!important;border:0!important;box-shadow:none!important}
.elementor .elementor-element.mpe-mnav-menu .sub-menu a.elementor-sub-item{min-height:44px;padding:10px 0!important;background:transparent!important;border:0!important;font:400 16px/22px Lato,sans-serif;color:#2D2926}
.elementor .elementor-element.mpe-mnav-menu .sub-menu a.elementor-sub-item:hover{color:#8F5469}
/* one chevron for every level: down, up when open */
.mpe-mnav-menu .sub-arrow{display:flex;flex:none;align-items:center;justify-content:center;width:32px;height:32px;margin:0 -8px 0 0;padding:0}
.mpe-mnav-menu .sub-arrow svg,.mpe-mnav-menu .sub-arrow i{display:none}
.mpe-mnav-menu .sub-arrow::after{content:"";width:12px;height:12px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 4 6 8.5 10.5 4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px 12px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 4 6 8.5 10.5 4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px 12px no-repeat;transition:transform .2s}
.mpe-mnav-menu a[aria-expanded=true]>.sub-arrow::after{transform:rotate(180deg)}
.mpe-mnav-menu a[aria-expanded=true]{color:#8F5469}
.elementor .elementor-element.mpe-mnav-util .elementor-nav-menu a{min-height:32px}
@media (prefers-reduced-motion:reduce){.mpe-mnav-menu .sub-arrow::after{transition:none}}

/* Home, Figma "Home Page Updated" (2026-11-18): plum word inside a heading, MPE Navigator logo next to "Find a clinical trial" */
.mpe-plum{color:#8F5469}
.elementor .elementor-element.mpe-trials-cta{--width:auto;width:auto;max-width:100%}
.elementor .elementor-element.mpe-trials-logo img{display:block;width:88px;height:50px}
@media(max-width:767px){.elementor .elementor-element.mpe-trials-cta{flex-wrap:wrap;margin-right:0}}

/* ==========================================================================
   Small desktop (1025–1343px): the layout is drawn at 1680 with a 1280px content row and px widths.
   Below 1344px keep a 32px side gap (as on tablet) and let fixed-width columns shrink instead of overflowing.
   ========================================================================== */
@media(min-width:1025px) and (max-width:1343px){
	.e-con.e-con-boxed>.e-con-inner{max-width:min(var(--content-width),calc(100% - 64px))}
	.elementor .e-con,.elementor :is(.e-con,.e-con-inner)>.elementor-widget{--flex-shrink:1!important;min-width:0}
	.elementor .elementor-element{max-width:100%}
	/* header: narrower search and menu gaps so logo, menu, search, button and burger fit one row */
	.elementor .elementor-element.mpe-search{--width:200px;width:200px}
	.mpe-megamenu .jet-mega-menu{--jmm-top-items-gap:16px}
}
/* Home hero, 1025–1679px: the photo is min(756px, 45vw) wide at the right edge; keep the text 32px clear of it and scale the h1 down */
@media(min-width:1025px) and (max-width:1679px){
	.elementor .elementor-element.mpe-hero .elementor-element:is(.f295-81,.f295-82,.f295-83){max-width:calc(55vw - 32px - max(32px, (100vw - 1280px) / 2))}
	.elementor .elementor-element.mpe-hero .f295-82 .elementor-heading-title{font-size:clamp(46px, 4.7vw, 70px);line-height:1.03}
}
/* clinical trials banner: the button + logo row keeps its size; the text column gives way */
@media(min-width:1025px){.elementor .elementor-element.mpe-trials-cta,.elementor .elementor-element.mpe-trials-cta>.elementor-widget{--flex-shrink:0!important;flex-shrink:0}}
/* footer rule is 1282px wide in the 1280 row; on smaller desktops it follows the row */
@media(min-width:1025px) and (max-width:1343px){.elementor .elementor-element.mpe-footer-rule{--container-widget-width:100%!important;width:100%!important;max-width:100%!important;margin-left:0!important}}
/* mega menu panels on small desktops (1025–1343px): fluid columns, tighter gaps, smaller card titles */
@media(min-width:1025px) and (max-width:1343px){
	.mpe-mm-list a{font-size:16px}
	.elementor .elementor-element.mpe-mm-links{width:auto;flex:1 1 auto;padding-left:32px;padding-right:24px;gap:32px}
	.elementor .elementor-element.mpe-mm-links>.mpe-mm-col{width:auto;flex:1 1 0}
	.elementor .elementor-element.mpe-mm-cards{flex:0 0 340px;padding-left:24px;padding-right:24px}
	.elementor .elementor-element.mpe-mm-card{min-height:150px;padding:24px 24px 46px 64px;background-position:16px 26px}
	.elementor .elementor-element.mpe-mm-card::after{left:20px;bottom:24px}
	.elementor .elementor-element.mpe-mm-card .mpe-mm-card-title .elementor-heading-title{font-size:20px;line-height:26px}
	.elementor .elementor-element.mpe-mm-wwd{padding-left:32px;padding-right:32px;gap:28px}
	.elementor .elementor-element:is(.mpe-mm-col-ca,.mpe-mm-col-rs){width:auto;flex:1 1 0}
	.elementor .elementor-element.mpe-mm-col-inf{flex:1.7 1 0}
	.elementor .elementor-element.mpe-mm-split{gap:20px}
	.elementor .elementor-element.mpe-mm-res{padding-left:32px;padding-right:32px}
	.elementor .elementor-element.mpe-mm-rgrid{gap:20px}
	.elementor .elementor-element.mpe-mm-rcard{padding-right:24px}
	.elementor .elementor-element.mpe-mm-rcard::after{right:18px;top:20px}
	.elementor .elementor-element.mpe-mm-about{padding-left:32px;padding-right:32px;gap:28px}
	.elementor .elementor-element.mpe-mm-col-about{width:300px}
}
@media(min-width:1025px) and (max-width:1343px){.elementor :is(.e-con,.e-con-inner)>.elementor-widget-button{--flex-shrink:0!important;flex-shrink:0}}
@media(min-width:1025px) and (max-width:1343px){.elementor .e-con:has(>.elementor-widget-button):not(:has(>:not(.elementor-widget-button))){--flex-shrink:0!important;flex-shrink:0}}
