/* ==========================================================================
   Visa Doo — Activities (Events Discovery)
   4 Columns Grid Layout with Rounded Card Visual & Outside Reviews Row
   Aligned with user request & mockup
   ========================================================================== */

:root {
  --trig-bg: #f8fafc;
  --trig-card-bg: #ffffff;
  --trig-ink: #0f172a;
  --trig-ink-muted: #475569;
  --trig-subtle: #64748b;
  --trig-line: #e2e8f0;
  --trig-border-light: #f1f5f9;
  --trig-primary: #0f172a;
  --trig-blue: #2563eb;
  --trig-radius-card: 20px;
  --trig-radius-pill: 9999px;
  --trig-shadow-card: 0 6px 20px rgba(15, 23, 42, 0.08);
  --trig-shadow-hover: 0 16px 36px rgba(15, 23, 42, 0.16);
  --trig-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body.events-page {
  background-color: var(--trig-bg);
  color: var(--trig-ink);
  font-family: var(--trig-font);
  -webkit-font-smoothing: antialiased;
}

/* Page Container — wider for 4 columns in one row */
.triggers-page-wrap {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 28px 80px;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* ==========================================================================
   1. TOP SEARCH & FILTERS BAR
   ========================================================================== */
.triggers-top-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 auto 26px;
  width: 100%;
}

/* Search Dock */
.triggers-search-box {
  position: relative;
  width: 440px;
  max-width: 100%;
  flex: 0 1 440px;
  border-radius: 9999px;
  height: 48px;
  display: flex;
  align-items: center;
}

.triggers-search-box input,
.triggers-search-box input#triggersSearchInput,
#triggersSearchInput {
  width: 100%;
  height: 48px;
  padding: 0 42px 0 46px;
  border-radius: 9999px !important;
  background: #ffffff !important;
  border: 1.5px solid var(--trig-line) !important;
  font-family: inherit;
  font-size: 14px !important;
  font-weight: 500;
  color: var(--trig-ink) !important;
  outline: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  -webkit-appearance: none;
  appearance: none;
}

.triggers-search-box input::placeholder,
#triggersSearchInput::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.triggers-search-box input:hover,
#triggersSearchInput:hover {
  border-color: #cbd5e1 !important;
}

.triggers-search-box input:focus,
#triggersSearchInput:focus {
  border-color: var(--trig-ink) !important;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08) !important;
}

.triggers-search-icon {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #64748b;
  pointer-events: none;
  z-index: 2;
}

.triggers-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  font-size: 12px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease, color 0.15s ease;
  z-index: 2;
}

.triggers-clear-btn:hover {
  background: #e2e8f0;
  color: var(--trig-ink);
}

/* Filters Group */
.triggers-filters-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.triggers-dropdown {
  position: relative;
}

.dropdown-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px;
  border-radius: var(--trig-radius-pill);
  background: #ffffff;
  border: 1.5px solid var(--trig-line);
  color: #1e293b;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
  user-select: none;
  white-space: nowrap;
}

.dropdown-pill-btn:hover {
  border-color: #cbd5e1;
  background: #fcfdfe;
}

.dropdown-pill-btn.open,
.dropdown-pill-btn:focus-visible {
  border-color: var(--trig-ink);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.06);
}

.dropdown-pill-btn .pill-icon {
  width: 16px;
  height: 16px;
  color: #334155;
  flex-shrink: 0;
}

.dropdown-pill-btn .chevron-icon {
  width: 12px;
  height: 12px;
  color: #64748b;
  margin-left: 2px;
  transition: transform 0.2s ease;
}

.dropdown-pill-btn.open .chevron-icon {
  transform: rotate(180deg);
}

/* Dropdown Menu Popup */
.triggers-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  min-width: 220px;
  max-height: 320px;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--trig-line);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
  padding: 8px;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  scrollbar-width: thin;
}

#countryDropdown .triggers-dropdown-menu,
#yearDropdown .triggers-dropdown-menu {
  left: 0;
  right: auto;
}

#categoryDropdown .triggers-dropdown-menu,
#sortDropdownWrap .triggers-dropdown-menu {
  right: 0;
  left: auto;
}

.triggers-dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 14px;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-menu-item:hover {
  background: #f1f5f9;
  color: var(--trig-ink);
}

.dropdown-menu-item.active {
  background: var(--trig-ink);
  color: #ffffff;
  font-weight: 600;
}

/* ==========================================================================
   2. MONTH SELECTOR CAROUSEL / STRIP
   ========================================================================== */
.triggers-months-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 30px;
  position: relative;
  width: fit-content;
  max-width: 100%;
}

