/*
Theme Name: Mexico Weight Loss Surgery — Renew
Author: Renew Bariatrics
Description: Responsive editorial theme for MexicoWeightLossSurgery.org. Includes procedure, planning and plastic-surgery guide layouts.
Version: 1.1.4
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: mwls-renew
*/
.skip-link{position:absolute;left:-10000px}.skip-link:focus{left:16px;top:16px;z-index:9999;background:#fff;padding:12px}.mwls-menu{list-style:none;margin:0;padding:0;display:flex;gap:20px;align-items:center}.brand-menu .mwls-menu{display:block}.brand-menu .mwls-menu li{margin:12px 0}.mwls-menu .sub-menu{background:white;list-style:none;padding:12px}.desktop-navigation .sub-menu{display:none;position:absolute}.desktop-navigation li:hover>.sub-menu,.desktop-navigation li:focus-within>.sub-menu{display:block}.mwls-standard{max-width:1000px;margin:48px auto;padding:0 24px;min-height:45vh}.mwls-standard img{max-width:100%;height:auto}.mwls-review-notice{padding:10px;background:#fff2d5;text-align:center}.admin-bar .brand-header{top:32px}@media(max-width:782px){.admin-bar .brand-header{top:46px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*{animation:none!important;transition:none!important}}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Navigation, legacy content and application refresh */
.brand-header .brand-nav{min-height:96px;gap:24px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.brand-header .identity img.brand-logo{width:224px}.desktop-navigation .mwls-menu{gap:24px}.desktop-navigation a{font-size:14px;font-weight:600;letter-spacing:-.15px;line-height:1.4;white-space:nowrap}.desktop-navigation a br,.brand-menu a br{display:none}.desktop-navigation a{border-bottom:2px solid transparent}.desktop-navigation a:hover,.desktop-navigation .current-menu-item>a{border-color:#1468cb;color:#1468cb}.brand-header .header-quote{font-size:14px!important;padding:13px 19px!important;border-radius:9px}.utility-inner .rating-link{font-size:12px;gap:6px;letter-spacing:0}.rating-link>span:first-child{color:#ffcf66}.brand-menu .mwls-menu a{font-size:15px;line-height:1.5}.mwls-standard{max-width:1120px}.mwls-legacy{font-size:17px;line-height:1.8;overflow-wrap:anywhere}.mwls-legacy a:not(.btn){color:#1468cb;text-decoration:underline}.mwls-legacy img{max-width:100%;height:auto;border-radius:12px}.mwls-legacy .alignright{float:right;margin:0 0 24px 30px;max-width:42%}.mwls-legacy h2,.mwls-legacy h3,.mwls-legacy hr{clear:both}.mwls-story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:30px 0}.mwls-story-card{display:block;border:1px solid #dbe5ee;border-radius:16px;padding:20px;text-decoration:none!important;background:white}.mwls-story-card img{width:100%;height:300px;object-fit:contain;background:#f1f6fb}.mwls-story-card h2{font-size:24px;line-height:1.3}.mwls-apply{padding:58px 28px 80px;background:linear-gradient(135deg,#edf5fc,#fff 70%)}.mwls-apply-inner{max-width:1120px;margin:auto}.mwls-apply h1{font-size:clamp(36px,5vw,58px);letter-spacing:-1.7px;max-width:780px}.mwls-apply-intro{max-width:710px;font-size:18px;color:#53687a}.mwls-apply-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:32px;margin-top:35px;align-items:start}.mwls-form-card,.mwls-apply-help{background:white;border:1px solid #dbe5ee;border-radius:20px;padding:32px;box-shadow:0 12px 40px #122e4c08}.mwls-apply-help h2{font-size:24px}.mwls-apply-help p,.mwls-apply-help li{font-size:15px;color:#53687a}.mwls-apply-help li{margin-bottom:20px}.mwls-apply #_form_36_{width:100%!important;max-width:100%;padding:0!important;margin:0!important;color:#122e4c!important;font-family:inherit!important}.mwls-apply #_form_36_ ._form_element{margin-bottom:24px}.mwls-apply #_form_36_ ._form-title{font-size:25px;line-height:1.3;padding:24px 0 12px;border-bottom:1px solid #dbe5ee;margin-bottom:18px;color:#122e4c}.mwls-apply #_form_36_ ._form-label{font-size:15px;line-height:1.5}.mwls-apply #_form_36_ input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.mwls-apply #_form_36_ select,.mwls-apply #_form_36_ textarea{padding:12px!important;border:1px solid #b8cad9!important;border-radius:8px!important;font-size:16px!important;background:#fbfdff;min-height:46px}.mwls-apply #_form_36_ input[type=checkbox],.mwls-apply #_form_36_ input[type=radio]{width:18px;height:18px;margin-right:8px}.mwls-apply #_form_36_ ._row label{display:inline;font-weight:400}.mwls-apply #_form_36_ ._submit{background:#1468cb!important;border-radius:9px!important;width:100%;font-size:17px!important;font-weight:700}.mwls-apply #_form_36_ :focus-visible{outline:3px solid #1468cb;outline-offset:3px}.mwls-review-update{padding:48px 0}.mwls-review-update .platform-card h3{font-size:21px}.mwls-review-update table{border-collapse:collapse;width:100%;font-size:15px}.mwls-review-update th,.mwls-review-update td{text-align:left;padding:16px;border-bottom:1px solid #dbe5ee;vertical-align:top}.mwls-review-update a{color:#1468cb;text-decoration:underline}
@media(max-width:1100px){.desktop-navigation .mwls-menu{gap:15px}.brand-header .brand-nav{gap:18px}.brand-header .identity img.brand-logo{width:190px}.desktop-navigation a{font-size:13px}}@media(max-width:900px){.mwls-apply-grid{grid-template-columns:1fr}.mwls-apply-help{order:-1}.mwls-apply-help ol{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding-left:20px}.brand-header .brand-nav{min-height:85px}}@media(max-width:600px){.rating-more{display:none}.utility-inner .rating-link{font-size:11px}.mwls-apply{padding:35px 20px 65px}.mwls-form-card,.mwls-apply-help{padding:22px}.mwls-apply-help ol{display:block}.mwls-story-grid{grid-template-columns:1fr}.mwls-legacy .alignright{float:none;max-width:100%;margin:0 0 20px}.mwls-review-update table{font-size:13px}.mwls-review-update th,.mwls-review-update td{padding:10px}.brand-header .identity img.brand-logo{width:200px}}
/* 1.1.3: guided application, surgeon cards and patient journal */
.desktop-navigation .mwls-menu{gap:17px}.brand-header .brand-nav{gap:18px}.brand-header .identity img.brand-logo{width:205px}.mobilebar>a:first-child{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;font-size:11px;line-height:1.25}.mobilebar>a:first-child strong{font-size:14px;white-space:nowrap}.mobilebar{padding-bottom:max(10px,env(safe-area-inset-bottom))}.mwls-form-step[hidden],.mwls-step-controls button[hidden],.mwls-step-error[hidden]{display:none!important}.mwls-step-progress{display:grid;grid-template-columns:repeat(3,1fr);list-style:none;padding:0!important;gap:8px;margin:12px 0 22px!important}.mwls-step-progress li{border-top:4px solid #d9e4ee;padding:12px 3px;font-size:13px;line-height:1.5;color:#607285}.mwls-step-progress li[aria-current=step]{border-color:#1468cb;color:#1157ab;font-weight:700}.mwls-step-status{font-size:12px!important;letter-spacing:.08em;text-transform:uppercase;color:#1468cb!important;font-weight:700}.mwls-form-step{scroll-margin-top:160px}.mwls-form-step>h2{font-size:30px;margin:10px 0}.mwls-form-step>p{color:#607285;font-size:16px;line-height:1.6;margin-bottom:26px}.mwls-step-controls{display:flex;justify-content:space-between;gap:12px;clear:both;padding-top:22px;border-top:1px solid #e1e9ef}.mwls-step-controls .btn{cursor:pointer;font-family:inherit;font-size:14px!important}.mwls-step-error{color:#a92727;background:#fff1f1;padding:12px;border-radius:8px}.mwls-apply-help{position:sticky;top:160px}.mwls-surgeons{background:#f5f8fb;padding:65px 24px 80px}.mwls-team-head{max-width:860px;margin:0 auto 48px;text-align:center}.mwls-team-head h1{font-size:clamp(40px,5vw,64px);line-height:1.05;letter-spacing:-2px;margin:18px 0}.mwls-team-head p{max-width:700px;margin:0 auto 26px;color:#53687a;font-size:18px;line-height:1.8}.mwls-doctor-grid{max-width:1120px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:30px}.mwls-doctor-card{background:#fff;border:1px solid #dae5ee;border-radius:20px;overflow:hidden;box-shadow:0 14px 40px #17375508}.mwls-doctor-photo{display:block;background:#e8eff5;height:300px;overflow:hidden}.mwls-doctor-photo img{width:100%;height:100%;object-fit:cover;object-position:center 24%;transition:transform .3s}.mwls-doctor-card:hover img{transform:scale(1.025)}.mwls-doctor-info{padding:30px}.mwls-doctor-info h2{font-size:30px;margin:12px 0}.mwls-doctor-info p{color:#53687a;line-height:1.7}.mwls-doctor-info>a{display:flex;justify-content:space-between;color:#1468cb;font-weight:700;border-top:1px solid #e0e9ef;padding-top:20px}.mwls-team-next{max-width:1120px;margin:48px auto 0;padding:40px;background:#0b2b49;color:#fff;border-radius:20px;display:grid;grid-template-columns:1.2fr 1fr;gap:45px}.mwls-team-next h2{color:#fff;font-size:32px;line-height:1.2}.mwls-team-next p{color:#d6e3ed;line-height:1.8}.mwls-team-next .eyebrow{color:#91c8ff}.mwls-team-links{display:flex;flex-direction:column;justify-content:center;gap:22px}.mwls-team-links a{color:#fff;border-bottom:1px solid #456078;padding-bottom:16px}.mwls-article{padding:48px 24px 80px;background:#fff}.mwls-article-head{max-width:1120px;margin:0 auto 35px}.mwls-article-head nav{font-size:13px;color:#607285;margin-bottom:36px}.mwls-article-head nav a{color:#53687a}.mwls-article-head .eyebrow{display:block;color:#1468cb;margin-bottom:18px}.mwls-article-head h1{font-size:clamp(35px,4.1vw,58px);line-height:1.12;letter-spacing:-1.8px;max-width:1000px;margin:0 0 24px;color:#102e48}.mwls-article-meta{display:flex;gap:24px;color:#607285;font-size:13px}.mwls-article-hero{max-width:1120px;margin:0 auto 46px;border-radius:20px;overflow:hidden;background:#edf4f9}.mwls-article-hero img{display:block;width:100%;height:auto;max-height:540px;object-fit:cover}.mwls-article-grid{max-width:1120px;margin:auto;display:grid;grid-template-columns:minmax(0,760px) minmax(230px,1fr);gap:55px}.mwls-prose{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:18px;line-height:1.85;color:#344c60;min-width:0;overflow-wrap:anywhere}.mwls-prose p{margin:0 0 24px}.mwls-prose>p:first-child{font-size:21px;line-height:1.75;color:#173a56;padding-bottom:28px;border-bottom:1px solid #dce6ee}.mwls-prose h2{font-size:30px;line-height:1.28;letter-spacing:-.6px;margin:48px 0 22px;color:#102e48;scroll-margin-top:160px}.mwls-prose h3{font-size:23px;line-height:1.4;margin:30px 0 16px;color:#102e48}.mwls-prose li{margin:10px 0}.mwls-prose ul,.mwls-prose ol{padding-left:25px;margin-bottom:28px}.mwls-prose a{color:#1263b6;text-decoration:underline;text-underline-offset:3px}.mwls-prose img{max-width:100%;height:auto;border-radius:12px}.mwls-prose blockquote{border-left:4px solid #1468cb;background:#f0f6fb;padding:24px;margin:28px 0}.mwls-table-scroll{overflow-x:auto;border:1px solid #dce6ee;border-radius:12px;margin:28px 0}.mwls-prose table{border-collapse:collapse;width:100%;font-size:14px;line-height:1.65;margin:0!important}.mwls-prose th,.mwls-prose td{padding:17px 15px;border-bottom:1px solid #dde6ee;text-align:left;vertical-align:top;min-width:140px}.mwls-prose tr:first-child{background:#eaf2f8;color:#123a5c;font-weight:600}.mwls-prose tr:nth-child(2n){background:#f7fafc}.mwls-article-sticky{position:sticky;top:155px}.mwls-toc{padding:22px;border:1px solid #dce6ee;border-radius:14px;margin-bottom:24px;background:#f7fafc}.mwls-toc h2{font-size:17px;margin:0 0 14px}.mwls-toc ol{margin:0;padding-left:18px;max-height:280px;overflow-y:auto}.mwls-toc li{font-size:13px;line-height:1.5;margin:0 0 12px}.mwls-toc a{color:#476075}.mwls-toc a:hover{color:#1468cb}.mwls-reading-cta{padding:25px;background:#102e48;color:#fff;border-radius:14px}.mwls-reading-cta h2{font-size:28px;line-height:1.2;color:#fff;margin:16px 0}.mwls-reading-cta p{font-size:14px;color:#d4e2ee;line-height:1.7}.mwls-reading-cta .eyebrow{color:#97caff}.mwls-reading-cta .btn{font-size:13px!important;padding:12px!important;display:block;text-align:center}.mwls-text-link{display:block;font-size:14px;color:#fff;margin-top:20px;text-decoration:underline}.mwls-article-end{margin-top:44px;border-top:1px solid #dde6ee;padding-top:24px;font-size:15px}
@media(max-width:1200px){.desktop-navigation{display:none!important}.brand-menu{display:block!important}.header-quote{margin-left:auto}.mwls-article-grid{gap:30px}}@media(max-width:900px){.mwls-article-grid{grid-template-columns:1fr}.mwls-article-aside{order:-1}.mwls-article-sticky{position:static}.mwls-article-aside .mwls-reading-cta{display:none}.mwls-toc ol{max-height:180px}.mwls-apply-help{position:static;order:2}.mwls-team-next{grid-template-columns:1fr}}@media(max-width:600px){.mwls-doctor-grid{grid-template-columns:1fr}.mwls-surgeons{padding:35px 20px 60px}.mwls-doctor-photo{height:250px}.mwls-doctor-info,.mwls-team-next{padding:24px}.mwls-team-head h1{letter-spacing:-1px}.mwls-article{padding:30px 20px 55px}.mwls-article-head h1{letter-spacing:-1px}.mwls-article-head nav{margin-bottom:25px}.mwls-prose{font-size:17px;line-height:1.8}.mwls-prose>p:first-child{font-size:19px}.mwls-prose h2{font-size:26px}.mwls-step-progress li{font-size:11px}.mwls-step-controls{flex-wrap:wrap}.mwls-step-controls .btn{width:100%;text-align:center}.mwls-article-meta{flex-wrap:wrap;gap:10px}.mwls-team-next{gap:15px}.mobilebar .btn{font-size:13px!important;padding:12px!important}.mwls-form-step>h2{font-size:26px}}
header.mwls-article-head,header.mwls-team-head{position:static!important;top:auto!important;z-index:auto!important;box-shadow:none!important;background:transparent!important;backdrop-filter:none!important;border:0!important;padding:0!important}.mwls-article-head nav{display:block!important}

/* Consistent header clearance, original team copy and mobile call button. */
.brand-header,.admin-bar .brand-header{top:0!important}#mwls-content{padding-top:0;display:flow-root}.mobilebar>a:first-child{background:#eaf3ff;border:1px solid #aac9ec;color:#124f89;border-radius:9px;text-decoration:none;padding:10px 8px;min-height:48px;font-weight:600}.mobilebar>a:first-child:hover{background:#d7e9ff}.mobilebar>a:first-child strong{font-size:14px}.mwls-team-original{max-width:1120px;margin:48px auto 0;background:#fff;border:1px solid #dbe5ee;border-radius:20px;padding:40px;display:flow-root}.mwls-team-original h2:first-of-type{margin-top:30px}.brand-menu[open]>nav{max-height:65vh;overflow-y:auto}@media(max-width:600px){#mwls-content{padding-top:0}.mwls-team-original{padding:24px}.mobilebar{align-items:stretch}.mobilebar>a{min-height:48px}}

/* Mobile navigation isolation: keep homepage FAQ styles out of the header. */
.brand-header details{margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.brand-header summary::after,.brand-header summary::before{display:none!important;content:none!important}
.brand-header .brand-menu:not([open])>nav,.brand-header .mwls-mega:not([open])>.mwls-mega-panel{display:none!important}
.brand-header .brand-menu>summary{cursor:pointer;list-style:none}
.brand-header .brand-menu>summary::-webkit-details-marker{display:none}
@media(max-width:1200px){
body .brand-header{position:sticky!important;top:0!important;z-index:1000!important;background:#fff!important;box-shadow:0 4px 18px #17344e12}
body.admin-bar .brand-header{top:32px!important}
.brand-header .brand-nav{position:relative!important;min-height:82px!important;align-items:center!important}
.brand-header .brand-menu{position:static!important;flex:0 0 auto!important;width:auto!important}
.brand-header .brand-menu>summary{display:flex!important;align-items:center;gap:10px;min-height:44px!important;padding:10px 14px!important;margin:0!important;border:1px solid #dce6ee!important;border-radius:9px;background:#f0f6fb!important;font:600 14px/1.4 Inter,Arial,sans-serif!important}
.brand-header .brand-menu[open]>nav.mwls-mega-nav{position:absolute!important;top:100%!important;left:12px!important;right:12px!important;width:auto!important;min-width:0!important;display:block!important;box-sizing:border-box;max-height:calc(100dvh - 200px)!important;overflow-y:auto!important;overscroll-behavior:contain; -webkit-overflow-scrolling:touch;padding:12px 18px!important;margin:0!important;background:#fff!important;border:1px solid #dbe6ef;border-top:3px solid #1468cb;border-radius:0 0 14px 14px;box-shadow:0 18px 36px #0b29432b;z-index:1001}
.brand-header .brand-menu .mwls-mega>summary{display:flex!important;align-items:center;justify-content:space-between;padding:16px 4px!important;min-height:48px!important;font:600 16px/1.4 Inter,Arial,sans-serif!important;white-space:normal;border-bottom:1px solid #e2eaf1!important}
.brand-header .brand-menu .mwls-mega[open]>.mwls-mega-panel{display:block!important;position:static!important;inset:auto!important;width:auto!important;padding:16px!important;max-height:none!important;overflow:visible!important;background:#f5f9fd!important;box-shadow:none!important;border:0!important}
.brand-header .brand-menu nav>a{display:block!important;padding:15px 4px!important;min-height:48px;font-size:16px;line-height:1.4;text-decoration:none}
}
@media(min-width:601px) and (max-width:782px){body.admin-bar .brand-header{top:46px!important}}
@media(max-width:600px){body.admin-bar .brand-header{top:0!important}.brand-header .header-quote{display:none!important}.brand-header .brand-nav{gap:12px!important;padding:0 20px!important}.brand-header .brand-menu{margin-left:auto!important}.brand-header .identity img.brand-logo{max-width:205px;width:52vw!important}.brand-header .brand-menu[open]>nav.mwls-mega-nav{max-height:calc(100dvh - 200px - env(safe-area-inset-bottom))!important}}

/* Sticky desktop header */
@media(min-width:1201px){body .brand-header{position:sticky!important;top:0!important;z-index:1000!important;background:#fff!important;box-shadow:0 4px 18px #17344e12}body.admin-bar .brand-header{top:32px!important}}

/* Show the contact bar only at phone widths. */
body .mobilebar{display:none!important}
@media(max-width:650px){body .mobilebar{display:flex!important;position:fixed!important;left:0;right:0;bottom:0;z-index:1002;gap:10px;align-items:stretch;background:#fff;border-top:1px solid #dce6ef;padding:10px 15px;padding-bottom:max(10px,env(safe-area-inset-bottom));box-shadow:0 -4px 18px #17344e10}body .mobilebar>a{flex:1;display:flex;align-items:center;justify-content:center;min-height:48px;text-align:center;border-radius:9px;text-decoration:none}body .mobilebar>a:first-child{flex-direction:column;gap:2px;background:#eaf3ff;border:1px solid #aac9ec;color:#124f89;font-size:11px;line-height:1.25}body .mobilebar>a:first-child strong{font-size:14px;white-space:nowrap}body .mobilebar .btn{padding:12px 10px!important;font-size:13px!important}body{padding-bottom:calc(78px + env(safe-area-inset-bottom))}}
