/* ============================================================
   NHP EVENTS — Home / Events listing
   Relies on the :root palette defined in style.css
   ============================================================ */

/* ---------- HERO (home variant) ---------- */
.hero-home {
  min-height: 620px;
  background:
    linear-gradient(90deg, rgba(8,3,8,.94) 0%, rgba(20,5,18,.7) 45%, rgba(40,8,30,.45) 100%),
    var(--hero-bg, url('https://images.unsplash.com/photo-1470229722913-7c0e2dbbafd3?q=80&w=1600&auto=format&fit=crop'));
  background-size: cover;
  background-position: center;
}
.hero-home .hero-inner { min-height: 620px; flex-direction: column; justify-content: center; align-items: flex-start; }
.hero-home .hero-inner.hero-inner--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  grid-template-rows: auto auto;
  align-items: start;
  gap: 28px 40px;
  width: 100%;
  flex-direction: unset;
}
.hero-home .hero-inner.hero-inner--split .hero-main { grid-column: 1; grid-row: 1; }
.hero-home .hero-inner.hero-inner--split .hero-tools { grid-column: 1; grid-row: 2; }
.hero-home .hero-inner.hero-inner--split .hero-aside {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
  width: 100%;
  max-width: 360px;
}
.hero-home .hero-inner.hero-inner--split .hero-content { max-width: none; }
.hero-home .hero-content { max-width: 720px; }
.hero-home .hero-title { font-size: clamp(38px, 5.5vw, 62px); }
.hero-home .hero-title span {
  background: linear-gradient(90deg, #ff7eb3, #ff4d8d, #b56bff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-stats { display: flex; gap: 34px; margin-top: 30px; }
.hero-stats .hs-num { font-size: 26px; font-weight: 800; color: #fff; }
.hero-stats .hs-lbl { font-size: 12.5px; color: rgba(255,255,255,.6); }

/* featured public interest — right column card (inlined in home/index.php for guaranteed delivery) */
.hero-home .hero-poll-card {
  display: flex;
  text-decoration: none !important;
  color: #fff !important;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.06) 100%);
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: 0 24px 56px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.hero-home .hero-poll-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #ff7eb3, #c01a55, #b56bff);
}
.hero-home .hero-poll-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.4);
  box-shadow: 0 28px 64px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.28);
  color: #fff !important;
}
.hero-home .hero-poll-card--side { flex-direction: column; align-items: stretch; margin: 0; padding: 0; }
.hero-home .hero-poll-media { position: relative; height: 140px; overflow: hidden; background: linear-gradient(135deg, #3d0a24, #1a0a28); }
.hero-home .hero-poll-media img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.hero-home .hero-poll-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,3,12,.75) 100%);
}
.hero-home .hero-poll-inner { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.hero-home .hero-poll-top { display: flex; align-items: center; gap: 12px; }
.hero-home .hero-poll-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #fff;
  background: linear-gradient(135deg, #a8174e 0%, #c01a55 55%, #7c3aed 100%);
  box-shadow: 0 8px 20px rgba(168,23,78,.45);
}
.hero-home .hero-poll-eyebrow {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  line-height: 1.3;
}
.hero-home .hero-poll-eyebrow i { color: #ffb4d0; font-size: 11px; margin-right: 4px; }
.hero-home .hero-poll-title {
  display: block;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.3px;
  color: #fff;
}
.hero-home .hero-poll-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(100deg, #7d0f37, #c01a55);
  box-shadow: 0 10px 22px rgba(168,23,78,.42);
  transition: filter .2s;
}
.hero-home .hero-poll-card:hover .hero-poll-action { filter: brightness(1.08); }
.hero-home .hero-poll-action i { font-size: 17px; opacity: .95; }

/* highlight card when scrolled from hero */
.interest-card.is-highlight {
  animation: interestPulse 1.8s ease;
  box-shadow: 0 0 0 3px rgba(168,23,78,.35), 0 18px 40px rgba(168,23,78,.18);
}
@keyframes interestPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(20,8,16,.06); }
  35% { box-shadow: 0 0 0 3px rgba(168,23,78,.45), 0 18px 40px rgba(168,23,78,.2); }
}

