/*
Theme Name: Acelera Goiás Authority
Theme URI: https://aceleragoias.com.br/
Description: Child theme editorial do Acelera Goiás. Layout de portal, SEO técnico, autoridade regional e publicidade controlada.
Author: IdealizeWeb
Template: colorvibe
Version: 1.5.1
Text Domain: acelera-goias-authority
*/

:root {
    --ag-green: #0b3d2e;
    --ag-green-2: #145642;
    --ag-orange: #f36b21;
    --ag-black: #171717;
    --ag-ink: #161616;
    --ag-muted: #626262;
    --ag-line: #e5e5e2;
    --ag-soft: #f6f6f3;
    --ag-white: #fff;
    --ag-max: 1240px;
}

html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ag-ink);
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}
body.ag-menu-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
button, input { font: inherit; }
.ag-container { width: min(var(--ag-max), calc(100% - 40px)); margin: 0 auto; }
.ag-visually-hidden,
.ag-skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ag-skip-link:focus { position: fixed; z-index: 9999; left: 12px; top: 12px; padding: 10px 14px; background: #fff; border: 2px solid var(--ag-orange); }

/* HEADER — arquitetura de portal: faixa preta, masthead forte, navegação branca. */
.ag-site-header { position: relative; z-index: 100; background: #fff; }
.ag-utility-bar { background: #202020; color: #fff; font-size: 12px; }
.ag-utility-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ag-utility-tagline { color: rgba(255,255,255,.72); }

.ag-masthead { background: var(--ag-black); border-top: 1px solid rgba(255,255,255,.06); }
.ag-masthead-inner { min-height: 90px; display: grid; grid-template-columns: 76px minmax(280px,1fr) minmax(430px,1fr); align-items: center; gap: 18px; }
.ag-menu-toggle { width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; cursor: pointer; }
.ag-menu-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }
.ag-wordmark { justify-self: center; display: inline-flex; align-items: baseline; text-decoration: none; font-size: clamp(2rem, 4vw, 3.35rem); font-style: italic; font-weight: 900; line-height: 1; letter-spacing: -.065em; }
.ag-wordmark-white { color: #fff; }
.ag-wordmark-orange { color: var(--ag-orange); margin-left: .03em; }
.ag-masthead-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.ag-advertise-link { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid var(--ag-orange); border-radius: 6px; color: #fff; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
.ag-advertise-link:hover { background: var(--ag-orange); }
.ag-search-form { display: flex; align-items: stretch; }
.ag-search-form-desktop { width: min(330px, 28vw); }
.ag-search-form input[type="search"] { min-width: 0; flex: 1; min-height: 42px; padding: 0 13px; border: 1px solid #d7d7d7; border-right: 0; border-radius: 6px 0 0 6px; background: #fff; color: #222; outline: 0; }
.ag-search-form input[type="search"]:focus { border-color: var(--ag-orange); box-shadow: 0 0 0 2px rgba(243,107,33,.15); }
.ag-search-form button { min-width: 46px; border: 0; border-radius: 0 6px 6px 0; background: var(--ag-orange); color: #fff; font-weight: 800; cursor: pointer; }
.ag-search-form button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ag-search-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: #fff; cursor: pointer; }
.ag-search-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ag-mobile-search { background: #111; padding: 12px 0 16px; }
.ag-mobile-search .ag-search-form { width: 100%; }
.ag-mobile-search .ag-search-form button { padding: 0 16px; }

.ag-primary-nav { background: #fff; border-bottom: 1px solid var(--ag-line); box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.ag-primary-menu { min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 40px; margin: 0; padding: 0; list-style: none; }
.ag-primary-menu li { margin: 0; }
.ag-primary-menu a { position: relative; min-height: 56px; display: flex; align-items: center; color: #232323; font-size: 14px; font-weight: 800; text-decoration: none; }
.ag-primary-menu a:hover,
.ag-primary-menu a:focus-visible { color: var(--ag-orange); }
.ag-primary-menu .current-menu-item > a,
.ag-primary-menu .current_page_item > a { color: var(--ag-green); }
.ag-primary-menu .current-menu-item > a::after,
.ag-primary-menu .current_page_item > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--ag-orange); }

/* Publicidade. Só há espaço quando existe banner ativo. */
.ag-ad-slot { margin: 0; text-align: center; }
.ag-ad-slot .ag-ad-label { display: block; margin-bottom: 6px; color: #858585; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ag-ad-slot a { display: block; line-height: 0; }
.ag-ad-slot img { display: block; width: 100%; height: auto; margin: 0 auto; object-fit: contain; }
.ag-ad-top,
.ag-ad-between,
.ag-ad-footer { padding: 18px 0; background: #f5f5f5; }
.ag-ad-top .ag-ad-inner,
.ag-ad-between .ag-ad-inner,
.ag-ad-footer .ag-ad-inner { width: min(970px, calc(100% - 40px)); margin: 0 auto; }
.ag-home-sidebar .ag-ad-slot,
.ag-article-sidebar .ag-ad-slot { margin-bottom: 24px; }
.ag-home-sidebar .ag-ad-slot img,
.ag-article-sidebar .ag-ad-slot img { max-width: 330px; }
.ag-ad-in-article { margin: 24px 0 30px; padding: 14px 0; border-top: 1px solid var(--ag-line); border-bottom: 1px solid var(--ag-line); }

/* HOME — grade editorial mais próxima de grandes portais. */
.ag-home { background: #fff; }
.ag-home-leads { padding: 26px 0 34px; }
.ag-home-latest { padding: 32px 0 44px; border-top: 1px solid var(--ag-line); }
.ag-editorias { padding: 38px 0 48px; border-top: 1px solid var(--ag-line); background: #f7f7f4; }
.ag-section-title-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; border-bottom: 2px solid #1a1a1a; }
.ag-section-title-row h2 { position: relative; margin: 0; padding: 0 0 10px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.05; }
.ag-section-title-row h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 62px; height: 4px; background: var(--ag-orange); }
.ag-section-title-row > span,
.ag-section-title-row > a { padding-bottom: 10px; color: #6a6a6a; font-size: 12px; text-decoration: none; }
.ag-section-title-compact { margin-bottom: 24px; }

.ag-top-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr) minmax(250px,.72fr); gap: 24px; align-items: start; }
.ag-top-feature-image { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 14px; background: var(--ag-soft); }
.ag-top-feature-img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.ag-top-feature-image:hover .ag-top-feature-img { transform: scale(1.012); }
.ag-top-feature-copy { padding-top: 8px; }
.ag-card-cat { display: inline-block; margin-bottom: 7px; color: var(--ag-orange); font-size: 12px; font-weight: 900; letter-spacing: .055em; text-transform: uppercase; text-decoration: none; }
.ag-top-feature-copy h2 { margin: 0 0 12px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.2rem, 3.65vw, 3.45rem); line-height: 1.02; letter-spacing: -.025em; }
.ag-top-feature-copy h2 a { text-decoration: none; }
.ag-top-feature-copy h2 a:hover { color: var(--ag-green); }
.ag-top-feature-copy > p { margin: 0; color: var(--ag-muted); font-size: 17px; line-height: 1.58; }
.ag-headline-bullets { margin: 22px 0 0; padding: 18px 0 0 18px; border-top: 1px solid var(--ag-line); }
.ag-headline-bullets li { padding: 7px 0; }
.ag-headline-bullets li::marker { color: var(--ag-orange); }
.ag-headline-bullets a { font-family: Georgia, 'Times New Roman', serif; font-size: 1.12rem; font-weight: 700; text-decoration: none; }
.ag-headline-bullets a:hover { color: var(--ag-green); }
.ag-top-side-card { min-width: 0; }
.ag-top-side-media { display: block; aspect-ratio: 16/10; overflow: hidden; border-radius: 12px; background: var(--ag-soft); }
.ag-top-side-media img { width: 100%; height: 100%; object-fit: cover; }
.ag-top-side-copy { padding-top: 12px; }
.ag-top-side-copy h3 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 1.55rem; line-height: 1.12; }
.ag-top-side-copy h3 a { text-decoration: none; }
.ag-top-side-copy h3 a:hover { color: var(--ag-green); }

.ag-home-body-grid { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 40px; align-items: start; }
.ag-latest-list { display: grid; gap: 0; }
.ag-latest-item { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--ag-line); }
.ag-latest-item:first-child { padding-top: 0; }
.ag-latest-media { display: block; aspect-ratio: 16/9; overflow: hidden; border-radius: 8px; background: var(--ag-soft); }
.ag-latest-media img { width: 100%; height: 100%; object-fit: cover; }
.ag-latest-copy h3 { margin: 1px 0 7px; font-family: Georgia, 'Times New Roman', serif; font-size: 1.55rem; line-height: 1.12; }
.ag-latest-copy h3 a { text-decoration: none; }
.ag-latest-copy h3 a:hover { color: var(--ag-green); }
.ag-latest-copy p { margin: 0 0 10px; color: var(--ag-muted); font-size: 16px; line-height: 1.55; }
.ag-latest-copy time { color: #767676; font-size: 12px; }

.ag-home-sidebar,
.ag-article-sidebar { position: sticky; top: 18px; }
.ag-sidebar-box { margin-bottom: 24px; border-top: 4px solid var(--ag-green); background: #fff; box-shadow: 0 0 0 1px var(--ag-line); }
.ag-sidebar-box h2 { margin: 0; padding: 15px 16px 12px; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
.ag-sidebar-links { margin: 0; padding: 0; list-style: none; }
.ag-sidebar-links li { margin: 0; border-top: 1px solid var(--ag-line); }
.ag-sidebar-links a { display: flex; justify-content: space-between; gap: 10px; padding: 13px 16px; font-weight: 700; text-decoration: none; }
.ag-sidebar-links a span { color: var(--ag-orange); }
.ag-sidebar-links a:hover { color: var(--ag-green); background: #fafafa; }
.ag-sidebar-partner { margin-top: 24px; padding: 22px; background: #10251d; color: #fff; border-radius: 10px; }
.ag-sidebar-partner > span { display: block; color: var(--ag-orange); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.ag-sidebar-partner strong { display: block; margin: 7px 0; font-family: Georgia, 'Times New Roman', serif; font-size: 1.55rem; }
.ag-sidebar-partner p { color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.5; }
.ag-sidebar-partner a { color: #fff; font-size: 12px; font-weight: 800; text-decoration: none; }

.ag-editorias-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 1px; background: #dcded9; border: 1px solid #dcded9; }
.ag-editoria-card { min-height: 160px; display: flex; flex-direction: column; padding: 20px; background: #fff; text-decoration: none; }
.ag-editoria-card strong { color: var(--ag-green); font-family: Georgia, 'Times New Roman', serif; font-size: 1.25rem; }
.ag-editoria-card span { margin-top: 12px; color: var(--ag-muted); font-size: 14px; line-height: 1.55; }
.ag-editoria-card em { margin-top: auto; padding-top: 18px; color: var(--ag-orange); font-size: 11px; font-style: normal; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.ag-editoria-card:hover { box-shadow: inset 0 -4px 0 var(--ag-orange); }

/* ARCHIVES */
.ag-archive { background: #fff; }
.ag-archive-header { padding: 34px 0 24px; border-bottom: 1px solid var(--ag-line); }
.ag-archive-title { margin: 0; font-family: Georgia, 'Times New Roman', serif; color: var(--ag-green); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; }
.ag-archive-description { max-width: 780px; margin-top: 10px; color: var(--ag-muted); font-size: 17px; line-height: 1.62; }
.ag-news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.ag-news-card { border-bottom: 1px solid var(--ag-line); padding-bottom: 20px; }
.ag-news-card .ag-card-media { display: block; aspect-ratio: 16/9; overflow: hidden; border-radius: 8px; background: var(--ag-soft); }
.ag-news-card .ag-card-media img { width: 100%; height: 100%; object-fit: cover; }
.ag-news-card-content { padding-top: 12px; }
.ag-news-card h3 { margin: 0 0 8px; font-family: Georgia, 'Times New Roman', serif; font-size: 1.45rem; line-height: 1.15; }
.ag-news-card h3 a { text-decoration: none; }
.ag-news-card p { color: var(--ag-muted); font-size: 16px; line-height: 1.58; }
.ag-card-meta { color: #777; font-size: 12px; }
.ag-pagination { margin-top: 30px; }
.ag-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.ag-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 40px; min-height: 40px; padding: 6px 10px; border: 1px solid var(--ag-line); text-decoration: none; }
.ag-pagination .page-numbers.current,
.ag-pagination .page-numbers:hover { background: var(--ag-green); border-color: var(--ag-green); color: #fff; }

/* SINGLE / PAGES */
.ag-single-layout,
.ag-page-layout { display: grid; grid-template-columns: minmax(0,840px) 320px; gap: 52px; align-items: start; padding: 34px 0 64px; }
.ag-single-main,
.ag-page-main { min-width: 0; }
.ag-breadcrumb { margin-bottom: 22px; color: #6f6f6f; font-size: 13px; }
.ag-breadcrumb a { color: var(--ag-green); }
.ag-single-header h1,
.ag-page-header h1 { margin: 8px 0 14px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.35rem, 5vw, 4.25rem); line-height: 1.01; letter-spacing: -.025em; }
.ag-page-header h1 { font-size: clamp(2.2rem, 4.5vw, 3.7rem); }
.ag-single-lead { max-width: 800px; margin: 0 0 20px; color: #505050; font-size: 1.34rem; line-height: 1.5; }
.ag-single-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; padding-top: 14px; border-top: 1px solid var(--ag-line); color: #666; font-size: 13px; }
.ag-single-meta a { color: var(--ag-green); font-weight: 700; }
.ag-single-featured { margin: 28px 0; }
.ag-single-featured img { width: 100%; height: auto; border-radius: 10px; }
.ag-single-content { max-width: 780px; font-family: Georgia, 'Times New Roman', serif; font-size: 21px; line-height: 1.76; letter-spacing: .002em; }
.ag-single-content p { margin: 0 0 1.35em; }
.ag-single-content ul, .ag-single-content ol { margin: 0 0 1.35em; padding-left: 1.35em; }
.ag-single-content li { margin-bottom: .48em; }
.ag-single-content h2,
.ag-single-content h3 { font-family: Arial, Helvetica, sans-serif; color: var(--ag-green); line-height: 1.15; }
.ag-single-content h2 { margin: 1.9em 0 .7em; font-size: 2rem; }
.ag-single-content h3 { margin: 1.65em 0 .65em; font-size: 1.55rem; }
.ag-single-content a { color: #0a6946; text-underline-offset: 2px; }
.ag-single-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--ag-orange); color: #333; }
.ag-author-box { display: grid; grid-template-columns: 76px 1fr; gap: 18px; margin-top: 42px; padding: 22px 0; border-top: 1px solid var(--ag-line); border-bottom: 1px solid var(--ag-line); }
.ag-author-box img { border-radius: 50%; }
.ag-author-box h2 { margin: 0 0 6px; color: var(--ag-green); font-size: 1.08rem; }
.ag-author-box h2 a { text-decoration: none; }
.ag-author-box p { margin: 0; color: var(--ag-muted); font-size: 15px; line-height: 1.58; }
.ag-related { margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--ag-line); }
.ag-page-content { padding-top: 10px; }

/* FOOTER — confiança e transparência editorial. */
.ag-site-footer { background: #111; color: #fff; }
.ag-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; padding: 50px 0; }
.ag-wordmark-footer { justify-self: start; font-size: 2rem; }
.ag-footer-brand p { max-width: 420px; color: rgba(255,255,255,.70); font-size: 14px; line-height: 1.62; }
.ag-site-footer h2 { margin: 0 0 14px; color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.ag-footer-menu { margin: 0; padding: 0; list-style: none; }
.ag-footer-menu li + li { margin-top: 9px; }
.ag-footer-menu a { color: rgba(255,255,255,.78); font-size: 14px; text-decoration: none; }
.ag-footer-menu a:hover { color: var(--ag-orange); }
.ag-footer-note { margin-top: 15px; color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.55; }
.ag-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; color: rgba(255,255,255,.62); font-size: 12px; }
.ag-footer-bottom-inner { display: flex; justify-content: space-between; gap: 20px; }

/* Author */
.ag-author-hero { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 20px; align-items: center; max-width: 900px; margin-top: 18px; }
.ag-author-avatar img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; }

/* Neutraliza componentes visuais do tema pai que não pertencem à arquitetura nova. */
.news-flash-wrap,
.header-top,
.header-bottom,
#masthead.site-header,
.site-header,
.navigation.pagination + .scroll-to-top { box-shadow: none; }

@media (max-width: 1100px) {
    .ag-masthead-inner { grid-template-columns: 64px minmax(240px,1fr) minmax(360px,.9fr); }
    .ag-wordmark { font-size: 2.65rem; }
    .ag-search-form-desktop { width: 250px; }
    .ag-top-grid { grid-template-columns: 1.15fr .95fr .72fr; }
    .ag-home-body-grid,
    .ag-single-layout,
    .ag-page-layout { grid-template-columns: minmax(0,1fr) 290px; gap: 32px; }
    .ag-editorias-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .ag-footer-grid { grid-template-columns: 1.3fr repeat(3,1fr); gap: 28px; }
}

@media (max-width: 900px) {
    .ag-container { width: min(var(--ag-max), calc(100% - 28px)); }
    .ag-masthead-inner { min-height: 72px; grid-template-columns: 48px 1fr 48px; gap: 8px; }
    .ag-wordmark { font-size: clamp(1.9rem, 7vw, 2.6rem); }
    .ag-masthead-actions { justify-self: end; }
    .ag-advertise-link,
    .ag-search-form-desktop { display: none; }
    .ag-search-toggle { display: grid; place-items: center; }
    .ag-primary-nav { display: none; position: fixed; inset: 72px 0 0; z-index: 999; overflow-y: auto; background: #fff; border: 0; }
    .ag-primary-nav.is-open { display: block; }
    .ag-primary-menu { display: block; min-height: 0; padding: 14px 20px 34px; }
    .ag-primary-menu a { min-height: 52px; border-bottom: 1px solid var(--ag-line); font-size: 16px; }
    .ag-primary-menu .current-menu-item > a::after,
    .ag-primary-menu .current_page_item > a::after { display: none; }
    .ag-top-grid { grid-template-columns: 1.25fr 1fr; }
    .ag-top-side-card { grid-column: 1 / -1; display: grid; grid-template-columns: 240px 1fr; gap: 18px; padding-top: 18px; border-top: 1px solid var(--ag-line); }
    .ag-home-body-grid,
    .ag-single-layout,
    .ag-page-layout { grid-template-columns: 1fr; }
    .ag-home-sidebar,
    .ag-article-sidebar { position: static; }
    .ag-home-sidebar { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; align-items: start; }
    .ag-sidebar-partner { margin-top: 0; }
    .ag-footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 680px) {
    .ag-container { width: calc(100% - 28px); }
    .ag-utility-inner { min-height: 30px; font-size: 10px; }
    .ag-utility-tagline { display: none; }
    .ag-masthead-inner { min-height: 66px; }
    .ag-wordmark { font-size: clamp(1.7rem, 8vw, 2.15rem); }
    .ag-menu-toggle,
    .ag-search-toggle { width: 40px; height: 40px; }
    .ag-primary-nav { inset: 66px 0 0; }
    .ag-ad-top,
    .ag-ad-between,
    .ag-ad-footer { padding: 10px 0; }
    .ag-ad-top .ag-ad-inner,
    .ag-ad-between .ag-ad-inner,
    .ag-ad-footer .ag-ad-inner { width: calc(100% - 18px); }
    .ag-home-leads { padding: 20px 0 28px; }
    .ag-home-latest { padding: 26px 0 34px; }
    .ag-section-title-row { margin-bottom: 14px; }
    .ag-section-title-row > span { display: none; }
    .ag-top-grid { grid-template-columns: 1fr; gap: 14px; }
    .ag-top-feature-image { aspect-ratio: 16/10; border-radius: 10px; }
    .ag-top-feature-copy { padding-top: 0; }
    .ag-top-feature-copy h2 { font-size: clamp(2rem, 10vw, 2.8rem); }
    .ag-top-feature-copy > p { font-size: 16px; }
    .ag-headline-bullets { margin-top: 16px; padding-top: 12px; }
    .ag-top-side-card { grid-column: auto; display: grid; grid-template-columns: 122px 1fr; gap: 12px; padding-top: 14px; }
    .ag-top-side-copy { padding-top: 0; }
    .ag-top-side-copy h3 { font-size: 1.16rem; }
    .ag-latest-item { grid-template-columns: 126px minmax(0,1fr); gap: 13px; padding: 14px 0; }
    .ag-latest-copy h3 { font-size: 1.15rem; }
    .ag-latest-copy p { display: none; }
    .ag-home-sidebar { display: block; }
    .ag-home-sidebar > * { margin-bottom: 20px; }
    .ag-editorias-grid { grid-template-columns: 1fr; }
    .ag-editoria-card { min-height: 0; padding: 18px; }
    .ag-editoria-card span { margin-top: 7px; }
    .ag-editoria-card em { padding-top: 12px; }
    .ag-news-grid { grid-template-columns: 1fr; }
    .ag-single-layout,
    .ag-page-layout { padding: 24px 0 44px; }
    .ag-single-header h1,
    .ag-page-header h1 { font-size: clamp(2rem, 10vw, 3rem); }
    .ag-single-lead { font-size: 1.16rem; line-height: 1.55; }
    .ag-single-content { max-width: none; font-size: 19px; line-height: 1.72; }
    .ag-footer-grid { grid-template-columns: 1fr; gap: 26px; padding: 36px 0; }
    .ag-footer-bottom-inner { display: block; }
    .ag-footer-bottom-inner span { display: block; }
    .ag-footer-bottom-inner span + span { margin-top: 5px; }
    .ag-author-hero { grid-template-columns: 1fr; }
}

/* =========================================================
   v1.3.0 — acabamento editorial de portal
   Tipografia forte, masthead compacto, Acelera Agora,
   Mais Lidas, Entrevistas e Radar sem dependências visuais.
   ========================================================= */

:root {
    --ag-green: #0b3d2e;
    --ag-green-2: #145642;
    --ag-orange: #f36b21;
    --ag-black: #111111;
    --ag-ink: #151515;
    --ag-muted: #5f6368;
    --ag-line: #e4e4e4;
    --ag-soft: #f6f6f4;
    --ag-white: #ffffff;
    --ag-max: 1240px;
    --ag-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body,
button,
input,
select,
textarea { font-family: var(--ag-font); }

/* Masthead: elimina a faixa de data e aproxima a primeira dobra do conteúdo. */
.ag-utility-bar { display: none !important; }
.ag-masthead { background: #111; }
.ag-masthead-inner {
    min-height: 78px;
    grid-template-columns: 64px minmax(250px, 1fr) minmax(430px, .95fr);
    gap: 16px;
}
.ag-wordmark {
    font-family: var(--ag-font);
    font-size: clamp(2rem, 3.5vw, 3.1rem);
    font-weight: 950;
    letter-spacing: -.075em;
}
.ag-search-form-desktop { width: min(360px, 30vw); }
.ag-search-form input[type="search"] {
    font-size: 14px;
    font-weight: 550;
}
.ag-primary-menu a {
    font-family: var(--ag-font);
    font-size: 14px;
    font-weight: 800;
}

/* Títulos e chapeletas com linguagem visual de portal digital. */
.ag-section-title-row h2,
.ag-top-feature-copy h2,
.ag-top-side-copy h3,
.ag-latest-copy h3,
.ag-news-card h3,
.ag-archive-title,
.ag-single-header h1,
.ag-page-header h1,
.ag-author-title,
.ag-editoria-card strong,
.ag-headline-bullets a,
.ag-feature-card h3,
.ag-popular-list a,
.ag-radar-list a {
    font-family: var(--ag-font);
}

.ag-section-title-row h2 {
    font-size: clamp(1.55rem, 2.1vw, 2rem);
    font-weight: 900;
    letter-spacing: -.035em;
}
.ag-card-cat {
    color: var(--ag-orange);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .075em;
}
.ag-top-feature-copy h2 {
    font-size: clamp(2.45rem, 4.05vw, 3.8rem);
    line-height: .98;
    font-weight: 900;
    letter-spacing: -.055em;
}
.ag-top-feature-copy h2 a:hover,
.ag-top-side-copy h3 a:hover,
.ag-latest-copy h3 a:hover,
.ag-news-card h3 a:hover,
.ag-feature-card h3 a:hover { color: var(--ag-orange); }
.ag-top-feature-copy > p {
    font-size: 18px;
    line-height: 1.52;
    color: #555;
}
.ag-headline-bullets a {
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.28;
}
.ag-top-side-copy h3 {
    font-size: 1.55rem;
    line-height: 1.08;
    font-weight: 850;
    letter-spacing: -.035em;
}
.ag-latest-copy h3 {
    font-size: 1.48rem;
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: -.03em;
}
.ag-latest-copy p { font-size: 16.5px; line-height: 1.52; }
.ag-news-card h3 { font-size: 1.4rem; line-height: 1.12; font-weight: 850; letter-spacing: -.025em; }
.ag-archive-title { color: var(--ag-black); font-weight: 950; letter-spacing: -.05em; }

/* Matérias: título forte e leitura confortável. */
.ag-single-header h1 {
    max-width: 980px;
    margin: 8px 0 16px;
    color: #121212;
    font-size: clamp(2.8rem, 5.2vw, 4.9rem);
    line-height: .99;
    font-weight: 950;
    letter-spacing: -.058em;
}
.ag-page-header h1 {
    color: #121212;
    font-size: clamp(2.45rem, 4.5vw, 4rem);
    font-weight: 920;
    letter-spacing: -.05em;
}
.ag-single-lead {
    max-width: 900px;
    color: #525252;
    font-size: 1.35rem;
    line-height: 1.5;
}
.ag-single-meta { font-size: 13px; font-weight: 650; }
.ag-single-content {
    max-width: 760px;
    font-family: var(--ag-font);
    color: #242424;
    font-size: 20px;
    line-height: 1.68;
    letter-spacing: -.006em;
}
.ag-single-content p { margin-bottom: 1.42em; }
.ag-single-content h2,
.ag-single-content h3 {
    color: #171717;
    font-family: var(--ag-font);
    font-weight: 900;
    letter-spacing: -.035em;
}
.ag-single-content h2 { font-size: 2.05rem; line-height: 1.08; }
.ag-single-content h3 { font-size: 1.55rem; line-height: 1.13; }
.ag-single-content strong { font-weight: 800; }
.ag-single-content a { color: #0b6548; font-weight: 650; }
.ag-single-content blockquote { font-size: 1.08em; font-weight: 650; }

/* Acelera Agora — dados servidos pelo servidor e cacheados pelo plugin. */
.ag-now {
    border-top: 1px solid var(--ag-line);
    border-bottom: 1px solid var(--ag-line);
    background: #fbfbfa;
}
.ag-now-inner { padding: 18px 0; }
.ag-now-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
}
.ag-now-heading h2 {
    margin: 0;
    color: #111;
    font-size: 1.05rem;
    font-weight: 950;
    letter-spacing: .055em;
    text-transform: uppercase;
}
.ag-now-heading span { color: #777; font-size: 11px; }
.ag-now-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--ag-line);
    border-radius: 9px;
    background: var(--ag-line);
}
.ag-now-card {
    min-height: 76px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 15px;
    background: #fff;
}
.ag-now-card small {
    color: #777;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.ag-now-card strong {
    margin-top: 4px;
    color: #111;
    font-size: 1.2rem;
    font-weight: 900;
}
.ag-now-card span { margin-top: 2px; color: #666; font-size: 11px; }
.ag-now-source { margin: 8px 0 0; color: #888; font-size: 10px; }
.ag-now-source a { color: inherit; }

/* Mais lidas */
.ag-popular-box { margin-bottom: 24px; border-top: 4px solid var(--ag-orange); background: #fff; box-shadow: 0 0 0 1px var(--ag-line); }
.ag-popular-box h2 { margin: 0; padding: 15px 16px 10px; font-size: 15px; font-weight: 950; letter-spacing: .04em; text-transform: uppercase; }
.ag-popular-list { margin: 0; padding: 0 16px 10px; list-style: none; counter-reset: ag-popular; }
.ag-popular-list li { counter-increment: ag-popular; display: grid; grid-template-columns: 32px 1fr; gap: 8px; padding: 11px 0; border-top: 1px solid var(--ag-line); }
.ag-popular-list li::before { content: counter(ag-popular); color: var(--ag-orange); font-size: 1.35rem; font-weight: 950; line-height: 1; }
.ag-popular-list a { color: #1a1a1a; font-size: .98rem; font-weight: 800; line-height: 1.25; text-decoration: none; }
.ag-popular-list a:hover { color: var(--ag-green); }

/* Entrevistas e demais blocos especiais */
.ag-home-feature-section { padding: 40px 0 46px; border-top: 1px solid var(--ag-line); }
.ag-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.ag-feature-card { min-width: 0; }
.ag-feature-card .ag-card-media { display: block; aspect-ratio: 16/10; overflow: hidden; border-radius: 9px; background: var(--ag-soft); }
.ag-feature-card .ag-card-media img { width: 100%; height: 100%; object-fit: cover; }
.ag-feature-card-copy { padding-top: 12px; }
.ag-feature-card h3 { margin: 0; font-size: 1.3rem; line-height: 1.1; font-weight: 880; letter-spacing: -.03em; }
.ag-feature-card h3 a { text-decoration: none; }
.ag-feature-card p { margin: 8px 0 0; color: #666; font-size: 14px; line-height: 1.45; }

/* Radar externo: somente links para fonte original, sem criar páginas duplicadas. */
.ag-radar { padding: 38px 0 44px; border-top: 1px solid var(--ag-line); background: #111; color: #fff; }
.ag-radar .ag-section-title-row { border-color: rgba(255,255,255,.32); }
.ag-radar .ag-section-title-row h2 { color: #fff; }
.ag-radar .ag-section-title-row > span { color: rgba(255,255,255,.65); }
.ag-radar-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.ag-radar-list li { padding: 16px 18px 16px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.ag-radar-list li + li { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.18); }
.ag-radar-list a { color: #fff; font-size: .97rem; font-weight: 800; line-height: 1.28; text-decoration: none; }
.ag-radar-list a:hover { color: #ff8c4b; }
.ag-radar-list small { display: block; margin-top: 7px; color: rgba(255,255,255,.62); font-size: 10px; }

/* Editorias compactas: informação, não grandes blocos decorativos. */
.ag-editorias-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #dadada; border: 1px solid #dadada; }
.ag-editoria-card { min-height: 132px; padding: 18px 20px; background: #fff; }
.ag-editoria-card strong { color: #111; font-size: 1.18rem; font-weight: 900; letter-spacing: -.025em; }
.ag-editoria-card span { color: #666; }

/* Pequenos refinamentos de performance visual / CLS. */
.ag-top-feature-image,
.ag-top-side-media,
.ag-latest-media,
.ag-card-media { contain: paint; }

@media (max-width: 1100px) {
    .ag-masthead-inner { grid-template-columns: 56px minmax(230px, 1fr) minmax(330px, .9fr); }
    .ag-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ag-radar-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .ag-masthead-inner { min-height: 68px; grid-template-columns: 46px 1fr 46px; }
    .ag-wordmark { font-size: clamp(1.8rem, 7vw, 2.45rem); }
    .ag-primary-nav { inset: 68px 0 0; }
    .ag-top-feature-copy h2 { font-size: clamp(2.15rem, 6.4vw, 3.25rem); }
    .ag-radar-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    .ag-masthead-inner { min-height: 62px; }
    .ag-primary-nav { inset: 62px 0 0; }
    .ag-wordmark { font-size: clamp(1.58rem, 7.3vw, 2rem); }
    .ag-home-leads { padding-top: 18px; }
    .ag-section-title-row h2 { font-size: 1.38rem; }
    .ag-top-feature-copy h2 {
        font-size: clamp(2rem, 9.1vw, 2.62rem);
        line-height: 1.01;
        font-weight: 950;
        letter-spacing: -.05em;
    }
    .ag-top-feature-copy > p { font-size: 17px; line-height: 1.5; }
    .ag-headline-bullets a { font-size: 1.02rem; }
    .ag-top-side-copy h3 { font-size: 1.08rem; }
    .ag-latest-copy h3 { font-size: 1.12rem; line-height: 1.12; font-weight: 900; }
    .ag-single-header h1 {
        font-size: clamp(2.25rem, 10.7vw, 3.25rem);
        line-height: 1;
        letter-spacing: -.055em;
    }
    .ag-single-lead { font-size: 1.18rem; line-height: 1.5; }
    .ag-single-content { font-size: 19px; line-height: 1.68; }
    .ag-single-content h2 { font-size: 1.72rem; }
    .ag-single-content h3 { font-size: 1.38rem; }
    .ag-now-inner { padding: 14px 0; }
    .ag-now-heading { align-items: flex-start; margin-bottom: 9px; }
    .ag-now-heading span { display: none; }
    .ag-now-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ag-now-card { min-height: 68px; padding: 10px 12px; }
    .ag-now-card strong { font-size: 1.08rem; }
    .ag-feature-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .ag-feature-card h3 { font-size: 1.08rem; }
    .ag-feature-card p { display: none; }
    .ag-radar-list { grid-template-columns: 1fr; }
    .ag-radar-list li,
    .ag-radar-list li + li { padding: 14px 0; border-left: 0; }
    .ag-editorias-grid { grid-template-columns: 1fr; }
}


/* =========================================================
   v1.5.0 — Headline Engine / Traffic Editorial
   Separa H1, SEO title, social title e chamada curta da home.
   ========================================================= */

.ag-top-grid {
    grid-template-columns: minmax(0,1.03fr) minmax(0,1.18fr) minmax(240px,.72fr);
    gap: 28px;
}

.ag-top-feature-copy h2 {
    font-size: clamp(2.1rem, 3.15vw, 3.25rem);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.052em;
    text-wrap: balance;
}

.ag-top-feature-copy > p {
    max-width: 46rem;
    font-size: 17px;
    line-height: 1.5;
}

.ag-top-side-copy h3,
.ag-latest-copy h3,
.ag-news-card h2,
.ag-news-card h3,
.ag-feature-card h3,
.ag-related h3 {
    text-wrap: balance;
}

.ag-top-side-copy h3 {
    font-size: 1.38rem;
    line-height: 1.08;
}

.ag-card-cat {
    margin-bottom: 8px;
}

@media (max-width: 1100px) {
    .ag-top-grid {
        grid-template-columns: minmax(0,1fr) minmax(0,1.12fr) minmax(220px,.68fr);
        gap: 22px;
    }
    .ag-top-feature-copy h2 {
        font-size: clamp(2rem, 3.5vw, 3rem);
    }
}

@media (max-width: 900px) {
    .ag-top-grid { grid-template-columns: 1.05fr 1fr; }
    .ag-top-feature-copy h2 {
        font-size: clamp(2rem, 5.6vw, 2.85rem);
    }
}

@media (max-width: 680px) {
    .ag-top-grid { grid-template-columns: 1fr; gap: 14px; }
    .ag-top-feature-copy h2 {
        font-size: clamp(1.92rem, 8.7vw, 2.5rem);
        line-height: 1.01;
        letter-spacing: -.048em;
    }
}


/* =========================================================
   v1.5.1 — Destaques secundários com imagem
   Os dois conteúdos mais recentes deixam de ser bullets
   puramente textuais e passam a funcionar como mini-cards.
   ========================================================= */
.ag-headline-mini-list {
    display: grid;
    gap: 12px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--ag-line);
}
.ag-headline-mini-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    min-width: 0;
}
.ag-headline-mini-card + .ag-headline-mini-card {
    padding-top: 12px;
    border-top: 1px solid var(--ag-line);
}
.ag-headline-mini-media {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    background: var(--ag-soft);
    contain: paint;
}
.ag-headline-mini-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ag-headline-mini-copy {
    min-width: 0;
}
.ag-headline-mini-copy .ag-card-cat {
    display: inline-block;
    margin-bottom: 5px;
    font-size: .69rem;
}
.ag-headline-mini-copy h3 {
    margin: 0;
    color: #161616;
    font-size: 1.05rem;
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -.026em;
}
.ag-headline-mini-copy h3 a {
    text-decoration: none;
}
.ag-headline-mini-copy h3 a:hover {
    color: var(--ag-green);
}

@media (max-width: 680px) {
    .ag-headline-mini-list {
        gap: 10px;
        margin-top: 15px;
        padding-top: 12px;
    }
    .ag-headline-mini-card {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 11px;
    }
    .ag-headline-mini-card + .ag-headline-mini-card {
        padding-top: 10px;
    }
    .ag-headline-mini-copy h3 {
        font-size: 1rem;
        line-height: 1.12;
    }
}
