/* Tigule Events browse page */
.events-page {
  --ev-primary: #c8102e;
  --ev-primary-dark: #8b0d20;
  --ev-ink: #0f172a;
  --ev-muted: #64748b;
  --ev-border: rgba(15, 23, 42, 0.08);
  --ev-radius: 18px;
  padding-bottom: 2.5rem;
  overflow-x: clip;
}

/* Hero */
.events-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 24px;
  padding: clamp(1.4rem, 3.2vw, 2.4rem) clamp(1.1rem, 3.2vw, 2.2rem);
  margin: 0.75rem 0 1.25rem;
  color: #fff;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(245, 158, 11, 0.22) 0%, transparent 45%),
    radial-gradient(90% 80% at 0% 100%, rgba(74, 6, 19, 0.75) 0%, transparent 60%),
    linear-gradient(135deg, #c8102e 0%, #9f1239 48%, #4a0613 100%);
  box-shadow: 0 22px 48px rgba(127, 10, 31, 0.28);
}

.events-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.5px);
  background-size: 18px 18px;
  mask-image: linear-gradient(115deg, transparent 20%, #000 55%, transparent 90%);
  -webkit-mask-image: linear-gradient(115deg, transparent 20%, #000 55%, transparent 90%);
  pointer-events: none;
}

.eh-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.eh-orb--a {
  width: 260px;
  height: 260px;
  top: -110px;
  right: 18%;
  background: rgba(245, 158, 11, 0.28);
  animation: ehDrift 14s ease-in-out infinite alternate;
}

.eh-orb--b {
  width: 220px;
  height: 220px;
  bottom: -120px;
  left: -60px;
  background: rgba(255, 255, 255, 0.12);
  animation: ehDrift 18s ease-in-out infinite alternate-reverse;
}

.eh-float {
  position: absolute;
  z-index: -1;
  color: rgba(255, 255, 255, 0.1);
  pointer-events: none;
  animation: ehFloat 7s ease-in-out infinite;
}

.eh-float--1 { top: 14%; left: 46%; font-size: 1.6rem; }
.eh-float--2 { bottom: 12%; left: 38%; font-size: 2.1rem; transform: rotate(-18deg); animation-delay: -2s; }
.eh-float--3 { top: 10%; right: 4%; font-size: 1.1rem; color: rgba(245, 158, 11, 0.45); animation-delay: -4s; }

@keyframes ehDrift {
  to { transform: translate(40px, 24px) scale(1.12); }
}

@keyframes ehFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

.events-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "copy" "actions";
  gap: 1.1rem 2rem;
  align-items: center;
}

.events-hero__inner.has-next {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  grid-template-areas: "copy next" "actions next";
}

.eh-copy { grid-area: copy; min-width: 0; }
.eh-next-wrap { grid-area: next; }
.events-hero__actions { grid-area: actions; }

.eh-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.75rem 0.32rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
}

.eh-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: ehPulse 1.8s ease-out infinite;
}

