.single-container {
	display: grid;
	grid-template-columns: 2.5fr 1fr;
	gap: 3rem;
	margin-top: 3rem;
	margin-bottom: 3rem;
}

.single-content {
	min-width: 0;
}

/* Navegação entre posts */
.navigation.post-navigation {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid #eee;
}

.navigation.post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.nav-previous,
.nav-next {
	flex: 1;
	min-width: 0;
	max-width: 50%;
}

.nav-next {
	margin-left: auto;
}

.navigation.post-navigation a {
	display: flex;
	flex-direction: column;
	padding: 20px;
	background-color: #f2f2f2;
	border: 1px solid #e9ecef;
	border-radius: 8px;
	text-decoration: none;
	height: 100%;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navigation.post-navigation a:hover {
	border-color: var(--cor-primaria);
	transform: translateY(-3px);
	box-shadow: 0 4px 8px rgba(0, 123, 255, 0.15);
}

.nav-subtitle {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #888;
	margin-bottom: 8px;
	font-weight: 700;
}

.nav-title {
	font-size: 1rem;
	font-weight: 600;
	color: #333;
	line-height: 1.4;
}

.nav-previous a {
	text-align: left;
	align-items: flex-start;
}
.nav-next a {
	text-align: right;
	align-items: flex-end;
}

/* Widget de Pesquisa (Estilo Sidebar Padrão) */
.sidebar-widget.widget-search {
	background-color: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	padding: 1.5rem;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
	margin-bottom: 2rem;
}

.sidebar-widget.widget-search .widget-title {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
	font-size: 1.25rem;
	font-weight: 700;
	color: #111827;
}

.sidebar-widget.widget-search .widget-title::before {
	content: "";
	display: block;
	width: 4px;
	height: 24px;
	background-color: var(--cor-primaria);
	border-radius: 9999px;
}

.sidebar-widget.widget-search .search-field {
	width: 100%;
	padding: 0.75rem 1rem 0.75rem 2.5rem;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	background-color: #f9fafb;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239ca3af' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: 12px center;
}

.sidebar-widget.widget-search .search-submit {
	display: none;
}

/* =========================================
   NOVO DESIGN: Widget de Últimas Notícias
   ========================================= */

/* Container Principal (Card) */
.widget-recent-posts-modern {
	background-color: #ffffff;
	border: 1px solid #e5e7eb; /* gray-100/200 */
	border-radius: 0.75rem; /* rounded-xl */
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
	overflow: hidden;
	margin-bottom: 2rem;
}

/* Header Colorido */
.modern-widget-header {
	background-color: var(--cor-primaria);
	padding: 0.75rem 1.5rem; /* py-3 px-6 */
}

.modern-widget-title {
	color: #ffffff;
	font-weight: 700;
	font-size: 1.125rem; /* text-lg */
	margin: 0;
}

/* Lista de Itens */
.modern-widget-content {
	display: flex;
	flex-direction: column;
}

.modern-post-item {
	display: block;
	padding: 1rem; /* p-4 */
	text-decoration: none;
	border-bottom: 1px solid #f3f4f6; /* divide-y */
	transition: background-color 0.2s;
}

.modern-post-item:last-child {
	border-bottom: none;
}

.modern-post-item:hover {
	background-color: #f9fafb; /* hover:bg-gray-50 */
}

/* Data */
.modern-post-date {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--cor-primaria);
	margin-bottom: 0.25rem;
	text-transform: uppercase;
}

/* Título do Post */
.modern-post-title {
	color: #1f2937; /* gray-800 */
	font-weight: 500;
	font-size: 0.875rem; /* text-sm */
	margin: 0;
	line-height: 1.4;
	transition: color 0.2s;

	/* Limite de 2 linhas (line-clamp) */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.modern-post-item:hover .modern-post-title {
	color: var(--cor-primaria);
}

/* Rodapé (Ver todas) */
.modern-widget-footer {
	padding: 1rem;
	background-color: #f9fafb; /* bg-gray-50 */
	text-align: center;
	border-top: 1px solid #f3f4f6;
}

.modern-widget-footer a {
	font-size: 0.875rem; /* text-sm */
	font-weight: 700;
	color: var(--cor-primaria);
	text-decoration: none;
}

.modern-widget-footer a:hover {
	text-decoration: underline;
}

.sidebar-single .search-form {
	background-color: #f9fafb;
}

/* Responsividade */
@media (max-width: 1000px) {
	.single-container {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	.single-content {
		order: 1;
		padding: 0rem 2rem;
	}
	.sidebar-single {
		order: 2;
		padding: 1rem;
		display: none;
	}

	.nav-previous,
	.nav-next {
		max-width: 100%;
	}

	.navigation.post-navigation .nav-links {
		flex-direction: column;
		padding: 1rem;
	}

	.nav-next {
		margin-left: 0;
		text-align: right;
		align-items: flex-start;
	}
}
