/* ==========================================================================
   Aripuanã News | estilos do tema
   Mobile-first. Pontos de quebra: 640px, 900px, 1100px.
   ========================================================================== */

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/inter-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Source Serif 4";
	font-style: normal;
	font-weight: 600 800;
	font-display: swap;
	src: url("../fonts/source-serif-4-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Fallbacks com métricas próximas: evitam "pulo" do layout enquanto a fonte carrega. */
@font-face {
	font-family: "Inter Fallback";
	src: local("Arial");
	size-adjust: 107%;
	ascent-override: 90%;
	descent-override: 22%;
	line-gap-override: 0%;
}

@font-face {
	font-family: "Serif Fallback";
	src: local("Georgia");
	size-adjust: 104%;
	ascent-override: 92%;
	descent-override: 26%;
	line-gap-override: 0%;
}

:root {
	/* Paleta da logo: vermelho #F70707 e preto #0B0B0B. */
	--an-brand: #f70707;
	--an-primary: #d90909;
	--an-primary-600: #b00707;
	--an-primary-050: #fdeded;
	--an-accent: #f70707;
	--an-urgent: #d90909;
	--an-ink: #0b0b0b;
	--an-text: #26282c;
	--an-muted: #5f636a;
	--an-line: #e6e6e8;
	--an-surface: #f5f5f6;
	--an-bg: #fff;
	--an-cat: var(--an-primary);

	--an-sans: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--an-serif: "Source Serif 4", "Serif Fallback", Georgia, "Times New Roman", serif;

	--an-radius: 10px;
	--an-radius-sm: 6px;
	--an-shadow: 0 1px 2px rgb(16 24 32 / 6%), 0 4px 16px rgb(16 24 32 / 6%);
	--an-gutter: 16px;
	--an-max: 1240px;
	--an-header-h: 64px;
}

/* ---------- Base ---------- */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: 72px;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--an-bg);
	color: var(--an-text);
	font-family: var(--an-sans);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img,
svg,
video,
iframe {
	max-width: 100%;
	height: auto;
}

img {
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: var(--an-primary-600);
}

:focus-visible {
	outline: 3px solid var(--an-accent);
	outline-offset: 2px;
	border-radius: 2px;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	color: var(--an-ink);
	font-family: var(--an-serif);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

p {
	margin: 0;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

button {
	font: inherit;
	color: inherit;
	cursor: pointer;
}

[hidden] {
	display: none !important;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.an-skip {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 1000;
	padding: 10px 16px;
	background: var(--an-ink);
	color: #fff;
	border-radius: var(--an-radius-sm);
}

.an-skip:focus {
	top: 12px;
	color: #fff;
}

.an-container {
	width: 100%;
	max-width: var(--an-max);
	margin-inline: auto;
	padding-inline: var(--an-gutter);
}

.an-main {
	display: block;
	min-height: 50vh;
	padding-bottom: 48px;
	outline: none;
}

/* ---------- Ícones e botões ---------- */

.an-icon {
	flex-shrink: 0;
	vertical-align: middle;
}

.an-iconbtn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 50%;
	color: var(--an-ink);
	transition: background-color 0.15s;
}

.an-iconbtn:hover {
	background: var(--an-surface);
}

.an-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 20px;
	background: var(--an-primary);
	color: #fff;
	border: 0;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	transition: background-color 0.15s, transform 0.15s;
}

.an-btn:hover {
	background: var(--an-primary-600);
	color: #fff;
}

.an-btn:active {
	transform: translateY(1px);
}

.an-btn--light {
	background: #fff;
	color: var(--an-primary);
}

.an-btn--light:hover {
	background: var(--an-primary-050);
	color: var(--an-primary);
}

.an-btn--small {
	min-height: 36px;
	padding: 6px 16px;
	font-size: 14px;
}

/* ---------- Barra do topo ---------- */

.an-topbar {
	display: none;
	background: var(--an-ink);
	color: rgb(255 255 255 / 85%);
	font-size: 13px;
}

.an-topbar__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 36px;
}

.an-topbar__date {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-right: auto;
}

.an-topbar__nav ul {
	display: flex;
	gap: 20px;
}

.an-topbar a:hover {
	color: #fff;
	text-decoration: underline;
}

.an-social {
	display: flex;
	gap: 4px;
}

.an-social a {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	transition: background-color 0.15s, color 0.15s;
}

.an-social--top a:hover {
	background: rgb(255 255 255 / 12%);
}

@media (min-width: 900px) {
	.an-topbar {
		display: block;
	}
}

/* ---------- Cabeçalho ---------- */

.an-header {
	position: relative;
	z-index: 40;
	background: var(--an-bg);
	border-bottom: 1px solid var(--an-line);
}

.an-header__inner {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: var(--an-header-h);
}

.an-header__menu {
	margin-left: -10px;
}

.an-header__aside {
	display: none;
	flex: 1;
	justify-content: flex-end;
}