@keyframes ehPulse {
  70% { box-shadow: 0 0 0 9px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.events-hero h1.events-hero__title {
  margin: 0.7rem 0 0.4rem;
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: #fff;
}

.eh-gold {
  background: linear-gradient(100deg, #fde68a 0%, #f59e0b 55%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.events-hero__subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.88rem, 2vw, 1.02rem);
  max-width: 34rem;
}

.eh-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 1.1rem;
  max-width: 30rem;
}

.eh-stat {
  padding: 0.6rem 0.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  min-width: 0;
}

.eh-stat strong {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
}

.eh-stat strong i { font-size: 0.95rem; }

.eh-stat span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eh-stat--gold {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(245, 158, 11, 0.12));
  border-color: rgba(245, 158, 11, 0.55);
}

.eh-stat--gold strong i { color: #fde68a; }

/* "Next up" ticket card */
.eh-next-wrap {
  filter: drop-shadow(0 18px 30px rgba(20, 2, 6, 0.45));
  transform: rotate(2.5deg);
  transition: transform 0.25s ease;
}

.eh-next-wrap:hover {
  transform: rotate(0) translateY(-4px);
}

.eh-next {
  --cut: 150px;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #0f172a;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  -webkit-mask:
    radial-gradient(circle 11px at 0 var(--cut), #0000 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 11px at 100% var(--cut), #0000 98%, #000) right / 51% 100% no-repeat;
  mask:
    radial-gradient(circle 11px at 0 var(--cut), #0000 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 11px at 100% var(--cut), #0000 98%, #000) right / 51% 100% no-repeat;
}

.eh-next:hover { color: #0f172a; }

.eh-next__img {
  position: relative;
  height: var(--cut);
  background-size: cover;
  background-position: center;
  background-color: #fde8ec;
}

.eh-next__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(74, 6, 19, 0.55));
}

.eh-next__tag {
  position: absolute;
  z-index: 1;
  top: 0.7rem;
  left: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4a0613;
  background: #f59e0b;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.eh-next__body {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem 1rem;
  border-top: 2px dashed #f1d5da;
}

.eh-next__date {
  flex-shrink: 0;
  width: 50px;
  padding: 0.35rem 0;
  border-radius: 12px;
  text-align: center;
  color: #fff;
  background: linear-gradient(160deg, #c8102e, #7f0a1f);
}

.eh-next__date b { display: block; font-size: 1.2rem; font-weight: 900; line-height: 1; }
.eh-next__date small { display: block; font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.85; }

.eh-next__info {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}

.eh-next__info strong {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eh-next__info small {
  font-size: 0.74rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eh-next__info small i { color: #c8102e; }

.eh-next__when {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.2rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #9f1239;
  background: #fff1f2;
}

.eh-next__when.is-soon,
.eh-next__when.is-live {
  color: #7c2d12;
  background: #fef3c7;
}

.eh-next__go {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #c8102e;
  transition: transform 0.2s ease;
}

.eh-next:hover .eh-next__go { transform: translateX(3px); }

.events-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

@media (prefers-reduced-motion: reduce) {
  .eh-orb, .eh-float, .eh-dot { animation: none; }
  .eh-next-wrap, .eh-next-wrap:hover { transition: none; }
}

.ev-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.ev-btn--light {
  background: #fff;
  color: var(--ev-primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.ev-btn--light:hover {
  transform: translateY(-2px);
  color: var(--ev-primary-dark);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.ev-btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.ev-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Toolbar */
.events-toolbar {
  background: #fff;
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius);
  padding: 1rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.events-toolbar__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.events-search {
  position: relative;
}

.events-search input {
  width: 100%;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.75rem 2.75rem 0.75rem 1rem;
  font-size: 0.92rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.events-search input:focus {
  outline: none;
  border-color: rgba(200, 16, 46, 0.45);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.1);
}

.events-search__icon {
  position: absolute;
  right: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ev-muted);
  pointer-events: none;
}

.events-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.events-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ev-primary);
  background: #fff5f7;
  border: 1px solid rgba(200, 16, 46, 0.18);
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.events-quick-link:hover {
  background: #ffe8ec;
  color: var(--ev-primary-dark);
  transform: translateY(-1px);
}

.events-categories {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.85rem 0 0.15rem;
  margin-top: 0.65rem;
  -webkit-overflow-scrolling: touch;
  /* Keep swipe/scroll, hide the scrollbar track */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge legacy */
}

.events-categories::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Android WebView */
  width: 0;
  height: 0;
}

.events-cat {
  flex-shrink: 0;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ev-ink);
  background: #f1f5f9;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.15s ease;
}

.events-cat:hover {
  background: #e2e8f0;
  color: var(--ev-ink);
}

.events-cat.is-active {
  background: linear-gradient(135deg, var(--ev-primary), var(--ev-primary-dark));
  color: #fff;
  box-shadow: 0 6px 16px rgba(200, 16, 46, 0.25);
}

/* Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .events-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1200px) {
  .events-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

/* Event card */
.ev-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--ev-border);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-width: 0;
}

.ev-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
  border-color: rgba(200, 16, 46, 0.22);
  color: inherit;
}

.ev-card.is-cancelled {
  opacity: 0.88;
  border-color: rgba(220, 53, 69, 0.35);
}

.ev-card.is-ended {
  opacity: 0.92;
}

.ev-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: #f1f5f9;
}

.ev-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.55) 100%);
}

