/* ==========================================================================
   LabNews — Main Stylesheet v1.2
   Design: Modern Editorial / Clean Dynamic
   Fontes: sistema operacional (zero latência)
   Cores: customizáveis via Aparência → Personalizar → Cores do Tema
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variáveis (padrão vermelho editorial — sobrescritas pelo Customizer)
   -------------------------------------------------------------------------- */
:root {
	/* Identidade visual */
	--color-primary:      #c0392b;
	--color-primary-dk:   #a93226;
	--color-badge-bg:     #c0392b;
	--color-badge-text:   #ffffff;
	--color-header-bg:    #111111;
	--color-header-brd:   #c0392b;
	--color-nav-text:     #1a1a1a;
	--color-nav-active:   #c0392b;
	--color-nav-active-text: #ffffff;
	--color-section-line: #c0392b;
	--color-cat-text:     #c0392b;
	--color-footer-bg:    #111111;
	--color-footer-text:  #cccccc;

	/* Neutros estruturais */
	--color-text:        #1a1a1a;
	--color-text-muted:  #6b7280;
	--color-heading:     #0f0f0f;
	--color-bg:          #ffffff;
	--color-bg-alt:      #f8f8f8;
	--color-border:      #ebebeb;

	/* Tipografia — sistema, zero custo de rede */
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;

	/* Escala tipográfica */
	--text-xs:   11px;
	--text-sm:   13px;
	--text-base: 15px;
	--text-md:   16px;
	--text-lg:   18px;
	--text-xl:   21px;
	--text-2xl:  26px;
	--text-3xl:  32px;
	--text-4xl:  44px;

	/* Layout */
	--container-max: 1100px;
	--pad:           20px;
	--gap:           18px;
	--gap-lg:        36px;
	--section-gap:   70px;
	--color-s1-accent: #c0392b;
	--color-s2-accent: #008542;
	--color-s3-accent: #008542;
	--radius:        10px;
	--radius-lg:     14px;
	--radius-xl:     18px;
	--shadow-sm:     0 1px 4px rgba(0,0,0,.06);
	--shadow-md:     0 4px 16px rgba(0,0,0,.10);
	--shadow-lg:     0 8px 32px rgba(0,0,0,.14);
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { font-size: var(--text-base); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	font-family: var(--font);
	line-height: 1.6;
	color: var(--color-text);
	background: var(--color-bg-alt);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }

/* --------------------------------------------------------------------------
   3. Container / Layout base
   -------------------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--pad);
}

.site-main > .container {
	padding-top: 32px;
	padding-bottom: var(--gap-lg);
}

/* Background branco na área do conteúdo principal */
.site-main { background: var(--color-bg-alt); }

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0;
	margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
	white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   4. Topbar
   -------------------------------------------------------------------------- */
/* topbar removida — cabeçalho unificado */

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
	background: var(--color-header-bg);
	border-bottom: 3px solid var(--color-header-brd);
	position: sticky;
	top: 0;
	z-index: 200;
	box-shadow: var(--shadow-sm);
}

/* 3 zonas: marca | nav | ações */
.site-header__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 66px;
	gap: var(--gap);
}

/* Marca: hambúrguer + logo */
.site-header__brand {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

/* Logo */
.site-header__logo { flex-shrink: 0; }
.site-header__logo a { display: flex; align-items: center; }
.site-header__logo img { height: 38px; width: auto; }

.site-logo-text {
	font-size: 1.6rem;
	font-weight: 900;
	color: var(--color-heading);
	letter-spacing: -.04em;
	text-transform: uppercase;
}

/* Logo com ícone (fallback quando sem custom logo) */
.logo-link {
	display: flex;
	align-items: center;
	gap: 10px;
}
.logo-icon__badge {
	width: 36px;
	height: 36px;
	background: var(--color-primary);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--color-badge-text);
}
.logo-icon__name {
	font-size: 1.5rem;
	font-weight: 900;
	color: var(--color-heading);
	letter-spacing: -.04em;
	text-transform: uppercase;
}

/* Nav (centralizada) */
.site-nav { display: flex; justify-content: center; }

.site-nav__list {
	display: flex;
	align-items: center;
	gap: 2px;
	flex-wrap: nowrap;
}

.site-nav__list li { position: relative; }

.site-nav__list > li > a {
	display: block;
	padding: 8px 14px;
	font-size: var(--text-sm);
	font-weight: 700;
	color: var(--color-nav-text);
	border-radius: 8px;
	white-space: nowrap;
	transition: background .15s, color .15s;
}

.site-nav__list > li > a:hover,
.site-nav__list > li.current-menu-item > a,
.site-nav__list > li.current-menu-ancestor > a {
	background: var(--color-nav-active);
	color: var(--color-nav-active-text, #0f0f0f);
}

/* Submenus */
.site-nav__list .sub-menu {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	min-width: 200px;
	padding: 6px 0;
	z-index: 300;
}
.site-nav__list li:hover > .sub-menu,
.site-nav__list li:focus-within > .sub-menu { display: block; }
.site-nav__list .sub-menu a { display: block; padding: 9px 18px; font-size: var(--text-sm); color: var(--color-text); }
.site-nav__list .sub-menu a:hover { background: var(--color-bg-alt); color: var(--color-heading); }

/* Ações direita */
.site-header__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Hambúrguer — sempre visível */
.nav-toggle {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 8px;
	flex-shrink: 0;
	cursor: pointer;
}
.nav-toggle__bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--color-text);
	border-radius: 2px;
	transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Lupa (ícone de busca) */
.header-search-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: #fff;
	transition: background .15s;
}
.header-search-toggle:hover { background: rgba(255,255,255,.12); }

/* Painel de busca expansível */
.header-search { border-top: 1px solid rgba(255,255,255,.08); padding: 14px 0; background: var(--color-bg); box-shadow: var(--shadow-sm); }
.header-search .search-form { max-width: 560px; margin: 0 auto; }

