/* ─────────────────────────────────────────────────────────────
   DPRTE Gated Content — Frontend
   ───────────────────────────────────────────────────────────── */

:root {
    --gc-accent:     var(--e-global-color-d134273, #c8ad91);
    --gc-dark-bg:    var(--e-global-color-9784b88, #171717);
    --gc-surface:    rgba(255, 255, 255, 0.04);
    --gc-border:     rgba(200, 173, 145, 0.18);
    --gc-text:       #9CA3AF;
    --gc-text-light: #ffffff;
    --gc-radius:     12px;
}

/* Excerpt fade wrapper ───────────────────────────────────────── */
.dprte-gc-excerpt {
    position: relative;
    overflow: hidden;
}

.dprte-gc-excerpt::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--gc-dark-bg) 100%
    );
    pointer-events: none;
}

/* Gate card ─────────────────────────────────────────────────── */
.dprte-gc-gate {
    margin-top: 0;
    padding: 0;
}

.dprte-gc-gate__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    background: var(--gc-surface);
    border: 1px solid var(--gc-border);
    border-radius: var(--gc-radius);
    box-shadow:
        0 0 0 1px rgba(200, 173, 145, 0.06),
        0 8px 32px rgba(0, 0, 0, 0.35);
}

/* Lock icon ─────────────────────────────────────────────────── */
.dprte-gc-gate__icon {
    width: 48px;
    height: 48px;
    color: var(--gc-accent);
    opacity: 0.9;
    flex-shrink: 0;
}

/* Heading ───────────────────────────────────────────────────── */
.dprte-gc-gate__heading {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gc-text-light);
    letter-spacing: 0.02em;
}

/* Message ───────────────────────────────────────────────────── */
.dprte-gc-gate__message {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--gc-text);
    max-width: 400px;
}

/* Buttons ───────────────────────────────────────────────────── */
.dprte-gc-gate__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.dprte-gc-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none!important;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
}

.dprte-gc-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    text-decoration: none!important;
}

/* Primary — gold fill */
.dprte-gc-btn--primary {
    background-color: var(--gc-accent);
    color: var(--gc-dark-bg)!important;
    border: 2px solid var(--gc-accent);
}

/* Secondary — outline */
.dprte-gc-btn--secondary {
    background-color: transparent;
    color: var(--gc-text-light);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.dprte-gc-btn--secondary:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--gc-text-light);
}

/* Responsive ────────────────────────────────────────────────── */
@media ( max-width: 480px ) {
    .dprte-gc-gate__inner {
        padding: 2rem 1.25rem;
    }
    .dprte-gc-btn {
        width: 100%;
        text-align: center;
    }
}
