.festival-video {
  position: relative;
  isolation: isolate;
  min-width: 0;
  width: 100%;
  min-height: 320px;
  aspect-ratio: 548 / 342;
  overflow: hidden;
  border-radius: 14px;
  background: #071b22;
  box-shadow: 0 18px 34px #513a2020;
}

.festival-video__art,
.festival-video__scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.festival-video__scene img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% 50%;
}

.festival-video::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, #071b2200 0%, #071b2270 27%, #071b22ed 65%, #071b22 100%);
}

.festival-video__link {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 13px;
  min-height: inherit;
  height: 100%;
  padding: clamp(22px, 2.6vw, 34px);
  color: #fff3d7;
  text-decoration: none;
}

.festival-video__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ffdfab;
  font: 750 14px/1.4 var(--sans, system-ui, sans-serif);
}

.festival-video__icon {
  flex: none;
  width: 25px;
  height: 18px;
}

.festival-video__headlines {
  display: grid;
  align-items: end;
  width: 100%;
  min-height: 2.2em;
  font: 700 clamp(28px, 2.9vw, 42px)/1.08 var(--serif, Georgia, serif);
  letter-spacing: -0.035em;
  text-wrap: balance;
  text-shadow: 0 2px 14px #071b22;
}

.festival-video__headlines > span {
  grid-area: 1 / 1;
}

.festival-video__cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 19px;
  border-radius: 99px;
  background: #ffdfab;
  color: #172a2b;
  font: 750 14px/1.4 var(--sans, system-ui, sans-serif);
}

.festival-video__link:hover .festival-video__cta {
  background: #fff3d7;
}

.festival-video__pause {
  position: absolute;
  z-index: 3;
  right: 15px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid #ffe4b599;
  border-radius: 50%;
  background: #071b22ed;
  color: #fff3d7;
  font: 700 18px/1 "Segoe UI Symbol", system-ui, sans-serif;
  cursor: pointer;
}

.festival-video__pause:hover {
  background: #214045;
}

.festival-video__link:focus-visible {
  outline: 3px solid #ffdfab;
  outline-offset: -5px;
  border-radius: inherit;
}

.festival-video__pause:focus-visible {
  outline: 3px solid #ffdfab;
  outline-offset: 3px;
}

.festival-video [hidden] {
  display: none;
}

.festival-video__headlines > [hidden] {
  display: block;
  visibility: hidden;
}

html[lang="zh-CN"] .festival-video__headlines {
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  line-height: 1.2;
  letter-spacing: 0;
}

@media (max-width: 880px) {
  .festival-video__link {
    padding: 22px;
  }

  .festival-video__headlines {
    font-size: 29px;
  }
}

@media (max-width: 600px) {
  .festival-video {
    min-height: 310px;
  }

  .festival-video__headlines {
    font-size: clamp(29px, 7.5vw, 39px);
  }
}
