/**
 * Single Blog Post Styles
 * Independent template styles
 */

.ob-single-blog-wrapper {
    width: 100%;
    min-height: 100vh;
    background: #f8f9fa;
    padding: 40px 0;
}

.ob-single-blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.ob-breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.ob-breadcrumb a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.3s;
}

.ob-breadcrumb a:hover {
    color: #005177;
}

.ob-breadcrumb .ob-separator {
    margin: 0 8px;
    color: #999;
}

.ob-breadcrumb .ob-current {
    color: #333;
    font-weight: 500;
}

/* Single Post */
.ob-single-blog-post {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Featured Image */
.ob-single-featured-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #f0f0f0;
}

.ob-single-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Header */
.ob-single-header {
    padding: 40px;
    border-bottom: 1px solid #eee;
}

.ob-single-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 20px 0;
    color: #1a1a1a;
}

.ob-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.ob-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ob-meta-item svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.ob-meta-item.ob-categories a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.3s;
}

.ob-meta-item.ob-categories a:hover {
    color: #005177;
    text-decoration: underline;
}

/* Content */
.ob-single-content {
    padding: 40px;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.ob-single-content p {
    margin: 0 0 20px 0;
}

.ob-single-content h1,
.ob-single-content h2,
.ob-single-content h3,
.ob-single-content h4,
.ob-single-content h5,
.ob-single-content h6 {
    margin: 30px 0 20px 0;
    font-weight: 600;
    line-height: 1.4;
}

.ob-single-content h2 {
    font-size: 28px;
}

.ob-single-content h3 {
    font-size: 24px;
}

.ob-single-content ul,
.ob-single-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.ob-single-content li {
    margin: 10px 0;
}

.ob-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 20px 0;
}

.ob-single-content blockquote {
    border-left: 4px solid #0073aa;
    padding: 15px 20px;
    margin: 20px 0;
    background: #f8f9fa;
    font-style: italic;
}

.ob-single-content a {
    color: #0073aa;
    text-decoration: underline;
}

.ob-single-content a:hover {
    color: #005177;
}

/* Tags */
.ob-single-tags {
    padding: 20px 40px;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.ob-single-tags strong {
    margin-right: 10px;
    color: #333;
}

.ob-tag {
    display: inline-block;
    padding: 5px 12px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s;
}

.ob-tag:hover {
    background: #0073aa;
    color: #fff;
}

/* Navigation */
.ob-single-navigation {
    padding: 30px 40px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.ob-nav-prev,
.ob-nav-next {
    flex: 1;
}

.ob-nav-prev a,
.ob-nav-next a {
    display: block;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
}

.ob-nav-prev a:hover,
.ob-nav-next a:hover {
    background: #0073aa;
    color: #fff;
}

.ob-nav-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.ob-nav-prev a:hover .ob-nav-label,
.ob-nav-next a:hover .ob-nav-label {
    color: rgba(255, 255, 255, 0.8);
}

.ob-nav-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.ob-nav-prev a:hover .ob-nav-title,
.ob-nav-next a:hover .ob-nav-title {
    color: #fff;
}

.ob-nav-next {
    text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
    .ob-single-blog-wrapper {
        padding: 20px 0;
    }
    
    .ob-single-featured-image {
        height: 250px;
    }
    
    .ob-single-header,
    .ob-single-content,
    .ob-single-tags,
    .ob-single-navigation {
        padding: 20px;
    }
    
    .ob-single-title {
        font-size: 28px;
    }
    
    .ob-single-content {
        font-size: 16px;
    }
    
    .ob-single-navigation {
        flex-direction: column;
    }
    
    .ob-nav-next {
        text-align: left;
    }
}