.an-header__tagline {
	max-width: 280px;
	color: var(--an-muted);
	font-size: 14px;
	line-height: 1.35;
	text-align: right;
}

.an-header__search {
	margin-left: auto;
	margin-right: -10px;
}

.an-logo {
	margin: 0;
	font-size: inherit;
	line-height: 0;
}

.an-logo a {
	display: inline-block;
}

.an-logo img {
	width: auto;
	height: 42px;
}

.an-logo--custom img {
	max-height: 48px;
}

.an-logo__mark {
	display: block;
	width: auto;
	height: 30px;
}

@media (min-width: 900px) {
	.an-header__inner {
		min-height: 96px;
		gap: 24px;
	}

	.an-header__menu {
		display: none;
	}

	.an-header__aside {
		display: flex;
	}

	.an-header__search {
		margin-left: 0;
	}

	.an-logo img {
		height: 64px;
	}

	.an-logo--custom img {
		max-height: 72px;
	}
}

/* Busca */

.an-search-panel {
	padding: 16px 0;
	background: var(--an-surface);
	border-top: 1px solid var(--an-line);
}

.an-searchform {
	display: flex;
	width: 100%;
	max-width: 680px;
	background: #fff;
	border: 2px solid var(--an-line);
	border-radius: 999px;
	overflow: hidden;
	transition: border-color 0.15s;
}

.an-searchform:focus-within {
	border-color: var(--an-primary);
}

.an-searchform input {
	flex: 1;
	min-width: 0;
	padding: 12px 20px;
	background: transparent;
	border: 0;
	font: inherit;
	font-size: 16px;
	outline: none;
}

.an-searchform button {
	display: grid;
	place-items: center;
	width: 52px;
	background: var(--an-primary);
	border: 0;
	color: #fff;
}

.an-searchform button:hover {
	background: var(--an-primary-600);
}

.an-search-panel .an-searchform {
	margin-inline: auto;
}

/* ---------- Menu de editorias ---------- */

.an-nav {
	position: sticky;
	top: 0;
	z-index: 30;
	background: var(--an-bg);
	border-bottom: 1px solid var(--an-line);
	box-shadow: 0 2px 8px rgb(16 24 32 / 4%);
}

.admin-bar .an-nav {
	top: 46px;
}

@media (min-width: 783px) {
	.admin-bar .an-nav {
		top: 32px;
	}
}

@media (max-width: 600px) {
	.admin-bar .an-nav {
		top: 0;
	}
}

.an-nav__inner {
	display: flex;
	align-items: center;
	gap: 8px;
}

.an-nav__home {
	display: none;
}

.an-nav.is-stuck .an-nav__home {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	margin-right: 6px;
	padding-right: 12px;
	border-right: 1px solid var(--an-line);
}

.an-nav__home .an-logo__mark {
	flex-shrink: 0;
	width: auto;
	height: 28px;
	object-fit: contain;
}

