/* ============================================================
   PA NOTARY COMMUNITY PREVIEW  — public teaser shortcode
   [panc_community_preview]
   ============================================================ */

.panc-preview-wrap {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    max-width: 780px;
    margin: 0 auto;
}

/* ── Hero stats bar ── */
.pancp-hero {
    background: #1A1A1A;
    border-radius: 14px;
    padding: 32px 36px;
    text-align: center;
    margin-bottom: 20px;
}
.pancp-hero-eyebrow {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #CC0000;
    margin-bottom: 10px;
}
.pancp-hero-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 0 0 8px !important;
    line-height: 1.25 !important;
    border: none !important;
    padding: 0 !important;
}
.pancp-hero-sub {
    font-size: 13px;
    color: rgba(255,255,255,.4);
    margin: 0 0 24px;
}
.pancp-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.pancp-stat-n {
    font-size: 28px;
    font-weight: 800;
    color: #CC0000;
    line-height: 1;
}
.pancp-stat-l {
    font-size: 10px;
    color: rgba(255,255,255,.35);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-top: 4px;
}
.pancp-hero-cta {
    display: inline-block;
    background: #CC0000;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 13px 30px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background .13s;
}
.pancp-hero-cta:hover { background: #aa0000; }

/* ── Section tabs ── */
.pancp-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.pancp-tab {
    font-size: 13px;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    color: #888;
    background: #fff;
    cursor: default;
    user-select: none;
    transition: all .12s;
}
.pancp-tab-active {
    background: #1A1A1A;
    color: #fff;
    border-color: #1A1A1A;
}
.pancp-tab-locked {
    opacity: .5;
}
.pancp-lock-icon { margin-left: 4px; font-size: 11px; }

/* ── Toolbar ── */
.pancp-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.pancp-thread-count { font-size: 13px; color: #999; }
.pancp-post-teaser  { font-size: 12px; color: #bbb; font-style: italic; }

/* ── Thread stack + overlay wrapper ── */
.pancp-thread-stack {
    position: relative;
}

/* ── Thread rows ── */
.pancp-thread-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.pancp-thread {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #fff;
}
.pancp-thread-open {
    transition: border-color .13s;
}
.pancp-thread-open:hover { border-color: #CC0000; }

/* Inner flex row */
.pancp-thread-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
}

/* Blurred locked threads */
.pancp-blurred {
    filter: blur(3.5px);
    pointer-events: none;
    user-select: none;
}

/* Lock chip over blurred thread */
.pancp-thread-chip {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 5px;
    background: #1A1A1A;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 20px;
    z-index: 2;
    white-space: nowrap;
}

/* Avatar */
.pancp-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Thread content */
.pancp-thread-main { flex: 1; min-width: 0; }
.pancp-thread-title {
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    line-height: 1.35;
}
.pancp-thread-excerpt {
    font-size: 12px;
    color: #666;
    line-height: 1.55;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pancp-thread-meta {
    font-size: 11px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.pancp-thread-meta strong { color: #555; }
.pancp-tier {
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 6px;
    background: #EEEDFE;
    color: #3C3489;
}

/* Stats pills */
.pancp-thread-stats {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.pancp-stat-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #aaa;
}

/* Badges */
.pancp-badge {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 5px;
    white-space: nowrap;
    flex-shrink: 0;
}
.pancp-pin { background: #FAEEDA; color: #854F0B; }
.pancp-ans { background: #E1F5EE; color: #0F6E56; }

/* ── Gradient + CTA overlay ── */
.pancp-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 260px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(248,248,248,.7) 40%,
        rgba(248,248,248,.97) 65%,
        #f8f8f8 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 28px;
    gap: 10px;
    z-index: 10;
    pointer-events: none;
}
.pancp-overlay-cta {
    pointer-events: all;
    display: inline-block;
    background: #CC0000;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    padding: 15px 34px;
    border-radius: 9px;
    text-decoration: none !important;
    box-shadow: 0 4px 24px rgba(204,0,0,.28);
    transition: background .13s, transform .13s, box-shadow .13s;
}
.pancp-overlay-cta:hover {
    background: #aa0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(204,0,0,.38);
}
.pancp-overlay-sub {
    font-size: 12px;
    color: #999;
    pointer-events: none;
}

/* ── Live ticker ── */
.pancp-ticker {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 14px;
}
.pancp-ticker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1D9E75;
    flex-shrink: 0;
    animation: pancp-pulse 2s infinite;
}
@keyframes pancp-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .6; transform: scale(.85); }
}
.pancp-ticker-text {
    font-size: 13px;
    color: #555;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pancp-ticker-time {
    font-size: 11px;
    color: #bbb;
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .pancp-hero { padding: 24px 20px; }
    .pancp-hero-title { font-size: 18px !important; }
    .pancp-stats { gap: 18px; }
    .pancp-stat-n { font-size: 22px; }
    .pancp-thread-stats { display: none; }
    .pancp-overlay-cta { font-size: 14px; padding: 13px 22px; }
    .pancp-ticker-text { font-size: 12px; }
}
