/**
 * Listing Events (organiser help) — body sections only (nav + footer from theme).
 * Scoped under .listing-events-page; uses the theme design tokens.
 * @package Altojive
 */

.listing-events-page { color: var(--text-primary); }
.listing-events-page [hidden] { display: none !important; }

/* ── HERO ── */
.listing-events-page .le-hero { background: var(--navy); padding: 56px 40px 0; position: relative; overflow: hidden; }
.listing-events-page .le-hero::before {
  content: '';
  position: absolute;
  bottom: -120px; right: -60px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,197,24,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.listing-events-page .le-hero__inner { max-width: 700px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.listing-events-page .le-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 14px;
}
.listing-events-page .le-hero__title { font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 12px; }
.listing-events-page .le-hero__sub { font-size: 0.9375rem; color: rgba(255,255,255,0.6); line-height: 1.65; margin-bottom: 32px; }

.listing-events-page .le-hero__search { position: relative; max-width: 560px; margin: 0 auto; }
.listing-events-page .le-hero__search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: rgba(255,255,255,0.4); pointer-events: none; }
.listing-events-page .le-hero__search input {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 14px 18px 14px 48px;
  font-family: var(--font-body);
  font-size: 16px;
  color: #fff;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, background 0.2s;
}
.listing-events-page .le-hero__search input::placeholder { color: rgba(255,255,255,0.35); }
.listing-events-page .le-hero__search input:focus { border-color: var(--yellow); background: rgba(255,255,255,0.12); }

/* Tabs */
.listing-events-page .le-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}
.listing-events-page .le-tab {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  padding: 10px 16px;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.listing-events-page .le-tab:hover { color: #fff; }
.listing-events-page .le-tab.is-active { color: var(--yellow); border-bottom-color: var(--yellow); }

/* ── STEPS STRIP ── */
.listing-events-page .le-steps { background: var(--grey-50); border-bottom: 1px solid var(--border); padding: 40px; }
.listing-events-page .le-steps__inner { max-width: 1100px; margin: 0 auto; }
.listing-events-page .le-steps__label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-align: center;
}
.listing-events-page .le-steps__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.listing-events-page .le-steps__grid::before {
  content: '';
  position: absolute;
  top: 20px;
  left: calc(10% + 20px);
  right: calc(10% + 20px);
  height: 2px;
  background: linear-gradient(to right, var(--yellow), var(--navy));
  z-index: 0;
}
.listing-events-page .le-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; position: relative; z-index: 1; }
.listing-events-page .le-step__num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.875rem;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--grey-50);
  box-shadow: 0 0 0 2px var(--navy);
}
.listing-events-page .le-step__title { font-family: var(--font-display); font-weight: 700; font-size: 0.8125rem; color: var(--navy); }
.listing-events-page .le-step__desc { font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; max-width: 140px; margin: 4px auto 0; }

/* ── LAYOUT ── */
.listing-events-page .le-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 40px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}

/* ── SIDEBAR ── */
.listing-events-page .le-sidebar { position: sticky; top: 90px; }
.listing-events-page .le-sidebar__title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding-left: 12px;
}
.listing-events-page .le-sidebar__nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 28px; }
.listing-events-page .le-sidebar__link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 8px;
  border-left: 3px solid transparent;
  transition: background 0.15s, color 0.15s;
}
.listing-events-page .le-sidebar__link svg { width: 15px; height: 15px; flex-shrink: 0; }
.listing-events-page .le-sidebar__link:hover { background: var(--grey-50); color: var(--navy); }
.listing-events-page .le-sidebar__link.is-active { background: var(--grey-50); color: var(--navy); border-left-color: var(--yellow); font-weight: 700; }
.listing-events-page .le-sidebar__divider { height: 1px; background: var(--border); margin: 16px 0; }
.listing-events-page .le-sidebar__cta { background: var(--yellow); border-radius: var(--r-lg); padding: 18px 16px; text-align: center; }
.listing-events-page .le-sidebar__cta-title { font-family: var(--font-display); font-weight: 800; font-size: 0.9rem; color: var(--navy); margin-bottom: 6px; }
.listing-events-page .le-sidebar__cta p { font-size: 0.78rem; color: rgba(30,30,48,0.7); line-height: 1.5; margin-bottom: 14px; }
.listing-events-page .le-sidebar__cta a {
  display: block;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 9px 16px;
  border-radius: 7px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.listing-events-page .le-sidebar__cta a:hover { opacity: 0.85; }

/* Mobile select */
.listing-events-page .le-mobile-select {
  display: none;
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  background: var(--grey-50);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239499b0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  cursor: pointer;
  outline: none;
  margin-bottom: 32px;
}

/* ── CONTENT ── */
.listing-events-page .le-content { min-width: 0; }
.listing-events-page .le-section { margin-bottom: 56px; scroll-margin-top: 90px; }
.listing-events-page .le-section:last-of-type { margin-bottom: 0; }
.listing-events-page .le-section__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.listing-events-page .le-section__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.listing-events-page .le-section__icon svg { width: 18px; height: 18px; color: var(--yellow); }
.listing-events-page .le-section__title { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--navy); }
.listing-events-page .le-section__count {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--grey-50);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
  white-space: nowrap;
}

