/**
 * Blog Styles
 *
 * @package Aomo_Web
 * @since 1.0.0
 */

/* Archive Header */
.archive-header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	padding: 4rem 0;
	margin-bottom: 3rem;
}

.archive-title {
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: #fff;
	text-align: center;
}

.archive-description {
	font-size: 1.125rem;
	line-height: 1.6;
	text-align: center;
	opacity: 0.95;
	max-width: 800px;
	margin: 0 auto 1rem;
}

.archive-meta {
	text-align: center;
	font-size: 1rem;
	opacity: 0.9;
}

/* Blog Content Layout */
.blog-content {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 3rem;
	margin-top: 2rem;
}

.blog-posts {
	min-width: 0;
}

/* Posts Grid */
.posts-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	margin-bottom: 3rem;
}

/* Post Card */
.post-card {
	background-color: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
}

.post-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.post-card-thumbnail {
	width: 100%;
	height: 200px;
	overflow: hidden;
}

.post-card-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.post-card:hover .post-card-thumbnail img {
	transform: scale(1.05);
}

.post-card-content {
	padding: 1.5rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.post-card-header {
	margin-bottom: 1rem;
}

.post-card-category {
	display: inline-block;
	font-size: 0.875rem;
	font-weight: 600;
	color: #0073aa;
	text-decoration: none;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.post-card-category:hover {
	text-decoration: underline;
}

.post-card-title {
	font-size: 1.5rem;
	font-weight: 600;
	margin: 0 0 0.5rem;
	line-height: 1.3;
}

.post-card-title a {
	color: #333;
	text-decoration: none;
}

.post-card-title a:hover {
	color: #0073aa;
	text-decoration: none;
}

.post-card-meta {
	font-size: 0.875rem;
	color: #666;
	display: flex;
	gap: 1rem;
	margin-bottom: 1rem;
}

.post-card-meta a {
	color: #666;
	text-decoration: none;
}

.post-card-meta a:hover {
	color: #0073aa;
	text-decoration: underline;
}

.post-card-excerpt {
	font-size: 1rem;
	line-height: 1.6;
	color: #666;
	margin-bottom: 1rem;
	flex: 1;
}

.post-card-footer {
	margin-top: auto;
}

.post-card-link {
	color: #0073aa;
	text-decoration: none;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: gap 0.3s ease;
}

.post-card-link:hover {
	color: #005177;
	text-decoration: none;
	gap: 0.75rem;
}

/* Single Post */
.single-post {
	background-color: #fff;
	padding: 2rem 0;
}

.entry-header {
	margin-bottom: 2rem;
}

.entry-category {
	display: inline-block;
	font-size: 0.875rem;
	font-weight: 600;
	color: #0073aa;
	text-decoration: none;
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.entry-title {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: #333;
	line-height: 1.2;
}

.entry-meta {
	font-size: 0.9375rem;
	color: #666;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.entry-meta a {
	color: #666;
	text-decoration: none;
}

.entry-meta a:hover {
	color: #0073aa;
	text-decoration: underline;
}

.post-thumbnail {
	margin-bottom: 2rem;
	border-radius: 8px;
	overflow: hidden;
}

.post-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
}

.entry-content {
	font-size: 1.125rem;
	line-height: 1.8;
	color: #333;
	margin-bottom: 2rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 2rem;
	margin-bottom: 1rem;
	color: #333;
}

.entry-content p {
	margin-bottom: 1.5rem;
}

.entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
}

.entry-footer {
	padding-top: 2rem;
	border-top: 1px solid #e0e0e0;
	margin-top: 2rem;
}

.entry-tags {
	margin-bottom: 2rem;
}

.tags-label {
	font-weight: 600;
	margin-right: 0.5rem;
	color: #333;
}

.tag-link {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	background-color: #f0f0f0;
	color: #666;
	text-decoration: none;
	border-radius: 4px;
	margin-right: 0.5rem;
	margin-bottom: 0.5rem;
	font-size: 0.875rem;
	transition: all 0.3s ease;
}

.tag-link:hover {
	background-color: #0073aa;
	color: #fff;
	text-decoration: none;
}

/* Share Buttons */
.share-buttons {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid #e0e0e0;
}

.share-label {
	font-weight: 600;
	margin-right: 1rem;
	color: #333;
}

.share-list {
	display: flex;
	gap: 1rem;
	list-style: none;
	padding: 0;
	margin: 1rem 0 0;
	flex-wrap: wrap;
}

.share-button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	background-color: #f0f0f0;
	color: #333;
	text-decoration: none;
	border-radius: 4px;
	border: none;
	cursor: pointer;
	font-size: 0.875rem;
	transition: all 0.3s ease;
}

.share-button:hover {
	background-color: #0073aa;
	color: #fff;
	text-decoration: none;
}

.share-twitter:hover {
	background-color: #1da1f2;
}

.share-facebook:hover {
	background-color: #1877f2;
}

.share-line:hover {
	background-color: #00c300;
}

.share-icon {
	font-size: 1.25rem;
}

/* Author Bio */
.author-bio {
	display: flex;
	gap: 1.5rem;
	padding: 2rem;
	background-color: #f8f9fa;
	border-radius: 8px;
	margin: 3rem 0;
}

.author-avatar img {
	border-radius: 50%;
}

.author-info {
	flex: 1;
}

.author-name {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.author-name a {
	color: #333;
	text-decoration: none;
}

.author-name a:hover {
	color: #0073aa;
	text-decoration: none;
}

.author-description {
	font-size: 1rem;
	line-height: 1.6;
	color: #666;
	margin-bottom: 1rem;
}

.author-links {
	margin-top: 1rem;
}

.author-posts-link {
	color: #0073aa;
	text-decoration: none;
	font-weight: 500;
}

.author-posts-link:hover {
	text-decoration: underline;
}

/* Related Posts */
.related-posts {
	margin: 3rem 0;
	padding-top: 3rem;
	border-top: 1px solid #e0e0e0;
}

.related-posts-title {
	font-size: 1.75rem;
	font-weight: 600;
	margin-bottom: 2rem;
	color: #333;
}

.related-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.related-post-card {
	background-color: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.related-post-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-3px);
}

.related-post-thumbnail {
	width: 100%;
	height: 150px;
	overflow: hidden;
}

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

.related-post-content {
	padding: 1rem;
}

.related-post-title {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.related-post-title a {
	color: #333;
	text-decoration: none;
}

.related-post-title a:hover {
	color: #0073aa;
	text-decoration: none;
}

.related-post-meta {
	font-size: 0.875rem;
	color: #666;
}

/* Pagination */
.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	margin: 3rem 0;
}

.pagination .page-numbers {
	display: inline-block;
	padding: 0.5rem 1rem;
	background-color: #fff;
	border: 1px solid #e0e0e0;
	color: #333;
	text-decoration: none;
	border-radius: 4px;
	transition: all 0.3s ease;
}

.pagination .page-numbers:hover {
	background-color: #0073aa;
	color: #fff;
	border-color: #0073aa;
	text-decoration: none;
}

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

/* Responsive */
@media (max-width: 992px) {
	.blog-content {
		grid-template-columns: 1fr;
	}

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

	.related-posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.archive-title {
		font-size: 2rem;
	}

	.entry-title {
		font-size: 2rem;
	}

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

	.author-bio {
		flex-direction: column;
		text-align: center;
	}

	.share-list {
		flex-direction: column;
	}
}
