/*
Theme Name: ChurchBG
Description: A WordPress theme inspired by classic Bulgarian Christian forums, featuring a nostalgic early 2000s design with authentic colors and layout.
Version: 1.0
Author: Your Name
Text Domain: churchbg
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Tahoma, Arial, sans-serif;
    font-size: 11px;
    background-color: #3d5f8d;
    color: #2e2e2e;
}

/* Header */
.header {
    background: #3d5f8d;
    color: white;
    padding: 0;
}

.header-top {
    background-color: #3d5f8d;
    padding: 5px 10px;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #e6e600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.tagline {
    font-size: 11px;
    color: #e6e6e6;
    margin-top: 2px;
    letter-spacing: 1px;
}

.header-date {
    font-size: 11px;
    color: #e6e6e6;
}

/* Navigation Bar */
.nav-bar {
    background-color: #bec7d1;
    border: 1px solid #7d92b0;
    padding: 4px 10px;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Main Layout */
.container {
    display: flex;
    background-color: #3d5f8d;
    min-height: 600px;
}

/* Left Sidebar */
.sidebar {
    width: 200px;
    background-color: #3d5f8d;
    padding: 10px;
}

.sidebar-section {
    margin-bottom: 10px;
}

.sidebar-title {
    background: linear-gradient(to bottom, #7d92b0, #5a759f);
    border: 1px solid #4a6696;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: bold;
    color: white;
    margin-bottom: 0;
}

.sidebar-content {
    border: 1px solid #4a6696;
    border-top: none;
    background-color: #bec7d1;
}

.sidebar-item {
    padding: 3px 8px;
    border-bottom: 1px solid #a6b2bd;
    font-size: 11px;
}

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

.sidebar-item a {
    text-decoration: none;
    color: #005eb8;
}

.sidebar-item a:hover {
    text-decoration: underline;
}

.login-section {
    padding: 8px;
}

.login-section input {
    width: 100%;
    margin-bottom: 3px;
    padding: 2px;
    font-size: 11px;
    border: 1px solid #8a8a8a;
}

.login-btn {
    background-color: #d9d9d9;
    border: 1px solid #8a8a8a;
    padding: 2px 8px;
    font-size: 11px;
    cursor: pointer;
}

.login-options {
    font-size: 10px;
    margin-top: 3px;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 10px;
}

.content-box {
    background-color: #bec7d1;
    border: 1px solid #7d92b0;
    margin-bottom: 10px;
}

.content-header {
    background: linear-gradient(to bottom, #ced1d8, #bec7d1);
    border-bottom: 1px solid #a6b2bd;
    padding: 5px 10px;
    font-size: 11px;
}

.forum-link {
    color: #005eb8;
    text-decoration: underline;
}

/* Forum Table */
.forum-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.forum-header {
    background: linear-gradient(to bottom, #ced1d8, #bec7d1);
    border-bottom: 1px solid #a6b2bd;
}

.forum-header th {
    padding: 5px 8px;
    text-align: left;
    font-weight: bold;
    border-right: 1px solid #a6b2bd;
}

.forum-row {
    background-color: #e6e6e6;
    border-bottom: 1px solid #bec7d1;
}

.forum-row:nth-child(even) {
    background-color: #dedfe1;
}

.forum-row td {
    padding: 5px 8px;
    border-right: 1px solid #bec7d1;
    vertical-align: top;
}

.forum-title a {
    text-decoration: none;
    color: #005eb8;
}

.forum-title a:hover {
    text-decoration: underline;
}

.forum-stats {
    text-align: center;
    font-weight: bold;
}

.forum-date {
    font-size: 10px;
    text-align: right;
    white-space: nowrap;
}

/* Post stats colors */
.stat-red { color: #f20000; }
.stat-orange { color: #f25d00; }
.stat-blue { color: #005eb8; }

/* Article Box */
.article-box {
    background-color: #bec7d1;
    border: 1px solid #7d92b0;
    margin-bottom: 10px;
}

.article-header {
    background: linear-gradient(to bottom, #ced1d8, #bec7d1);
    border-bottom: 1px solid #a6b2bd;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: bold;
}

.article-content {
    padding: 8px 10px;
    font-size: 11px;
    line-height: 1.4;
    background-color: #D7DEF8;
}

.article-meta {
    font-size: 10px;
    color: #5c5c5c;
}

.article-author {
    font-weight: bold;
    color: #005eb8;
}

/* Right Sidebar */
.right-sidebar {
    width: 180px;
    background-color: #3d5f8d;
    padding: 10px;
}

.ads-section {
    margin-bottom: 15px;
}

.ads-title {
    background: linear-gradient(to bottom, #7d92b0, #5a759f);
    border: 1px solid #4a6696;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: bold;
    color: white;
    margin-bottom: 0;
}

.ads-content {
    border: 1px solid #4a6696;
    border-top: none;
    background-color: #bec7d1;
    padding: 8px;
    font-size: 10px;
    text-align: center;
}

/* Links styling */
.links-bar {
    text-align: center;
    margin: 10px 0;
    font-size: 11px;
}

.links-bar a {
    color: #005eb8;
    text-decoration: none;
    margin: 0 3px;
}

.links-bar a:hover {
    text-decoration: underline;
}

/* Icons */
.icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 3px;
}

/* WordPress specific styles */
.wp-block-group {
    margin: 0;
}

.entry-content p {
    margin-bottom: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .sidebar,
    .right-sidebar {
        width: 100%;
    }
}