/**
 * Single Post Styles
 */

/* Post Header */
.post-categories {
    text-align: center;
}


.post-categories a {
    display: inline-block;
    padding: 5px 15px;
    margin: 0 5px;
    background-color: var(--primary-color, #2046a1);
    color: #ffffff;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s;
    margin: 20px 0;
}


.post-categories a:hover {
    background-color: var(--secondary-color, #172c5f);
}

.post-title {
    font-size: 30px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 10px;
    line-height: 1.3;
    text-align: center;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #fff;
    font-size: 15px;
    margin-bottom: 0;
}

.post-date,
.post-author {
    display: inline-flex;
    align-items: center;
}

.post-header .breadcrumbs {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.post-header .breadcrumbs a {
    color: #fff;
    text-decoration: none;
}

.post-header .breadcrumbs a:hover {
    text-decoration: underline;
}

/* Post Content */
.post-content-wrapper {
    padding: 0 0 60px;
}

.post-content {
    margin-bottom: 40px;
}

.post-thumbnail {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.post-text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

.post-text p {
    margin-bottom: 20px;
}

.post-text h2, 
.post-text h3, 
.post-text h4 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #333;
}

.post-text h2 {
    font-size: 28px;
}

.post-text h3 {
    font-size: 24px;
}

.post-text h4 {
    font-size: 20px;
}

.post-text ul, 
.post-text ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.post-text li {
    margin-bottom: 10px;
}

.post-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.post-text blockquote {
    border-left: 4px solid var(--primary-color, #2046a1);
    padding: 15px 25px;
    margin: 30px 0;
    background-color: #f8f9fa;
    font-style: italic;
    color: #555;
}

.post-text a {
    color: var(--primary-color, #2046a1);
    text-decoration: none;
}

.post-text a:hover {
    text-decoration: underline;
}

.post-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 15px;
    color: #666;
}

.post-tags a {
    color: var(--primary-color, #2046a1);
    text-decoration: none;
}

.post-tags a:hover {
    text-decoration: underline;
}

.post-share {
    margin-top: 30px;
}

.post-share h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.social-share {
    display: flex;
    gap: 15px;
}

.social-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f1f3f5;
    color: #555;
    transition: all 0.3s;
}

.social-share a:hover {
    background-color: var(--primary-color, #2046a1);
    color: #fff;
}

/* Sidebar */
.post-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-widget {
    margin-bottom: 40px;
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    color: #333;
}

/* Recent Posts */
.recent-post-item {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
}

.recent-post-thumb {
    flex: 0 0 80px;
    margin-right: 15px;
}

.recent-post-thumb img {
    width: 100%;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.recent-post-content {
    flex: 1;
}

.recent-post-title {
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 5px;
    line-height: 1.4;
}

.recent-post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.recent-post-title a:hover {
    color: var(--primary-color, #2046a1);
}

.recent-post-date {
    font-size: 13px;
    color: #888;
}

/* Categories */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.categories-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.categories-list a {
    color: #555;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.categories-list a:hover {
    color: var(--primary-color, #2046a1);
}

.categories-list .count {
    font-size: 13px;
    color: #888;
    background-color: #eee;
    padding: 2px 8px;
    border-radius: 30px;
}

/* Tags */
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags-list a {
    display: inline-block;
    padding: 6px 12px;
    background-color: #eee;
    color: #666;
    border-radius: 30px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
}

.tags-list a:hover {
    background-color: var(--primary-color, #2046a1);
    color: #fff;
}

/* Related Posts */
.related-posts-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color, #2046a1);
}

.related-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-post {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.related-post-image {
    height: 200px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.related-post:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 20px;
}

.related-post-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: #6c757d;
}

.related-post-category {
    color: var(--primary-color, #2046a1);
    font-weight: 500;
}

.related-post-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.related-post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.related-post-title a:hover {
    color: var(--primary-color, #2046a1);
}

.related-post-excerpt {
    color: #6c757d;
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 14px;
}

.related-post .read-more {
    display: inline-block;
    color: var(--primary-color, #2046a1);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
    padding-right: 20px;
}

.related-post .read-more:after {
    content: '→';
    position: absolute;
    right: 0;
    transition: transform 0.3s;
}

.related-post .read-more:hover {
    color: var(--secondary-color, #172c5f);
}

.related-post .read-more:hover:after {
    transform: translateX(5px);
}

.no-related-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.no-related-posts p {
    color: #6c757d;
    font-size: 16px;
}
.post-text *:is(h2) {
    font-size: 21px;
    font-weight: bold;
    color: #000;
    list-style: decimal;
    display: list-item;
    margin-left: 20px;
}
/* Responsive Styles */
@media (max-width: 992px) {
    .post-title {
        font-size: 32px;
    }
    
    .related-posts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .post-sidebar {
        margin-top: 40px;
        position: static;
    }
}

@media (max-width: 767px) {
    .post-header {
        padding: 60px 0;
    }
    
    .post-title {
        font-size: 28px;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .related-posts {
        grid-template-columns: 1fr;
    }
    
    .post-text h2 {
        font-size: 24px;
    }
    
    .post-text h3 {
        font-size: 22px;
    }
    
    .post-text h4 {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .post-header {
        padding: 40px 0;
    }
    
    .post-title {
        font-size: 24px;
    }
    
    .post-categories a {
        margin-bottom: 10px;
    }
    
    .social-share {
        flex-wrap: wrap;
    }
} 