.an-nav__menu {
	display: flex;
	gap: 2px;
	margin-inline: calc(var(--an-gutter) * -1);
	padding-inline: var(--an-gutter);
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x proximity;
	mask-image: linear-gradient(90deg, #000 88%, transparent);
}

.an-nav__menu::-webkit-scrollbar {
	display: none;
}

.an-nav__menu li {
	flex-shrink: 0;
	scroll-snap-align: start;
}

.an-nav__menu a {
	position: relative;
	display: block;
	padding: 14px 12px;
	color: var(--an-ink);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.an-nav__menu a::after {
	content: "";
	position: absolute;
	right: 12px;
	bottom: 0;
	left: 12px;
	height: 3px;
	background: var(--an-primary);
	border-radius: 3px 3px 0 0;
	transform: scaleX(0);
	transition: transform 0.2s;
}

.an-nav__menu a:hover::after,
.an-nav__menu .current-menu-item > a::after,
.an-nav__menu .current-post-ancestor > a::after,
.an-nav__menu .current-cat > a::after {
	transform: scaleX(1);
}

@media (min-width: 900px) {
	.an-nav__menu {
		margin-inline: 0;
		padding-inline: 0;
		mask-image: none;
	}

	.an-nav__menu a {
		padding: 16px 14px;
		font-size: 15px;
	}
}

/* ---------- Letreiro ---------- */

.an-ticker {
	background: var(--an-surface);
	border-bottom: 1px solid var(--an-line);
	font-size: 14px;
}

.an-ticker__inner {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 42px;
}

.an-ticker__label {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	background: var(--an-ink);
	color: #fff;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.an-ticker--urgent {
	background: var(--an-primary-050);
}

.an-ticker--urgent .an-ticker__label {
	background: var(--an-urgent);
	animation: an-pulse 1.6s ease-in-out infinite;
}

.an-ticker__viewport {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 3%, #000 94%, transparent);
}

.an-ticker__track {
	display: flex;
	width: max-content;
	gap: 40px;
	animation: an-marquee var(--an-ticker-duration, 60s) linear infinite;
}

.an-ticker__track:hover,
.an-ticker.is-paused .an-ticker__track {
	animation-play-state: paused;
}

.an-ticker__track li {
	flex-shrink: 0;
	white-space: nowrap;
}

.an-ticker__track a {
	color: var(--an-ink);
	font-weight: 600;
}

.an-ticker__track .an-time {
	margin-right: 4px;
	color: var(--an-primary-600);
	font-weight: 700;
}

.an-ticker__pause {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 32px;
	height: 32px;
	background: transparent;
	border: 1px solid var(--an-line);
	border-radius: 50%;
	color: var(--an-muted);
}

.an-ticker.is-paused .an-ticker__pause {
	background: var(--an-ink);
	color: #fff;
}

@keyframes an-marquee {
	to {
		transform: translateX(-50%);
	}
}

@keyframes an-pulse {
	50% {
		opacity: 0.75;
	}
}

@media (prefers-reduced-motion: reduce) {
	.an-ticker__track {
		animation: none;
		flex-wrap: nowrap;
		overflow-x: auto;
	}

	.an-ticker__viewport {
		overflow-x: auto;
	}

	.an-ticker__pause {
		display: none;
	}
}

/* ---------- Gaveta (menu mobile) ---------- */

.an-drawer {
	position: fixed;
	inset: 0;
	z-index: 100;
}

.an-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(10 16 22 / 55%);
	animation: an-fade 0.2s ease-out;
}

.an-drawer__panel {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: min(88vw, 360px);
	padding: 12px 20px 32px;
	background: var(--an-bg);
	overflow-y: auto;
	overscroll-behavior: contain;
	animation: an-slide 0.25s ease-out;
}

.an-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.an-drawer__head .an-logo img {
	height: 36px;
}

.an-drawer__title {
	margin-top: 8px;
	color: var(--an-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.an-drawer__menu a {
	display: block;
	padding: 12px 0;
	border-bottom: 1px solid var(--an-line);
	color: var(--an-ink);
	font-size: 17px;
	font-weight: 700;
}

.an-drawer__menu .sub-menu a {
	padding-left: 16px;
	font-weight: 500;
}

.an-drawer__menu--small a {
	font-size: 15px;
	font-weight: 500;
}

.an-social--drawer a {
	background: var(--an-surface);
	color: var(--an-primary);
}

body.an-lock {
	overflow: hidden;
}

@keyframes an-fade {
	from {
		opacity: 0;
	}
}

@keyframes an-slide {
	from {
		transform: translateX(-100%);
	}
}

/* ---------- Títulos de seção ---------- */

.an-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
	border-bottom: 2px solid var(--an-line);
}

.an-section-title {
	position: relative;
	margin: 0;
	padding-bottom: 10px;
	font-family: var(--an-sans);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.an-section-title > span {
	position: relative;
	display: inline-block;
	color: var(--an-cat);
}

.an-section-title > span::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -12px;
	left: 0;
	height: 4px;
	background: var(--an-cat);
	border-radius: 2px;
}

.an-section-title a {
	color: inherit;
}

.an-section-more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding-bottom: 10px;
	color: var(--an-muted);
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.an-section-more:hover {
	color: var(--an-cat);
}

.an-widget .an-section-title {
	margin-bottom: 18px;
	border-bottom: 2px solid var(--an-line);
}

.an-widget .an-section-head .an-section-title {
	margin-bottom: 0;
	border-bottom: 0;
}

/* ---------- Cards ---------- */

.an-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.an-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--an-surface);
	border-radius: var(--an-radius);
}

.an-card__media .an-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.an-card:hover .an-card__media .an-img {
	transform: scale(1.035);
}

.an-img--placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #1c1c1f, var(--an-ink));
	color: rgb(255 255 255 / 45%);
}

.an-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.an-card__title {
	font-size: 19px;
	line-height: 1.25;
}

.an-card__title a:hover {
	color: var(--an-primary-600);
}

.an-card__excerpt {
	color: var(--an-muted);
	font-size: 15px;
	line-height: 1.5;
}

.an-card__meta {
	color: var(--an-muted);
	font-size: 13px;
}

.an-kicker {
	align-self: flex-start;
	color: var(--an-cat);
	font-family: var(--an-sans);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.07em;
	line-height: 1.3;
	text-transform: uppercase;
}

a.an-kicker:hover {
	color: var(--an-cat);
	text-decoration: underline;
}

.an-kicker--urgent {
	padding: 2px 8px;
	background: var(--an-urgent);
	color: #fff;
	border-radius: 4px;
}

/* Manchete com título sobre a foto */

.an-card--overlay {
	gap: 0;
	overflow: hidden;
	background: var(--an-ink);
	border-radius: var(--an-radius);
	isolation: isolate;
}

.an-card--overlay .an-card__media {
	aspect-ratio: 4 / 3;
	border-radius: 0;
}

