/*
Template Name: Quick Fix Tips
Template URI: https://abc.com/
Description: 极简快速响应式Adsense模板，专为Emlog 5.3.1优化
Version: 1.0
Author: Quick Fix Tips
Author URI: https://abc.com/
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #2c3e50;
    color: white;
    padding: 20px 0;
    margin-bottom: 30px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

nav a:hover {
    color: #3498db;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 0;
    margin-bottom: 40px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}

/* Section Title */
.section-title {
    font-size: 24px;
    margin-bottom: 25px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.article-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    transition: transform 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.article-card a {
    color: #2c3e50;
    text-decoration: none;
}

.article-card a:hover {
    color: #3498db;
}

.article-card p {
    color: #666;
    font-size: 14px;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.category-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.category-card p {
    color: #666;
    margin-bottom: 20px;
}

.category-card a {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.category-card a:hover {
    background-color: #2980b9;
}

/* Article Content */
.article-content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.article-content h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.article-content h2 {
    font-size: 22px;
    margin: 25px 0 15px;
    color: #2c3e50;
}

.article-content p {
    margin-bottom: 15px;
    font-size: 16px;
}

.article-content ol, .article-content ul {
    margin: 15px 0 15px 30px;
}

.article-content li {
    margin-bottom: 8px;
}

.related-articles {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.related-articles h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* Footer Styles */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #3498db;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
}