/* Cabeçalho escuro — elementos brancos */
.site-header .nav-toggle__bar { background: #fff; }
.site-header .logo-icon__name { color: #fff; }
.site-header .site-nav__list > li > a { color: rgba(255,255,255,.85); }
.site-header .site-nav__list > li > a:hover { background: rgba(255,255,255,.1); color: #fff; }
.site-header .site-nav__list > li.current-menu-item > a,
.site-header .site-nav__list > li.current-menu-ancestor > a { background: var(--color-nav-active); color: #fff; }

/* Botão Contribua */
.btn-contribua {
	display: inline-flex;
	align-items: center;
	background: var(--color-primary);
	color: #fff;
	padding: 8px 18px;
	border-radius: 8px;
	font-size: var(--text-sm);
	font-weight: 700;
	white-space: nowrap;
	transition: background .15s;
}
.btn-contribua:hover { background: var(--color-primary-dk); color: #fff; }

/* --------------------------------------------------------------------------
   5. Barra de categorias
   -------------------------------------------------------------------------- */
.cat-bar {
	background: var(--color-bg);
	border-bottom: 1px solid var(--color-border);
	overflow-x: auto;
	scrollbar-width: none;
}
.cat-bar::-webkit-scrollbar { display: none; }

.cat-bar__list {
	display: flex;
	align-items: center;
	gap: 2px;
	padding: 7px 0;
	white-space: nowrap;
}

.cat-bar__link {
	display: inline-block;
	padding: 5px 14px;
	font-size: var(--text-sm);
	font-weight: 600;
	color: var(--color-text-muted);
	border-radius: 20px;
	transition: color .15s, background .15s;
}
.cat-bar__link:hover { color: var(--color-heading); background: var(--color-bg-alt); }
.cat-bar__link.is-active {
	background: var(--color-primary);
	color: var(--color-badge-text);
	font-weight: 700;
}

/* --------------------------------------------------------------------------
   6. Badges
   -------------------------------------------------------------------------- */
.badge {
	display: inline-block;
	padding: 3px 10px;
	font-size: var(--text-xs);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .07em;
	border-radius: 6px;
	background: var(--color-badge-bg);
	color: var(--color-badge-text);
	line-height: 1.6;
}

/* --------------------------------------------------------------------------
   7. Layout homepage (70 / 30)
   -------------------------------------------------------------------------- */
.home-layout {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: var(--gap-lg);
	align-items: start;
}

.home-main { min-width: 0; }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero-section { margin: var(--gap) 0 var(--gap-lg); }

.hero-grid {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 28px;
	align-items: stretch;
}

/* Destaque principal (esquerda) */
.hero-featured {
	position: relative;
	display: block;
	border-radius: 24px;
	overflow: hidden;
	height: 365px;
	background: #1a1a1a;
}
.hero-featured__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
}
.hero-featured:hover .hero-featured__img { transform: scale(1.03); }

.hero-featured__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,0) 55%);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 32px;
	color: #fff;
}

.hero-featured__badge {
	display: inline-block;
	padding: 5px 18px;
	background: var(--color-primary);
	color: var(--color-badge-text);
	font-size: var(--text-xs);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .08em;
	border-radius: 99px;
	margin-bottom: 14px;
	align-self: flex-start;
}

.hero-featured__meta {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: var(--text-xs);
	color: rgba(255,255,255,.8);
	margin-bottom: 10px;
}

.hero-featured__title {
	font-size: var(--text-2xl);
	font-weight: 800;
	line-height: 1.2;
	color: #fff;
	letter-spacing: -.02em;
}

/* Sidebar do hero (direita) */
.hero-sidebar {
	display: flex;
	flex-direction: column;
}

/* Tabs */
.news-tabs {
	display: flex;
	border-bottom: 1px solid var(--color-border);
	margin-bottom: 12px;
}
.news-tab {
	flex: 1;
	padding: 0 4px 12px;
	font-size: var(--text-sm);
	font-weight: 700;
	color: var(--color-text-muted);
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	cursor: pointer;
	transition: color .15s, border-color .15s;
	margin-bottom: -1px;
	text-align: left;
}
.news-tab.is-active {
	color: var(--color-heading);
	border-bottom-color: var(--color-primary);
}
.news-tab:hover { color: var(--color-heading); }

/* Lista de notícias */
.news-list {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.news-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px;
	border-radius: 16px;
	transition: background .15s;
	color: inherit;
}
.news-item:hover { background: var(--color-bg-alt); }
.news-item.is-active { background: var(--color-primary); }

.news-item__img {
	flex-shrink: 0;
	width: 88px;
	height: 88px;
	border-radius: 12px;
	object-fit: cover;
}
.news-item__body {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}
.news-item__meta {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: var(--color-text-muted);
}
.news-item.is-active .news-item__meta { color: rgba(0,0,0,.55); }
.news-item__title {
	font-size: var(--text-sm);
	font-weight: 700;
	line-height: 1.3;
	color: var(--color-heading);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.news-item.is-active .news-item__title { color: #000; }

.news-empty {
	padding: 24px 10px;
	font-size: var(--text-sm);
	color: var(--color-text-muted);
	text-align: center;
}

/* --------------------------------------------------------------------------
   9. Seções de conteúdo
   -------------------------------------------------------------------------- */
.home-section { margin-bottom: var(--gap-lg); }

.section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: var(--gap);
	gap: 12px;
}

.section-title {
	font-size: var(--text-lg);
	font-weight: 900;
	color: var(--color-heading);
	letter-spacing: -.02em;
	display: flex;
	align-items: center;
	gap: 10px;
}
/* Acento colorido à esquerda */
.section-title::before {
	content: '';
	display: block;
	width: 4px;
	height: 1.1em;
	background: var(--color-section-line);
	border-radius: 6px;
	flex-shrink: 0;
}
.section-title a { color: inherit; }
.section-title a:hover { color: var(--color-primary); }

/* Ações à direita da seção */
.section-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.section-more {
	font-size: var(--text-sm);
	font-weight: 700;
	color: var(--color-text-muted);
	border: 1px solid var(--color-border);
	border-radius: 20px;
	padding: 4px 14px;
	transition: background .15s, color .15s, border-color .15s;
}
.section-more:hover {
	background: var(--color-primary);
	color: var(--color-badge-text);
	border-color: var(--color-primary);
}

/* Setas circulares de navegação */
.section-nav { display: flex; gap: 6px; }

.section-nav__btn {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid var(--color-border);
	background: var(--color-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	color: var(--color-text-muted);
	line-height: 1;
	transition: background .15s, color .15s, border-color .15s;
}
.section-nav__btn:hover {
	background: var(--color-primary);
	color: var(--color-badge-text);
	border-color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   10. Grid de cards
   -------------------------------------------------------------------------- */
.post-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--gap);
}

/* Card */
.post-card {
	display: flex;
	flex-direction: column;
	background: var(--color-bg);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: box-shadow .2s, transform .2s;
}
.post-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-3px);
}

.post-card__image-link { display: block; overflow: hidden; flex-shrink: 0; }
.post-card__image {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform .35s ease;
}
.post-card:hover .post-card__image { transform: scale(1.06); }

.post-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 13px 15px 15px;
	gap: 6px;
}