.an-card--overlay .an-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 30%, rgb(8 14 20 / 55%) 60%, rgb(8 14 20 / 92%));
}

.an-card--overlay .an-card__body {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	gap: 10px;
	padding: 20px;
	pointer-events: none;
}

.an-card--overlay .an-card__body a {
	pointer-events: auto;
}

.an-card--overlay .an-kicker {
	padding: 3px 9px;
	background: var(--an-cat);
	color: #fff;
	border-radius: 4px;
}

.an-card--overlay .an-kicker--urgent {
	background: var(--an-urgent);
}

.an-card--overlay .an-card__title {
	color: #fff;
	font-size: clamp(22px, 5.6vw, 38px);
	line-height: 1.15;
	text-shadow: 0 1px 12px rgb(0 0 0 / 30%);
}

.an-card--overlay .an-card__title a:hover {
	color: #fff;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.an-card--overlay .an-card__meta {
	color: rgb(255 255 255 / 80%);
}

@media (min-width: 640px) {
	.an-card--overlay .an-card__media {
		aspect-ratio: 16 / 9;
	}

	.an-card--overlay .an-card__body {
		padding: 28px;
	}
}

/* Linha: miniatura + título */

.an-card--row {
	flex-direction: row;
	gap: 14px;
	align-items: flex-start;
}

.an-card--row .an-card__media {
	flex: 0 0 112px;
	border-radius: var(--an-radius-sm);
}

.an-card--row .an-card__title {
	font-size: 16px;
	line-height: 1.3;
}

.an-card--row .an-card__body {
	gap: 4px;
}

/* Lista: com resumo */

.an-card--list {
	flex-direction: row;
	gap: 16px;
	align-items: flex-start;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--an-line);
}

.an-card--list .an-card__media {
	flex: 0 0 112px;
	border-radius: var(--an-radius-sm);
}

.an-card--list .an-card__title {
	font-size: 18px;
}

.an-card--list .an-card__excerpt {
	display: none;
}

@media (min-width: 640px) {
	.an-card--list {
		gap: 24px;
	}

	.an-card--list .an-card__media {
		flex-basis: 260px;
		border-radius: var(--an-radius);
	}

	.an-card--list .an-card__title {
		font-size: 22px;
	}

	.an-card--list .an-card__excerpt {
		display: -webkit-box;
		overflow: hidden;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
	}
}

/* Só texto */

.an-card--text {
	gap: 4px;
	padding: 14px 0;
	border-bottom: 1px solid var(--an-line);
}

.an-card--text:first-child {
	padding-top: 0;
}

.an-card--text:last-child {
	border-bottom: 0;
}

.an-card--text .an-card__title {
	font-size: 17px;
	line-height: 1.3;
}

/* ---------- Grades e blocos ---------- */

.an-grid {
	display: grid;
	gap: 28px 24px;
}

@media (min-width: 640px) {
	.an-grid--2,
	.an-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.an-grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.an-block {
	margin-top: 40px;
}

.an-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.an-list > .an-card--overlay {
	margin-bottom: 8px;
}

.an-empty {
	margin: 40px 0;
	padding: 40px 24px;
	background: var(--an-surface);
	border-radius: var(--an-radius);
	text-align: center;
}

.an-empty h2 {
	margin-bottom: 8px;
}

.an-empty .an-searchform {
	margin: 20px auto 0;
}

/* Capa: manchete + chamadas */

.an-hero {
	display: grid;
	gap: 20px;
	margin-top: 20px;
}

.an-hero__side {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.an-hero__side .an-card--row {
	padding-bottom: 16px;
	border-bottom: 1px solid var(--an-line);
}

.an-hero__side .an-card--row:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

@media (min-width: 900px) {
	.an-hero {
		grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
		gap: 28px;
		margin-top: 28px;
	}

	.an-hero__lead .an-card--overlay,
	.an-hero__lead .an-card--overlay .an-card__media {
		height: 100%;
	}

	.an-hero__lead .an-card--overlay .an-card__media {
		aspect-ratio: auto;
		min-height: 440px;
	}

	.an-hero__side .an-card--row .an-card__media {
		flex-basis: 128px;
	}
}

/* Faixa de destaques: 2 colunas já no celular, para não virar uma tira longa de fotos. */
.an-strip.an-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 16px;
}

@media (max-width: 639px) {
	.an-strip .an-card {
		gap: 8px;
	}

	.an-strip .an-card__title {
		font-size: 16px;
	}

	.an-strip .an-card__media {
		border-radius: var(--an-radius-sm);
	}
}

@media (min-width: 1100px) {
	.an-strip.an-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 28px 24px;
	}
}

.an-strip {
	margin-top: 32px;
	padding-top: 28px;
	border-top: 1px solid var(--an-line);
}

/* Layout com barra lateral */

.an-layout {
	display: grid;
	gap: 40px;
	margin-top: 8px;
}

@media (min-width: 1000px) {
	.an-layout {
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 48px;
	}
}

