.pd-video {
  --pd-foreground: #1c1c1c;
  --pd-secondary: #6e6e6e;
  --pd-accent: #c6a75e;
  --pd-border-dark: rgba(28, 28, 28, 0.1);
  --pd-font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-family: var(--pd-font-family);
  -webkit-font-smoothing: antialiased;
}

.pd-video.video-section {
  background-color: #ffffff;
  padding: 6rem 1.5rem;
}

.pd-video .video-container {
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .pd-video.video-section {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

.pd-video .section-heading {
  color: var(--pd-foreground);
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: 0.25em;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.2;
}

@media (max-width: 1024px) {
  .pd-video .section-heading {
    letter-spacing: 0.14em;
    line-height: 1.18;
  }
}

@media (max-width: 767px) {
  .pd-video .section-heading {
    font-size: clamp(1.9rem, 10vw, 2.7rem);
    letter-spacing: 0.1em;
    line-height: 1.3;
  }
}

.pd-video .video-max-wrapper {
  max-width: 64rem;
  margin: 0 auto;
}

.pd-video .video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--pd-border-dark);
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.pd-video .video-card:focus {
  outline: none;
}

.pd-video .video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  transition: transform 0.5s ease;
}

.pd-video .video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.pd-video .video-card.is-playing .video-overlay,
.pd-video .video-card.is-playing .play-button-wrapper,
.pd-video .video-card.is-playing .click-to-watch-container {
  display: none;
}

.pd-video .video-card.is-playing .video-thumbnail {
  opacity: 0;
}

.pd-video .video-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}

.pd-video .video-card:hover .video-overlay {
  background-color: rgba(0, 0, 0, 0.5);
}

.pd-video .play-button-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-video .play-button-relative {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-video .play-ring {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--pd-accent);
  animation: pd-gentle-pulse 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.pd-video .play-circle {
  position: relative;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: var(--pd-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  z-index: 2;
  transition: transform 0.3s ease;
}

.pd-video .video-card:hover .play-circle {
  transform: scale(1.05);
}

.pd-video .play-triangle {
  width: 0;
  height: 0;
  margin-left: 0.25rem;
  border-left: 16px solid #ffffff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.pd-video .click-to-watch-container {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.pd-video .click-text {
  color: #ffffff;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  font-weight: 300;
}

.pd-video .video-caption {
  text-align: center;
  color: var(--pd-secondary);
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  margin-top: 1.5rem;
}

@keyframes pd-gentle-pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.3;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}