.post-card__cat {
	font-size: var(--text-xs);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--color-cat-text);
}

.post-card__title {
	font-size: var(--text-sm);
	font-weight: 700;
	line-height: 1.35;
	color: var(--color-heading);
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.post-card__title a { color: inherit; }
.post-card__title a:hover { color: var(--color-primary); }

.post-card__excerpt {
	font-size: var(--text-xs);
	color: var(--color-text-muted);
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-card__date {
	font-size: var(--text-xs);
	color: var(--color-text-muted);
	margin-top: 4px;
	font-weight: 500;
}

/* --------------------------------------------------------------------------
   11. Sidebar homepage (tabs Recentes / Mais Lidas)
   -------------------------------------------------------------------------- */
.home-sidebar {}

/* Cards secundários no topo da sidebar (ao lado do hero) */
.sidebar-top {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 16px;
}

.sidebar-top-card {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 10px;
	background: var(--color-bg);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	text-decoration: none;
	color: inherit;
	transition: box-shadow .2s, transform .15s;
	align-items: stretch;
}
.sidebar-top-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.sidebar-top-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sidebar-top-card__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	padding: 10px 12px 10px 0;
}

.sidebar-top-card__cat {
	font-size: var(--text-xs);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--color-primary);
}

.sidebar-top-card__title {
	font-size: var(--text-sm);
	font-weight: 700;
	line-height: 1.3;
	color: var(--color-heading);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sidebar-top-card__date {
	font-size: var(--text-xs);
	color: var(--color-text-muted);
	margin-top: 2px;
}

.tabs-widget {
	background: var(--color-bg);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}

.tabs-widget__header {
	display: flex;
	border-bottom: 2px solid var(--color-border);
}

.tab-btn {
	flex: 1;
	padding: 13px 10px;
	font-size: var(--text-sm);
	font-weight: 700;
	color: var(--color-text-muted);
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	cursor: pointer;
	transition: color .15s, border-color .15s;
	text-align: center;
}
.tab-btn:hover { color: var(--color-heading); }
.tab-btn.is-active {
	color: var(--color-heading);
	border-bottom-color: var(--color-primary);
}

.tab-panel { padding: 4px 0; }

/* Lista de posts na sidebar */
.sidebar-list { display: flex; flex-direction: column; }

.sidebar-post {
	display: grid;
	grid-template-columns: 22px 72px 1fr;
	gap: 10px;
	align-items: center;
	padding: 10px 14px;
	border-bottom: 1px solid var(--color-border);
	transition: background .15s;
}
.sidebar-post:last-child { border-bottom: none; }
.sidebar-post:hover { background: var(--color-bg-alt); }

.sidebar-post__num {
	font-size: var(--text-sm);
	font-weight: 900;
	color: var(--color-primary);
	text-align: center;
	line-height: 1;
}

.sidebar-post__img-link { display: block; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.sidebar-post__img-link img { width: 72px; height: 54px; object-fit: cover; display: block; }

.sidebar-post__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.sidebar-post__cat {
	font-size: var(--text-xs);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--color-cat-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sidebar-post__title {
	font-size: var(--text-sm);
	font-weight: 700;
	line-height: 1.3;
	color: var(--color-heading);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.sidebar-post__title a { color: inherit; }
.sidebar-post__title a:hover { color: var(--color-primary); }

.sidebar-post__time {
	font-size: var(--text-xs);
	color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   12. Anúncios (alturas reservadas → CLS = 0)
   -------------------------------------------------------------------------- */
.ad-bar { padding: 12px 0; text-align: center; }
.ad-slot { width: 100%; text-align: center; overflow: hidden; }
.ad-slot--after_header  { min-height: 90px; }
.ad-slot--in_content_1,
.ad-slot--in_content_2  { min-height: 280px; margin: var(--gap) 0; }
.ad-slot--after_content { min-height: 250px; margin-top: var(--gap); }
.ad-slot--sidebar       { min-height: 250px; }
.ad-slot--home_middle   { min-height: 90px; }

/* --------------------------------------------------------------------------
   13. Single post
   -------------------------------------------------------------------------- */
.article-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: var(--gap-lg);
	align-items: start;
	margin-top: var(--gap);
}

.article {
	background: var(--color-bg);
	border-radius: var(--radius-lg);
	padding: 28px 32px 32px;
	box-shadow: var(--shadow-sm);
}

/* Breadcrumb */
.breadcrumb {
	font-size: var(--text-sm);
	color: var(--color-text-muted);
	margin-bottom: 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb__sep { color: var(--color-border); }

/* Header do artigo */
.article-header { margin-bottom: 20px; }

.article-title {
	font-size: var(--text-3xl);
	font-weight: 900;
	line-height: 1.13;
	color: var(--color-heading);
	letter-spacing: -.03em;
	margin: 12px 0 14px;
}

.article-lead {
	font-size: var(--text-lg);
	line-height: 1.6;
	color: var(--color-text-muted);
	font-weight: 400;
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--color-border);
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	font-size: var(--text-sm);
	color: var(--color-text-muted);
	padding: 12px 0;
	border-top: 1px solid var(--color-border);
}
.article-meta__author strong { color: var(--color-text); font-weight: 700; }
.article-meta__reading::before { content: '·'; margin-right: 6px; }

/* Imagem */
.article-thumb { margin-bottom: var(--gap); border-radius: var(--radius-lg); overflow: hidden; }
.article-thumb img { width: 100%; max-height: 500px; object-fit: cover; }
.article-thumb__caption {
	font-size: var(--text-xs);
	color: var(--color-text-muted);
	padding: 8px 12px;
	background: var(--color-bg-alt);
	font-style: italic;
}

/* Conteúdo */
.article-content {
	font-size: var(--text-md);
	line-height: 1.85;
	color: var(--color-text);
}
.article-content p  { margin-bottom: 1.3em; }
.article-content h2 { font-size: var(--text-2xl); font-weight: 800; line-height: 1.15; margin: 1.8em 0 .6em; color: var(--color-heading); letter-spacing: -.02em; }
.article-content h3 { font-size: var(--text-xl);  font-weight: 700; margin: 1.5em 0 .5em; color: var(--color-heading); }
.article-content h4 { font-size: var(--text-lg);  font-weight: 700; margin: 1.3em 0 .4em; color: var(--color-heading); }
.article-content ul  { list-style: disc;    padding-left: 1.5em; margin-bottom: 1.3em; }
.article-content ol  { list-style: decimal; padding-left: 1.5em; margin-bottom: 1.3em; }
.article-content li  { margin-bottom: .5em; }
.article-content a   { color: var(--color-heading); text-decoration: underline; text-underline-offset: 3px; }
.article-content a:hover { color: var(--color-primary); }
.article-content strong { font-weight: 700; color: var(--color-heading); }
.article-content img { border-radius: var(--radius); margin: 1em 0; }
.article-content blockquote {
	border-left: 4px solid var(--color-primary);
	margin: 1.6em 0;
	padding: 14px 20px;
	background: var(--color-bg-alt);
	border-radius: 0 var(--radius) var(--radius) 0;
	font-style: italic;
	color: var(--color-text-muted);
}
.article-content figure { margin: 1.5em 0; }
.article-content figcaption { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: 6px; font-style: italic; }

/* Tags */
.article-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	align-items: center;
	margin-top: var(--gap);
	padding-top: var(--gap);
	border-top: 1px solid var(--color-border);
}
.article-tags__label { font-size: var(--text-sm); font-weight: 700; color: var(--color-text-muted); }
.article-tags__item {
	font-size: var(--text-sm);
	background: var(--color-bg-alt);
	border: 1px solid var(--color-border);
	border-radius: 20px;
	padding: 4px 12px;
	color: var(--color-text-muted);
	transition: background .15s, color .15s, border-color .15s;
}
.article-tags__item:hover {
	background: var(--color-primary);
	color: var(--color-badge-text);
	border-color: var(--color-primary);
}

/* Compartilhamento */
.article-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: var(--gap); }
.article-share__label { font-size: var(--text-sm); font-weight: 700; color: var(--color-text-muted); }
.article-share__btn {
	display: inline-block;
	padding: 7px 16px;
	border-radius: var(--radius);
	font-size: var(--text-sm);
	font-weight: 700;
	color: #fff;
	transition: opacity .15s;
}
.article-share__btn:hover { opacity: .85; }
.article-share__btn--whatsapp { background: #25d366; }
.article-share__btn--facebook { background: #1877f2; }
.article-share__btn--twitter  { background: #000; }

/* Sidebar artigo */
.article-sidebar { position: sticky; top: 80px; }

/* Posts relacionados */
.related-posts {
	padding: var(--gap-lg) 0;
	margin-top: var(--gap-lg);
	border-top: 3px solid var(--color-primary);
	background: var(--color-bg-alt);
}
.related-posts .post-grid { grid-template-columns: repeat(4, 1fr); }

/* --------------------------------------------------------------------------
   14. Arquivo (categoria, busca)
   -------------------------------------------------------------------------- */
.archive-header {
	background: var(--color-bg);
	border-radius: var(--radius-lg);
	padding: var(--gap) var(--gap-lg);
	margin-bottom: var(--gap);
	box-shadow: var(--shadow-sm);
}

.archive-title {
	font-size: var(--text-2xl);
	font-weight: 900;
	color: var(--color-heading);
	letter-spacing: -.02em;
	display: flex;
	align-items: center;
	gap: 12px;
}
.archive-title::before {
	content: '';
	display: block;
	width: 5px;
	height: 1em;
	background: var(--color-primary);
	border-radius: 3px;
	flex-shrink: 0;
}

.archive-desc  { color: var(--color-text-muted); margin-top: 6px; font-size: var(--text-md); }
.archive-count { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: 4px; }

.archive-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: var(--gap-lg);
	align-items: start;
}
.archive-sidebar { position: sticky; top: 80px; }
.no-posts { color: var(--color-text-muted); padding: var(--gap) 0; }

/* --------------------------------------------------------------------------
   15. Paginação
   -------------------------------------------------------------------------- */
.pagination { margin-top: var(--gap-lg); }
.pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
}
.pagination .page-numbers li a,
.pagination .page-numbers li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border-radius: var(--radius);
	font-size: var(--text-sm);
	font-weight: 700;
	border: 1px solid var(--color-border);
	color: var(--color-text);
	background: var(--color-bg);
	transition: background .15s, color .15s, border-color .15s;
}
.pagination .page-numbers li span.current,
.pagination .page-numbers li a:hover {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: var(--color-badge-text);
}

/* --------------------------------------------------------------------------
   16. Widgets
   -------------------------------------------------------------------------- */
.widget {
	background: var(--color-bg);
	border-radius: var(--radius-lg);
	padding: 18px;
	margin-bottom: var(--gap);
	box-shadow: var(--shadow-sm);
}
.widget-title {
	font-size: var(--text-base);
	font-weight: 800;
	color: var(--color-heading);
	padding-bottom: 10px;
	margin-bottom: 14px;
	border-bottom: 3px solid var(--color-primary);
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer { margin-top: var(--gap-lg); background: var(--color-footer-bg); }

.site-footer__inner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: var(--gap);
	padding: var(--gap-lg) 0;
}

.site-footer__name {
	font-size: 1.3rem;
	font-weight: 900;
	color: #fff;
	letter-spacing: -.03em;
}
.site-footer__desc { font-size: var(--text-sm); color: #777; margin-top: 8px; }

.site-footer__nav-list { display: flex; flex-wrap: wrap; gap: 2px; justify-content: flex-end; }
.site-footer__nav-list a { font-size: var(--text-sm); color: #999; padding: 5px 10px; border-radius: 6px; }
.site-footer__nav-list a:hover { color: #fff; }

.site-footer__bottom {
	border-top: 1px solid rgba(255,255,255,.07);
	padding: 14px 0;
	text-align: center;
	font-size: var(--text-xs);
	color: #555;
}

/* --------------------------------------------------------------------------
   18. Busca
   -------------------------------------------------------------------------- */
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] {
	flex: 1;
	padding: 10px 16px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	font-size: var(--text-base);
	font-family: var(--font);
	outline: none;
	background: var(--color-bg);
}
.search-form input[type="search"]:focus {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(255,235,0,.2);
}
.search-form button {
	padding: 10px 20px;
	background: var(--color-primary);
	color: var(--color-badge-text);
	border: none;
	border-radius: var(--radius);
	font-size: var(--text-base);
	font-family: var(--font);
	font-weight: 700;
	transition: background .15s;
}
.search-form button:hover { background: var(--color-primary-dk); }

/* --------------------------------------------------------------------------
   19. 404 / Page / Comments
   -------------------------------------------------------------------------- */
.page-content { background: var(--color-bg); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.page-title { font-size: var(--text-2xl); font-weight: 900; color: var(--color-heading); margin-bottom: var(--gap); }

.error-page { text-align: center; padding: 60px 0; }
.error-page__code    { font-size: 100px; font-weight: 900; color: var(--color-border); line-height: 1; }
.error-page__title   { font-size: var(--text-2xl); font-weight: 800; margin: 12px 0; }
.error-page__message { color: var(--color-text-muted); margin-bottom: var(--gap); }
.error-page__search  { max-width: 420px; margin: var(--gap) auto 0; }

.comments-area { margin-top: var(--gap-lg); padding-top: var(--gap); border-top: 2px solid var(--color-border); }
.comments-title { font-size: var(--text-xl); font-weight: 800; margin-bottom: var(--gap); }

/* --------------------------------------------------------------------------
   19b. Featured Story
   -------------------------------------------------------------------------- */
.featured-story {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	align-items: center;
	margin-bottom: var(--section-gap);
}

.featured-story__image { width: 100%; }

.featured-story__img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 10px;
	display: block;
	transition: transform .4s ease;
}
.featured-story__image a:hover .featured-story__img { transform: scale(1.02); }

.featured-story__content { display: flex; flex-direction: column; }

.featured-story__byline {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: var(--text-sm);
	color: var(--color-text-muted);
	margin-bottom: 18px;
}

.featured-story__avatar {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--color-bg-alt);
	flex-shrink: 0;
}

.featured-story__author {
	font-weight: 600;
	color: var(--color-heading);
}

.featured-story__title {
	font-size: var(--text-4xl);
	font-weight: 900;
	line-height: 1.12;
	color: var(--color-heading);
	letter-spacing: -.03em;
	margin-bottom: 18px;
	font-family: Georgia, 'Times New Roman', serif;
}
.featured-story__title a { color: inherit; }
.featured-story__title a:hover { opacity: .8; }

.featured-story__excerpt {
	font-size: var(--text-lg);
	color: var(--color-text-muted);
	line-height: 1.7;
	margin-bottom: 20px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.featured-story__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: var(--text-xs);
	font-weight: 700;
}

.featured-story__cat {
	color: var(--color-s1-accent);
	text-transform: uppercase;
	letter-spacing: .07em;
	font-weight: 700;
}

.featured-story__readtime { color: var(--color-text-muted); font-weight: 500; }

/* --------------------------------------------------------------------------
   19c. Latest News
   -------------------------------------------------------------------------- */
.latest-news { margin-bottom: var(--section-gap); }

.latest-news__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 32px;
}

.latest-news__heading {
	font-size: var(--text-2xl);
	font-weight: 700;
	color: var(--color-heading);
	letter-spacing: -.02em;
	font-family: Georgia, 'Times New Roman', serif;
	display: flex;
	align-items: center;
	gap: 16px;
}
.latest-news__heading::before {
	content: '';
	display: block;
	width: 6px;
	height: 1em;
	background: var(--color-s1-accent);
	border-radius: 99px;
	flex-shrink: 0;
}

.latest-news__link {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: var(--text-sm);
	font-weight: 700;
	color: var(--color-s1-accent);
	transition: opacity .15s;
}
.latest-news__link:hover { opacity: .75; }

.latest-news__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--gap);
}

