/* =======================================================================
   AceleradoraPRO — Blog editorial
   Carregado só nas páginas do blog (listagem, categoria, busca, post
   individual) — ver ap_blog_enqueue_assets() em inc/blog.php. Reaproveita
   os tokens (--ap-*) e componentes (.ap-container, .ap-btn, .ap-post-card,
   .ap-post-list…) já definidos em main.css.
   ======================================================================= */

/* -----------------------------------------------------------------------
   Largura de leitura — corpo do artigo entre 720 e 780px.
   ----------------------------------------------------------------------- */

.ap-container--article {
	max-width: 780px;
}

/* -----------------------------------------------------------------------
   Hero compacto (listagem, categoria, busca) — fundo escuro + glows, igual
   ao restante do site; a versão do /blog/ ganha filtros + busca embaixo.
   ----------------------------------------------------------------------- */

.ap-page-hero {
	position: relative;
	overflow: hidden;
	padding-top: 72px;
	padding-bottom: 40px;
	background-color: var(--ap-dark-bg);
	background-image: linear-gradient(160deg, var(--ap-dark-bg) 0%, var(--ap-dark-bg-secondary) 100%);
}

.ap-page-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.ap-page-hero__shape {
	position: absolute;
	border-radius: 50%;
}

.ap-page-hero__shape--1 {
	width: 420px;
	height: 420px;
	top: -200px;
	right: -100px;
	background: radial-gradient(circle at 35% 35%, rgba(7, 110, 245, 0.32), rgba(7, 110, 245, 0) 70%);
}

.ap-page-hero__shape--2 {
	width: 220px;
	height: 220px;
	left: -90px;
	bottom: -120px;
	background: radial-gradient(circle at 50% 50%, rgba(255, 121, 0, 0.22), rgba(255, 121, 0, 0) 70%);
}

.ap-page-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 760px;
}

.ap-page-hero__title {
	font-size: clamp(2.25rem, 3.4vw, 3rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--ap-white);
	margin-bottom: 16px;
}

.ap-page-hero__lead {
	font-size: 17px;
	line-height: 1.7;
	color: var(--ap-text-on-dark);
	max-width: 620px;
	margin-bottom: 8px;
}

@media (max-width: 768px) {
	.ap-page-hero {
		padding-top: 56px;
		padding-bottom: 32px;
	}
}

/* -----------------------------------------------------------------------
   Filtros de categoria + busca
   ----------------------------------------------------------------------- */

.ap-blog-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ap-blog-filters__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ap-blog-filters__tab {
	display: inline-flex;
	align-items: center;
	padding: 9px 16px;
	border-radius: var(--ap-radius-pill);
	font-family: var(--ap-font-heading);
	font-size: 13.5px;
	font-weight: 700;
	color: var(--ap-text-on-dark);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	white-space: nowrap;
}

.ap-blog-filters__tab:hover {
	color: var(--ap-white);
	border-color: rgba(255, 255, 255, 0.3);
}

.ap-blog-filters__tab.is-active {
	background: var(--ap-orange);
	border-color: var(--ap-orange);
	color: var(--ap-white);
}

.ap-blog-filters__search {
	position: relative;
	flex: 1 1 240px;
	max-width: 320px;
}

.ap-blog-filters__search-icon {
	position: absolute;
	top: 50%;
	left: 14px;
	translate: 0 -50%;
	display: flex;
	color: rgba(255, 255, 255, 0.45);
	pointer-events: none;
}

.ap-blog-filters__search-icon svg {
	width: 16px;
	height: 16px;
}

.ap-blog-filters__search-input {
	width: 100%;
	height: 44px;
	padding: 0 16px 0 40px;
	border-radius: var(--ap-radius-pill);
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.06);
	color: var(--ap-white);
	font-size: 14px;
	font-family: var(--ap-font-body);
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ap-blog-filters__search-input::placeholder {
	color: rgba(255, 255, 255, 0.45);
}

.ap-blog-filters__search-input:focus {
	outline: none;
	border-color: var(--ap-orange);
	background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 599px) {
	.ap-blog-filters__search {
		max-width: none;
		flex-basis: 100%;
	}
}

/* -----------------------------------------------------------------------
   Artigo em destaque
   ----------------------------------------------------------------------- */

.ap-featured-post {
	margin-top: 56px;
	margin-bottom: 64px;
}

