.elementor-292 .elementor-element.elementor-element-9d0313c{--display:flex;--margin-top:-120px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}@media(max-width:767px){.elementor-292 .elementor-element.elementor-element-9d0313c{--margin-top:-60px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}}/* Start custom CSS for html, class: .elementor-element-8fdc27e *//* =========================
   JPD EVENTS PAGE (LIST + MODAL)
   Paste into ONE Elementor HTML widget
   ========================= */

.jpdEvents{
  --paper:#ffffff;
  --soft:#f7f8fb;
  --navy:#223a78;
  --navy2:#1c2f62;
  --gold:#f2d45c;
  --ink:#0f172a;
  --muted:rgba(15,23,42,.74);
  --line:rgba(15,23,42,.14);
  --shadow:0 18px 60px rgba(2,6,23,.14);
  --r18:18px;
  --r24:24px;
  --max:1140px;

  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);

  width:100vw !important;
  margin-left:calc(-50vw + 50%) !important;
  margin-right:calc(-50vw + 50%) !important;
  overflow:visible;
}

.jpdEvents-wrap{
  max-width:var(--max);
  margin:0 auto;
  padding: clamp(22px, 3vw, 36px) clamp(14px, 4vw, 46px);
}

.jpdEvents-hero{
  display:grid;
  gap:10px;
  margin-bottom:16px;
}

.jpdEvents-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
  color: rgba(34,58,120,.92);
}
.jpdEvents-kicker::before{
  content:"";
  width:10px;height:10px;border-radius:999px;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(242,212,92,.20);
}

.jpdEvents-title{
  margin:0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height:1.05;
  font-weight: 950;
  color: var(--navy2);
  letter-spacing:-.02em;
}

.jpdEvents-sub{
  margin:0;
  color: var(--muted);
  line-height:1.75;
  font-size:1.06rem;
  max-width: 80ch;
}

.jpdEvents-controls{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin: 10px 0 18px;
  display: none;
}

.jpdEvents-pill{
  appearance:none;
  border:1px solid rgba(34,58,120,.20);
  background: rgba(255,255,255,.9);
  color: var(--navy2);
  font-weight: 950;
  border-radius: 999px;
  padding: 10px 12px;
  cursor:pointer;
  box-shadow: 0 10px 26px rgba(2,6,23,.08);
}
.jpdEvents-pill[aria-pressed="true"]{
  background: linear-gradient(180deg, var(--navy), var(--navy2));
  color:#fff;
  border-color: rgba(255,255,255,.18);
}

.jpdEvents-grid{
  display:grid;
  gap:14px;
}
@media(min-width:820px){
  .jpdEvents-grid{ grid-template-columns: repeat(3, 1fr); }
}

.jpdEvCard{
  border-radius: var(--r24);
  overflow:hidden;
  border:1px solid rgba(34,58,120,.16);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(242,212,92,.14), transparent 55%),
    radial-gradient(120% 140% at 100% 0%, rgba(34,58,120,.14), transparent 60%),
    linear-gradient(180deg, rgba(34,58,120,.08), rgba(255,255,255,0));
  box-shadow: 0 16px 44px rgba(2,6,23,.10);
  cursor:pointer;
  position:relative;
  transition: transform .14s ease, box-shadow .14s ease;
}
.jpdEvCard:hover{
  transform: translateY(-1px);
  box-shadow: 0 20px 56px rgba(2,6,23,.12);
}

.jpdEvThumb{
  width:100%;
  aspect-ratio: 7/5;
  background:#0b2141;
  overflow:hidden;
  display:block;
  border-bottom:1px solid rgba(34,58,120,.14);
}
.jpdEvThumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  object-position: top;
}

.jpdEvBody{
  padding:14px;
  display:grid;
  gap:8px;
}

.jpdEvBadgeRow{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
}

.jpdEvBadge{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  padding:.35rem .65rem;
  border-radius:999px;
  font-size:.78rem;
  font-weight:950;
  border:1px solid rgba(34,58,120,.16);
  background: rgba(255,255,255,.74);
  color: rgba(34,58,120,.92);
}
.jpdEvBadge.postponed{
  background: rgba(242,212,92,.22);
  border-color: rgba(242,212,92,.42);
  color:#1a2442;
}

.jpdEvH{
  margin:0;
  font-size:1.2rem;
  line-height:1.15;
  font-weight:950;
  color: var(--navy2);
}

.jpdEvMeta{
  margin:0;
  color: rgba(15,23,42,.72);
  line-height:1.55;
  font-size:.98rem;
}

.jpdEvGo{
  margin-top:4px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  font-weight:950;
  color: rgba(34,58,120,.92);
}
.jpdEvGo span{ opacity:.9; }

/* Modal chrome */
.jpdEvModal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:16px;
  background: rgba(0,0,0,.72);
}
.jpdEvModal.open{ display:flex; }