/* ln-card */
.ln-card { display: flex; flex-direction: column; }

.ln-card__img-wrap {
	display: block;
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	margin-bottom: 14px;
	flex-shrink: 0;
	background: var(--color-bg-alt);
}
.ln-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}
.ln-card:hover .ln-card__img { transform: scale(1.05); }

.ln-card__source {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 10px;
	color: var(--color-text-muted);
	margin-bottom: 8px;
}
.ln-card__source img {
	border-radius: 50%;
	width: 16px;
	height: 16px;
	object-fit: cover;
	flex-shrink: 0;
}
.ln-card__source-name {
	font-weight: 700;
	color: var(--color-heading);
}

.ln-card__title {
	font-size: var(--text-lg);
	font-weight: 700;
	line-height: 1.3;
	color: var(--color-heading);
	margin-bottom: 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-family: Georgia, 'Times New Roman', serif;
}
.ln-card__title a { color: inherit; }
.ln-card__title a:hover { opacity: .75; }

.ln-card__excerpt {
	font-size: var(--text-sm);
	color: var(--color-text-muted);
	line-height: 1.55;
	margin-bottom: 12px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
}

.ln-card__meta {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 10px;
	font-weight: 700;
}
.ln-card__cat { color: var(--color-s1-accent); }
.ln-card__readtime { color: var(--color-text-muted); font-weight: 500; }
.ln-card__meta-sep { color: var(--color-text-muted); }
.ln-card__timeago { display: none; }

