/**
 * Additional styles for WordPress theme
 * @package AliExpress
 */

/* ============================================
   HOME PAGE STYLES
   ============================================ */

.hero-section {
	background: linear-gradient(135deg, #ff6600 0%, #ff4500 100%);
	padding: 80px 0;
	text-align: center;
	color: #fff;
}

.hero-section h1 {
	font-size: 2.5rem;
	margin-bottom: 15px;
	font-weight: 700;
}

.hero-section p {
	font-size: 1.2rem;
	opacity: 0.9;
}

/* Categories Section */
.categories-section {
	padding: 60px 0;
	background: #f8f9fa;
}

.categories-section h2 {
	text-align: center;
	margin-bottom: 40px;
	font-size: 2rem;
	color: #333;
}

.categories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
}

.category-item {
	display: flex;
	flex-direction: column;
	padding: 25px;
	background: #fff;
	border-radius: 8px;
	text-decoration: none;
	color: #333;
	transition: all 0.3s ease;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.category-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.category-name {
	font-weight: 600;
	font-size: 1.1rem;
	margin-bottom: 5px;
}

.category-count {
	font-size: 0.85rem;
	color: #666;
}

/* Latest Posts Section */
.latest-posts {
	padding: 60px 0;
}

.latest-posts h2 {
	text-align: center;
	margin-bottom: 40px;
	font-size: 2rem;
	color: #333;
}

.posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 30px;
}

.post-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 15px rgba(0,0,0,0.08);
	transition: all 0.3s ease;
}

.post-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.post-card a {
	text-decoration: none;
	color: inherit;
	display: block;
}

.post-card .post-thumbnail {
	position: relative;
	overflow: hidden;
	height: 200px;
}

.post-card .post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.post-card:hover .post-thumbnail img {
	transform: scale(1.05);
}

.post-card .post-content {
	padding: 25px;
}

.post-card .post-category {
	display: inline-block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #ff6600;
	font-weight: 600;
	margin-bottom: 10px;
}

.post-card h3 {
	font-size: 1.2rem;
	line-height: 1.4;
	margin-bottom: 15px;
	color: #333;
}

.post-card .post-meta {
	font-size: 0.85rem;
	color: #888;
}

.post-card .post-excerpt {
	font-size: 0.9rem;
	color: #666;
	margin-top: 10px;
	line-height: 1.6;
}

.load-more {
	text-align: center;
	margin-top: 50px;
}

.load-more .button {
	display: inline-block;
	padding: 15px 40px;
	background: #ff6600;
	color: #fff;
	text-decoration: none;
	border-radius: 30px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.load-more .button:hover {
	background: #ff4500;
	transform: translateY(-2px);
}

/* ============================================
   ARCHIVE PAGE STYLES
   ============================================ */

.archive-header {
	background: linear-gradient(135deg, #333 0%, #555 100%);
	padding: 60px 0;
	text-align: center;
	color: #fff;
}

.archive-header h1 {
	font-size: 2.5rem;
	margin-bottom: 10px;
}

.archive-description {
	font-size: 1.1rem;
	opacity: 0.9;
}

.archive-posts {
	padding: 60px 0;
}

/* ============================================
   SEARCH PAGE STYLES
   ============================================ */

.search-header {
	background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
	padding: 60px 0;
	text-align: center;
	color: #fff;
}

.search-header h1 {
	font-size: 2rem;
}

.search-header span {
	color: #f1c40f;
}

.search-results {
	padding: 60px 0;
}

.no-results {
	padding: 100px 0;
	text-align: center;
}

.no-results h1 {
	font-size: 2rem;
	margin-bottom: 20px;
	color: #333;
}

.no-results p {
	font-size: 1.1rem;
	color: #666;
	margin-bottom: 30px;
}

/* ============================================
   404 PAGE STYLES
   ============================================ */

.error-404 {
	padding: 100px 0;
	text-align: center;
}

.error-404 h1 {
	font-size: 3rem;
	color: #ff6600;
	margin-bottom: 20px;
}

.error-404 p {
	font-size: 1.1rem;
	color: #666;
	margin-bottom: 30px;
}

.error-404 .latest-posts,
.error-404 .categories-list {
	margin-top: 50px;
	text-align: left;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.error-404 h3 {
	font-size: 1.3rem;
	margin-bottom: 15px;
	color: #333;
}

.error-404 ul {
	list-style: none;
	padding: 0;
}

.error-404 li {
	padding: 10px 0;
	border-bottom: 1px solid #eee;
}

.error-404 a {
	color: #333;
	text-decoration: none;
}

.error-404 a:hover {
	color: #ff6600;
}

/* ============================================
   PAGINATION STYLES
   ============================================ */

.pagination {
	margin-top: 50px;
	text-align: center;
}

.pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

.pagination .page-numbers {
	display: inline-block;
	padding: 10px 18px;
	background: #f5f5f5;
	color: #333;
	text-decoration: none;
	border-radius: 5px;
	transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
	background: #ff6600;
	color: #fff;
}

/* ============================================
   RELATED POSTS STYLES
   ============================================ */

.related-posts {
	padding: 60px 0;
	background: #f8f9fa;
}

.related-posts h3 {
	text-align: center;
	font-size: 1.8rem;
	margin-bottom: 40px;
	color: #333;
}

.related-posts .row-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
}

.related-item {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 15px rgba(0,0,0,0.08);
	transition: all 0.3s ease;
}

.related-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.related-item a {
	text-decoration: none;
	color: inherit;
	display: block;
}

.related-item img {
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.related-item h4 {
	padding: 20px;
	font-size: 1rem;
	line-height: 1.4;
	color: #333;
}

/* ============================================
   SEARCH FORM STYLES
   ============================================ */

#search-form {
	position: relative;
	display: inline-block;
}

#search-form input[type="text"] {
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 25px;
	font-size: 14px;
	width: 200px;
	transition: all 0.3s ease;
}

#search-form input[type="text"]:focus {
	width: 250px;
	border-color: #ff6600;
	outline: none;
}

