/* ==========================================================================
   Estilos Públicos do Plugin JF Diário - Descrição de Categorias e Tags
   Fiel ao layout category.html
   ========================================================================== */

/* BANNER HERO COMPLETO DA EDITORIA */
.jf-term-hero-container {
	background: linear-gradient(135deg, #1A365D 0%, #0D1B2A 100%);
	color: #ffffff;
	padding: 35px 25px;
	margin-bottom: 30px;
	border-bottom: 4px solid #9B2C2C;
	border-radius: 8px;
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	background-size: cover;
	background-position: center;
	position: relative;
	overflow: hidden;
}

.jf-term-hero-container .category-badge-pill {
	display: inline-block;
	background-color: #9B2C2C;
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	padding: 3px 10px;
	border-radius: 4px;
	letter-spacing: 0.8px;
	margin-bottom: 10px;
}

.jf-term-hero-container .category-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 2.2rem;
	font-weight: 800;
	color: #FFFFFF;
	line-height: 1.15;
	margin: 0 0 8px 0;
}

.jf-term-hero-container .category-subtitle {
	font-size: 1.05rem;
	color: #F8FAFC;
	font-weight: 600;
	margin-bottom: 10px;
}

.jf-term-hero-container .category-description {
	font-size: 0.95rem;
	color: #CBD5E1;
	line-height: 1.5;
	max-width: 750px;
}

.jf-term-hero-container .category-description p {
	margin-bottom: 10px;
}

.jf-term-hero-container .category-description p:last-child {
	margin-bottom: 0;
}

/* CONTAINER DE DESCRIÇÃO ISOLADA */
.jf-term-rich-description {
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	color: #374151;
	margin-bottom: 20px;
}

.jf-term-rich-description p {
	margin-bottom: 12px;
}

/* ABAS DE SUB-FILTRO POR TAGS (FIEL AO CATEGORY.HTML) */
.sub-filter-tabs {
	display: flex;
	gap: 10px;
	margin-top: 18px;
	flex-wrap: wrap;
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.sub-tab {
	background: rgba(255, 255, 255, 0.12);
	color: #E2E8F0;
	padding: 6px 14px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	text-decoration: none;
	transition: all 0.2s ease;
	display: inline-block;
}

.sub-tab.active,
.sub-tab:hover {
	background: #9B2C2C;
	color: #ffffff;
	border-color: #9B2C2C;
}

/* Sub-tabs quando exibidas fora do banner escuro (fundo claro) */
.sub-filter-tabs.light-theme .sub-tab {
	background: #F1F5F9;
	color: #334155;
	border-color: #CBD5E1;
}

.sub-filter-tabs.light-theme .sub-tab.active,
.sub-filter-tabs.light-theme .sub-tab:hover {
	background: #9B2C2C;
	color: #ffffff;
	border-color: #9B2C2C;
}
