/* Emagrecentro Penha - Blog (listagem e artigos) */
:root{--eg-navy:#06316B;--eg-blue:#006DFF;--eg-ink:#1f2a37;--eg-muted:#5f6b7a;--eg-bg:#f4f7fb;--eg-line:#dbe5f3;--eg-r:18px}

/* ===== LISTAGEM ===== */
body.eg-blog-list .site-content{background:var(--eg-bg)}
body.eg-blog-list .site-content .ast-container{display:block;max-width:1240px;padding:0 20px 64px}
body.eg-blog-list #primary{width:100%;max-width:none;margin:0;padding:0;float:none}
body.eg-blog-list #secondary{display:none}
body.eg-blog-list .ast-archive-description,body.eg-blog-list .page-title,body.eg-blog-list .ast-archive-entry-banner{display:none}

.eg-blog-hero{max-width:820px;margin:0 auto;padding:56px 0 36px;text-align:center}
.eg-blog-hero h1{font-size:clamp(30px,4.2vw,46px);line-height:1.15;color:var(--eg-navy);font-weight:700;margin:0 0 12px}
.eg-blog-hero p{max-width:620px;margin:0 auto 26px;color:var(--eg-muted);font-size:17px;line-height:1.6}
.eg-chips{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:0 0 22px}
.eg-chips a{padding:9px 20px;border-radius:999px;background:#fff;border:1px solid var(--eg-line);color:var(--eg-navy);font-size:14px;font-weight:500;line-height:1;text-decoration:none;transition:all .2s}
.eg-chips a:hover,.eg-chips a.is-active{background:var(--eg-navy);border-color:var(--eg-navy);color:#fff}
.eg-search{display:flex;gap:8px;max-width:460px;margin:0 auto}
.eg-search input[type=search]{flex:1;height:46px;border:1px solid var(--eg-line);border-radius:999px;padding:0 20px;background:#fff;font-size:15px;box-shadow:none}
.eg-search input[type=search]:focus{border-color:var(--eg-blue);outline:0}
.eg-search button{height:46px;padding:0 24px;border:0;border-radius:999px;background:var(--eg-navy);color:#fff;font-weight:600;font-size:15px;cursor:pointer}
.eg-search button:hover{background:var(--eg-blue)}

body.eg-blog-list #main>.ast-row,body.eg-blog-list #main .ast-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:0}
body.eg-blog-list #main .ast-row>article,body.eg-blog-list article.ast-article-post{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;float:none!important;background:transparent}
body.eg-blog-list .ast-article-inner{height:100%;display:flex;flex-direction:column;background:#fff;border-radius:var(--eg-r);overflow:hidden;box-shadow:0 6px 24px rgba(6,49,107,.08);transition:transform .25s,box-shadow .25s}
body.eg-blog-list article:hover .ast-article-inner{transform:translateY(-4px);box-shadow:0 14px 34px rgba(6,49,107,.14)}
body.eg-blog-list .ast-blog-featured-section{margin:-22px -24px 8px!important;padding:0!important;order:-1;width:auto!important}
body.eg-blog-list .post-thumb,body.eg-blog-list .post-thumb-img-content{margin:0;display:block;line-height:0}
body.eg-blog-list .post-thumb img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;display:block;max-width:100%}
body.eg-blog-list .post-content{display:flex;flex-direction:column;gap:10px;flex:1;padding:22px 24px 26px}
body.eg-blog-list .ast-blog-single-element{margin:0}
body.eg-blog-list .entry-header{order:2}
body.eg-blog-list .ast-blog-meta-container{order:1}
body.eg-blog-list .ast-excerpt-container{order:3}
body.eg-blog-list .ast-read-more-container{order:4;margin-top:auto}
body.eg-blog-list .entry-title{font-size:20px;line-height:1.3;font-weight:600;margin:0}
body.eg-blog-list .entry-title a{color:var(--eg-navy);text-decoration:none}
body.eg-blog-list .entry-title a:hover{color:var(--eg-blue)}
body.eg-blog-list .entry-meta{margin:0;font-size:12px}
body.eg-blog-list .entry-meta .posted-by,body.eg-blog-list .entry-meta .comments-link,body.eg-blog-list .entry-meta .posted-on,body.eg-blog-list .entry-meta .ast-meta-sep,body.eg-blog-list .entry-meta .ast-terms-link+span{display:none}
body.eg-blog-list .ast-taxonomy-container a,body.eg-blog-list .entry-meta .cat-links a{display:inline-block;background:#e8f0fe;color:var(--eg-blue);border-radius:999px;padding:4px 12px;font-size:12px;font-weight:600;line-height:1.3;text-decoration:none}
body.eg-blog-list .ast-excerpt-container,body.eg-blog-list .ast-excerpt-container p{color:var(--eg-muted);font-size:15px;line-height:1.65;margin:0}
body.eg-blog-list .ast-read-more-container a,body.eg-blog-list .read-more a{color:var(--eg-blue);font-weight:600;font-size:14px;text-decoration:none}
body.eg-blog-list .ast-read-more-container a:hover{text-decoration:underline}
body.eg-blog-list .ast-pagination{margin-top:44px;text-align:center}
body.eg-blog-list .ast-pagination .nav-links{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
body.eg-blog-list .ast-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 14px;border-radius:999px;background:#fff;border:1px solid var(--eg-line);color:var(--eg-navy);font-weight:500;text-decoration:none}
body.eg-blog-list .ast-pagination .page-numbers.current,body.eg-blog-list .ast-pagination .page-numbers:hover{background:var(--eg-navy);border-color:var(--eg-navy);color:#fff}
@media(max-width:921px){body.eg-blog-list #main .ast-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.eg-blog-list #main .ast-row{grid-template-columns:1fr;gap:20px}.eg-blog-hero{padding:36px 0 26px}.eg-search{flex-direction:column}.eg-search button{width:100%}}

/* ===== ARTIGO ===== */
body.eg-blog-single .site-content{background:#fff}
body.eg-blog-single .site-content .ast-container{display:block;max-width:820px;padding:0 20px 56px}
body.eg-blog-single #primary{width:100%;max-width:none;margin:0;padding:36px 0 0;float:none}
body.eg-blog-single #secondary{display:none}
body.eg-blog-single article.ast-article-single{padding:0;margin:0;background:transparent;border:0}
body.eg-blog-single .entry-header{margin:0 0 18px;padding:0}
body.eg-blog-single .entry-title{font-size:clamp(28px,4vw,40px);line-height:1.2;font-weight:700;color:var(--eg-navy);margin:0 0 10px}
body.eg-blog-single .entry-meta{font-size:13px;color:var(--eg-muted)}
body.eg-blog-single .entry-meta .posted-by,body.eg-blog-single .entry-meta .comments-link,body.eg-blog-single .entry-meta .posted-on{display:none}
body.eg-blog-single .entry-meta .cat-links a,body.eg-blog-single .ast-terms-link{display:inline-block;background:#e8f0fe;color:var(--eg-blue);border-radius:999px;padding:4px 14px;font-size:12px;font-weight:600;text-decoration:none}
body.eg-blog-single .ast-single-post-order .post-thumb,body.eg-blog-single .post-thumb{margin:0 0 26px;display:block;line-height:0}
body.eg-blog-single .post-thumb img{width:100%;height:auto;max-height:420px;aspect-ratio:16/9;object-fit:cover;border-radius:var(--eg-r);display:block}
.eg-readtime{font-size:13px;color:var(--eg-muted);margin:0 0 22px;padding-bottom:18px;border-bottom:1px solid var(--eg-line)}
body.eg-blog-single .entry-content{font-size:17.5px;line-height:1.85;color:var(--eg-ink)}
body.eg-blog-single .entry-content p{margin:0 0 1.25em}
body.eg-blog-single .entry-content h2{font-size:28px;line-height:1.25;color:var(--eg-navy);font-weight:700;margin:2em 0 .6em}
body.eg-blog-single .entry-content h3{font-size:22px;line-height:1.3;color:var(--eg-navy);font-weight:600;margin:1.7em 0 .5em}
body.eg-blog-single .entry-content ul,body.eg-blog-single .entry-content ol{margin:0 0 1.4em 1.3em}
body.eg-blog-single .entry-content li{margin-bottom:.45em}
body.eg-blog-single .entry-content a{color:var(--eg-blue);text-underline-offset:3px}
body.eg-blog-single .entry-content img{max-width:100%;height:auto;border-radius:12px}
body.eg-blog-single .entry-content blockquote{border-left:4px solid var(--eg-blue);background:var(--eg-bg);padding:16px 22px;margin:1.6em 0;border-radius:0 12px 12px 0}
.eg-cta{margin:52px 0 8px;padding:30px;border-radius:20px;background:linear-gradient(135deg,#06316B,#0b4aa8);color:#fff;display:flex;gap:22px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.eg-cta h3{color:#fff;margin:0 0 6px;font-size:22px;line-height:1.3}
.eg-cta p{margin:0;opacity:.92;font-size:15px;line-height:1.5}
.eg-cta a{background:#25D366;color:#fff!important;padding:14px 26px;border-radius:999px;font-weight:600;text-decoration:none!important;white-space:nowrap}
.eg-cta a:hover{background:#1EBE5D}
.eg-related{margin-top:48px}
.eg-related h3{font-size:22px;color:var(--eg-navy);margin:0 0 18px}
.eg-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.eg-rel-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--eg-line);border-radius:14px;overflow:hidden;text-decoration:none!important;transition:transform .2s,box-shadow .2s}
.eg-rel-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(6,49,107,.12)}
.eg-rel-card img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;display:block;border-radius:0!important}
.eg-rel-card span{padding:14px 16px 16px;color:var(--eg-navy);font-weight:600;font-size:15px;line-height:1.35}
body.eg-blog-single .post-navigation{margin-top:40px}
body.eg-blog-single .post-navigation .nav-links{display:grid;grid-template-columns:1fr 1fr;gap:14px}
body.eg-blog-single .post-navigation a{display:block;padding:16px 18px;border:1px solid var(--eg-line);border-radius:14px;color:var(--eg-navy);text-decoration:none;font-weight:500;font-size:14px}
body.eg-blog-single .post-navigation a:hover{border-color:var(--eg-blue);color:var(--eg-blue)}
@media(max-width:700px){.eg-related-grid{grid-template-columns:1fr}.eg-cta{padding:24px}.eg-cta a{width:100%;text-align:center}body.eg-blog-single .post-navigation .nav-links{grid-template-columns:1fr}body.eg-blog-single .entry-content{font-size:16.5px}}
/* Ajustes */
body.eg-blog-single .entry-content .eg-cta h3,.eg-cta h3{color:#fff!important;margin:0 0 6px!important}
body.eg-blog-single .entry-content .eg-cta p{color:#fff;margin:0}
body.eg-blog-single .entry-content .eg-cta a{color:#fff!important}
body.eg-blog-single .entry-content .eg-related h3{color:var(--eg-navy)}
body.eg-blog-single .post-navigation .nav-links{display:flex;justify-content:space-between;gap:14px}
body.eg-blog-single .post-navigation .nav-previous,body.eg-blog-single .post-navigation .nav-next{flex:0 1 48%}
body.eg-blog-single .post-navigation .nav-next{margin-left:auto;text-align:right}
body.eg-blog-single .post-navigation .ast-left-arrow,body.eg-blog-single .post-navigation .ast-right-arrow{display:none}
.eg-related-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}

@media(max-width:600px){.eg-search input[type=search]{flex:none;width:100%;height:46px}}

body.eg-blog-single .post-navigation{display:none}

.eg-readtime strong{color:var(--eg-navy);font-weight:600}
.eg-readtime .eg-sep{margin:0 8px;opacity:.5}
