.camera-live-section {
  padding: clamp(36px, 3vw, 58px) clamp(18px, 4.3vw, 88px)
    clamp(72px, 6.25vw, 120px);
  background: var(--paper);
  color: #352617;
}

@media (min-width: 641px) {
  .construction:has(+ .camera-live-section) {
    height: 49.8vw;
    min-height: 0;
  }

  .construction:has(+ .camera-live-section) .construction-slider,
  .construction:has(+ .camera-live-section) .construction-card,
  .construction:has(+ .camera-live-section) .construction-card img {
    min-height: 0;
  }

  .construction:has(+ .camera-live-section) .construction-arrow {
    top: calc(9.5vw - clamp(44px, 3.125vw, 64px) / 2);
  }

  .construction + .camera-live-section .camera-live-heading {
    margin-bottom: 7.75vw;
  }
}

.construction-archive--slider {
  overflow: hidden;
  padding-bottom: 0;
}

.construction-archive--slider + .camera-live-section {
  padding-top: 7.25vw;
}

.construction-archive--slider
  + .camera-live-section
  .camera-live-heading {
  margin-bottom: 7.25vw;
}

.construction-archive-slider {
  --construction-archive-card-width: 28.3vw;
  position: relative;
  width: 100%;
  margin-top: 7.25vw;
  overflow: hidden;
  outline: none;
}

.construction-archive-track {
  display: flex;
  align-items: stretch;
  gap: 3.25vw;
  width: max-content;
  transform: translate3d(
    calc(var(--construction-archive-index) * -31.55vw),
    0,
    0
  );
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.construction-archive--slider .construction-archive-card {
  flex: 0 0 var(--construction-archive-card-width);
  width: var(--construction-archive-card-width);
}

.construction-archive-arrow {
  position: absolute;
  z-index: 3;
  top: calc(var(--construction-archive-card-width) / 3);
  right: clamp(8px, 0.65vw, 14px);
  width: clamp(62px, 4vw, 76px);
  height: clamp(62px, 4vw, 76px);
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #7c8040;
  color: #f7f5f0;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.18s ease, transform 0.18s ease;
}

.construction-archive-arrow svg {
  width: clamp(34px, 2.15vw, 42px);
  height: clamp(34px, 2.15vw, 42px);
}

.construction-archive-arrow:hover,
.construction-archive-arrow:focus-visible {
  background: #707437;
  transform: translateY(-50%) scale(1.04);
}

.construction-archive-arrow:focus-visible {
  outline: 2px solid #352617;
  outline-offset: 3px;
}

.hero-cta--plans {
  width: clamp(276px, 23vw, 442px);
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 5px;
  background: transparent;
  box-shadow: 0 8px 22px rgba(46, 40, 31, 0.13);
}

.hero-cta--plans:hover,
.hero-cta--plans:focus-visible {
  background: transparent;
}

.hero-cta--plans picture,
.hero-cta--plans img {
  display: block;
  width: 100%;
  height: auto;
}

.camera-live-heading {
  max-width: 1240px;
  margin: 0 auto clamp(30px, 2.7vw, 52px);
  text-align: center;
}

.camera-live-heading h2 {
  margin: 0;
  font-size: clamp(42px, 4.1vw, 78px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.camera-live-frame {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: #171713;
}

.camera-live-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  transition: filter 0.45s ease, transform 0.45s ease;
}

.camera-live-section:not(.camera-live-section--playing)
  .camera-live-frame
  iframe {
  filter: blur(6px) brightness(0.72);
  transform: scale(1.025);
}

.camera-live-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 0;
  background: rgba(31, 29, 22, 0.16);
  color: #fff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
}

.camera-live-play {
  position: relative;
  width: clamp(68px, 5.2vw, 100px);
  height: clamp(68px, 5.2vw, 100px);
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: #7c8040;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.2);
  transition: background 0.18s ease, transform 0.18s ease;
}

.camera-live-play::after {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid #fff;
  content: '';
  transform: translate(-42%, -50%);
}

.camera-live-cover:hover .camera-live-play,
.camera-live-cover:focus-visible .camera-live-play {
  background: #727737;
  transform: scale(1.04);
}

.camera-live-cover:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -5px;
}

.camera-live-cover strong {
  font-size: clamp(28px, 2vw, 40px);
  font-weight: 500;
  line-height: 1;
}

@media (max-width: 520px) {
  .construction:has(+ .camera-live-section) .construction-arrow {
    top: 37.37vw;
  }

  .construction + .camera-live-section .camera-live-heading {
    margin-bottom: 24.8vw;
  }

  .hero-cta--plans {
    width: min(54.6875vw, 262.5px);
    min-height: 0;
    padding: 0;
  }

  .construction-archive--slider {
    padding-bottom: 0;
  }

  .construction-archive--slider + .camera-live-section {
    padding-top: 17.5vw;
  }

  .construction-archive--slider
    + .camera-live-section
    .camera-live-heading {
    margin-bottom: 17.5vw;
  }

  .construction-archive-slider {
    --construction-archive-card-width: 93.75vw;
    margin-top: 17.5vw;
  }

  .construction-archive-track {
    gap: 3.125vw;
    transform: translate3d(
      calc(var(--construction-archive-index) * -96.875vw),
      0,
      0
    );
  }

  .construction-archive-arrow {
    top: calc(var(--construction-archive-card-width) / 2.7);
    right: 8px;
    width: 52px;
    height: 52px;
  }

  .construction-archive-arrow svg {
    width: 29px;
    height: 29px;
  }

  .camera-live-section {
    padding: 44px 16px 72px;
  }

  .camera-live-heading {
    margin-bottom: 28px;
  }

  .camera-live-heading h2 {
    font-size: clamp(27px, 8.7vw, 35px);
    line-height: 0.95;
  }

  .camera-live-frame {
    border-radius: 8px;
  }

  .camera-live-play {
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
  }

  .camera-live-play::after {
    border-top-width: 8px;
    border-bottom-width: 8px;
    border-left-width: 13px;
  }

  .camera-live-cover strong {
    font-size: 23px;
  }

}