.ap-featured-post__eyebrow {
	font-family: var(--ap-font-heading);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ap-orange);
	margin-bottom: 16px;
}

.ap-featured-post__card {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 40px;
	align-items: center;
	padding: 16px;
	border-radius: var(--ap-radius-lg);
	border: 1px solid var(--ap-gray-100);
	background: var(--ap-white);
	transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.ap-featured-post__card:hover {
	box-shadow: var(--ap-shadow-lg);
	border-color: var(--ap-blue-light);
	transform: translateY(-4px);
}

.ap-featured-post__media {
	aspect-ratio: 16/9;
	border-radius: var(--ap-radius-md);
	overflow: hidden;
	background: var(--ap-gray-50);
}

.ap-featured-post__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ap-featured-post__body {
	padding: 16px 28px 16px 0;
}

.ap-featured-post__title {
	font-size: clamp(1.5rem, 2vw, 2rem);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--ap-blue-dark);
	margin: 8px 0 14px;
}

.ap-featured-post__excerpt {
	font-size: 16px;
	line-height: 1.7;
	color: var(--ap-gray-600);
	margin-bottom: 18px;
}

.ap-featured-post__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 20px;
	font-family: var(--ap-font-heading);
	font-size: 15px;
	font-weight: 800;
	color: var(--ap-blue);
}

.ap-featured-post__link svg {
	width: 18px;
	height: 18px;
	transition: transform 0.2s var(--ap-ease);
}

.ap-featured-post__card:hover .ap-featured-post__link svg {
	transform: translateX(4px);
}

@media (max-width: 899px) {
	.ap-featured-post__card {
		grid-template-columns: 1fr;
	}

	.ap-featured-post__body {
		padding: 8px 8px 16px;
	}
}

/* -----------------------------------------------------------------------
   "Últimos conteúdos" + paginação
   ----------------------------------------------------------------------- */

.ap-post-grid__title {
	font-size: clamp(1.375rem, 2vw, 1.75rem);
	font-weight: 800;
	color: var(--ap-blue-dark);
	margin-bottom: 28px;
}

.ap-pagination,
.pagination,
.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 24px;
	margin-bottom: 16px;
}

.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 10px;
	border-radius: var(--ap-radius-sm);
	border: 1px solid var(--ap-gray-100);
	font-family: var(--ap-font-heading);
	font-size: 14px;
	font-weight: 700;
	color: var(--ap-blue-dark);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav-links .page-numbers:hover {
	border-color: var(--ap-blue);
	color: var(--ap-blue);
}

.nav-links .page-numbers.current {
	background: var(--ap-blue-dark);
	border-color: var(--ap-blue-dark);
	color: var(--ap-white);
}

.nav-links .page-numbers.dots {
	border-color: transparent;
}

/* -----------------------------------------------------------------------
   Empty state (busca/categoria sem resultado)
   ----------------------------------------------------------------------- */

.ap-blog-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 14px;
	max-width: 420px;
	margin: 32px auto 64px;
	padding: 48px 24px;
}

.ap-blog-empty__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--ap-gray-50);
	color: var(--ap-gray-300);
	margin-bottom: 6px;
}

.ap-blog-empty__icon svg {
	width: 26px;
	height: 26px;
}

.ap-blog-empty__title {
	font-family: var(--ap-font-heading);
	font-size: 18px;
	font-weight: 800;
	color: var(--ap-blue-dark);
}

.ap-blog-empty__text {
	font-size: 15px;
	color: var(--ap-gray-600);
	margin-bottom: 8px;
}

/* -----------------------------------------------------------------------
   Breadcrumb
   ----------------------------------------------------------------------- */

.ap-breadcrumb {
	margin-top: 28px;
	margin-bottom: 20px;
}

.ap-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--ap-gray-300);
}

.ap-breadcrumb__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	/* Permite ao item encolher/truncar dentro da linha do flex em vez de
	   empurrar a página pra largura do texto sem quebra (min-width:auto é o
	   padrão do flex, e ignoraria o max-width do item ativo abaixo). */
	min-width: 0;
	max-width: 100%;
}

.ap-breadcrumb__item a {
	color: var(--ap-gray-600);
	transition: color 0.2s ease;
}

.ap-breadcrumb__item a:hover {
	color: var(--ap-blue);
}

