/* ================= HERO ================= */

.blog-hero-detail {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 120px 20px 80px;
    text-align: center;
    color: #fff;
}

.blog-hero-detail h1 {
    font-size: 42px;
    font-weight: 600;
    margin-top: 15px;
}

.category-badge {
    background: #6366f1;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
}

.blog-meta {
    margin-top: 10px;
    opacity: 0.8;
}

/* ================= BODY ================= */

.blog-detail-wrapper {
    background: #fff;
    margin-top: -60px;
    padding: 60px;
    border-radius: 25px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

.blog-image {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.blog-content {
    font-size: 17px;
    line-height: 1.9;
    color: #374151;
}

.blog-content h2 {
    margin-top: 40px;
    margin-bottom: 15px;
}

/* ================= COMMENTS ================= */

.comment-section {
    margin-top: 80px;
}

.comment-section h2 {
    margin-bottom: 30px;
}

.comment-card {
    display: flex;
    gap: 15px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.comment-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #6366f1, #3b82f6);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.comment-content strong {
    display: block;
}

.comment-content span {
    font-size: 12px;
    color: #64748b;
}

.comment-content p {
    margin-top: 5px;
}

/* ================= FORM ================= */

.comment-form {
    margin-top: 50px;
    padding: 30px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.comment-form textarea {
    height: 120px;
    resize: none;
}

.comment-form button {
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(135deg, #6366f1, #3b82f6);
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.comment-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99,102,241,0.4);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
    .blog-detail-wrapper {
        padding: 40px;
    }

    .blog-hero-detail h1 {
        font-size: 32px;
    }
}

@media (max-width: 600px) {

    .blog-hero-detail {
        padding: 80px 20px 60px;
    }

    .blog-detail-wrapper {
        padding: 25px;
        margin-top: -40px;
    }

    .blog-hero-detail h1 {
        font-size: 24px;
    }

    .comment-card {
        flex-direction: column;
    }
}