.ev-card__date {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  min-width: 52px;
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 0.35rem 0.45rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.ev-card__date-day {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ev-primary);
  line-height: 1;
}

.ev-card__date-mon {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ev-muted);
  letter-spacing: 0.04em;
}

.ev-card__category {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  max-width: calc(100% - 4.5rem);
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ev-card__status {
  position: absolute;
  bottom: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
}

.ev-card__status--cancelled {
  background: linear-gradient(135deg, #dc3545, #c8102e);
}

.ev-card__status--ended {
  background: linear-gradient(135deg, #64748b, #475569);
}

.ev-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.85rem;
  flex: 1;
}

.ev-card__title {
  margin: 0;
  font-size: clamp(0.92rem, 2.2vw, 1.02rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--ev-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ev-card__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.ev-card__meta li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: var(--ev-muted);
  min-width: 0;
}

.ev-card__meta i {
  width: 14px;
  color: var(--ev-primary);
  flex-shrink: 0;
}

.ev-card__meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ev-card__footer {
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.ev-card__price {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ev-primary);
  min-width: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  white-space: nowrap;
  flex-shrink: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ev-card__price-label {
  font-weight: 600;
  color: var(--ev-muted);
  font-size: 0.72rem;
}

.ev-card__price-value {
  font-size: 0.92rem;
  white-space: nowrap;
}

.ev-card__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--ev-primary), var(--ev-primary-dark));
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.25);
}

.ev-card__cta.is-muted {
  background: #94a3b8;
  box-shadow: none;
}

/* Empty + loader */
.events-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.25rem;
  border-radius: var(--ev-radius);
  background: linear-gradient(180deg, #fff, #f8fafc);
  border: 1px dashed #cbd5e1;
}

.events-empty__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  color: #94a3b8;
  background: #f1f5f9;
}

.events-empty h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ev-ink);
}

.events-empty p {
  margin: 0;
  color: var(--ev-muted);
  font-size: 0.9rem;
}

.events-loader {
  grid-column: 1 / -1;
  text-align: center;
  padding: 1.5rem 0 0.5rem;
}

.events-loader__ring {
  width: 36px;
  height: 36px;
  margin: 0 auto;
  border: 3px solid rgba(200, 16, 46, 0.15);
  border-top-color: var(--ev-primary);
  border-radius: 50%;
  animation: evSpin 0.8s linear infinite;
}

@keyframes evSpin {
  to { transform: rotate(360deg); }
}