.ap-breadcrumb__item [aria-current='page'] {
	color: var(--ap-gray-300);
	/* Trava em 1 linha com reticências — título do artigo pode ser longo.
	   100% (não um ch fixo) porque o espaço real varia com os itens
	   anteriores e a largura da tela; min-width:0 no item pai acima é o que
	   permite esse limite valer de verdade dentro do flex. */
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: inline-block;
	vertical-align: bottom;
}

/* -----------------------------------------------------------------------
   Cabeçalho do artigo
   ----------------------------------------------------------------------- */

.ap-article__header {
	padding-bottom: 40px;
}

.ap-article__category {
	margin-bottom: 18px;
}

.ap-article__title {
	font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--ap-blue-dark);
	margin-bottom: 18px;
}

.ap-article__subheadline {
	font-size: 19px;
	line-height: 1.6;
	color: var(--ap-gray-600);
	margin-bottom: 22px;
}

.ap-article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--ap-gray-300);
	margin-bottom: 24px;
}

.ap-article__meta-author {
	font-weight: 700;
	color: var(--ap-blue-dark);
}

.ap-article__media {
	margin-top: 8px;
}

.ap-article__media img {
	width: 100%;
	max-height: 560px;
	object-fit: cover;
	border-radius: var(--ap-radius-lg);
}

/* -----------------------------------------------------------------------
   Compartilhamento (topo/rodapé em linha + coluna sticky no desktop)
   ----------------------------------------------------------------------- */

.ap-share {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ap-share__label {
	font-family: var(--ap-font-heading);
	font-size: 13px;
	font-weight: 700;
	color: var(--ap-gray-300);
	margin-right: 2px;
}

.ap-share__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--ap-gray-100);
	background: var(--ap-white);
	color: var(--ap-blue-dark);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ap-share__btn svg {
	width: 18px;
	height: 18px;
}

.ap-share__btn:hover {
	transform: translateY(-2px);
	border-color: transparent;
	color: var(--ap-white);
}

.ap-share__btn--whatsapp:hover { background: #25D366; }
.ap-share__btn--linkedin:hover { background: #0A66C2; }
.ap-share__btn--facebook:hover { background: #1877F2; }
.ap-share__btn--copy:hover     { background: var(--ap-blue); }

.ap-share__copy-feedback {
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	translate: -50% 0;
	padding: 6px 12px;
	border-radius: var(--ap-radius-sm);
	background: var(--ap-blue-dark);
	color: var(--ap-white);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease, translate 0.2s ease;
}

.ap-share__copy-feedback.is-visible {
	opacity: 1;
	translate: -50% -4px;
}

/* Rail sticky no desktop */
.ap-share--rail {
	flex-direction: column;
	position: sticky;
	top: calc(var(--ap-header-height) + 24px);
}

.ap-post-layout__rail {
	display: none;
}

/* -----------------------------------------------------------------------
   Barra de progresso de leitura
   ----------------------------------------------------------------------- */

.ap-reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	z-index: 200;
	background: transparent;
	pointer-events: none;
}

.ap-reading-progress__bar {
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, var(--ap-orange), var(--ap-blue));
	transition: width 0.1s linear;
}

/* -----------------------------------------------------------------------
   Índice do artigo (TOC)
   ----------------------------------------------------------------------- */

.ap-toc {
	border: 1px solid var(--ap-gray-100);
	border-radius: var(--ap-radius-md);
	background: var(--ap-gray-50);
	overflow: hidden;
}

.ap-toc--inline {
	margin-bottom: 40px;
}

.ap-toc__toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 16px 18px;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
}

.ap-toc__toggle-icon {
	display: flex;
	color: var(--ap-blue);
	flex-shrink: 0;
}

.ap-toc__toggle-icon svg {
	width: 18px;
	height: 18px;
}

.ap-toc__title {
	flex: 1;
	font-family: var(--ap-font-heading);
	font-size: 15px;
	font-weight: 800;
	color: var(--ap-blue-dark);
}

.ap-toc__chevron {
	display: flex;
	color: var(--ap-gray-300);
	transition: transform 0.25s ease;
}

.ap-toc__chevron svg {
	width: 16px;
	height: 16px;
}

.ap-toc__toggle[aria-expanded='true'] .ap-toc__chevron {
	transform: rotate(180deg);
}

.ap-toc__list {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 4px 10px 14px;
	list-style: none;
}

.ap-toc__toggle[aria-expanded='false'] + .ap-toc__list {
	display: none;
}