.month-nav-arrow {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--trig-line);
  color: #1e293b;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
  padding: 0;
}

.month-nav-arrow:hover {
  border-color: #94a3b8;
  background: #f8fafc;
  transform: scale(1.04);
}

.month-nav-arrow:active {
  transform: scale(0.96);
}

.month-nav-arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.month-pills-track {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px;
  flex: 0 1 auto;
}

.month-pills-track::-webkit-scrollbar {
  display: none;
}

.month-pill {
  flex: 0 0 auto;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--trig-radius-pill);
  background: #ffffff;
  border: 1.5px solid var(--trig-line);
  color: #334155;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
  user-select: none;
  white-space: nowrap;
}

.month-pill:hover {
  border-color: #94a3b8;
  color: var(--trig-ink);
  background: #f8fafc;
}

.month-pill.active {
  background: var(--trig-ink);
  border-color: var(--trig-ink);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22);
}

/* ==========================================================================
   3. META ROW (Heading, Event Count, Sort & View Toggles)
   ========================================================================== */
.triggers-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.triggers-meta-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--trig-ink);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.triggers-meta-title .meta-dot {
  color: #94a3b8;
  font-weight: 400;
  font-size: 20px;
}

.triggers-meta-title .meta-count {
  color: #64748b;
  font-weight: 600;
  font-size: 20px;
}

.triggers-meta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Sort Dropdown */
.sort-dropdown-wrap {
  position: relative;
}

.sort-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-radius: var(--trig-radius-pill);
  background: #ffffff;
  border: 1.5px solid var(--trig-line);
  color: #334155;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
  user-select: none;
}

.sort-dropdown-btn:hover {
  border-color: #cbd5e1;
}

.sort-dropdown-btn.open {
  border-color: var(--trig-ink);
}

.sort-dropdown-btn b {
  font-weight: 700;
  color: var(--trig-ink);
}

.sort-dropdown-btn .chevron-icon {
  width: 12px;
  height: 12px;
  color: #64748b;
  transition: transform 0.2s ease;
}

.sort-dropdown-btn.open .chevron-icon {
  transform: rotate(180deg);
}

/* Grid / List View Toggle Buttons */
.triggers-view-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.view-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1.5px solid var(--trig-line);
  background: #ffffff;
  color: #64748b;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.view-toggle-btn:hover {
  border-color: #cbd5e1;
  color: var(--trig-ink);
}

.view-toggle-btn.active {
  background: var(--trig-ink);
  border-color: var(--trig-ink);
  color: #ffffff;
}

.view-toggle-btn svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   4. 5-COLUMN CARDS GRID (1 Row = 5 Cards, Visual Curve + Outside Reviews)
   ========================================================================== */
.triggers-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px 14px;
}

/* Card Container (Clean, no outer boxed border) */
.trigger-card {
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Card Visual Area (Matches Country Card shape in Image media_1789201919900.png) */
.trigger-card-visual {
  position: relative;
  height: 220px;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #1e293b;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trigger-card:hover .trigger-card-visual {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.16);
}

.trigger-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.trigger-card:hover .trigger-card-img {
  transform: scale(1.06);
}

/* Bottom Dark Gradient for crisp contrast */
.trigger-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.05) 0%,
    rgba(15, 23, 42, 0.22) 32%,
    rgba(15, 23, 42, 0.85) 72%,
    rgba(15, 23, 42, 0.98) 100%
  );
  pointer-events: none;
}

/* Floating White Date Badge (Top-Left) */
.trigger-date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  background: #ffffff;
  border-radius: 10px;
  padding: 4px 8px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
  min-width: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.date-badge-month {
  font-size: 9.5px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
}

.date-badge-days {
  font-size: 14px;
  font-weight: 850;
  color: var(--trig-ink);
  line-height: 1.15;
  margin: 1px 0;
}

.date-badge-year {
  font-size: 9px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.1;
}

/* Overlay Content (Bottom of Visual Area) */
.trigger-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px 12px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}

.trigger-location {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #f1f5f9;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 3px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.trigger-location .loc-pin {
  width: 13px;
  height: 13px;
  stroke: #ffffff;
  flex-shrink: 0;
}

.trigger-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 5px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.trigger-blurb {
  font-size: 11.5px;
  color: #cbd5e1;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.trigger-overlay-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Category Pill Badges */
.trigger-category-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--trig-radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  letter-spacing: 0.02em;
}

