/* events-compact.css - India listing page (events.html), 1 Oct 2026.
   Load AFTER page.css. Overrides only; nothing in page.css is deleted.
   Goal: first listing row visible inside the first screen (was ~1.6 screens down). */

/* ---------- 1. Organizer strip (reuses .announce-bar tokens) ----------
   Padding matches .announce-inner (common.css) so the strip is the same
   height as every other page's black bar. */
.org-strip { background: var(--ink); }
.org-strip-inner { max-width: 1180px; margin: 0 auto; padding: 9px 28px; min-height: 43px;
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; text-align: center; }
.org-strip-text { font-size: 13px; color: var(--paper-dim); }
.org-strip-text strong { color: #fff; font-weight: 600; }
.org-strip-link { font-size: 13px; font-weight: 700; color: var(--coral); text-decoration: none; white-space: nowrap; }
.org-strip-link:hover { color: #FF7A84; }
.org-strip-link i { font-style: normal; display: inline-block; transition: transform .2s; }
.org-strip-link:hover i { transform: translateX(3px); }
.org-strip .short { display: none; }

/* ---------- 2. Header: buyer links + organizer CTA ----------
   Sized to match the main site's header (common.css .nav/.logo-img/.btn)
   so the header bar is the same height on every page. */
.evt-header-nav { padding-top: 14px; padding-bottom: 14px; }
.evt-header-nav .logo-img { height: 52px; width: auto; }
.evt-header-links { gap: 22px; }
.evt-header-links a { display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.045em; color: var(--body); }
.evt-header-links a svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--coral-deep); }
.evt-header-cta { padding: 17px 24px; font-size: 13px; }
.evt-header-cta.ghost { background: transparent; border: 1.5px solid var(--coral); color: var(--coral-deep); }
.evt-header-cta.ghost:hover { background: var(--coral); color: #fff; }

/* ---------- 3. Featured strip: short horizontal cards ---------- */
.evt-feat { padding: 22px 0 24px; }
.evt-feat-head { margin-bottom: 14px; }
.evt-feat-head .kicker { margin: 0; }
.evt-track { gap: 18px; padding: 2px 2px 4px; }
.evt-slide {
  flex: 0 0 calc(50% - 9px); aspect-ratio: auto; height: 210px;
  display: grid; grid-template-columns: 210px 1fr;
  background: var(--ink); border-radius: var(--radius);
}
.evt-slide img { position: static; inset: auto; grid-column: 1; grid-row: 1; width: 210px; height: 210px; }
.evt-slide-body {
  position: static; grid-column: 2; grid-row: 1; background: none;
  padding: 20px 22px; display: flex; flex-direction: column; justify-content: center; min-width: 0;
}
.evt-slide-body h3 { font-size: 21px; line-height: 1.2; margin: 0 0 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.evt-slide-tag { margin-bottom: 6px; font-size: 10.5px; }
.evt-slide-meta { font-size: 12.5px; line-height: 1.45; margin: 0 0 14px; align-items: flex-start; flex-wrap: nowrap; }
.evt-slide-meta svg { margin-top: 2px; }
.evt-slide-cta { align-self: flex-start; padding: 9px 16px; font-size: 11.5px; }
.evt-badge { top: 10px; left: 10px; padding: 4px 9px; font-size: 9.5px; }
.evt-slide-actions { top: 10px; right: 10px; }
.evt-icon-btn { width: 32px; height: 32px; }
.evt-slide.img-fallback::before { inset: 0 auto 0 0; width: 210px; height: 100%; background-position: center; }

/* ---------- 4. Discover head + filter card, tightened ---------- */
.evt-discover { padding-top: 30px; }
.evt-discover .section-head { margin-bottom: 16px; display: flex; align-items: baseline; gap: 6px 18px; flex-wrap: wrap; max-width: none; }
.evt-discover .section-head .kicker { display: none; }
.evt-discover .section-head h1 { font-size: 28px; margin: 0; }
.evt-discover .section-head .lede { font-size: 14.5px; margin: 0; }
.evt-filter-card { padding: 16px 18px 14px; margin-bottom: 32px; }
.evt-search { gap: 10px; }
.evt-search input[type="text"], .evt-search select { height: 42px; }
.evt-search .btn { padding: 0 24px; height: 42px; }
.evt-search-note:empty { display: none; }
.evt-filter-foot { margin-top: 12px; padding-top: 12px; }
.evt-filters { gap: 8px; }
.evt-filters .pill { padding: 7px 16px; font-size: 11.5px; }

/* ---------- 5. Responsive ---------- */
@media (max-width: 900px) {
  .evt-slide { flex-basis: 78%; }
}
@media (max-width: 720px) {
  .org-strip-inner { padding: 7px 16px; gap: 8px; }
  .org-strip .long { display: none; }
  .org-strip .short { display: inline; }
  .evt-feat { padding: 16px 0 18px; }
  .evt-slide { flex: 0 0 88%; aspect-ratio: auto; height: 132px; grid-template-columns: 132px 1fr; }
  .evt-slide img { width: 132px; height: 132px; }
  .evt-slide.img-fallback::before { width: 132px; }
  .evt-slide-body { padding: 12px 14px; }
  .evt-slide-body h3 { font-size: 16px; margin-bottom: 6px; }
  .evt-slide-tag { font-size: 9.5px; margin-bottom: 4px; }
  .evt-slide-meta { font-size: 11.5px; margin-bottom: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .evt-slide-meta svg { display: none; }
  .evt-slide-cta { display: none; }   /* whole card is the link */
  .evt-badge { display: none; }
  .evt-slide-actions { top: 8px; right: 8px; }
  .evt-icon-btn { width: 28px; height: 28px; }
  .evt-discover { padding-top: 22px; }
  .evt-discover .section-head h1 { font-size: 22px; }
  .evt-discover .section-head .lede { display: none; }
}
@media (max-width: 640px) {
  .evt-header-nav { flex-wrap: wrap; padding: 10px 16px; gap: 10px; }
  .evt-header-nav .logo-img { height: 40px; }
  .evt-header-cta { order: 2; padding: 12px 13px; font-size: 11px; }
  .evt-header-links { order: 3; flex-basis: 100%; justify-content: flex-start; gap: 18px;
    padding-top: 8px; border-top: 1px solid var(--line); }
  .evt-header-links a { font-size: 13px; text-transform: none; letter-spacing: normal; color: var(--ink); }
}

/* ---------- 6. Mobile filter card: 3 compact rows instead of 6 ---------- */
@media (max-width: 600px) {
  .evt-filter-card { padding: 12px 12px 10px; margin-bottom: 26px; }
  .evt-search { gap: 8px; }
  .evt-search .evt-input-wrap { flex: 1 1 100%; }
  .evt-search .evt-input-wrap:nth-of-type(2),
  .evt-search .evt-input-wrap-select { flex: 1 1 calc(50% - 4px); }
  .evt-search .btn { flex: 1 1 100%; justify-content: center; height: 40px; }
  .evt-search input[type="text"], .evt-search select { height: 36px; font-size: 14px; }
  .evt-filter-foot { flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 10px; margin-top: 10px; padding-top: 10px; }
  .evt-filters { flex: 1 1 auto; min-width: 0; margin: 0; padding: 0 0 2px; }
  .evt-filters .pill { padding: 6px 12px; font-size: 11px; }
  .evt-filter-actions { flex: 0 0 auto; gap: 12px; }
  .evt-link-btn .evt-link-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .evt-link-btn svg { width: 18px; height: 18px; }
}