.ap-toc__item a {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 7px 8px;
	border-radius: var(--ap-radius-sm);
	font-size: 14px;
	line-height: 1.4;
	color: var(--ap-gray-600);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ap-toc__item--level-3 a {
	padding-left: 26px;
	font-size: 13.5px;
}

.ap-toc__index {
	flex-shrink: 0;
	font-family: var(--ap-font-heading);
	font-weight: 700;
	color: var(--ap-gray-300);
}

.ap-toc__item a:hover {
	background: var(--ap-blue-light);
	color: var(--ap-blue);
}

.ap-toc__item.is-active a {
	background: var(--ap-blue-light);
	color: var(--ap-blue);
}

.ap-toc__item.is-active .ap-toc__index {
	color: var(--ap-blue);
}

/* -----------------------------------------------------------------------
   Layout do post: [rail] [conteúdo] [TOC sticky] no desktop amplo.
   ----------------------------------------------------------------------- */

.ap-post-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
}

.ap-post-layout__toc {
	display: none;
}

@media (min-width: 1181px) {
	.ap-post-layout {
		grid-template-columns: 64px minmax(0, 780px) 260px;
		justify-content: center;
		align-items: start;
		column-gap: 40px;
	}

	.ap-post-layout__rail {
		display: block;
		position: relative;
	}

	.ap-post-layout__toc {
		display: block;
		position: sticky;
		top: calc(var(--ap-header-height) + 24px);
	}

	/* No desktop o índice mora só na barra lateral. */
	.ap-toc--inline {
		display: none;
	}
}

@media (max-width: 1180px) {
	/* Abaixo do breakpoint o índice mora só dentro do conteúdo. */
	.ap-toc--sidebar {
		display: none;
	}
}

/* -----------------------------------------------------------------------
   Corpo do artigo — tipografia editorial
   ----------------------------------------------------------------------- */

.ap-content-body {
	font-size: 18px;
	line-height: 1.85;
	color: var(--ap-gray-900);
}

.ap-content-body > * {
	margin-top: 0;
	margin-bottom: 26px;
}

.ap-content-body > *:last-child {
	margin-bottom: 0;
}

.ap-content-body h2 {
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem);
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--ap-blue-dark);
	margin-top: 56px;
	margin-bottom: 20px;
	scroll-margin-top: calc(var(--ap-header-height) + 20px);
}

.ap-content-body h3 {
	font-size: clamp(1.1875rem, 1.05rem + 0.6vw, 1.375rem);
	font-weight: 800;
	line-height: 1.35;
	color: var(--ap-blue-dark);
	margin-top: 40px;
	margin-bottom: 16px;
	scroll-margin-top: calc(var(--ap-header-height) + 20px);
}

.ap-content-body h4 {
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--ap-blue-dark);
	margin-top: 32px;
	margin-bottom: 14px;
}

.ap-content-body p {
	margin-bottom: 26px;
}

.ap-content-body strong { color: var(--ap-blue-dark); }
.ap-content-body em { color: inherit; }

.ap-content-body a {
	color: var(--ap-blue);
	text-decoration: underline;
	text-decoration-color: rgba(7, 110, 245, 0.35);
	text-underline-offset: 3px;
	transition: text-decoration-color 0.2s ease;
}

.ap-content-body a:hover {
	text-decoration-color: currentColor;
}

/* Link externo: pequeno indicativo visual (sem depender de rel/target, que
   o próprio editor decide ao inserir o link). */
.ap-content-body a[href^='http']:not([href*='aceleradorapro.com.br']):not([href*='localhost'])::after {
	content: '↗';
	display: inline-block;
	margin-left: 2px;
	font-size: 0.8em;
	text-decoration: none;
}

.ap-content-body ul,
.ap-content-body ol {
	padding-left: 1.4em;
	margin-bottom: 26px;
}

.ap-content-body li {
	margin-bottom: 10px;
	line-height: 1.75;
}

.ap-content-body li > ul,
.ap-content-body li > ol {
	margin-top: 10px;
	margin-bottom: 0;
}

.ap-content-body ul {
	list-style: none;
	padding-left: 0.2em;
}

.ap-content-body ul > li {
	position: relative;
	padding-left: 1.6em;
}

.ap-content-body ul > li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.65em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ap-orange);
}

.ap-content-body ol {
	list-style: none;
	counter-reset: ap-ol;
	padding-left: 0.2em;
}

