.events-page .inner-main {
  width: 100%;
  max-width: none;
  padding: 0;
}

.events-home-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: 480px;
  overflow: hidden;
  background: #0f121d var(--events-cover) center/cover;
  color: #fff;
}

.events-home-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 10, 16, 0.94) 0%, rgba(14, 18, 30, 0.78) 50%, rgba(14, 18, 30, 0.25) 100%),
              linear-gradient(0deg, rgba(8, 10, 16, 0.6) 0%, transparent 60%);
}

.events-home-copy {
  position: relative;
  z-index: 1;
  width: min(1300px, calc(100% - 48px));
  margin: 0 auto;
  padding: 80px 0 64px;
}

.events-home-copy > span,
.events-home-heading > div > span {
  display: inline-block;
  color: #60a5fa;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.events-home-copy h1 {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.events-home-copy p {
  max-width: 620px;
  margin: 0 0 28px;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.6;
}

.events-live-search {
  display: flex;
  width: min(720px, 100%);
  height: 52px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.events-live-search i {
  display: grid;
  place-items: center;
  width: 52px;
  color: #64748b;
  font-size: 20px;
  font-style: normal;
}

.events-live-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 14px 0 0;
  font-size: 14px;
  color: #0f172a;
}

.events-live-search button {
  width: 100px;
  border: 0;
  background: var(--astro-blue, #063eff);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.events-live-search button:hover {
  background: #002fc7;
}

.events-home-catalog {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.events-home-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.events-home-heading h2 {
  margin: 4px 0 6px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.events-home-heading p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.events-home-heading > b {
  padding: 8px 16px;
  background: #0f172a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.events-home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.events-home-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.events-home-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
  border-color: #cbd5e1;
}

.events-home-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

.events-home-cover:after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.8));
}

.events-home-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.events-home-card:hover .events-home-cover img {
  transform: scale(1.04);
}

.events-home-cover > span {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  background: rgba(15, 23, 42, 0.88);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  border-radius: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.events-home-cover > i {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 12px;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s;
}

.events-home-card:hover .events-home-cover > i {
  opacity: 1;
  transform: translateX(0);
}

.events-home-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
  gap: 8px;
}

.events-home-info > small {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.events-home-info h2 {
  margin: 2px 0 6px;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.events-home-info > p {
  margin: 0 0 12px;
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
  flex: 1;
}

.events-home-info > div {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  color: #64748b;
  font-size: 13px;
}

.events-home-info > div span b {
  color: #0f172a;
  font-weight: 700;
}

.events-home-info > div strong {
  margin-left: auto;
  color: var(--astro-blue, #063eff);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.events-no-results {
  padding: 65px 20px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.events-no-results h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
}

.events-no-results p {
  color: #64748b;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .events-home-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .events-home-hero {
    min-height: 420px;
  }
  .events-home-copy {
    padding: 60px 0 40px;
  }
  .events-home-copy h1 {
    font-size: 32px;
  }
  .events-home-grid {
    grid-template-columns: 1fr;
  }
}
