/* Blog Detail Page */

.page-hero {
    background: linear-gradient(135deg, #2e3192, #ee1d24);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.page-hero h1 {
    font-size: 32px;
    font-weight: 700;
}

.page-hero p {
    font-size: 16px;
    margin-top: 8px;
}

/* Blog Content */
.blog-detail-section {
    padding: 60px 100px;
    background: #fff;
}

.blog-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
}

.blog-content {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Comments */
.comment-box {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.comment-box strong {
    color: #2e3192;
}

.comment-box small {
    color: #777;
}

/* Comment Form */
.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 15px;
    background: #fff;
    transition: 0.3s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #2e3192;
    box-shadow: 0 0 8px rgba(46, 49, 146, 0.2);
    outline: none;
}

.comment-form textarea {
    resize: none;
}

.comment-form button {
    background: linear-gradient(135deg, #2e3192, #ee1d24);
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.comment-form button:hover {
    transform: translateY(-2px);
}

.form-msg {
    color: green;
    margin-bottom: 10px;
}

/* ----------------- Responsive ----------------- */
@media (max-width: 768px) {
    .blog-detail-section {
        padding: 30px 20px;
        /* reduce padding for mobile */
    }

    .page-hero h1 {
        font-size: 26px;
        /* smaller title */
    }

    .page-hero p {
        font-size: 14px;
    }

    .blog-content {
        font-size: 15px;
    }

    .blog-image {
        max-height: 250px;
        /* reduce image height for small screens */
    }
}