.ap-content-body ol > li {
	position: relative;
	padding-left: 2.1em;
	counter-increment: ap-ol;
}

.ap-content-body ol > li::before {
	content: counter(ap-ol);
	position: absolute;
	left: 0;
	top: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5em;
	height: 1.5em;
	border-radius: 50%;
	background: var(--ap-blue-light);
	color: var(--ap-blue);
	font-family: var(--ap-font-heading);
	font-size: 0.75em;
	font-weight: 800;
}

.ap-content-body blockquote {
	position: relative;
	margin: 36px 0;
	padding: 28px 32px 28px 64px;
	border-radius: var(--ap-radius-md);
	background: var(--ap-blue-light);
	color: var(--ap-blue-dark);
	font-size: 1.05em;
	font-style: italic;
	line-height: 1.7;
}

.ap-content-body blockquote::before {
	content: '“';
	position: absolute;
	top: 8px;
	left: 22px;
	font-family: Georgia, serif;
	font-style: normal;
	font-size: 48px;
	line-height: 1;
	color: var(--ap-blue);
	opacity: 0.45;
}

.ap-content-body blockquote p {
	margin-bottom: 0;
}

.ap-content-body blockquote p + p {
	margin-top: 14px;
}

.ap-content-body figure {
	margin: 36px 0;
}

.ap-content-body img {
	max-width: 100%;
	height: auto;
	border-radius: var(--ap-radius-md);
	display: block;
}

.ap-content-body figure img {
	margin: 0 auto;
}

.ap-content-body figcaption {
	margin-top: 12px;
	text-align: center;
	font-size: 14px;
	color: var(--ap-gray-300);
}

.ap-content-body hr {
	margin: 48px 0;
	border: none;
	border-top: 1px solid var(--ap-gray-100);
}

.ap-content-body pre {
	margin: 28px 0;
	padding: 20px 24px;
	border-radius: var(--ap-radius-md);
	background: var(--ap-blue-dark);
	color: rgba(255, 255, 255, 0.92);
	overflow-x: auto;
	font-size: 14px;
	line-height: 1.6;
}

.ap-content-body code {
	font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
	font-size: 0.88em;
}

.ap-content-body :not(pre) > code {
	padding: 2px 7px;
	border-radius: 6px;
	background: var(--ap-gray-50);
	color: var(--ap-orange-hover);
}

.ap-content-body pre code {
	padding: 0;
	background: none;
	color: inherit;
}

.ap-content-body table {
	width: 100%;
	border-collapse: collapse;
	margin: 32px 0;
	font-size: 15px;
}

.ap-content-body th,
.ap-content-body td {
	padding: 12px 16px;
	border: 1px solid var(--ap-gray-100);
	text-align: left;
	vertical-align: top;
}

.ap-content-body th {
	background: var(--ap-gray-50);
	font-family: var(--ap-font-heading);
	font-weight: 800;
	color: var(--ap-blue-dark);
}

.ap-content-body tr:nth-child(even) td {
	background: var(--ap-gray-50);
}

@media (max-width: 599px) {
	/* Tabela some rolando na horizontal por dentro, nunca a página inteira. */
	.ap-content-body table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}
}

/* Caixas editoriais — disponíveis para uso dentro do conteúdo do artigo
   (ver o guia de uso no relatório final: classes prontas para colar via
   HTML/Texto no editor). */
.ap-callout {
	margin: 32px 0;
	padding: 22px 26px;
	border-radius: var(--ap-radius-md);
	border-left: 4px solid var(--ap-blue);
	background: var(--ap-blue-light);
}

.ap-callout__label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--ap-font-heading);
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ap-blue);
	margin-bottom: 10px;
}

.ap-callout p:last-child {
	margin-bottom: 0;
}

.ap-callout--tip {
	border-left-color: var(--ap-orange);
	background: #FFF3E8;
}

.ap-callout--tip .ap-callout__label {
	color: var(--ap-orange-hover);
}

.ap-callout--important {
	border-left-color: var(--ap-blue-dark);
	background: var(--ap-gray-50);
}

.ap-callout--important .ap-callout__label {
	color: var(--ap-blue-dark);
}

.ap-callout--summary {
	border-left-color: #0B8F79;
	background: #E9F7F4;
}

.ap-callout--summary .ap-callout__label {
	color: #0B8F79;
}