.an-layout__side {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.an-layout__main > .an-block:first-child {
	margin-top: 40px;
}

@media (min-width: 1000px) {
	.an-sidebar {
		padding-top: 40px;
	}

	.an-layout--article .an-sidebar {
		padding-top: 24px;
	}

	.an-sticky-side {
		position: sticky;
		top: 80px;
	}
}

/* Mais lidas */

.an-mostread__list {
	counter-reset: an-rank;
}

.an-mostread__list li {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-height: 56px;
	padding: 14px 0 14px 52px;
	border-bottom: 1px solid var(--an-line);
	counter-increment: an-rank;
}

.an-mostread__list li:first-child {
	padding-top: 0;
}

.an-mostread__list li:first-child::before {
	top: -4px;
}

.an-mostread__list li:last-child {
	border-bottom: 0;
}

.an-mostread__list li::before {
	content: counter(an-rank);
	position: absolute;
	top: 10px;
	left: 0;
	width: 40px;
	color: var(--an-primary);
	font-family: var(--an-serif);
	font-size: 40px;
	font-weight: 800;
	line-height: 1;
	text-align: center;
	opacity: 0.25;
}

.an-mostread__list a {
	color: var(--an-ink);
	font-family: var(--an-serif);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.an-mostread__list a:hover {
	color: var(--an-primary-600);
}

/* Blocos por editoria */

.an-sections {
	display: grid;
	gap: 0 48px;
}

@media (min-width: 1000px) {
	.an-sections {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.an-sections > .an-ad {
		grid-column: 1 / -1;
	}
}

.an-catblock .an-section-title > span {
	color: var(--an-cat);
}

.an-catblock__grid {
	display: grid;
	gap: 20px;
}

@media (min-width: 640px) {
	.an-catblock__grid {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		gap: 24px;
	}
}

/* Chamada WhatsApp */

.an-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 20px;
	margin-top: 40px;
	padding: 24px;
	background: linear-gradient(120deg, var(--an-ink), #2a2a2e);
	color: #fff;
	border-radius: 14px;
}

.an-cta__icon {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 60px;
	height: 60px;
	background: #25d366;
	border-radius: 50%;
	color: #fff;
}

.an-cta__text {
	flex: 1 1 240px;
}

.an-cta h2 {
	color: #fff;
	font-size: 22px;
}

.an-cta p {
	margin-top: 4px;
	color: rgb(255 255 255 / 85%);
}

.an-sidebar .an-cta {
	flex-direction: column;
	align-items: flex-start;
	margin-top: 0;
}

.an-sidebar .an-cta__text {
	flex-basis: auto;
}

.an-sidebar .an-cta h2 {
	font-size: 19px;
}

/* ---------- Publicidade ---------- */

.an-ad {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
}

.an-ad__label {
	color: #8a929b;
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.an-ad img {
	height: auto;
	margin-inline: auto;
}

.an-ad--wide {
	margin-top: 40px;
	padding: 12px 0;
	border-block: 1px solid var(--an-line);
}

.an-ad--inline {
	margin: 32px 0;
	padding: 12px 0;
	border-block: 1px solid var(--an-line);
}

.an-ad--header {
	max-width: 728px;
}

/* ---------- Notícia ---------- */

.an-progress {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 60;
	height: 3px;
	pointer-events: none;
}

.an-progress span {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--an-accent);
	transform: scaleX(var(--an-progress, 0));
	transform-origin: 0 50%;
}

.an-article {
	min-width: 0;
}

.an-article__header {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding-top: 24px;
}

.an-article__title {
	font-size: clamp(28px, 6.5vw, 46px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.02em;
}

.an-article__dek {
	color: var(--an-muted);
	font-size: clamp(18px, 2.6vw, 21px);
	line-height: 1.45;
}

.an-article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	padding-top: 16px;
	border-top: 1px solid var(--an-line);
	color: var(--an-muted);
	font-size: 14px;
}

.an-byline {
	display: flex;
	align-items: center;
	gap: 12px;
}

.an-byline__avatar {
	border-radius: 50%;
}

.an-byline > span {
	display: flex;
	flex-direction: column;
	line-height: 1.4;
}

.an-byline__name {
	color: var(--an-text);
}

.an-byline__name strong {
	color: var(--an-ink);
}

.an-updated {
	display: inline;
}

.an-article__reading {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.an-article__figure {
	margin: 24px 0 0;
}

.an-article__figure img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--an-radius);
	background: var(--an-surface);
}

.an-article__figure figcaption {
	margin-top: 8px;
	color: var(--an-muted);
	font-size: 13px;
	line-height: 1.45;
}

.an-article__content {
	margin-top: 28px;
}

@media (max-width: 639px) {
	.an-article__figure {
		margin-inline: calc(var(--an-gutter) * -1);
	}

	.an-article__figure img {
		border-radius: 0;
	}

	.an-article__figure figcaption {
		padding-inline: var(--an-gutter);
	}
}

/* Tipografia do texto */

.an-prose {
	color: var(--an-text);
	font-size: 18px;
	line-height: 1.75;
	overflow-wrap: break-word;
}

@media (min-width: 640px) {
	.an-prose {
		font-size: 19px;
	}
}

.an-prose > * + * {
	margin-top: 1.1em;
}

.an-prose h2 {
	margin-top: 1.8em;
	font-size: 1.45em;
}

.an-prose h3 {
	margin-top: 1.6em;
	font-size: 1.22em;
}

.an-prose h2 + *,
.an-prose h3 + * {
	margin-top: 0.6em;
}

.an-prose a {
	color: var(--an-primary-600);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.an-prose a:hover {
	text-decoration-thickness: 2px;
}

.an-prose strong {
	color: var(--an-ink);
}

.an-prose ul,
.an-prose ol {
	padding-left: 1.3em;
}

.an-prose ul {
	list-style: disc;
}

.an-prose ol {
	list-style: decimal;
}

.an-prose li + li {
	margin-top: 0.4em;
}

.an-prose li::marker {
	color: var(--an-primary);
}

.an-prose blockquote,
.an-prose .wp-block-quote {
	margin: 1.6em 0;
	padding: 4px 0 4px 22px;
	border-left: 4px solid var(--an-accent);
	color: var(--an-ink);
	font-family: var(--an-serif);
	font-size: 1.15em;
	font-weight: 600;
	line-height: 1.5;
}

.an-prose blockquote cite {
	display: block;
	margin-top: 10px;
	color: var(--an-muted);
	font-family: var(--an-sans);
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
}

.an-prose .wp-block-pullquote {
	padding: 24px 0;
	border-block: 3px solid var(--an-primary);
	text-align: center;
}

.an-prose .wp-block-pullquote blockquote {
	border: 0;
	padding: 0;
}

.an-prose figure {
	margin-inline: 0;
}

.an-prose img {
	height: auto;
	border-radius: var(--an-radius-sm);
}

.an-prose figcaption,
.an-prose .wp-element-caption {
	margin-top: 8px;
	color: var(--an-muted);
	font-size: 14px;
	line-height: 1.45;
	text-align: left;
}

.an-prose .wp-block-embed iframe,
.an-prose iframe {
	width: 100%;
	border-radius: var(--an-radius-sm);
}

.an-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.85em;
}

.an-prose th,
.an-prose td {
	padding: 10px 12px;
	border: 1px solid var(--an-line);
	text-align: left;
}

.an-prose th {
	background: var(--an-surface);
}

.an-prose .wp-block-table {
	overflow-x: auto;
}

.an-prose hr {
	margin: 2em 0;
	border: 0;
	border-top: 1px solid var(--an-line);
}

.an-prose .alignwide,
.an-prose .alignfull {
	width: 100%;
}

.an-prose .aligncenter {
	margin-inline: auto;
}

@media (min-width: 640px) {
	.an-prose .alignleft {
		float: left;
		max-width: 45%;
		margin: 0.3em 1.4em 1em 0;
	}

	.an-prose .alignright {
		float: right;
		max-width: 45%;
		margin: 0.3em 0 1em 1.4em;
	}
}

/* Leia também */

.an-readmore {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 1.8em 0;
	padding: 16px 20px;
	background: var(--an-primary-050);
	border-left: 4px solid var(--an-primary);
	border-radius: 0 var(--an-radius-sm) var(--an-radius-sm) 0;
}

.an-readmore__label {
	color: var(--an-primary);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.an-prose .an-readmore a {
	color: var(--an-ink);
	font-family: var(--an-serif);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.an-prose .an-readmore a:hover {
	color: var(--an-primary-600);
	text-decoration: underline;
}

/* Compartilhar */

.an-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
}

.an-share__label {
	color: var(--an-muted);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.an-share ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.an-share__btn {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	background: var(--an-surface);
	border: 0;
	border-radius: 50%;
	color: var(--an-ink);
	transition: background-color 0.15s, color 0.15s, transform 0.15s;
}

.an-share__btn:hover {
	color: #fff;
	transform: translateY(-2px);
}

.an-share__btn--whatsapp {
	background: #25d366;
	color: #fff;
}

.an-share__btn--whatsapp:hover {
	background: #1da851;
}

.an-share__btn--facebook:hover {
	background: #1877f2;
}

.an-share__btn--x:hover {
	background: #000;
}

.an-share__btn--telegram:hover {
	background: #229ed9;
}

.an-share__btn--copy:hover,
.an-share__native .an-share__btn:hover {
	background: var(--an-primary);
}

.an-share__btn.is-done {
	background: var(--an-primary);
	color: #fff;
}

.an-share--top .an-share__label {
	display: none;
}

@media (min-width: 640px) {
	.an-share--top .an-share__label {
		display: inline;
	}
}

/* Rodapé da notícia */

.an-article__footer {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-top: 36px;
	padding-top: 24px;
	border-top: 1px solid var(--an-line);
}

.an-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.an-tags__label {
	margin-right: 4px;
	color: var(--an-muted);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.an-tags a {
	padding: 6px 14px;
	background: var(--an-surface);
	border-radius: 999px;
	color: var(--an-ink);
	font-size: 14px;
	font-weight: 600;
}

.an-tags a:hover {
	background: var(--an-primary);
	color: #fff;
}

.an-tip {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 20px;
	background: #e9f9ef;
	border: 1px solid #bfe9cf;
	border-radius: var(--an-radius);
	color: #14532d;
	font-size: 15px;
	line-height: 1.45;
}

.an-tip .an-icon {
	color: #25d366;
}

.an-tip:hover {
	color: #14532d;
	border-color: #25d366;
}

.an-authorbox {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px;
	background: var(--an-surface);
	border-radius: var(--an-radius);
}

.an-authorbox img {
	flex-shrink: 0;
	border-radius: 50%;
}

.an-authorbox__name {
	font-family: var(--an-serif);
	font-size: 18px;
	font-weight: 700;
}

.an-authorbox__bio {
	margin-top: 4px;
	color: var(--an-muted);
	font-size: 15px;
}

.an-related {
	margin-top: 48px;
}

/* ---------- Comentários ---------- */

.an-comments {
	margin-top: 48px;
}

.an-comments .an-section-title {
	margin-bottom: 20px;
	border-bottom: 2px solid var(--an-line);
}

.an-comments__list,
.an-comments__list .children {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.an-comments__list .children {
	margin-top: 20px;
	padding-left: 24px;
	border-left: 2px solid var(--an-line);
}

.an-comments .comment-body {
	padding: 16px 18px;
	background: var(--an-surface);
	border-radius: var(--an-radius);
	font-size: 15px;
}

.an-comments .comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
}

.an-comments .comment-author img {
	border-radius: 50%;
}

.an-comments .says {
	display: none;
}

.an-comments .comment-metadata {
	margin: 2px 0 8px 50px;
	color: var(--an-muted);
	font-size: 13px;
}

.an-comments .comment-content p + p {
	margin-top: 0.6em;
}

.an-comments .reply a {
	display: inline-block;
	margin-top: 8px;
	color: var(--an-primary-600);
	font-size: 13px;
	font-weight: 700;
}

.comment-respond {
	margin-top: 32px;
}

.comment-form {
	display: grid;
	gap: 16px;
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 700;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	background: #fff;
	border: 2px solid var(--an-line);
	border-radius: var(--an-radius-sm);
	font: inherit;
	font-size: 16px;
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--an-primary);
	outline: none;
}

.comment-notes,
.comment-form-cookies-consent {
	color: var(--an-muted);
	font-size: 14px;
}

.comment-form-cookies-consent {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

.comment-form-cookies-consent label {
	font-weight: 400;
}

.comment-form .comment-form-url {
	display: none;
}

/* ---------- Listagens ---------- */

.an-archive-head {
	padding: 24px 0 8px;
}

.an-archive-head__title {
	position: relative;
	padding-left: 16px;
	font-size: clamp(28px, 5vw, 40px);
	font-weight: 800;
}

.an-archive-head__title::before {
	content: "";
	position: absolute;
	top: 0.15em;
	bottom: 0.15em;
	left: 0;
	width: 5px;
	background: var(--an-cat);
	border-radius: 3px;
}

.an-archive-head__desc {
	max-width: 760px;
	margin-top: 10px;
	color: var(--an-muted);
	font-size: 17px;
}

.an-archive-head__page {
	margin-top: 6px;
	color: var(--an-muted);
	font-size: 14px;
}

.an-archive-head .an-searchform {
	margin-top: 20px;
}

.an-archive-head__author {
	display: flex;
	align-items: center;
	gap: 20px;
}

.an-archive-head__author img {
	border-radius: 50%;
}

.an-archive-head__author .an-archive-head__title {
	padding-left: 0;
}

.an-archive-head__author .an-archive-head__title::before {
	display: none;
}

.an-layout .an-list {
	margin-top: 24px;
}

.an-breadcrumbs {
	margin-bottom: 10px;
	color: var(--an-muted);
	font-size: 13px;
}

.an-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.an-breadcrumbs li + li::before {
	content: "›";
	margin-right: 4px;
	color: #a0a8b0;
}

.an-breadcrumbs a:hover {
	color: var(--an-primary-600);
	text-decoration: underline;
}

.an-article__header .an-breadcrumbs {
	margin-bottom: 0;
}

.an-pagination {
	margin-top: 36px;
}

.an-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.an-pagination a,
.an-pagination span {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--an-line);
	border-radius: 999px;
	color: var(--an-ink);
	font-weight: 700;
}

.an-pagination a:hover {
	border-color: var(--an-primary);
	color: var(--an-primary);
}

.an-pagination .current {
	background: var(--an-primary);
	border-color: var(--an-primary);
	color: #fff;
}

.an-pagination .dots {
	border: 0;
}

/* 404 */

.an-404 {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	max-width: 640px;
	margin: 48px auto 0;
	text-align: center;
}

.an-404__code {
	color: var(--an-primary);
	font-family: var(--an-serif);
	font-size: 96px;
	font-weight: 800;
	line-height: 1;
	opacity: 0.2;
}

.an-404 h1 {
	font-size: clamp(26px, 5vw, 36px);
}

.an-404 p {
	color: var(--an-muted);
}

/* Contato */

.an-contact-cards {
	display: grid;
	gap: 12px;
	padding: 0 !important;
	list-style: none !important;
}

@media (min-width: 640px) {
	.an-contact-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.an-contact-cards li {
	margin: 0 !important;
}

.an-contact-cards a,
.an-contact-cards div {
	display: flex;
	align-items: center;
	gap: 14px;
	height: 100%;
	padding: 18px;
	background: var(--an-surface);
	border: 1px solid var(--an-line);
	border-radius: var(--an-radius);
	color: var(--an-ink) !important;
	font-size: 16px;
	line-height: 1.4;
	text-decoration: none !important;
}

.an-contact-cards a:hover {
	border-color: var(--an-primary);
}

.an-contact-cards .an-icon {
	color: var(--an-primary);
}

.an-contact-cards strong {
	display: block;
	color: var(--an-muted);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.an-notice {
	padding: 14px 18px;
	background: #fff8e6;
	border: 1px solid #f5d98b;
	border-radius: var(--an-radius-sm);
	font-size: 15px;
}

/* ---------- Rodapé ---------- */

.an-footer {
	background: var(--an-ink);
	border-top: 4px solid var(--an-brand);
	color: rgb(255 255 255 / 78%);
	font-size: 15px;
}

.an-footer a:hover {
	color: #fff;
}

.an-footer__grid {
	display: grid;
	gap: 36px;
	padding-block: 48px;
}

@media (min-width: 640px) {
	.an-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.an-footer__grid {
		grid-template-columns: 1.5fr 1.2fr 1fr 1fr;
		gap: 48px;
	}
}

.an-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.an-footer .an-logo img {
	height: 56px;
}

.an-footer__title {
	margin-bottom: 16px;
	color: #fff;
	font-family: var(--an-sans);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.an-footer__cats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 16px;
}

.an-footer__col nav li + li,
.an-footer__contact li + li {
	margin-top: 10px;
}

.an-footer__contact li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.an-footer__contact a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.an-social--footer a {
	background: rgb(255 255 255 / 8%);
	color: #fff;
}

.an-social--footer a:hover {
	background: var(--an-primary);
}

.an-footer__bottom {
	border-top: 1px solid rgb(255 255 255 / 10%);
	font-size: 13px;
}

.an-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 20px;
}

.an-footer__credit a {
	color: #fff;
	font-weight: 700;
}

/* ---------- Flutuantes ---------- */

.an-totop {
	position: fixed;
	right: 16px;
	bottom: 20px;
	z-index: 50;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	background: var(--an-primary);
	border-radius: 50%;
	box-shadow: var(--an-shadow);
	color: #fff;
	animation: an-fade 0.2s;
}

.an-totop:hover {
	background: var(--an-primary-600);
	color: #fff;
}

.an-cookie {
	position: fixed;
	right: 16px;
	bottom: 16px;
	left: 16px;
	z-index: 90;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	max-width: 560px;
	padding: 16px 20px;
	background: var(--an-ink);
	border-radius: var(--an-radius);
	box-shadow: 0 8px 32px rgb(0 0 0 / 25%);
	color: rgb(255 255 255 / 90%);
	font-size: 14px;
}

.an-cookie p {
	flex: 1 1 260px;
}

.an-cookie a {
	color: #fff;
	text-decoration: underline;
}

.an-cookie .an-btn {
	background: var(--an-primary);
	color: #fff;
}

@media (min-width: 640px) {
	.an-cookie {
		right: auto;
		left: 24px;
		bottom: 24px;
	}
}

/* ---------- WordPress ---------- */

.alignnone,
.aligncenter,
.alignleft,
.alignright {
	margin-bottom: 1em;
}

.wp-caption {
	max-width: 100%;
}

.sticky,
.bypostauthor,
.gallery-caption {
	/* Classes exigidas pelo WordPress. */
	outline: 0;
}

.an-widget ul li {
	padding: 8px 0;
	border-bottom: 1px solid var(--an-line);
}

@media print {
	.an-topbar,
	.an-nav,
	.an-ticker,
	.an-sidebar,
	.an-share,
	.an-footer,
	.an-comments,
	.an-related,
	.an-ad,
	.an-cookie,
	.an-totop,
	.an-progress,
	.an-tip {
		display: none !important;
	}

	.an-layout {
		display: block;
	}
}
