/* ===================== */
/* Blog Breadcrumb */
/* ===================== */
.blog-breadcrumb {
    padding: 140px 0 20px;
    background: var(--primary-color);
    position: relative;
    z-index: 2;
}

.blog-breadcrumb .breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
}

.blog-breadcrumb .breadcrumb-item {
    font-size: 0.9rem;
}

.blog-breadcrumb .breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-breadcrumb .breadcrumb-item a:hover {
    color: var(--accent-color);
}

.blog-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    content: '»';
    color: var(--text-muted);
    padding: 0 10px;
}

.blog-breadcrumb .breadcrumb-item.active {
    color: var(--accent-color);
}

/* ===================== */
/* Blog Single Section */
/* ===================== */
.blog-single-section {
    padding: 30px 0 100px;
    background: var(--primary-color);
    position: relative;
    z-index: 2;
}

/* Blog Single */
.blog-single {
    background: linear-gradient(145deg, var(--secondary-color), #151515);
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 25px;
    overflow: hidden;
}

/* Featured Image */
.blog-single-image {
    position: relative;
    height: 450px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-gray), var(--secondary-color));
}

.blog-single-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-single:hover .blog-single-image img {
    transform: scale(1.02);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--secondary-color), transparent);
}

/* Post Header */
.blog-single-header {
    padding: 35px 35px 0;
    position: relative;
    margin-top: -60px;
    z-index: 3;
}

.blog-single-header .post-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), #e55a2b);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.blog-single-header h1 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 25px;
    color: var(--text-light);
}

.blog-single-header .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.post-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
}

.post-author span {
    color: var(--text-light);
    font-weight: 500;
}

