/*
Theme Name: My Modern Blog
Author: Star Web Maker
Version: 2.0
*/

body {
    font-family: Georgia, 'Times New Roman', serif;
    background: #ffffff;
    color: #222;
    line-height: 1.8;
    margin: 0;
}

/* Container */
.container {
    max-width: 720px;
    margin: auto;
    padding: 20px;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    z-index: 999;
}

.header-inner {
    max-width: 1100px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo img {
    max-height: 50px;
}

/* Menu */
.main-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

.main-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.main-menu a:hover {
    color: #1a8917;
}

.header-inner {
    max-width: 900px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 20px;
    font-weight: bold;
}

/* Navigation */
nav a {
    margin-left: 15px;
    text-decoration: none;
    color: #555;
}

nav a:hover {
    color: #000;
}

/* Post Card */
.post-card {
    margin-bottom: 40px;
}

.post-card img {
    width: 100%;
    border-radius: 6px;
}

.post-title {
    font-size: 28px;
    margin: 10px 0;
}

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

.post-excerpt {
    color: #444;
}

/* Single Post */
.single-post h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.single-post img {
    width: 100%;
    margin: 20px 0;
}

.single-post p {
    font-size: 18px;
}


/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    color: #777;
    border-top: 1px solid #eee;
}

a {
    color: #1a8917;
}

a:hover {
    text-decoration: underline;
}

.site-footer {
    background-color: #007BFF; /* Blue */
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

.site-footer p {
    margin: 0;
    font-size: 14px;
}

.site-footer strong {
    font-weight: 600;
}

.main-wrapper {
    display: flex;
    max-width: 1100px;
    margin: 30px auto;
    gap: 30px;
}

.content-area {
    width: 70%;
}

.sidebar-area {
    width: 30%;
}

/* Sidebar Styling */
.sidebar-area {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
}

.widget {
    margin-bottom: 25px;
}

.widget h3 {
    margin-bottom: 10px;
    font-size: 18px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li {
    margin-bottom: 8px;
}

.widget ul li a {
    text-decoration: none;
    color: #333;
}

.widget ul li a:hover {
    color: #007BFF;
}


.single-post h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.post-meta {
    color: #777;
    font-size: 14px;
    margin-bottom: 15px;
}

.post-content p {
    font-size: 18px;
    line-height: 1.8;
}

.post-image img {
    width: 100%;
    border-radius: 6px;
    margin: 20px 0;
}

.related-posts {
    margin-top: 40px;
}

.related-posts h3 {
    margin-bottom: 20px;
    font-size: 22px;
}

.related-grid {
    display: flex;
    gap: 20px;
}

.related-item {
    width: 33%;
}

.related-item img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 8px;
}

.related-item h4 {
    font-size: 16px;
}

.related-item a {
    text-decoration: none;
    color: #333;
}

.related-item a:hover {
    color: #007BFF;
}

.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 3px;
    background: #f1f1f1;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
}

.pagination .current {
    background: #007BFF;
    color: #fff;
}

.pagination a:hover {
    background: #007BFF;
    color: #fff;
}