/*  blog CSS */

body {
        background-color: #f8f9fc;
    }

    .page-header {
        margin-bottom: 4rem;
    }

    .page-title {
        font-weight: 800;
        letter-spacing: -1px;
    }

    .contribution-card,
    .article-card {
        border: none;
        border-radius: 18px;
        background: #ffffff;
        box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    }

    .contribution-card {
        padding: 2rem;
    }

    .article-card {
        overflow: hidden;
        transition: all 0.25s ease;
    }

    .article-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }

    .article-image {
        width: 100%;
        height: 420px;
        object-fit: cover;
    }

    .article-content {
        padding: 2rem;
    }

    .article-title {
        font-weight: 700;
        line-height: 1.2;
    }

    .article-body {
        color: #495057;
        line-height: 1.9;
        font-size: 1.05rem;
    }

    .company-badge {
        background: #111827;
        color: white;
        text-decoration: none;
        transition: 0.2s ease;
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .company-badge:hover {
        opacity: 0.85;
    }

    .meta-text {
        color: #6c757d;
        font-size: 0.9rem;
    }

    .btn-action {
        border-radius: 10px;
        font-size: 0.85rem;
        padding: 0.45rem 1rem;
    }

    .section-heading {
        font-weight: 700;
        margin-bottom: 2rem;
    }

    .empty-state {
        padding: 5rem 0;
        text-align: center;
    }

    .empty-icon {
        font-size: 4rem;
        color: #d1d5db;
    }

    textarea {
        min-height: 180px;
    }

    form p {
        margin-bottom: 1rem;
    }

    form input,
    form textarea,
    form select {
        width: 100%;
        border-radius: 10px !important;
        border: 1px solid #dcdfe4 !important;
        padding: 0.75rem 1rem !important;
    }

    form label {
        font-weight: 600;
        margin-bottom: 0.4rem;
    }

/* comment blog CSS */

.comment-section {
        background: #fafbfc;
        border-bottom-left-radius: 18px;
        border-bottom-right-radius: 18px;
    }

    .comment-list {
        max-height: 400px;
        overflow-y: auto;
    }

    .input-group textarea {
        min-height: 60px !important;
        border-radius: 10px 0 0 10px !important;
    }
    
    .input-group .btn {
        border-radius: 0 10px 10px 0 !important;
    }

/* article.css */
.btn-link {
    transition: transform 0.2s ease;
}

.btn-link:hover {
    transform: scale(1.1);
}

.bi-heart-fill {
    filter: drop-shadow(0 0 2px rgba(220, 53, 69, 0.3));
}

.article-card {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.article-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Interaction Bar Spacing */
.d-flex.align-items-center.gap-3.px-4 {
    padding-top: 1rem;
    padding-bottom: 0.5rem;
}

/* Custom Scrollbar for Comment List */
.comment-list::-webkit-scrollbar {
    width: 6px;
}

.comment-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.comment-list::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.bi-heart-fill {
    color: #dc3545; /* Bootstrap Red */
    animation: heartPop 0.3s ease-out;
    filter: drop-shadow(0 0 4px rgba(220, 53, 69, 0.4));
}