/* Single Post Styles */
.wp-block-list{margin: 40px 0;}
strong { font-weight: bold; }
.post-tags{}
.post-tags a{}
.post-tags a:hover{}


.wp-block-image img[width][height]{}
.post-tags { display: flex; justify-content: start; gap: 10px; align-items: center;}
.post-tags a { display: flex; background: var(--blue-light); color: var(--white-text); padding: 5px; border-radius: 10px; font-size: 12px;}
.post-tags a:hover{text-decoration: underline;}
.post-tags h3 { margin-right: 10px; font-weight: bold; color: var(--night-grey); }
.single_post_wrapper {
    padding: 40px 0;
    display: grid;
    gap: 30px;
}

.single_post_main {
    background: #fff;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-light);
}

.post_header {
    margin-bottom: 30px;
    text-align: center;
}

.post_category {
    margin-bottom: 15px;
}

.post_category a {
    color: var(--blue-light);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.post_title {
    font-family: var(--primary-heading);
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--night-black);
}

.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 a { color: var(--blue-dark); text-decoration: underline; }
.post_content figure{width: 100%;}
.post_content figure img{height: auto; width: auto;}
.post_content p { margin-bottom: 1.5rem; }
.wp-block-list { width: 100%; padding: 0 30px; }
.wp-block-list li{list-style: disc;}
.wp-block-list li strong{font-weight: bold;}

.wp-block-heading {color: var(--night-black); margin: 50px 0 20px; font-weight: bold; font-size: 35px;}
.has-text-align-center em{font-size: 15px; color: var(--wndb-gray-500);}

.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;
}

.author_avatar img {
    border-radius: 50%;
}

.author_box .author_info {
    flex: 1;
}

.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(2, 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;
}

/* Post Sidebar */
.post_sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    height: calc(100vh - 120px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--blue-light) transparent;
}

.post_sidebar::-webkit-scrollbar {
    width: 6px;
}

.post_sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.post_sidebar::-webkit-scrollbar-thumb {
    background-color: var(--blue-light);
    border-radius: 3px;
}

.sidebar_widget {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-light);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar_widget:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.widget_title {
    font-family: var(--primary-heading);
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget_title .material-symbols-outlined {
    color: var(--blue-light);
}

/* Trending Posts Widget */
.trending_posts_widget {
    position: relative;
    overflow: hidden;
}

.trending_posts_widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-green);
    border-radius: var(--radius) var(--radius) 0 0;
}

.trending_posts_widget .post_item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.trending_posts_widget .post_item:hover {
    transform: translateX(5px);
    background-color: rgba(var(--blue-light-rgb), 0.05);
}

.trending_posts_widget .post_item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.trending_posts_widget .post_thumbnail {
    flex: 0 0 80px;
    position: relative;
    overflow: hidden;
}

.trending_posts_widget .post_thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: calc(var(--radius) - 4px);
    transition: transform 0.3s ease;
}

.trending_posts_widget .post_item:hover .post_thumbnail img {
    transform: scale(1.1);
}

.trending_posts_widget .post_info {
    flex: 1;
}

.trending_posts_widget h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trending_posts_widget .post_meta {
    font-size: 0.8rem;
    color: var(--night-grey);
    display: flex;
    align-items: center;
    gap: 15px;
}

.trending_posts_widget .post_meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.trending_posts_widget .post_meta .material-symbols-outlined {
    font-size: 16px;
}

/* Comments */
.comments-area {
    margin: 40px 0;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}
.archive_title { font-size: 40px; color: var(--blue-light); font-weight: 700; text-align: center; margin: auto; }
/* Responsive */
@media (max-width: 1400px) {
}

@media (max-width: 1200px) {
   

    .post_title {
        font-size: 2.2rem;
    }

    .post_content {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    

    .post_sidebar {
        position: static;
        height: auto;
        margin-top: 30px;
    }

    .related_posts_grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 15px;
    }

    .trending_posts_widget {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    

    .post_title {
        font-size: 1.8rem;
    }

    .post_meta {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 15px;
    }

    .post_featured_image {
        margin: 0 -15px 20px;
    }

    .post_content {
        font-size: 0.95rem;
    }

    .author_box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .author_box .author_info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .post_sidebar {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .post_header {
        padding: 20px 15px;
    }

    .post_title {
        font-size: 1.5rem;
    }

    .post_meta {
        font-size: 0.8rem;
    }

    .author_box {
        margin: 30px 0;
        padding: 15px;
    }

    .related_posts h2 {
        font-size: 1.3rem;
    }

    .trending_posts_widget .post_item {
        padding: 10px 0;
    }

    .trending_posts_widget .post_thumbnail {
        flex: 0 0 60px;
    }

    .trending_posts_widget .post_thumbnail img {
        width: 60px;
        height: 60px;
    }

    .trending_posts_widget h3 {
        font-size: 0.9rem;
    }
}
