/* ==========================================================================
   GS Venue Blocks — membership.css
   Membership block (gs_block_membership). Rendered only when
   v3_offers_membership is true. Four visual layers:
     1. Status strip  — required vs optional (black box, bold label)
     2. Fee panel     — big price + duration, e.g. £5 per year
     3. Benefits list — bulleted perks or single-paragraph prose
     4. Member prices — optional sub-table of member entry rates
   Inherits .wp-block-table base styling from hours.css for the sub-table.
   ========================================================================== */

/* ── CONTAINER ── */
.gs-venue__membership {
    margin: 0 0 8px;
}

/* ── STATUS STRIP ──
   !important on color + background to beat GeneratePress global `p` rules
   (same pattern as feedback_gp_hover_important.md). Steam Complex was
   rendering black-on-black because GP's `.entry-content p { color: #111 }`
   has higher specificity (0,1,1) than our class-level (0,1,0) base. */
.gs-venue__membership-status {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff !important;
    background: #000 !important;
    border: 2px solid #000;
    border-radius: 100px;
    padding: 6px 16px;
    margin: 0 0 20px;
    line-height: 1.3;
}
.gs-venue__membership-status--optional {
    color: #000 !important;
    background: #fff !important;
}

/* ── FEE PANEL ── */
.gs-venue__membership-fee {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px;
    padding: 20px 24px;
    background: #fafafa;
    border: 2px solid #000;
    border-radius: 12px;
    margin: 0 0 20px;
}
.gs-venue__membership-fee-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #000;
}
.gs-venue__membership-fee-amount {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #000;
    line-height: 1;
}
.gs-venue__membership-fee-duration {
    font-size: 14px;
    font-weight: 500;
    color: #111;
}

/* ── BENEFITS LIST ── */
.gs-venue__membership-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.gs-venue__membership-benefits li {
    position: relative;
    padding: 6px 0 6px 24px;
    font-size: 14px;
    line-height: 1.5;
    color: #111;
    border-bottom: 1px solid #eee;
}
.gs-venue__membership-benefits li:last-child { border-bottom: none; }
.gs-venue__membership-benefits li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 13px;
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
}

/* Prose fallback when benefits field contains no line breaks. */
.gs-venue__membership-benefits-prose {
    font-size: 14px;
    line-height: 1.55;
    color: #111;
    margin: 0 0 20px;
}

/* ── MEMBER ENTRY RATES SUB-TABLE ── */
.gs-venue__membership-prices-eyebrow {
    font-size: 11px !important;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #000;
    margin: 8px 0 12px !important;
}
.gs-venue__body .gs-venue__member-prices-table { margin: 0 0 8px; }
.gs-venue__body .gs-venue__member-prices-table table { table-layout: auto; }
.gs-venue__body .gs-venue__member-prices-table td:nth-child(2) {
    font-weight: 600;
    white-space: nowrap;
    color: #000;
}
.gs-venue__body .gs-venue__member-prices-table th:nth-child(2) {
    width: 120px;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
    .gs-venue__membership-fee {
        padding: 16px 18px;
        gap: 8px;
    }
    .gs-venue__membership-fee-amount { font-size: 24px; }
    .gs-venue__body .gs-venue__member-prices-table th:nth-child(2) { width: auto; }
}
