.single-post-page {
    background: #f8f9fa;
    padding: 60px 0;
}

.single-post-article {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 24px rgba(0,0,0,0.07);
    padding: 40px 32px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.single-post-featured-image {
    margin-bottom: 24px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(80,80,160,0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 900px;
    max-height: 500px;
    margin-left: auto;
    margin-right: auto;
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.single-post-header {
    margin-bottom: 25px;
    text-align: center;
}

.single-post-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.single-post-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    font-size: 15px;
    color: #888;
    margin-bottom: 10px;
}

.single-post-meta i {
    color: #007bff;
    margin-right: 6px;
}

.single-post-content {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.single-post-content h2, .single-post-content h3, .single-post-content h4 {
    color: #222;
    margin-top: 2em;
    margin-bottom: 1em;
}

.single-post-tags {
    margin-top: 20px;
    text-align: center;
    color: #888;
    font-size: 15px;
}

.single-post-tags i {
    color: #007bff;
    margin-right: 5px;
}

.single-post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    padding: 0 32px;
}

.single-post-navigation .prev-post a,
.single-post-navigation .next-post a {
    color: #007bff;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.single-post-navigation .prev-post a:hover,
.single-post-navigation .next-post a:hover {
    color: #0056b3;
}

.single-post-comments {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 24px rgba(0,0,0,0.07);
    padding: 32px;
}

@media (max-width: 991px) {
    .single-post-article, .single-post-comments {
        padding: 24px 10px;
    }
    .single-post-navigation {
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .single-post-article, .single-post-comments {
        padding: 12px 2px;
    }
    .single-post-title {
        font-size: 1.5rem;
    }
    .single-post-navigation {
        flex-direction: column;
        gap: 10px;
        padding: 0 2px;
    }
}

.single-post-modern {
    background: #f8f9fa;
    padding: 60px 0;
}
.single-post-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.single-post-main {
    flex: 1 1 0;
    min-width: 0;
}
.single-post-sidebar {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(80,80,160,0.10);
    border: 1px solid #e5e7eb;
    padding: 36px 28px;
    min-height: 200px;
    margin-top: 0;
    position: relative;
}
@media (min-width: 992px) {
    .single-post-sidebar {
        position: sticky;
        top: 40px;
        align-self: flex-start;
    }
}
.single-post-sidebar .widget {
    margin-bottom: 36px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}
.single-post-sidebar .widget:last-child {
    margin-bottom: 0;
    border-bottom: none;
}
.single-post-sidebar .widget-title {
    font-size: 1.15rem;
    color: #4f46e5;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-left: 3px solid #6366f1;
    padding-left: 10px;
}
.single-post-sidebar ul,
.single-post-sidebar ol {
    padding-left: 1.2em;
    margin: 0 0 0.5em 0;
}
.single-post-sidebar li {
    margin-bottom: 10px;
}
.single-post-sidebar a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}
.single-post-sidebar a:hover {
    color: #4f46e5;
    text-decoration: underline;
}
@media (max-width: 991px) {
    .single-post-container {
        flex-direction: column;
        gap: 0;
    }
    .single-post-sidebar {
        width: 100%;
        margin-top: 40px;
    }
}

.single-post-hero {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 12px 12px 0 0;
    padding: 40px 32px 24px 32px;
    text-align: center;
    color: #fff;
    margin-bottom: 0;
}
.single-post-featured-image {
    margin-bottom: 24px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(80,80,160,0.08);
}
.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}
.single-post-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}
.single-post-meta {
    display: flex;
    justify-content: center;
    gap: 18px;
    font-size: 15px;
    margin-bottom: 0;
    flex-wrap: wrap;
}
.single-post-meta span {
    background: rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 6px 16px;
    color: #ffe066;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}
.single-post-meta i {
    color: #ffe066;
}

.single-post-content {
    background: #fff;
    border-radius: 0 0 12px 12px;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    padding: 40px 32px 24px 32px;
    box-shadow: 0 5px 24px rgba(0,0,0,0.07);
}
.single-post-content h2, .single-post-content h3, .single-post-content h4 {
    color: #222;
    margin-top: 2em;
    margin-bottom: 1em;
}

.single-post-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 24px 0;
    padding: 0 32px;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #6366f1;
    font-size: 1.1rem;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}
.share-btn.fb:hover { background: #1877f2; color: #fff; }
.share-btn.tw:hover { background: #1da1f2; color: #fff; }
.share-btn.in:hover { background: #0077b5; color: #fff; }

.single-post-tags {
    margin: 0 0 24px 0;
    text-align: left;
    color: #888;
    font-size: 15px;
    padding: 0 32px;
}
.single-post-tags i {
    color: #007bff;
    margin-right: 5px;
}

.single-post-author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 24px 32px;
    margin: 0 0 32px 0;
    box-shadow: 0 2px 8px rgba(80,80,160,0.04);
}
.author-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}
.author-info {
    flex: 1;
}
.author-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #4f46e5;
}
.author-bio {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

.single-post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    padding: 0 32px;
}
.single-post-navigation .prev-post a,
.single-post-navigation .next-post a {
    color: #007bff;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}
.single-post-navigation .prev-post a:hover,
.single-post-navigation .next-post a:hover {
    color: #0056b3;
}

.single-post-related {
    margin: 40px 0 32px 0;
    padding: 0 32px;
}
.single-post-related h3 {
    font-size: 1.3rem;
    margin-bottom: 18px;
    color: #4f46e5;
}
.related-posts-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.related-post-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(80,80,160,0.06);
    padding: 12px;
    width: 180px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 180px;
}
.related-post-card:hover {
    box-shadow: 0 6px 24px rgba(80,80,160,0.12);
    transform: translateY(-3px);
}
.related-thumb {
    border-radius: 6px;
    width: 100%;
    height: 100px;
    object-fit: cover;
    margin-bottom: 10px;
}
.related-title {
    font-size: 1rem;
    color: #222;
    margin: 0;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 160px;
}
.related-title a {
    color: #4f46e5;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    width: 100%;
}
.related-title a:hover {
    color: #007bff;
}

.single-post-comments {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 24px rgba(0,0,0,0.07);
    padding: 32px;
}

@media (max-width: 991px) {
    .single-post-main, .single-post-sidebar {
        width: 100%;
        padding: 0;
    }
    .single-post-content, .single-post-author-box, .single-post-tags, .single-post-share, .single-post-related {
        padding-left: 0;
        padding-right: 0;
    }
}
@media (max-width: 576px) {
    .single-post-title {
        font-size: 1.5rem;
    }
    .single-post-content, .single-post-author-box, .single-post-tags, .single-post-share, .single-post-related {
        padding-left: 0;
        padding-right: 0;
    }
    .single-post-sidebar {
        padding: 16px 4px;
    }
}

.single-post-container.no-sidebar {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: block;
    padding: 0;
}
.single-post-main {
    width: 100%;
    margin: 0 auto;
}
.single-post-article {
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 991px) {
    .single-post-container.no-sidebar {
        width: 100%;
        max-width: none;
        padding: 0;
    }
} 