.jpdEvModal-panel{
  width:min(1120px, 96vw);
  border-radius: 20px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(12,16,30,.88);
  box-shadow:0 30px 110px rgba(0,0,0,.55);
  color:#fff;
}

.jpdEvModal-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.jpdEvModal-topL{ display:grid; gap:2px; }
.jpdEvModal-title{ font-weight:950; letter-spacing:-.2px; }
.jpdEvModal-sub{ opacity:.86; font-size:.95rem; }

.jpdEvModal-close{
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-weight:950;
  cursor:pointer;
}

.jpdEvModal-body{
  background:#0b0f1f;
  padding:14px;
  max-height: calc(100vh - 84px);
  overflow:auto;
}

/* =========================
   EVENT DETAIL (modal content)
   These classes are injected via JS in buildEventDetail()
   ========================= */

.jpdEvModal-body .jpdEvt-card{
  border-radius: var(--r24);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(242,212,92,.12), transparent 55%),
    radial-gradient(120% 140% at 100% 0%, rgba(34,58,120,.16), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0));
}

.jpdEvModal-body .jpdEvt-inner{
  padding: 16px;
  display:grid;
  gap: 12px;
}

.jpdEvModal-body .jpdEvt-kicker{
  margin:0;
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
  color: rgba(255,255,255,.86);
}
.jpdEvModal-body .jpdEvt-kicker::before{
  content:"";
  width:10px;height:10px;border-radius:999px;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(242,212,92,.20);
}

.jpdEvModal-body .jpdEvt-title{
  margin:0;
  font-size: clamp(1.65rem, 3.6vw, 2.35rem);
  line-height: 1.08;
  font-weight: 950;
  color: #fff;
  letter-spacing: -.015em;
  max-width: 34ch;
}

.jpdEvModal-body .jpdEvt-lead{
  margin:0;
  color: rgba(255,255,255,.84);
  line-height: 1.75;
  font-size: 1.02rem;
  max-width: 90ch;
}

.jpdEvModal-body .jpdEvt-grid{
  display:grid;
  gap: 14px;
  align-items:start;
}
@media (min-width: 980px){
  .jpdEvModal-body .jpdEvt-grid{
    grid-template-columns: 1.05fr .95fr;
    gap:16px;
  }
}

.jpdEvModal-body .jpdEvt-flyer{
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(34,58,120,.14);
  border-radius: var(--r18);
  overflow:hidden;
  box-shadow: 0 12px 34px rgba(2,6,23,.10);
}
.jpdEvModal-body .jpdEvt-flyer a{ display:block; text-decoration:none; color:inherit; }
.jpdEvModal-body .jpdEvt-flyer img{
  width:100%;
  height:auto;
  display:block;
  object-fit:contain;
  background: #0b0f1f;
}
.jpdEvModal-body .jpdEvt-flyerCap{
  padding: 12px 14px;
  border-top:1px solid var(--line);
  background: linear-gradient(180deg, rgba(34,58,120,.06), rgba(34,58,120,0));
  font-weight: 900;
  color: rgba(34,58,120,.92);
}

.jpdEvModal-body .jpdEvt-stack{ display:grid; gap: 12px; }

.jpdEvModal-body .jpdEvt-box{
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(34,58,120,.14);
  border-radius: var(--r18);
  padding: 14px;
  box-shadow: 0 12px 30px rgba(2,6,23,.10);
  color: var(--ink);
}

.jpdEvModal-body .jpdEvt-boxT{
  margin: 0 0 8px;
  font-weight: 950;
  color: var(--navy2);
  font-size: 1.05rem;
}

.jpdEvModal-body .jpdEvt-whenwhere{ display:grid; gap: 10px; }

.jpdEvModal-body .jpdEvt-row{
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 16px;
  padding: 12px;
  background:#fff;
}

.jpdEvModal-body .jpdEvt-rowLab{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 900;
  letter-spacing:.14em;
  text-transform: uppercase;
  font-size: .75rem;
  color: rgba(34,58,120,.92);
}
.jpdEvModal-body .jpdEvt-rowLab::before{
  content:"";
  width: 9px; height: 9px; border-radius: 99px;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(242,212,92,.18);
}

.jpdEvModal-body .jpdEvt-rowMain{
  margin: 8px 0 0;
  font-size: 1.18rem;
  line-height: 1.25;
  font-weight: 950;
  color: var(--navy2);
}

.jpdEvModal-body .jpdEvt-rowSub{
  margin: 8px 0 0;
  color: rgba(15,23,42,.72);
  line-height: 1.65;
}

.jpdEvModal-body .jpdEvt-ctaRow{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin-top: 12px;
}
@media (max-width: 520px){
  .jpdEvModal-body .jpdEvt-ctaRow{ grid-template-columns: 1fr; }
}

.jpdEvModal-body .jpdEvt-btn{
  appearance:none;
  border:1px solid rgba(34,58,120,.22);
  background:#fff;
  color: var(--navy2);
  font-weight: 950;
  text-decoration:none;
  border-radius: 14px;
  padding: 12px 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  box-shadow: 0 12px 28px rgba(2,6,23,.10);
  cursor:pointer;
  text-align:center;
}

