/* Coringa Leve — blog e arquivos. Medidas dos modelos Elementor 5166 (post) e 5114 (listas). */

.bpost ul.blast, .barch ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Post ---------- */
.bpost-hero { position: relative; display: flex; min-height: 484px; padding: 150px 0 200px; background: var(--blue) var(--bp-img, none) center / cover no-repeat; }
.bpost-hero::before { content: ""; position: absolute; inset: 0; background: var(--navy); opacity: .72; }
.bpost-hero__in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; width: 100%; text-align: center; }
.bpost-hero__cat { padding: 10px 35px; border-radius: 30px; background: var(--red); font: 500 20px/1 var(--fredoka); color: #fff; }
.bpost-hero__cat:hover { background: #cb1900; color: #fff; }
.bpost-hero__title { margin: 0; padding: 20px 150px 0; font: 500 40px/1.3 var(--fredoka); letter-spacing: .5px; color: #fff; }
.bpost-hero__meta { margin: 0; font: 400 15px/1.5 var(--poppins); color: #e2e2e2; }
@media (min-width: 1025px) { .bpost-hero { background-attachment: fixed; } }
.bpost-bar { height: 10px; background: linear-gradient(to right, var(--blue) 0, var(--blue) 30%, var(--yellow) 35%, var(--yellow) 65%, var(--red) 70%, var(--red) 100%); }

.bpost-wrap { display: flex; gap: 20px; max-width: 1300px; margin: 0 auto 80px; padding: 0 max(0px, calc((100% - 1300px) / 2)); }
.bpost-main { flex: 0 1 70%; min-width: 0; display: flex; flex-direction: column; gap: 20px; margin-top: -100px; padding: 40px; background: #fff; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, .21); position: relative; }
.bpost-side { flex: 0 1 30%; min-width: 0; display: flex; flex-direction: column; padding-top: 15px; }

.toc { border: 1px solid #9da5ae; }
.toc__title { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 20px; font: 500 18px/24px var(--fredoka); color: var(--navy); list-style: none; cursor: pointer; }
.toc__title::-webkit-details-marker { display: none; }
.toc__ico { font-size: 14px; transform: rotate(90deg); transition: transform .2s; }
.toc[open] .toc__ico { transform: rotate(-90deg); }
.toc__list { margin: 0; padding: 0 20px 20px 40px; font: 400 15px/1.5 var(--poppins); }
.toc__list li::marker { color: #7a7a7a; }
.toc__item--h3 { margin-left: 16px; list-style-type: circle; }
.toc__list a { color: var(--text); }
.toc__list a:hover { color: var(--blue-d); }

.bpost-content { font: 400 16px/1.3 var(--poppins); color: #555; }
.bpost-content h2 { margin: .5rem 0 1rem; font: 500 32px/1.2 var(--poppins); color: #555; scroll-margin-top: 20px; }
.bpost-content h3 { margin: .5rem 0 1rem; font: 500 24px/1.2 var(--poppins); color: #555; scroll-margin-top: 20px; }
.bpost-content > :first-child { margin-top: 0; }
.bpost-content img { height: auto; border-radius: 8px; }
.bpost-content a { text-decoration: underline; }

.bpost-share { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 10px; }
.bpost-share__title { font: 600 20px/1 var(--poppins); color: var(--navy); }
.share { display: flex; flex-wrap: wrap; }
.share__btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--blue); color: #fff; font-size: 20px; cursor: pointer; }
.share__btn:hover, .share__btn:focus-visible { background: var(--blue-d); }

.bpromo { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 10px; padding: 16px; background: var(--blue); border: 1px solid #555; border-radius: 12px; }
.bpromo__title { font: 500 22px/1.1 var(--fredoka); color: #fff; text-align: center; }
.bpromo__img { display: block; width: 70%; height: auto; margin-top: 10px; }
.bpromo__btn { width: 100%; padding: 12px 24px; box-shadow: 1px 1px 0 0 #000; }
.bpost-side__title { padding: 30px 0 10px; font: 500 22px/1 var(--fredoka); color: var(--navy); }
.blast { display: flex; flex-direction: column; gap: 12px; }
.blast__item { display: flex; align-items: flex-start; gap: 20px; }
.blast__img { flex: 0 0 35%; overflow: hidden; border-radius: 5px; aspect-ratio: 1 / .61; }
.blast__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.blast__title { font: 600 16px/1.2 var(--poppins); color: var(--navy); }
.blast__title:hover { color: var(--blue); }

/* ---------- Listas ---------- */
.barch-head { position: relative; padding: 4em 1em; background: var(--blue); text-align: center; }
.barch-head::before { content: ""; position: absolute; inset: 0; opacity: .07; background-size: contain; pointer-events: none; }
.barch-head.is-near::before { background-image: url(/wp-content/uploads/2026/10/fundo-textura-720.webp); } /* textura leve; is-near e preload no template (faixa do topo = LCP) */
.barch-head__in { position: relative; display: flex; flex-direction: column; gap: 20px; max-width: 1300px; margin: 0 auto; }
.barch-head__title { margin: 15px 0 0; font: 500 25px/1 var(--fredoka); text-transform: uppercase; color: #fff; }
.barch-head .woocommerce-breadcrumb { margin: 0; font: 400 16px/1.5 var(--poppins); color: #fff; }
.barch-head .woocommerce-breadcrumb a { color: #e2e2e2; }

.barch-main { display: flex; padding: 1em max(1em, calc((100% - 1300px) / 2)) 4em; background: var(--gray); }
.barch-list { flex: 0 1 75%; min-width: 0; padding: 10px; }
.barch-side { flex: 0 1 25%; min-width: 0; padding: 10px; }
.barch-desc { margin-bottom: 20px; font: 400 15px/1.7 var(--poppins); color: var(--text); }
.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.bcard { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #dadada; border-radius: 12px; }
.bcard__img { display: block; aspect-ratio: 2 / 1; overflow: hidden; }
.bcard__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bcard__text { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 24px 30px 30px; }
.bcard__title { margin: 0 0 15px; font: 500 22px/1.3 var(--fredoka); letter-spacing: .5px; }
.bcard__title a { color: var(--navy); }
.bcard__title a:hover { color: var(--blue); }
.bcard__date { margin: -8px 0 10px; font: 400 13px/1.4 var(--poppins); color: #777; }
.bcard__excerpt { margin: 0 0 15px; font: 400 16px/1.7 var(--poppins); color: var(--text); }
.bcard__more { margin-top: auto; font: 500 12px/1.5 var(--fredoka); text-transform: uppercase; color: var(--blue); }
.barch-more { display: flex; justify-content: center; padding-top: 30px; }
.barch-more.is-loading .btn { opacity: .6; pointer-events: none; }
.barch-empty { font: 400 16px/1.6 var(--poppins); }

.barch-side__title { margin: 0; padding: 20px; background: var(--blue); border: 1px solid #e8e8e8; border-bottom: 0; border-radius: 15px 15px 0 0; font: 500 22px/1 var(--fredoka); text-transform: uppercase; text-align: center; color: #fff; }
.barch .barch-side__list { display: flex; flex-direction: column; align-items: center; gap: 5px; margin-bottom: 10px; padding: 20px; background: #fff; border: 1px solid #e8e8e8; border-top: 0; border-radius: 0 0 15px 15px; }
.barch-side__list a { display: flex; align-items: center; gap: 8px; font: 400 17px/1.5 var(--fredoka); color: #333; }
.barch-side__list .ico { font-size: 14px; color: var(--blue-d); }
.barch-side__list a:hover, .barch-side__list a[aria-current] { color: var(--blue-d); }

@media (max-width: 1024px) {
	.bpost-hero__title { padding: 20px 60px 0; }
	.bpost-wrap { flex-direction: column; padding: 0 20px; }
	.bpost-main, .bpost-side { flex-basis: auto; }
	.bpost-side__title { text-align: center; }
	.barch-head__title { font-size: 16px; }
	.barch-list { flex-basis: 60%; }
	.barch-side { flex-basis: 40%; }
	.bgrid { grid-template-columns: minmax(0, 1fr); }
	.bcard__title { font-size: 20px; }
	.barch-side__title { font-size: 16px; }
}

@media (max-width: 767px) {
	.bpost-hero { min-height: 0; padding: 100px 10px 147px; }
	.bpost-hero::before { opacity: .81; }
	.bpost-hero__title { padding: 10px 20px 0; font-size: 30px; }
	.bpost-bar { height: 7px; }
	.bpost-wrap { margin-bottom: 0; padding: 0 10px; }
	.bpost-main { padding: 30px 15px; }
	.bpost-side { margin-bottom: 50px; padding: 10px 15px 30px; }
	.toc__title { font-size: 14px; line-height: 18px; }
	.bpost-content { font-size: 14px; line-height: 18px; }
	.bpost-content h2 { font-size: 26px; }
	.bpost-content h3 { font-size: 20px; }
	.bpost-share { justify-content: center; gap: 5px; }
	.bpost-share__title { width: 100%; font-size: 15px; text-align: center; }
	.share { justify-content: center; }
	.bpromo__title { font-size: 20px; }
	.bpromo__btn { font-size: 16px; }
	.bpost-side__title { padding: 30px 0 15px; text-align: left; }
	.blast { gap: 15px; }
	.blast__img { flex-basis: 38%; aspect-ratio: 1 / .71; }
	.blast__title { line-height: 1.3; }
	.barch-head { padding: 35px 24px 24px; }
	.barch-head__title { margin-top: 0; font-size: 22px; }
	.barch-main { flex-direction: column; padding: 1em 1em 4em; }
	.barch-list, .barch-side { flex-basis: auto; }
}

/* Página Blog: destaques (só no computador), faixa azul com busca e categorias, painel dos cartões */
.bhome-feat { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bhome-tile { position: relative; display: block; aspect-ratio: 1 / .9; overflow: hidden; background: var(--gray); }
.bhome-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bhome-tile__ov { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 15px; background: rgba(235, 31, 2, .67); opacity: 0; transition: opacity .3s; }
.bhome-tile:hover .bhome-tile__ov, .bhome-tile:focus-visible .bhome-tile__ov { opacity: 1; }
.bhome-tile__title { font: 500 22px/1.2 var(--fredoka); color: #fff; text-align: center; }
.bhome-head { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 48px 16px 208px; background: var(--blue); text-align: center; }
.bhome-head::before { content: ""; position: absolute; inset: 0; background-size: contain; opacity: .07; pointer-events: none; }
.bhome-head.is-near::before { background-image: url(/wp-content/uploads/2026/10/fundo-textura-720.webp); } /* idem, templates/blog-home.php */
.bhome-head > * { position: relative; }
.bhome-head__title { margin: 0; font: 500 40px/1.3 var(--fredoka); color: #fff; }
.bhome-head__text { width: 75%; margin: 0; font: 400 16px/1.5 var(--poppins); color: #fff; }
.bsearch { display: flex; width: 47%; height: 40px; margin: 20px 0 10px; overflow: hidden; background: #fff; border-radius: 30px; }
.bsearch__input { flex: 1 1 auto; min-width: 0; padding: 0 13px; font: 500 16px/1 var(--poppins); color: var(--text); background: none; border: 0; outline-offset: -2px; }
.bsearch__btn { display: flex; align-items: center; justify-content: center; flex: 0 0 60px; padding: 0; font-size: 18px; color: var(--navy); background: var(--yellow); border: 0; cursor: pointer; }
.bsearch__btn:hover, .bsearch__btn:focus { background: #ec9e17; }
.bcats { display: flex; flex-wrap: wrap; justify-content: center; width: 100%; max-width: 1300px; padding-bottom: 30px; }
.bcats__btn { display: flex; align-items: center; justify-content: center; flex: 0 0 calc(25% - 14px); min-height: 50px; margin: 7px; padding: 15px; font: 500 18px/1 var(--fredoka); color: var(--navy); text-align: center; background: #fff; border: 1px solid var(--navy); border-radius: 5px; }
.bcats__btn:hover, .bcats__btn:focus { color: var(--navy); background: var(--yellow); }
.bhome-list { margin-top: 30px; padding: 0 15px 60px; }
.bhome-panel { position: relative; max-width: 1250px; margin: -227px auto 0; padding: 16px 16px 80px; background: #fff; border-radius: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, .25); }
.bhome-panel .bgrid { margin: 5px; }
.bcard { position: relative; }
.bcard__badge { position: absolute; top: 0; right: 0; margin: 20px; padding: 7.2px 14.4px; font: 600 12px/1 var(--poppins); text-transform: uppercase; color: #fff; background: var(--red); border-radius: 999px; }
.bhome .bcard__more { font-size: 12.8px; }
@media (max-width: 1024px) {
	.bhome-feat { display: none; }
	.bhome-head { padding-bottom: 128px; }
	.bcats__btn { flex-basis: calc(33.333% - 14px); }
	.bhome-panel { margin-top: -176px; }
}
@media (max-width: 767px) {
	.bhome-head { padding: 48px 16px 160px; }
	.bhome-head__title { font-size: 25px; }
	.bhome-head__text, .bsearch { width: 100%; }
	.bsearch { margin: 0; }
	.bcats { padding: 15px 0; }
	.bcats__btn { flex-basis: calc(50% - 10px); margin: 5px; padding: 15px 0; font-size: 14px; }
	.bhome-list { margin-top: 40px; padding: 0 16px 48px; }
	.bhome-panel { padding: 25px 5px 30px; }
	.bhome .bcard__more { font-size: 13.6px; }
}

/* Página não encontrada */
.e404__body { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 48px 16px; text-align: center; background: #fff; }
.e404__text { max-width: 640px; margin: 0; font: 400 16px/1.6 var(--poppins); color: var(--text); }
.e404 .e404__search { margin: 0; border: 1px solid #d5d8dc; }
.e404__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; }
@media (max-width: 767px) { .e404 .e404__search { width: 100%; } }
