/* Blog Sidebar Styles */
.sidebar-widget {
    background: #f8f9fa;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sidebar-widget h4 {
    color: #023e8a;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 2px solid #023e8a;
    padding-bottom: 10px;
}

.recent-post-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

.recent-post-item h6 a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
}

.recent-post-item h6 a:hover {
    color: #023e8a;
}

.category-list a {
    display: block;
    padding: 10px 0;
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.category-list a:hover {
    color: #023e8a;
}

.category-list a i {
    margin-right: 8px;
    color: #023e8a;
}

.social-share {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-list a {
    background: #023e8a;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 12px;
}

.tag-list a:hover {
    background: #0056b3;
    color: white;
}

/* Blog Item Styles */
.blog-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

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

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

.blog-content {
    padding: 20px;
}

.blog-meta {
    margin-bottom: 15px;
}

.blog-meta span {
    color: #666;
    font-size: 12px;
    margin-right: 15px;
}

.blog-content h4 {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.4;
}

.blog-content h4 a {
    color: #333;
    text-decoration: none;
}

.blog-content h4 a:hover {
    color: #023e8a;
}

.blog-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Single Blog Post Content Styles */
.post-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    color: #023e8a;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.post-content h1 { font-size: 32px; }
.post-content h2 { font-size: 28px; }
.post-content h3 { font-size: 24px; }
.post-content h4 { font-size: 20px; }
.post-content h5 { font-size: 18px; }
.post-content h6 { font-size: 16px; }

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

.post-content ul,
.post-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.post-content blockquote {
    border-left: 4px solid #023e8a;
    padding: 15px 20px;
    margin: 20px 0;
    background: #f8f9fa;
    font-style: italic;
    color: #666;
}

.post-content a {
    color: #023e8a;
    text-decoration: underline;
}

.post-content a:hover {
    color: #0056b3;
}

.post-content code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.post-content pre {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 20px 0;
}

.post-content pre code {
    background: none;
    padding: 0;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.post-content table th,
.post-content table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.post-content table th {
    background: #023e8a;
    color: white;
    font-weight: 600;
}

.post-content table tr:nth-child(even) {
    background: #f8f9fa;
}

.post-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.post-meta span {
    color: #666;
    font-size: 14px;
}

.post-meta i {
    margin-right: 5px;
    color: #023e8a;
}

.post-navigation {
    margin: 20px 0;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

/* Blog Post Article Styles */
.blog-post {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .post-content {
        font-size: 15px;
    }
    
    .post-content h1 { font-size: 26px; }
    .post-content h2 { font-size: 24px; }
    .post-content h3 { font-size: 20px; }
    .post-content h4 { font-size: 18px; }
    
    .blog-post {
        padding: 20px;
    }
}