/* Blogger Bridge - estilos base (cliente pode customizar com o tema) */

.bb-posts-list {
	display: grid;
	gap: 2rem;
	margin: 2rem 0;
}

.bb-post-card {
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	padding: 1.5rem;
	background: #fff;
}

.bb-post-card .bb-thumb img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	margin-bottom: 1rem;
}

.bb-post-title {
	margin: 0 0 .5rem;
	font-size: 1.5rem;
	line-height: 1.3;
}

.bb-post-title a {
	color: inherit;
	text-decoration: none;
}

.bb-post-title a:hover {
	text-decoration: underline;
}

.bb-post-meta {
	color: #666;
	font-size: .9rem;
	margin-bottom: 1rem;
}

.bb-post-content {
	line-height: 1.6;
}

.bb-read-more {
	display: inline-block;
	margin-top: .5rem;
	font-weight: 600;
	text-decoration: none;
}

.bb-single-wrapper {
	max-width: 780px;
	margin: 2rem auto;
	padding: 0 1rem;
}

.bb-single-title {
	font-size: 2rem;
	line-height: 1.2;
	margin-bottom: .5rem;
}

.bb-single-content {
	line-height: 1.7;
	font-size: 1.05rem;
}

.bb-single-content img,
body.bb-single-post-page .entry-content img,
body.bb-single-post-page .post-content img,
body.bb-single-post-page .post-detail img,
body.bb-single-post-page article img,
body.bb-single-post-page #primary img {
	max-width: 100% !important;
	height: auto !important;
	width: auto !important;
}

/* Esconde o banner original do tema (com overlay) */
body.bb-single-post-page .entry-thumbnail-area,
body.bb-single-post-page .post-thumbnail-area {
	display: none !important;
}

/* Nosso header customizado: imagem + tÃ­tulo + meta empilhados */
body.bb-single-post-page .bb-post-header {
	max-width: 700px;
	margin: 0;
	text-align: left;
}

body.bb-single-post-page .bb-post-header .bb-post-image {
	margin-bottom: 1rem;
	border-radius: 8px;
	overflow: hidden;
}

body.bb-single-post-page .bb-post-header .bb-post-image img {
	width: 100% !important;
	max-width: 700px !important;
	height: auto !important;
	max-height: 400px !important;
	object-fit: cover !important;
	display: block !important;
	margin: 0 !important;
}

body.bb-single-post-page .bb-post-header .bb-post-title {
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 0.5rem;
	color: inherit;
}

body.bb-single-post-page .bb-post-header .bb-post-meta {
	color: #666;
	font-size: 0.9rem;
	margin-bottom: 1rem;
	display: flex;
	gap: 1.25rem;
	flex-wrap: wrap;
	align-items: center;
}

body.bb-single-post-page .bb-post-header .bb-post-meta > span {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

body.bb-single-post-page .bb-post-header .bb-icon {
	flex-shrink: 0;
	stroke: currentColor;
	color: #999;
}

body.bb-single-post-page .entry-thumbnail-area {
	max-width: 700px !important;
	margin: 0 auto 1.5rem !important;
	display: none !important;
	position: static !important;
	background: none !important;
}

body.bb-single-post-page .entry-thumbnail-area::before,
body.bb-single-post-page .entry-thumbnail-area::after {
	display: none !important;
}

body.bb-single-post-page .entry-thumbnail-area img {
	width: 100% !important;
	max-width: 700px !important;
	height: auto !important;
	max-height: 400px !important;
	object-fit: cover !important;
	display: block;
	border-radius: 8px;
}

/* Tira o overlay e move o header pra baixo da imagem */
body.bb-single-post-page .entry-thumbnail-area .entry-header {
	position: static !important;
	transform: none !important;
	background: none !important;
	padding: 1rem 0 0 !important;
	color: inherit !important;
	text-align: left !important;
	width: 100% !important;
	max-width: 700px !important;
	margin: 0 auto !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	top: auto !important;
}

body.bb-single-post-page .entry-thumbnail-area .entry-title,
body.bb-single-post-page .entry-thumbnail-area .entry-title.title-light-color {
	color: inherit !important;
	text-shadow: none !important;
	font-size: 1.6rem !important;
	margin: 0.5rem 0 !important;
}

body.bb-single-post-page .entry-thumbnail-area .entry-meta,
body.bb-single-post-page .entry-thumbnail-area .entry-meta.meta-light-color,
body.bb-single-post-page .entry-thumbnail-area .entry-meta li {
	color: #666 !important;
	text-shadow: none !important;
}

body.bb-single-post-page .entry-thumbnail-area .entry-meta a,
body.bb-single-post-page .entry-thumbnail-area .entry-categories a {
	color: inherit !important;
}

/* ConteÃºdo do post tambÃ©m limitado */
body.bb-single-post-page .post-detail-style2 .container,
body.bb-single-post-page .post-detail-style2 .entry-content,
body.bb-single-post-page .post-detail-style2 .post-content {
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

body.bb-single-post-page .entry-content,
body.bb-single-post-page .post-content,
body.bb-single-post-page .post-detail {
	overflow-wrap: break-word;
	word-wrap: break-word;
}

body.bb-single-post-page .entry-content iframe,
body.bb-single-post-page .post-content iframe {
	max-width: 100%;
}

.bb-single-labels {
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid #eee;
}

.bb-label {
	display: inline-block;
	background: #f0f0f0;
	padding: .25rem .6rem;
	border-radius: 4px;
	font-size: .85rem;
	margin: 0 .25rem;
}

.bb-error {
	background: #fff3cd;
	border: 1px solid #ffeaa7;
	padding: 1rem;
	border-radius: 4px;
	color: #856404;
}

.bb-empty {
	color: #666;
	font-style: italic;
	padding: 1rem;
}
