/**
 * Theme Styles - Oslou Tecnologia
 */

/* Layout Principal */
.site-main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}

/* Cabeçalho de Página */
.page-header {
	margin-bottom: 40px;
}

.page-title,
.entry-title,
.archive-title {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 20px;
	color: #1a1a1a;
}

/* Meta informações */
.entry-meta {
	font-size: 0.875rem;
	color: #666;
	margin-bottom: 20px;
}

.entry-meta span {
	margin-right: 15px;
}

/* Conteúdo */
.page-content,
.entry-content {
	font-size: 1.125rem;
	line-height: 1.8;
}

.page-content p,
.entry-content p {
	margin-bottom: 1.5em;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin-top: 1.5em;
	margin-bottom: 0.75em;
	font-weight: 700;
	line-height: 1.3;
}

/* Tags */
.post-tags {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #eee;
}

.tag-links {
	font-size: 0.9rem;
}

/* Posts Grid (Archive) */
.posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
	margin-bottom: 40px;
}

.archive-post {
	border: 1px solid #eee;
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow 0.3s ease;
}

.archive-post:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-thumbnail img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.archive-post .entry-header,
.archive-post .entry-summary,
.archive-post .entry-footer {
	padding: 20px;
}

.archive-post .entry-title {
	font-size: 1.5rem;
	margin-bottom: 10px;
}

.archive-post .entry-title a {
	color: #1a1a1a;
	text-decoration: none;
}

.archive-post .entry-title a:hover {
	color: #0073aa;
}

/* Botões */
.button,
.read-more {
	display: inline-block;
	padding: 10px 20px;
	background-color: #0073aa;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	transition: background-color 0.3s ease;
}

.button:hover,
.read-more:hover {
	background-color: #005177;
	text-decoration: none;
}

/* Paginação */
.pagination {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 40px;
}

.pagination .page-numbers {
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	color: #0073aa;
	text-decoration: none;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
	background-color: #0073aa;
	color: #fff;
	border-color: #0073aa;
}

/* Erro 404 */
.error-404 .page-header {
	text-align: center;
}

.error-404-search,
.error-404-links {
	margin-top: 30px;
	text-align: center;
}

/* Formulário de Busca */
.search-form {
	display: flex;
	max-width: 500px;
	margin: 20px auto;
}

.search-form input[type="search"] {
	flex: 1;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px 0 0 4px;
	font-size: 1rem;
}

.search-form button {
	padding: 12px 24px;
	background-color: #0073aa;
	color: #fff;
	border: none;
	border-radius: 0 4px 4px 0;
	cursor: pointer;
	font-size: 1rem;
}

.search-form button:hover {
	background-color: #005177;
}

/* Comentários */
.comments-area {
	margin-top: 60px;
	padding-top: 40px;
	border-top: 2px solid #eee;
}

/* Responsivo */
@media (max-width: 768px) {
	.page-title,
	.entry-title,
	.archive-title {
		font-size: 2rem;
	}

	.posts-grid {
		grid-template-columns: 1fr;
	}

	.site-main {
		padding: 20px 15px;
	}
}