/* Mobile-only: hero + 1-column horizontal cards */
@media (max-width: 767px) {
  .events-page {
    padding-bottom: 1.5rem;
  }

  .events-hero {
    border-radius: 0 0 26px 26px;
    margin: 0 calc(50% - 50vw) 1rem;
    width: 100vw;
    max-width: 100vw;
    padding: 1.1rem 1rem 1.2rem;
    box-shadow: 0 16px 34px rgba(127, 10, 31, 0.3);
  }

  .events-hero__inner,
  .events-hero__inner.has-next {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "next" "actions";
    gap: 0.9rem;
  }

  .eh-float--1, .eh-float--2 { display: none; }

  .eh-kicker { font-size: 0.64rem; padding: 0.26rem 0.65rem 0.26rem 0.5rem; }

  .events-hero h1.events-hero__title {
    font-size: 2rem;
    margin: 0.55rem 0 0.3rem;
  }

  .events-hero__subtitle {
    font-size: 0.82rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .eh-stats {
    margin-top: 0.8rem;
    gap: 0.4rem;
    max-width: none;
  }

  .eh-stat {
    padding: 0.5rem 0.55rem;
    border-radius: 12px;
    text-align: center;
  }

  .eh-stat strong {
    justify-content: center;
    font-size: 1.15rem;
  }

  .eh-stat span { font-size: 0.6rem; }

  /* Ticket card becomes a horizontal strip, notches top and bottom */
  .eh-next-wrap,
  .eh-next-wrap:hover { transform: none; }

  .eh-next {
    --cut: 92px;
    flex-direction: row;
    border-radius: 16px;
    -webkit-mask:
      radial-gradient(circle 9px at var(--cut) 0, #0000 98%, #000) top / 100% 51% no-repeat,
      radial-gradient(circle 9px at var(--cut) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
    mask:
      radial-gradient(circle 9px at var(--cut) 0, #0000 98%, #000) top / 100% 51% no-repeat,
      radial-gradient(circle 9px at var(--cut) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
  }

  .eh-next__img {
    flex: 0 0 var(--cut);
    height: auto;
    min-height: 92px;
  }

  .eh-next__tag {
    top: 0.45rem;
    left: 0.45rem;
    padding: 0.2rem 0.45rem;
    font-size: 0.55rem;
  }

  .eh-next__body {
    flex: 1;
    min-width: 0;
    padding: 0.65rem 0.75rem;
    gap: 0.6rem;
    border-top: 0;
    border-left: 2px dashed #f1d5da;
  }

  .eh-next__date { display: none; }

  .eh-next__info strong { font-size: 0.9rem; }

  .eh-next__go { width: 30px; height: 30px; font-size: 0.8rem; }

  .events-hero__actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.5rem;
  }

  .ev-btn {
    width: 100%;
    height: auto;
    min-height: 42px;
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
  }

  .ev-btn span.ev-btn__label {
    display: inline;
  }

  .events-toolbar {
    padding: 0.85rem;
    border-radius: 16px;
    margin-bottom: 1rem;
  }

  .events-toolbar__row {
    grid-template-columns: 1fr;
  }

  .events-quick-links {
    width: 100%;
  }

  .events-quick-link {
    flex: 1;
    justify-content: center;
    min-width: 0;
    font-size: 0.75rem;
    padding: 0.5rem 0.6rem;
  }

  /* 1 event per row */
  .events-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* Horizontal card layout */
  .ev-card {
    flex-direction: row;
    align-items: stretch;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  }

  .ev-card:active {
    transform: scale(0.99);
  }

  .ev-card__media {
    flex: 0 0 118px;
    width: 118px;
    min-height: 118px;
    aspect-ratio: auto;
    border-radius: 14px 0 0 14px;
  }

  .ev-card__date {
    top: 0.45rem;
    left: 0.45rem;
    min-width: 44px;
    padding: 0.25rem 0.35rem;
    border-radius: 10px;
  }

  .ev-card__date-day {
    font-size: 0.9rem;
  }

  .ev-card__date-mon {
    font-size: 0.58rem;
  }

  .ev-card__category {
    display: none;
  }

  .ev-card__status {
    bottom: 0.45rem;
    right: 0.45rem;
    left: 0.45rem;
    text-align: center;
    font-size: 0.58rem;
    padding: 0.22rem 0.4rem;
  }

  .ev-card__body {
    flex: 1;
    min-width: 0;
    padding: 0.7rem 0.75rem 0.7rem 0.65rem;
    justify-content: space-between;
    gap: 0.35rem;
  }

  .ev-card__title {
    font-size: 0.92rem;
    line-height: 1.3;
    -webkit-line-clamp: 2;
  }

  .ev-card__meta {
    gap: 0.25rem;
  }

  .ev-card__meta li {
    font-size: 0.7rem;
  }

  .ev-card__footer {
    padding-top: 0.45rem;
    gap: 0.4rem;
    flex-wrap: nowrap;
  }

  .ev-card__price {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.72rem;
  }

  .ev-card__price-value {
    font-size: 0.82rem;
  }

  .ev-card__cta {
    flex-shrink: 0;
    font-size: 0.68rem;
    padding: 0.35rem 0.6rem;
  }
}

@media (max-width: 380px) {
  .ev-card__media {
    flex: 0 0 100px;
    width: 100px;
    min-height: 100px;
  }

  .events-hero h1.events-hero__title {
    font-size: 1.75rem;
  }
}
