/*
Theme Name: AEM Digital
Version: 2.3.0
Description: Tema AEM Digital — revisão de tipografia, navegação e conteúdos.
Requires PHP: 7.4
*/
:root{--green:#176344;--dark:#112e2b;--lime:#b6d454;--muted:#52665f;--line:#dfe7e2;--bg:#f5f7f5;--radius:16px}*{box-sizing:border-box}body{margin:0;font-family:Inter,"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif;font-size:16px;line-height:1.65;color:#17322e;background:var(--bg);-webkit-font-smoothing:antialiased}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #89aa36;outline-offset:3px}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;border-radius:9px;padding:11px 17px;font-weight:650;background:#e5eee8;color:var(--green)}.wrap{max-width:1280px;margin:0 auto;padding:0 28px}.topbar{background:var(--dark);color:#dce9e1;font-size:12px;padding:7px 0}.topbar .wrap{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.site-header{background:white;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:100;box-shadow:0 3px 18px #112e2b09}.admin-bar .site-header{top:32px}.site-header .brand-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:12px;padding-bottom:12px;max-width:1600px}.logo,.custom-logo{width:146px;max-width:100%;height:auto;display:block}.brand-row>a{flex:0 0 146px}.nav{display:flex;align-items:center;justify-content:space-between;gap:clamp(7px,1vw,16px);font-size:clamp(11px,.85vw,13px);font-weight:650;min-width:0}.nav>a,.nav summary{white-space:nowrap;color:#173c32}.nav>a:hover{color:var(--green)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--green);color:white!important;padding:11px 17px;border-radius:9px;border:0;font-weight:650;line-height:1.35;text-decoration:none!important;cursor:pointer}.nav .btn{padding:9px 12px}.nav-toggle{display:none}.natal-menu{position:relative;color:#932b38}.natal-menu summary{cursor:pointer;list-style:none;color:#932b38}.natal-menu summary::-webkit-details-marker{display:none}.natal-dropdown{position:absolute;right:0;top:100%;min-width:230px;background:white;box-shadow:0 12px 35px #0002;border:1px solid var(--line);border-radius:10px;padding:8px;z-index:110}.natal-dropdown a{display:block;padding:9px 12px;color:#17322e}.hero{background:var(--dark);color:white;overflow:hidden}.hero .wrap{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;min-height:470px;gap:24px;padding-top:45px;padding-bottom:45px}.hero h1{font-size:clamp(42px,5.5vw,76px);line-height:1.03;letter-spacing:-.055em;margin:0 0 22px;color:white}.hero p{color:#d3e7da;font-size:19px;max-width:520px}.hero .btn.light{background:var(--lime);color:#193c2d!important}.hero .btn.secondary{background:#e5eee8;color:var(--green)!important}.hero .btn{margin:5px 5px 0 0}.art{width:100%;max-height:420px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;color:#59792e;text-transform:uppercase;margin-bottom:14px}.hero .eyebrow{color:var(--lime)}h1,h2,h3,h4,p{margin-top:0}h1{font-size:clamp(32px,4vw,50px);line-height:1.12;letter-spacing:-.04em;margin-bottom:22px}h2{font-size:clamp(25px,3vw,38px);line-height:1.18;letter-spacing:-.035em;margin-bottom:18px}h3{font-size:19px;line-height:1.35;margin-bottom:8px}p{color:var(--muted);margin-bottom:16px}.section{padding:45px 0}.section.wrap{padding:45px 28px}.section>.wrap{padding-top:0;padding-bottom:0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:16px}.grid.six{grid-template-columns:repeat(6,minmax(0,1fr))}.card,.quick{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:22px;min-width:0;overflow:hidden}.card p{font-size:15px}.quick{display:block;font-weight:650;min-height:110px;padding:16px;transition:transform .18s,box-shadow .18s}.quick:hover{transform:translateY(-3px);box-shadow:0 8px 24px #1231;text-decoration:none}.quick span{display:block;font-size:27px;margin-bottom:7px}.band{background:#e6eee7}.row{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:18px}.row h2{margin:0}.split{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}.cover,.news-card img{width:100%;height:180px;object-fit:cover;border-radius:10px;margin-bottom:12px}.newsart{height:180px;border-radius:10px;background:linear-gradient(130deg,#184f42,#87ad57);display:grid;place-items:center;color:white;font-size:37px;margin-bottom:14px}.news-card small{color:var(--muted);font-size:12px}.news-card h3{margin:8px 0}.natal-banner{background:linear-gradient(115deg,#70202e,#a63a42);color:white;padding:32px;border-radius:18px}.natal-banner p,.natal-banner .eyebrow{color:#ffe7e7}.natal-banner .btn{background:white;color:#70202e!important}.team-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.team-card{background:white;border:1px solid var(--line);border-radius:14px;display:flex;flex-direction:column;align-items:center;text-align:center;padding:18px 12px;min-width:0}.team-photo{width:100px;height:100px;border-radius:50%;background:#edf2ee;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-shrink:0}.team-photo img{width:100%;height:100%;object-fit:contain}.team-info{padding:12px 0 0}.team-info h3,.team-president .team-info h3{font-size:16px;line-height:1.3;margin:5px 0 0}.team-info small{color:var(--green);font-size:12px;font-weight:650}.team-president{grid-column:auto;background:#eaf2ec}.content{background:white;border:1px solid var(--line);padding:clamp(18px,3vw,38px);border-radius:var(--radius);min-width:0;overflow-wrap:anywhere;margin-bottom:24px}.content>h1{margin-bottom:26px}.content p,.content li{line-height:1.75}.content img{max-width:100%;height:auto}.content table{width:100%;border-collapse:collapse;display:block;overflow:auto}.content td,.content th{padding:10px;border-bottom:1px solid var(--line);text-align:left}.content iframe{max-width:100%}.content .aligncenter{display:block;margin:16px auto}.content .alignleft{float:left;margin:0 20px 14px 0}.content .alignright{float:right;margin:0 0 14px 20px}.content:after{content:"";display:block;clear:both}.content .vc_row[data-vc-full-width],.content .vc_row{left:auto!important;width:auto!important;max-width:100%!important;padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important}.content .vc_column_container{min-width:0}.content .wpb_wrapper,.content .vc_column-inner{max-width:100%}.content .wpb_text_column,.content .wpb_text_column p{font-family:inherit!important;font-size:16px!important;line-height:1.75!important}.content .wpb_single_image img{max-width:100%;height:auto}.content .vc_empty_space{max-height:28px}.content .vc_custom_heading{font-family:inherit!important;line-height:1.3!important}.content .porto-u-heading{max-width:100%}.content .wpb_text_column table{font-size:14px}.content form{max-width:780px}.aemg-list form{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end;max-width:none;padding:16px;background:#f1f5f1;border-radius:12px}.aemg-list form label{flex:2;min-width:180px;margin:0}.aemg-list form select{flex:1;min-width:160px}.aemg-list form button{margin:0}.aemg-list article{background:white;min-width:0;overflow-wrap:anywhere}.aemg-list article img{display:block;width:100%;height:105px!important;object-fit:contain;margin-bottom:14px}.aemg-list article h3{font-size:18px}.aemg-list article div{font-size:14px}.aemg-list article p{font-size:14px}.content [id^=aemmap]:not(button){max-width:100%}input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),select,textarea{width:100%;max-width:100%;padding:11px 13px;border:1px solid #c8d5cd;border-radius:8px;background:white;color:#17322e}input[type=checkbox],input[type=radio]{width:auto;margin-right:6px;vertical-align:middle}label{font-weight:600;font-size:14px;display:block;margin:10px 0 5px}.wpcf7 input[type=submit]{background:var(--green);color:white;border:0;padding:12px 20px;border-radius:8px;cursor:pointer}.tag{display:inline-block;background:#e6f0e6;color:var(--green);border-radius:20px;padding:4px 9px;font-size:12px}.footer-site{background:var(--dark);color:white;padding:36px 0}.footer-site p{color:#c3d5ca}.footer-site a{color:#d0e7d5}.pagination,.nav-links{display:flex;gap:10px;flex-wrap:wrap}.page-numbers{padding:8px 12px;border-radius:8px;background:white}.page-numbers.current{background:var(--green);color:white}
@media(max-width:1250px){.site-header .brand-row{flex-wrap:wrap}.nav-toggle{display:block}.nav{display:none;flex-basis:100%;flex-wrap:wrap;justify-content:flex-start;font-size:14px;gap:8px 18px;padding:12px 0}.nav.is-open{display:flex}.nav a,.nav summary{padding:6px 0}.nav .btn{padding:9px 12px}.natal-dropdown{left:0;right:auto}.grid.six{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.wrap,.section.wrap{padding-left:18px;padding-right:18px}.hero .wrap,.split{grid-template-columns:1fr}.hero .wrap{min-height:0;padding-top:36px;padding-bottom:36px}.art{max-height:260px}.section,.section.wrap{padding-top:30px;padding-bottom:30px}.team-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.content .vc_column_container{float:none!important;width:100%!important}.content .alignleft,.content .alignright{float:none;margin:12px auto;display:block}.content .vc_column-inner{padding:0!important}.content .vc_row{display:block!important}.admin-bar .site-header{top:46px}}
@media(max-width:550px){.grid.six,.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.team-photo{width:78px;height:78px}.team-card{padding:14px 8px}.team-info h3,.team-president .team-info h3{font-size:14px}.hero h1{font-size:44px}.hero p{font-size:17px}.natal-banner{padding:22px}.site-header .brand-row>a{flex-basis:125px}.topbar .wrap{font-size:11px}.content{padding:16px}.aemg-list form>*{flex:1 1 100%!important;min-width:0!important}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* 0.7 — isolated navigation, independent of legacy Porto and plugin selectors. */
#aemd-header{position:relative;z-index:1000;background:#fff!important;color:#17322e!important;border-bottom:1px solid #dfe7e2;box-shadow:0 4px 22px #112e2b0b;font-family:Inter,"Segoe UI",system-ui,sans-serif;line-height:1.4;text-align:left;width:100%;max-width:100%;padding:0;margin:0;overflow:visible!important}
#aemd-header .aemd-shell{width:100%;max-width:1440px;margin:0 auto;padding:0 28px;box-sizing:border-box}
#aemd-header .aemd-utility{background:#f2f6f3!important;color:#466155!important;font-size:12px;border-bottom:1px solid #e5ece7}
#aemd-header .aemd-utility .aemd-shell{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;padding-top:8px;padding-bottom:8px}
#aemd-header .aemd-utility a{color:#466155!important;text-decoration:none}
#aemd-header .aemd-brand{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:14px;padding-bottom:14px;background:#fff!important}
#aemd-header .aemd-logo{flex:0 0 auto;max-width:185px;line-height:0}
#aemd-header .aemd-logo img{display:block;width:170px;height:auto;max-width:100%;max-height:74px;object-fit:contain}
#aemd-header .aemd-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
#aemd-header .aemd-login{display:inline-flex;align-items:center;gap:8px;background:#176344!important;color:#fff!important;padding:11px 17px;border-radius:9px;font-size:13px;font-weight:650;white-space:nowrap;text-decoration:none!important}
#aemd-header .aemd-login:hover{background:#104d34!important}
#aemd-header .aemd-toggle{display:none;color:#173c32!important;background:#eef4ef!important;border:0;border-radius:8px;padding:10px 14px;font-size:14px;white-space:nowrap}
#aemd-header .aemd-navigation{display:flex;align-items:center;justify-content:space-between;gap:4px;background:#fff!important;border-top:1px solid #edf1ee;padding-top:3px;padding-bottom:3px;overflow:visible!important}
#aemd-header .aemd-navitem{display:flex;align-items:center;position:relative;min-width:0;flex:0 0 auto;border-bottom:2px solid transparent;border-radius:7px 7px 0 0}
#aemd-header .aemd-navlink{display:block;white-space:nowrap;font-size:clamp(12px,1.05vw,14px);font-weight:650;color:#203b34!important;padding:12px 8px;text-decoration:none!important;line-height:1.4;background:transparent!important}
#aemd-header .aemd-navitem:hover,#aemd-header .aemd-current{background:#edf5ee!important;border-bottom-color:#176344}
#aemd-header .aemd-current .aemd-navlink{color:#176344!important}
#aemd-header .aemd-season .aemd-navlink{color:#922e3e!important}
#aemd-header .aemd-details{position:static;margin:0;padding:0;color:#176344}
#aemd-header .aemd-details summary{display:grid;place-items:center;width:23px;height:36px;cursor:pointer;list-style:none;color:#176344!important;padding:0;margin:0}
#aemd-header .aemd-details summary::-webkit-details-marker{display:none}
#aemd-header .aemd-dropdown{position:absolute;top:100%;left:0;min-width:235px;background:#fff!important;border:1px solid #dfe7e2;border-radius:10px;box-shadow:0 12px 32px #112e2b20;padding:7px;z-index:1001}
#aemd-header .aemd-season .aemd-dropdown{right:0;left:auto}
#aemd-header .aemd-dropdown a{display:block;font-size:13px;font-weight:550;color:#203b34!important;background:transparent!important;border-radius:6px;padding:10px 12px;text-decoration:none!important;white-space:normal}
#aemd-header .aemd-dropdown a:hover{background:#edf5ee!important;color:#176344!important}
#aemd-header a:focus-visible,#aemd-header button:focus-visible,#aemd-header summary:focus-visible{outline:2px solid #176344;outline-offset:2px}
@media(max-width:1050px){#aemd-header .aemd-toggle{display:inline-flex;align-items:center;gap:6px}#aemd-header .aemd-navigation{display:none;flex-direction:column;align-items:stretch;gap:2px;padding-top:8px;padding-bottom:14px}#aemd-header .aemd-navigation.aemd-open{display:flex}#aemd-header .aemd-navitem{flex-wrap:wrap;justify-content:space-between}#aemd-header .aemd-navlink{font-size:15px;flex:1;padding:12px}#aemd-header .aemd-details{display:contents}#aemd-header .aemd-details summary{width:40px}#aemd-header .aemd-dropdown{position:static;width:100%;box-shadow:none;min-width:0;margin-bottom:6px}}
@media(max-width:550px){#aemd-header .aemd-shell{padding-left:14px;padding-right:14px}#aemd-header .aemd-logo{max-width:125px}#aemd-header .aemd-logo img{width:125px}#aemd-header .aemd-brand{gap:8px}#aemd-header .aemd-actions{gap:5px}#aemd-header .aemd-login{font-size:12px;padding:9px 8px;gap:4px}#aemd-header .aemd-toggle{font-size:12px;padding:9px 8px}#aemd-header .aemd-utility .aemd-shell{font-size:11px}}

/* 0.8: original dark green header; unmodified original logo on white. */
#aemd-header{background:#112e2b!important;color:#fff!important;border-bottom-color:#36554e;box-shadow:none}
#aemd-header .aemd-utility{background:#112e2b!important;color:#c5dcd1!important;border-bottom-color:#36554e}
#aemd-header .aemd-utility a{color:#c5dcd1!important}
#aemd-header .aemd-brand,#aemd-header .aemd-navigation{background:#112e2b!important;border-color:#36554e}
#aemd-header .aemd-logo a{display:block;background:#fff;padding:5px 8px;border-radius:4px;line-height:0}
#aemd-header .aemd-logo img{width:170px;height:auto;max-height:none;object-fit:contain;filter:none!important;opacity:1!important}
#aemd-header .aemd-navlink,#aemd-header .aemd-details summary{color:#fff!important}
#aemd-header .aemd-navitem:hover,#aemd-header .aemd-current{background:#21463d!important;border-bottom-color:#b6d454}
#aemd-header .aemd-current .aemd-navlink{color:#d9ef99!important}
#aemd-header .aemd-season .aemd-navlink{color:#f4d28b!important}
#aemd-header .aemd-login{background:#287b57!important;color:white!important}
#aemd-header .aemd-toggle{background:#21463d!important;color:white!important}
#aemd-header a:focus-visible,#aemd-header button:focus-visible,#aemd-header summary:focus-visible{outline-color:#b6d454}
@media(max-width:550px){#aemd-header .aemd-logo img{width:109px}}


/* 0.9: refined premium navigation while preserving the dark green identity. */
#aemd-header .aemd-utility{font-size:11.5px;letter-spacing:.01em}
#aemd-header .aemd-brand{padding-top:12px;padding-bottom:10px}
#aemd-header .aemd-logo a{padding:6px 10px;border-radius:10px;box-shadow:0 4px 14px rgba(0,0,0,.08)}
#aemd-header .aemd-navigation{justify-content:flex-start;gap:10px;padding-top:12px;padding-bottom:12px;border-top:1px solid rgba(255,255,255,.12)}
#aemd-header .aemd-navitem{border:0!important;border-radius:14px;transition:background .18s ease,transform .18s ease,box-shadow .18s ease;overflow:visible}
#aemd-header .aemd-navlink{padding:11px 16px;font-size:clamp(13px,.95vw,15px);font-weight:700;letter-spacing:-.01em;border-radius:14px}
#aemd-header .aemd-details summary{width:26px;height:42px;border-radius:12px;color:#dbe9e2!important;transition:background .18s ease,color .18s ease}
#aemd-header .aemd-navitem:hover{background:rgba(255,255,255,.06)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);transform:translateY(-1px)}
#aemd-header .aemd-navitem:hover .aemd-navlink,#aemd-header .aemd-navitem:hover .aemd-details summary{color:#fff!important}
#aemd-header .aemd-current{background:linear-gradient(180deg,rgba(182,212,84,.16),rgba(182,212,84,.10))!important;box-shadow:inset 0 0 0 1px rgba(182,212,84,.18)}
#aemd-header .aemd-current .aemd-navlink{color:#e2f39f!important}
#aemd-header .aemd-current .aemd-details summary{color:#e2f39f!important}
#aemd-header .aemd-details[open] summary{background:rgba(255,255,255,.08)!important}
#aemd-header .aemd-dropdown{margin-top:10px;border:1px solid rgba(17,46,43,.08);border-radius:16px;box-shadow:0 18px 40px rgba(17,46,43,.18);padding:10px}
#aemd-header .aemd-dropdown a{padding:11px 12px;border-radius:10px;font-size:13px}
#aemd-header .aemd-season{background:rgba(244,210,139,.08)!important;box-shadow:inset 0 0 0 1px rgba(244,210,139,.16)}
#aemd-header .aemd-season .aemd-navlink{color:#f3d48d!important}
#aemd-header .aemd-season:hover{background:rgba(244,210,139,.14)!important}
#aemd-header .aemd-login{border-radius:12px;padding:11px 18px;box-shadow:0 10px 24px rgba(17,46,43,.18)}
#aemd-header .aemd-toggle{border-radius:12px}
@media(max-width:1050px){
  #aemd-header .aemd-navigation{gap:6px;padding-top:10px;padding-bottom:14px}
  #aemd-header .aemd-navitem{border-radius:12px}
  #aemd-header .aemd-navlink{padding:12px 14px}
}
@media(max-width:550px){
  #aemd-header .aemd-brand{padding-top:10px;padding-bottom:8px}
  #aemd-header .aemd-navigation{padding-top:8px;padding-bottom:10px}
  #aemd-header .aemd-navlink{font-size:14px}
}


/* 1.0: lighter visual balance, modern typography and more uniform internal pages. */
:root{--green:#1f5e4f;--green-deep:#123a34;--green-soft:#eef4f0;--dark:#123a34;--bg:#f4f7f5;--text:#17342e;--muted:#5a6c67;--line:#dbe6df}
html,body{font-family:"Manrope","Inter","Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif;color:var(--text);background:linear-gradient(180deg,#f4f7f5 0%,#f6f8f7 100%)}
body{font-size:17px;line-height:1.7}
a{color:var(--green)}
.topbar,#aemd-header .aemd-utility{background:#123a34!important;color:#d6e6de!important}
.site-header,#aemd-header{background:#123a34!important}
.hero{background:linear-gradient(135deg,#123a34 0%,#145044 55%,#184f42 100%)!important}
.hero .wrap{min-height:420px;padding-top:40px;padding-bottom:40px}
.hero h1{font-size:clamp(40px,5vw,68px);line-height:1.02;letter-spacing:-.05em;margin-bottom:16px}
.hero p{font-size:18px;max-width:560px;color:#dbe9e2}
.hero .art{max-height:360px;filter:drop-shadow(0 18px 30px rgba(0,0,0,.15))}
.section{padding:40px 0}
.band{background:#eef4f0!important}
.quick,.card,.content{border:1px solid rgba(19,58,52,.08);box-shadow:0 10px 24px rgba(18,58,52,.04)}
.quick{padding:18px;border-radius:18px;background:#fff}
.quick span{color:var(--green)}
.card{border-radius:18px;padding:24px}
.row .btn,.card .btn,.natal-banner .btn,.hero .btn{border-radius:12px;font-weight:700}
h1,h2,h3,h4{font-family:"Manrope","Inter","Segoe UI",system-ui,sans-serif;color:#14352f}
h1{font-size:clamp(34px,4vw,54px)}
h2{font-size:clamp(28px,3vw,40px);margin-bottom:14px}
h3{font-size:21px}
p{font-size:16.5px;color:var(--muted)}
.news-card h3{font-size:20px;line-height:1.35}
.news-card p{font-size:15px}
.natal-banner{background:linear-gradient(135deg,#8f2737,#b53d49);border-radius:20px;box-shadow:0 14px 28px rgba(143,39,55,.18)}
#aemd-header .aemd-brand{padding-top:10px;padding-bottom:8px}
#aemd-header .aemd-navigation{background:rgba(18,58,52,.94)!important;padding-top:10px;padding-bottom:10px;gap:8px}
#aemd-header .aemd-navlink{font-family:"Manrope","Inter",system-ui,sans-serif;font-weight:700;font-size:14px;padding:10px 14px}
#aemd-header .aemd-current{background:linear-gradient(180deg,rgba(182,212,84,.18),rgba(182,212,84,.10))!important}
#aemd-header .aemd-navitem:hover{background:rgba(255,255,255,.07)!important}
#aemd-header .aemd-dropdown{border-radius:18px}
#aemd-header .aemd-login{background:#2a7a5a!important;border-radius:12px}
.content{padding:32px 34px;background:#fff;border-radius:22px}
.content > h1{font-size:clamp(34px,4.2vw,58px);line-height:1.08;letter-spacing:-.04em;margin-bottom:18px;max-width:1200px}
.content h2{font-size:clamp(28px,2.8vw,40px);line-height:1.18;margin-top:14px}
.content h3{font-size:clamp(21px,2vw,28px)}
.content p,.content li{font-size:17px;line-height:1.85;color:#566b65}
.content strong{color:#163b34}
.content .wpb_text_column,.content .wpb_text_column p{font-family:"Manrope","Inter",system-ui,sans-serif!important;font-size:17px!important;line-height:1.85!important;color:#566b65!important}
.content .vc_custom_heading,.content .porto-u-heading, .content h1, .content h2, .content h3{font-family:"Manrope","Inter",system-ui,sans-serif!important;color:#14352f!important}
.content .vc_separator h4{font-size:15px!important;letter-spacing:.12em;text-transform:uppercase;color:#6d837b!important}
.content .wpb_single_image img,.cover,.news-card img{border-radius:14px}
.content form{background:#f7faf8;border:1px solid rgba(19,58,52,.08);padding:20px;border-radius:18px}
label{font-size:14px;letter-spacing:.01em}
input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),select,textarea{border-radius:10px;padding:12px 14px;font-family:"Manrope","Inter",system-ui,sans-serif}
.footer-site{background:#123a34}
@media(max-width:850px){
  body{font-size:16px}
  .hero .wrap{padding-top:32px;padding-bottom:32px}
  .content{padding:22px}
  .content > h1{font-size:clamp(30px,8vw,44px)}
  .content p,.content li,.content .wpb_text_column p{font-size:16px!important}
}

/* 1.1 — light editorial hero, framed transition, compact page headings */
:root{--bg:#f5f8f6;--green:#21664f;--line:#dce8e0}
body{background:#f5f8f6;font-size:16px;line-height:1.65}
main{min-width:0}
.hero{background:#f5f8f6!important;color:#173c34;padding:24px 28px 0;overflow:hidden}
.hero .wrap{position:relative;max-width:1280px;min-height:0;padding:38px 42px 44px;gap:44px;background:linear-gradient(115deg,#ffffff 0%,#f0f7f1 65%,#e1eee4 100%);border:1px solid #d9e7dd;border-radius:24px;box-shadow:0 12px 35px #173c3408;overflow:hidden}
.hero .wrap:after{content:"";position:absolute;bottom:0;left:0;right:0;height:5px;background:linear-gradient(90deg,#23694f,#9cc65b 48%,#d5e8d8 100%);pointer-events:none}
.hero .eyebrow{color:#317152;font-weight:800;font-size:11px;letter-spacing:.16em}
.hero h1{color:#153f35!important;font-size:clamp(36px,4.1vw,59px)!important;line-height:1.08;letter-spacing:-.045em;margin:0 0 18px;max-width:650px}
.hero p{color:#516c60!important;font-size:17px;line-height:1.65;max-width:510px}
.hero .btn.light{background:#21664f;color:white!important}.hero .btn.secondary{background:#fff;color:#21664f!important;border:1px solid #bed3c5}
.hero .art{max-height:320px;filter:none;object-fit:contain}
.section,.section.wrap{padding-top:34px;padding-bottom:34px}.band{background:#edf4ef!important}
main.wrap.section{max-width:1280px;padding-top:30px}
.content{padding:clamp(20px,3vw,38px);border-radius:18px;box-shadow:0 8px 24px #173c3406}
.content>h1,main.wrap.section>h1{font-size:clamp(25px,2.5vw,38px)!important;line-height:1.2!important;letter-spacing:-.035em!important;font-weight:750!important;margin:0 0 24px!important;padding:0 0 16px;border-bottom:1px solid #dce8e0;position:relative;overflow-wrap:break-word}
.content>h1:after,main.wrap.section>h1:after{content:"";position:absolute;bottom:-1px;left:0;width:54px;height:3px;border-radius:3px;background:#80b65d}
.content h2,.content .vc_custom_heading h2,.content h2.vc_custom_heading{font-size:clamp(20px,2vw,29px)!important;line-height:1.3!important;letter-spacing:-.02em!important}
.content h3,.content h3.vc_custom_heading{font-size:clamp(18px,1.7vw,23px)!important;line-height:1.35!important}
.content h4,.content h4.vc_custom_heading{font-size:17px!important;line-height:1.4!important}
.content .vc_custom_heading,.content .porto-u-heading{overflow-wrap:break-word;max-width:100%}
.content p,.content li,.content .wpb_text_column p{font-size:16px!important;line-height:1.75!important}
.content .wpb_text_column strong{font-weight:700}.content .wpb_text_column p:has(>strong:only-child){font-size:16px!important}
.content .vc_custom_heading{font-size:clamp(19px,2vw,29px)!important}
.news-card h3{font-size:18px;line-height:1.35}.quick{min-height:100px}.card{padding:22px}
#aemd-header .aemd-navigation{justify-content:space-between;gap:4px}#aemd-header .aemd-navlink{padding:10px clamp(7px,.7vw,12px);font-size:13px}
@media(max-width:1150px){#aemd-header .aemd-navlink{padding:9px 6px;font-size:12px}#aemd-header .aemd-details summary{width:20px}}
@media(max-width:1050px){#aemd-header .aemd-navigation{justify-content:flex-start}#aemd-header .aemd-navlink{font-size:15px;padding:12px}#aemd-header .aemd-details summary{width:40px}}
@media(max-width:850px){.hero{padding:16px 18px 0}.hero .wrap{padding:26px 24px 30px;gap:24px;border-radius:18px}.hero .art{max-height:250px}.hero h1{font-size:clamp(32px,7vw,48px)!important}.section,.section.wrap{padding-top:25px;padding-bottom:25px}}
@media(max-width:550px){.hero{padding:12px 12px 0}.hero .wrap{padding:24px 18px}.hero .btn{font-size:13px}.content>h1,main.wrap.section>h1{font-size:27px!important}}

/* 1.2 — institutional tagline, animated illustration, festive campaign and photo enlargement */
#aemd-header .aemd-tagline{flex:1;text-align:center;color:#fff;line-height:1.45;padding:0 16px}#aemd-header .aemd-tagline strong{display:block;font-size:clamp(15px,1.5vw,22px);font-weight:700;letter-spacing:-.025em}#aemd-header .aemd-tagline span{display:block;font-size:12px;color:#c3ded2;margin-top:4px}
.hero .art{align-self:start;margin-top:-10px;max-height:340px;width:100%}
.natal-banner{display:grid;grid-template-columns:1.5fr minmax(160px,.65fr);gap:28px;align-items:center;background:linear-gradient(115deg,#fffaf0,#f4eee1)!important;color:#23463b!important;border:1px solid #e7ddc7;box-shadow:0 12px 28px #173c3408;padding:28px 34px;position:relative;overflow:hidden}.natal-banner .eyebrow{color:#956b30!important}.natal-banner h2{color:#23463b!important}.natal-banner p{color:#59665d!important}.natal-banner .btn{background:#21664f!important;color:white!important}.natal-art{display:block;width:100%;max-width:260px;max-height:220px;object-fit:contain;justify-self:end;border-radius:14px}.natal-copy{position:relative;z-index:1}
.team-photo.aemd-photo-link{position:relative;cursor:zoom-in;transition:transform .2s;outline-offset:4px}.team-photo.aemd-photo-link:hover{transform:scale(1.07)}.team-photo.aemd-photo-link:after{content:'+';position:absolute;bottom:3px;right:3px;background:#21664f;color:white;border:2px solid white;border-radius:50%;width:22px;height:22px;display:grid;place-items:center;font-size:16px;line-height:1}
#aemd-photo-dialog{border:0;border-radius:18px;padding:20px;background:white;max-width:min(90vw,720px);max-height:90vh;overflow:auto;box-shadow:0 18px 80px #0005;color:#173c34}#aemd-photo-dialog::backdrop{background:#102e2bd9}#aemd-photo-dialog img{display:block;max-width:100%;max-height:70vh;object-fit:contain;margin:auto}#aemd-photo-dialog p{text-align:center;margin:12px 0 0;font-weight:700}#aemd-photo-dialog .aemd-photo-close{display:block;margin:0 0 8px auto;padding:4px 12px;font-size:24px;line-height:1.3}
@media(max-width:850px){#aemd-header .aemd-tagline{display:none}.hero .art{margin:0;max-height:260px}.natal-banner{padding:24px;gap:16px}}@media(max-width:550px){.natal-banner{grid-template-columns:1fr}.natal-art{justify-self:center;max-height:190px}}

/* 1.3 — exact inline hero artwork */
.hero .aemd-growth-art{display:block;width:100%;height:auto;max-height:360px;align-self:center;filter:none;overflow:visible}
.aemd-growth-line{stroke-dasharray:650;stroke-dashoffset:0;animation:aemdDraw 2.5s ease-out both}.aemd-growth-pulse{transform-box:fill-box;transform-origin:center;animation:aemdPulse 2.5s 2.5s infinite ease-in-out}@keyframes aemdDraw{from{stroke-dashoffset:650}to{stroke-dashoffset:0}}@keyframes aemdPulse{50%{transform:scale(1.45);opacity:.7}}@media(prefers-reduced-motion:reduce){.aemd-growth-line,.aemd-growth-pulse{animation:none!important;stroke-dashoffset:0}}

/* 1.5 — broader institutional tagline, keeping the original header identity. */
#aemd-header .aemd-brand{gap:clamp(12px,2vw,30px);padding-top:16px;padding-bottom:16px}
#aemd-header .aemd-tagline{flex:1 1 auto;min-width:0;padding:0 8px;line-height:1.25;text-align:center}
#aemd-header .aemd-tagline strong{font-family:"Manrope","Inter",system-ui,sans-serif;font-size:clamp(23px,2.25vw,34px);font-weight:750;letter-spacing:-.035em;color:#fff!important;line-height:1.2}
#aemd-header .aemd-tagline span{font-size:clamp(13px,1.15vw,17px);letter-spacing:.025em;color:#e0eee7!important;margin-top:7px;line-height:1.4}
@media(max-width:1050px){#aemd-header .aemd-tagline strong{font-size:clamp(19px,2.6vw,26px)}}
@media(max-width:850px){#aemd-header .aemd-brand{flex-wrap:wrap;gap:12px}#aemd-header .aemd-tagline{display:block;order:3;flex:1 0 100%;padding:6px 0 2px}#aemd-header .aemd-tagline strong{font-size:clamp(19px,4.2vw,26px)}#aemd-header .aemd-tagline span{font-size:13px}#aemd-header .aemd-actions{margin-left:auto}}

/* 1.6 — compact reserved-area access */
#aemd-header .aemd-login{font-size:12px!important;padding:7px 11px!important;gap:5px!important;border-radius:8px!important;line-height:1.4!important;min-height:34px;box-shadow:none!important}
#aemd-header .aemd-login svg{width:14px;height:14px;flex-shrink:0}
@media(max-width:550px){#aemd-header .aemd-login{font-size:11px!important;padding:6px 8px!important;min-height:32px}}


/* 1.8 — stable refinement: cleaner menu, tighter grids, hide counters, better history layout */
.grid{gap:12px}.grid.six{gap:12px}.card,.quick{padding:18px}.section{padding:34px 0}.section.wrap{padding:34px 28px}.row{margin-bottom:12px}

/* ultra-modern menu while keeping approved structure */
#aemd-header .aemd-brand{padding-top:14px;padding-bottom:14px}
#aemd-header .aemd-tagline{background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(245,250,247,.97));border:1px solid rgba(255,255,255,.25);box-shadow:0 18px 34px rgba(8,28,25,.10), inset 0 1px 0 rgba(255,255,255,.7);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);border-radius:22px;padding:18px 28px;max-width:980px}
#aemd-header .aemd-tagline strong{font-size:clamp(24px,2.4vw,38px);color:#123c34!important}
#aemd-header .aemd-tagline span{font-size:clamp(14px,1.2vw,19px);color:#4a675d!important}
#aemd-header .aemd-navigation{background:rgba(11,63,53,.88)!important;border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.06);padding-top:12px;padding-bottom:12px;gap:8px;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
#aemd-header .aemd-navitem{position:relative;border-radius:16px;transition:transform .18s ease, background .18s ease, box-shadow .18s ease}
#aemd-header .aemd-navlink{padding:12px 16px;font-family:"Manrope","Inter",system-ui,sans-serif;font-size:14px;font-weight:750;letter-spacing:-.01em;border-radius:16px}
#aemd-header .aemd-navitem:hover{background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.04))!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 8px 16px rgba(0,0,0,.08);transform:translateY(-1px)}
#aemd-header .aemd-navitem:hover .aemd-navlink,#aemd-header .aemd-navitem:hover .aemd-details summary{color:#fff!important}
#aemd-header .aemd-current{background:linear-gradient(180deg,rgba(182,212,84,.20),rgba(182,212,84,.12))!important;box-shadow:inset 0 0 0 1px rgba(182,212,84,.20),0 10px 18px rgba(0,0,0,.08)}
#aemd-header .aemd-current .aemd-navlink,#aemd-header .aemd-current .aemd-details summary{color:#e3f4a8!important}
#aemd-header .aemd-season{background:linear-gradient(180deg,rgba(234,198,120,.11),rgba(234,198,120,.07))!important;box-shadow:inset 0 0 0 1px rgba(234,198,120,.18)}
#aemd-header .aemd-season .aemd-navlink,#aemd-header .aemd-season .aemd-details summary{color:#f2d792!important}
#aemd-header .aemd-details summary{width:28px;height:44px;border-radius:12px;transition:background .18s ease}
#aemd-header .aemd-dropdown{margin-top:10px;background:#fff;border:1px solid #dfe9e3;box-shadow:0 18px 42px rgba(18,58,52,.16);border-radius:18px;padding:10px}
#aemd-header .aemd-dropdown a{font-size:13px;padding:12px 12px;border-radius:11px}
#aemd-header .aemd-dropdown a:hover{background:#eef5f1;text-decoration:none}

/* keep hero movement continuous */
.aemd-growth-line{animation:none!important;stroke-dashoffset:0!important}
.aemd-growth-flow{stroke-dasharray:30 170;stroke-dashoffset:0;animation:aemdFlow 3s linear infinite;opacity:.95}
.aemd-growth-pulse{animation:aemdPulse 1.8s infinite ease-in-out!important}
@keyframes aemdFlow{from{stroke-dashoffset:220}to{stroke-dashoffset:0}}

/* remove old counters if present */
.aemd-hidden-by-theme{display:none!important}

/* tighter and better internal pages */
.content{padding:28px 30px;border-radius:20px}.content > h1{font-size:clamp(28px,3vw,42px)!important;margin-bottom:20px!important}
.content p,.content li,.content .wpb_text_column p{font-size:16px!important;line-height:1.75!important}

/* history page specific improvements */
.content-slug-aemira{background:linear-gradient(180deg,#f8fbf9 0%,#eef4f1 100%);border:1px solid #dbe7e0}
.content-slug-aemira .wpb_wrapper table{display:block;overflow-x:auto;white-space:nowrap;width:100%}
.content-slug-aemira .wpb_wrapper table td,.content-slug-aemira .wpb_wrapper table th{white-space:normal;min-width:120px;vertical-align:top}
.content-slug-aemira .vc_row,.content-slug-aemira .wpb_row{margin-bottom:8px}
.content-slug-aemira .wpb_wrapper > h2,.content-slug-aemira .wpb_wrapper > h3{margin-bottom:10px!important}
.content-slug-aemira [class*="vc_col-sm-3"], .content-slug-aemira .vc_col-sm-3{width:50%!important}
.content-slug-aemira [class*="vc_col-sm-4"], .content-slug-aemira .vc_col-sm-4{width:50%!important}
.content-slug-aemira [class*="vc_col-sm-3"], .content-slug-aemira [class*="vc_col-sm-4"]{padding-left:10px!important;padding-right:10px!important;margin-bottom:10px}
@media(max-width:950px){.content-slug-aemira [class*="vc_col-sm-3"], .content-slug-aemira [class*="vc_col-sm-4"], .content-slug-aemira .vc_col-sm-3, .content-slug-aemira .vc_col-sm-4{width:100%!important}}

@media(max-width:1050px){#aemd-header .aemd-navlink{padding:12px 12px;font-size:13px}#aemd-header .aemd-navigation{gap:6px}}
@media(max-width:850px){#aemd-header .aemd-tagline{padding:14px 16px;border-radius:16px}#aemd-header .aemd-navigation{gap:4px;padding-top:10px;padding-bottom:10px}.section{padding:26px 0}.grid,.grid.six{gap:10px}}


/* 1.9 — refined site-colored header, premium nav, better banners/images, and more elegant page titles */
:root{--aem-brand:#123e36;--aem-brand-2:#165247;--aem-brand-3:#0f342d;--aem-accent:#9fc94f;--aem-gold:#e3c775;--aem-soft:#f5f8f6}
body{background:#f6f8f7}

/* Header closer to site identity */
.topbar,#aemd-header .aemd-utility{background:linear-gradient(90deg,var(--aem-brand-3),var(--aem-brand),var(--aem-brand-2))!important;color:#e7f0ec!important}
.site-header,#aemd-header{background:radial-gradient(circle at center, rgba(22,82,71,.18), transparent 45%),linear-gradient(90deg,#0f342d 0%,#123e36 45%,#165247 100%)!important}
#aemd-header .aemd-brand{padding-top:16px;padding-bottom:16px}
#aemd-header .aemd-tagline{background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(246,250,248,.94));border:1px solid rgba(255,255,255,.3);box-shadow:0 18px 38px rgba(8,30,25,.12), inset 0 1px 0 rgba(255,255,255,.7);border-radius:24px;padding:18px 32px;max-width:1040px}
#aemd-header .aemd-tagline strong{font-size:clamp(24px,2.35vw,40px);font-weight:800;letter-spacing:-.03em;color:#113a33!important}
#aemd-header .aemd-tagline span{font-size:clamp(14px,1.15vw,19px);color:#4a695f!important}

/* More modern navigation */
#aemd-header .aemd-navigation{background:rgba(12,61,53,.78)!important;border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08);padding-top:10px;padding-bottom:10px;gap:10px;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
#aemd-header .aemd-navitem{position:relative;border-radius:18px;overflow:hidden;transition:transform .18s ease, box-shadow .18s ease, background .18s ease}
#aemd-header .aemd-navitem::after{content:"";position:absolute;left:14px;right:14px;bottom:8px;height:2px;border-radius:999px;background:linear-gradient(90deg,transparent,var(--aem-accent),transparent);opacity:0;transform:scaleX(.45);transition:all .2s ease}
#aemd-header .aemd-navlink{padding:12px 16px;font-family:"Manrope","Inter",system-ui,sans-serif;font-size:14px;font-weight:750;letter-spacing:-.01em;border-radius:18px}
#aemd-header .aemd-navitem:hover{background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.04))!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 10px 20px rgba(0,0,0,.10);transform:translateY(-1px)}
#aemd-header .aemd-navitem:hover::after,#aemd-header .aemd-current::after,#aemd-header .aemd-season::after{opacity:1;transform:scaleX(1)}
#aemd-header .aemd-current{background:linear-gradient(180deg,rgba(182,212,84,.18),rgba(182,212,84,.10))!important;box-shadow:inset 0 0 0 1px rgba(182,212,84,.18),0 10px 18px rgba(0,0,0,.08)}
#aemd-header .aemd-current .aemd-navlink,#aemd-header .aemd-current .aemd-details summary{color:#ebf6ba!important}
#aemd-header .aemd-season{background:linear-gradient(180deg,rgba(227,199,117,.14),rgba(227,199,117,.08))!important;box-shadow:inset 0 0 0 1px rgba(227,199,117,.18),0 10px 18px rgba(0,0,0,.06)}
#aemd-header .aemd-season .aemd-navlink,#aemd-header .aemd-season .aemd-details summary{color:#f5dda1!important}
#aemd-header .aemd-details summary{width:30px;height:44px;border-radius:12px}
#aemd-header .aemd-dropdown{margin-top:12px;background:#fff;border:1px solid #dbe7e0;box-shadow:0 22px 44px rgba(18,58,52,.18);border-radius:20px;padding:10px}
#aemd-header .aemd-dropdown a{font-size:13.5px;padding:12px 13px;border-radius:12px}
#aemd-header .aemd-dropdown a:hover{background:#eff6f2;text-decoration:none}

/* Improve visual quality of internal banners and images */
.content img,.content .wpb_single_image img,.content .vc_single_image-img{border-radius:22px;box-shadow:0 16px 34px rgba(18,58,52,.10);image-rendering:auto}
.content .wpb_single_image,.content .vc_single_image-wrapper{display:block;overflow:hidden;border-radius:22px}
.content .wpb_single_image img:hover,.content .vc_single_image-img:hover{transform:scale(1.01)}
.content .wpb_single_image img,.content .vc_single_image-img{transition:transform .25s ease, box-shadow .25s ease}

/* Internal page titles: elegant and title-case friendly */
.content > h1,
.content .entry-title,
.content .vc_custom_heading h1,
.content .wpb_wrapper > h1:first-child,
.content .wpb_wrapper > h2:first-child{
  font-family:"Manrope","Inter",system-ui,sans-serif!important;
  font-size:clamp(28px,3.2vw,44px)!important;
  line-height:1.12!important;
  font-weight:800!important;
  letter-spacing:-.035em!important;
  text-transform:none!important;
  color:#123c34!important;
  margin-bottom:18px!important;
}
.content > h1::after,
.content .entry-title::after,
.content .wpb_wrapper > h1:first-child::after,
.content .wpb_wrapper > h2:first-child::after{
  content:"";display:block;width:78px;height:4px;margin-top:14px;border-radius:999px;background:linear-gradient(90deg,var(--aem-accent),#d7e6de)}

/* Service-style banner enhancement */
.content .wpb_single_image:has(img[src*="SERVICOS"]),
.content .wpb_single_image:has(img[alt*="SERVIÇOS"]),
.content .wpb_single_image:has(img[title*="SERVICOS"]) {
  background:linear-gradient(135deg,#102b2b,#1b3e3c);padding:8px;border-radius:24px;box-shadow:0 16px 34px rgba(10,24,24,.18)
}

/* Table readability in history page */
.content table{border-collapse:separate;border-spacing:0}
.content table th{font-weight:700;color:#143d34;background:#eef5f1}
.content table td,.content table th{padding:14px 14px;border-bottom:1px solid #e3ebe6}
.content table tr:nth-child(even) td{background:rgba(255,255,255,.45)}

@media(max-width:900px){
  #aemd-header .aemd-tagline{padding:15px 18px}
  #aemd-header .aemd-navigation{gap:6px}
  #aemd-header .aemd-navlink{padding:11px 12px;font-size:13px}
  .content > h1,.content .entry-title{font-size:clamp(26px,7vw,36px)!important}
}


/* 2.0 — history section refined with more modern typography and brand color accents */
.content-slug-aemira,
.content-slug-aem .content,
.content-slug-historial .content {
  background: linear-gradient(180deg,#f7fbf9 0%,#eef5f1 100%);
}

/* Main consultation heading area */
.content-slug-aemira .wpb_wrapper p:has(strong),
.content-slug-aemira .wpb_wrapper > p,
.content-slug-aemira .wpb_text_column p {
  font-family:"Manrope","Inter",system-ui,sans-serif!important;
}

.content-slug-aemira .wpb_wrapper > p:first-of-type,
.content-slug-aemira p:first-of-type {
  font-size: 15px!important;
  font-weight: 800!important;
  text-transform: uppercase!important;
  letter-spacing: .06em!important;
  color: #155247!important;
  position: relative;
  padding-left: 18px;
  margin-bottom: 20px!important;
}
.content-slug-aemira .wpb_wrapper > p:first-of-type::before,
.content-slug-aemira p:first-of-type::before {
  content:"";
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  width:8px;
  height:8px;
  border-radius:999px;
  background:#9fc94f;
  box-shadow:0 0 0 6px rgba(159,201,79,.14);
}

/* Mandato title */
.content-slug-aemira strong,
.content-slug-aemira b {
  color:#113d35;
}
.content-slug-aemira .wpb_wrapper ul,
.content-slug-aemira .wpb_wrapper ol {
  margin-top:10px;
}
.content-slug-aemira .wpb_wrapper li,
.content-slug-aemira .wpb_wrapper p,
.content-slug-aemira td,
.content-slug-aemira th {
  font-family:"Manrope","Inter",system-ui,sans-serif!important;
}
.content-slug-aemira h1,
.content-slug-aemira h2,
.content-slug-aemira h3,
.content-slug-aemira .vc_custom_heading,
.content-slug-aemira .porto-u-heading {
  font-family:"Manrope","Inter",system-ui,sans-serif!important;
  color:#123c34!important;
}
.content-slug-aemira h2,
.content-slug-aemira .vc_custom_heading h2 {
  font-size:clamp(30px,2.7vw,42px)!important;
  font-weight:800!important;
  letter-spacing:-.03em!important;
}

/* History blocks/cards */
.content-slug-aemira .wpb_text_column,
.content-slug-aemira .vc_column-inner {
  border-radius:18px;
}
.content-slug-aemira .wpb_wrapper > h3,
.content-slug-aemira .wpb_wrapper > h4,
.content-slug-aemira .wpb_wrapper > p strong {
  font-weight:700!important;
}
.content-slug-aemira table {
  margin-top:12px;
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 10px 24px rgba(18,58,52,.06);
}
.content-slug-aemira table th {
  background:linear-gradient(180deg,#edf5f1,#e4efe9)!important;
  color:#143d34!important;
  font-size:14px!important;
  letter-spacing:.01em!important;
}
.content-slug-aemira table td {
  font-size:15px!important;
  color:#35554c!important;
}
.content-slug-aemira table tr:hover td {
  background:#f6faf8!important;
}

/* White rows visible but better integrated */
.content-slug-aemira .wpb_wrapper > div,
.content-slug-aemira .wpb_content_element {
  border-radius:16px;
}
.content-slug-aemira .wpb_wrapper .vc_row,
.content-slug-aemira .wpb_wrapper .wpb_row {
  border-left:4px solid rgba(21,82,71,.12);
}

/* 2.1 — editable-text business banner, replacing the old image only. */
.content .aemd-business-banner{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.95fr);align-items:center;gap:24px;padding:clamp(20px,3vw,36px);margin:20px 0;background:linear-gradient(115deg,#f9fcfa,#eaf4ed);border:1px solid #d4e4da;border-radius:20px;box-shadow:0 8px 24px #173c3408;position:relative;overflow:hidden;text-align:left;isolation:isolate}
.content .aemd-business-banner:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(#21664f,#a1c75d)}
.content .aemd-business-kicker{display:block;font-size:11px!important;font-weight:800;letter-spacing:.16em;color:#36765b!important;margin-bottom:12px}
.content .aemd-business-banner h2{font-family:Manrope,Inter,system-ui,sans-serif!important;font-size:clamp(23px,2.6vw,34px)!important;font-weight:750!important;letter-spacing:-.04em!important;line-height:1.2!important;color:#153f35!important;text-transform:none!important;margin:0 0 12px!important;text-align:left!important;padding:0!important;border:0!important}
.content .aemd-business-banner h2:after,.content .aemd-business-banner p:before{display:none!important;content:none!important}
.content .aemd-business-banner p{font-family:Manrope,Inter,system-ui,sans-serif!important;font-size:15px!important;font-weight:400!important;line-height:1.6!important;letter-spacing:normal!important;text-transform:none!important;padding:0!important;margin:0 0 20px!important;color:#526d61!important;text-align:left!important}
.content .aemd-business-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.content .aemd-business-actions a{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;line-height:1.4;padding:10px 14px;border-radius:10px;text-decoration:none!important;text-transform:none;border:1px solid #21664f}
.content .aemd-business-primary{background:#21664f;color:white!important}.content .aemd-business-secondary{background:white;color:#21664f!important}.content .aemd-business-primary:hover{background:#174b3a}.content .aemd-business-secondary:hover{background:#e1eee5}
.content .aemd-business-art{width:100%;max-width:440px;height:auto;display:block;justify-self:end;min-width:0}
@media(max-width:760px){.content .aemd-business-banner{grid-template-columns:minmax(0,1fr);gap:16px;padding:20px}.content .aemd-business-art{justify-self:center;max-width:340px}}
#aemd-header .aemd-navitem{overflow:visible}


/* 2.2 — modern internal page headers, isolated from legacy heading rules. */
.content > .aemd-page-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;position:relative;isolation:isolate;overflow:hidden;box-sizing:border-box;background:linear-gradient(110deg,#f0f6f1,#e5f0e8);border:1px solid #d5e4d9;border-radius:15px;padding:22px 26px;margin:0 0 26px;text-align:left;min-width:0}
.content > .aemd-page-heading:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(#21664f,#a1c75d)}
.content .aemd-page-heading-copy{min-width:0;flex:1}
.content .aemd-page-heading .aemd-page-kicker{display:block;font:700 12px/1.4 Manrope,Inter,system-ui,sans-serif;letter-spacing:.045em;color:#36765b;margin:0 0 9px;text-transform:none}
.content .aemd-page-heading h1{font-family:Manrope,Inter,system-ui,sans-serif!important;font-size:clamp(23px,2.15vw,32px)!important;line-height:1.28!important;letter-spacing:-.027em!important;font-weight:700!important;color:#153f35!important;text-transform:none!important;max-width:860px;margin:0!important;padding:0!important;border:0!important;text-align:left!important;overflow-wrap:break-word;position:static!important}
.content .aemd-page-heading h1:after,.content .aemd-page-heading h1:before{content:none!important;display:none!important}
.content .aemd-page-heading-mark{flex:0 0 76px;color:#478564;display:grid;place-items:center;opacity:.85}
.content .aemd-page-heading-mark svg{display:block;width:76px;height:76px;max-width:100%}
@media(max-width:600px){.content > .aemd-page-heading{padding:17px 18px;gap:10px;margin-bottom:20px;border-radius:12px}.content .aemd-page-heading h1{font-size:23px!important}.content .aemd-page-heading-mark{display:none}}


/* 2.3 — accessible compact social links */
#aemd-header .aemd-utility .aemd-shell{align-items:center}
.aemd-utility-right{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap;min-width:0}
.aemd-social{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.aemd-social-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:36px;min-height:36px;border:1px solid rgba(220,239,224,.25);border-radius:10px;transition:background .18s,color .18s,border-color .18s;text-decoration:none!important;color:#e7f0ec!important}
#aemd-header .aemd-utility .aemd-social-link{width:36px;height:36px;color:#e7f0ec!important}
.aemd-social-link svg{display:block;flex-shrink:0}
#aemd-header .aemd-utility .aemd-social-link:hover,.footer-site .aemd-social-link:hover{background:#dcebcf;color:#153f35!important;border-color:#dcebcf}
.aemd-footer-follow{margin-top:22px;padding-top:16px;border-top:1px solid rgba(220,239,224,.18);display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.aemd-footer-follow>span{font-size:14px;color:#d0e7d5}
.footer-site .aemd-social-link{padding:7px 12px;min-height:44px;font-size:13px;font-weight:600}
@media(max-width:600px){.aemd-utility-right{justify-content:space-between;width:100%;gap:6px}.aemd-utility-contact{font-size:11px;overflow-wrap:anywhere}.aemd-footer-follow{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){.aemd-social-link{transition:none}}