.jpdEvModal-body .jpdEvt-btnGold{
  background: linear-gradient(180deg, var(--gold), rgba(242,212,92,.90));
  border-color: rgba(15,23,42,.16);
  color: #1a2442;
  grid-column: 1 / -1;
}
@media (min-width: 980px){
  .jpdEvModal-body .jpdEvt-btnGold{ grid-column:auto; }
}

.jpdEvModal-body .jpdEvt-btnNavy{
  background: linear-gradient(180deg, var(--navy), var(--navy2));
  color:#fff;
  border-color: rgba(255,255,255,.18);
}

.jpdEvModal-body .jpdEvt-boxHead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
}

.jpdEvModal-body .jpdEvt-donateBtn{
  padding: 10px 14px;
  font-size: .95rem;
  white-space: nowrap;
}

@media (max-width: 520px){
  .jpdEvModal-body .jpdEvt-boxHead{
    flex-direction: column;
    align-items: stretch;
  }
  .jpdEvModal-body .jpdEvt-donateBtn{
    width:100%;
  }
}

.jpdEvModal-body .jpdEvt-tiers{
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(15,23,42,.74);
  line-height: 1.75;
}
.jpdEvModal-body .jpdEvt-tiers li{ margin: 6px 0; }

.jpdEvModal-body .jpdEvt-foot{
  padding: 14px 16px;
  background: rgba(255,255,255,.92);
  border-top: 1px solid var(--line);
  color: rgba(15,23,42,.62);
  font-size: .92rem;
  line-height: 1.7;
  border-radius: 0 0 var(--r24) var(--r24);
}

body{ overflow-x:hidden; }


.jpdInvolve-txt{
  max-width: 980px;
  margin: 28px auto 0;
  padding: 18px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg,#0b2141 0%,#163d73 100%);
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
  position: relative;
  overflow: hidden;
}

.jpdInvolve-txt::before{
  content:"";
  position:absolute;
  inset: auto -120px -140px auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,.10) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.jpdInvolve-txt .h,
.jpdInvolve-txt .p,
.jpdInvolve-txt form,
.jpdInvolve-txt .jetpack_subscription_widget,
.jpdInvolve-txt .jetpack-subscription-form,
.jpdInvolve-txt .jetpack-subscription-form-success{
  position: relative;
  z-index: 1;
}

.jpdInvolve-txt .h{
  margin: 0 0 6px;
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 900;
  color: #fff;
}

.jpdInvolve-txt .p{
  margin: 0;
  font-size: .98rem;
  line-height: 1.5;
  color: rgba(255,255,255,.86);
  max-width: 680px;
}

/* Jetpack form layout */
.jpdInvolve-txt form{
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* Make sure inputs are tappable + not blocked */
.jpdInvolve-txt input,
.jpdInvolve-txt button,
.jpdInvolve-txt label,
.jpdInvolve-txt a{
  pointer-events: auto;
}

.jpdInvolve-txt input[type="email"],
.jpdInvolve-txt input[type="text"]{
  flex: 1 1 240px;
  min-width: 0;
  padding: 12px 14px;
  font-size: 16px; /* prevents iOS zoom + improves tap behavior */
  line-height: 1.2;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.26);
  background: rgba(255,255,255,.10);
  color: #fff;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.jpdInvolve-txt input[type="email"]::placeholder,
.jpdInvolve-txt input[type="text"]::placeholder{
  color: rgba(255,255,255,.62);
}

.jpdInvolve-txt input[type="email"]:focus,
.jpdInvolve-txt input[type="text"]:focus{
  border-color: rgba(244,197,66,.95);
  box-shadow: 0 0 0 3px rgba(244,197,66,.22);
  background: rgba(255,255,255,.14);
}

/* Button */
.jpdInvolve-txt input[type="submit"],
.jpdInvolve-txt button{
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  font-weight: 900;
  font-size: .92rem;
  letter-spacing: .4px;
  cursor: pointer;
  background: #f4c542;
  color: #0b2141;
  -webkit-tap-highlight-color: transparent;
}

.jpdInvolve-txt input[type="submit"]:hover,
.jpdInvolve-txt button:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0,0,0,.18);
}

/* Success message spacing */
.jpdInvolve-txt .jetpack-subscription-form-success,
.jpdInvolve-txt .success{
  margin-top: 10px;
  color: rgba(255,255,255,.95);
  font-weight: 700;
}

/* Mobile: keep it compact and stacked */
@media (max-width: 768px){
  .jpdInvolve-txt{
    margin: 18px 12px 0;
    padding: 16px 14px;
    border-radius: 14px;
  }

  .jpdInvolve-txt form{
    flex-direction: column;
    align-items: stretch;
  }

  .jpdInvolve-txt input[type="submit"],
  .jpdInvolve-txt button{
    width: 100%;
  }
}/* End custom CSS */