/* ──────────────────────────────────────────────────────────────
   TKD paywall — blurred content + "Subscribe Now" overlay.
   Mirrors the incident-map paywall styling used on the map page.
   ────────────────────────────────────────────────────────────── */

.tkd-paywall {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.tkd-paywall-blur {
    filter: blur(16px) brightness(0.9);
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

/* Full-page variant: clip the blurred body so guests do not scroll
   through screens of unreadable content to reach the footer. */
.tkd-paywall--page .tkd-paywall-blur {
    max-height: 78vh;
    min-height: 420px;
    overflow: hidden;
}

.tkd-paywall-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.35);
    z-index: 20;
    padding: 16px;
}

.tkd-paywall-card {
    background: #fff;
    border-radius: 10px;
    padding: 36px 40px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
    font-family: 'Poppins', sans-serif;
}

.tkd-paywall-icon {
    font-size: 36px;
    color: #AF2828;
    margin-bottom: 12px;
    line-height: 1;
}

.tkd-paywall-card h5 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.tkd-paywall-card p {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 20px;
}

.tkd-paywall-btn {
    display: inline-block;
    background: #AF2828;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 4px;
    text-decoration: none !important;
}

.tkd-paywall-btn:hover { background: #8f1e1e; }

.tkd-paywall-sub {
    margin: 14px 0 0;
    font-size: 12px;
    color: #888;
}

.tkd-paywall-sub a { color: #AF2828; }

/* Compact card for narrow sidebar-width sections (e.g. WhatsApp column). */
.tkd-paywall--compact .tkd-paywall-card {
    padding: 22px 20px;
    max-width: 300px;
}
.tkd-paywall--compact .tkd-paywall-icon { font-size: 26px; margin-bottom: 8px; }
.tkd-paywall--compact .tkd-paywall-card h5 { font-size: 14px; }
.tkd-paywall--compact .tkd-paywall-card p { font-size: 12px; margin-bottom: 14px; }
.tkd-paywall--compact .tkd-paywall-btn { padding: 8px 20px; font-size: 12px; }

@media (max-width: 600px) {
    .tkd-paywall-card { padding: 24px 20px; }
    .tkd-paywall-card h5 { font-size: 16px; }
    .tkd-paywall--page .tkd-paywall-blur { min-height: 340px; }
}

/* Full-page variant: the card is rendered outside <main> (see the `paywall`
   stack in front.layout.main) so that unbalanced markup inside a page's
   content can never nest it under the blur filter. It floats over the
   viewport but stays click-through, so the nav, footer and login links
   remain reachable.

   z-index sits above page content (nothing inside <main> exceeds 10) but
   below the nav chrome: the mobile slide-out menu is 100/101 and the
   desktop dropdowns are 999, so both open over the card rather than
   under it. */
.tkd-paywall-overlay--fixed {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: transparent;
    pointer-events: none;
}

.tkd-paywall-overlay--fixed .tkd-paywall-card {
    pointer-events: auto;
}
