/*
Theme Name: AE Blog
Theme URI: https://aegea.blog.br/
Author: AE Blog
Description: Tema editorial próprio, responsivo, com integração ao Elementor e ao plugin AE Blog Editorial.
Version: 0.1.8
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: aeblog
License: GPL-2.0-or-later
*/
:root{--ae-blue:#0027bd;--ae-green:#1fe56e;--ae-aqua:#17e3cb;--ae-yellow:#f8dc00;--ae-ink:#1e1e1e;--ae-muted:#60646e;--ae-radius:13px;--ae-width:952px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ae-ink);background:#fff;font-family:"AEGEA Sans",Arial,sans-serif;font-size:16px;line-height:1.5}img{max-width:100%;height:auto}a{color:var(--ae-blue);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}:focus-visible{outline:3px solid #0027bd;outline-offset:5px}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.2}button{cursor:pointer}.ae-wrap{width:min(var(--ae-width),calc(100% - 48px));margin-inline:auto}.ae-skip{position:fixed;left:16px;top:-100px;padding:12px 18px;background:#fff;z-index:100000}.ae-skip:focus{top:12px}.ae-site-header{border-bottom:2px solid #00000016;background:white}.ae-header-inner{max-width:1040px;min-height:80px;margin:auto;display:flex;align-items:center;gap:36px;padding:6px 0}.ae-brand{flex-shrink:0;display:block;line-height:0}.ae-brand img{width:116px;height:31px;object-fit:contain}.ae-main-menu{display:flex;align-items:center;justify-content:center;gap:20px;list-style:none;margin:0 auto;padding:0}.ae-main-menu li{list-style:none}.ae-main-menu a{display:flex;justify-content:center;align-items:center;text-align:center;width:149px;min-height:68px;padding:12px 25px;border-radius:13px;font-size:12px;line-height:1.25;text-transform:uppercase;font-weight:600;color:var(--ae-blue)}.ae-main-menu li:nth-child(4n+1) a{background:var(--ae-blue);color:white}.ae-main-menu li:nth-child(4n+2) a{background:var(--ae-aqua)}.ae-main-menu li:nth-child(4n+3) a{background:var(--ae-green)}.ae-main-menu li:nth-child(4n+4) a{background:var(--ae-yellow)}.ae-icon-button{border:2px solid #00000016;border-radius:50%;background:transparent;width:40px;height:40px;display:flex;align-items:center;justify-content:center;color:var(--ae-blue);flex-shrink:0}.ae-icon-button svg{width:20px;height:20px}.ae-menu-toggle{display:none}.ae-header-search{padding:20px 24px;border-bottom:1px solid #eee;background:#f5f7ff}.ae-header-search[hidden]{display:none}.ae-search-form{display:flex;gap:12px;max-width:600px;margin:auto}.ae-search-form input{min-width:0;flex:1;border:1px solid #bcc5e7;border-radius:8px;padding:10px 14px}.ae-button,.ae-search-form button{border:0;border-radius:20px;background:var(--ae-blue);color:#fff;padding:7px 20px;display:inline-block;font-size:13px;text-transform:uppercase;line-height:1.2}.ae-button:hover{color:#fff;text-decoration:underline}.ae-footer-landscape{height:508px;overflow:hidden}.ae-footer-landscape img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 40%}.ae-site-footer{background:var(--ae-blue);color:#fff;border-radius:45px 45px 0 0;margin-top:-1px;padding:50px 0 24px}.ae-footer-grid{display:grid;grid-template-columns:140px 1fr;gap:70px;min-height:180px}.ae-footer-logo{filter:brightness(0) invert(1);width:116px;height:31px}.ae-footer-menu{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:18px;align-content:start}.ae-footer-menu a{color:#fff;font-size:13px}.ae-footer-bottom{display:flex;flex-wrap:wrap;gap:12px 24px;font-size:11px;border-top:1px solid #ffffff35;padding-top:20px}.ae-footer-bottom a{color:inherit}.ae-page-title{text-align:center;font-size:34px;color:var(--ae-blue);margin:48px auto 28px;max-width:760px}.ae-article{padding:0 0 60px}.ae-article-meta{text-align:center;font-size:12px;color:var(--ae-muted);margin:16px auto 36px}.ae-article-hero{display:block;width:100%;max-height:540px;object-fit:cover;border-radius:13px;margin-bottom:48px}.ae-article-body{max-width:700px;margin:auto;overflow-wrap:anywhere}.ae-article-body p{margin-bottom:1.3em}.ae-article-body h2,.ae-article-body h3{color:var(--ae-blue);margin-top:32px}.ae-article-body img{border-radius:10px}.ae-article-body iframe{max-width:100%}.ae-article-body figcaption{font-size:12px;color:var(--ae-muted)}.ae-article-body a{text-decoration:underline}.ae-post-tags{display:flex;gap:8px;flex-wrap:wrap;margin:40px 0}.ae-post-tags a{padding:4px 10px;background:#eff2fc;border-radius:20px;font-size:12px}.ae-share{border-block:1px solid #e5e8f4;padding:20px 0;display:flex;flex-wrap:wrap;gap:20px;margin:36px 0}.ae-related-title{text-align:center;color:var(--ae-blue);font-size:24px;font-weight:400}.ae-archive{padding:48px 0 72px}.ae-post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}.ae-post-card img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:13px}.ae-post-card h2,.ae-post-card h3{font-size:19px;margin:14px 0 10px}.ae-post-card p{font-size:14px}.ae-pagination{display:flex;gap:12px;justify-content:center;margin-top:40px}.ae-pagination .current{background:var(--ae-blue);color:#fff}.ae-pagination a,.ae-pagination span{padding:8px 12px;border-radius:6px}.ae-empty{padding:48px;background:#f5f7ff;border-radius:13px;text-align:center}.ae-page-content{padding-block:40px}.ae-page-content:has(>.elementor){padding-block:0}.ae-article-nav{display:flex;justify-content:space-between;gap:30px;margin-block:40px}.ae-article-nav a{max-width:45%;font-size:14px}.ae-article-nav a:last-child{text-align:right}
@media(min-width:1600px){.ae-footer-landscape{height:580px}}
@media(max-width:1100px){.ae-header-inner{padding-inline:24px;gap:20px}.ae-main-menu{gap:12px}.ae-main-menu a{width:130px;padding-inline:15px}}
@media(max-width:767px){.ae-header-inner{min-height:80px;justify-content:space-between;position:relative}.ae-menu-toggle{display:flex}.ae-brand{margin:auto}.ae-main-menu{display:none;position:absolute;left:0;right:0;top:80px;background:white;padding:16px 24px;z-index:1000;box-shadow:0 12px 20px #0002;grid-template-columns:1fr 1fr;gap:12px}.ae-main-menu.is-open{display:grid}.ae-main-menu a{width:100%;min-height:60px}.ae-wrap{width:calc(100% - 48px)}.ae-footer-landscape{height:270px}.ae-footer-grid{grid-template-columns:1fr;gap:32px}.ae-footer-menu{grid-template-columns:1fr 1fr}.ae-site-footer{border-radius:28px 28px 0 0;padding-top:35px}.ae-footer-bottom{margin-top:30px}.ae-post-grid{grid-template-columns:1fr 1fr;gap:24px 16px}.ae-page-title{font-size:27px}.ae-article-body{max-width:100%}.ae-article-hero{margin-bottom:28px}.ae-post-card h2,.ae-post-card h3{font-size:16px}.ae-post-card p{font-size:13px}.ae-article-nav{gap:20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

/* Scope theme controls against legacy Elementor site kit defaults. */
.ae-site-header .ae-icon-button,.ae-site-header .ae-icon-button:hover,.ae-site-header .ae-icon-button:focus{background:transparent;color:#0027bd;border:2px solid #00000016;padding:8px;box-shadow:none}.ae-site-header .ae-icon-button img{width:20px;height:20px}.ae-site-header,.ae-site-footer{font-family:"AEGEA Sans",Arial,sans-serif}.ae-article>.ae-post-grid{grid-template-columns:repeat(4,1fr)}@media(max-width:767px){.ae-article>.ae-post-grid{grid-template-columns:1fr 1fr}}

.ae-article-editoria{text-align:center;margin:32px auto 24px}.ae-editoria-badge{display:inline-block;min-width:222px;max-width:100%;padding:6px 24px;border-radius:24px;background:var(--ae-blue);color:white;font-size:12px;line-height:1.4;text-transform:uppercase}.ae-editoria-badge:hover{color:white}.ae-editoria-pessoas-e-carreiras{background:var(--ae-aqua);color:var(--ae-blue)}.ae-editoria-cidades-mais-sustentaveis{background:var(--ae-green);color:var(--ae-blue)}.ae-editoria-futuros-mais-azuis{background:var(--ae-yellow);color:var(--ae-blue)}.ae-article-editoria+.ae-page-title{margin-top:0;margin-bottom:28px;color:var(--ae-ink)}.ae-article-meta{font-size:16px;line-height:1.6;color:var(--ae-blue);margin:24px auto 36px}.ae-article-byline{color:#77778a;margin-top:2px}.ae-article-hero{margin-bottom:24px}@media(max-width:767px){.ae-article-meta{font-size:14px}.ae-article-editoria{margin-top:24px}.ae-editoria-badge{min-width:190px}}

.ae-site-footer{position:relative;z-index:2;margin-top:-64px}.ae-footer-landscape{position:relative;z-index:1}@media(min-width:768px){.ae-header-inner{display:grid;grid-template-columns:116px minmax(0,1fr) 116px;width:min(1040px,100%);gap:20px}.ae-header-inner>nav{justify-self:center}.ae-header-inner>.ae-brand{justify-self:start}.ae-header-inner>.ae-search-toggle{justify-self:end}.ae-main-menu{margin:0}.ae-main-menu a{font-size:12px}.ae-main-menu{gap:20px}}@media(min-width:768px) and (max-width:1100px){.ae-header-inner{grid-template-columns:116px minmax(0,1fr) 116px;gap:12px;padding-inline:24px}.ae-main-menu{gap:12px}.ae-main-menu a{width:clamp(94px,12vw,130px);padding-inline:8px;font-size:11px}}@media(max-width:767px){.ae-site-footer{margin-top:-36px}}

.ae-footer-bottom{align-items:center;justify-content:space-between;gap:20px}.ae-footer-legal{display:flex;flex-wrap:wrap;gap:10px 20px;flex:1;justify-content:center}.ae-footer-social{display:flex;align-items:center;gap:16px}.ae-footer-social a{display:flex;align-items:center;justify-content:center;width:24px;height:24px;color:#fff}.ae-footer-social svg{display:block;width:20px;height:20px}.ae-footer-tools{display:flex;gap:12px 24px;flex-wrap:wrap;margin-top:18px;font-size:11px}.ae-footer-tools a{color:inherit}@media(max-width:767px){.ae-footer-bottom{flex-direction:column;align-items:flex-start}.ae-footer-legal{justify-content:flex-start;flex-direction:column}.ae-footer-social{gap:22px}.ae-footer-social a{width:32px;height:32px}.ae-footer-tools{line-height:1.7}}

/* Let editorial copy reflow naturally without isolated last words. */
h1,h2,h3,.ae-main-menu a,.ae-editoria-badge{text-wrap:balance}p{text-wrap:pretty}
