/* Mobile content uses its text height and a shared central alignment. */
@media(max-width:800px){
#main_MF main,#main_MF main section,.ap-root main,.ap-root section{min-width:0;max-width:100%;box-sizing:border-box}
#main_MF main .wixui-rich-text{height:auto!important;min-height:0!important;max-height:none!important;min-width:0!important;max-width:100%!important;text-align:center!important;overflow:visible!important;align-self:center!important;justify-self:center!important;margin-inline:auto!important}
#main_MF main .wixui-rich-text :is(h1,h2,h3,h4,p,li),#main_MF main .wixui-rich-text :is(h1,h2,h3,h4,p,li) *{text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;height:auto!important;max-height:none!important;overflow:visible!important}
#main_MF main .wixui-rich-text :is(h1,h2,h3,h4){line-height:1.3!important;padding-block:3px!important}
#main_MF main .wixui-rich-text p,#main_MF main .wixui-rich-text p *{font-size:18px!important;line-height:1.6!important}
#main_MF main .max-width-container>.wixui-rich-text{width:calc(100% - 40px)!important}
#main_MF :is(.expert-about-copy,.expert-method,.expert-ear-flow,.expert-visit-cards article,.expert-syringing-explainer,.ear-questions,.expert-reassurance){text-align:center!important;min-width:0!important}
#main_MF :is(.expert-method,.expert-ear-flow,.expert-syringing-explainer) :is(h1,h2,h3,p,li){overflow-wrap:anywhere;max-width:100%;height:auto}
#main_MF .expert-header-inner{justify-content:center!important}
#main_MF .expert-brand img{margin-inline:auto!important}
#main_MF .expert-desktop-nav{justify-content:center!important}
#main_MF main :is(.expert-about-action,.expert-method-button){text-align:center!important;margin-inline:auto!important}
#main_MF main .wix-presets-wrapper{max-width:calc(100% - 40px)!important;justify-self:center!important;margin-inline:auto!important}
#main_MF main .wixui-button{min-width:0!important;max-width:100%!important;height:auto!important;min-height:48px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:12px 20px!important;box-sizing:border-box!important}
#main_MF main .wixui-button__label{white-space:normal!important;line-height:1.4!important;overflow-wrap:anywhere!important;text-align:center!important;max-width:100%!important}
/* Replace legacy fixed grid tracks in text-only sections with natural flow. */
#main_MF :is(.comp-mukx4iug1-container,.comp-mukxcm6l1-container,.comp-munygjp9-container,.comp-mukwlhmh-container){display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:24px!important;padding:32px 20px!important;height:auto!important;min-height:0!important}
#main_MF :is(.comp-mukx4iug1-container,.comp-mukxcm6l1-container,.comp-munygjp9-container,.comp-mukwlhmh-container)>:not(interact-element){width:100%!important;max-width:100%!important;margin:0!important;grid-area:auto!important;min-height:0!important;height:auto!important}
#main_MF :is(#comp-mukwvtce1,#comp-mukwvtlk1,#comp-mukwvtrl,#comp-mukwvtx82,#comp-mukwvu16){display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:16px!important;padding:24px!important;min-height:0!important;height:auto!important}
#main_MF :is(#comp-mukwvtce1,#comp-mukwvtlk1,#comp-mukwvtrl,#comp-mukwvtx82,#comp-mukwvu16)>.wixui-rich-text{width:100%!important;margin:0!important;grid-area:auto!important}
#main_MF main :is(h1,h2,h3,h4,p,figcaption){text-align:center!important;overflow-wrap:anywhere!important;max-width:100%;white-space:normal!important}
#main_MF main :is(.expert-method-grid,.expert-ear-anatomy,.expert-visit-cards){align-items:center!important}
#main_MF main .wixui-image{justify-self:center!important;margin-inline:auto!important;max-width:100%!important}
/* Native booking, aftercare, privacy and local-area pages share the alignment. */
.ap-root{text-align:center}
.ap-root :is(h1,h2,h3,h4,p,legend,label,summary){max-width:100%;overflow-wrap:anywhere;white-space:normal;line-height:1.4}
.ap-root :is(.ap-header,.ap-nav,.ap-price,.ap-row,.ap-choice,.ap-check){justify-content:center;align-items:center}
.ap-root .ap-header{align-items:center}
.ap-root .ap-header img{max-width:100%;margin-inline:auto}
.ap-root .ap-nav{width:100%;justify-content:center}
.ap-root :is(.ap-card,.ap-single,.ap-layout>aside,.area-panel,.aftercare-panel,.aftercare-review){min-width:0;max-width:100%;box-sizing:border-box}
.ap-root .ap-layout>aside{align-self:center}
.ap-root .ap-link-button{margin-inline:auto}
.ap-root :is(ol,ul){list-style-position:inside;padding-inline:0}
.ap-root li{padding-left:0}
.ap-root .ap-visit-guide li{padding-left:0}
.ap-root .aftercare-google-logo{float:none;margin:0 auto 24px;width:148px;max-width:100%}
.ap-root .aftercare-boots{flex-wrap:wrap}
.ap-root .area-links a{margin:6px 8px}
.ap-root .ap-price{flex-wrap:wrap;text-align:center}
.ap-root .ap-check{gap:12px}
.ap-root .ap-check>button,.ap-root .ap-check>input{flex-shrink:0}
}
/* Treatment links occupy the centre of each card without wrapping. */
@media(max-width:800px){
#main_MF main :is(.comp-mufu830f-presets-wrapper,.comp-mufu85gv-presets-wrapper,.comp-mufu87k9-presets-wrapper){width:100%!important;max-width:100%!important;margin:16px 0!important;justify-self:center!important;align-self:center!important;display:flex!important;justify-content:center!important}
#main_MF main :is(#comp-mufu830f,#comp-mufu85gv,#comp-mufu87k9){width:auto!important;min-width:150px!important;max-width:100%!important;margin:0!important;padding:12px 20px!important;text-align:center!important;justify-content:center!important}
#main_MF main :is(#comp-mufu830f,#comp-mufu85gv,#comp-mufu87k9) .wixui-button__label{white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;flex-shrink:0!important}
}
/* The office address fits on a centred line instead of splitting its domain. */
@media(max-width:800px){
#main_MF main a[href="mailto:earwaxremovalexpert.office@gmail.com"],
#main_MF main .wixui-rich-text a[href="mailto:earwaxremovalexpert.office@gmail.com"],
#main_MF main .wixui-rich-text a[href="mailto:earwaxremovalexpert.office@gmail.com"] *,
.ap-root a[href="mailto:earwaxremovalexpert.office@gmail.com"]:not(.ap-link-button){display:block!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;text-align:center!important;font-size:clamp(12px,3.2vw,14px)!important;line-height:1.6!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;margin:8px auto!important}
#main_MF .appointment-contacts a[href="mailto:earwaxremovalexpert.office@gmail.com"]{font-size:clamp(12px,3.2vw,14px)!important;white-space:nowrap!important}
@media(max-width:360px){.ap-root .privacy-root,.privacy-root .ap-single{padding-inline:18px}}
}