/* ============================================
   COMMENTS STYLES
   ============================================ */

.comments-area {
	padding: 60px 0;
	max-width: 800px;
	margin: 0 auto;
}

.comments-title {
	font-size: 1.5rem;
	margin-bottom: 30px;
	color: #333;
}

.comment-list {
	list-style: none;
	padding: 0;
}

.comment-list li {
	padding: 25px;
	background: #f8f9fa;
	border-radius: 10px;
	margin-bottom: 20px;
}

.comment-form {
	margin-top: 40px;
}

.comment-form label {
	display: block;
	margin-bottom: 5px;
	font-weight: 600;
}

.comment-form input,
.comment-form textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 5px;
	margin-bottom: 15px;
}

.comment-form .submit {
	background: #ff6600;
	color: #fff;
	border: none;
	padding: 12px 30px;
	border-radius: 25px;
	cursor: pointer;
	font-weight: 600;
	transition: all 0.3s ease;
}

.comment-form .submit:hover {
	background: #ff4500;
}

/* ============================================
   SUBSCRIBE FORM (LITY MODAL)
   ============================================ */

#suscribe-form {
	padding: 40px;
	max-width: 500px;
	background: #fff;
	border-radius: 10px;
	text-align: center;
}

#suscribe-form h3 {
	font-size: 1.5rem;
	margin-bottom: 15px;
	color: #333;
}

#suscribe-form p {
	color: #666;
	margin-bottom: 25px;
}

#suscribe-form input[type="email"] {
	width: 100%;
	padding: 15px;
	border: 1px solid #ddd;
	border-radius: 5px;
	margin-bottom: 15px;
	font-size: 16px;
}

#suscribe-form button {
	width: 100%;
	padding: 15px;
	background: #ff6600;
	color: #fff;
	border: none;
	border-radius: 5px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

#suscribe-form button:hover {
	background: #ff4500;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 768px) {
	.hero-section {
		padding: 50px 20px;
	}
	
	.hero-section h1 {
		font-size: 1.8rem;
	}
	
	.posts-grid {
		grid-template-columns: 1fr;
	}
	
	.categories-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.archive-header h1,
	.search-header h1 {
		font-size: 1.5rem;
	}
	
	.error-404 h1 {
		font-size: 2rem;
	}
	
	.related-posts .row-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.categories-grid {
		grid-template-columns: 1fr;
	}
	
	.category-item {
		padding: 20px;
	}
}

