.species-story-video.species-story-video--compact {
  max-width: none;
  margin: 12px 0 18px;
}

.product-farm-video-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--water);
  font-size: 15px;
  font-weight: 800;
  text-underline-offset: 3px;
}

.species-story-video.species-story-video--compact figcaption {
  margin-top: 0;
  font-size: 12px;
  line-height: 1.5;
}

.product-video-dialog {
  width: max-content;
  min-width: min(280px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  box-sizing: border-box;
  margin: auto;
  padding: 12px;
  overflow: auto;
  color: var(--paper);
  background: #102c32;
  border: 1px solid #40636a;
  border-radius: 8px;
}

.product-video-dialog::backdrop {
  background: rgba(3, 14, 18, 0.9);
}

.product-video-dialog-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.product-video-dialog .product-video-dialog-heading h2 {
  min-width: 0;
  margin: 0;
  color: var(--paper);
  font-size: 14px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.product-video-dialog-heading button {
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-radius: 4px;
  font-size: 20px;
}

.product-video-frame {
  margin: 0 auto;
  max-width: 100%;
  background: #000;
}

.product-video-dialog .product-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
}

.product-video-dialog-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #e0efea;
  font-size: 12px;
  text-underline-offset: 3px;
}

.product-farm-video-link:focus-visible,
.product-video-dialog button:focus-visible,
.product-video-dialog a:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 2px;
}
