/* Single Post Styles */
.wp-block-list{margin: 20px 0;}
strong { font-weight: bold; }
.single_post_wrapper {
    padding: 40px 0;
}
.post_header {
    margin-bottom: 30px;
    text-align: center;
}

.post_category {
    margin-bottom: 15px;
}

.post_category a {
    color: var(--white-text);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    background: var(--blue-light);
    padding: 5px;
    border-radius: 10px;
}

.post_title {
    font-family: var(--primary-heading);
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--night-black);
    padding: 0 20px;
}

.post_meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--night-grey);
}

.author_info,
.post_date,
.read_time,
.post_views {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-direction: column;
}

.author_info img {
    border-radius: 50%;
}

.post_featured_image {
    margin: 0 -20px 30px;
}

.post_featured_image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.image-credit {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--night-grey);
    font-style: italic;
    margin-top: 8px;
    padding: 0 5px;
}

.image-credit .material-symbols-outlined {
    font-size: 1rem;
}

.post_content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--night-black);
}

.post_content p {
    margin-bottom: 1.5rem;
}

.post_tags {
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.post_tags a {
    color: var(--blue-light);
}

/* Author Box */
.author_box {
    margin: 40px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: var(--radius);
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.author_avatar img {
    border-radius: 50%;
}

.author_box .author_info {
    flex: 1;
}
.author_box p{font-size: 20px;}
.author_box h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.author_social {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.author_social a {
    color: var(--night-grey);
    transition: color 0.3s;
}

.author_social a:hover {
    color: var(--blue-light);
}

/* Related Posts */
.related_posts {
    margin: 40px 0;
}

.related_posts h2 {
    margin-bottom: 20px;
    font-family: var(--primary-heading);
}

.related_posts_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related_post {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s, box-shadow 0.3s;
}

.related_post:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.related_thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related_content {
    padding: 15px;
}

.related_content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.related_meta {
    font-size: 0.85rem;
    color: var(--night-grey);
    display: flex;
    gap: 15px;
}

/* Comments */
.comments-area {
    margin: 40px 0;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

/* Content Grid Layout */
.content_grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.main_content {
    max-width: 100%;
}

/* Sidebar Styles */
.sidebar_ad { margin: 10px 0; }
.sidebar_ad img { margin: auto; }
.sidebar {
    position: sticky;
    top: 20px;
}

.sidebar_widget {
    background: #fff;
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-light);
}

.widget_title {
    font-family: var(--primary-heading);
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    color: var(--night-black);
}

/* Latest Posts Widget */
.sidebar_post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar_post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.post_thumb {
    flex: 0 0 80px;
}

.post_thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius);
}

.post_info {
    flex: 1;
}

.post_info h4 {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 8px;
}

.post_info .post_date {
    display: unset !important;
    font-size: 0.85rem;
    color: var(--night-grey);
}

/* Category Widget */
.category_list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    background: #f8f9fa;
    border-radius: var(--radius);
    color: var(--night-black);
    transition: all 0.3s;
}

.category_item:hover {
    background: var(--blue-light);
    color: #fff;
}

.post_count {
    font-size: 0.85rem;
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
}
.post_content p em{font-style: italic;}
/* Responsive */
@media (max-width: 1024px) {
    .content_grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 1000px) {
.related_posts_grid {
    display: unset;
}


    .main_content {
        width: 100%;
        max-width: 100%;
    }

    .content_grid {
        display: block;
    }

    .sidebar {
    }

}


@media (max-width: 768px) {
    .post_title {
        font-size: 1.4rem;
    }

    .post_meta {
        flex-direction: column;
    }

    .posts_grid {
        grid-template-columns: 1fr;
    }

    .author_archive .author_info {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .author_archive .author_social {
        justify-content: center;
    }

    .sidebar {
        position: static;
        margin-top: 40px;
    }

}