/* -----------------------------------------------------------------------
   CTA dentro do artigo
   ----------------------------------------------------------------------- */

.ap-article-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin: 48px 0;
	padding: 32px;
	border-radius: var(--ap-radius-lg);
	background: linear-gradient(135deg, var(--ap-dark-bg) 0%, var(--ap-dark-bg-secondary) 100%);
}

.ap-article-cta__body {
	flex: 1 1 340px;
}

.ap-article-cta__title {
	font-family: var(--ap-font-heading);
	font-size: 19px;
	font-weight: 800;
	color: var(--ap-white);
	margin-bottom: 8px;
}

.ap-article-cta__text {
	font-size: 15px;
	line-height: 1.6;
	color: var(--ap-text-on-dark);
}

.ap-article-cta__btn {
	flex-shrink: 0;
}

@media (max-width: 599px) {
	.ap-article-cta {
		padding: 26px 22px;
	}

	.ap-article-cta__btn {
		width: 100%;
	}
}

/* -----------------------------------------------------------------------
   Card "Sobre a AceleradoraPRO"
   ----------------------------------------------------------------------- */

.ap-about-card {
	display: flex;
	align-items: center;
	gap: 20px;
	margin: 48px 0;
	padding: 24px;
	border-radius: var(--ap-radius-lg);
	border: 1px solid var(--ap-gray-100);
	background: var(--ap-gray-50);
}

.ap-about-card__logo {
	flex-shrink: 0;
	border-radius: var(--ap-radius-sm);
	background: var(--ap-white);
	padding: 8px;
	border: 1px solid var(--ap-gray-100);
}

.ap-about-card__eyebrow {
	font-family: var(--ap-font-heading);
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ap-blue);
	margin-bottom: 6px;
}

.ap-about-card__text {
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--ap-gray-600);
	margin-bottom: 10px;
}

.ap-about-card__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--ap-font-heading);
	font-size: 14px;
	font-weight: 800;
	color: var(--ap-blue);
}

.ap-about-card__link svg {
	width: 16px;
	height: 16px;
}

@media (max-width: 480px) {
	.ap-about-card {
		flex-direction: column;
		text-align: center;
	}
}

/* -----------------------------------------------------------------------
   Relacionados
   ----------------------------------------------------------------------- */

.ap-related {
	margin: 56px 0 8px;
}

.ap-related__title {
	font-size: clamp(1.25rem, 1.8vw, 1.5rem);
	font-weight: 800;
	color: var(--ap-blue-dark);
	margin-bottom: 24px;
}

.ap-related .ap-post-list {
	grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 899px) {
	.ap-related .ap-post-list {
		grid-template-columns: 1fr;
	}
}

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

.ap-comments {
	margin-top: 56px;
	padding-top: 40px;
	border-top: 1px solid var(--ap-gray-100);
}

.ap-comments__title {
	font-size: clamp(1.25rem, 1.8vw, 1.5rem);
	font-weight: 800;
	color: var(--ap-blue-dark);
	margin-bottom: 28px;
}

.ap-comments__list,
.ap-comments__children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ap-comments__children {
	margin-top: 24px;
	padding-left: 28px;
	border-left: 2px solid var(--ap-gray-100);
}

.ap-comment + .ap-comment,
.ap-comments__list > .ap-comment {
	margin-top: 28px;
}

.ap-comment__inner {
	display: flex;
	gap: 16px;
}

.ap-comment__avatar img {
	display: block;
	width: 48px;
	height: 48px;
	border-radius: 50%;
}

.ap-comment__body {
	flex: 1;
	min-width: 0;
}

.ap-comment__header {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 6px;
}

.ap-comment__author {
	font-family: var(--ap-font-heading);
	font-weight: 800;
	color: var(--ap-blue-dark);
}

.ap-comment__date {
	font-size: 13px;
	color: var(--ap-gray-300);
}

.ap-comment__date:hover {
	color: var(--ap-blue);
}

.ap-comment__pending {
	display: inline-block;
	margin-bottom: 10px;
	padding: 4px 10px;
	border-radius: var(--ap-radius-pill);
	background: #FFF3E8;
	color: var(--ap-orange-hover);
	font-size: 12.5px;
	font-weight: 700;
}

.ap-comment__text {
	font-size: 15.5px;
	line-height: 1.75;
	color: var(--ap-gray-900);
}

