.events-section {
  background:
    radial-gradient(circle at 12% 0, rgba(212, 165, 116, .13), transparent 33%),
    linear-gradient(145deg, #09182b 0%, #102d4d 100%) !important;
}

.events-header {
  max-width: 760px;
  margin-inline: auto;
}

.events-title {
  margin-top: 10px !important;
  line-height: 1.38 !important;
}

.events-subtitle {
  max-width: 620px;
  margin: 18px auto 0;
  line-height: 1.9;
}

.home-events-intro {
  display: flex;
  max-width: 1140px;
  margin: 0 auto 22px;
  padding-bottom: 14px;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.home-events-intro p,
.home-events-intro span {
  margin: 0;
}

.home-events-intro p {
  color: #e1b57a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .19em;
}

.home-events-intro span {
  max-width: 560px;
  color: rgba(255, 255, 255, .57);
  font-size: 12px;
  text-align: right;
}

.home-event-grid {
  display: grid;
  max-width: 1140px;
  margin: 0 auto;
  grid-template-columns: 1.18fr .91fr .91fr;
  gap: 16px;
}

.home-event-card {
  position: relative;
  display: grid;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 4px 24px 4px 24px;
  background: #132a44;
  color: #fff;
  isolation: isolate;
  text-decoration: none;
  transition: transform 220ms ease, border-color 220ms ease;
}

.home-event-card:first-child {
  min-height: 400px;
}

.home-event-card:hover {
  transform: translateY(-6px);
  border-color: rgba(225, 181, 122, .62);
}

.home-event-card img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 44%;
  transition: transform 450ms ease;
}

.home-event-card:hover img {
  transform: scale(1.035);
}

.home-event-card:first-child img {
  object-position: 50% 64%;
}

.home-event-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 14, 25, .96) 0%, rgba(5, 14, 25, .5) 53%, rgba(5, 14, 25, .08) 100%);
  content: '';
}

.home-event-card__content {
  display: flex;
  padding: clamp(24px, 3vw, 36px);
  flex-direction: column;
  align-self: end;
}

.home-event-card__tag {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 999px;
  color: #f1c98f;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
}

.home-event-card h3 {
  margin: 0;
  color: #fff;
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.42;
}

.home-event-card p {
  margin: 12px 0 18px;
  color: rgba(255, 255, 255, .73);
  font-size: 12px;
  line-height: 1.85;
}

.home-event-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, .68);
  font-size: 10px;
}

.home-event-card__meta b {
  color: #fff;
  font-size: 16px;
}

.home-event-skeleton {
  min-height: 360px;
  border-radius: 4px 24px 4px 24px;
  background: linear-gradient(110deg, rgba(255,255,255,.05) 20%, rgba(255,255,255,.11) 36%, rgba(255,255,255,.05) 52%);
  background-size: 220% 100%;
  animation: home-event-loading 1.5s linear infinite;
}

@keyframes home-event-loading {
  to { background-position-x: -220%; }
}

@media (max-width: 920px) {
  .home-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-event-card:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .home-events-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .home-events-intro span {
    text-align: left;
  }

  .home-event-grid {
    display: flex;
    width: calc(100% + 20px);
    overflow-x: auto;
    padding: 2px 20px 18px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .home-event-grid::-webkit-scrollbar {
    display: none;
  }

  .home-event-card,
  .home-event-card:first-child,
  .home-event-skeleton {
    width: min(82vw, 340px);
    min-width: min(82vw, 340px);
    min-height: 365px;
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-event-skeleton {
    animation: none;
  }
}
