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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: #2971d6;
    transition: color 0.2s;
}

a:hover {
    color: #1e5bb0;
}

/* Container */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px 0;
    width: 100%;
    box-sizing: border-box;
}

/* Main Layout */
.content-layout {
    display: grid;
    grid-template-columns: 250px 1fr 250px;
    gap: 24px;
    max-width: 1200px;
    margin: 0;
    padding: 0 20px;
}

/* Sidebar Styling */
.sidebar-section {
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-bottom: 24px;
}
        
        .sidebar-heading {
            padding: 16px 16px 0 16px;
            font-size: 16px;
            font-weight: 600;
            color: #333;
        }
        
        .sidebar-content {
            padding: 12px 16px;
        }
        
        /* Navigation Links */
        .nav-list {
            list-style: none;
        }
        
        
        .nav-link {
            display: block;
            padding: 8px 0;
            color: #333;
            border-radius: 4px;
        }
        
        /* Recent Posts Links */
        .post-link {
            display: block;
            padding: 12px 0;
            border-bottom: 1px solid #eaedf2;
            color: #333;
            font-size: 14px;
        }
        
        .post-link:last-child {
            border-bottom: none;
        }
        
        /* Main Content Section */
        .main-section {
            background: white;
            border-radius: 4px;
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
            overflow: hidden;
        }
        
        .main-content {
            padding: 24px;
        }
        
        /* Content Sections */
        .content-block {
            margin-bottom: 32px;
        }
        
        .content-block:last-child {
            margin-bottom: 0;
        }
        
        .block-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 16px;
            color: #333;
            position: relative;
        }
        
        .block-title:after {
            content: '';
            display: block;
            height: 2px;
            width: 40px;
            background-color: #2971d6;
            margin-top: 8px;
        }
        
        /* Section Overview */
        .section-overview {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eaedf2;
        }
        
        .section-overview p {
            flex: 1;
            color: #555;
            font-size: 15px;
            margin: 0;
            padding-right: 20px;
        }
        
        .view-all {
            white-space: nowrap;
            color: #2971d6;
            font-size: 14px;
            font-weight: 500;
        }
        
        .view-all:hover {
            text-decoration: underline;
        }
        
        /* Post Entries */
        .post-entry {
            margin-bottom: 28px;
            padding-bottom: 28px;
            border-bottom: 1px solid #eaedf2;
        }

        .post-entry:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
        
        .post-heading {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 12px;
            color: #333;
        }
        
        .post-meta {
            display: flex;
            align-items: center;
            margin-bottom: 14px;
            font-size: 13px;
        }
        
        .post-category {
            background-color: #eaf4ff;
            padding: 2px 8px;
            border-radius: 3px;
            font-weight: 500;
            color: #2971d6;
            margin-right: 12px;
            text-decoration: none;
        }
        
        .post-category:hover {
            background-color: #d4e7fb;
        }
        
        .post-date {
            background-color: #f0f0f0;
            padding: 2px 8px;
            border-radius: 3px;
            font-weight: 500;
            color: #666;
            text-decoration: none;
        }
        
        .post-date:hover {
            background-color: #e6e6e6;
        }
        
        .post-excerpt {
            margin-bottom: 16px;
            color: #555;
            font-size: 15px;
            line-height: 1.6;
        }
        
        .read-more {
            font-size: 14px;
            font-weight: 500;
        }
        
        /* Collaborate Box */
        .collaborate-box {
            padding: 5px 0;
        }
        
        .collaborate-box p {
            margin-bottom: 12px;
            font-size: 14px;
            line-height: 1.5;
        }
        
        .sidebar-button {
            display: block;
            background-color: #2971d6;
            color: white;
            text-align: center;
            padding: 8px 12px;
            border-radius: 4px;
            font-size: 14px;
            font-weight: 500;
            border: none;
            cursor: pointer;
            width: 100%;
            transition: background-color 0.2s;
        }
        
        .sidebar-button:hover {
            background-color: #1e5bb0;
            color: white;
            text-decoration: none;
        }
        
        /* Contact Form */
        .contact-form {
            padding: 5px 0;
        }
        
        .form-group {
            margin-bottom: 12px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 4px;
            font-size: 13px;
            font-weight: 500;
            color: #444;
        }
        
        .form-input, .form-textarea {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
        }
        
        .form-textarea {
            resize: vertical;
        }
        
        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            margin: 30px 0 10px;
        }
        
        .page-item {
            margin: 0 2px;
        }
        
        .page-link {
            display: block;
            padding: 8px 12px;
            background-color: white;
            border: 1px solid #eaedf2;
            border-radius: 4px;
            color: #333;
            font-size: 14px;
            transition: all 0.2s;
        }
        
        .page-link:hover {
            background-color: #f5f7fa;
            text-decoration: none;
        }
        
        .page-link.active {
            background-color: #2971d6;
            border-color: #2971d6;
            color: white;
        }
        
        /* Responsive Adjustments */
        @media (max-width: 992px) {
            .content-layout {
                grid-template-columns: 220px 1fr;
            }
            
            .right-sidebar {
                display: none;
            }
        }
        
        @media (max-width: 768px) {
            .content-layout {
                grid-template-columns: 1fr;
            }
            
            .left-sidebar {
                display: none;
            }
            
            .right-sidebar {
                display: none;
            }
        }

/* Right Sidebar Styling */
.right-sidebar {
    background: #f8f9fa;
    border-radius: 4px;
}

.right-sidebar .sidebar-section {
    background: white;
    margin-bottom: 20px;
}

/* Stats Section */
.stats-section {
    margin-bottom: 25px;
}

.stats-section h3 {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 8px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #3498db;
}

.stat-label {
    font-size: 14px;
    color: #7f8c8d;
}

/* Quick Links */
.quick-links h3 {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 8px;
}