/* --------------------------------------------------------------------------
   19d. Escolha do Editor
   -------------------------------------------------------------------------- */
.ep-section { margin-bottom: var(--section-gap); }

.ep-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 32px;
}
.ep-header__title {
	font-size: var(--text-2xl);
	font-weight: 700;
	color: var(--color-heading);
	font-family: Georgia, 'Times New Roman', serif;
	letter-spacing: -.02em;
	display: flex;
	align-items: center;
	gap: 16px;
}
.ep-header__title::before {
	content: '';
	display: block;
	width: 6px;
	height: 1em;
	background: var(--color-s2-accent);
	border-radius: 99px;
	flex-shrink: 0;
}
.ep-header__link {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: var(--text-sm);
	font-weight: 600;
	color: var(--color-s2-accent);
	transition: opacity .15s;
}
.ep-header__link:hover { opacity: .75; }

/* Par de dois destaques — card style */
.ep-feat-pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	margin-bottom: 40px;
}

.ep-featured { display: flex; flex-direction: column; }

.ep-featured__img-link {
	display: block;
	aspect-ratio: 16 / 9;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 20px;
	flex-shrink: 0;
}
.ep-featured__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}
.ep-featured__img-link:hover .ep-featured__img { transform: scale(1.03); }

.ep-featured__body { display: flex; flex-direction: column; flex: 1; }

.ep-featured__source {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}
.ep-featured__source-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	border: 1px solid var(--color-border);
}
.ep-featured__source-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.ep-featured__source-name {
	font-size: var(--text-sm);
	font-weight: 700;
	color: var(--color-heading);
}
.ep-featured__source time {
	font-size: var(--text-xs);
	color: var(--color-text-muted);
	font-weight: 400;
}

.ep-featured__title {
	font-size: var(--text-3xl);
	font-weight: 700;
	line-height: 1.2;
	color: var(--color-heading);
	font-family: Georgia, 'Times New Roman', serif;
	margin-bottom: 12px;
	letter-spacing: -.02em;
}
.ep-featured__title a { color: inherit; }
.ep-featured__title a:hover { opacity: .8; }

