.home-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.home-holiday-media {
  width: 280px;
  height: 180px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  background: var(--surface);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-holiday-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.home--holiday-active {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.home--holiday-active::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    120deg,
    var(--holiday-c1, #ffd166),
    var(--holiday-c2, #ef476f),
    var(--holiday-c3, #06d6a0),
    var(--holiday-c4, #118ab2)
  );
  background-size: 260% 260%;
  animation: holiday-gradient-slide var(--holiday-duration, 16s) ease infinite;
  opacity: 0.16;
}

.home--holiday-active > * {
  position: relative;
  z-index: 1;
}

@keyframes holiday-gradient-slide {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (max-width: 900px) {
  .home-hero {
    flex-direction: column;
  }

  .home-holiday-media {
    width: 100%;
    max-width: 420px;
    height: auto;
    aspect-ratio: 14 / 9;
  }
}
