/* ============================================================
   BLOG BOMBONATO SANTOS — cor dourada
   ============================================================ */

:root {
	--bs-gold:       #C69E63;
	--bs-gold-dark:  #AD8142;
	--bs-gold-light: #CFBA9A;
	--bs-ink:        #1B1B1B;
	--bs-text:       #202020;
	--bs-muted:      #575757;
	--bs-border:     #aaaaaa;
	--bs-bg-light:   #f8f8f8;
}

.bs-blog-wrap,
.bs-blog-wrap input,
.bs-blog-wrap button { font-family: "Playfair Display", Georgia, serif; }
.bs-blog-wrap { background: #fff; color: var(--bs-text); }

/* ---------- Cabeçalho ---------- */
.bs-page-header {
	background: linear-gradient(135deg, var(--bs-ink) 0%, #3a2e1d 100%);
	padding: 60px 20px;
	text-align: center;
	margin: 0;
}
.bs-page-title {
	color: #fff;
	font-size: 2rem;
	font-weight: 700;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.bs-page-title::after {
	content: "";
	display: block;
	width: 60px;
	height: 3px;
	background: var(--bs-gold);
	margin: 16px auto 0;
}

/* ---------- Grade ---------- */
.bs-blog-grid-container {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 30px;
	margin: 80px auto 60px;
	max-width: 1200px;
	padding: 0 20px;
}
.bs-blog-main {
	grid-column: span 4;
	display: flex;
	flex-direction: column;
	gap: 80px;
	min-width: 0;
}
.bs-blog-aside { grid-column: span 2; }
@media screen and (max-width: 960px) {
	.bs-blog-grid-container { grid-template-columns: 1fr; padding: 0 16px; margin-top: 50px; }
	.bs-blog-main { grid-column: span 1; gap: 60px; }
	.bs-blog-aside { grid-column: span 1; }
}

/* ---------- Card do post ---------- */
.bs-blog-post { display: flex; flex-direction: column; }
.bs-blog-post-img { width: 100%; overflow: hidden; border-radius: 4px; }
.bs-blog-post-img img { width: 100%; height: auto; display: block; transition: transform 0.4s ease; }
.bs-blog-post-img:hover img { transform: scale(1.03); }

.bs-blog-category {
	margin: 36px 0 16px;
	font-size: 1rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 0.5rem;
	color: var(--bs-text);
}
.bs-blog-category a { color: var(--bs-text); text-decoration: none; }
.bs-blog-category a:hover { color: var(--bs-gold-dark); text-decoration: underline; }
.bs-category-divider:last-child { display: none; }

.bs-blog-autor { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.bs-blog-autor img { border-radius: 50%; max-width: 40px; height: 40px; object-fit: cover; }
.bs-autor-nome { font-weight: 600; color: var(--bs-text); text-decoration: none; font-size: 0.95rem; }
.bs-autor-nome:hover { color: var(--bs-gold-dark); text-decoration: underline; }
.bs-blog-data,
.bs-post-date { color: var(--bs-muted); font-size: 0.9rem; margin: 0; }
.bs-gold-ball { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--bs-gold); flex-shrink: 0; }

.bs-blog-post > a { text-decoration: none; }
.bs-post-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--bs-ink);
	margin: 0 0 20px;
	line-height: 1.35;
	transition: color 0.25s ease;
	text-transform: none;
}
.bs-blog-post a:hover .bs-post-title { color: var(--bs-gold); }

/* ---------- Compartilhar ---------- */
.bs-blog-links { display: flex; align-items: center; justify-content: space-between; }
.bs-blog-sociais { display: flex; align-items: center; }
.bs-blog-sociais p { font-weight: 700; opacity: 0.5; margin: 0 16px 0 0; font-size: 0.9rem; }
.bs-blog-sociais ul { display: flex; gap: 16px; align-items: center; list-style: none; padding: 0; margin: 0; }
.bs-blog-sociais ul a { opacity: 0.5; transition: opacity 0.3s ease; display: flex; align-items: center; }
.bs-blog-sociais ul a:hover { opacity: 1; }
.bs-blog-sociais ul a:hover svg { fill: var(--bs-gold-dark); }
@media screen and (max-width: 960px) {
	.bs-blog-links { display: block; }
	.bs-blog-sociais { flex-wrap: wrap; gap: 8px; }
}

/* ---------- Paginação ---------- */
.bs-blog-paginacao { margin: 40px 0 60px; }
.bs-pagination { display: flex; justify-content: center; }
.bs-pagination ul { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0; }
.bs-pagination li { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; }
.bs-pagination li a,
.bs-pagination li span {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: gray;
	border: 2px solid transparent;
	text-decoration: none;
	transition: color 300ms ease;
	font-size: 0.95rem;
}
.bs-pagination li a:hover { color: #000; }
.bs-pagination li.active span,
.bs-pagination li .current { font-weight: 700; color: #000; border-color: var(--bs-gold); }
.bs-pagination .prev,
.bs-pagination .next { color: var(--bs-gold); font-weight: 700; }

/* ---------- Barra lateral ---------- */
.bs-aside-card { padding: 32px 20px; border: 1px solid var(--bs-border); transition: box-shadow 0.3s ease; margin-bottom: 28px; }
.bs-aside-card:hover { box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08); }
.bs-aside-titulo { font-size: 1.1rem; text-transform: uppercase; font-weight: 700; color: var(--bs-text); margin: 0 0 18px; letter-spacing: 0.05em; }

.bs-aside-card .search-form { display: flex; border: 1px solid var(--bs-border); margin: 0; }
.bs-aside-card .search-form label { flex: 1; margin: 0; }
.bs-aside-card .search-field { width: 100%; padding: 12px; font-size: 1rem; border: none; outline: none; border-radius: 0; }
.bs-aside-card .search-submit,
.bs-aside-card .search-form button { padding: 10px 16px; background: var(--bs-gold); color: #fff; border: none; border-radius: 0; cursor: pointer; font-size: 0.9rem; transition: background 0.25s ease; }
.bs-aside-card .search-submit:hover,
.bs-aside-card .search-form button:hover { background: var(--bs-gold-dark); }
.bs-blog-wrap .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.bs-aside-categorias { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.bs-aside-categorias li a { display: flex; justify-content: space-between; color: var(--bs-text); text-decoration: none; font-size: 0.95rem; padding: 6px 0; border-bottom: 1px solid #eee; transition: color 0.2s ease; }
.bs-aside-categorias li a:hover { color: var(--bs-gold); }
.bs-aside-categorias li a span { color: var(--bs-muted); font-size: 0.85rem; }

.bs-aside-post { display: flex; align-items: flex-start; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid #eee; }
.bs-aside-post:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.bs-aside-post > div { display: flex; flex-direction: column; gap: 4px; }
.bs-aside-post img { max-width: 100px; height: 65px; object-fit: cover; }
.bs-aside-post span { color: var(--bs-muted); font-size: 0.8rem; }
.bs-aside-post a { color: var(--bs-text); font-size: 0.9rem; font-weight: 600; text-decoration: none; line-height: 1.3; }
.bs-aside-post a:hover { color: var(--bs-gold); }
.bs-aside-numero { background: var(--bs-gold); padding: 8px; min-width: 32px; text-align: center; line-height: 1; font-weight: 700; color: #fff; font-size: 0.9rem; flex-shrink: 0; }

/* ---------- Post individual ---------- */
.bs-single-article { gap: 0; }
.bs-single-article .bs-blog-category { margin-top: 0; }
.bs-single-title { font-size: 2rem; font-weight: 700; color: var(--bs-ink); line-height: 1.3; margin: 0 0 24px; text-transform: none; }
.bs-single-img { width: 100%; overflow: hidden; border-radius: 4px; margin-bottom: 36px; }
.bs-single-img img { width: 100%; height: auto; display: block; }
.bs-single-content { font-size: 1rem; line-height: 1.8; color: var(--bs-text); margin-bottom: 40px; }
.bs-single-content h2 { font-size: 1.4rem; font-weight: 700; color: var(--bs-ink); margin: 36px 0 16px; padding-left: 14px; border-left: 3px solid var(--bs-gold); }
.bs-single-content h3 { font-size: 1.15rem; font-weight: 700; color: var(--bs-ink); margin: 28px 0 12px; }
.bs-single-content p { margin: 0 0 18px; }
.bs-single-content ul,
.bs-single-content ol { padding-left: 24px; margin-bottom: 18px; }
.bs-single-content li { margin-bottom: 8px; line-height: 1.7; }
.bs-single-content strong { color: var(--bs-ink); }
.bs-single-content a { color: var(--bs-gold-dark); text-decoration: underline; }
.bs-single-content table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 0.95rem; }
.bs-single-content th { background: var(--bs-ink); color: #fff; text-align: left; }
.bs-single-content th,
.bs-single-content td { padding: 10px 12px; border: 1px solid #e3e3e3; vertical-align: top; }
.bs-single-content tr:nth-child(even) td { background: var(--bs-bg-light); }
.bs-single-share { border-top: 1px solid var(--bs-border); padding-top: 24px; margin-bottom: 40px; }
.bs-single-nav { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; border-top: 1px solid var(--bs-border); margin-top: 20px; }
.bs-single-nav a { color: var(--bs-gold-dark); font-weight: 600; text-decoration: none; font-size: 0.95rem; line-height: 1.4; }
.bs-single-nav > div { max-width: 45%; }
.bs-single-nav a:hover { color: var(--bs-ink); text-decoration: underline; }
.bs-nav-next { text-align: right; margin-left: auto; }
@media screen and (max-width: 960px) {
	.bs-single-title { font-size: 1.5rem; }
	.bs-single-nav { flex-direction: column; }
	.bs-single-nav > div { max-width: 100%; }
	.bs-nav-next { text-align: left; margin-left: 0; }
}

/* ---------- Detalhe dourado nas imagens ---------- */
.bs-blog-post-img,
.bs-single-img { position: relative; }
.bs-blog-post-img::after,
.bs-single-img::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 90px;
	height: 5px;
	background: var(--bs-gold);
	transition: width 0.4s ease;
	pointer-events: none;
}
.bs-blog-post-img:hover::after { width: 100%; }
.bs-blog-category::before {
	content: "";
	display: inline-block;
	width: 22px;
	height: 2px;
	background: var(--bs-gold);
	margin-right: 4px;
}
.bs-single-img figcaption,
.bs-single-content .wp-caption-text { color: var(--bs-muted); font-size: 0.8rem; }

/* ---------- CTA WhatsApp ---------- */
.bs-cta { background: var(--bs-ink); border-left: 4px solid var(--bs-gold); padding: 28px 28px 30px; margin: 0 0 40px; border-radius: 4px; }
.bs-cta-title { color: #fff; font-size: 1.25rem; font-weight: 700; margin: 0 0 8px; }
.bs-cta-text { color: #d9d9d9; font-size: 0.95rem; margin: 0 0 18px; }
.bs-cta-btn { display: inline-block; background: var(--bs-gold); color: #fff !important; text-decoration: none !important; font-weight: 700; padding: 12px 24px; border-radius: 3px; transition: background 0.25s ease; }
.bs-cta-btn:hover { background: var(--bs-gold-dark); }

/* ---------- Títulos em Montserrat ---------- */
.bs-page-title,
.bs-post-title,
.bs-single-title,
.bs-single-content h2,
.bs-single-content h3,
.bs-aside-titulo,
.bs-aside-post a,
.bs-cta-title,
.bs-cta-btn {
	font-family: "Montserrat", Arial, sans-serif;
	letter-spacing: -0.01em;
}
.bs-page-title,
.bs-aside-titulo { letter-spacing: 0.06em; }
