/* ===========================
   Secure Content Blur Styles
   =========================== */

.secure-content-container {
    position: relative;
    margin-bottom: 1.75rem;
}

/* ---------- Message box ABOVE the blur ---------- */

.secure-content-message {
    margin-bottom: 0.75rem;
}

.secure-content-message-inner {
    background: #ffffff;
    border-radius: 8px;
    padding: 14px 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
    box-sizing: border-box;
}

.secure-content-message-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
    color: #111827;
}

.secure-content-message-text {
    font-size: 0.95rem;
    color: #374151;
    margin-bottom: 8px;
    line-height: 1.5;
}

.secure-content-message-text strong {
    font-weight: 600;
}

.secure-content-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.secure-content-btn:hover {
    background: #1d4ed8;
    text-decoration: none;
}

/* ---------- Blurred content + invisible overlay ---------- */

.secure-content-blur-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* The actual blurred content */
.secure-content-overlay {
    user-select: none;
    pointer-events: none;
    transition: filter 0.4s ease-in-out;
}

/* Full clickable area over the blurred content */
.secure-content-link {
    position: absolute;
    inset: 0;
    display: block;
    text-decoration: none;
    background: transparent;
    z-index: 2;
}

/* Optional hover feedback */
.secure-content-link:hover {
    cursor: pointer;
}

/* Fallback if JS disabled */
.secure-content-noscript {
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Styling for unblurred content (subscribed users) */
.secure-content-centered {
    text-align: center;
}

/* Small-screen adjustments */
@media (max-width: 768px) {
    .secure-content-message-inner {
        padding: 10px 12px;
    }
    .secure-content-message-text {
        font-size: 0.9rem;
    }
    .secure-content-btn {
        font-size: 0.85rem;
        padding: 7px 14px;
    }
}