/* search bar */
.hero-search {
  margin-top: 30px;
  background: rgba(255,255,255,.97);
  border-radius: 16px;
  padding: 10px;
  display: flex;
  gap: 8px;
  box-shadow: 0 24px 50px rgba(0,0,0,.3);
  max-width: 720px;
  flex-wrap: wrap;
}
.hero-search .field { flex: 1; min-width: 150px; display: flex; align-items: center; gap: 9px; padding: 8px 14px; }
.hero-search .field + .field { border-left: 1px solid var(--line); }
.hero-search .field i { color: var(--magenta-600); font-size: 17px; }
.hero-search .field input,
.hero-search .field select {
  border: 0; outline: none; width: 100%; font-size: 14px; color: var(--ink);
  background: transparent; font-family: inherit;
}
.hero-search .field .fl { display: block; font-size: 10px; font-weight: 700; letter-spacing: .8px; color: var(--muted-2); }
.hero-search .search-btn {
  border: 0; border-radius: 12px;
  background: linear-gradient(100deg, var(--magenta-900), var(--magenta-600));
  color: #fff; font-weight: 700; font-size: 14.5px; padding: 0 26px;
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-search .search-btn:hover { color: #fff; }

/* ---------- SECTION HEADINGS ---------- */
.section-wrap { padding: 56px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; gap: 16px; flex-wrap: wrap; }
.section-head .eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.6px; color: var(--magenta-600); }
.section-head h2 { font-size: 30px; font-weight: 800; color: var(--ink); margin: 6px 0 0; letter-spacing: -.5px; }
.section-head .view-all { font-size: 14px; font-weight: 700; color: var(--magenta-600); display: inline-flex; align-items: center; gap: 6px; }
.section-head .view-all:hover { gap: 10px; }

/* ---------- CATEGORY CHIPS ---------- */
.cat-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.cat-chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  cursor: pointer; transition: all .2s;
  display: inline-flex; align-items: center; gap: 7px;
}
.cat-chip i { font-size: 14px; }
.cat-chip:hover { border-color: var(--magenta-300, #e7b9cd); color: var(--magenta-700); }
.cat-chip.active {
  background: linear-gradient(100deg, var(--magenta-900), var(--magenta-600));
  color: #fff; border-color: transparent;
  box-shadow: 0 8px 20px rgba(168,23,78,.28);
}

/* ---------- FEATURED BANNER ---------- */
.featured {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 14px;
  box-shadow: var(--shadow-soft);
}
.featured img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured .ft-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,2,10,.9), rgba(20,4,16,.55) 55%, transparent); }
.featured .ft-body { position: relative; padding: 40px; color: #fff; max-width: 560px; }
.featured .ft-tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,77,141,.25); border: 1px solid rgba(255,120,170,.5);
  color: #ffd9e6; font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.featured h3 { font-size: 34px; font-weight: 800; margin: 0 0 10px; letter-spacing: -.5px; }
.featured .ft-meta { display: flex; gap: 18px; flex-wrap: wrap; color: rgba(255,255,255,.85); font-size: 14px; margin-bottom: 20px; }
.featured .ft-meta span { display: inline-flex; align-items: center; gap: 7px; }
.featured .ft-cta {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; color: var(--magenta-700); font-weight: 700; font-size: 14.5px;
  padding: 12px 26px; border-radius: 999px; transition: transform .2s;
}
.featured .ft-cta:hover { transform: translateY(-2px); color: var(--magenta-700); }

