/* ============================================================
   Our Sister's Place — Events & Fundraisers page styles
   ------------------------------------------------------------
   MODX: static asset at assets/css/pages/events.css, linked from
   the tplEvents template <head> AFTER assets/css/osp.css.
   Component skins only — all layout columns are Bootstrap grid
   (.row / .col-*) in the markup. Ported from the prototype's
   inline <style>; --plum/--terra/--cream/--ink/--line vars are
   renamed to the --osp-* tokens defined in osp.css.
   ============================================================ */

:root {
  /* The prototype loaded JetBrains Mono for small technical labels.
     The shared head chunk (verbatim from index.html) loads only
     Newsreader + Public Sans, so the mono details fall back to the
     system mono stack. */
  --osp-font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

/* ---------- Hero ---------- */
.ev-hero { padding: 56px 0 32px; }
.ev-hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  margin-top: 16px;
}
.ev-hero h1 em { color: var(--osp-terra-600); font-style: italic; }
.ev-hero .lede {
  margin-top: 18px;
  font-size: 18px;
  color: var(--osp-ink-soft);
  line-height: 1.6;
  max-width: 52ch;
}
.ev-hero-photo {
  aspect-ratio: 4/5;
  border-radius: var(--osp-r-lg);
  overflow: hidden;
  box-shadow: var(--osp-sh-md);
  max-width: 520px;
}
.ev-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767.98px) {
  .ev-hero { padding: 36px 0 22px; }
}

/* ---------- Featured event card ---------- */
.ev-featured { margin-bottom: 32px; }
.ev-featured-card {
  background: linear-gradient(160deg, var(--osp-plum-700), var(--osp-plum-900));
  color: var(--osp-cream);
  border-radius: 20px;
  padding: 56px;
  position: relative;
  overflow: hidden;
}
.ev-featured-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 20%, rgba(232,181,161,.2), transparent 60%);
  pointer-events: none;
}
.ev-featured-card .row { position: relative; }
.ev-featured-eyebrow {
  font-family: var(--osp-font-mono);
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--osp-terra-300); font-weight: 600;
}
.ev-featured-card h2 {
  font-size: clamp(36px, 4.5vw, 52px);
  color: var(--osp-cream);
  line-height: 1.05;
  margin: 14px 0 18px;
  letter-spacing: -0.018em;
}
.ev-featured-card p {
  font-size: 17px; line-height: 1.55;
  color: rgba(247,243,237,.86);
  max-width: 50ch;
}
.ev-featured-meta {
  margin-top: 24px;
  display: flex; flex-wrap: wrap; gap: 24px;
  font-size: 14px;
}
.ev-featured-meta div { display: flex; align-items: center; gap: 8px; }
.ev-featured-meta strong { color: var(--osp-terra-300); font-weight: 600; }
.ev-featured-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.ev-btn-primary {
  background: var(--osp-terra-500); color: #fff;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px;
}
.ev-btn-primary:hover { background: var(--osp-terra-600); color: #fff; text-decoration: none; }
.ev-btn-ghost {
  background: transparent; color: var(--osp-cream);
  padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  border: 1px solid rgba(247,243,237,.3);
  display: inline-flex; align-items: center; gap: 8px;
}
.ev-btn-ghost:hover { border-color: var(--osp-terra-300); color: var(--osp-terra-300); text-decoration: none; }
.ev-featured-stats {
  background: rgba(247,243,237,.06);
  border: 1px solid rgba(247,243,237,.12);
  border-radius: 14px;
  padding: 28px;
}
.ev-stat { padding: 14px 0; border-bottom: 1px solid rgba(247,243,237,.1); }
.ev-stat:last-child { border-bottom: 0; }
.ev-stat-num {
  font-family: var(--osp-font-serif);
  font-size: 36px; font-weight: 500; color: var(--osp-terra-300);
  line-height: 1;
}
.ev-stat-label { font-size: 13px; color: rgba(247,243,237,.7); margin-top: 6px; }
@media (max-width: 767.98px) {
  .ev-featured-card { padding: 32px 24px; }
}

/* ---------- Calendar list ---------- */
.ev-list { padding: 56px 0; }
.ev-list-head { margin-bottom: 32px; }
.ev-list-head h2 {
  font-size: clamp(32px, 4vw, 44px);
  margin: 0;
}
.ev-filter {
  display: flex; gap: 6px;
  background: #fff; border: 1px solid var(--osp-line);
  padding: 4px; border-radius: 999px;
}
.ev-filter button {
  background: transparent; border: 0;
  padding: 8px 16px; border-radius: 999px;
  font-family: inherit; font-size: 13px; font-weight: 500;
  color: var(--osp-ink-soft); cursor: pointer;
}
.ev-filter button.active { background: var(--osp-plum-700); color: #fff; }

.ev-row {
  display: block;
  padding: 24px 0;
  border-top: 1px solid var(--osp-line);
  color: inherit;
  transition: background .15s;
}
.ev-row:hover { background: rgba(74,52,88,.03); text-decoration: none; color: inherit; }
.ev-row:first-of-type { border-top: 0; }
.ev-row-date { text-align: center; font-family: var(--osp-font-serif); line-height: 1; }
.ev-row-month {
  font-family: var(--osp-font-mono);
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--osp-terra-700); font-weight: 600;
}
.ev-row-day { font-size: 44px; font-weight: 500; color: var(--osp-plum-900); margin-top: 4px; }
.ev-row-time { font-size: 12px; color: var(--osp-ink-mute); margin-top: 4px; font-family: var(--osp-font-mono); }
.ev-row-title {
  font-family: var(--osp-font-serif);
  font-size: 22px; font-weight: 500; color: var(--osp-plum-900);
  line-height: 1.2;
}
.ev-row-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px; font-family: var(--osp-font-mono);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--osp-ink-mute); font-weight: 600;
}
.ev-row-where { font-size: 14px; color: var(--osp-ink-soft); line-height: 1.4; }
.ev-row-where strong { display: block; color: var(--osp-plum-900); font-weight: 600; margin-bottom: 2px; }
.ev-row-cta {
  display: inline-block;
  background: #fff; border: 1px solid var(--osp-plum-700); color: var(--osp-plum-700);
  padding: 9px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  white-space: nowrap;
}
.ev-row:hover .ev-row-cta { background: var(--osp-plum-700); color: #fff; }

/* ---------- Past events & galleries ---------- */
.ev-past { background: var(--osp-plum-900); padding: 64px 0; }
.ev-past-head { max-width: 620px; margin-bottom: 32px; }
.ev-past-head .eyebrow { color: var(--osp-terra-300); }
.ev-past-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  color: var(--osp-cream);
  letter-spacing: -0.016em; margin: 10px 0 0; line-height: 1.1;
}
.ev-past-head p { margin-top: 12px; color: rgba(247,243,237,.78); font-size: 16px; line-height: 1.6; }
.ev-past-card {
  background: rgba(247,243,237,.05); border: 1px solid rgba(247,243,237,.12);
  border-radius: var(--osp-r-lg); overflow: hidden; color: inherit;
  transition: transform .2s, border-color .2s, background .2s;
  display: flex; flex-direction: column;
}
.ev-past-card:hover {
  transform: translateY(-3px); border-color: var(--osp-terra-300);
  background: rgba(247,243,237,.08); text-decoration: none; color: inherit;
}
.ev-past-photo { aspect-ratio: 16/10; overflow: hidden; position: relative; background: var(--osp-plum-800); }
.ev-past-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.16,.7,.3,1); }
.ev-past-card:hover .ev-past-photo img { transform: scale(1.05); }
.ev-past-photo .ev-past-count {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(24,21,28,.78); color: #fff;
  padding: 6px 12px; border-radius: 999px;
  font-family: var(--osp-font-mono); font-size: 11px; letter-spacing: 0.06em;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.ev-past-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.ev-past-year {
  font-family: var(--osp-font-mono);
  font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--osp-terra-300); font-weight: 600;
}
.ev-past-body h3 { font-size: 22px; color: var(--osp-cream); margin: 8px 0 0; line-height: 1.2; }
.ev-past-body p { font-size: 14px; color: rgba(247,243,237,.7); line-height: 1.55; margin: 8px 0 0; flex: 1; }
.ev-past-cta { margin-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--osp-terra-300); display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 767.98px) {
  .ev-past { padding: 44px 0; }
}