/* Category Theme Accents */
.badge-travel-expo {
  background: rgba(14, 60, 110, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-sports {
  background: rgba(10, 70, 40, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-business {
  background: rgba(30, 41, 59, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-music {
  background: rgba(110, 20, 130, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-art-culture {
  background: rgba(130, 60, 15, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-shopping {
  background: rgba(15, 118, 110, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Circular Arrow Action Button */
.trigger-arrow-btn {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--trig-ink);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.trigger-arrow-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.trigger-card:hover .trigger-arrow-btn {
  transform: translateX(3px);
  background: var(--trig-ink);
  color: #ffffff;
}

/* Reviews / Social Proof Row (OUTSIDE the card visual border) */
.trigger-card-social,
.trigger-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 0 4px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack .avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
  margin-left: -7px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.avatar-stack .avatar:first-child {
  margin-left: 0;
}

.interested-text {
  font-size: 12.5px;
  color: #475569;
}

.interested-text b {
  color: var(--trig-ink);
  font-weight: 700;
}

/* ==========================================================================
   5. LIST VIEW MODE (Separate, only active when .view-list is set)
   ========================================================================== */
.triggers-grid.view-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.triggers-grid.view-list .trigger-card {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 190px;
  background: #ffffff;
  border-radius: var(--trig-radius-card);
  box-shadow: var(--trig-shadow-card);
  border: 1px solid var(--trig-border-light);
  overflow: hidden;
}

.triggers-grid.view-list .trigger-card-visual {
  height: 100%;
  width: 100%;
  border-radius: 0;
  box-shadow: none;
}

.triggers-grid.view-list .trigger-card-overlay {
  display: none;
}

.triggers-grid.view-list .trigger-card-social {
  display: none;
}

.triggers-grid.view-list .trigger-card-list-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 22px;
  background: #ffffff;
}

.triggers-grid.view-list .list-top {
  display: flex;
  flex-direction: column;
}

.triggers-grid.view-list .list-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.triggers-grid.view-list .list-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
}

.triggers-grid.view-list .list-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--trig-ink);
  margin-bottom: 6px;
}

.triggers-grid.view-list .list-blurb {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.triggers-grid.view-list .list-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--trig-border-light);
  padding-top: 12px;
}

/* ==========================================================================
   6. EMPTY STATE & LOADING STATE
   ========================================================================== */
.triggers-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 20px;
  background: #ffffff;
  border-radius: var(--trig-radius-card);
  border: 1px dashed var(--trig-line);
}

.triggers-empty-state .empty-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.triggers-empty-state h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--trig-ink);
  margin-bottom: 6px;
}

.triggers-empty-state p {
  font-size: 14px;
  color: #64748b;
  max-width: 420px;
  margin: 0 auto 20px;
}

.triggers-empty-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--trig-radius-pill);
  background: var(--trig-ink);
  color: #ffffff;
  font-weight: 600;
  font-size: 13.5px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.triggers-empty-reset-btn:hover {
  opacity: 0.9;
}

.triggers-loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px 20px;
}

.triggers-spinner {
  width: 38px;
  height: 38px;
  border: 3.5px solid #e2e8f0;
  border-top-color: var(--trig-ink);
  border-radius: 50%;
  animation: trigSpin 0.75s linear infinite;
  margin-bottom: 14px;
}

@keyframes trigSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   7. RESPONSIVE BREAKPOINTS (5 cols -> 4 cols -> 3 cols -> 2 cols -> 1 col)
   ========================================================================== */
@media (max-width: 1360px) {
  .triggers-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 14px;
  }
}

@media (max-width: 1100px) {
  .triggers-months-nav {
    width: 100%;
    justify-content: space-between;
  }

  .month-pills-track {
    flex: 1;
  }

  .triggers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 840px) {
  .triggers-top-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .triggers-search-box {
    max-width: 100%;
    width: 100%;
    flex: none;
    height: 48px;
    position: relative;
  }

  .triggers-filters-group {
    justify-content: flex-start;
    flex-wrap: wrap;
    overflow: visible;
    gap: 10px;
    width: 100%;
    padding-bottom: 2px;
  }

  .triggers-filters-group::-webkit-scrollbar {
    display: none;
  }

  .triggers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .triggers-grid.view-list .trigger-card {
    grid-template-columns: 1fr;
  }

  .triggers-grid.view-list .trigger-card-visual {
    height: 220px;
    border-radius: var(--trig-radius-card) var(--trig-radius-card) 0 0;
  }

  .triggers-grid.view-list .trigger-card-overlay {
    display: flex;
  }

  .triggers-grid.view-list .trigger-card-list-content {
    display: none !important;
  }
}

/* Mobile Devices: 2 Country Cards per Row */
@media (max-width: 640px) {
  .triggers-page-wrap {
    padding: 16px 12px 60px;
    box-sizing: border-box;
    overflow-x: hidden;
    max-width: 100%;
  }

  .triggers-top-bar {
    gap: 10px;
    margin-bottom: 16px;
  }

  .triggers-search-box {
    flex: none;
    width: 100%;
    max-width: 100%;
    height: 44px;
    position: relative;
    display: flex;
    align-items: center;
  }

  .triggers-search-box input {
    height: 44px;
    font-size: 14px;
    padding: 0 38px 0 42px;
    border-radius: 9999px !important;
  }

  .triggers-search-icon {
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;
    z-index: 2;
  }

  .triggers-clear-btn {
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .triggers-filters-group {
    display: flex;
    flex-wrap: wrap;
    overflow: visible;
    gap: 8px;
    width: 100%;
    padding-bottom: 2px;
  }

  .dropdown-pill-btn {
    height: 38px;
    padding: 0 13px;
    font-size: 12.5px;
    flex-shrink: 0;
  }

  .triggers-dropdown-menu {
    max-width: min(290px, calc(100vw - 24px));
  }

  /* Month Navigation Carousel on Mobile */
  .triggers-months-nav {
    width: 100%;
    max-width: 100%;
    gap: 6px;
    margin: 0 auto 20px;
    overflow: hidden;
  }

  .month-nav-arrow {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }

  .month-nav-arrow svg {
    width: 14px;
    height: 14px;
  }

  .month-pills-track {
    flex: 1;
    min-width: 0;
    gap: 6px;
  }

  .month-pill {
    height: 36px;
    padding: 0 13px;
    font-size: 12.5px;
  }

  /* Meta Title & Action Controls */
  .triggers-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
  }

  .triggers-meta-title {
    font-size: 19px;
    line-height: 1.25;
    letter-spacing: -0.01em;
  }

  .triggers-meta-title .meta-count {
    font-size: 16px;
  }

  .triggers-meta-actions {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }

  .sort-dropdown-btn {
    height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .view-toggle-btn {
    width: 36px;
    height: 36px;
  }

  .view-toggle-btn svg {
    width: 16px;
    height: 16px;
  }

  /* 2 CARDS PER ROW ON MOBILE (Grid) */
  .triggers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 10px !important;
  }

  .trigger-card-visual {
    height: 200px !important;
    border-radius: 14px !important;
  }

  .trigger-date-badge {
    top: 8px;
    left: 8px;
    padding: 3px 6px;
    min-width: 36px;
    border-radius: 8px;
  }

  .date-badge-month {
    font-size: 8px;
  }

  .date-badge-days {
    font-size: 12px;
    margin: 0;
  }

  .date-badge-year {
    font-size: 7.5px;
  }

  .trigger-card-overlay {
    padding: 8px 10px;
  }

  .trigger-location {
    font-size: 10px;
    gap: 3px;
    margin-bottom: 2px;
  }

  .trigger-location .loc-pin {
    width: 11px;
    height: 11px;
  }

  .trigger-title {
    font-size: 13.5px !important;
    line-height: 1.22;
    margin: 0 0 3px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .trigger-blurb {
    display: none !important; /* Clean photo-centric destination card on mobile */
  }

  .trigger-card-social {
    margin-top: 5px;
    padding: 0 2px;
    gap: 6px;
  }

  .avatar-stack .avatar {
    width: 18px;
    height: 18px;
    margin-left: -5px;
  }

  .interested-text {
    font-size: 11px;
    line-height: 1.2;
  }

  /* List view on mobile still works nicely if toggled */
  .triggers-grid.view-list {
    grid-template-columns: 1fr !important;
  }

  .triggers-grid.view-list .trigger-card {
    grid-template-columns: 1fr;
  }

  .triggers-grid.view-list .trigger-card-visual {
    height: 200px !important;
    border-radius: 14px 14px 0 0 !important;
  }
}

/* Very Small Mobile Screens (<= 400px) */
@media (max-width: 400px) {
  .triggers-page-wrap {
    padding: 14px 10px 50px;
  }

  .dropdown-pill-btn {
    height: 36px;
    padding: 0 10px;
    font-size: 11.5px;
    gap: 5px;
  }

  .dropdown-pill-btn .pill-icon {
    width: 14px;
    height: 14px;
  }

  .triggers-grid {
    gap: 12px 8px !important;
  }

  .trigger-card-visual {
    height: 185px !important;
    border-radius: 12px !important;
  }

  .trigger-title {
    font-size: 12.5px !important;
  }

  .interested-text {
    font-size: 10px;
  }
}
