/*
Theme Name: Pocco Clone
Author: Custom AI
Description: Custom WordPress theme with bbPress Forum and Blog layout.
Version: 1.2
Text Domain: pocco-clone
*/

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

header.site-header {
    background: #1a1a2e;
    color: #fff;
    padding: 15px 0;
}

.site-header a {
    color: #fff;
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    text-align: center;
    padding: 30px 20px; /* Padding kam karke height choti kar di hai */
    margin-bottom: 20px;
}

.hero-section h1 {
    font-size: 1.8rem; /* Heading size thoda kam kiya hai */
    margin-bottom: 8px;
}

.hero-section p {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-top: 0;
}
/* Forum Section Styling */
.forum-section {
    margin: 40px 0;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* bbPress Table Styling (Yellow Header Fix) */
#bbpress-forums {
    font-size: 14px;
}

#bbpress-forums li.bbp-header, 
#bbpress-forums .bbp-forums-header, 
#bbpress-forums .bbp-topics-header {
    background-color: #f1c40f !important;
    color: #ffffff !important;
    font-weight: bold;
    border: none;
    padding: 12px 15px;
}

#bbpress-forums li.bbp-header ul {
    overflow: hidden;
}

#bbpress-forums .bbp-forums-list {
    font-size: 12px;
    color: #666;
}

/* Blog Section Styling */
.blog-section {
    margin: 50px 0;
}

.blog-section h2 {
    border-bottom: 3px solid #f1c40f;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

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

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    font-size: 1.1rem;
    margin-top: 5px;
    margin-bottom: 10px;
}

.blog-content h3 a {
    color: #1a1a2e;
    text-decoration: none;
}

.blog-content h3 a:hover {
    color: #f1c40f;
}

/* Footer Styling */
footer {
    background: #1a1a2e;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 60px;
}