/* ---------- Sponsor / host strip ---------- */
.ev-host {
  background: #fff; padding: 56px 0;
  border-top: 1px solid var(--osp-line);
  border-bottom: 1px solid var(--osp-line);
}
.ev-host h2 {
  font-size: clamp(28px, 3.5vw, 36px);
  text-align: center; margin: 0 0 12px;
}
.ev-host-sub {
  text-align: center; max-width: 56ch; margin: 0 auto 36px;
  color: var(--osp-ink-soft); font-size: 16px; line-height: 1.55;
}
.ev-host-card {
  background: var(--osp-cream); border: 1px solid var(--osp-line);
  padding: 28px; border-radius: 14px;
}
.ev-host-tag {
  font-family: var(--osp-font-mono);
  font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--osp-terra-700);
  font-weight: 600;
}
.ev-host-card h3 { font-size: 22px; margin: 10px 0 10px; line-height: 1.2; }
.ev-host-card p { font-size: 14px; color: var(--osp-ink-soft); line-height: 1.55; margin: 0 0 16px; }
.ev-host-card a { color: var(--osp-plum-700); font-weight: 600; font-size: 13px; }

/* ---------- Newsletter ---------- */
.ev-news-section { padding: 56px 0; }
.ev-news {
  padding: 48px 32px;
  background: var(--osp-paper);
  border: 1px solid var(--osp-line);
  border-radius: var(--osp-r-lg);
  text-align: center;
}
.ev-news h2 { font-size: 32px; margin: 0 0 12px; letter-spacing: -0.01em; }
.ev-news p { color: var(--osp-ink-soft); margin: 0 auto 24px; max-width: 50ch; line-height: 1.55; }
.ev-news-form { max-width: 480px; }
.ev-news-form input {
  flex: 1; padding: 14px 18px; border-radius: 999px;
  border: 1px solid var(--osp-line); font-family: inherit; font-size: 15px;
  background: #fff;
}
.ev-news small { display: block; margin-top: 14px; font-size: 12px; color: var(--osp-ink-mute); }