/* ---------- EVENT CARDS ---------- */
.event-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.event-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(22,23,53,.12); }
.ec-media { position: relative; height: 180px; overflow: hidden; }
.ec-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.event-card:hover .ec-media img { transform: scale(1.06); }
.ec-date {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,.95);
  border-radius: 12px; text-align: center;
  padding: 7px 11px; line-height: 1;
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.ec-date .d { font-size: 18px; font-weight: 800; color: var(--magenta-700); }
.ec-date .m { font-size: 10px; font-weight: 700; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }
.ec-cat {
  position: absolute; top: 14px; right: 12px;
  background: rgba(10,2,10,.55); backdrop-filter: blur(4px);
  color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .8px;
  padding: 5px 11px; border-radius: 999px;
}
.ec-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.ec-body h4 { font-size: 17.5px; font-weight: 800; color: var(--ink); margin: 0 0 8px; letter-spacing: -.3px; }
.ec-venue { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.ec-venue i { color: var(--magenta-600); }
.ec-rate { font-size: 12.5px; color: var(--ink-soft); display: flex; align-items: center; gap: 5px; margin-bottom: 16px; }
.ec-rate i { color: var(--gold); }
.ec-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); }
.ec-price .lbl { font-size: 10.5px; color: var(--muted-2); font-weight: 600; display: block; }
.ec-price .amt { font-size: 18px; font-weight: 800; color: var(--ink); }
.ec-price .amt small { font-size: 12px; color: var(--muted); font-weight: 700; }
.ec-book {
  background: linear-gradient(100deg, var(--magenta-900), var(--magenta-600));
  color: #fff; font-weight: 700; font-size: 13.5px;
  padding: 10px 18px; border-radius: 11px;
  display: inline-flex; align-items: center; gap: 7px; transition: transform .2s;
}
.ec-book:hover { transform: translateY(-2px); color: #fff; }
.event-col.is-hidden { display: none; }

/* ---------- TRUST STRIP ---------- */
.trust-strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-strip .row { padding: 34px 0; }
.trust-item { text-align: center; }
.trust-item .ti-num { font-size: 30px; font-weight: 800; color: var(--magenta-700); }
.trust-item .ti-lbl { font-size: 13px; color: var(--muted); }

/* ---------- NEWSLETTER ---------- */
.newsletter { padding: 64px 0; }
.newsletter-card {
  background: linear-gradient(120deg, var(--magenta-900), var(--magenta-600) 60%, #7b3bd0);
  border-radius: 26px;
  padding: 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.newsletter-card h3 { font-size: 30px; font-weight: 800; margin: 0 0 8px; }
.newsletter-card p { color: rgba(255,255,255,.8); margin-bottom: 24px; }
.newsletter-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.newsletter-form input { flex: 1; border: 0; border-radius: 12px; padding: 14px 18px; font-size: 14px; }
.newsletter-form input:focus { outline: none; }
.newsletter-form button {
  border: 0; border-radius: 12px; background: #fff; color: var(--magenta-700);
  font-weight: 700; font-size: 14.5px; padding: 0 26px;
}

@media (max-width: 991.98px) {
  .hero-home .hero-inner.hero-inner--split {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 24px;
  }
  .hero-home .hero-inner.hero-inner--split .hero-main { grid-column: 1; grid-row: 1; }
  .hero-home .hero-inner.hero-inner--split .hero-aside {
    grid-column: 1;
    grid-row: 2;
    max-width: 100%;
    justify-self: stretch;
  }
  .hero-home .hero-inner.hero-inner--split .hero-tools { grid-column: 1; grid-row: 3; }
}

@media (max-width: 767.98px) {
  .featured .ft-body { padding: 24px; }
  .featured h3 { font-size: 26px; }
  .hero-search .field + .field { border-left: 0; }
  .newsletter-card { padding: 32px 22px; }
  .newsletter-form { flex-direction: column; }
  .section-head h2 { font-size: 24px; }
}

/* ===== INTEREST IN UPCOMING EVENTS ===== */
.interest-wrap { background: linear-gradient(180deg, #fff 0%, #fdf2f7 100%); }
.interest-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  height: 100%; display: flex; flex-direction: column; box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.interest-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(168,23,78,.14); }
.ic-media { position: relative; height: 168px; background: #fae7ef; }
.ic-media img { width: 100%; height: 100%; object-fit: cover; }
.ic-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 52px; color: var(--magenta-600);
  background: linear-gradient(135deg, #fbe3ee, #f6cfe0);
}
.ic-votes {
  position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.95);
  color: var(--magenta-700); font-weight: 800; font-size: 13px; padding: 5px 11px;
  border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.ic-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.ic-body h4 { font-size: 18px; font-weight: 800; color: var(--ink); margin: 0 0 8px; letter-spacing: -.3px; }
.ic-body p { font-size: 14px; color: var(--muted); margin: 0 0 16px; line-height: 1.55; flex: 1; }
.ic-vote-btn {
  border: 0; border-radius: 12px; padding: 11px 16px; font-weight: 700; font-size: 14px; cursor: pointer;
  color: #fff; background: linear-gradient(100deg, var(--magenta-900), var(--magenta-600));
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: filter .2s, transform .2s;
}
.ic-vote-btn:hover { filter: brightness(1.07); transform: translateY(-1px); }

/* Vote modal */
.vote-modal { position: fixed; inset: 0; z-index: 1080; display: none; }
.vote-modal.open { display: block; }
.vote-backdrop { position: absolute; inset: 0; background: rgba(20,8,16,.55); backdrop-filter: blur(2px); }
.vote-dialog {
  position: relative; max-width: 460px; margin: 7vh auto 0; background: #fff; border-radius: 18px;
  padding: 26px 26px 28px; box-shadow: 0 30px 80px rgba(0,0,0,.35); animation: voteIn .25s ease;
}
@keyframes voteIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.vote-x { position: absolute; top: 14px; right: 14px; border: 0; background: #f3f0f2; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; color: var(--ink); }
.vote-x:hover { background: #e9e4e7; }
.vote-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.6px; color: var(--magenta-600); }
.vote-head h3 { font-size: 22px; font-weight: 800; color: var(--ink); margin: 6px 0 18px; }
.vote-field { margin-bottom: 14px; }
.vote-field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.vote-field input, .vote-field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 14px; color: var(--ink); outline: none;
}
.vote-field input:focus, .vote-field textarea:focus { border-color: var(--magenta-600); box-shadow: 0 0 0 3px rgba(168,23,78,.12); }
.vote-submit {
  width: 100%; border: 0; border-radius: 12px; padding: 12px; font-weight: 800; font-size: 15px; cursor: pointer; color: #fff;
  background: linear-gradient(100deg, var(--magenta-900), var(--magenta-600)); display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.vote-submit:hover { filter: brightness(1.07); }
.vote-submit:disabled { opacity: .6; cursor: not-allowed; }
.vote-msg { font-size: 13.5px; font-weight: 600; margin: 6px 0 12px; min-height: 18px; }
.vote-msg.ok { color: #138a4e; }
.vote-msg.err { color: #c0264b; }