/* Accordion */
.listing-events-page .le-acc { display: flex; flex-direction: column; }
.listing-events-page .le-item {
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.listing-events-page .le-item.is-open { border-color: var(--navy); }
.listing-events-page .le-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.listing-events-page .le-trigger__q { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--navy); line-height: 1.4; }
.listing-events-page .le-trigger__icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grey-50);
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.listing-events-page .le-trigger__icon svg { width: 12px; height: 12px; color: var(--navy); transition: transform 0.3s; }
.listing-events-page .le-item.is-open .le-trigger__icon { background: var(--navy); border-color: var(--navy); }
.listing-events-page .le-item.is-open .le-trigger__icon svg { color: var(--yellow); transform: rotate(45deg); }
.listing-events-page .le-body { display: none; padding: 0 18px 18px; }
.listing-events-page .le-item.is-open .le-body { display: block; }
.listing-events-page .le-body p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 10px; }
.listing-events-page .le-body p:last-child { margin-bottom: 0; }
.listing-events-page .le-body ul { padding-left: 18px; margin-bottom: 10px; }
.listing-events-page .le-body li { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 4px; }
.listing-events-page .le-body a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

/* Callouts */
.listing-events-page .le-tip {
  background: rgba(245,197,24,0.1);
  border: 1.5px solid rgba(245,197,24,0.35);
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 12px;
  display: flex;
  gap: 8px;
}
.listing-events-page .le-tip svg { width: 15px; height: 15px; color: #a07c00; flex-shrink: 0; margin-top: 1px; }
.listing-events-page .le-tip p { font-size: 0.85rem; color: #5a4800; margin: 0; line-height: 1.6; }
.listing-events-page .le-warn {
  background: rgba(239,68,68,0.06);
  border: 1.5px solid rgba(239,68,68,0.25);
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 12px;
  display: flex;
  gap: 8px;
}
.listing-events-page .le-warn svg { width: 15px; height: 15px; color: #b91c1c; flex-shrink: 0; margin-top: 1px; }
.listing-events-page .le-warn p { font-size: 0.85rem; color: #7f1d1d; margin: 0; line-height: 1.6; }

/* No results */
.listing-events-page .le-no-results { text-align: center; padding: 56px 24px; }
.listing-events-page .le-no-results svg { width: 48px; height: 48px; color: var(--border); margin: 0 auto 16px; display: block; }
.listing-events-page .le-no-results h3 { font-family: var(--font-display); font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.listing-events-page .le-no-results p { font-size: 0.9rem; color: var(--text-muted); }

/* ── CTA BANNER ── */
.listing-events-page .le-cta { background: var(--yellow); padding: 64px 40px; text-align: center; }
.listing-events-page .le-cta__title { font-family: var(--font-display); font-weight: 800; font-size: 1.625rem; color: var(--navy); margin-bottom: 10px; }
.listing-events-page .le-cta__sub { font-size: 0.9375rem; color: rgba(30,30,48,0.65); margin-bottom: 28px; }
.listing-events-page .le-cta__buttons { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.listing-events-page .le-btn-dark {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.listing-events-page .le-btn-dark:hover { opacity: 0.85; }
.listing-events-page .le-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 11px 28px;
  border: 2px solid var(--navy);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.listing-events-page .le-btn-outline:hover { background: var(--navy); color: #fff; }

/* ══ Tablet (≤ 900px) ══ */
@media (max-width: 900px) {
  .listing-events-page .le-hero { padding: 48px 24px 0; }
  .listing-events-page .le-hero__title { font-size: 1.875rem; }
  .listing-events-page .le-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .listing-events-page .le-tabs::-webkit-scrollbar { display: none; }
  .listing-events-page .le-steps { padding: 32px 24px; }
  .listing-events-page .le-steps__grid { grid-template-columns: 1fr; gap: 24px; }
  .listing-events-page .le-steps__grid::before { display: none; }
  .listing-events-page .le-step { flex-direction: row; text-align: left; gap: 16px; }
  .listing-events-page .le-step__desc { max-width: none; margin: 0; }
  .listing-events-page .le-wrap { grid-template-columns: 1fr; padding: 48px 24px; gap: 0; }
  .listing-events-page .le-sidebar { display: none; }
  .listing-events-page .le-mobile-select { display: block; }
  .listing-events-page .le-cta { padding: 48px 24px; }
}

/* ══ Mobile (≤ 600px) ══ */
@media (max-width: 600px) {
  .listing-events-page .le-hero { padding: 40px 20px 0; }
  .listing-events-page .le-hero__title { font-size: 1.5rem; }
  .listing-events-page .le-steps { padding: 28px 20px; }
  .listing-events-page .le-wrap { padding: 36px 20px; }
  .listing-events-page .le-cta { padding: 40px 20px; }
  .listing-events-page .le-cta__buttons { flex-direction: column; }
  .listing-events-page .le-btn-dark,
  .listing-events-page .le-btn-outline { display: block; text-align: center; }
}
