/*
Theme Name: Chong11 Clone
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: A clone of chong11.com
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chong11-clone
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #00aa98;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.site-header {
    background-color: #000;
    height: 60px;
    width: 100%;
}

.header-container {
    width: 100%;
}

.header-inner {
    width: 1200px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    flex: 0 0 auto;
}

.site-logo img {
    display: block;
    max-height: 60px;
}

/* Navigation Styles */
.main-navigation {
    flex: 1 1 auto;
    margin-left: 30px;
}

.menu-primary {
    display: flex;
    list-style: none;
}

.menu-primary li {
    position: relative;
}

.menu-primary a {
    display: block;
    color: #fff;
    padding: 0 15px;
    line-height: 60px;
    font-weight: 500;
}

.menu-primary a:hover {
    background-color: #00aa98;
    color: #fff;
}

/* Breadcrumbs Styles */
.breadcrumbs {
    background-color: #00aa98;
    padding: 10px 0;
    font-size: 14px;
}

.breadcrumbs a {
    color: #fff;
}

.breadcrumbs span {
    color: #fff;
    margin: 0 5px;
}

/* Main Content Styles */
.site-content {
    padding: 30px 0;
}

.content-area {
    display: flex;
    justify-content: space-between;
}

.main-content {
    flex: 1;
}

/* Homepage Styles */
.home-content {
    display: flex;
    justify-content: space-between;
}

.home-left {
    width: 820px;
}

.home-right {
    width: 320px;
}

/* Banner Carousel */
.banner-carousel {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}

.carousel-item {
    display: none;
    position: relative;
}

.carousel-item.active {
    display: block;
}

.carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px;
    color: #fff;
}

.carousel-category {
    display: inline-block;
    background-color: #00aa98;
    color: #fff;
    padding: 3px 10px;
    font-size: 12px;
    margin-bottom: 10px;
}

.carousel-title {
    font-size: 24px;
    margin: 0;
}

.carousel-title a {
    color: #fff;
}

/* Article Lists */
.section-title {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #00aa98;
    color: #333;
}

.articles-list {
    margin-bottom: 30px;
}

.article-item {
    display: flex;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.article-item:last-child {
    border-bottom: none;
}

.article-thumb {
    flex: 0 0 360px;
    margin-right: 20px;
    position: relative;
}

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

.article-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #00aa98;
    color: #fff;
    padding: 3px 10px;
    font-size: 12px;
    z-index: 10;
}

.article-content {
    flex: 1;
}

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

.article-excerpt {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.article-meta {
    font-size: 12px;
    color: #999;
}

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

/* Sidebar Styles */
.widget-area {
    background-color: #fff;
    padding: 20px;
}

.widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #00aa98;
}

/* Search Widget */
.search-form {
    display: flex;
}

.search-field {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #ddd;
    outline: none;
}

.search-submit {
    background-color: #00aa98;
    color: #fff;
    border: none;
    padding: 0 15px;
    cursor: pointer;
}

/* Headline & Popular Lists */
.headline-list, .popular-list, .categories-widget ul {
    list-style: none;
}

.headline-list li, .popular-list li, .categories-widget li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.headline-list li:last-child, .popular-list li:last-child, .categories-widget li:last-child {
    border-bottom: none;
}

.headline-date {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.popular-rank {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #00aa98;
    color: #fff;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    margin-right: 10px;
}

.popular-views {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* Archive Page Styles */
.archive-title {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}

.archive-posts {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.archive-post-item {
    width: 33.333%;
    padding: 0 15px;
    margin-bottom: 30px;
}

.archive-post-thumb {
    position: relative;
    margin-bottom: 15px;
}

.archive-post-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.archive-post-content .article-title {
    font-size: 16px;
    margin-bottom: 10px;
}

/* Single Post Styles */
.single-post {
    width: 820px;
}

.post-header {
    margin-bottom: 30px;
}

.post-title {
    font-size: 28px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-meta {
    font-size: 14px;
    color: #999;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.post-meta span {
    margin-right: 20px;
}

.post-content {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.8;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

.post-tags {
    margin-bottom: 30px;
    padding: 15px;
    background-color: #f9f9f9;
}

.post-tags a {
    display: inline-block;
    background-color: #eee;
    padding: 3px 10px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 14px;
}

.post-tags a:hover {
    background-color: #00aa98;
    color: #fff;
}

.post-share {
    margin-bottom: 30px;
}

.post-share span {
    margin-right: 10px;
}

.share-facebook, .share-twitter, .share-pinterest {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
}

.share-facebook {
    background-color: #3b5998;
}

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

.share-pinterest {
    background-color: #bd081c;
}

.author-bio {
    display: flex;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
}

.author-avatar {
    flex: 0 0 80px;
    margin-right: 20px;
}

.author-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

.author-name {
    font-size: 18px;
    margin-bottom: 10px;
}

.related-posts {
    margin-bottom: 30px;
}

.related-posts-list {
    display: flex;
    justify-content: space-between;
}

.related-post-item {
    width: 32%;
}

.related-thumb {
    display: block;
    margin-bottom: 10px;
}

.related-thumb img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.related-title {
    font-size: 14px;
    margin-bottom: 5px;
}

.related-date {
    font-size: 12px;
    color: #999;
}

/* Pagination Styles */
.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination-links a {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #ddd;
    margin: 0 5px;
}

.pagination-links a:hover {
    background-color: #00aa98;
    color: #fff;
    border-color: #00aa98;
}

/* Friend Links */
.friend-links-section {
    background-color: #fff;
    padding: 20px 0;
    margin-bottom: 30px;
}

.friend-links-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.links-list {
    display: flex;
    flex-wrap: wrap;
}

.links-list a {
    display: inline-block;
    padding: 5px 15px;
    margin: 0 10px 10px 0;
    border: 1px solid #eee;
}

.links-list a:hover {
    border-color: #00aa98;
}

/* Footer Styles */
.site-footer {
    background-color: #000;
    height: 60px;
    width: 100%;
    color: #fff;
}

.footer-container {
    width: 100%;
}

.footer-inner {
    width: 1200px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}

.social-links {
    display: flex;
}

.social-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    color: #fff;
    margin-left: 10px;
    border-radius: 50%;
    background-color: #333;
}

.social-icon:hover {
    background-color: #00aa98;
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container,
    .header-inner,
    .footer-inner {
        width: 100%;
    }
    
    .home-left {
        width: 68%;
    }
    
    .home-right {
        width: 30%;
    }
    
    .single-post {
        width: 68%;
    }
    
    .archive-post-item {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .content-area,
    .home-content,
    .article-item,
    .author-bio,
    .related-posts-list {
        flex-direction: column;
    }
    
    .home-left,
    .home-right,
    .single-post,
    .archive-post-item,
    .related-post-item,
    .article-thumb {
        width: 100%;
        margin-right: 0;
    }
    
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: #fff;
        font-size: 18px;
        cursor: pointer;
        padding: 10px;
    }
    
    .menu-primary {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #000;
        z-index: 999;
    }
    
    .menu-primary li {
        border-bottom: 1px solid #333;
    }
    
    .menu-primary a {
        padding-left: 20px;
    }
    
    .carousel-item img {
        height: 250px;
    }
    
    .article-thumb img {
        height: auto;
    }
    
    .related-post-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .archive-post-item {
        width: 100%;
    }
    
    .post-title {
        font-size: 22px;
    }
    
    .footer-inner {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
        text-align: center;
    }
    
    .social-links {
        margin-top: 10px;
        justify-content: center;
    }
}
    