.ap-comment__text p {
	margin: 0 0 14px;
}

.ap-comment__text p:last-child {
	margin-bottom: 0;
}

.ap-comment__reply {
	margin-top: 10px;
}

.ap-comment__reply-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--ap-font-heading);
	font-size: 13px;
	font-weight: 700;
	color: var(--ap-blue);
}

.ap-comment__reply-icon {
	display: inline-flex;
}

.ap-comment__reply-icon svg {
	width: 14px;
	height: 14px;
}

.ap-comments__pagination {
	display: flex;
	justify-content: center;
	margin-top: 24px;
}

.ap-comments__closed {
	margin-top: 24px;
	padding: 16px 20px;
	border-radius: var(--ap-radius-md);
	background: var(--ap-gray-50);
	color: var(--ap-gray-600);
	font-size: 14.5px;
}

/* -----------------------------------------------------------------------
   Formulário de comentário
   ----------------------------------------------------------------------- */

.ap-comment-form-wrap {
	margin-top: 48px;
	padding: 32px;
	border-radius: var(--ap-radius-lg);
	background: var(--ap-gray-50);
}

.ap-comment-form__title {
	font-size: 19px;
	font-weight: 800;
	color: var(--ap-blue-dark);
	margin-bottom: 20px;
}

.ap-comment-form {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
}

.ap-comment-form__row {
	width: 100%;
	margin: 0;
}

.ap-comment-form__row--half {
	width: calc(50% - 9px);
}

.ap-comment-form__row label {
	display: block;
	margin-bottom: 8px;
	font-family: var(--ap-font-heading);
	font-size: 13.5px;
	font-weight: 700;
	color: var(--ap-blue-dark);
}

.ap-comment-form__required {
	color: var(--ap-orange);
}

.ap-comment-form__input,
.ap-comment-form__textarea {
	width: 100%;
	padding: 13px 16px;
	border-radius: var(--ap-radius-sm);
	border: 1.5px solid var(--ap-gray-100);
	background: var(--ap-white);
	font-family: var(--ap-font-body);
	font-size: 15px;
	color: var(--ap-gray-900);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ap-comment-form__textarea {
	resize: vertical;
	min-height: 150px;
	line-height: 1.6;
}

.ap-comment-form__input:focus,
.ap-comment-form__textarea:focus {
	outline: none;
	border-color: var(--ap-blue);
	box-shadow: 0 0 0 4px rgba(7, 110, 245, 0.12);
}

.ap-comment-form__row--checkbox {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ap-comment-form__row--checkbox label {
	margin-bottom: 0;
	font-weight: 500;
	color: var(--ap-gray-600);
}

.ap-comment-form__row--checkbox input[type='checkbox'] {
	width: 18px;
	height: 18px;
	accent-color: var(--ap-blue);
	flex-shrink: 0;
}

.ap-comment-form__row--submit {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 6px;
}

.ap-comment-form__logged-in {
	width: 100%;
	font-size: 14.5px;
	color: var(--ap-gray-600);
}

.ap-comment-form__turnstile {
	width: 100%;
}

/* Honeypot: mesma técnica "visualmente oculto" de .screen-reader-text (main.css)
   — invisível para humanos, mas sem deslocamento negativo que poderia abrir
   scroll horizontal na página. O rótulo "deixe em branco" garante que quem
   usa leitor de tela também saiba para não preencher. */
.ap-hp-field {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Mensagens de erro/sucesso — quando um plugin/hook usar .ap-comment-form
   (ex.: erro nativo de comentário duplicado). */
.ap-comment-form .form-allowed-tags,
.ap-comment-form .comment-form-comment ~ p:not([class]) {
	width: 100%;
	font-size: 13px;
	color: var(--ap-gray-300);
}

@media (max-width: 599px) {
	.ap-comment-form-wrap {
		padding: 22px 18px;
	}

	.ap-comment-form__row--half {
		width: 100%;
	}

	.ap-comment__inner {
		gap: 12px;
	}

	.ap-comment__avatar img {
		width: 38px;
		height: 38px;
	}

	.ap-comments__children {
		padding-left: 16px;
	}
}

/* -----------------------------------------------------------------------
   prefers-reduced-motion
   ----------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.ap-reading-progress__bar {
		transition: none;
	}

	.ap-featured-post__card,
	.ap-share__btn,
	.ap-toc__chevron {
		transition: none;
	}
}
