/*
 * RiverSong Planning Center events: Studio design layer (MOCKUP, 2026-11-24).
 * Drop-in replacement for docroot/assets/css/events.css. It styles ONLY the class
 * names listed at the top of River Site's events.css, with no markup changes.
 *
 * Tokens: existing style.css custom properties only (--paper, --cream, --mist, --ink,
 * --ink-soft, --line, --line-strong, --river, --river-ink, --song, --navy, --radius,
 * --shadow-sm/-hover, --font-display). Light and dark follow the prefers-color-scheme
 * block already in style.css; --heading exists only in dark, so headings use
 * var(--heading, var(--navy)).
 *
 * Logo for the no-image tile: path is relative to THIS file when it lives at
 * /assets/css/events.css. Override --pco-logo if the file is served from elsewhere.
 */
:root {
  --pco-logo: url("../img/logo-color-dark.png");
  --pco-ico-ext: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4l-9 9'/%3E%3Cpath d='M18 14v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4'/%3E%3C/svg%3E");
}

/* Small CSS icons (mask, so they follow currentColor in light and dark) */
.pco-event {
  --pco-ico-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 8v4l3 2'/%3E%3C/svg%3E");
  --pco-ico-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Cpath d='M12 21s6-5.3 6-10a6 6 0 1 0-12 0c0 4.7 6 10 6 10z'/%3E%3Ccircle cx='12' cy='11' r='2'/%3E%3C/svg%3E");
  --pco-ico-repeat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 3l3 3-3 3'/%3E%3Cpath d='M4 11V9a3 3 0 0 1 3-3h13'/%3E%3Cpath d='M7 21l-3-3 3-3'/%3E%3Cpath d='M20 13v2a3 3 0 0 1-3 3H4'/%3E%3C/svg%3E");
}

/* ---------- Page wrappers: /events ---------- */
.events-intro { max-width: 48rem; margin: 0 0 2rem; font-size: 1.15rem; line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }
.events-page .section { padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.pco-all-link { margin: 2.6rem 0 0; text-align: center; color: var(--ink-soft); }
.pco-all-link a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; font-weight: 600; color: var(--river-ink); }
.pco-all-link a::after { content: ""; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--pco-ico-ext) center / contain no-repeat; mask: var(--pco-ico-ext) center / contain no-repeat; }

/* ---------- List grid ---------- */
.pco-event-list { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); align-items: stretch; list-style: none; margin: 0; padding: 0; }
.pco-event-list--strip { grid-template-columns: repeat(4, 1fr); }
.pco-event-item { display: flex; min-width: 0; }
.pco-event-item > .pco-event { flex: 1; }
/* First card on /events is the wide lead card */
.pco-event-list--full > .pco-event-item--lead { grid-column: 1 / -1; }

/* ---------- Card ---------- */
.pco-event {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.pco-event:hover, .pco-event:focus-within { box-shadow: var(--shadow-hover); }
.pco-event:hover { transform: translateY(-6px); }
.pco-event-media { position: relative; margin: 0; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; flex: none; }
.pco-event-media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }

