@charset "utf-8";

* {
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: Arial, Helvetica, sans-serif;
}
body {
    line-height: 1.6; 
    color: #333; 
    background: #f9f9f9;
    margin: 0;
    padding: 0;
}
a {
    text-decoration: none; 
    color: #2c3e50;
    transition: color 0.3s ease;
}
a:hover {
    color: #3498db;
}

img {
    max-width: 400px;
}

.header {
    background: #fff;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}
.logo img {
    max-width: 180px;
    height: auto;
    display: block;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}
.main-nav li {
    position: relative;
}
.main-nav a {
    font-weight: 500;
    padding: 8px 10px;
    display: block;
}

.breadcrumbs {
    padding: 12px 20px;
    font-size: 14px;
    color: #666;
    background: #fff;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}
.breadcrumbs a {
    color: #666;
}
.breadcrumbs a:hover {
    color: #3498db;
}

.home-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.home-content h1 {
    font-size: 28px;
    margin: 10px 0 20px;
    color: #2c3e50;
}
.home-content h2 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: #34495e;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}
.home-intro {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.8;
}
.basic-links, .gold-links, .silver-links, .diamond-links, .latest-articles {
    list-style: disc;
    margin: 10px 0 20px 20px;
}
.latest-articles li {
    margin: 8px 0;
    font-size: 15px;
}

.category-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 20px;
}
.category-content h1 {
    font-size: 28px;
    margin: 0 0 25px;
    color: #2c3e50;
    font-weight: 700;
    line-height: 1.3;
}
.category-content h2 {
    font-size: 22px;
    margin: 35px 0 18px;
    color: #34495e;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    font-weight: 600;
}
.category-content h3 {
    font-size: 19px;
    margin: 25px 0 12px;
    color: #34495e;
    font-weight: 600;
}
.category-content h4 {
    font-size: 17px;
    margin: 20px 0 10px;
    color: #34495e;
    font-weight: 600;
}
.post-meta {
    font-size: 14px;
    color: #888;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}
.category-intro {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.8;
    color: #444;
    max-width: 900px;
}
.category-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
    max-width: 900px;
}
.category-content img {
    max-width: 100%;
    height: auto;
    margin: 25px 0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.article-list {
    list-style: disc;
    margin: 10px 0 25px 25px;
    padding: 0;
    max-width: 900px;
}
.article-list li {
    margin: 12px 0;
    font-size: 16px;
    line-height: 1.7;
}
.article-list li span {
    color: #888;
    font-size: 14px;
    margin-left: 10px;
    font-style: italic;
}

.lwptoc {
    margin: 30px 0;
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #eee;
    max-width: 900px;
}
.lwptoc_title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}
.lwptoc_item_label {
    font-size: 14px;
    color: #2c3e50;
}
.lwptoc_item a:hover .lwptoc_item_label {
    color: #3498db;
}

.tags {
    margin: 30px 0;
    padding: 15px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #eee;
    max-width: 900px;
}
.tags ul {
    display: inline-flex;
    list-style: none;
    gap: 10px;
    margin-left: 10px;
}
.tags li a {
    padding: 5px 10px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 14px;
}
.tags li a:hover {
    background: #3498db;
    color: #fff;
    text-decoration: none;
}

.title {
    font-size: 20px;
    margin: 40px 0 15px;
    color: #2c3e50;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    max-width: 900px;
}

.facebook, .pin, .instagram {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 10px 20px 0;
    background: #2c3e50;
    color: #fff !important;
    border-radius: 4px;
    font-size: 14px;
}
.facebook:hover {
    background: #3b5998;
}
.pin:hover {
    background: #bd081c;
}
.instagram:hover {
    background: #c13584;
}

.back {
    display: inline-block;
    padding: 10px 20px;
    background: #3498db;
    color: #fff !important;
    border-radius: 4px;
    margin: 30px 0;
}
.back:hover {
    background: #2980b9;
    text-decoration: none;
}

footer {
    background: #2c3e50;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
}
footer a {
    color: #fff;
    margin: 0 8px;
}
footer a:hover {
    color: #3498db;
    text-decoration: underline;
}
footer p {
    margin: 0;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .header {
        flex-direction: column; 
        gap: 15px; 
        text-align: center;
        padding: 15px;
    }
    .logo img {
        margin: 0 auto;
    }
    .main-nav ul {
        gap: 8px; 
        justify-content: center;
        width: 100%;
    }
    .main-nav a {
        padding: 6px 8px;
        font-size: 14px;
    }
    
    .home-content h1 {font-size: 24px;}
    .home-content h2 {font-size: 20px;}
    .home-content {padding: 15px;}
    
    .category-content h1 {font-size: 24px;}
    .category-content h2 {font-size: 20px;}
    .category-content h3 {font-size: 18px;}
    .category-content h4 {font-size: 16px;}
    .category-content {padding: 0 15px 15px;}
    .category-intro, .category-content p {font-size: 15px;}
    .article-list {margin-left: 20px;}
    .article-list li {font-size: 15px;}
    .breadcrumbs {padding: 10px 15px; font-size: 13px;}
    
    .facebook, .pin, .instagram {
        display: block;
        margin: 0 0 10px 0;
        text-align: center;
    }
}