.ep-featured__excerpt {
	font-size: var(--text-base);
	color: var(--color-text-muted);
	line-height: 1.6;
	margin-bottom: 16px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ep-featured__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: var(--text-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .07em;
	margin-top: auto;
}
.ep-featured__cat { color: var(--color-s2-accent); }
.ep-featured__meta-sep { color: var(--color-border); }
.ep-featured__readtime { color: var(--color-text-muted); font-weight: 500; }
.ep-featured__meta-time { display: none; }

/* Grid de cards */
.ep-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--gap);
}
.ep-card { display: flex; flex-direction: column; }
.ep-card__body { display: flex; flex-direction: column; flex: 1; }

.ep-card__img-wrap {
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 16px;
	flex-shrink: 0;
	background: var(--color-bg-alt);
}
.ep-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}
.ep-card:hover .ep-card__img { transform: scale(1.05); }

.ep-card__source {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 10px;
	color: var(--color-text-muted);
	margin-bottom: 8px;
}
.ep-card__source-avatar {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}
.ep-card__source-name {
	font-weight: 600;
	color: var(--color-text-muted);
}

.ep-card__title {
	font-size: var(--text-lg);
	font-weight: 700;
	line-height: 1.3;
	color: var(--color-heading);
	font-family: Georgia, 'Times New Roman', serif;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
	margin-bottom: 12px;
}
.ep-card__title a { color: inherit; }
.ep-card__title a:hover { opacity: .75; }

.ep-card__meta {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.ep-card__cat { color: var(--color-s2-accent); }
.ep-card__readtime { color: var(--color-text-muted); font-weight: 500; }
.ep-card__meta-time { display: none; }

/* --------------------------------------------------------------------------
   19e. Category Section
   -------------------------------------------------------------------------- */
.cat-section { margin-bottom: var(--section-gap); }

.cat-section__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 32px;
}
.cat-section__bar {
	display: block;
	width: 6px;
	height: 1em;
	background: var(--color-s3-accent);
	border-radius: 99px;
	flex-shrink: 0;
}
.cat-section__title {
	font-size: var(--text-2xl);
	font-weight: 700;
	color: var(--color-heading);
	font-family: Georgia, 'Times New Roman', serif;
	letter-spacing: -.02em;
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 1;
}
.cat-section__title a { color: inherit; }
.cat-section__title a:hover { opacity: .8; }
.cat-section__link {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: var(--text-sm);
	font-weight: 600;
	color: var(--color-s3-accent);
	transition: opacity .15s;
	flex-shrink: 0;
}
.cat-section__link:hover { opacity: .75; }

/* Grid: hero (2fr) + lista lateral (1fr) */
.cat-section__grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: var(--gap);
	align-items: stretch;
}