.post-date,
.post-views,
.post-comments {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

/* Post Content */
.blog-single-content {
    padding: 35px;
}

.blog-single-content p {
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.blog-single-content .lead {
    font-size: 1.2rem;
    color: var(--text-light);
    border-right: 4px solid var(--accent-color);
    padding-right: 20px;
    margin-bottom: 30px;
}

.blog-single-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 40px 0 20px;
    position: relative;
    padding-right: 20px;
}

.blog-single-content h2::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 70%;
    background: linear-gradient(to bottom, var(--accent-color), #e55a2b);
    border-radius: 5px;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.05));
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.highlight-box i {
    color: var(--accent-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.highlight-box p {
    margin-bottom: 0;
    color: var(--text-light);
}

/* Quote Block */
.quote-block {
    background: linear-gradient(145deg, var(--secondary-color), #1a1a1a);
    border-right: 4px solid var(--accent-color);
    border-radius: 0 15px 15px 0;
    padding: 30px;
    margin: 35px 0;
    position: relative;
}

.quote-block::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 5rem;
    color: rgba(255, 107, 53, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.quote-block blockquote {
    font-size: 1.15rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-right: 30px;
    border: none;
}

.quote-block cite {
    color: var(--accent-color);
    font-size: 0.95rem;
    font-weight: 600;
}

/* Key Points */
.key-points {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.key-points li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s;
}

.key-points li:hover {
    background: rgba(255, 107, 53, 0.1);
    transform: translateX(-5px);
}

.key-points li i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.key-points li span {
    color: var(--text-light);
}

/* Post Tags */
.blog-single-tags {
    padding: 25px 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.tag-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-single-tags a {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
}

.blog-single-tags a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

/* Share Buttons */
.blog-single-share {
    padding: 0 35px 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.share-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1rem;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.facebook {
    background: #4267b2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.telegram {
    background: #0088cc;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Author Box */
.author-box {
    display: flex;
    gap: 25px;
    padding: 30px 35px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(255, 107, 53, 0.02));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 35px;
    border-radius: 20px;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 5px;
}

.author-title {
    color: var(--accent-color);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 12px;
}

.author-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.author-social {
    display: flex;
    gap: 10px;
}

.author-social a {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s;
}

.author-social a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

/* Related Posts */
.related-posts {
    padding: 40px 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--accent-color);
}

.related-post-card {
    background: linear-gradient(145deg, var(--secondary-color), #1a1a1a);
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.related-post-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.15);
}

.related-post-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.5s;
}

.related-post-card:hover img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 20px;
}

.related-category {
    display: inline-block;
    background: rgba(255, 107, 53, 0.15);
    color: var(--accent-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.related-post-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.5;
}

.related-post-content h4 a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.related-post-content h4 a:hover {
    color: var(--accent-color);
}

.related-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ===================== */
/* Comments Section */
/* ===================== */
.comments-section {
    padding: 40px 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comments-count {
    background: var(--accent-color);
    color: white;
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-right: 10px;
}

/* Comments List */
.comments-list {
    margin-bottom: 40px;
}

.comment-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.comment-item:hover {
    border-color: rgba(255, 107, 53, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 107, 53, 0.3);
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.comment-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
}

.author-badge {
    background: var(--accent-color);
    color: white;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-right: 8px;
}

.comment-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.comment-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 15px;
}

.reply-btn {
    background: transparent;
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: var(--accent-color);
    padding: 6px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.reply-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

/* Comment Reply */
.comment-reply {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-right: 30px;
    padding-right: 20px;
    border-right: 2px solid rgba(255, 107, 53, 0.2);
}

.comment-reply .comment-avatar {
    width: 45px;
    height: 45px;
}

.comment-reply .comment-header h4 {
    font-size: 1rem;
}

.comment-reply .comment-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Load More Comments */
.load-more-comments {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    color: var(--accent-color);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.load-more-comments:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

/* Comment Form */
.comment-form-wrapper {
    background: linear-gradient(145deg, var(--secondary-color), #1a1a1a);
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 20px;
    padding: 35px;
}

.comment-form-wrapper .section-title {
    margin-bottom: 25px;
}

.comment-form .row {
    margin-bottom: 0;
}

.comment-form .form-group {
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    background: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: all 0.3s;
    font-family: inherit;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
    color: var(--text-muted);
}

.comment-form textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-color);
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
}

.submit-comment {
    padding: 15px 40px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.submit-comment i {
    font-size: 1.1rem;
}

/* ===================== */
/* Responsive Design */
/* ===================== */
@media (max-width: 991px) {
    .blog-single-image {
        height: 350px;
    }

    .blog-single-header {
        padding: 25px 25px 0;
        margin-top: -40px;
    }

    .blog-single-header h1 {
        font-size: 1.6rem;
    }

    .blog-single-content {
        padding: 25px;
    }

    .blog-single-tags,
    .blog-single-share {
        padding-left: 25px;
        padding-right: 25px;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
        padding: 25px;
        margin: 0 25px;
    }

    .author-social {
        justify-content: center;
    }

    .related-posts,
    .comments-section {
        padding: 30px 25px;
    }

    .comment-reply {
        margin-right: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 576px) {
    .blog-breadcrumb {
        padding: 120px 0 15px;
    }

    .blog-single-section {
        padding: 20px 0 60px;
    }

    .blog-single-image {
        height: 220px;
    }

    .blog-single-header {
        padding: 20px 15px 0;
        margin-top: -30px;
    }

    .blog-single-header h1 {
        font-size: 1.3rem;
    }

    .blog-single-header .post-meta {
        gap: 12px;
    }

    .post-author {
        width: 100%;
    }

    .blog-single-content {
        padding: 20px 15px;
    }

    .blog-single-content h2 {
        font-size: 1.3rem;
    }

    .blog-single-content p {
        font-size: 0.95rem;
    }

    .blog-single-tags,
    .blog-single-share {
        padding: 20px 15px;
    }

    .blog-single-share {
        justify-content: center;
    }

    .share-label {
        width: 100%;
        justify-content: center;
    }

    .author-box {
        margin: 0 15px;
        padding: 20px 15px;
    }

    .author-avatar {
        width: 80px;
        height: 80px;
    }

    .related-posts,
    .comments-section {
        padding: 25px 15px;
    }

    .comment-item {
        flex-direction: column;
        gap: 15px;
        padding: 20px 15px;
    }

    .comment-avatar {
        width: 50px;
        height: 50px;
    }

    .comment-reply {
        margin-right: 10px;
        padding-right: 10px;
    }

    .comment-form-wrapper {
        padding: 20px 15px;
    }

    .highlight-box {
        padding: 20px;
    }

    .quote-block {
        padding: 20px;
    }

    .quote-block::before {
        font-size: 3rem;
    }

    .quote-block blockquote {
        font-size: 1rem;
        padding-right: 0;
    }
}

/* Animation for comments */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.comment-item.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

.comment-item:nth-child(2).fade-in-up {
    animation-delay: 0.1s;
}

.comment-item:nth-child(3).fade-in-up {
    animation-delay: 0.2s;
}