:root{--mdf-guinda:#611232;--mdf-guinda2:#43091f;--mdf-dorado:#bc955c;--mdf-ink:#172b4d;--mdf-bg:#f6f6f6}.mdf,.mdf *{box-sizing:border-box}.mdf{position:relative;left:50%;width:100vw;max-width:100vw;margin-left:-50vw;margin-right:-50vw;overflow-x:clip;background:var(--mdf-bg);font-family:Inter,"Noto Sans",Arial,sans-serif;color:#24292d}.mdf-inner{width:min(1180px,calc(100% - 48px));margin:auto}.mdf-hero{position:relative;min-height:500px;padding:90px 0 120px;color:#fff;background:linear-gradient(115deg,var(--mdf-guinda2),var(--mdf-guinda) 55%,#a51f4d)}.mdf-hero-grid{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:50px}.mdf-hero span,.mdf-heading>span{font-size:.78rem;font-weight:850;letter-spacing:.14em;text-transform:uppercase;color:var(--mdf-dorado)}.mdf h1{font-size:clamp(2.6rem,5vw,4.7rem);line-height:1.04;margin:14px 0 20px;letter-spacing:-.04em}.mdf-hero p{font-size:1.17rem}.mdf-hero-cards{position:relative;height:300px}.mdf-hero-cards i{position:absolute;width:270px;height:170px;border-radius:14px;background:linear-gradient(145deg,#fff,#eef2ef);box-shadow:0 20px 44px #27051366}.mdf-hero-cards i:before{content:"FINABIEN";position:absolute;left:24px;top:26px;color:#006847;font-style:normal;font-weight:900;font-size:1.4rem}.mdf-hero-cards i:first-child{left:10px;top:28px;transform:rotate(13deg)}.mdf-hero-cards i:last-child{right:0;bottom:18px;transform:rotate(-9deg)}.mdf-slope{position:absolute;inset:auto 0 -1px;height:74px;background:var(--mdf-bg);clip-path:polygon(0 0,100% 72%,100% 100%,0 100%)}.mdf-nav{position:relative;z-index:2;width:min(1180px,calc(100% - 48px));margin:-42px auto 0;display:grid;grid-template-columns:repeat(6,1fr);background:#fff;border-radius:14px;box-shadow:0 8px 28px #0002;overflow:hidden}.mdf-nav a{display:flex;align-items:center;justify-content:center;min-height:72px;padding:12px;color:#444;text-decoration:none;text-align:center;font-weight:750;border-right:1px solid #eee}.mdf-nav a:hover{background:#fcf3f6;color:var(--mdf-guinda)}.mdf-section{padding:78px 0}.mdf-section:nth-of-type(odd){background:#fff}.mdf-heading{max-width:760px;margin-bottom:30px}.mdf-heading h2{font-size:clamp(2rem,3.6vw,3.15rem);line-height:1.12;color:var(--mdf-ink);margin:8px 0 10px}.mdf-heading p{color:#596168}.mdf-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.mdf-card{display:flex;flex-direction:column;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 8px 26px #0002}.mdf-media{position:relative;width:100%;height:290px;padding:0;border:0;background:#eef1ef;cursor:zoom-in;overflow:hidden}.mdf-media img{width:100%;height:100%;object-fit:cover;object-position:top}.mdf-media>span{position:absolute;right:14px;bottom:14px;width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:var(--mdf-guinda);color:#fff;font-size:1.3rem}.mdf-placeholder{display:grid;place-items:center;cursor:default}.mdf-placeholder span{position:static;width:auto;height:auto;background:none;color:#006847;font-weight:900}.mdf-card-body{display:flex;flex:1;flex-direction:column;padding:22px}.mdf-card h3{margin:0 0 10px;color:var(--mdf-ink);font-size:1.27rem}.mdf-card p{margin:0 0 20px;color:#5d666b;line-height:1.55}.mdf-button{align-self:flex-start;margin-top:auto;display:inline-flex;padding:11px 20px;border-radius:8px;background:var(--mdf-guinda);color:#fff;text-decoration:none;font-weight:750}.mdf-button:hover{background:#481026}.mdf-empty{padding:30px;border:1px dashed #c9cdd0;border-radius:14px;background:#fff;color:#62686c}.mdf-months{display:grid;grid-template-columns:230px 1fr;background:#fff;border-radius:16px;box-shadow:0 8px 26px #0002;overflow:hidden}.mdf-month-tabs{display:flex;flex-direction:column;background:#f3f3f3}.mdf-month-tabs button{padding:18px 20px;border:0;border-bottom:1px solid #ddd;background:transparent;text-align:left;font-weight:800;color:#555;cursor:pointer}.mdf-month-tabs button[aria-selected=true]{background:var(--mdf-guinda);color:#fff}.mdf-month-panels{padding:25px}.mdf-month-panel{display:grid;gap:10px}.mdf-month-panel a{display:grid;grid-template-columns:110px 1fr;gap:16px;padding:12px;border-radius:8px;color:#611232;text-decoration:none}.mdf-month-panel a:hover{background:#faf1f4}.mdf-month-panel time{font-weight:800;color:#555}.mdf-lightbox[hidden]{display:none}.mdf-lightbox{position:fixed;z-index:999999;inset:0;padding:68px 25px 25px;background:#0f1012f2}.mdf-lightbox>div{width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:auto}.mdf-lightbox img{max-width:94vw;max-height:88vh;object-fit:contain;transition:.2s}.mdf-lightbox.zoomed img{max-width:none;max-height:none;transform:scale(1.35)}.mdf-close,.mdf-zoom{position:fixed;top:16px;width:46px;height:46px;border:1px solid #ffffff99;border-radius:50%;background:var(--mdf-guinda);color:#fff;font-size:1.7rem;cursor:pointer}.mdf-close{right:20px}.mdf-zoom{right:78px}body.mdf-lock{overflow:hidden}@media(max-width:980px){.mdf-nav{grid-template-columns:repeat(3,1fr)}.mdf-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.mdf-hero-grid{grid-template-columns:1fr}.mdf-hero-cards{height:230px}.mdf-nav{grid-template-columns:repeat(2,1fr)}.mdf-months{grid-template-columns:1fr}.mdf-month-tabs{display:grid;grid-template-columns:repeat(2,1fr)}.mdf-grid{grid-template-columns:1fr}}@media(max-width:520px){.mdf-inner{width:calc(100% - 24px)}.mdf-hero{padding:60px 0 95px}.mdf-hero-cards i{width:220px;height:138px}.mdf-nav{width:calc(100% - 24px);grid-template-columns:1fr;margin-top:-30px}.mdf-section{padding:58px 0}.mdf-month-panel a{grid-template-columns:1fr}.mdf-media{height:340px}}
/* Version 1.2: adaptacion visual inspirada en el portal Pasaporte gob.mx */
.mdf .mdf-hero{min-height:520px;padding:76px 0 128px;background:linear-gradient(110deg,#3e071c 0%,#64112f 52%,#aa1f50 100%)}
.mdf .mdf-hero-grid{grid-template-columns:minmax(0,1fr) minmax(380px,.9fr);gap:70px}
.mdf .mdf-hero-copy{position:relative;z-index:2;max-width:670px}
.mdf .mdf-hero-copy>span{display:inline-block;color:#efd79e!important;font-size:.82rem!important;font-weight:850;letter-spacing:.15em;text-shadow:none}
.mdf .mdf-hero h1{max-width:680px;margin:15px 0 18px!important;color:#fff!important;font-size:clamp(3rem,5.7vw,5.3rem)!important;font-weight:820!important;line-height:1.01!important;letter-spacing:-.045em!important;text-shadow:0 2px 3px rgba(0,0,0,.24)}
.mdf .mdf-hero p{max-width:620px;margin:0 0 30px;color:#fff!important;font-size:clamp(1.12rem,2vw,1.45rem)!important;line-height:1.45;text-shadow:0 1px 2px rgba(0,0,0,.22)}
.mdf .mdf-hero-button{display:inline-flex;align-items:center;justify-content:center;min-height:51px;padding:12px 24px;border:2px solid #fff;border-radius:7px;background:#fff;color:#611232!important;font-weight:800;text-decoration:none!important;box-shadow:0 7px 18px rgba(35,0,13,.2)}
.mdf .mdf-hero-button:hover{background:#f5e8ed;transform:translateY(-1px)}
.mdf .mdf-hero-visual{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;min-height:330px}
.mdf .mdf-hero-visual img{display:block;width:min(100%,590px);max-height:390px;object-fit:contain;filter:drop-shadow(0 24px 24px rgba(24,0,9,.38));transform:rotate(-2deg)}
.mdf .mdf-slope{height:82px;background:var(--mdf-bg);clip-path:polygon(0 0,100% 58%,100% 100%,0 100%)}
.mdf .mdf-nav{margin-top:-34px;border:1px solid #ececee}
.mdf .mdf-nav a{min-height:68px;color:#2e3337!important;font-size:1.125rem}
.mdf .mdf-nav a:hover{background:#611232;color:#fff!important}
.mdf .mdf-heading>span{color:#9a6b22!important}
.mdf .mdf-heading h2{color:#111827!important;font-weight:820!important;letter-spacing:-.025em}
.mdf .mdf-heading p{color:#454d54!important;font-size:1.03rem;line-height:1.55}
.mdf .mdf-section{padding:72px 0}
.mdf .mdf-section:nth-of-type(odd){background:#fff}.mdf .mdf-section:nth-of-type(even){background:#f3f3f3}
.mdf .mdf-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.mdf .mdf-card{border:1px solid #e3e4e6;border-radius:12px;box-shadow:0 7px 20px rgba(0,0,0,.1);transition:transform .18s ease,box-shadow .18s ease}
.mdf .mdf-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(0,0,0,.14)}
.mdf .mdf-media{height:270px;background:linear-gradient(145deg,#edf2ef,#f9faf9)}
.mdf .mdf-media img{object-fit:contain;padding:12px;background:#f2f5f3}
.mdf .mdf-card-body{padding:20px}
.mdf .mdf-card h3{color:#111827!important;font-size:1.16rem!important;line-height:1.3}
.mdf .mdf-card p{color:#525a61!important;font-size:.93rem}
.mdf .mdf-button{min-height:42px;align-items:center;padding:10px 18px;background:#611232;border-radius:6px}
.mdf .mdf-button:hover{background:#3f081d}
.mdf .mdf-months{border:1px solid #e0e2e4;border-radius:12px;box-shadow:0 9px 24px rgba(0,0,0,.1)}
@media(max-width:900px){.mdf .mdf-hero-grid{grid-template-columns:1fr;gap:26px}.mdf .mdf-hero-copy{max-width:760px}.mdf .mdf-hero-visual{min-height:250px}.mdf .mdf-hero-visual img{max-height:300px}.mdf .mdf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.mdf .mdf-hero{padding:54px 0 96px;min-height:auto}.mdf .mdf-hero h1{font-size:2.7rem!important}.mdf .mdf-hero p{font-size:1.08rem!important}.mdf .mdf-hero-visual{min-height:190px}.mdf .mdf-hero-visual img{max-height:220px}.mdf .mdf-grid{grid-template-columns:1fr}.mdf .mdf-media{height:340px}}
/* Version 1.3: fichas en cuatro columnas e imagen final de la App FINABIEN */
.mdf .mdf-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.mdf .mdf-media{height:230px}
.mdf .mdf-card-body{padding:18px}
.mdf .mdf-card h3{font-size:1.03rem!important;line-height:1.28!important}
.mdf .mdf-card p{font-size:.88rem!important;line-height:1.48!important}
.mdf .mdf-button{font-size:.88rem;min-height:39px;padding:9px 15px}
.mdf .mdf-app-section{padding:78px 0 88px;background:#fff}
.mdf .mdf-app-section>.mdf-inner{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:42px;align-items:center}
.mdf .mdf-app-image{display:block;width:100%;padding:0;border:0;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 12px 34px rgba(0,0,0,.15);cursor:zoom-in}
.mdf .mdf-app-image img{display:block;width:100%;height:auto}
.mdf .mdf-app-copy>span{color:#9a6b22;font-size:.78rem;font-weight:850;letter-spacing:.14em}
.mdf .mdf-app-copy h2{margin:9px 0 14px;color:#111827!important;font-size:clamp(2rem,3vw,3.1rem)!important;line-height:1.1!important;letter-spacing:-.03em}
.mdf .mdf-app-copy p{margin:0;color:#454d54;font-size:1.05rem;line-height:1.6}
@media(max-width:1080px){.mdf .mdf-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.mdf .mdf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mdf .mdf-app-section>.mdf-inner{grid-template-columns:1fr}.mdf .mdf-app-copy{order:-1}}
@media(max-width:560px){.mdf .mdf-grid{grid-template-columns:1fr}.mdf .mdf-media{height:340px}.mdf .mdf-app-section{padding:58px 0 64px}}
/* Version 1.4: compatibilidad con contenedores Astra y Elementor */
body .entry-content:has(.mdf),body .elementor-widget-shortcode:has(.mdf),body .elementor-widget-text-editor:has(.mdf),body .elementor-widget-container:has(.mdf){width:100%!important;max-width:none!important;margin:0!important;padding:0!important;overflow:visible!important}
/* Version 1.5: titulo antes de imagen, imagen full y sin hueco superior */
body.page .site-content,
body.page .ast-container,
body.page #primary,
body.page #main,
body.page .entry-content,
body.page .elementor,
body.page .elementor-section-wrap,
body.page .elementor-widget-shortcode,
body.page .elementor-widget-shortcode>.elementor-widget-container{
  margin-top:0!important;
  padding-top:0!important;
}
body.page .site-content>.ast-container{max-width:none!important;padding-left:0!important;padding-right:0!important}
body.page .entry-content>p:first-child:empty{display:none!important;margin:0!important}
.mdf{margin-top:0!important}
.mdf .mdf-hero{margin-top:0!important}
.mdf .mdf-app-section{padding:72px 0 82px!important;background:#fff}
.mdf .mdf-app-section>.mdf-inner{display:flex!important;flex-direction:column!important;gap:28px!important;align-items:stretch!important;width:min(1400px,calc(100% - 48px))!important;max-width:1400px!important}
.mdf .mdf-app-copy{order:1!important;width:100%!important;max-width:980px!important;margin:0 auto!important;text-align:center!important}
.mdf .mdf-app-copy>span{display:block!important}
.mdf .mdf-app-copy h2{margin:10px 0 12px!important}
.mdf .mdf-app-copy p{max-width:820px!important;margin:0 auto!important}
.mdf .mdf-app-image{order:2!important;width:100%!important;max-width:none!important;margin:0 auto!important;border-radius:16px!important}
.mdf .mdf-app-image img{display:block!important;width:100%!important;height:auto!important;max-width:none!important;object-fit:contain!important;margin:0 auto!important}
@media(max-width:560px){
  body.page .site-content{padding-top:0!important}
  .mdf .mdf-app-section{padding:54px 0 62px!important}
  .mdf .mdf-app-section>.mdf-inner{width:calc(100% - 24px)!important;gap:22px!important}
  .mdf .mdf-app-copy{text-align:left!important}
}
/* Version 1.6: texto arriba, imagen 1180 px sin borde y hero pegado al menu */
html body.page .site-content,
html body.page .site-content > .ast-container,
html body.page #primary,
html body.page #main,
html body.page article,
html body.page .entry-content,
html body.page .elementor,
html body.page .elementor-section-wrap,
html body.page .elementor-top-section:first-child,
html body.page .elementor-top-section:first-child > .elementor-container,
html body.page .elementor-top-section:first-child .elementor-column,
html body.page .elementor-top-section:first-child .elementor-widget-wrap,
html body.page .elementor-widget-shortcode,
html body.page .elementor-widget-shortcode > .elementor-widget-container{
  margin-top:0!important;
  padding-top:0!important;
}
html body.page .site-content{margin-top:0!important}
html body.page .site-content > .ast-container{max-width:none!important;padding-left:0!important;padding-right:0!important}
html body.page .entry-content > *:first-child{margin-top:0!important}
html body.page .mdf{margin-top:0!important;padding-top:0!important}
html body.page .mdf .mdf-hero{margin-top:0!important}
.mdf .mdf-app-section>.mdf-inner{
  width:min(1180px,calc(100% - 48px))!important;
  max-width:1180px!important;
  gap:28px!important;
}
.mdf .mdf-app-copy{
  order:1!important;
  width:100%!important;
  max-width:1180px!important;
  margin:0 auto!important;
  text-align:center!important;
}
.mdf .mdf-app-image{
  order:2!important;
  display:block!important;
  width:100%!important;
  max-width:1180px!important;
  margin:0 auto!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:0 14px 34px rgba(0,0,0,.18)!important;
  overflow:hidden!important;
}
.mdf .mdf-app-image img{
  display:block!important;
  width:100%!important;
  max-width:1180px!important;
  height:auto!important;
  margin:0 auto!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
@media(max-width:560px){
  .mdf .mdf-app-section>.mdf-inner{width:calc(100% - 24px)!important}
  .mdf .mdf-app-copy{text-align:center!important}
}
/* Version 1.7: lenguaje visual unificado con Remesa Paisano */
:root{--g:#611232;--gd:#460a22;--gold:#bc955c;--ink:#172b4d;--bg:#f7f7f7}
.mdf,.mdf *{box-sizing:border-box}
.mdf{position:relative;left:50%;width:100vw;max-width:100vw;margin-left:-50vw;margin-right:-50vw;overflow-x:clip;background:var(--bg);font-family:Inter,"Noto Sans",Arial,sans-serif;color:#252525;line-height:1.55}
.mdf .mdf-inner{width:min(1180px,calc(100% - 48px));margin:auto}
.mdf .mdf-hero{position:relative;min-height:580px;margin:0!important;padding:88px 0 120px!important;color:#fff;background:linear-gradient(112deg,var(--gd),var(--g) 48%,#a61d4f)}
.mdf .mdf-hero-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:42px;align-items:center}
.mdf .mdf-hero-copy>span,.mdf .mdf-heading>span,.mdf .mdf-app-copy>span{display:inline-block;color:var(--gold)!important;font-size:.77rem!important;font-weight:800!important;letter-spacing:.14em!important;text-transform:uppercase}
.mdf .mdf-hero h1{font-size:clamp(2.55rem,5vw,4.6rem)!important;line-height:1.06!important;color:#fff!important;margin:15px 0 22px!important;font-weight:800!important;letter-spacing:-.04em!important;text-shadow:none!important}
.mdf .mdf-hero p{max-width:650px;font-size:clamp(1rem,1.8vw,1.25rem)!important;line-height:1.55!important;color:#fff!important}
.mdf .mdf-hero-button{display:inline-flex;padding:12px 20px;border:0!important;border-radius:8px;background:#fff!important;color:var(--g)!important;font-weight:750;text-decoration:none!important;box-shadow:none!important}
.mdf .mdf-hero-button:hover{background:#f8eef2!important;transform:translateY(-1px)}
.mdf .mdf-hero-visual{min-height:360px}
.mdf .mdf-hero-visual img{width:100%;max-height:500px;object-fit:contain;filter:drop-shadow(0 18px 20px rgba(0,0,0,.28));transform:none}
.mdf .mdf-slope{position:absolute;inset:auto 0 -1px;height:78px;background:var(--bg);clip-path:polygon(0 0,100% 72%,100% 100%,0 100%)}
.mdf .mdf-nav{position:relative;z-index:2;width:min(1180px,calc(100% - 48px));margin:-42px auto 0!important;display:grid;grid-template-columns:repeat(6,1fr);background:#fff;border:0!important;border-radius:15px;box-shadow:0 8px 28px #0002;overflow:hidden}
.mdf .mdf-nav a{display:flex;align-items:center;justify-content:center;min-height:72px;padding:21px 12px;color:#444!important;text-align:center;text-decoration:none!important;font-weight:700;border-right:1px solid #e5e5e5}
.mdf .mdf-nav a:hover{background:#f9edf1!important;color:var(--g)!important}
.mdf .mdf-section{padding:78px 0}
.mdf .mdf-section:nth-of-type(odd){background:#fff}
.mdf .mdf-section:nth-of-type(even){background:var(--bg)}
.mdf .mdf-heading{max-width:760px;margin-bottom:30px}
.mdf .mdf-heading h2,.mdf .mdf-app-copy h2{font-size:clamp(2rem,3.5vw,3rem)!important;line-height:1.15!important;color:var(--ink)!important;margin:9px 0 12px!important;font-weight:800!important;letter-spacing:-.025em!important}
.mdf .mdf-heading p,.mdf .mdf-app-copy p{color:#3d454b!important;font-size:1.03rem!important;line-height:1.62!important}
.mdf .mdf-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.mdf .mdf-card{display:flex;flex-direction:column;background:#fff;border:0!important;border-radius:14px;overflow:hidden;box-shadow:0 7px 22px #0002;transition:transform .18s ease,box-shadow .18s ease}
.mdf .mdf-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #0003}
.mdf .mdf-media{position:relative;width:100%;height:235px;padding:0;border:0;background:#f1f4f2;cursor:zoom-in;overflow:hidden}
.mdf .mdf-media img{display:block;width:100%;height:100%;padding:10px;object-fit:contain;object-position:center;background:#f1f4f2}
.mdf .mdf-media>span{position:absolute;right:13px;bottom:13px;width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:var(--g);color:#fff}
.mdf .mdf-card-body{display:flex;flex:1;flex-direction:column;padding:18px;border-top:4px solid var(--g)}
.mdf .mdf-card h3{margin:0 0 10px!important;color:var(--ink)!important;font-size:1.04rem!important;line-height:1.3!important;font-weight:750!important}
.mdf .mdf-card p{margin:0 0 18px!important;color:#525a61!important;font-size:.89rem!important;line-height:1.5!important}
.mdf .mdf-button{align-self:flex-start;margin-top:auto;display:inline-flex;align-items:center;min-height:40px;padding:9px 16px;border-radius:8px;background:var(--g)!important;color:#fff!important;font-size:.88rem;font-weight:750;text-decoration:none!important}
.mdf .mdf-button:hover{background:var(--gd)!important}
.mdf .mdf-empty{padding:30px;border:1px dashed #c9cdd0;border-radius:14px;background:#fff;color:#62686c}
.mdf .mdf-months{display:grid;grid-template-columns:230px 1fr;background:#fff;border:0!important;border-radius:16px;box-shadow:0 8px 26px #0002;overflow:hidden}
.mdf .mdf-month-tabs{display:flex;flex-direction:column;background:#f3f3f3}
.mdf .mdf-month-tabs button{padding:18px 20px;border:0;border-bottom:1px solid #ddd;background:transparent;text-align:left;font-weight:800;color:#555;cursor:pointer}
.mdf .mdf-month-tabs button[aria-selected=true]{background:var(--g);color:#fff}
.mdf .mdf-month-panel a{color:var(--g)!important}
.mdf .mdf-app-section{padding:78px 0 88px!important;background:#fff}
.mdf .mdf-app-section>.mdf-inner{width:min(1180px,calc(100% - 48px))!important;max-width:1180px!important;display:flex!important;flex-direction:column!important;gap:28px!important}
.mdf .mdf-app-copy{order:1;width:100%;max-width:960px;margin:0 auto;text-align:center}
.mdf .mdf-app-image{order:2;display:block;width:100%;max-width:1180px;margin:0 auto;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:0 14px 34px rgba(0,0,0,.18)!important;overflow:hidden}
.mdf .mdf-app-image img{display:block;width:100%;height:auto;max-width:1180px;margin:0 auto;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.mdf .mdf-lightbox{background:rgba(15,15,18,.94)}
.mdf .mdf-close,.mdf .mdf-zoom{background:var(--g);color:#fff}
/* Quita el hueco generado por Astra/Elementor solo en la página que contiene el micrositio */
body.page:has(.mdf) .site-content,body.page:has(.mdf) .site-content>.ast-container,body.page:has(.mdf) #primary,body.page:has(.mdf) #main,body.page:has(.mdf) article,body.page:has(.mdf) .entry-content,body.page:has(.mdf) .elementor,body.page:has(.mdf) .elementor-section-wrap,body.page:has(.mdf) .elementor-top-section:first-child,body.page:has(.mdf) .elementor-top-section:first-child>.elementor-container,body.page:has(.mdf) .elementor-widget-shortcode,body.page:has(.mdf) .elementor-widget-shortcode>.elementor-widget-container{margin-top:0!important;padding-top:0!important}
body.page:has(.mdf) .site-content>.ast-container{max-width:none!important;padding-left:0!important;padding-right:0!important}
body.page:has(.mdf) .entry-content>*:first-child{margin-top:0!important}
@media(max-width:1080px){.mdf .mdf-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.mdf .mdf-hero-grid{grid-template-columns:1fr}.mdf .mdf-nav{grid-template-columns:repeat(3,1fr)}.mdf .mdf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mdf .mdf-months{grid-template-columns:1fr}.mdf .mdf-month-tabs{display:grid;grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.mdf .mdf-inner,.mdf .mdf-nav,.mdf .mdf-app-section>.mdf-inner{width:calc(100% - 24px)!important}.mdf .mdf-hero{min-height:auto;padding:58px 0 90px!important}.mdf .mdf-hero-visual{min-height:210px}.mdf .mdf-nav{grid-template-columns:1fr;margin-top:-28px!important}.mdf .mdf-section{padding:56px 0}.mdf .mdf-grid{grid-template-columns:1fr}.mdf .mdf-media{height:340px}.mdf .mdf-app-section{padding:56px 0 64px!important}.mdf .mdf-app-copy{text-align:center}}
/* Version 1.8: hero al filo del menu institucional, sin franja blanca */
html body.mdf-page-active .site-content,
html body.mdf-page-active #content,
html body.mdf-page-active .site-content>.ast-container,
html body.mdf-page-active #primary,
html body.mdf-page-active #main,
html body.mdf-page-active article,
html body.mdf-page-active .entry-content,
html body.mdf-page-active .elementor,
html body.mdf-page-active .elementor-section-wrap,
html body.mdf-page-active .elementor-top-section:first-child,
html body.mdf-page-active .elementor-top-section:first-child>.elementor-container,
html body.mdf-page-active .elementor-top-section:first-child .elementor-column,
html body.mdf-page-active .elementor-top-section:first-child .elementor-widget-wrap,
html body.mdf-page-active .elementor-widget-shortcode,
html body.mdf-page-active .elementor-widget-shortcode>.elementor-widget-container{
  margin-top:0!important;
  padding-top:0!important;
}
html body.mdf-page-active .site-content,
html body.mdf-page-active #content{padding:0!important;margin:0!important}
html body.mdf-page-active .site-content>.ast-container{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
html body.mdf-page-active #primary,
html body.mdf-page-active #main,
html body.mdf-page-active article,
html body.mdf-page-active .entry-content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
html body.mdf-page-active .entry-content>p:first-child,
html body.mdf-page-active .entry-content>p:empty,
html body.mdf-page-active .elementor-widget-shortcode>.elementor-widget-container>p:empty{display:none!important;height:0!important;margin:0!important;padding:0!important}
html body.mdf-page-active .mdf{margin-top:0!important;padding-top:0!important;vertical-align:top!important}
html body.mdf-page-active .mdf .mdf-hero{margin-top:0!important;border-top:0!important}



/* FINABIEN: eliminar espacio entre navegación y Hero */
html body:has(.mdf) .site-content,
html body:has(.mdf) #content,
html body:has(.mdf) #primary,
html body:has(.mdf) #main,
html body:has(.mdf) article,
html body:has(.mdf) .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Eliminar espacios del contenedor Astra */
html body:has(.mdf) .site-content > .ast-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Igualar los márgenes del widget a Remesa Paisano */
html body:has(.mdf) .elementor-widget-shortcode,
html body:has(.mdf) .elementor-widget-shortcode > .elementor-widget-container,
html body:has(.mdf) .elementor-widget:has(.mdf),
html body:has(.mdf) .elementor-widget:has(.mdf) > .elementor-widget-container {
    width: 100% !important;
    max-width: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Eliminar el espacio anterior al Hero */
html body:has(.mdf) .mdf {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

html body:has(.mdf) .mdf .mdf-hero {
    margin-top: 0 !important;
}