/* Hero com overlay — coluna esquerda */
.cs-hero-card {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	background: #111;
	cursor: pointer;
}
.cs-hero-card__img-link { display: block; }
.cs-hero-card__img {
	width: 100%;
	height: 480px;
	object-fit: cover;
	display: block;
	transition: transform .7s ease;
}
.cs-hero-card:hover .cs-hero-card__img { transform: scale(1.05); }
.cs-hero-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.4) 50%, rgba(0,0,0,0) 100%);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 32px;
	color: #fff;
}
.cs-hero-card__badge {
	display: inline-block;
	align-self: flex-start;
	background: #fff;
	color: var(--color-heading);
	font-size: var(--text-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	padding: 4px 14px;
	border-radius: 4px;
	margin-bottom: 16px;
}
.cs-hero-card__title {
	font-size: var(--text-3xl);
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
	font-family: Georgia, 'Times New Roman', serif;
	letter-spacing: -.02em;
	margin-bottom: 12px;
}
.cs-hero-card__title a { color: #fff; }
.cs-hero-card__title a:hover { opacity: .85; }
.cs-hero-card__excerpt {
	font-size: var(--text-base);
	color: rgba(255,255,255,.85);
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Lista lateral — coluna direita */
.cs-side-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.cs-side-card {
	display: flex;
	gap: 16px;
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 12px;
	transition: background .15s;
	cursor: pointer;
}
.cs-side-card:hover { background: var(--color-bg-alt); }
.cs-side-card__img-wrap {
	flex: 0 0 96px;
	height: 96px;
	border-radius: var(--radius);
	overflow: hidden;
	display: block;
	flex-shrink: 0;
}
.cs-side-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.cs-side-card:hover .cs-side-card__img { transform: scale(1.10); }
.cs-side-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}
.cs-side-card__cat {
	font-size: var(--text-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--color-s3-accent);
	display: block;
	margin-bottom: 6px;
}
.cs-side-card__title {
	font-size: var(--text-sm);
	font-weight: 700;
	line-height: 1.3;
	color: var(--color-heading);
	font-family: Georgia, 'Times New Roman', serif;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 6px;
}
.cs-side-card__title a { color: inherit; }
.cs-side-card__title a:hover { opacity: .75; }
.cs-side-card__time {
	font-size: 10px;
	font-weight: 500;
	color: var(--color-text-muted);
	display: block;
}

/* --------------------------------------------------------------------------
   Ad Blocks — CWV-safe, espaçamento simétrico entre seções
   -------------------------------------------------------------------------- */
.ad-block {
	margin-bottom: var(--section-gap);
	text-align: center;
	min-height: 100px;
}
.ad-block--home_top {
	margin-top: var(--section-gap);
}
@media (max-width: 640px) {
	.ad-block { min-height: 60px; }
}
.ad-block__label {
	font-size: 10px;
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: .08em;
	font-weight: 500;
	margin-bottom: 6px;
}
@media (max-width: 640px) {
	.ad-block--home_top { display: none; }
}

/* --------------------------------------------------------------------------
   20. Responsivo — ≤ 1140px
   -------------------------------------------------------------------------- */
@media (max-width: 1140px) {
	.home-layout             { grid-template-columns: 1fr 300px; gap: var(--gap); }
	.hero-grid               { grid-template-columns: 1fr 300px; gap: var(--gap); }
	.featured-story          { gap: 32px; }
	.latest-news__grid       { grid-template-columns: repeat(3, 1fr); }
	.ep-grid                 { grid-template-columns: repeat(3, 1fr); }
	.ep-featured__title      { font-size: var(--text-2xl); }
	.post-grid           { grid-template-columns: repeat(3, 1fr); }
	.related-posts .post-grid { grid-template-columns: repeat(3, 1fr); }
	.article-layout      { grid-template-columns: 1fr; }
	.article-sidebar     { position: static; }
	.archive-layout      { grid-template-columns: 1fr; }
	.archive-sidebar     { position: static; }
	.s4-grid             { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------------------------
   20. Secao 4 — Editorial Grid
   -------------------------------------------------------------------------- */

.s4-section {
	margin-bottom: var(--section-gap);
}

.s4-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
}
.s4-header__title {
	font-size: var(--text-2xl);
	font-weight: 700;
	color: var(--color-heading);
	font-family: Georgia, 'Times New Roman', serif;
	letter-spacing: -.02em;
	display: flex;
	align-items: center;
	gap: 16px;
}
.s4-header__title::before {
	content: '';
	display: block;
	width: 6px;
	height: 1em;
	background: var(--color-s4-accent);
	border-radius: 99px;
	flex-shrink: 0;
}

/* --- Desktop grid: 4 colunas × até 2 linhas de ep-cards --- */
.s4-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--gap);
}
.s4-section .ep-card__cat { color: var(--color-s4-accent); }

.s4-card {
	display: flex;
	flex-direction: row;
	gap: 16px;
	background: #ffffff;
	border: 1px solid #e7bdb7;
	border-radius: var(--radius);
	padding: 14px;
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
	box-shadow: 0 4px 20px -2px rgba(0,0,0,.05);
}
.s4-card:hover {
	border-color: #bb0005;
	transform: translateY(-3px);
	box-shadow: 0 12px 24px -10px rgba(187,0,5,.15);
}

.s4-card__img-wrap {
	flex: 0 0 33.333%;
	border-radius: calc(var(--radius) - 2px);
	overflow: hidden;
	aspect-ratio: 1;
}
.s4-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.s4-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 2px 2px 2px 0;
	min-width: 0;
}
.s4-card__top {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.s4-card__cat {
	font-size: 10px;
	font-weight: 700;
	color: var(--color-heading);
	text-decoration: none;
}
.s4-card__cat:hover { text-decoration: underline; }

.s4-card__title {
	font-size: var(--text-md);
	font-weight: 700;
	line-height: 1.35;
	color: var(--color-heading);
	font-family: Georgia, 'Times New Roman', serif;
}
.s4-card__title a {
	color: inherit;
	text-decoration: none;
}
.s4-card__title a:hover { color: #bb0005; }

.s4-card__meta {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	color: var(--color-text-muted);
	margin-top: 8px;
}
.s4-card__avatar {
	border-radius: 50%;
	flex-shrink: 0;
	object-fit: cover;
}
.s4-card__author { font-weight: 600; }

/* --- Mobile: card destaque + lista (oculto por padrao no desktop) --- */
.s4-mobile { display: none; }

.s4-featured {
	background: #ffffff;
	border: 1px solid #e7bdb7;
	border-radius: var(--radius);
	overflow: hidden;
}
.s4-featured__img-wrap {
	display: block;
	aspect-ratio: 16/9;
	overflow: hidden;
}
.s4-featured__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.s4-featured__body {
	padding: 14px 16px 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.s4-featured__badge {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #bb0005;
	text-decoration: none;
}
.s4-featured__badge:hover { text-decoration: underline; }
.s4-featured__title {
	font-size: var(--text-md);
	font-weight: 700;
	line-height: 1.35;
	color: var(--color-heading);
	font-family: Georgia, 'Times New Roman', serif;
}
.s4-featured__title a { color: inherit; text-decoration: none; }
.s4-featured__title a:hover { color: #bb0005; }

.s4-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 10px;
}
.s4-list__item {
	display: flex;
	gap: 12px;
	background: #ffffff;
	border: 1px solid transparent;
	border-radius: var(--radius);
	padding: 10px;
	transition: border-color .2s ease;
}
.s4-list__item:hover { border-color: #e7bdb7; }

.s4-list__img-wrap {
	flex: 0 0 96px;
	height: 96px;
	border-radius: calc(var(--radius) - 2px);
	overflow: hidden;
}
.s4-list__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.s4-list__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 5px;
	justify-content: center;
	min-width: 0;
}
.s4-list__cat {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: #bb0005;
	text-decoration: none;
}
.s4-list__cat:hover { text-decoration: underline; }
.s4-list__title {
	font-size: var(--text-sm);
	font-weight: 700;
	line-height: 1.35;
	color: var(--color-heading);
	font-family: Georgia, 'Times New Roman', serif;
}
.s4-list__title a { color: inherit; text-decoration: none; }
.s4-list__title a:hover { color: #bb0005; }
.s4-list__time {
	font-size: 11px;
	color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   21. Responsivo — ≤ 900px (tablet)
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
	.home-layout              { grid-template-columns: 1fr; }
	.hero-grid                { grid-template-columns: 1fr; }
	.featured-story           { grid-template-columns: 1fr; gap: 24px; }
	.featured-story__title    { font-size: var(--text-2xl); }
	.latest-news__grid        { grid-template-columns: repeat(2, 1fr); }
	.ep-grid                  { grid-template-columns: repeat(2, 1fr); }
	.ep-featured__title       { font-size: var(--text-xl); }
	.ep-feat-pair             { grid-template-columns: 1fr; gap: 24px; }
	.cat-section__grid        { grid-template-columns: 1fr; }
	.cs-hero-card__img        { height: 300px; }
	.hero-featured            { height: 300px; }
	.hero-featured__title     { font-size: var(--text-xl); }
	.post-grid                { grid-template-columns: repeat(2, 1fr); }
	.related-posts .post-grid { grid-template-columns: repeat(2, 1fr); }
	.site-footer__inner       { grid-template-columns: 1fr; }
	.site-footer__nav-list    { justify-content: flex-start; }
	.article                  { padding: 20px; }
	.article-title            { font-size: var(--text-2xl); }
}

/* --------------------------------------------------------------------------
   22. Responsivo — ≤ 640px (mobile)
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
	:root { --gap: 12px; --gap-lg: 24px; --pad: 14px; --section-gap: 40px; }

	/* Menu mobile */
	.site-nav {
		display: none;
		position: fixed;
		top: 66px;
		left: 0;
		right: 0;
		bottom: 0;
		background: var(--color-bg);
		overflow-y: auto;
		padding: var(--gap);
		z-index: 199;
		border-top: 1px solid var(--color-border);
	}
	.site-nav.is-open    { display: block; }
	.site-nav__list      { flex-direction: column; gap: 4px; }
	.site-nav__list > li > a { padding: 13px 16px; font-size: var(--text-base); border-radius: var(--radius); }
	.site-nav__list .sub-menu { position: static; box-shadow: none; border: none; border-left: 3px solid var(--color-border); border-radius: 0; padding: 0 0 0 12px; }
	/* menu aberto tem fundo branco — texto escuro */
	.site-nav.is-open .site-nav__list > li > a { color: var(--color-text); }
	.site-nav.is-open .site-nav__list > li > a:hover { background: var(--color-bg-alt); color: var(--color-heading); }
	.btn-contribua { padding: 7px 12px; font-size: var(--text-xs); }

	.post-grid                { grid-template-columns: 1fr; }

	/* ── Seção 2 — layout mobile ──────────────────────────────── */

	/* Todos os cards: bg branco, borda accent da seção, sombra */
	.ep-featured, .ep-card { background: var(--color-bg); border: 1px solid var(--color-s2-accent); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); }

	/* Par de destaques: coluna com gap */
	.ep-feat-pair { display: flex; flex-direction: column; gap: 24px; margin-bottom: 24px; }

	/* Ambos os featured: imagem sem raio próprio, corpo com padding */
	.ep-featured__img-link { border-radius: 0; margin-bottom: 0; }
	.ep-featured:first-child .ep-featured__img-link { aspect-ratio: 16/9; }
	.ep-featured:last-child  .ep-featured__img-link { aspect-ratio: 1/1;  }
	.ep-featured__body { padding: 16px; }

	/* Meta (categoria badge + tempo) no topo */
	.ep-featured__meta { order: -1; margin-top: 0; margin-bottom: 12px; gap: 8px; }
	.ep-featured__cat { background: rgba(0,133,66,.10); padding: 4px 12px; border-radius: 99px; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
	.ep-featured__meta-sep { display: none; }
	.ep-featured__readtime  { display: none; }
	.ep-featured__meta-time { display: inline; color: var(--color-text-muted); font-size: var(--text-sm); font-weight: 400; }

	/* Título e excerpt */
	.ep-featured__title   { order: 0; font-size: var(--text-xl); margin-bottom: 10px; }
	.ep-featured__excerpt { order: 1; -webkit-line-clamp: 3; margin-bottom: 0; }

	/* Source: avatar + info (nome/tempo), separado por borda */
	.ep-featured__source { order: 2; flex-direction: row; align-items: center; gap: 12px; border-top: 1px solid var(--color-border); margin-top: 16px; padding-top: 12px; margin-bottom: 0; }

	/* ep-grid: coluna com gap */
	.ep-grid { display: flex; flex-direction: column; gap: 16px; }

	/* ep-card: horizontal — imagem 1/3, conteúdo 2/3 */
	.ep-card { flex-direction: row; align-items: stretch; }
	.ep-card__img-wrap { flex: 0 0 33.333%; aspect-ratio: unset; align-self: stretch; border-radius: 0; margin-bottom: 0; min-height: 108px; }
	.ep-card__body { padding: 14px; justify-content: space-between; }
	.ep-card__title { order: -1; flex: none; font-size: var(--text-md); margin-bottom: 0; }
	.ep-card__meta  { display: none; }

	/* Source no ep-card: nome (esq) + tempo (dir) */
	.ep-card__source { display: flex; flex-direction: row; justify-content: space-between; align-items: center; margin-bottom: 0; gap: 4px; }
	.ep-card__source-avatar { display: none; }
	.ep-card__source > span[aria-hidden="true"] { display: none; }
	.ep-card__source-name { font-size: var(--text-xs); font-weight: 700; color: var(--color-heading); }
	.ep-card__source > time { font-size: var(--text-xs); color: var(--color-text-muted); font-weight: 400; }

	/* Featured Story: overlay mode no mobile */
	.featured-story           { display: block; position: relative; border-bottom: 1px solid var(--color-border); margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); }
	.featured-story__image    { position: relative; border-radius: 0; overflow: hidden; }
	.featured-story__img      { border-radius: 0; }
	.featured-story__image::after {
		content: '';
		position: absolute;
		inset: 0;
		background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.35) 45%, transparent 72%);
		pointer-events: none;
	}
	.featured-story__content  { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; z-index: 1; display: flex; flex-direction: column; }
	.featured-story__byline   { order: 3; margin-top: 10px; margin-bottom: 0; color: rgba(255,255,255,.75); }
	.featured-story__author   { color: rgba(255,255,255,.9); }
	.featured-story__title    { order: 2; color: #fff; font-size: var(--text-2xl); margin-bottom: 8px; }
	.featured-story__title a  { color: #fff; }
	.featured-story__excerpt  { display: none; }
	.featured-story__meta     { order: 1; margin-bottom: 10px; }
	.featured-story__cat      { background: var(--color-s1-accent); color: #fff; padding: 3px 10px; border-radius: 4px; }
	.featured-story__readtime { display: none; }
	.featured-story__meta span[aria-hidden="true"] { display: none; }

	/* Latest News: cards horizontais no mobile */
	.latest-news__grid        { grid-template-columns: 1fr; gap: 0; }
	.ln-card                  { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto 1fr; gap: 0 14px; padding-bottom: 16px; border-bottom: 1px solid var(--color-border); margin-bottom: 16px; }
	.ln-card:last-child       { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
	.ln-card__img-wrap        { grid-column: 1; grid-row: 1 / 3; width: 96px; height: 96px; aspect-ratio: 1; margin-bottom: 0; border-radius: var(--radius); }
	.ln-card__meta            { grid-column: 2; grid-row: 1; margin-top: 0; align-self: start; }
	.ln-card__title           { grid-column: 2; grid-row: 2; font-size: var(--text-base); margin-bottom: 0; align-self: start; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.ln-card__source          { display: none; }
	.ln-card__excerpt         { display: none; }
	.ln-card__readtime        { display: none; }
	.ln-card__timeago         { display: inline; color: var(--color-text-muted); font-size: var(--text-sm); }
	.featured-story__author::before { content: 'Por '; }
	.featured-story__avatar   { border: 1px solid rgba(255,255,255,.2); }
	.latest-news              { padding-top: 24px; }
	.cs-hero-card__img        { height: 240px; }
	.cs-hero-card__title      { font-size: var(--text-2xl); }
	.cs-hero-card__overlay    { padding: 20px; }
	.cs-side-list             { gap: 12px; }
	.hero-featured            { height: 240px; border-radius: 16px; }
	.hero-featured__overlay   { padding: 20px; }
	.hero-featured__title     { font-size: var(--text-lg); }
	.news-item__img           { width: 72px; height: 72px; }
	.article-title            { font-size: var(--text-xl); }
	.error-page__code         { font-size: 72px; }
	/* Secao 4 mobile: oculta grid desktop, exibe layout featured+lista */
	.s4-grid   { display: none; }
	.s4-mobile { display: block; }
}
