/* ===============================
   BLOG DETAILS – CLEAN FIX
================================ */
/* =========================
   HARD FIX: Force Donate button visible on mobile
   ========================= */

@media (max-width: 768px) {

    /* Force ALL standalone buttons visible */
    a.btn {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* Specifically target Donate button */
    a[href="donate/index.php"] {
        display: flex !important;
        width: 100% !important;
        margin-top: 2rem !important;
        justify-content: center;
        align-items: center;
        z-index: 9999 !important;
        position: relative !important;
    }

    /* Kill parent clipping */
    .hero,
    .hero-section,
    .give-back,
    .container,
    .center {
        overflow: visible !important;
        height: auto !important;
        max-height: none !important;
    }
}

/* Banner */
.page-banner {
    background:
        linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
        url('../../../images/stock/unsplash-1506126613408-eca07ce68773.jpg')
        center / cover no-repeat;
    padding: 6rem 0;
}

/* Spacing */
.sp_pt_120 { padding-top: 4.5rem; }
.sp_pb_120 { padding-bottom: 4.5rem; }

/* Article wrapper */
.blog-article {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

/* Featured image */
.blog-details-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* Content */
.blog-details-content {
    padding: 2.5rem;
}

.blog-details-content .title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 1rem;
}

.blog-details-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

/* Share links */
.social-links {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f3f3f3;
    color: #333;
    transition: .25s;
}

.social-links a:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Comments */
.single-comment {
    display: flex;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 12px;
    background: #f8f8f8;
    margin-bottom: 1rem;
}

.comment-thumb img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content h5 {
    font-size: .95rem;
    font-weight: 600;
    margin-bottom: .1rem;
}

.comment-content small {
    font-size: .8rem;
    color: #999;
}

.comment-content p {
    font-size: .9rem;
    margin-top: .5rem;
}

/* Comment form */
.site-card {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.site-card textarea {
    border-radius: 12px;
}

/* Sidebar */
.blog-widget {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.blog-widget-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.4rem;
}

/* Recent posts */
.short-post {
    display: flex;
    gap: .8rem;
    align-items: center;
    margin-bottom: 1.2rem;
}

.short-post .thumb img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
}

.short-post .content .title {
    font-size: .9rem;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-details-content {
        padding: 1.6rem;
    }

    .blog-details-content .title {
        font-size: 1.5rem;
    }

    .blog-details-img img {
        height: 260px;
    }
}
