/* Post Header */
.post-header {
    padding: 60px 0;
    background: linear-gradient(135deg, #3c3d63 0%, #001629 100%);
    color: #fff;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
}

.breadcrumb i {
    font-size: 0.8rem;
    opacity: 0.6;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.post-meta .category {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.post-meta .date,
.post-meta .read-time {
    font-size: 0.9rem;
    opacity: 0.8;
}

.post-meta i {
    margin-right: 5px;
}

.post-header h1 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #eee;
}

.author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.author-info h3 {
    font-size: 1.1rem;
    margin: 0;
}

.author-info p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Featured Image */
.featured-image {
    margin-top: 50px;
    margin-bottom: 60px;
}

.featured-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Post Content */
.post-content {
    padding: 0 0 80px;
}

.content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.content .lead {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 40px 0 20px;
}

.content ul {
    margin-bottom: 30px;
}

.content ul li {
    margin-bottom: 10px;
}

.info-box {
    background: #f8f9ff;
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    position: relative;
    border-left: 4px solid #0066ff;
}

.info-box i {
    color: #0066ff;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.info-box h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.info-box p {
    margin: 0;
    font-size: 1rem;
}

/* Share Buttons */
.share-buttons {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.share-buttons h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.buttons {
    display: flex;
    gap: 15px;
}

.btn-share {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-share.facebook {
    background: #1877f2;
}

.btn-share.twitter {
    background: #1da1f2;
}

.btn-share.linkedin {
    background: #0a66c2;
}

.btn-share:hover {
    transform: translateY(-2px);
    color: #fff;
}

/* Author Box */
.author-box {
    background: #f8f9ff;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
}

.author-box img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-box .author-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.author-box .role {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.author-box .bio {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #666;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #0066ff;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 30px;
}

.widget {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.widget h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
}

/* Table of Contents */
.toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc li {
    margin-bottom: 12px;
}

.toc a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 15px;
    border-radius: 8px;
}

.toc a:hover,
.toc a.active {
    background: #f8f9ff;
    color: #0066ff;
}

/* Related Posts Widget */
.related-posts .post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.related-posts .post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border: none;
}

.related-posts img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
}

.post-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.post-info span {
    font-size: 0.85rem;
    color: #666;
}

/* Newsletter Widget */
.newsletter form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter input {
    height: 45px;
    padding: 0 20px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 0.95rem;
}

.newsletter button {
    height: 45px;
    border-radius: 8px;
}

/* Related Posts Slider */
.related-posts-slider {
    padding: 80px 0;
    background: #f8f9ff;
}

.related-posts-slider h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.post-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.post-card .post-content {
    padding: 25px;
}

.post-card .category {
    display: inline-block;
    padding: 5px 15px;
    background: #0066ff;
    color: #fff;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.post-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .post-header h1 {
        font-size: 2.3rem;
    }

    .sidebar {
        margin-top: 60px;
        position: static;
    }
}

@media (max-width: 767px) {
    .post-header {
        padding: 40px 0;
    }

    .post-header h1 {
        font-size: 1.8rem;
    }

    .featured-image {
        margin-bottom: 40px;
    }

    .content {
        font-size: 1rem;
    }

    .content .lead {
        font-size: 1.1rem;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .author-box img {
        margin: 0 auto;
    }

    .social-links {
        justify-content: center;
    }

    .buttons {
        flex-direction: column;
    }

    .btn-share {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .post-meta {
        flex-wrap: wrap;
        gap: 10px;
    }

    .content h2 {
        font-size: 1.5rem;
    }
} 