﻿.blog-container {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.blog-header {
    padding: 2.5rem 2.5rem 1.5rem;
}

.blog-category {
    display: inline-block;
    background-color: #e7f3ff;
    color: #0d6efd;
    padding: 0.3rem 0.8rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.blog-title {
    font-weight: 700;
    font-size: 2.5rem;
    color: #1a202c;
}

/* Gradient title styling - same as blog cards */
.blog-title-highlighted {
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1.3;
    color: #1a202c;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

/* Mobile responsive title */
@media (max-width: 768px) {
    .blog-title-highlighted {
        font-size: 1.75rem;
    }
}

.author-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #6c757d;
    font-size: 0.95rem;
}

    .author-meta img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
    }

.actions-bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 2.5rem;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    background-color: #fcfdff;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    cursor: pointer;
    transition: color 0.2s ease;
}

    .action-item:hover {
        color: #212529;
    }

    .action-item.liked {
        color: #dc3545;
    }

        .action-item.liked:hover {
            color: #a71d2a;
        }

    .action-item i {
        font-size: 1.2rem;
    }

.blog-content {
    padding: 2.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #495057;
}

    .blog-content h3 {
        font-weight: 600;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

.rating-section {
    padding: 2rem 2.5rem;
    border-top: 1px solid #dee2e6;
    text-align: center;
}

.star-rating i {
    font-size: 1.75rem;
    color: #ced4da;
    cursor: pointer;
    transition: color 0.2s ease;
}

    .star-rating i:hover, .star-rating i.active {
        color: #ffc107;
    }

.comments-section {
    padding: 2.5rem;
    border-top: 1px solid #dee2e6;
}

.sidebar {
    padding-left: 1.5rem;
}

@media (max-width: 991.98px) {
    .sidebar {
        padding-left: 0;
        margin-top: 3rem;
    }
}

.related-post-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-decoration: none;
    color: inherit;
}

    .related-post-card img {
        width: 80px;
        height: 80px;
        border-radius: 0.75rem;
        object-fit: cover;
    }

    .related-post-card:hover h6 {
        color: #0d6efd;
    }

    .related-post-card h6 {
        font-weight: 600;
        margin-bottom: 0.25rem;
        transition: color 0.2s ease;
    }

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    text-decoration: none;
    color: #495057;
    transition: color 0.2s ease, padding-left 0.3s ease;
    display: inline-block; /* Make it a block for animation */
}

    .category-list a:hover {
        color: #0d6efd;
        padding-left: 8px; /* Animate by shifting right */
    }

.social-icons {
    display: flex;
    gap: 1.5rem;
}

    .social-icons a {
        font-size: 1.75rem;
        transition: transform 0.3s ease;
    }

        .social-icons a:hover {
            transform: translateY(-3px);
        }

        .social-icons a.youtube {
            color: #FF0000;
        }

        .social-icons a.instagram {
            color: #E1306C;
        }

        .social-icons a.facebook {
            color: #1877F2;
        }

        .social-icons a.telegram {
            color: #2AABEE;
        }

.popover-body {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 1rem;
}

    .popover-body a {
        font-size: 1.5rem;
        transition: transform 0.2s ease;
    }

        .popover-body a:hover {
            transform: scale(1.15);
        }

        .popover-body a.whatsapp-icon {
            color: #25D366;
        }

        .popover-body a.instagram-icon {
            color: #E1306C;
        }

        .popover-body a.snapchat-icon {
            color: #FFFC00;
            background-color: black;
            border-radius: 50%;
            padding: 2px;
        }

        .popover-body a.twitter-icon {
            color: #1DA1F2;
        }

        .popover-body a.facebook-icon {
            color: #1877F2;
        }

        .popover-body a.copy-link-icon {
            color: #6c757d;
        }

.toast-container {
    z-index: 1100;
}
