/* ==========================================================================
   Estilos Públicos para os Campos do Autor do JF Diário
   Fiel ao layout single_post.html
   ========================================================================== */

/* BARRA DO AUTOR (Topo da Matéria) */
.jf-author-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 18px;
	background-color: #ffffff;
	border: 1px solid #E5E7EB;
	border-left: 4px solid #1A365D;
	border-radius: 6px;
	margin-bottom: 25px;
	flex-wrap: wrap;
	gap: 15px;
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.jf-author-bar .author-info {
	display: flex;
	align-items: center;
	gap: 14px;
}

.jf-author-bar .author-avatar-wrapper {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	overflow: hidden;
	background: #1A365D;
	border: 2px solid #9B2C2C;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.jf-author-bar .author-avatar-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jf-author-bar .author-details h4 {
	font-size: 0.95rem;
	color: #1A365D;
	font-weight: 700;
	margin: 0 0 2px 0;
}

.jf-author-bar .author-details span {
	font-size: 0.8rem;
	color: #6B7280;
}

/* CAIXA DE BIOGRAFIA DO AUTOR (Fim da Matéria) */
.jf-author-bio-box {
	margin-top: 35px;
	margin-bottom: 30px;
	padding: 24px;
	background-color: #ffffff;
	border: 1px solid #E5E7EB;
	border-radius: 6px;
	display: flex;
	gap: 20px;
	align-items: center;
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.jf-author-bio-box .author-avatar-wrapper {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	overflow: hidden;
	background: #1A365D;
	border: 3px solid #9B2C2C;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.jf-author-bio-box .author-avatar-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jf-author-bio-box h3 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1.1rem;
	color: #1A365D;
	margin: 0 0 4px 0;
	font-weight: 700;
}

.jf-author-bio-box .author-role {
	font-size: 0.78rem;
	color: #9B2C2C;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 8px;
	letter-spacing: 0.5px;
}

.jf-author-bio-box p {
	font-size: 0.88rem;
	color: #374151;
	margin: 0;
	line-height: 1.5;
}

/* BADGES DE CATEGORIAS DO AUTOR */
.jf-user-categories-list {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
}

.jf-user-category-badge {
	display: inline-block;
	background-color: #F3F4F6;
	color: #1A365D;
	font-size: 0.76rem;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 4px;
	text-decoration: none;
	border: 1px solid #E5E7EB;
	transition: all 0.2s ease;
}

.jf-user-category-badge:hover {
	background-color: #9B2C2C;
	color: #ffffff;
	border-color: #9B2C2C;
}

/* FOTO ISOLADA 1X1 */
.jf-author-avatar-1x1 {
	aspect-ratio: 1/1;
	object-fit: cover;
	border-radius: 50%;
}
