:root{--ep-blue:#123a6f;--ep-blue-2:#1e5aa8;--ep-blue-3:#2868bd;--ep-gold:#c5a365;--ep-bg:#f5f8fc;--ep-border:#dfe8f4;--ep-text:#0d2d59;--ep-muted:#69788e}
.epmod-grid{display:grid;gap:28px}.epmod-module{font-family:Inter,"Segoe UI",Arial,sans-serif;width:min(1560px,calc(100vw - 44px));max-width:none;margin:24px 0 24px 50%;padding:0 22px;transform:translateX(-50%);color:var(--ep-text)}
.epmod-heading{margin:0 0 20px}.epmod-heading>span{display:inline-block;color:var(--ep-gold);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.epmod-heading h2{margin:7px 0 0;color:#0b2c58;font-size:30px;line-height:1.15}
.epmod-hero{min-height:220px;border-radius:22px;overflow:hidden;background-size:cover;background-position:center;position:relative;margin-bottom:22px;box-shadow:0 12px 34px rgba(18,58,111,.12)}.epmod-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,44,88,.9),rgba(18,58,111,.42))}.epmod-hero-copy{position:absolute;left:36px;right:36px;bottom:32px;color:#fff}.epmod-hero-copy span{display:inline-block;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.28);padding:7px 12px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.08em}.epmod-hero-copy h2{margin:10px 0 0;color:#fff;font-size:32px}
.epmod-resources{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:20px;background:#f7faff;border:1px solid #dce7f4;border-radius:18px;box-shadow:0 8px 26px rgba(18,58,111,.06);margin-bottom:26px}
.epmod-resource{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;min-height:255px;background:linear-gradient(180deg,#fff 0%,#fbfcff 100%);border:1px solid #dce6f2;border-top:4px solid #d8ba72;border-radius:16px;padding:17px 14px 12px;box-shadow:0 7px 18px rgba(18,58,111,.07);overflow:hidden}.epmod-pill{display:inline-flex;align-items:center;justify-content:center;background:#edf4fc;color:#173e70;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:800;margin-bottom:12px}.epmod-icon{width:48px;height:48px;display:grid;place-items:center;background:#fff;border:1px solid #e5ebf3;border-radius:14px;box-shadow:0 7px 16px rgba(18,58,111,.1);font-size:23px;margin-bottom:13px}.epmod-resource h3{margin:0 0 9px;color:#123a6f;font-size:16px;line-height:1.25}.epmod-resource p{margin:0 0 16px;color:#66758a;font-size:12px;line-height:1.5;flex:1}.epmod-resource-btn{width:100%;min-height:40px;border:0;border-radius:9px;background:linear-gradient(90deg,#164785,#2869bc);color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center;padding:10px 12px;cursor:pointer;transition:.18s ease;box-shadow:0 6px 14px rgba(30,90,168,.18)}.epmod-resource-btn:hover{transform:translateY(-1px);filter:brightness(1.05);color:#fff!important}
.epmod-content{background:#fff;border:1px solid #e0e8f2;border-radius:18px;padding:34px 38px;box-shadow:0 10px 30px rgba(18,58,111,.06);color:#263b55;line-height:1.75;font-size:16px;overflow-wrap:anywhere}.epmod-content>:first-child{margin-top:0}.epmod-content>:last-child{margin-bottom:0}.epmod-content h1,.epmod-content h2,.epmod-content h3,.epmod-content h4,.epmod-content h5{color:#123a6f;line-height:1.25}.epmod-content h2{font-size:27px}.epmod-content h3{font-size:22px}.epmod-content h4{font-size:19px}.epmod-content img{max-width:100%;height:auto;border-radius:12px}.epmod-content iframe,.epmod-content video{max-width:100%}.epmod-content table{width:100%;border-collapse:collapse;display:block;overflow-x:auto}.epmod-content th,.epmod-content td{border:1px solid #dfe7f1;padding:9px 11px}.epmod-content blockquote{margin:20px 0;padding:14px 18px;border-left:4px solid var(--ep-gold);background:#f7faff;border-radius:0 10px 10px 0}.epmod-empty-content{color:#7a8798;text-align:center}
.epmod-modal{position:fixed;inset:0;background:rgba(5,24,48,.76);z-index:999999;display:none;padding:3vh 2vw;backdrop-filter:blur(3px)}.epmod-modal.is-open{display:block}.epmod-modal-shell{height:94vh;background:#eef3f9;border-radius:18px;overflow:hidden;box-shadow:0 25px 80px rgba(0,0,0,.35);display:flex;flex-direction:column}.epmod-modal-shell>header{background:linear-gradient(90deg,#123a6f,#1e5aa8);color:#fff;padding:13px 18px;display:flex;justify-content:space-between;align-items:center;border-bottom:3px solid #c5a365}.epmod-modal-shell header span{display:block;color:#e3c477;font-size:10px;font-weight:800;letter-spacing:.08em}.epmod-modal-shell header strong{display:block;margin-top:3px}.epmod-modal-shell header>div:last-child{display:flex;gap:8px}.epmod-modal-shell header button,.epmod-modal-shell header a{border:0;background:rgba(255,255,255,.13);color:#fff;width:38px;height:38px;border-radius:9px;display:grid;place-items:center;text-decoration:none;cursor:pointer;font-size:20px}.epmod-frame-wrap{flex:1;background:#fff}.epmod-frame-wrap iframe{width:100%;height:100%;border:0}.epmod-pdf-overlay .ibratep-reader-header{background:linear-gradient(90deg,#123a6f,#1e5aa8)!important;border-bottom-color:#c5a365!important}.epmod-pdf-overlay .ibratep-brand-mark{background:#c5a365!important;color:#123a6f!important}.epmod-pdf-overlay .ibratep-nav-btn{background:#1e5aa8!important;border-color:#1e5aa8!important}.epmod-pdf-overlay .ibratep-reader-toolbar{border-top-color:#dbe5f1!important}body.epmod-lock{overflow:hidden}
@media(max-width:1180px){.epmod-resources{grid-template-columns:repeat(3,minmax(0,1fr))}.epmod-resource{min-height:235px}}
@media(max-width:900px){.epmod-resources{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.epmod-module{width:calc(100vw - 18px);margin:14px 0 14px 50%;padding:0 9px;transform:translateX(-50%)}.epmod-heading{padding:0 4px}.epmod-heading h2{font-size:25px}.epmod-hero{min-height:175px;border-radius:16px}.epmod-hero-copy{left:20px;right:20px;bottom:20px}.epmod-hero-copy h2{font-size:25px}.epmod-resources{grid-template-columns:1fr 1fr;gap:8px;padding:10px;border-radius:15px;margin-bottom:16px}.epmod-resource{min-height:218px;padding:12px 9px 9px;border-radius:13px}.epmod-pill{font-size:9px;padding:4px 7px;margin-bottom:9px}.epmod-icon{width:42px;height:42px;font-size:20px;margin-bottom:10px}.epmod-resource h3{font-size:14px}.epmod-resource p{font-size:10.5px;line-height:1.4;margin-bottom:10px}.epmod-resource-btn{font-size:10.5px;min-height:37px;padding:8px 6px}.epmod-content{padding:22px 17px;border-radius:15px;font-size:15px}.epmod-content h2{font-size:23px}.epmod-content h3{font-size:20px}.epmod-modal{padding:0}.epmod-modal-shell{height:100vh;border-radius:0}.epmod-modal-shell header strong{font-size:13px}}
@media(max-width:390px){.epmod-resources{grid-template-columns:1fr}.epmod-resource{min-height:auto}.epmod-resource p{font-size:11px}.epmod-resource-btn{font-size:11px}}

/* v1.2 – HTML completo isolado */
.epmod-html-content{padding:0!important;overflow:hidden;background:#fff}
.epmod-html-frame{display:block;width:100%;height:1200px;min-height:900px;border:0;background:#fff;border-radius:20px}
@media(max-width:767px){.epmod-html-frame{height:1100px;min-height:760px;border-radius:14px}}

/* v1.3.1 – card de PDF sempre visível + estado indisponível */
.epmod-resource.is-unavailable{opacity:.72}
.epmod-resource-btn.epmod-disabled{background:#aeb9c8!important;box-shadow:none!important;cursor:not-allowed;pointer-events:none}

/* Link público do curso / categoria */
.epmod-course-link{display:inline-flex;align-items:center;gap:6px;margin:0 10px 8px 0;padding:7px 11px;border:1px solid rgba(18,58,111,.16);border-radius:999px;background:#f3f7fc;color:#123A6F!important;text-decoration:none!important;font-size:10.5px;font-weight:800;line-height:1.2;transition:.2s}.epmod-course-link:hover{transform:translateY(-1px);border-color:#C5A365;background:#fff8e9}.epmod-course-link.on-hero{border-color:rgba(255,255,255,.28);background:rgba(255,255,255,.13);color:#fff!important}.epmod-course-link.on-hero:hover{background:rgba(255,255,255,.20)}


/* =========================================================
   v2.0.4 - Conteúdo HTML amplo e integrado ao módulo
========================================================= */
.epmod-content.epmod-html-content{
  width:100%!important;
  max-width:none!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid #dce6f2!important;
  border-radius:20px!important;
  box-shadow:0 10px 30px rgba(18,58,111,.055)!important;
}
.epmod-content.epmod-html-content > iframe.epmod-html-frame,
iframe.epmod-html-frame{
  display:block!important;
  width:100%!important;
  min-width:100%!important;
  max-width:none!important;
  height:1400px!important;
  min-height:1000px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:20px!important;
  background:#fff!important;
  box-sizing:border-box!important;
}
@media(max-width:900px){
  .epmod-content.epmod-html-content > iframe.epmod-html-frame,
  iframe.epmod-html-frame{height:1250px!important;min-height:900px!important}
}
@media(max-width:640px){
  .epmod-content.epmod-html-content{border-radius:15px!important}
  .epmod-content.epmod-html-content > iframe.epmod-html-frame,
  iframe.epmod-html-frame{width:100%!important;min-width:100%!important;height:1150px!important;min-height:820px!important;border-radius:15px!important}
}

/* =========================================================
   v2.0.5 - HTML do módulo realmente em largura total
   ========================================================= */
.epmod-module{
  box-sizing:border-box!important;
}
.epmod-module .epmod-content.epmod-html-content{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
  position:relative!important;
  background:#fff!important;
  border:1px solid #d9e4f0!important;
  border-radius:22px!important;
  box-shadow:0 14px 34px rgba(11,47,96,.07)!important;
}
.epmod-module .epmod-content.epmod-html-content iframe.epmod-html-frame{
  display:block!important;
  box-sizing:border-box!important;
  inline-size:100%!important;
  width:100%!important;
  min-width:100%!important;
  max-width:100%!important;
  height:1000px;
  min-height:620px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:22px!important;
  background:#fff!important;
  overflow:hidden!important;
}
@media(max-width:640px){
  .epmod-module .epmod-content.epmod-html-content{border-radius:16px!important}
  .epmod-module .epmod-content.epmod-html-content iframe.epmod-html-frame{
    border-radius:16px!important;
    min-height:680px!important;
  }
}


/* =========================================================
   v3.3.0 — Página de módulo premium / campus digital
========================================================= */
body.single-ep_modulo .site-main>article>.entry-header,
body.single-ep_modulo .site-main>.page-header,
body.single-ep_modulo article.ep_modulo>.entry-header{display:none!important}
body.single-ep_modulo .entry-content{margin-top:0!important}
.epmod-module{margin-top:20px!important}
.epmod-premium-heading{position:relative;min-height:190px;margin:0 0 16px;padding:34px 155px 32px 38px;overflow:hidden;border:1px solid rgba(197,163,101,.30);border-radius:26px;background:radial-gradient(circle at 88% 12%,rgba(231,206,138,.20),transparent 24%),linear-gradient(128deg,#082A56 0%,#123A6F 58%,#1E5AA8 100%);box-shadow:0 22px 55px rgba(11,47,96,.16)}
.epmod-premium-heading:after{content:"";position:absolute;left:38px;right:38px;bottom:0;height:3px;background:linear-gradient(90deg,transparent,#E7CE8A,#C5A365,transparent)}
.epmod-premium-copy{position:relative;z-index:2;max-width:1040px}
.epmod-premium-eyebrow{display:block;margin-bottom:10px;color:#E7CE8A!important;font-size:9px;font-weight:900;letter-spacing:1.35px}
.epmod-premium-heading .epmod-course-link{margin:0 0 12px;border-color:rgba(255,255,255,.22);background:rgba(255,255,255,.09);color:#fff!important}
.epmod-premium-heading h2{margin:0;color:#fff!important;font-family:Georgia,"Times New Roman",serif;font-size:clamp(29px,3vw,43px);line-height:1.12;letter-spacing:-.35px;text-wrap:balance}
.epmod-premium-heading p{max-width:760px;margin:12px 0 0;color:rgba(255,255,255,.78)!important;font-size:13px;line-height:1.65}
.epmod-premium-number{position:absolute;z-index:2;right:34px;top:50%;width:102px;height:102px;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(231,206,138,.45);border-radius:50%;background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 7px rgba(255,255,255,.025)}
.epmod-premium-number small{color:rgba(255,255,255,.62)!important;font-size:7px;font-weight:900;letter-spacing:1px}.epmod-premium-number strong{margin:2px 0;color:#E7CE8A!important;font-family:Georgia,serif;font-size:34px;line-height:1}.epmod-premium-number em{color:rgba(255,255,255,.58)!important;font-size:5.8px;font-style:normal;font-weight:900;letter-spacing:.75px}
.epmod-academic-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 20px;padding:10px;border:1px solid #DCE5EF;border-radius:18px;background:#F7FAFD;box-shadow:0 8px 24px rgba(11,47,96,.05)}
.epmod-academic-nav a{min-width:0;display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:12px 14px;border:1px solid #E1E8F1;border-radius:13px;background:#fff;color:#123A6F!important;text-decoration:none!important;transition:.2s}
.epmod-academic-nav a:hover{transform:translateY(-2px);border-color:rgba(197,163,101,.55);box-shadow:0 8px 18px rgba(11,47,96,.08)}
.epmod-academic-nav a>span{grid-row:1/3;width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#EEF4FB;font-size:17px}.epmod-academic-nav b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#0B2F60!important;font-size:11.5px}.epmod-academic-nav small{color:#7A8899!important;font-size:9px}
.epmod-resources{grid-template-columns:repeat(auto-fit,minmax(205px,1fr))!important;gap:14px!important;padding:18px!important;border-radius:22px!important;background:linear-gradient(180deg,#F8FAFD,#F2F6FB)!important}
.epmod-resource{min-height:236px!important;padding:18px 16px 14px!important;border-radius:18px!important;border-top-width:3px!important;box-shadow:0 9px 24px rgba(11,47,96,.065)!important}
.epmod-resource h3{font-size:16px!important}.epmod-resource p{max-width:230px;font-size:11.5px!important;line-height:1.55!important}.epmod-resource-btn{border-radius:11px!important;min-height:42px!important}
.epmod-content.epmod-html-content{border-radius:26px!important;box-shadow:0 18px 48px rgba(11,47,96,.08)!important}
@media(max-width:820px){.epmod-premium-heading{padding:28px 28px 30px}.epmod-premium-number{display:none}.epmod-academic-nav{grid-template-columns:1fr}.epmod-academic-nav a b{white-space:normal}.epmod-resources{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){.epmod-premium-heading{min-height:auto;padding:24px 20px;border-radius:20px}.epmod-premium-heading:after{left:20px;right:20px}.epmod-premium-heading h2{font-size:27px}.epmod-premium-heading p{font-size:11.5px}.epmod-academic-nav{padding:8px;border-radius:15px}.epmod-resources{grid-template-columns:1fr 1fr!important;padding:10px!important;gap:8px!important}.epmod-resource{min-height:210px!important;padding:13px 9px 10px!important}.epmod-resource p{font-size:10.5px!important}.epmod-content.epmod-html-content{border-radius:18px!important}}
/* v4.2 - portal lateral da unidade acadêmica */
.epmod-module .epmod-premium-number{background:#f7f1e4!important;border:1px solid #d8bd81!important;color:#153b6b!important}
.epmod-module .epmod-premium-number small,.epmod-module .epmod-premium-number strong,.epmod-module .epmod-premium-number em{color:#153b6b!important;opacity:1!important;text-shadow:none!important}
.epmod-module .epmod-study-shell{display:grid;grid-template-columns:235px minmax(0,1fr);align-items:start;gap:20px;margin:18px 0}
.epmod-module .epmod-study-sidebar{position:sticky;top:20px;display:flex;flex-direction:column;gap:4px;padding:13px;background:#fff;border:1px solid #dfe7ef;border-radius:16px;box-shadow:0 8px 28px rgba(17,45,76,.05)}
.epmod-module .epmod-study-brand{display:flex;flex-direction:column;gap:5px;padding:10px 9px 15px;border-bottom:1px solid #e7edf3;color:#16385e;font:700 13px Arial,sans-serif}
.epmod-module .epmod-study-brand small{color:#ad8648;font:700 9px Arial,sans-serif;letter-spacing:1px}
.epmod-module .epmod-study-menu-label{padding:14px 9px 5px;color:#9a7948;font:700 9px Arial,sans-serif;letter-spacing:1px}
.epmod-module .epmod-study-link{display:flex!important;align-items:center;gap:12px;width:100%;min-height:40px;padding:10px 12px;border:0!important;border-radius:9px;background:transparent!important;color:#234366!important;text-align:left;text-decoration:none!important;font:600 12px/1.35 Arial,sans-serif;cursor:pointer;box-shadow:none!important}
.epmod-module .epmod-study-link:hover,.epmod-module .epmod-study-link.is-active{background:#edf3fa!important;color:#123d72!important}
.epmod-module .epmod-study-link span{flex:1}
.epmod-module .epmod-study-disabled{opacity:.48;cursor:default}
.epmod-module .epmod-study-main{min-width:0;background:#fff;border:1px solid #e2e9f0;border-radius:15px;padding:15px}
.epmod-module .epmod-study-content-heading{display:flex;flex-direction:column;gap:5px;margin-bottom:12px;padding:0 0 12px;border-bottom:1px solid #edf1f5}
.epmod-module .epmod-study-content-heading span{font:700 9px Arial,sans-serif;letter-spacing:1px;color:#a98449}
.epmod-module .epmod-study-content-heading strong{font:700 18px Georgia,serif;color:#153b6b}
.epmod-module .epmod-study-main .epmod-content{margin:0!important;width:100%!important;max-width:100%!important}
@media(max-width:850px){.epmod-module .epmod-study-shell{grid-template-columns:1fr}.epmod-module .epmod-study-sidebar{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.epmod-module .epmod-study-brand,.epmod-module .epmod-study-menu-label{grid-column:1/-1}}
@media(max-width:520px){.epmod-module .epmod-study-sidebar{grid-template-columns:1fr 1fr}.epmod-module .epmod-study-link{font-size:11px;padding:9px 7px;gap:5px}.epmod-module .epmod-study-main{padding:9px}}

/* v4.2.1 — retorno ao curso destacado no topo da navegação */
.epmod-module .epmod-study-sidebar>a.epmod-study-back{display:flex!important;align-items:center!important;gap:10px!important;min-height:54px!important;margin:0 0 10px!important;padding:10px 12px!important;border:1px solid #b7cce2!important;border-radius:11px!important;background:linear-gradient(110deg,#123a6f,#205895)!important;color:#fff!important;box-shadow:0 5px 12px rgba(18,58,111,.13)!important;text-decoration:none!important;transition:background .18s ease,box-shadow .18s ease!important}
.epmod-module .epmod-study-sidebar>a.epmod-study-back:hover,.epmod-module .epmod-study-sidebar>a.epmod-study-back:focus-visible{background:linear-gradient(110deg,#0b2c57,#174b85)!important;color:#fff!important;box-shadow:0 7px 18px rgba(18,58,111,.22)!important;outline:2px solid #c5a365;outline-offset:2px}
.epmod-module .epmod-study-back .epmod-study-back-arrow{flex:0 0 29px!important;display:grid!important;place-items:center!important;width:29px!important;height:29px!important;border:1px solid rgba(255,255,255,.32)!important;border-radius:8px!important;color:#fff!important;font:700 19px Arial,sans-serif!important}
.epmod-module .epmod-study-back>span:last-child{display:block!important;flex:1!important;color:#fff!important;font:700 12px/1.35 Arial,sans-serif!important}
.epmod-module .epmod-study-back small{display:block!important;margin-top:3px!important;color:#dbe8f7!important;font:400 10px/1.2 Arial,sans-serif!important}
@media(max-width:850px){.epmod-module .epmod-study-sidebar>a.epmod-study-back{grid-column:1/-1!important}}
/* 4.2.2 — destaques visuais, sem alterar os links ou a navegação. */
.epmod-module .epmod-study-sidebar a.epmod-study-link.epmod-study-tool,
.epmod-module .epmod-study-sidebar a.epmod-study-link.epmod-study-tool:visited{min-height:46px!important;margin:4px 0!important;background:linear-gradient(110deg,#efe0bf,#fbf4e5)!important;border:1px solid #c5a365!important;border-left:4px solid #b28a43!important;color:#173657!important;font-weight:700!important;text-transform:none!important;letter-spacing:normal!important;box-shadow:0 3px 10px rgba(151,112,41,.1)!important}
.epmod-module .epmod-study-sidebar a.epmod-study-link.epmod-study-podcast,
.epmod-module .epmod-study-sidebar a.epmod-study-link.epmod-study-podcast:visited{min-height:46px!important;margin:4px 0!important;background:linear-gradient(110deg,#123a6f,#205786)!important;border:1px solid #123a6f!important;color:#fff!important;font-weight:700!important;text-transform:none!important;letter-spacing:normal!important;box-shadow:0 3px 10px rgba(18,58,111,.12)!important}
.epmod-module .epmod-study-sidebar a.epmod-study-link.epmod-study-tool span{color:#173657!important}
.epmod-module .epmod-study-sidebar a.epmod-study-link.epmod-study-podcast span{color:#fff!important}
.epmod-module .epmod-study-sidebar a.epmod-study-link.epmod-study-tool:hover{background:#ebd6ad!important}
.epmod-module .epmod-study-sidebar a.epmod-study-link.epmod-study-podcast:hover{background:#102f59!important}
.epmod-module .epmod-study-sidebar a.epmod-study-link.epmod-study-tool:focus-visible,
.epmod-module .epmod-study-sidebar a.epmod-study-link.epmod-study-podcast:focus-visible{outline:3px solid #b28a43!important;outline-offset:3px!important}
