/* ==========================================================================
   O SEGUNDO — tema do portal
   Paleta: Preto #0B0B0B · Off White #F5F5F5 · Grafite #3A3A3A · Cinza #A8A8A8 · Âmbar #F5A623
   Tipografia: Sora (títulos/destaques) · Inter (textos)
   ========================================================================== */

:root {
	--osg-black: #0b0b0b;
	--osg-ink: #161616;
	--osg-white: #f5f5f5;
	--osg-graphite: #3a3a3a;
	--osg-gray: #a8a8a8;
	--osg-amber: #f5a623;
	--osg-amber-dark: #b36b00;
	--osg-bg: #eef0f4;
	--osg-card: #ffffff;
	--osg-line: #e2e2e2;
	--osg-muted: #6a6a6a;
	--font-head: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--radius: 14px;
	--container: 1240px;
	--header-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--osg-bg);
	color: var(--osg-ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-color: var(--osg-amber); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--osg-amber); outline-offset: 2px; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(780px, 100% - 32px); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; clip-path: none; margin: 0; padding: 10px 16px; background: var(--osg-amber); color: #000; z-index: 1000; font-weight: 700; }

/* ---------- Componentes ---------- */
.chip {
	display: inline-block; background: var(--osg-amber); color: #000;
	font: 700 11px/1 var(--font-head); letter-spacing: .07em; text-transform: uppercase;
	padding: 6px 8px; border-radius: 2px; position: relative; z-index: 2;
}
a.chip:hover { text-decoration: none; background: #ffb93f; }
.amber-line { display: block; width: 44px; height: 3px; background: var(--osg-amber); margin-bottom: 12px; }

.osg-btn {
	display: inline-flex; align-items: center; gap: 8px; background: var(--osg-amber); color: #000;
	font: 700 14px/1 var(--font-head); padding: 13px 18px; border-radius: var(--radius);
}
.osg-btn:hover { background: #ffb93f; text-decoration: none; }
.osg-btn-outline { background: transparent; border: 2px solid currentColor; color: inherit; }
.osg-btn-outline:hover { background: rgba(0, 0, 0, .06); }

.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--osg-line); }
.section-title { font: 800 20px/1.1 var(--font-head); text-transform: uppercase; letter-spacing: .02em; display: flex; align-items: center; gap: 10px; }
.section-title::before { content: ""; width: 5px; height: 22px; background: var(--osg-amber); border-radius: 1px; flex: none; }
.section-title--sm { font-size: 16px; margin-bottom: 14px; }
.section-link { display: inline-flex; align-items: center; gap: 6px; font: 600 13px var(--font-head); color: var(--osg-graphite); white-space: nowrap; }
.section-link:hover { color: #000; }

/* ---------- Topbar ---------- */
.topbar { background: #000; color: var(--osg-gray); font-size: 12px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 34px; }
.osg-social { display: flex; align-items: center; gap: 4px; }
.osg-social a { display: grid; place-items: center; width: 34px; height: 34px; color: inherit; border-radius: 50%; }
.osg-social a:hover { color: var(--osg-amber); text-decoration: none; }

/* ---------- Header ---------- */
.site-header { background: var(--osg-black); color: var(--osg-white); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid #1d1d1d; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.site-logo, .custom-logo-link { display: block; flex: none; }
.site-logo img, .custom-logo { height: 30px; width: auto; }
.site-nav { flex: 1; }
.site-nav .menu { display: flex; gap: 2px; justify-content: center; }
.site-nav a {
	display: block; padding: 22px 14px; font: 600 13px/1 var(--font-head);
	letter-spacing: .08em; text-transform: uppercase; color: var(--osg-white); position: relative;
}
.site-nav a:hover { text-decoration: none; color: var(--osg-amber); }
.site-nav .current-menu-item > a, .site-nav .current-cat > a, .site-nav .current-menu-ancestor > a { color: var(--osg-amber); }
.site-nav .current-menu-item > a::after, .site-nav .current-cat > a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 12px; height: 2px; background: var(--osg-amber);
}
.search-toggle, .nav-toggle { background: none; border: 0; color: inherit; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.search-toggle:hover, .nav-toggle:hover { background: #1f1f1f; color: var(--osg-amber); }
.nav-toggle { display: none; margin-left: -10px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

.search-panel { background: #141414; border-top: 1px solid #222; padding: 14px 0; }
.search-panel[hidden] { display: none; }
.search-form { display: flex; background: #fff; border-radius: var(--radius); overflow: hidden; border: 2px solid transparent; }
.search-form:focus-within { border-color: var(--osg-amber); }
.search-field { flex: 1; border: 0; padding: 14px 16px; font: 500 16px var(--font-body); background: transparent; color: #000; min-width: 0; }
.search-field:focus { outline: none; }
.search-submit { border: 0; background: var(--osg-amber); color: #000; width: 54px; display: grid; place-items: center; }

@media (max-width: 960px) {
	.nav-toggle { display: grid; }
	.site-logo { margin-inline: auto; }
	.header-inner { gap: 4px; }
	.site-nav {
		position: absolute; left: 0; right: 0; top: 100%; background: var(--osg-black);
		border-top: 1px solid #222; display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
	}
	.nav-open .site-nav { display: block; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav a { padding: 16px 20px; border-bottom: 1px solid #1c1c1c; font-size: 14px; }
	.site-nav .current-menu-item > a::after, .site-nav .current-cat > a::after { display: none; }
	.site-nav .current-menu-item > a, .site-nav .current-cat > a { box-shadow: inset 4px 0 0 var(--osg-amber); }
}
@media (max-width: 640px) {
	.topbar__date { font-size: 11px; }
	.site-logo img, .custom-logo { height: 26px; }
}

/* ---------- Ticker "Agora" ---------- */
.osg-ticker { background: #141414; color: var(--osg-white); border-bottom: 1px solid #222; }
.osg-ticker__inner { display: flex; align-items: center; gap: 14px; min-height: 42px; }
.osg-ticker__label {
	display: inline-flex; align-items: center; gap: 8px; background: var(--osg-amber); color: #000;
	font: 800 11px/1 var(--font-head); letter-spacing: .1em; padding: 7px 10px; border-radius: 2px; flex: none;
}
.osg-ticker__dot { width: 7px; height: 7px; border-radius: 50%; background: #000; animation: osg-pulse 1.4s infinite; }
@keyframes osg-pulse { 50% { opacity: .25; } }
.osg-ticker__list { position: relative; flex: 1; min-width: 0; height: 42px; overflow: hidden; }
.osg-ticker__list li { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; pointer-events: none; }
.osg-ticker__list li.is-active { opacity: 1; transform: none; pointer-events: auto; }
.osg-ticker__list a { display: flex; gap: 10px; align-items: baseline; min-width: 0; font: 500 14px var(--font-body); }
.osg-ticker__list a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.osg-ticker__list .osg-time { color: var(--osg-gray); font-size: 12px; flex: none; }
.js-off .osg-ticker__list li:first-child { opacity: 1; transform: none; }

/* ---------- Placeholder de imagem (marca) ---------- */
.osg-card__media { position: relative; overflow: hidden; background: #141414; aspect-ratio: 16 / 9; }
.osg-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.osg-card__img--empty {
	display: block;
	background: radial-gradient(circle at 70% 30%, #2a2a2a, #0b0b0b 70%) , #0b0b0b;
	position: relative;
}
.osg-card__img--empty::after {
	content: ""; position: absolute; inset: 0; background: url("../img/simbolo.png") center / 34% no-repeat; opacity: .16;
}
.osg-card:hover .osg-card__img { transform: scale(1.04); }

/* ---------- Cards ---------- */
.osg-card { position: relative; }
.osg-card__title { font: 700 17px/1.28 var(--font-head); letter-spacing: -.005em; }
.osg-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.osg-card:hover .osg-card__title a { text-decoration: underline; text-decoration-color: var(--osg-amber); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.osg-card__excerpt { margin: 8px 0 0; color: var(--osg-muted); font-size: 15px; line-height: 1.5; }
.osg-card__meta { margin-top: 8px; font-size: 12px; color: var(--osg-muted); }

/* card padrão (imagem em cima) */
.osg-card--card { background: var(--osg-card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--osg-line); display: flex; flex-direction: column; }
.osg-card--card .osg-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.osg-card--card .osg-card__excerpt, .osg-card--card .osg-card__meta { margin: 0; }
.osg-card--card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }

/* card em linha (miniatura à esquerda) */
.osg-card--row { display: grid; grid-template-columns: 148px 1fr; gap: 14px; align-items: start; }
.osg-card--row .osg-card__media { border-radius: var(--radius); aspect-ratio: 3 / 2; }
.osg-card--row .osg-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.osg-card--row .osg-card__title { font-size: 16px; }
.osg-card--row .osg-card__excerpt { display: none; margin: 0; }
.osg-card--row .osg-card__meta { margin: 0; }
@media (min-width: 720px) {
	.osg-stack .osg-card--row { grid-template-columns: 280px 1fr; gap: 20px; }
	.osg-stack .osg-card--row .osg-card__title { font-size: 21px; }
	.osg-stack .osg-card--row .osg-card__excerpt { display: block; }
}

/* compacto (só título) */
.osg-card--compact { padding: 12px 0; border-bottom: 1px solid var(--osg-line); }
.osg-card--compact .osg-card__title { font-size: 16px; }
.osg-card--compact .osg-card__meta { margin-top: 4px; }
.osg-list li:last-child .osg-card--compact { border-bottom: 0; }

/* ranqueado (mais lidas) */
.osg-ranked li { border-bottom: 1px solid var(--osg-line); }
.osg-ranked li:last-child { border-bottom: 0; }
.osg-card--ranked .osg-card__body { display: flex; gap: 14px; padding: 13px 0; align-items: flex-start; }
.osg-card__rank { font: 800 28px/1 var(--font-head); color: var(--osg-amber); min-width: 30px; -webkit-text-stroke: 0; }
.osg-card--ranked .osg-card__title { font-size: 15px; line-height: 1.35; }

/* overlay (destaques) */
.osg-card--overlay, .osg-card--overlay-lg { border-radius: var(--radius); overflow: hidden; background: #141414; color: #fff; min-height: 220px; }
.osg-card--overlay .osg-card__media, .osg-card--overlay-lg .osg-card__media { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
.osg-card--overlay .osg-card__media::after, .osg-card--overlay-lg .osg-card__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .55) 42%, rgba(0, 0, 0, 0) 78%);
}
.osg-card--overlay .osg-card__body, .osg-card--overlay-lg .osg-card__body {
	position: relative; z-index: 1; height: 100%; min-height: inherit; display: flex; flex-direction: column;
	justify-content: flex-end; align-items: flex-start; gap: 8px; padding: 18px;
}
.osg-card--overlay .osg-card__title { font-size: 18px; color: #fff; }
.osg-card--overlay-lg .osg-card__title { font-size: clamp(24px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -.01em; color: #fff; max-width: 22ch; }
.osg-card--overlay-lg .osg-card__excerpt, .osg-card--overlay .osg-card__excerpt { color: #d6d6d6; max-width: 56ch; margin: 0; }
.osg-card--overlay .osg-card__excerpt { display: none; }
.osg-card--overlay-lg .osg-card__meta, .osg-card--overlay .osg-card__meta { color: var(--osg-gray); margin: 0; }
.osg-card--overlay-lg .amber-line { margin: 4px 0 0; }
.osg-card--overlay-lg .osg-card__body { padding: 22px; }

/* ---------- Grades ---------- */
.osg-grid { display: grid; gap: 20px; }
.osg-grid--3, .osg-grid--4 { grid-template-columns: 1fr; }
@media (min-width: 600px) { .osg-grid--3, .osg-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .osg-grid--3 { grid-template-columns: repeat(3, 1fr); } .osg-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.osg-stack { display: grid; gap: 22px; }
.osg-stack--narrow { max-width: 860px; }

/* ---------- Home: blocos ---------- */
.osg-block { margin: 36px 0; }
.osg-block--destaques { background: var(--osg-black); margin: 0 0 40px; padding: 18px 0 30px; }
.osg-ticker + .osg-block--destaques { padding-top: 18px; }

.osg-destaques__grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.dest-item--1 { grid-column: 1 / -1; min-height: 340px; }
.osg-destaques--grade_5 .dest-item:not(.dest-item--1),
.osg-destaques--grade_3 .dest-item:not(.dest-item--1),
.osg-destaques--duplo .dest-item:not(.dest-item--1) { min-height: 190px; }
.osg-destaques--duplo .dest-item--1 { grid-column: auto; }
.osg-destaques--duplo .dest-item { min-height: 320px; }
@media (min-width: 960px) {
	.osg-destaques--grade_5 .osg-destaques__grid {
		grid-template-columns: 1.55fr 1fr 1fr; grid-template-rows: 1fr 1fr; height: 560px;
	}
	.osg-destaques--grade_5 .dest-item--1 { grid-column: 1; grid-row: 1 / 3; min-height: 0; }
	.osg-destaques--grade_3 .osg-destaques__grid { grid-template-columns: 1.7fr 1fr; grid-template-rows: 1fr 1fr; height: 520px; }
	.osg-destaques--grade_3 .dest-item--1 { grid-column: 1; grid-row: 1 / 3; min-height: 0; }
	.osg-destaques--duplo .osg-destaques__grid { grid-template-columns: 1fr 1fr; height: 460px; }
	.osg-destaques--duplo .dest-item { min-height: 0; }
	.osg-destaques--grade_5 .dest-item:not(.dest-item--1), .osg-destaques--grade_3 .dest-item:not(.dest-item--1) { min-height: 0; }
	.osg-destaques__grid .osg-card--overlay .osg-card__title { font-size: 19px; }
	.osg-destaques--duplo .osg-card--overlay .osg-card__title { font-size: 28px; }
	.osg-destaques--duplo .osg-card--overlay .osg-card__excerpt { display: block; }
}
@media (max-width: 520px) {
	.osg-destaques__grid { grid-template-columns: 1fr; }
	.dest-item--1 { min-height: 300px; }
	.osg-destaques--grade_5 .dest-item:not(.dest-item--1) { min-height: 170px; }
}

/* Últimas notícias */
.ultimas-layout.has-side { display: grid; gap: 36px; }
@media (min-width: 1024px) { .ultimas-layout.has-side { grid-template-columns: minmax(0, 1fr) 340px; } }
.ultimas-side { background: var(--osg-card); border: 1px solid var(--osg-line); border-radius: var(--radius); padding: 20px; align-self: start; }
.ultimas-side .section-title--sm { margin-top: 0; }

/* Editorias */
.ed-feature { display: grid; gap: 22px; }
@media (min-width: 820px) { .ed-feature { grid-template-columns: 1.15fr 1fr; } }
.ed-feature__list { display: grid; gap: 16px; align-content: start; }
.ed-feature__list .osg-card--row { grid-template-columns: 132px 1fr; padding-bottom: 16px; border-bottom: 1px solid var(--osg-line); }
.ed-feature__list .osg-card--row:last-child { border-bottom: 0; padding-bottom: 0; }
.ed-feature__main .osg-card__title { font-size: 24px; }

.home-halves { display: grid; gap: 40px; margin: 36px auto; }
@media (min-width: 900px) { .home-halves { grid-template-columns: 1fr 1fr; } }
.home-half .osg-block { margin: 0; }
.is-width-half .osg-grid--4 { grid-template-columns: repeat(2, 1fr); }
.ed-compact { display: grid; gap: 14px; }
.ed-compact .osg-list { background: var(--osg-card); border: 1px solid var(--osg-line); border-radius: var(--radius); padding: 2px 16px; }
.is-style-lista_compacta .osg-card--card { display: grid; }
@media (min-width: 520px) {
	.is-width-half .ed-compact .osg-card--card { grid-template-columns: 1fr; }
}

/* Mais lidas (bloco full) */
.osg-block--mais-lidas .osg-ranked { display: grid; gap: 0 36px; }
@media (min-width: 820px) { .osg-block--mais-lidas .osg-ranked { grid-template-columns: 1fr 1fr; } }

/* Publicidade */
.ad-slot { text-align: center; padding: 14px; background: #ececec; border-radius: var(--radius); }
.ad-slot__label { display: block; font: 600 10px var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--osg-muted); margin-bottom: 8px; }
.ad-slot__content img { margin-inline: auto; }

/* ---------- Arquivos ---------- */
.archive { padding: 36px 0 56px; }
.archive-header { margin-bottom: 30px; padding-bottom: 22px; border-bottom: 1px solid var(--osg-line); }
.archive-eyebrow { display: block; font: 700 12px var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--osg-amber-dark); margin-bottom: 6px; }
.archive-title { font: 800 clamp(28px, 4.2vw, 46px)/1.08 var(--font-head); letter-spacing: -.015em; }
.archive-desc { margin-top: 10px; color: var(--osg-muted); max-width: 62ch; }
.archive-search { margin-top: 18px; max-width: 560px; }
.archive-search .search-form { border: 1px solid var(--osg-line); }
.archive-grid .is-first { grid-column: 1 / -1; }
@media (min-width: 820px) {
	.archive-grid .is-first { display: grid; grid-template-columns: 1.4fr 1fr; }
	.archive-grid .is-first .osg-card__media { aspect-ratio: auto; height: 100%; min-height: 320px; }
	.archive-grid .is-first .osg-card__title { font-size: 28px; }
	.archive-grid .is-first .osg-card__body { padding: 24px; justify-content: center; }
}
.empty { color: var(--osg-muted); padding: 30px 0; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }

.pagination { margin-top: 36px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pagination .page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; background: var(--osg-card); border: 1px solid var(--osg-line); border-radius: var(--radius); font: 600 14px var(--font-head); }
.pagination .page-numbers:hover { text-decoration: none; border-color: var(--osg-amber); }
.pagination .page-numbers.current { background: var(--osg-black); color: var(--osg-amber); border-color: var(--osg-black); }

/* ---------- Matéria ---------- */
.single-layout { display: grid; gap: 40px; padding: 28px 0 40px; }
@media (min-width: 1040px) { .single-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; } }
.entry--single { min-width: 0; }
.breadcrumb { font-size: 13px; color: var(--osg-muted); margin-bottom: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.breadcrumb a:hover { color: #000; }
.entry-header .chip { margin-bottom: 14px; }
.entry-title { font: 800 clamp(28px, 4.4vw, 44px)/1.12 var(--font-head); letter-spacing: -.018em; }
.entry-lead { margin: 14px 0 0; font: 500 clamp(18px, 2vw, 21px)/1.5 var(--font-body); color: var(--osg-graphite); }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 18px 0 0; padding: 14px 0; border-top: 1px solid var(--osg-line); font-size: 13.5px; color: var(--osg-muted); }
.entry-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.entry-meta strong { color: var(--osg-ink); }
.entry-meta .avatar { border-radius: 50%; }
.entry-meta .osg-icon { color: var(--osg-amber-dark); }
.entry-share-top { margin-bottom: 18px; }
.entry-media { margin: 0 0 26px; }
.entry-media img { width: 100%; border-radius: var(--radius); }
.entry-media figcaption { font-size: 13px; color: var(--osg-muted); padding-top: 8px; }
.entry-media .credit { font-weight: 600; color: var(--osg-graphite); }

.entry-content { font-size: 18px; line-height: 1.78; color: #1d1d1d; overflow-wrap: break-word; }
.entry-content > * { margin-block: 0 1.25em; }
.entry-content h2 { font-size: 26px; margin: 1.6em 0 .6em; letter-spacing: -.01em; }
.entry-content h3 { font-size: 21px; margin: 1.4em 0 .5em; }
.entry-content a { color: #000; text-decoration: underline; text-decoration-color: var(--osg-amber); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry-content a:hover { background: rgba(245, 166, 35, .18); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--osg-amber); font: 600 21px/1.5 var(--font-head); color: var(--osg-graphite); }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption, .wp-element-caption { font-size: 13px; color: var(--osg-muted); }
.entry-content img { border-radius: var(--radius); }
.entry-content iframe { width: 100%; }
.entry-content .alignwide, .entry-content .alignfull { max-width: 100%; }
.entry-footer { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--osg-line); }
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; font-size: 14px; }
.entry-tags span { color: var(--osg-muted); }
.entry-tags a { background: #e9e9e9; padding: 4px 10px; border-radius: 999px; font-size: 13px; }
.entry-tags a:hover { background: var(--osg-amber); text-decoration: none; }
.page-single { padding: 40px 0 60px; }
.page-single .entry-header { margin-bottom: 24px; }
.page-links { margin-top: 20px; font-weight: 600; }

.sidebar { display: grid; gap: 28px; align-content: start; }
@media (min-width: 1040px) { .sidebar { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.sidebar .widget, .sidebar .osg-most-read { background: var(--osg-card); border: 1px solid var(--osg-line); border-radius: var(--radius); padding: 20px; }
.widget-title { font: 800 16px var(--font-head); text-transform: uppercase; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.widget-title::before { content: ""; width: 5px; height: 20px; background: var(--osg-amber); }
.widget ul li { padding: 8px 0; border-bottom: 1px solid var(--osg-line); }
.widget ul li:last-child { border-bottom: 0; }

.related { background: #ececec; padding: 36px 0 44px; margin-top: 20px; }

/* ---------- Compartilhar ---------- */
.osg-share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.osg-share__label { font: 700 12px var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--osg-muted); }
.osg-share__list { display: flex; flex-wrap: wrap; gap: 8px; }
.osg-share__btn {
	display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 0;
	background: #fff; color: var(--osg-ink); border: 1px solid var(--osg-line); font: 600 13px var(--font-body); cursor: pointer;
}
.osg-share__btn:hover { text-decoration: none; background: var(--osg-black); color: #fff; border-color: var(--osg-black); }
.osg-share__btn--whatsapp { background: #25d366; border-color: #25d366; color: #052e14; }
.osg-share__btn--whatsapp:hover { background: #1faa52; border-color: #1faa52; color: #fff; }
.osg-share__btn.is-done { background: var(--osg-amber); border-color: var(--osg-amber); color: #000; }
.osg-share--bar { display: none; }
.osg-share[hidden], .osg-share__native[hidden] { display: none; }
@media (max-width: 720px) {
	.entry-share-top { display: none; }
	.entry-footer .osg-share__btn span { display: none; }
	.entry-footer .osg-share__btn { padding: 0; width: 44px; height: 44px; justify-content: center; }
	.entry-footer .osg-share__btn--whatsapp span { display: inline; }
	.entry-footer .osg-share__btn--whatsapp { width: auto; padding: 0 16px; }
	.osg-share--bar {
		display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--osg-black);
		padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid #222; justify-content: center;
	}
	.osg-share--bar .osg-share__label { display: none; }
	.osg-share--bar .osg-share__list { flex-wrap: nowrap; justify-content: space-between; width: 100%; max-width: 480px; }
	.osg-share--bar .osg-share__btn { width: 46px; height: 42px; padding: 0; justify-content: center; background: #1a1a1a; color: #fff; border-color: #2b2b2b; }
	.osg-share--bar .osg-share__btn span { display: none; }
	.osg-share--bar .osg-share__btn--whatsapp { background: #25d366; color: #052e14; border-color: #25d366; }
	.osg-share--bar .osg-share__btn--mail { display: none; }
	body.single-post { padding-bottom: 66px; }
}

/* ---------- Rodapé ---------- */
.site-footer { background: var(--osg-black); color: var(--osg-gray); margin-top: 48px; }
.footer-grid { display: grid; gap: 34px; padding: 48px 0 36px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-logo img { height: 44px; width: auto; }
.footer-slogan { margin: 14px 0; color: #d6d6d6; font: 600 15px var(--font-head); }
.footer-brand .osg-social { margin-left: -8px; }
.footer-title { font: 700 12px var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--osg-amber); margin-bottom: 14px; }
.footer-col li { margin-bottom: 8px; }
.footer-col a:hover { color: #fff; }
.footer-contact p { margin: 12px 0 0; }
.footer-bottom { border-top: 1px solid #1c1c1c; font-size: 13px; }
.footer-bottom__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 18px 0; }

/* ---------- 404 ---------- */
.page-404 { text-align: center; padding: 60px 0 40px; }
.page-404__code { font: 800 clamp(70px, 16vw, 150px)/1 var(--font-head); color: var(--osg-amber); margin: 0; }
.page-404__title { font-size: clamp(22px, 3vw, 32px); margin: 6px 0 12px; }
.page-404__search { max-width: 520px; margin: 22px auto 44px; }
.page-404 .osg-grid { text-align: left; }

/* ---------- Comentários ---------- */
.comments { margin-top: 40px; }
.comment-list li { padding: 16px 0; border-bottom: 1px solid var(--osg-line); }
.comment-respond input[type=text], .comment-respond input[type=email], .comment-respond input[type=url], .comment-respond textarea { width: 100%; padding: 12px; border: 1px solid #cfcfcf; border-radius: var(--radius); font: inherit; }
.comment-respond .submit { background: var(--osg-amber); border: 0; padding: 13px 20px; font: 700 14px var(--font-head); border-radius: var(--radius); }

/* ---------- Contato (shortcode) ---------- */
.osg-contato { display: grid; gap: 12px; justify-items: start; }
.osg-contato p { margin: 0; }
.entry-content .osg-btn { text-decoration: none; }

/* ---------- Impressão / movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.topbar, .site-header, .site-footer, .osg-share, .sidebar, .related, .osg-ticker { display: none !important; }
	body { background: #fff; }
}


/* ==========================================================================
   v1.1 — Visual claro e profissional: corpo claro, cantos arredondados,
   painéis, banner do topo. Cabeçalho e rodapé mantêm a identidade escura.
   ========================================================================== */
:root {
	--radius-lg: 20px;
	--shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 6px 18px rgba(16, 24, 40, .07);
	--osg-line: #e3e6ec;
}

/* Topo: faixa de data clara + cabeçalho escuro com filete âmbar */
.topbar { background: #fff; color: #5b6270; border-bottom: 1px solid var(--osg-line); }
.osg-social a:hover { color: var(--osg-amber-dark); }
.site-header { border-bottom: 3px solid var(--osg-amber); }
.topbar .osg-social a { color: #5b6270; }

/* Faixa "Agora" clara */
.osg-ticker { background: #fff; color: var(--osg-ink); border-bottom: 1px solid var(--osg-line); }
.osg-ticker__label { border-radius: 999px; padding: 7px 13px; }
.osg-ticker__list .osg-time { color: var(--osg-muted); }

/* Banner do topo */
.top-banner { padding: 18px 0 0; }
.top-banner__inner { position: relative; }
.top-banner__label { display: block; text-align: right; font: 600 10px var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--osg-muted); margin-bottom: 6px; }
.top-banner a, .top-banner picture { display: block; }
.top-banner img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.top-banner__html { text-align: center; overflow: hidden; border-radius: var(--radius); }
.top-banner__placeholder {
	display: grid; place-items: center; text-align: center; aspect-ratio: 1240 / 300; padding: 16px;
	background: #fff; border: 2px dashed #c4cad6; border-radius: var(--radius); color: var(--osg-muted); font: 600 15px/1.5 var(--font-head);
}
.top-banner__placeholder small { font: 400 12px/1.5 var(--font-body); display: block; margin-top: 4px; }
.top-banner__placeholder a { text-decoration: underline; }
@media (max-width: 640px) { .top-banner__placeholder { aspect-ratio: 640 / 200; } .top-banner { padding-top: 12px; } }

/* Destaques sem faixa preta */
.osg-block--destaques { background: transparent; padding: 0; margin: 22px 0 38px; }
.osg-ticker + .osg-block--destaques { padding-top: 0; margin-top: 18px; }
.osg-destaques__grid { gap: 14px; }
.osg-card--overlay, .osg-card--overlay-lg { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.osg-card--overlay-lg .osg-card__title { max-width: 24ch; }

/* Cards arredondados (estilo portal moderno) */
.chip { border-radius: 6px; }
.osg-card--card {
	border-radius: var(--radius-lg); border: 1px solid var(--osg-line); box-shadow: var(--shadow);
	transition: box-shadow .2s, transform .2s;
}
.osg-card--card:hover { box-shadow: 0 10px 28px rgba(16, 24, 40, .13); transform: translateY(-2px); }
.osg-card--row .osg-card__media { border-radius: 12px; }
.osg-card--card .osg-card__body { padding: 16px 18px 18px; }

/* Painéis brancos para listas */
.osg-block--ultimas .ultimas-main,
.ed-feature__list,
.ed-compact .osg-list {
	background: #fff; border: 1px solid var(--osg-line); border-radius: var(--radius-lg);
	padding: 20px; box-shadow: var(--shadow);
}
.ed-compact .osg-list { padding: 4px 20px; }
.ultimas-side { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.osg-block--ultimas .osg-stack { gap: 0; }
.osg-block--ultimas .osg-stack .osg-card--row { padding: 18px 0; border-bottom: 1px solid var(--osg-line); }
.osg-block--ultimas .osg-stack .osg-card--row:first-child { padding-top: 0; }
.osg-block--ultimas .osg-stack .osg-card--row:last-child { padding-bottom: 0; border-bottom: 0; }
.ed-feature__list .osg-card--row { padding-bottom: 16px; }

/* Títulos de seção */
.section-head { border-bottom: 0; padding-bottom: 0; margin-bottom: 16px; }
.section-link { padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--osg-line); }
.section-link:hover { border-color: var(--osg-amber); text-decoration: none; }

/* Publicidade no meio da página */
.ad-slot { background: #fff; border: 1px solid var(--osg-line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.ad-slot__content img { border-radius: 12px; }

/* Matéria como folha branca */
.entry--single {
	background: #fff; border: 1px solid var(--osg-line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
	padding: clamp(18px, 3.2vw, 40px);
}
.entry-media img { border-radius: 16px; }
.sidebar .widget, .sidebar .osg-most-read { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.related { background: transparent; padding: 8px 0 24px; }
.page-single .entry { background: #fff; border: 1px solid var(--osg-line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(18px, 3.2vw, 40px); }

/* Formulários, paginação, botões */
.search-form { border-radius: 12px; }
.pagination .page-numbers { border-radius: 12px; }
.osg-btn { border-radius: 999px; }

/* Rodapé */
.site-footer { border-radius: 28px 28px 0 0; margin-top: 56px; }

@media (max-width: 640px) {
	.osg-block--ultimas .ultimas-main, .ed-feature__list { padding: 14px; }
	.osg-card--overlay, .osg-card--overlay-lg { border-radius: 16px; }
	.site-footer { border-radius: 20px 20px 0 0; }
}

/* Ajustes finos v1.1 */
.top-banner { padding-bottom: 18px; }
.ed-feature__list { align-self: start; }
.ed-feature__list .osg-card--row:last-child { border-bottom: 0; padding-bottom: 0; }
