/* Presentation only. Load AFTER clinic-ui.css and visual26 cabeceras.css.
   Add .emc-suite-hero only to the five section landing headers. No global rails. */
.educamed-clinical-module header.emc-hero.emc-suite-hero{position:relative;isolation:isolate;display:flex;align-items:center;box-sizing:border-box;min-height:560px;width:100%;max-width:none;margin:0 0 28px;padding:48px max(32px,calc((100% - 1180px)/2));overflow:hidden;border:0;border-radius:0;background:#eef8fb;color:#123f4d;box-shadow:none}
.educamed-clinical-module header.emc-hero.emc-suite-hero .emc-hero__copy{position:relative;z-index:2;box-sizing:border-box;width:55%;max-width:650px;padding:0;min-width:0;min-height:330px;display:flex;flex-direction:column;justify-content:flex-start}
.educamed-clinical-module header.emc-hero.emc-suite-hero .emc-hero__image{position:absolute;inset:0;z-index:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:right center}
.educamed-clinical-module header.emc-hero.emc-suite-hero::before{content:"";display:block;position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#f0f9fc 0%,#f0f9fcfa 30%,#f0f9fce3 43%,#f0f9fc5c 59%,#f0f9fc00 75%)}
.educamed-clinical-module header.emc-hero.emc-suite-hero .emc-hero__eyebrow{font:700 12px/1.5 Rubik,system-ui,sans-serif;letter-spacing:.11em;color:#216e72;margin:0 0 14px;text-transform:uppercase}
.educamed-clinical-module header.emc-hero.emc-suite-hero h1.emc-hero__title{font-family:Poppins,Montserrat,Rubik,system-ui,sans-serif;font-size:clamp(32px,3.6vw,48px);font-weight:800;line-height:1.12;letter-spacing:-.035em;text-wrap:balance;color:#123f4d;margin:0 0 20px;min-height:2.24em}
.educamed-clinical-module header.emc-hero.emc-suite-hero .emc-hero__lead{font:400 18px/1.6 Rubik,system-ui,sans-serif;color:#294e5b;max-width:36em;margin:0}
.educamed-clinical-module header.emc-hero.emc-suite-hero .emc-hero__chips{display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:24px 0 0;list-style:none;font:600 12px/1.5 Rubik,system-ui,sans-serif}
.educamed-clinical-module header.emc-hero.emc-suite-hero .emc-hero__chips li{border:1px solid #bddbdf;border-radius:999px;padding:7px 11px;background:#f7fcfce6;color:#225a64}
/* Shared existing menu pattern: flexible wrapping and readable active state. */
.educamed-clinical-module nav.emc-suite-nav{display:flex;flex-wrap:wrap;align-items:stretch;gap:10px;box-sizing:border-box;width:100%;max-width:1180px;margin:0 auto 28px;padding:0 20px}
.educamed-clinical-module nav.emc-suite-nav a{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:48px;max-width:100%;padding:12px 16px;border:1px solid #b9d7d9;border-radius:12px;background:#f0f8f8;color:#104955;font:700 14px/1.4 Rubik,system-ui,sans-serif;text-align:center;text-decoration:none;white-space:normal}
.educamed-clinical-module nav.emc-suite-nav a[aria-current="page"]{background:#104955;color:#fff;border-color:#104955}
.educamed-clinical-module nav.emc-suite-nav a:hover{background:#dcefee;color:#104955}
.educamed-clinical-module nav.emc-suite-nav a:focus-visible{outline:3px solid #08777a;outline-offset:3px;text-decoration:underline}
@media(max-width:767px){
 .educamed-clinical-module header.emc-hero.emc-suite-hero{min-height:0;padding:0;display:flex;flex-direction:column;align-items:stretch}
 .educamed-clinical-module header.emc-hero.emc-suite-hero .emc-hero__copy{display:flex;flex-direction:column;justify-content:flex-start;box-sizing:border-box;min-height:400px;width:100%;max-width:none;padding:30px 20px 18px}
 .educamed-clinical-module header.emc-hero.emc-suite-hero::before{display:none}
 .educamed-clinical-module header.emc-hero.emc-suite-hero .emc-hero__image{position:relative;inset:auto;order:2;z-index:auto;flex:none;width:100%;height:190px;max-height:none;object-fit:cover;object-position:right center}
 .educamed-clinical-module header.emc-hero.emc-suite-hero h1.emc-hero__title{font-size:32px;line-height:1.12;margin:0 0 18px;min-height:2.24em}
 .educamed-clinical-module header.emc-hero.emc-suite-hero .emc-hero__lead{font-size:17px;line-height:1.55}
 .educamed-clinical-module header.emc-hero.emc-suite-hero .emc-hero__chips{margin-top:18px;gap:7px}
 .educamed-clinical-module nav.emc-suite-nav{gap:8px;padding-inline:20px}
 .educamed-clinical-module nav.emc-suite-nav a{flex:1 1 150px;padding:12px 14px}
}
@media(max-width:359px){.educamed-clinical-module header.emc-hero.emc-suite-hero h1.emc-hero__title{font-size:30px;min-height:3.36em}.educamed-clinical-module header.emc-hero.emc-suite-hero .emc-hero__copy{min-height:430px}}

/* Hide native duplicate landing title only on the five feature pages. */
body:has(.educamed-clinical-module[data-view]) .entry-header{display:none}

/* The five section headers use the existing edge-to-edge reference on every theme layout. */
body:has(.emc-suite-hero){overflow-x:clip}
body:has(.emc-suite-hero) #primary{margin-top:0!important}
.educamed-clinical-module header.emc-hero.emc-suite-hero{width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;padding-left:max(32px,calc((100vw - 1180px)/2));padding-right:max(32px,calc((100vw - 1180px)/2))}
@media(max-width:767px){.educamed-clinical-module header.emc-hero.emc-suite-hero{padding:0!important}}

/* Fit theme containers to the available page width, without viewport scrollbar overflow. */
body:has(.emc-suite-hero) #content>.ast-container{width:100%;max-width:none;padding-inline:0}
body:has(.emc-suite-hero) #primary{width:100%;margin-inline:0}
body:has(.emc-suite-hero) .ast-article-single{padding-inline:0;border-inline:0}
body:has(.emc-suite-hero) .entry-content{width:100%;max-width:none;margin-inline:0}
.educamed-clinical-module header.emc-hero.emc-suite-hero{width:100%!important;margin-inline:0!important;padding-inline:max(32px,calc((100% - 1180px)/2))}
.educamed-ap-access,.educamed-ap-preview{max-width:1180px;margin-inline:auto;width:calc(100% - 40px);box-sizing:border-box}
@media(max-width:767px){.educamed-clinical-module header.emc-hero.emc-suite-hero{padding:0!important}.emlc{padding-inline:16px}}

/* Reserve the persistent left actions and right chat rail on desktop catalogue pages. */
@media(min-width:1000px){
 .educamed-clinical-module .emlc{width:calc(100% - 340px);max-width:1180px;margin-left:max(220px,calc((100% - 1180px)/2));margin-right:120px}
}
@media(min-width:1000px) and (max-width:1199px){.emlc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
