.home-hero {
  position: relative;
}

.home-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
}

.home-hero__content {
  max-width: 38rem;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
  margin-bottom: var(--space-3);
}

.home-hero__disclaimer {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  max-width: 46rem;
}

.home-hero__media {
  justify-self: center;
}

.home-hero__image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.home-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.home-section-header--stacked {
  align-items: flex-start;
}

.home-section-header__cta {
  flex-shrink: 0;
}

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

.home-event-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
}

.home-event-card__meta-date {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.home-event-card__footer {
  margin-top: var(--space-4);
}

.home-event-card__media {
  width: 100%;
  max-width: 260px;
}

.home-event-card__image-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.home-event-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-events-calendar-cta {
  margin-top: var(--space-8);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 55%), var(--gray-100);
  box-shadow: var(--shadow-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-5);
}

.home-events-calendar-cta__text {
  max-width: 40rem;
}

.home-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.home-venues-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: var(--space-8);
  align-items: center;
}

.home-venues-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.home-venues-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-poker-layout {
  margin-top: var(--space-4);
}

.home-poker-card__eyebrow {
  margin-bottom: var(--space-3);
}

.home-poker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.home-poker-card__disclaimer {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.home-poker-card__cta-row {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.home-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.home-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.home-legal-note {
  margin-top: var(--space-6);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background-color: rgba(239, 227, 210, 0.8);
  font-size: var(--font-size-sm);
}

.home-team-card,
.home-step-card,
.home-poker-card,
.home-event-card {
  height: 100%;
}

@media (max-width: 1024px) {
  .home-hero__layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .home-events-grid,
  .home-why-grid,
  .home-team-grid,
  .home-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-venues-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-venues-media {
    order: -1;
  }
}

@media (max-width: 768px) {
  .home-hero__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-events-grid,
  .home-why-grid,
  .home-team-grid,
  .home-steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-poker-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-events-calendar-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .home-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
