/* ==========================================================================
   Single Post Styles
   ========================================================================== */

.single-post .site-main {
    padding: 30px 0;
    background: #fff;
}

/* Article Header */
.story-title {
    font-size: 32px;
    line-height: 1.3;
    margin: 0 0 15px;
    color: #222;
    font-weight: 700;
}

.story-meta {
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.story-tag-link {
    display: inline-block;
    background: #d10000;
    color: #fff !important;
    padding: 3px 12px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 10px;
}

.date {
    color: #777;
    font-size: 13px;
}

/* Article Content */
.article-content {
    line-height: 1.8;
    color: #333;
    font-size: 16px;
}

.article-content p {
    margin-bottom: 1.5em;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 4px;
}

/* Featured Image */
.featured-image {
    margin: 25px 0;
    text-align: center;
}

.featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.wp-caption-text {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    font-style: italic;
    text-align: center;
}

/* Post Tags */
.post-tags {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.post-tags .tags-title {
    font-weight: 600;
    margin-right: 10px;
    color: #333;
}

.post-tags a {
    display: inline-block;
    background: #f5f5f5;
    color: #555;
    padding: 3px 12px;
    border-radius: 3px;
    font-size: 13px;
    margin: 0 5px 5px 0;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background: #d10000;
    color: #fff;
    text-decoration: none;
}

/* Author Box */
.author-box {
    display: flex;
    background: #f9f9f9;
    padding: 25px;
    border-radius: 4px;
    margin: 40px 0;
    align-items: center;
}

.author-avatar {
    margin-right: 20px;
}

.author-avatar img {
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.author-info h4 {
    margin: 0 0 5px;
    font-size: 18px;
    color: #222;
}

.author-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Social Sharing */
.social-sharing {
    margin: 40px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-sharing a {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-sharing a i {
    margin-right: 8px;
    font-size: 16px;
}

.social-sharing .btn-facebook {
    background: #3b5998;
}

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

.social-sharing a:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Related Posts */
.related-posts {
    margin: 50px 0;
}

.related-posts .section-title {
    font-size: 22px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eaeaea;
}

.related-post {
    margin-bottom: 20px;
}

.related-post img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.related-post:hover img {
    transform: scale(1.02);
}

.related-post h4 {
    font-size: 16px;
    line-height: 1.4;
    margin: 10px 0 0;
}

.related-post h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post h4 a:hover {
    color: #d10000;
}

/* Comments Section */
.comments-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.comments-title {
    font-size: 22px;
    margin-bottom: 25px;
    color: #222;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 4px;
}

.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.comment-author .avatar {
    border-radius: 50%;
    margin-right: 15px;
}

.comment-author .fn {
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.comment-metadata {
    font-size: 12px;
    color: #777;
    margin-left: 15px;
}

.comment-content {
    margin-left: 55px;
    color: #444;
    line-height: 1.6;
}

.comment-reply-link {
    display: inline-block;
    font-size: 13px;
    color: #d10000;
    text-decoration: none;
    margin-top: 10px;
}

.comment-reply-title {
    font-size: 20px;
    margin-bottom: 20px;
}

.comment-form-comment textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    min-height: 150px;
}

.form-submit input[type="submit"] {
    background: #d10000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.form-submit input[type="submit"]:hover {
    background: #a80000;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .story-title {
        font-size: 26px;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .author-avatar {
        margin: 0 0 15px 0;
    }
    
    .related-posts .row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Lazy Loading */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-load.loaded {
    opacity: 1;
}
