/* Belle — blog (plugin belle-blog). O banner (.belle-vbanner), os atalhos (.belle-atalhos-cat)
   e as variaveis de cor vem do belle-loja.css; os cards (.belle-blog__card) vem do belle-global.css. */

body.blog .site-content > .ast-container,
body.category .site-content > .ast-container,
body.tag .site-content > .ast-container,
body.single-post .site-content > .ast-container { max-width: 1240px; }
.belle-blog-arquivo { width: 100%; padding: 6px 0 48px; }
.belle-blog-banner { margin-top: 18px; }

/* grade de cards (fundo claro: o card do global foi feito para fundo navy) */
.belle-bgrid { display: grid; gap: 24px; }
.belle-bgrid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.belle-bgrid .belle-blog__card > a { box-shadow: 0 18px 40px -30px rgba(0, 70, 202, .55); }
.belle-bgrid .belle-blog__card > a:hover { box-shadow: 0 26px 50px -28px rgba(0, 70, 202, .6); }
.belle-bgrid .belle-blog__capa { aspect-ratio: 4 / 3.4; }
.belle-bgrid .belle-blog__card-titulo { margin: 0; font-family: "Roboto Slab", Georgia, serif; font-weight: 600; font-size: 19px; line-height: 1.3; color: #1d1f45; }

.belle-blog-arquivo__subtitulo { margin: 44px 0 20px !important; font-family: "Roboto Slab", Georgia, serif !important; font-weight: 500 !important; font-size: 32px !important; color: #1d1f45 !important; }
.belle-blog-arquivo__subtitulo span { color: #0046ca; }
.belle-blog-arquivo__vazio { padding: 40px; text-align: center; color: #4a4f6a; background: #fff; border-radius: 22px; }

/* artigo em destaque */
.belle-destaque { margin: 10px 0 0; }
.belle-destaque > a {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	align-items: stretch;
	overflow: hidden;
	border-radius: 26px;
	background: #fff;
	color: #1d1f45;
	text-decoration: none !important;
	box-shadow: 0 26px 56px -34px rgba(0, 70, 202, .6);
	transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
}
.belle-destaque > a:hover { transform: translateY(-4px); box-shadow: 0 32px 64px -32px rgba(0, 70, 202, .65); }
.belle-destaque__capa { position: relative; margin: 0; min-height: 420px; overflow: hidden; background: #e6ecff; }
.belle-destaque__capa img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; object-position: center 22%; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.belle-destaque > a:hover .belle-destaque__capa img { transform: scale(1.04); }
.belle-destaque__texto { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 44px 48px; }
.belle-destaque__selo { font-size: 13px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: #0046ca; }
.belle-destaque .belle-destaque__titulo { margin: 0 !important; font-family: "Roboto Slab", Georgia, serif !important; font-weight: 500 !important; font-size: clamp(26px, 2.6vw, 36px) !important; line-height: 1.15 !important; color: #1d1f45 !important; }
.belle-destaque__resumo { margin: 0 !important; color: #4a4f6a; font-size: 16.5px; line-height: 1.65; }
.belle-destaque__meta { font-size: 13.5px; color: #7a8099; }
.belle-destaque__ler {
	align-self: flex-start;
	display: inline-flex; align-items: center; gap: 8px;
	margin-top: 6px; padding: 13px 24px; border-radius: 999px;
	background: linear-gradient(135deg, #2f6bff, #0046ca); color: #fff;
	font-weight: 700; font-size: 15px;
	box-shadow: 0 12px 26px -14px rgba(0, 70, 202, .8);
}

/* paginacao */
.belle-paginacao { display: flex; justify-content: center; gap: 8px; margin: 40px 0 0; }
.belle-paginacao .page-numbers {
	min-width: 46px; height: 46px; padding: 0 12px;
	display: inline-grid; place-items: center;
	border-radius: 999px; background: #fff; color: #1d1f45 !important;
	font-weight: 600; text-decoration: none !important;
	box-shadow: 0 8px 18px -14px rgba(0, 70, 202, .6);
}
.belle-paginacao .page-numbers.current, .belle-paginacao a.page-numbers:hover { background: #0046ca; color: #fff !important; }

/* ---------- artigo ---------- */
body.single-post #primary { width: 100%; margin-top: 18px; }
.belle-artigo-topo {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
	align-items: center;
	gap: 40px;
	margin: 0 0 28px;
	padding: 44px 48px;
	border-radius: 28px;
	background: linear-gradient(140deg, #1d1f45 0%, #141a52 50%, #0b2a8a 100%);
	color: #fff;
	box-shadow: 0 30px 60px -40px rgba(0, 70, 202, .8);
}
.belle-artigo-topo::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; left: -160px; bottom: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 107, 255, .45) 0%, rgba(47, 107, 255, 0) 70%); }
.belle-artigo-topo__texto { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.belle-artigo-topo__trilha { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.belle-artigo-topo__trilha a { color: rgba(255, 255, 255, .85) !important; text-decoration: none !important; }
.belle-artigo-topo__trilha a:hover { color: #fff !important; }
.belle-artigo-topo__chip { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); font-size: 12.5px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
html body .belle-artigo-topo__titulo { margin: 0 !important; font-family: "Roboto Slab", Georgia, serif !important; font-weight: 500 !important; font-size: clamp(28px, 3.4vw, 46px) !important; line-height: 1.1 !important; letter-spacing: -.6px; color: #fff !important; }
.belle-artigo-topo__resumo { margin: 0 !important; max-width: 620px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .8); }
.belle-artigo-topo__meta { display: flex; gap: 8px; font-size: 14px; color: #8fb0ff; }
.belle-artigo-topo__capa { position: relative; margin: 0; aspect-ratio: 4 / 4.4; border-radius: 22px; overflow: hidden; border: 4px solid rgba(255, 255, 255, .9); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); transform: rotate(2deg); }
.belle-artigo-topo__capa img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; object-position: center 20%; }

/* o card do artigo (tema) */
body.single-post .ast-article-single {
	max-width: 820px;
	margin: 0 auto !important;
	padding: 48px 56px !important;
	border-radius: 26px;
	background: #fff !important;
	box-shadow: 0 24px 56px -40px rgba(0, 70, 202, .55);
}
body.single-post .entry-content { color: #3d4260; font-size: 18px; line-height: 1.8; }
body.single-post .entry-content > p:first-child,
body.single-post .entry-content > .wp-block-paragraph:first-child { font-size: 20px; color: #1d1f45; }
body.single-post .entry-content h2 { margin: 2em 0 .6em !important; font-family: "Roboto Slab", Georgia, serif !important; font-weight: 500 !important; font-size: 30px !important; line-height: 1.2 !important; color: #1d1f45 !important; }
body.single-post .entry-content h3 { margin: 1.6em 0 .5em !important; font-family: "Roboto Slab", Georgia, serif !important; font-weight: 500 !important; font-size: 23px !important; line-height: 1.25 !important; color: #1d1f45 !important; }
body.single-post .entry-content h4 { font-family: Roboto, system-ui, sans-serif !important; font-weight: 700 !important; font-size: 18px !important; color: #1d1f45 !important; }
body.single-post .entry-content strong { color: #1d1f45; }
body.single-post .entry-content a:not(.button):not(.wp-block-button__link) { color: #0046ca; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(0, 70, 202, .3); text-underline-offset: 3px; }
body.single-post .entry-content a:not(.button):not(.wp-block-button__link):hover { text-decoration-color: #0046ca; }
body.single-post .entry-content ul, body.single-post .entry-content ol { margin: 0 0 1.4em 1.2em; }
body.single-post .entry-content li { margin-bottom: .45em; }
body.single-post .entry-content li::marker { color: #0046ca; }
body.single-post .entry-content img { border-radius: 18px; height: auto; }
body.single-post .entry-content figure { margin: 2em 0; }
body.single-post .entry-content figcaption { font-size: 14px; color: #7a8099; text-align: center; }
body.single-post .entry-content blockquote {
	margin: 2em 0; padding: 22px 26px; border: 0 !important;
	border-radius: 18px; background: #f2f5ff;
	font-family: "Roboto Slab", Georgia, serif; font-size: 20px; line-height: 1.55; color: #1d1f45; font-style: normal;
	box-shadow: inset 4px 0 0 #0046ca;
}
body.single-post .entry-content table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px #e6eafa; font-size: 16px; }
body.single-post .entry-content th { background: #f7f8ff; color: #1d1f45; text-align: left; }
body.single-post .entry-content th, body.single-post .entry-content td { padding: 12px 14px; border: 0; border-top: 1px solid #eef1fb; }
body.single-post .entry-content .wp-block-separator { margin: 2.6em auto; border: 0; height: 1px; background: #e6eafa; }
/* bloco de produtos injetado no fim de cada post */
body.single-post .entry-content .woocommerce ul.products { margin-top: 18px; }
body.single-post .entry-content .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14px !important; }
body.single-post .entry-content .wp-block-button__link {
	display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px;
	border-radius: 999px; background: linear-gradient(135deg, #2f6bff, #0046ca); color: #fff !important;
	font-weight: 700; font-size: 15.5px; text-decoration: none !important;
	box-shadow: 0 12px 26px -14px rgba(0, 70, 202, .8);
}
body.single-post .entry-meta, body.single-post .ast-single-author-box, body.single-post .post-navigation { display: none !important; }
body.single-post #comments, body.single-post .comments-area { max-width: 820px; margin: 28px auto 0 !important; padding: 32px 40px !important; border-radius: 22px; background: #fff; }

/* leia tambem */
.belle-leia { max-width: 1240px; margin: 48px auto 8px; }
.belle-leia__topo { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.belle-leia__selo { display: inline-block; margin-bottom: 6px; font-size: 13px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: #0046ca; }
.belle-leia .belle-leia__titulo { margin: 0 !important; font-family: "Roboto Slab", Georgia, serif !important; font-weight: 500 !important; font-size: 36px !important; color: #1d1f45 !important; }
.belle-leia__titulo span { color: #0046ca; }
.belle-leia__todos { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: #0046ca; color: #fff !important; font-weight: 700; font-size: 15px; text-decoration: none !important; white-space: nowrap; }
.belle-leia__todos:hover { background: #1d1f45; }

/* barra de progresso de leitura */
.belle-progresso { position: fixed; left: 0; right: 0; top: 0; z-index: 101; height: 3px; pointer-events: none; }
.belle-progresso span { display: block; height: 100%; background: linear-gradient(90deg, #2f6bff, #0046ca); transform: scaleX(0); transform-origin: left; }

/* ---------- celular e tablet ---------- */
@media (max-width: 1024px) {
	.belle-bgrid.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 921px) {
	.belle-destaque > a { grid-template-columns: minmax(0, 1fr); border-radius: 22px; }
	.belle-destaque__capa { min-height: 0; aspect-ratio: 4 / 3.6; }
	.belle-destaque__texto { padding: 24px 22px 26px; gap: 10px; }
	.belle-destaque__resumo { font-size: 15.5px; }
	.belle-artigo-topo { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 26px 22px; border-radius: 22px; }
	.belle-artigo-topo__resumo { font-size: 15.5px; }
	.belle-artigo-topo__capa { aspect-ratio: 4 / 3.2; transform: none; border-radius: 18px; }
	body.single-post .ast-article-single { padding: 26px 20px !important; border-radius: 22px; }
	body.single-post .entry-content { font-size: 17px; line-height: 1.75; }
	body.single-post .entry-content > p:first-child { font-size: 18px; }
	body.single-post .entry-content h2 { font-size: 24px !important; }
	body.single-post .entry-content h3 { font-size: 20px !important; }
	.belle-leia__topo { flex-direction: column; align-items: flex-start; }
	.belle-leia .belle-leia__titulo { font-size: 28px !important; }
	.belle-blog-arquivo__subtitulo { font-size: 26px !important; }
}
@media (max-width: 640px) {
	.belle-bgrid.is-3 { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.belle-destaque > a, .belle-destaque__capa img { transition: none; }
}

/* o Astra define o tamanho em .entry-content p; a leitura precisa vencer */
html body.single-post .entry-content p,
html body.single-post .entry-content li { font-size: 18px; line-height: 1.8; color: #3d4260; }
html body.single-post .entry-content > p:first-child { font-size: 20px; color: #1d1f45; }
@media (max-width: 921px) {
	html body.single-post .entry-content p, html body.single-post .entry-content li { font-size: 17px; line-height: 1.75; }
	html body.single-post .entry-content > p:first-child { font-size: 18px; }
}
