/*
Theme Name: Jurisweb
Theme URI: https://jurisweb.com.br/
Description: Tema editorial do portal Jurisweb — Informações Jurídicas. Segue o Manual da Marca v1.0: moldura azul-marinho, leitura em fundo claro, acentos vermelho/âmbar, Lora + Inter.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: jurisweb
License: GPLv2 or later
*/

:root {
	/* Moldura da marca (cabeçalho e rodapé) */
	--navy-950: #080c16;
	--navy-900: #0a1220;
	--navy-850: #0e1830;
	--navy-800: #101c37;
	--navy-700: #1a2746;

	/* Fundos claros por seção */
	--paper: #f7f5f0;      /* papel quente — fundo geral */
	--surface: #ffffff;    /* cards e leitura */
	--band-blue: #edf2f9;  /* azul-névoa */
	--band-warm: #fbf3e7;  /* âmbar-claro */
	--band-sand: #f3efe6;  /* areia */

	/* Marca */
	--red: #c2341f;
	--red-dark: #a32a17;
	--amber: #d98b2b;
	--amber-ink: #95560f;  /* âmbar legível em fundo claro (contraste AA) */
	--grad-a: #e0532f;
	--grad-b: #e8a23a;

	/* Texto */
	--ink: #14203a;
	--ink-2: #3e4a63;
	--muted: #5f6b84;
	--on-dark: #e8eaf0;
	--on-dark-2: #b7bfd1;
	--on-dark-muted: #93a0b8;

	--line: #e2e5ec;
	--line-dark: rgba(255, 255, 255, 0.1);
	--shadow: 0 1px 2px rgba(20, 32, 58, 0.06), 0 4px 14px rgba(20, 32, 58, 0.06);
	--shadow-hover: 0 2px 4px rgba(20, 32, 58, 0.08), 0 10px 28px rgba(20, 32, 58, 0.12);
	--radius: 12px;
	--wrap: 1240px;
	--serif: 'Lora', Georgia, 'Times New Roman', serif;
	--sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
a:focus-visible, button:focus-visible, input:focus-visible {
	outline: 2px solid var(--amber);
	outline-offset: 2px;
	border-radius: 4px;
}

::selection { background: var(--red); color: #fff; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--ink); margin: 0; line-height: 1.25; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 1000;
	top: 8px; left: 8px; padding: 10px 16px; background: #fff; color: var(--ink);
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Rótulos ---------- */
.label {
	font-family: var(--sans); font-weight: 700; font-size: 11px; letter-spacing: 2px;
	text-transform: uppercase; color: var(--amber-ink);
}
a.label:hover { color: var(--red); }
.meta { font-size: 13px; color: var(--muted); }
.meta span + span::before { content: '·'; margin: 0 8px; }

/* ---------- Wordmark ---------- */
.wordmark {
	font-family: var(--serif); font-weight: 700; font-size: 26px; letter-spacing: .3px;
	display: inline-flex; align-items: baseline; line-height: 1; color: #fff;
}
.wordmark__web {
	font-family: var(--sans); font-weight: 800;
	background: linear-gradient(100deg, var(--grad-a), var(--grad-b));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.wordmark:hover { color: #fff; }

/* ---------- Cabeçalho (moldura escura) ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--navy-900);
	border-bottom: 3px solid transparent;
	border-image: linear-gradient(90deg, var(--red), var(--amber)) 1;
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { display: flex; flex-direction: column; gap: 6px; }
.brand__tagline { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--on-dark-muted); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.site-nav a {
	display: inline-block; padding: 6px 0; font-size: 13px; font-weight: 600; color: var(--on-dark-2);
	border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: #fff; }
.site-nav .current-menu-item > a,
.site-nav .current-cat > a,
.site-nav .current-menu-ancestor > a { color: #fff; border-bottom-color: var(--amber); }
.site-nav .sub-menu, .site-nav .children { display: none; }

.header-tools { display: flex; align-items: center; gap: 10px; }
.icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line-dark);
	background: transparent; color: var(--on-dark); cursor: pointer;
}
.icon-btn:hover { border-color: var(--amber); color: var(--amber); }
.icon-btn svg { width: 20px; height: 20px; }
.menu-toggle { display: none; }

.header-search { display: none; border-top: 1px solid var(--line-dark); padding: 14px 0; background: var(--navy-850); }
.header-search.is-open { display: block; }

.search-form { display: flex; gap: 8px; max-width: 640px; }
.search-form input[type="search"] {
	flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 8px;
	border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 15px;
}
.search-form input[type="search"]::placeholder { color: var(--muted); }

/* ---------- Botões ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 0 22px; border-radius: 7px; border: 0;
	font: 700 14px/1 var(--sans); cursor: pointer; color: #fff;
	background: linear-gradient(100deg, var(--red), var(--amber));
}
.btn:hover { color: #fff; filter: brightness(1.06); }
.btn--ghost { background: transparent; border: 1.5px solid var(--red); color: var(--red); }
.btn--ghost:hover { background: rgba(194, 52, 31, 0.06); color: var(--red-dark); filter: none; }

/* ---------- Faixas (seções com fundo próprio) ---------- */
.site-main { padding: 0; }
.band { padding: 56px 0; }
.band--paper { background: var(--paper); }
.band--white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band--blue  { background: var(--band-blue); }
.band--warm  { background: var(--band-warm); }
.band--sand  { background: var(--band-sand); }
.band--lead  { padding-top: 36px; }

.section__head {
	display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
	padding-bottom: 12px; margin-bottom: 24px; border-bottom: 1px solid rgba(20, 32, 58, 0.12);
}
.section__title { font-size: 24px; position: relative; padding-left: 14px; }
.section__title::before {
	content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 2px;
	background: linear-gradient(180deg, var(--red), var(--amber));
}
.section__more { font-size: 13px; font-weight: 700; color: var(--red); white-space: nowrap; }
.section__more:hover { color: var(--red-dark); text-decoration: underline; }
.section__kicker { font-size: 13px; color: var(--muted); }

/* ---------- Destaque ---------- */
.lead-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; }
.hero {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end;
	min-height: 440px; border-radius: var(--radius); overflow: hidden;
	background: linear-gradient(145deg, var(--navy-700), var(--navy-850));
	box-shadow: var(--shadow);
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(10, 18, 32, 0) 30%, rgba(10, 18, 32, 0.9) 80%);
}
.hero__body { position: relative; z-index: 1; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.hero .label { color: var(--grad-b); }
.hero .label:hover { color: #fff; }
.hero__title { font-size: 32px; color: #fff; }
.hero__title a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 4px; }
.hero__excerpt { margin: 0; color: var(--on-dark-2); font-size: 15px; max-width: 620px; }
.hero .meta { color: var(--on-dark-muted); }

.stack { display: flex; flex-direction: column; gap: 12px; }
.mini {
	display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: start;
	padding: 12px; border-radius: var(--radius); background: var(--surface);
	border: 1px solid var(--line); box-shadow: var(--shadow); transition: box-shadow .15s ease;
}
.mini:hover { box-shadow: var(--shadow-hover); }
.mini__media { aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--band-blue); }
.mini__media img { width: 100%; height: 100%; object-fit: cover; }
.mini__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mini__title { font-size: 15px; font-weight: 600; line-height: 1.35; }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
	display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
	background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
	transition: box-shadow .15s ease, transform .15s ease;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card__media { display: block; aspect-ratio: 16 / 10; background: var(--band-blue); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.card__title { font-size: 18px; font-weight: 600; line-height: 1.35; }
.card__excerpt { margin: 0; font-size: 14px; color: var(--ink-2); }
.card .meta { margin-top: auto; }

/* Imagem de reserva: tom claro por editoria, com o "§" como marca jurídica */
.placeholder {
	--ph-bg: #e9ecf2; --ph-ink: #2b3550;
	position: relative; overflow: hidden;
	width: 100%; height: 100%; min-height: 100%;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	background:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0 1px, transparent 1px 14px),
		radial-gradient(ellipse at 20% 0%, rgba(255, 255, 255, 0.7), transparent 60%),
		var(--ph-bg);
	color: var(--ph-ink);
}
.placeholder::after {
	content: ''; position: absolute; left: 50%; bottom: 18%; width: 36px; height: 2px; margin-left: -18px;
	background: linear-gradient(90deg, var(--red), var(--amber)); border-radius: 2px;
}
.placeholder { container-type: inline-size; }
.placeholder__glyph { font-family: var(--serif); font-size: clamp(26px, 14cqi, 40px); line-height: 1; opacity: .5; }
.placeholder__name {
	display: block; max-width: 86%; padding: 0 6px;
	font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: .2px;
	font-size: clamp(11px, 5.2cqi, 15px); line-height: 1.3; text-align: center;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.placeholder--blue  { --ph-bg: #e3ebf6; --ph-ink: #23406d; }
.placeholder--sand  { --ph-bg: #f2eadc; --ph-ink: #694719; }
.placeholder--sage  { --ph-bg: #e2eee9; --ph-ink: #1e5646; }
.placeholder--rose  { --ph-bg: #f5e6e1; --ph-ink: #7a2e1f; }
.placeholder--lilac { --ph-bg: #e9e7f3; --ph-ink: #3d3768; }
.placeholder--slate { --ph-bg: #e7eaf0; --ph-ink: #2b3550; }
.mini .placeholder { gap: 0; }
.mini .placeholder__glyph { font-size: 28px; }
.mini .placeholder__name, .mini .placeholder::after { display: none; }

/* ---------- Colunistas ---------- */
.avatar {
	position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%; overflow: hidden; background: linear-gradient(145deg, var(--navy-700), var(--navy-850));
	box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--amber);
}
.avatar__initials { font-family: var(--serif); font-weight: 700; font-size: 20px; color: #fff; letter-spacing: .5px; }
.avatar .avatar__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.column-card {
	display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--radius);
	background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
	border-top: 3px solid var(--amber); transition: box-shadow .15s ease;
}
.column-card:hover { box-shadow: var(--shadow-hover); }
.column-card__author { display: flex; align-items: center; gap: 14px; }
.column-card__who { display: flex; flex-direction: column; min-width: 0; }
.column-card__name { font-family: var(--serif); font-weight: 700; font-size: 16px; color: var(--ink); }
.column-card__role { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--amber-ink); }
.column-card__title { font-size: 18px; font-weight: 600; line-height: 1.35; font-style: italic; }
.column-card__excerpt { margin: 0; font-size: 14px; color: var(--ink-2); }

.columns-empty { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 40px; align-items: center; }
.columns-empty__lead { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.5; color: var(--ink); }
.columns-empty__note { margin: 12px 0 22px; font-size: 14px; color: var(--muted); }
.columns-empty__slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.slot {
	display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px;
	border-radius: var(--radius); background: rgba(255, 255, 255, 0.6); border: 1px dashed #d6ccb8;
}
.slot__avatar {
	width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	background: #ebe3d3; color: #a08a62; font-family: var(--serif); font-size: 22px; margin-bottom: 4px;
}
.slot__line { display: block; width: 100%; height: 10px; border-radius: 5px; background: #ebe3d3; }
.slot__line--short { width: 60%; }
.slot__tag { margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--amber-ink); }

.author-box {
	display: flex; gap: 18px; align-items: flex-start; margin-top: 36px; padding: 22px;
	background: var(--band-sand); border-radius: var(--radius); max-width: 720px;
}
.author-box__name { margin: 4px 0 0; font-family: var(--serif); font-weight: 700; font-size: 19px; }
.author-box__bio { margin: 6px 0 0; font-size: 15px; color: var(--ink-2); }

/* ---------- Barra de editorias ---------- */
.editorias { background: var(--surface); border-bottom: 1px solid var(--line); }
.editorias ul {
	list-style: none; margin: 0; padding: 0; display: flex; gap: 28px;
	overflow-x: auto; scrollbar-width: none; white-space: nowrap;
}
.editorias ul::-webkit-scrollbar { display: none; }
.editorias a {
	display: inline-block; padding: 13px 0 11px; font-size: 13px; font-weight: 600; color: var(--ink-2);
	border-bottom: 2px solid transparent;
}
.editorias a:hover { color: var(--red); }
.editorias a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--amber); }

/* ---------- Trilha ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--red); }
.crumbs .crumbs__cat {
	font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--amber-ink);
}

/* ---------- Colunas por editoria ---------- */
.cat-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cat-col {
	display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius);
	border: 1px solid var(--line); box-shadow: var(--shadow); padding: 22px 22px 8px;
}
.cat-col .section__head { margin-bottom: 4px; }
.cat-col .section__title { font-size: 21px; }
.list-item { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.list-item:last-child { border-bottom: 0; }
.list-item__title { font-family: var(--serif); font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--ink); }

/* ---------- Cabeçalho de arquivo ---------- */
.archive-head {
	padding: 48px 0 40px; margin-bottom: 40px;
	background: var(--band-blue); border-bottom: 1px solid var(--line);
}
.archive-head h1 { font-size: 36px; margin-top: 8px; }
.archive-head p { color: var(--ink-2); max-width: 720px; margin: 12px 0 0; }
.archive-body { padding-bottom: 72px; }

/* ---------- Artigo ---------- */
.article-band { background: var(--surface); padding: 44px 0 72px; }
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.article__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.article__title { font-size: 40px; line-height: 1.18; }
.article__lede { font-size: 19px; color: var(--ink-2); margin: 0; font-family: var(--serif); }
.article__figure { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; }
.article__figure figcaption { font-size: 13px; color: var(--muted); padding: 10px 2px 0; }

.prose { font-size: 18px; line-height: 1.75; color: #1d2940; max-width: 720px; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { font-size: 26px; margin-top: 1.8em; }
.prose h3 { font-size: 21px; margin-top: 1.6em; }
.prose h4 { font-size: 18px; margin-top: 1.4em; }
.prose a { color: var(--red); border-bottom: 1px solid rgba(194, 52, 31, 0.35); }
.prose a:hover { color: var(--red-dark); border-bottom-color: var(--red-dark); }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 0; }
.prose li + li { margin-top: .4em; }
.prose blockquote {
	margin: 1.6em 0; padding: 14px 22px; border-left: 3px solid var(--amber);
	background: var(--band-warm); border-radius: 0 10px 10px 0;
	font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--ink);
}
.prose img, .prose figure { border-radius: 10px; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--band-blue); color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose code { background: var(--band-sand); padding: 2px 6px; border-radius: 4px; font-size: .92em; }
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }

.article__foot { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a {
	font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
	background: var(--band-blue); color: var(--ink-2);
}
.tags a:hover { background: var(--band-warm); color: var(--amber-ink); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.share a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 7px; border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; background: #fff; }
.share a:hover { border-color: var(--red); color: var(--red); }

/* ---------- Barra lateral ---------- */
.sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 22px; }
.widget { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.widget-title, .widget h2 { font-size: 17px; margin-bottom: 14px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.widget li:last-child { border-bottom: 0; }
.widget a { color: var(--ink-2); }
.widget a:hover { color: var(--red); }
.widget .search-form { flex-wrap: wrap; }

/* ---------- Paginação ---------- */
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px;
	border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.pagination .page-numbers.current { background: var(--navy-850); border-color: transparent; color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--red); color: var(--red); }

/* ---------- Comentários ---------- */
.comments-area { margin-top: 48px; max-width: 720px; }
.comments-area h2, .comment-reply-title { font-size: 22px; margin-bottom: 18px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.comment-list .comment { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-meta { font-size: 13px; color: var(--muted); }
.comment-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line);
	background: #fff; color: var(--ink); font: inherit;
}
.comment-form input[type="submit"] {
	min-height: 44px; padding: 0 22px; border-radius: 7px; border: 0; cursor: pointer;
	font: 700 14px/1 var(--sans); color: #fff; background: linear-gradient(100deg, var(--red), var(--amber));
}

/* ---------- Página ---------- */
.page-band { background: var(--surface); padding: 44px 0 72px; }
.page-plain .prose { max-width: 820px; }
.page-head { margin-bottom: 28px; }
.page-builder { width: 100%; }
.page-head h1 { font-size: 38px; }

/* ---------- 404 / vazio ---------- */
.empty { text-align: center; padding: 72px 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.empty h1 { font-size: 40px; }
.empty p { color: var(--ink-2); margin: 0; max-width: 520px; }

/* ---------- Rodapé (moldura escura) ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark); padding: 56px 0 28px; border-top: 3px solid transparent; border-image: linear-gradient(90deg, var(--red), var(--amber)) 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-about p { color: var(--on-dark-muted); font-size: 14px; margin: 16px 0 0; max-width: 360px; }
.footer-title { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 14px; color: var(--on-dark-2); }
.footer-links a:hover { color: var(--amber); }
.footer-bottom {
	margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line-dark);
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12px; color: #7d879c;
}
.footer-rule { width: 60px; height: 2px; background: linear-gradient(90deg, var(--red), var(--amber)); margin-top: 10px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.article-wrap { grid-template-columns: minmax(0, 1fr); }
	.sidebar { position: static; }
}

@media (max-width: 960px) {
	.menu-toggle { display: inline-flex; }
	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--navy-900); border-bottom: 1px solid var(--line-dark); padding: 8px 24px 16px;
	}
	.site-nav.is-open { display: block; }
	.site-nav ul { flex-direction: column; gap: 0; }
	.site-nav li { border-bottom: 1px solid var(--line-dark); }
	.site-nav li:last-child { border-bottom: 0; }
	.site-nav a { display: block; padding: 13px 0; font-size: 15px; border-bottom: 0; }
	.site-nav .current-menu-item > a, .site-nav .current-cat > a { color: var(--amber); }
	.lead-grid { grid-template-columns: minmax(0, 1fr); }
	.grid, .cat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.columns-empty { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-about { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
	.wrap { padding: 0 16px; }
	.band { padding: 40px 0; }
	.band--lead { padding-top: 20px; }
	.hero { min-height: 360px; }
	.hero__body { padding: 22px; }
	.hero__title { font-size: 25px; }
	.grid, .grid--4, .cat-strip { grid-template-columns: minmax(0, 1fr); }
	.mini { grid-template-columns: 96px minmax(0, 1fr); padding: 10px; }
	.article-band, .page-band { padding-top: 28px; }
	.article__title { font-size: 29px; }
	.archive-head h1, .page-head h1 { font-size: 29px; }
	.prose { font-size: 17px; }
	.footer-grid { grid-template-columns: 1fr; }
	.brand__tagline { display: none; }
	.editorias ul { gap: 22px; }
	.columns-empty__slots { grid-template-columns: minmax(0, 1fr); }
	.columns-empty__slots .slot:nth-child(n+2) { display: none; }
	.columns-empty__lead { font-size: 18px; }
}