/* No photo: brand tile (navy + river/song glows + RiverSong mark), drawn with CSS only */
.pco-event--no-image::before {
  content: ""; display: block; flex: none; aspect-ratio: 16 / 9;
  background:
    var(--pco-logo) center / min(46%, 220px) auto no-repeat,
    linear-gradient(120deg, #00a6e2 0%, #3cb54a 100%) bottom / 100% 5px no-repeat,
    radial-gradient(120% 90% at 0% 0%, rgba(0, 166, 226, 0.42), transparent 60%),
    radial-gradient(110% 90% at 100% 100%, rgba(60, 181, 74, 0.40), transparent 62%),
    var(--navy);
}

.pco-event-body { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; min-width: 0; padding: 1.15rem 1.25rem 1.3rem; }
.pco-event-when, .pco-event-location, .pco-event-recurrence { display: flex; align-items: flex-start; gap: 0.5rem; margin: 0; }
.pco-event-when { font-size: 0.95rem; font-weight: 600; line-height: 1.4; color: var(--river-ink); }
.pco-event-when::before, .pco-event-location::before, .pco-event-recurrence::before {
  content: ""; flex: none; width: 17px; height: 17px; margin-top: 0.12em; background: currentColor;
  -webkit-mask: var(--pco-ico-clock) center / contain no-repeat; mask: var(--pco-ico-clock) center / contain no-repeat;
}
.pco-event-title {
  margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.22; letter-spacing: -0.035em;
  color: var(--heading, var(--navy)); overflow-wrap: anywhere; text-wrap: balance;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pco-event-location { font-size: 0.92rem; line-height: 1.45; color: var(--ink-soft); }
.pco-event-location::before { -webkit-mask-image: var(--pco-ico-pin); mask-image: var(--pco-ico-pin); color: var(--river-ink); }
.pco-event-recurrence { font-size: 0.85rem; line-height: 1.4; color: var(--ink-soft); }
.pco-event-recurrence::before { width: 15px; height: 15px; -webkit-mask-image: var(--pco-ico-repeat); mask-image: var(--pco-ico-repeat); color: var(--river-ink); }
.pco-event-summary { margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Further dates (only on /events) */
.pco-event-more { margin: 0.4rem 0 0; padding: 0.8rem 0.95rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.pco-event-more-label { margin: 0 0 0.35rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.pco-event-dates { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.25rem; font-size: 0.88rem; color: var(--ink); }
.pco-event-dates li { padding-left: 0.9rem; position: relative; }
.pco-event-dates li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--song); }

/* Buttons: pill, same family as .btn. Filled uses --river-ink so white text passes AA. */
.pco-event-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: auto 0 0; padding-top: 0.8rem; }
.pco-event .pco-event-details, .pco-event .pco-event-register {
  min-height: 44px; padding: 0.7rem 1.2rem; font-size: 0.9rem; line-height: 1;
  border: 2px solid var(--river-ink); background: transparent; color: var(--river-ink);
}
.pco-event .pco-event-register { background: var(--river-ink); color: #fff; box-shadow: none; }
.pco-event .pco-event-details:hover, .pco-event .pco-event-details:focus-visible { background: var(--river-ink); color: #fff; }
.pco-event .pco-event-register:hover, .pco-event .pco-event-register:focus-visible { background: var(--navy); border-color: var(--navy); color: #fff; }
.pco-event .pco-event-details::after, .pco-event .pco-event-register::after {
  content: ""; width: 15px; height: 15px; flex: none; background: currentColor;
  -webkit-mask: var(--pco-ico-ext) center / contain no-repeat; mask: var(--pco-ico-ext) center / contain no-repeat;
}
@media (prefers-color-scheme: dark) {
  .pco-event .pco-event-details:hover, .pco-event .pco-event-details:focus-visible { color: #1c1513; }
  .pco-event .pco-event-register { color: #1c1513; }
  .pco-event .pco-event-register:hover, .pco-event .pco-event-register:focus-visible { background: #fff; border-color: #fff; color: #1c1513; }
}

/* ---------- Lead card on /events (wide from 900px) ---------- */
@media (min-width: 900px) {
  .pco-event-list--full > .pco-event-item--lead .pco-event { flex-direction: row; }
  .pco-event-list--full > .pco-event-item--lead .pco-event-media,
  .pco-event-list--full > .pco-event-item--lead .pco-event--no-image::before { flex: 0 0 52%; }
  .pco-event-list--full > .pco-event-item--lead .pco-event--no-image::before { aspect-ratio: auto; min-height: 280px; }
  .pco-event-list--full > .pco-event-item--lead .pco-event-body { justify-content: center; padding: 2rem 2.2rem; gap: 0.7rem; }
  .pco-event-list--full > .pco-event-item--lead .pco-event-title { font-size: clamp(1.5rem, 2.4vw, 2rem); -webkit-line-clamp: 3; }
  .pco-event-list--full > .pco-event-item--lead .pco-event-dates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Homepage strip (#featured-events) as a navy band ---------- */
.pco-featured { background: var(--navy); color: #fff; }
.pco-featured .section-kicker { color: var(--gold); }
.pco-featured .section-title { color: #fff; }
.pco-featured-head { align-items: flex-end; margin-bottom: 2rem; }
.pco-featured-all { margin: 0; }
.pco-featured-all .btn { min-height: 44px; border: 2px solid #fff; background: transparent; color: #fff; }
.pco-featured-all .btn:hover, .pco-featured-all .btn:focus-visible { background: #fff; color: #1c1513; }
.pco-featured .pco-event-body { gap: 0.45rem; }
.pco-featured .pco-event-more { display: none; }

/* ---------- Empty / Planning Center down panel ---------- */
.pco-empty {
  max-width: 44rem; margin: 0 auto; text-align: center;
  padding: clamp(2rem, 5vw, 3.2rem) clamp(1.2rem, 4vw, 3rem);
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm);
}
.pco-empty p { margin: 0 auto 1rem; max-width: 34rem; font-size: 1.1rem; line-height: 1.55; color: var(--ink); text-wrap: balance; }
.pco-empty .btn { min-height: 44px; }
.pco-empty .btn-primary { background: var(--river-ink); border-color: var(--river-ink); color: #fff; box-shadow: none; }
.pco-empty .btn-primary:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.pco-empty .btn-primary::after { content: ""; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--pco-ico-ext) center / contain no-repeat; mask: var(--pco-ico-ext) center / contain no-repeat; }
.pco-empty-note { font-size: 0.95rem !important; color: var(--ink-soft) !important; margin-bottom: 0 !important; }
.pco-featured .pco-empty { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.22); box-shadow: none; color: #fff; }
.pco-featured .pco-empty p { color: rgba(255, 255, 255, 0.9); }
.pco-featured .pco-empty .pco-empty-note { color: rgba(255, 255, 255, 0.75) !important; }
.pco-featured .pco-empty .btn-primary { background: #fff; border-color: #fff; color: #1c1513; }
.pco-featured .pco-empty .btn-primary:hover { background: var(--song); border-color: var(--song); color: #1c1513; }
@media (prefers-color-scheme: dark) {
  .pco-empty .btn-primary { color: #1c1513; }
  .pco-empty .btn-primary:hover { background: #fff; border-color: #fff; color: #1c1513; }
}

/* ---------- Responsive: 320 to 1920 ---------- */
@media (max-width: 1199px) { .pco-event-list--strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 999px) { .pco-event-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 899px) { .pco-event-list--full > .pco-event-item--lead { grid-column: 1 / -1; } }
@media (max-width: 599px) {
  .pco-event-list, .pco-event-list--strip { grid-template-columns: 1fr; }
  .pco-event-body { padding: 1rem 1.1rem 1.2rem; }
  .pco-featured-head { margin-bottom: 1.4rem; }
}
@media (max-width: 359px) {
  .pco-event-title { font-size: 1.2rem; }
  .pco-event-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pco-event { transition: none; }
  .pco-event:hover { transform: none; }
}

/* ==========================================================================
   Added markup (Studio design, Nov 24, 2026).
   Date block, month headings, registration tags, page tabs, Get Involved
   cards, Give band, and Studio's button styles (.pco-btn, not .btn-primary
   or .btn-give). Tokens are the existing style.css custom properties only.
   ========================================================================== */

.events-page, .get-involved-page, .pco-featured, .pco-give-band {
  --pc-heading: var(--heading, var(--navy));
  --pc-chip: var(--paper);
}

/* Date block over the image (top right, so it misses logos baked into graphics) */
.pco-event-media { position: relative; }
.pco-event-date {
  position: absolute; right: 12px; top: 12px; z-index: 2;
  display: grid; justify-items: center; gap: 1px;
  min-width: 58px; padding: 0.45rem 0.6rem 0.5rem;
  background: var(--pc-chip, var(--paper)); color: var(--ink);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
  line-height: 1; text-align: center;
}
.pco-event-date-month { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--river-ink); }
.pco-event-date-day { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; letter-spacing: -0.035em; color: var(--heading, var(--navy)); padding: 0.1rem 0; }
.pco-event-date-weekday { font-size: 0.7rem; font-weight: 500; color: var(--ink-soft); }
.pco-event-date--range .pco-event-date-day { font-size: 1.15rem; white-space: nowrap; }

/* Fallback tile when there is no photo (drawn in the media box, not ::before) */
.pco-event--no-image:has(.pco-event-media)::before { display: none; }
.pco-event-fallback {
  position: absolute; inset: 0;
  background:
    var(--pco-logo) center / min(46%, 220px) auto no-repeat,
    linear-gradient(120deg, #00a6e2 0%, #3cb54a 100%) bottom / 100% 5px no-repeat,
    radial-gradient(120% 90% at 0% 0%, rgba(0, 166, 226, 0.42), transparent 60%),
    radial-gradient(110% 90% at 100% 100%, rgba(60, 181, 74, 0.40), transparent 62%),
    var(--navy);
}

/* Lead card ("Next up") — first event on /events */
.pco-event-kicker { margin: 0; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--river-ink); }
.pco-event-list--full > .pco-event-item--lead,
.pco-event-list--full > .pco-event-item--lead { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .pco-event-list--full > .pco-event-item--lead .pco-event,
  .pco-event-list--full > .pco-event-item--lead .pco-event { flex-direction: row; }
  .pco-event-list--full > .pco-event-item--lead .pco-event-media
  .pco-event-list--full > .pco-event-item--lead .pco-event-body,
  .pco-event-list--full > .pco-event-item--lead .pco-event-body { justify-content: center; padding: 2rem 2.2rem; gap: 0.7rem; }
  .pco-event-list--full > .pco-event-item--lead .pco-event-title,
  .pco-event-list--full > .pco-event-item--lead .pco-event-title { font-size: clamp(1.5rem, 2.4vw, 2rem); -webkit-line-clamp: 3; }
  .pco-event-list--full > .pco-event-item--lead .pco-event-dates,
  .pco-event-list--full > .pco-event-item--lead .pco-event-dates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Month group headings */
.pco-month-group + .pco-month-group { margin-top: 3.4rem; }
.pco-month {
  display: flex; align-items: center; gap: 1rem;
  margin: 0 0 1.3rem;
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.035em;
  font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--heading, var(--navy));
}
.pco-month::after { content: ""; flex: 1; order: 2; height: 1px; background: var(--line-strong); min-width: 24px; }
.pco-month small { order: 3; font-family: var(--font-sans); font-size: 0.85rem; font-weight: 500; letter-spacing: 0; color: var(--ink-soft); white-space: nowrap; }

/* Registration / state tags (word plus a dot; never color alone) */
.pco-event-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.pco-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--cream); color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 0.22rem 0.65rem;
  font-size: 0.78rem; font-weight: 600; line-height: 1.3;
}
.pco-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-soft); flex: none; }
.pco-tag--open::before { background: var(--song); }
.pco-tag--waitlist::before { background: var(--river); }
.pco-tag--closed::before, .pco-tag--full::before { background: var(--ink-soft); }
.pco-tag--repeat::before { background: var(--river-ink); }

/* Page tabs */
.pco-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0 0 2.2rem; padding: 0; }
.pco-tabs a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 1.05rem;
  border-radius: 999px; border: 1.5px solid var(--line-strong);
  color: var(--ink); background: var(--paper);
  font-weight: 600; font-size: 0.92rem; text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pco-tabs a:hover { border-color: var(--river-ink); color: var(--river-ink); }
.pco-tabs a[aria-current] { background: var(--river-ink); border-color: var(--river-ink); color: #fff; }
@media (prefers-color-scheme: dark) { .pco-tabs a[aria-current] { color: #1c1513; } }
@media (max-width: 599px) { .pco-tabs a { padding: 0.5rem 0.9rem; font-size: 0.88rem; } }

/* Studio buttons (used inside events, Get Involved, Give, and empty panels).
   Do not use .btn-primary or .btn-give here — those fail WCAG AA. */
.pco-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.9rem; line-height: 1;
  text-decoration: none; cursor: pointer;
  min-height: 44px; padding: 0.7rem 1.2rem;
  border-radius: 999px; border: 2px solid var(--river-ink);
  color: var(--river-ink); background: transparent;
  transition: transform 0.25s var(--ease, ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.pco-btn:hover, .pco-btn:focus-visible { background: var(--river-ink); color: #fff; transform: translateY(-2px); text-decoration: none; }
.pco-btn--fill { background: var(--river-ink); color: #fff; }
.pco-btn--fill:hover, .pco-btn--fill:focus-visible { background: var(--navy); border-color: var(--navy); color: #fff; }
.pco-btn--give { background: var(--song); border-color: var(--song); color: #1c1513; }
.pco-btn--give:hover, .pco-btn--give:focus-visible { background: #7ee08a; border-color: #7ee08a; color: #1c1513; }
.pco-btn--light { border-color: #fff; color: #fff; }
.pco-btn--light:hover, .pco-btn--light:focus-visible { background: #fff; color: #1c1513; }
.pco-btn::after {
  content: ""; width: 15px; height: 15px; flex: none; background: currentColor;
  -webkit-mask: var(--pco-ico-ext) center / contain no-repeat; mask: var(--pco-ico-ext) center / contain no-repeat;
}
/* Get directions stays on-site (Google Maps) but is still an external tab; keep the icon.
   "See all events" is internal — no icon. */
.pco-featured-all a {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 600; text-decoration: none; color: #fff;
  padding: 0.5rem 0; min-height: 44px;
}
.pco-featured-all a:hover { text-decoration: underline; text-underline-offset: 4px; color: #fff; }
.pco-featured-all a::after {
  content: ""; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Keep card action buttons consistent when they also have .pco-btn */
.pco-event .pco-event-details, .pco-event .pco-event-register { /* already styled above and in the original layer */ }

@media (prefers-color-scheme: dark) {
  .pco-btn:hover, .pco-btn:focus-visible { color: #1c1513; }
  .pco-btn--fill { color: #1c1513; }
  .pco-btn--fill:hover, .pco-btn--fill:focus-visible { background: #fff; border-color: #fff; color: #1c1513; }
}

/* Empty / down panels */
.pco-panel address { font-style: normal; color: var(--ink); font-weight: 500; margin: 0 0 1rem; }
.pco-panel-icon {
  width: 56px; height: 56px; border-radius: 18px;
  display: grid; place-items: center; margin: 0 auto 1.1rem;
  background: #e3f4fb; color: var(--river-ink);
}
.pco-panel-icon::before {
  content: ""; width: 28px; height: 28px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='3'/%3E%3Cpath d='M8 3v4M16 3v4M4 10h16'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='3'/%3E%3Cpath d='M8 3v4M16 3v4M4 10h16'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (prefers-color-scheme: dark) { .pco-panel-icon { background: rgba(0,166,226,0.14); } }
.pco-empty .pco-event-actions, .pco-panel .pco-event-actions { justify-content: center; margin-top: 1.4rem; padding-top: 0; }

/* Get Involved */
.pco-signup-cat {
  position: absolute; right: 12px; top: 12px; z-index: 2; max-width: calc(100% - 24px);
  background: var(--pc-chip, var(--paper)); color: var(--ink);
  border-radius: 999px; padding: 0.3rem 0.75rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pco-signup-spots { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }
.pco-signup-spots::before {
  content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 0.4rem; vertical-align: -2px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Ccircle cx='9' cy='8' r='2.2'/%3E%3Ccircle cx='16' cy='9.2' r='1.8'/%3E%3Cpath d='M4.5 18c.4-2.6 2.3-4 4.5-4s4.1 1.4 4.5 4'/%3E%3Cpath d='M13 17.6c.3-1.8 1.6-3 3.2-3 1.6 0 2.8 1 3.2 2.8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Ccircle cx='9' cy='8' r='2.2'/%3E%3Ccircle cx='16' cy='9.2' r='1.8'/%3E%3Cpath d='M4.5 18c.4-2.6 2.3-4 4.5-4s4.1 1.4 4.5 4'/%3E%3Cpath d='M13 17.6c.3-1.8 1.6-3 3.2-3 1.6 0 2.8 1 3.2 2.8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pco-signup--closed .pco-event-media img { filter: grayscale(0.85); opacity: 0.8; }
.pco-signup--closed .pco-event-title { color: var(--ink-soft); }
.pco-event-list--signups { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 999px) { .pco-event-list--signups { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .pco-event-list--signups { grid-template-columns: 1fr; } }

/* Give band (final wording) */
.pco-give-band { position: relative; overflow: hidden; }
.pco-give-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem 3rem; align-items: center; }
.pco-give-band .section-title { margin-bottom: 0.9rem; }
.pco-give-band .section-intro { margin-bottom: 0; }
.pco-give-verse { margin: 1.25rem 0 0; max-width: 38rem; font-size: 0.92rem; font-style: italic; line-height: 1.6; color: rgba(255,255,255,0.75); }
.pco-give-verse cite { font-style: normal; font-weight: 600; white-space: nowrap; }
.pco-give-card {
  border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 1.5rem;
}
.pco-give-card h3 { margin: 0 0 0.5rem; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.035em; font-size: 1.25rem; color: #fff; }
.pco-give-card p { margin: 0 0 1.1rem; color: rgba(255,255,255,0.8); font-size: 0.97rem; }
@media (max-width: 999px) { .pco-give-wrap { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .pco-btn { transition: none; }
  .pco-btn:hover { transform: none; }
}

/* Lead card crop fix (Studio, 2026-11-24): keep the lead image exactly 16:9 at 900px and up */
@media (min-width: 900px) {
  .pco-event-list--full > .pco-event-item--lead .pco-event { align-items: flex-start; }
  .pco-event-list--full > .pco-event-item--lead .pco-event-body { align-self: stretch; }
}
