/* ===================================================================
   HumiDesk Access Gate — Premium Preview Gate
   Theme-context CSS: works inside the normal WP theme shell.
   =================================================================== */

/* ── Preview area ──────────────────────────────────────────────── */
.cd-gate-preview {
    position: relative;
    margin-bottom: 0;
}

/* Gradient fade signals truncation without exposing hidden content */
.cd-gate-preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: linear-gradient(to bottom, transparent, var(--cd-gate-bg, #fff));
    pointer-events: none;
}

/* ── Gate card container ───────────────────────────────────────── */
.cd-gate-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: 4px solid #0f172a;
    border-radius: 16px;
    padding: 36px 32px 32px;
    max-width: 560px;
    width: 100%;
    margin: 40px auto;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .10);
    text-align: center;
}

/* ── Tier badge ────────────────────────────────────────────────── */
.cd-gate-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.cd-gate-badge::before { content: '🔒'; font-size: 11px; line-height: 1; }

.cd-gate-badge--elite { background: #fef3c7; color: #92400e; }
.cd-gate-badge--gold  { background: #faf5ff; color: #7c3aed; }
.cd-gate-badge--baby  { background: #eff6ff; color: #1d4ed8; }
.cd-gate-badge--free  { background: #f1f5f9; color: #475569; }

/* ── Title ─────────────────────────────────────────────────────── */
.cd-gate-title {
    margin: 0 0 20px;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

/* ── Benefit bullets ───────────────────────────────────────────── */
.cd-gate-benefits {
    list-style: none;
    padding: 0;
    margin: 0 auto 20px;
    text-align: left;
    display: inline-block;
    min-width: 200px;
}

.cd-gate-benefits li {
    position: relative;
    padding: 5px 0 5px 26px;
    font-size: 14px;
    color: #1e293b;
    line-height: 1.5;
}

.cd-gate-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 700;
    font-size: 15px;
}

/* ── Description ───────────────────────────────────────────────── */
.cd-gate-desc {
    color: #64748b;
    font-size: 14px;
    margin: 0 0 28px;
    line-height: 1.65;
}

/* ── Actions row ───────────────────────────────────────────────── */
.cd-gate-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* ── Primary CTA ───────────────────────────────────────────────── */
.cd-gate-cta {
    display: inline-block;
    padding: 13px 32px;
    background: #0f172a;
    color: #fff !important;
    border-radius: 10px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .01em;
    transition: opacity .15s;
    min-width: 200px;
    text-align: center;
}
.cd-gate-cta:hover { opacity: .85; }

/* ── Secondary login link ──────────────────────────────────────── */
.cd-gate-login {
    color: #2563eb;
    font-size: 13px;
    text-decoration: none;
}
.cd-gate-login:hover { text-decoration: underline; }

/* ── Suppress comments on gated pages ─────────────────────────── */
.comments-area,
#comments,
#respond,
#thrive-comments,
.comments-compat-generatepress,
.comment-respond,
.comment-list,
.comment-form,
.comment-navigation,
.comments-title,
.thrive-comments-content,
.tcm-comments-filter,
.tcm-comments-create,
.tcm-comments-list,
.tcm-comments-title,
.tcm-replies-title,
.tcm-comments-load-more,
[class*="tcm-comments"],
[class*="thrive-comments"] {
    display: none !important;
}

