/* Styling for the blog content */
.blog-post .entry-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #333;
}

/* General padding for the main content */
#main {
    padding: 80px 20px; /* Reduce padding to prevent too much space on mobile */
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    #main {
        padding: 90px 15px; /* Reduce padding for small screens */
    }
    .entry-title {
        font-size: 1.8rem; /* Adjust title size for mobile */
    }
}

/* Blog post meta data styling */
.blog-post .entry-meta ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    color: #999;
    font-size: 0.9rem;
}

.blog-post .entry-meta ul li {
    display: inline-block;
    margin-right: 15px;
}

/* Content Styling */
.blog-post .entry-content h2,
.blog-post .entry-content h3 {
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #333;
}

.blog-post .entry-content p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555; /* Improve text contrast */
}

/* Blog Image Styling */
.blog-post .entry-img img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px; /* Add slight roundness to images */
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
}

/* Share Section */
.blog-post .share h4 {
    margin-top: 30px;
    font-size: 1.2rem;
    font-weight: 600;
}

.blog-post .share a {
    display: inline-block;
    margin-right: 10px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 4px;
}

.blog-post .share a:hover {
    background-color: #007bff;
    color: #fff;
}

/* Sidebar Styling */
.sidebar .sidebar-title {
    font-weight: 600;
    margin-bottom: 15px;
}

.sidebar-item.categories ul,
.sidebar-item.recent-posts ul,
.sidebar-item.tags ul {
    list-style: none;
    padding: 0;
}

.sidebar-item.categories ul li,
.sidebar-item.recent-posts ul li,
.sidebar-item.tags ul li {
    margin-bottom: 10px;
}

.sidebar-item.categories ul li a,
.sidebar-item.recent-posts ul li a,
.sidebar-item.tags ul li a {
    color: #007bff; /* Highlight with a noticeable color */
    text-decoration: none;
}

.sidebar-item.categories ul li a:hover,
.sidebar-item.recent-posts ul li a:hover,
.sidebar-item.tags ul li a:hover {
    text-decoration: underline;
}

/* Mobile-specific sidebar adjustments */
@media (max-width: 768px) {
    .sidebar {
        margin-top: 40px;
    }
}

/* General Improvements for All Devices */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa; /* Subtle background color */
    color: #333;
}

a {
    color: #007bff; /* Global link color for brand consistency */
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}
