/* ===========================================================================
   Plaza interior content page  (Terms, Privacy, Donate copy, Info pages)
   ---------------------------------------------------------------------------
   The shared layout for long-form "article" pages on the new public site.
   Sits on top of plaza-brand.css (loaded by Ticketing.master), which supplies
   the :root brand tokens and the Playfair/Inter font imports. Loaded per-page
   through the master's "head" content placeholder.

   Brand tokens that the live plaza-brand.css does not yet define (paper,
   paper-edge, gold-light) are referenced with literal fallbacks so this file
   is self-sufficient.
   ======================================================================== */

.pcp-page {
    background: var(--plaza-paper, #FAF6EC);
}

/* ---------- Title band ------------------------------------------------- */
/* A brown "front of house" band echoing the sticky header, capped with the
   gold hairline. Cream Playfair title, optional gold eyebrow above. */
.pcp-hero {
    background: linear-gradient(180deg,
                #4d1419 0%,
                var(--plaza-brown, #441116) 60%,
                #2d0a0e 100%);
    color: var(--plaza-cream, #F5E2B8);
    border-bottom: 2px solid var(--plaza-gold, #C4932C);
    text-align: center;
    padding: 48px 20px 40px;
}
.pcp-hero-eyebrow {
    font-family: var(--plaza-font-ui, "Inter", sans-serif);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--plaza-gold, #C4932C);
    margin-bottom: 10px;
}
.pcp-hero-title {
    font-family: var(--plaza-font-display, "Playfair Display", Georgia, serif);
    font-weight: 700;
    color: #fff;
    font-size: 38px;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin: 0;
}
.pcp-hero-sub {
    margin: 12px auto 0;
    max-width: 640px;
    font-family: var(--plaza-font-ui, "Inter", sans-serif);
    font-size: 16px;
    line-height: 1.5;
    color: rgba(245, 226, 184, 0.85);
}

/* ---------- Article column -------------------------------------------- */
.pcp-article {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 20px 64px;
}
/* Wider variant for content-heavy pages (e.g. the bio page's productions
   list) so long lines wrap less. */
.pcp-article-wide { max-width: 1100px; }
.pcp-card {
    background: #fff;
    border: 1px solid var(--plaza-paper-edge, #EFE6CC);
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(45, 10, 14, 0.06);
    padding: 36px 40px;
}

/* ---------- Long-form body copy --------------------------------------- */
/* 18px floor per the public-site accessibility spec (older, mostly-mobile
   audience). Generous line-height for readability on legal/info prose. */
.pcp-body {
    font-family: var(--plaza-font-ui, "Inter", sans-serif);
    color: var(--plaza-text, #1d1d1d);
    font-size: 18px;
    line-height: 1.7;
}
.pcp-body > :first-child { margin-top: 0; }
.pcp-body h2,
.pcp-body h3 {
    font-family: var(--plaza-font-display, "Playfair Display", Georgia, serif);
    color: var(--plaza-brown, #441116);
    font-weight: 700;
    line-height: 1.2;
}
.pcp-body h2 { font-size: 26px; margin: 1.9em 0 0.6em; }
.pcp-body h3 { font-size: 21px; margin: 1.8em 0 0.5em; }
.pcp-body p { margin: 0 0 1.05em; }
.pcp-body ul,
.pcp-body ol { margin: 0 0 1.05em; padding-left: 1.4em; }
.pcp-body li { margin-bottom: 0.4em; }
.pcp-body strong { color: var(--plaza-brown, #441116); }
.pcp-body a {
    color: var(--plaza-blue, #08263F);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.pcp-body a:hover { color: var(--plaza-gold, #C4932C); }

/* "Last Updated:" note */
.pcp-updated {
    font-style: italic;
    color: var(--plaza-muted, #6b6b6b);
    font-size: 15px;
    margin-bottom: 1.6em;
}

/* ---------- Notice banner --------------------------------------------- */
/* A light cream/gold banner for a short heads-up at the top of a page
   (e.g. "updating soon"). Lighter than .pcp-callout, which is a CTA panel. */
.pcp-notice {
    background: var(--plaza-cream-soft, #FBF3DC);
    border: 1px solid var(--plaza-gold, #C4932C);
    border-left: 5px solid var(--plaza-gold, #C4932C);
    border-radius: 8px;
    padding: 16px 20px;
    font-family: var(--plaza-font-ui, "Inter", sans-serif);
    font-size: 18px;
    line-height: 1.5;
    color: var(--plaza-text, #1d1d1d);
}
.pcp-notice strong { color: var(--plaza-brown, #441116); }

/* ---------- Performer bio page ---------------------------------------- */
.pcp-bio {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
}
@media (min-width: 740px) {
    .pcp-bio { grid-template-columns: 280px 1fr; }
}
.pcp-bio-photo {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--plaza-paper-edge, #EFE6CC);
    box-shadow: 0 4px 18px rgba(45, 10, 14, 0.06);
    background: #fff;
}
.pcp-bio-photo img { width: 100%; display: block; }

/* Gold-monogram placeholder shown when a performer has no headshot. */
.pcp-monogram {
    width: 100%;
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #5D4037 0%, #3E2723 100%);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}
.pcp-monogram .initials {
    font-family: var(--plaza-font-display, "Playfair Display", Georgia, serif);
    font-weight: 700;
    font-size: 88px;
    letter-spacing: -2px;
    line-height: 1;
    background: linear-gradient(to bottom right, #BF953F 0%, #FCF6BA 40%, #B38728 60%, #FBF5B7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
}
.pcp-bio-badge { margin-top: 18px; text-align: center; }
.pcp-bio-badge img { max-width: 160px; height: auto; }
.pcp-bio-note {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--plaza-muted, #6b6b6b);
}
.pcp-bio-total { margin-top: 16px; font-size: 18px; }
.pcp-bio-total strong { color: var(--plaza-brown, #441116); }

/* ---------- Past productions archive ---------------------------------- */
.pcp-past-season { margin-top: 40px; }
.pcp-past-season:first-child { margin-top: 0; }

/* Recent seasons: compact horizontal cards (image left, info right) */
.pcp-past-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
@media (min-width: 680px) { .pcp-past-grid { grid-template-columns: repeat(2, 1fr); } }
.pcp-past-card {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--plaza-paper-edge, #EFE6CC);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(45, 10, 14, 0.06);
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.15s;
}
a.pcp-past-card:hover {
    box-shadow: 0 8px 24px rgba(75, 46, 46, 0.16);
    transform: translateY(-2px);
    text-decoration: none;
}
.pcp-past-card img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    background: #f0e8d8;
}
.pcp-past-card-body { padding: 12px 16px; min-width: 0; }
.pcp-past-name {
    font-family: var(--plaza-font-display, "Playfair Display", Georgia, serif);
    color: var(--plaza-brown, #441116);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    margin: 0 0 4px;
}
.pcp-past-dates {
    font-family: var(--plaza-font-ui, "Inter", sans-serif);
    font-size: 13px;
    color: var(--plaza-muted, #6b6b6b);
}

/* Older seasons: compact text list */
.pcp-past-list { margin: 0; padding: 0; list-style: none; }
.pcp-past-list li {
    padding: 9px 0;
    border-bottom: 1px solid var(--plaza-paper-edge, #EFE6CC);
    font-family: var(--plaza-font-ui, "Inter", sans-serif);
    font-size: 17px;
    line-height: 1.4;
}
.pcp-past-list li:last-child { border-bottom: 0; }
.pcp-past-list strong { color: var(--plaza-brown, #441116); }
.pcp-past-list .pcp-past-dates { display: inline; }

/* ---------- Responsive ------------------------------------------------- */
@media (min-width: 768px) {
    .pcp-hero { padding: 64px 24px 52px; }
    .pcp-hero-title { font-size: 52px; }
}
@media (max-width: 600px) {
    .pcp-card { padding: 24px 20px; }
    .pcp-hero-title { font-size: 32px; }
}

/* ===========================================================================
   Reusable building blocks for richer info pages (Box Office, Directions,
   Donate, etc.). Used outside .pcp-body so their typography is independent
   of the long-form prose rules above.
   ======================================================================== */

.pcp-section { margin-top: 44px; }
.pcp-section:first-child { margin-top: 0; }
.pcp-section-title {
    font-family: var(--plaza-font-display, "Playfair Display", Georgia, serif);
    color: var(--plaza-brown, #441116);
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
    margin: 0 0 18px;
}
.pcp-section-intro {
    font-family: var(--plaza-font-ui, "Inter", sans-serif);
    font-size: 18px;
    line-height: 1.6;
    color: var(--plaza-text, #1d1d1d);
    margin: 0 0 20px;
    max-width: 70ch;
}

/* ---------- Info card grid -------------------------------------------- */
.pcp-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 620px) {
    .pcp-cards { grid-template-columns: repeat(2, 1fr); }
}
.pcp-info-card {
    background: #fff;
    border: 1px solid var(--plaza-paper-edge, #EFE6CC);
    border-top: 3px solid var(--plaza-gold, #C4932C);
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(45, 10, 14, 0.06);
    padding: 22px 24px;
}
.pcp-info-card--wide { grid-column: 1 / -1; }
.pcp-info-card h3 {
    font-family: var(--plaza-font-display, "Playfair Display", Georgia, serif);
    color: var(--plaza-brown, #441116);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    margin: 0 0 12px;
}
.pcp-info-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: var(--plaza-font-ui, "Inter", sans-serif);
    font-size: 18px;
    line-height: 1.5;
}
.pcp-info-card li {
    padding: 5px 0;
    border-bottom: 1px solid #f3eede;
}
.pcp-info-card li:last-child { border-bottom: 0; }
.pcp-info-card p {
    margin: 0 0 12px;
    font-family: var(--plaza-font-ui, "Inter", sans-serif);
    font-size: 18px;
    line-height: 1.5;
}
.pcp-info-card > :last-child { margin-bottom: 0; }
/* Text links inside a card. Excludes the pill buttons (.pcp-btn /
   .pcp-btn-secondary) so a button placed in a card keeps its own styling
   instead of being repainted as a blue underlined link. */
.pcp-info-card a:not(.pcp-btn):not(.pcp-btn-secondary) {
    color: var(--plaza-blue, #08263F);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.pcp-info-card a:not(.pcp-btn):not(.pcp-btn-secondary):hover { color: var(--plaza-gold, #C4932C); }
.pcp-info-card strong { color: var(--plaza-brown, #441116); }
.pcp-info-card .pcp-subhead {
    font-family: var(--plaza-font-display, "Playfair Display", Georgia, serif);
    color: var(--plaza-brown, #441116);
    font-size: 17px;
    font-weight: 700;
    margin: 16px 0 8px;
}
.pcp-info-card .pcp-note {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--plaza-muted, #6b6b6b);
}

/* ---------- Responsive embedded map (Google My Maps iframe) ----------- */
.pcp-map {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;   /* 16:9 */
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--plaza-paper-edge, #EFE6CC);
    box-shadow: 0 4px 18px rgba(45, 10, 14, 0.06);
    background: #fff;
}
.pcp-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------- Callout / CTA box ----------------------------------------- */
/* A brown "come join us" panel for calls to action (volunteer, donate,
   audition). Centered text + an optional gold pill button. */
.pcp-callout {
    background: linear-gradient(180deg, #4d1419 0%, var(--plaza-brown, #441116) 100%);
    color: var(--plaza-cream, #F5E2B8);
    border: 1px solid var(--plaza-gold, #C4932C);
    border-radius: 10px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(45, 10, 14, 0.10);
}
.pcp-callout h3 {
    font-family: var(--plaza-font-display, "Playfair Display", Georgia, serif);
    color: #fff;
    font-weight: 700;
    font-size: 25px;
    line-height: 1.2;
    margin: 0 0 12px;
}
.pcp-callout p {
    font-family: var(--plaza-font-ui, "Inter", sans-serif);
    font-size: 18px;
    line-height: 1.55;
    color: rgba(245, 226, 184, 0.92);
    margin: 0 auto 18px;
    max-width: 62ch;
}
.pcp-callout p:last-child { margin-bottom: 0; }
.pcp-callout a:not(.pcp-btn) {
    color: var(--plaza-gold, #C4932C);
    text-decoration: underline;
}

/* ---------- Gold pill button (CTAs) ----------------------------------- */
/* A clone of the header "Tickets" pill (.ptp-tix-btn): gold gradient, Plaza
   brown uppercase text, dimensional inset highlight. Uses the gold-dark
   border (like .ptp-whatson-buy) so the pill reads cleanly on the white/paper
   page surface - a cream border would disappear here. Hover brightens the
   whole button and keeps the text brown; active presses it down. */
.pcp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg,
                var(--plaza-gold-light, #E4B056) 0%,
                var(--plaza-gold, #C4932C) 55%,
                var(--plaza-gold-dark, #A87A1F) 100%);
    color: var(--plaza-brown, #441116);
    font-family: var(--plaza-font-ui, "Inter", sans-serif);
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    padding: 13px 26px;
    border-radius: 999px;
    border: 1.5px solid var(--plaza-gold-dark, #A87A1F);
    box-shadow:
        inset 0  1px 0 rgba(255, 255, 255, 0.55),
        inset 0 -2px 4px rgba(68, 17, 22, 0.30),
        0  2px 0 rgba(0, 0, 0, 0.22),
        0  4px 10px rgba(0, 0, 0, 0.18);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
    cursor: pointer;
}
.pcp-btn:hover {
    filter: brightness(1.05);
    color: var(--plaza-brown, #441116);
    text-decoration: none;
}
.pcp-btn:active {
    transform: translateY(1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 2px rgba(68, 17, 22, 0.25),
        0 1px 0 rgba(0, 0, 0, 0.22);
}

/* ---------- Upcoming-auditions cards ---------------------------------- */
.pcp-audition-card {
    display: flex;
    gap: 16px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--plaza-paper-edge, #EFE6CC);
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(45, 10, 14, 0.06);
    padding: 14px 16px;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.15s;
}
.pcp-audition-card:hover {
    box-shadow: 0 8px 24px rgba(75, 46, 46, 0.16);
    transform: translateY(-1px);
    text-decoration: none;
}
.pcp-audition-card img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    background: #f0e8d8;
}
.pcp-audition-info { min-width: 0; }
.pcp-audition-name {
    font-family: var(--plaza-font-display, "Playfair Display", Georgia, serif);
    color: var(--plaza-brown, #441116);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    margin: 0 0 4px;
}
.pcp-audition-date {
    font-family: var(--plaza-font-ui, "Inter", sans-serif);
    color: #A87A1F;
    font-weight: 600;
    font-size: 16px;
}

/* ---------- Secondary (outline) button + button rows ------------------ */
.pcp-btn-secondary {
    display: inline-block;
    background: #fff;
    color: var(--plaza-brown, #441116);
    border: 2px solid var(--plaza-brown, #441116);
    border-radius: 999px;
    font-family: var(--plaza-font-ui, "Inter", sans-serif);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    padding: 11px 22px;
    text-decoration: none;
    cursor: pointer;
}
.pcp-btn-secondary:hover {
    background: var(--plaza-brown, #441116);
    color: var(--plaza-cream, #F5E2B8);
    text-decoration: none;
}
.pcp-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}
.pcp-btn-row.center { justify-content: center; }

/* ---------- Data table (sponsorship / Legacy Club tiers) -------------- */
.pcp-table-wrap { overflow-x: auto; }
.pcp-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--plaza-font-ui, "Inter", sans-serif);
    font-size: 17px;
    line-height: 1.5;
    background: #fff;
    border: 1px solid var(--plaza-paper-edge, #EFE6CC);
    border-radius: 10px;
    overflow: hidden;
}
.pcp-table thead th {
    background: var(--plaza-brown, #441116);
    color: var(--plaza-cream, #F5E2B8);
    font-family: var(--plaza-font-display, "Playfair Display", Georgia, serif);
    font-weight: 700;
    font-size: 18px;
    text-align: left;
    padding: 12px 16px;
}
.pcp-table td {
    padding: 12px 16px;
    border-top: 1px solid #efe6cc;
    vertical-align: top;
}
.pcp-table tbody tr:nth-child(even) { background: #faf6ec; }
.pcp-table ul { margin: 0; padding-left: 1.1em; }
.pcp-table li { margin-bottom: 4px; }
.pcp-table .level {
    font-family: var(--plaza-font-display, "Playfair Display", Georgia, serif);
    font-weight: 700;
    color: var(--plaza-brown, #441116);
    font-size: 18px;
}
.pcp-table .amount {
    font-weight: 800;
    color: var(--plaza-brown, #441116);
    white-space: nowrap;
}

/* ---------- FAQ accordion (native details/summary) -------------------- */
.pcp-faq { border-top: 1px solid var(--plaza-paper-edge, #EFE6CC); }
.pcp-faq details {
    border-bottom: 1px solid var(--plaza-paper-edge, #EFE6CC);
}
.pcp-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 40px 16px 4px;
    position: relative;
    font-family: var(--plaza-font-display, "Playfair Display", Georgia, serif);
    color: var(--plaza-brown, #441116);
    font-weight: 700;
    font-size: 19px;
    line-height: 1.3;
}
.pcp-faq summary::-webkit-details-marker { display: none; }
.pcp-faq summary::after {
    content: "+";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 400;
    color: var(--plaza-gold, #C4932C);
}
.pcp-faq details[open] summary::after { content: "\2212"; }
.pcp-faq .pcp-faq-body {
    padding: 0 4px 18px;
    font-family: var(--plaza-font-ui, "Inter", sans-serif);
    font-size: 18px;
    line-height: 1.6;
}
.pcp-faq .pcp-faq-body p { margin: 0 0 0.8em; }
.pcp-faq .pcp-faq-body p:last-child { margin-bottom: 0; }

/* ---------- Policy / bulleted list card ------------------------------- */
.pcp-list {
    margin: 0;
    padding-left: 1.3em;
    font-family: var(--plaza-font-ui, "Inter", sans-serif);
    font-size: 18px;
    line-height: 1.6;
    color: var(--plaza-text, #1d1d1d);
}
.pcp-list li { margin-bottom: 0.55em; }
.pcp-list li:last-child { margin-bottom: 0; }
.pcp-list strong { color: var(--plaza-brown, #441116); }

/* ---------- Responsive figure (seating charts, maps) ------------------ */
.pcp-figure { margin: 0 0 24px; text-align: center; }
.pcp-figure:last-child { margin-bottom: 0; }
.pcp-figure img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--plaza-paper-edge, #EFE6CC);
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(45, 10, 14, 0.06);
    background: #fff;
}
.pcp-figure figcaption {
    margin-top: 10px;
    font-family: var(--plaza-font-ui, "Inter", sans-serif);
    font-size: 15px;
    color: var(--plaza-muted, #6b6b6b);
}

/* ---------- Rich text from the admin editor (TinyMCE HTML) ------------- */
/* Used when a page renders DB-stored HTML such as the site-wide ticket
   policy (tblptssettings.ticket_policy_html). The incoming markup carries no
   classes of its own, so style the raw elements. */
.pcp-richtext {
    font-family: var(--plaza-font-ui, "Inter", sans-serif);
    font-size: 18px;
    line-height: 1.6;
    color: var(--plaza-text, #1d1d1d);
}
.pcp-richtext > :first-child { margin-top: 0; }
.pcp-richtext > :last-child { margin-bottom: 0; }
.pcp-richtext p { margin: 0 0 1em; }
.pcp-richtext ul,
.pcp-richtext ol { margin: 0 0 1em; padding-left: 1.3em; }
.pcp-richtext li { margin-bottom: 0.55em; }
.pcp-richtext strong { color: var(--plaza-brown, #441116); }
.pcp-richtext a {
    color: var(--plaza-blue, #08263F);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.pcp-richtext a:hover { color: var(--plaza-gold, #C4932C); }
