.sv-lazy-media {
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin: 0.75rem 0;
}
.sv-lazy-media--video {
  max-width: min(100%, var(--sv-lazy-width, 720px));
}
.sv-lazy-media__placeholder {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.25rem;
  border: 1px solid #dce3d7;
  border-radius: 8px;
  background: #f5f8f3;
  text-align: center;
}
.sv-lazy-media__placeholder[hidden] {
  display: none !important;
}
.sv-lazy-media--video .sv-lazy-media__placeholder {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 190px;
  background: linear-gradient(125deg, #263b31, #526c56 58%, #263b31);
  border-color: #b5c7b1;
}
.sv-lazy-media--video .sv-lazy-media__placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(0,0,0,.13), rgba(0,0,0,.15) 48%, rgba(0,0,0,.48));
  pointer-events: none;
}
.sv-lazy-media__poster {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .2s ease;
}
.sv-lazy-media__poster--ready { opacity: 1; }
.sv-lazy-media--document .sv-lazy-media__placeholder {
  min-height: 125px;
}
.sv-lazy-media__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.4rem;
  border: 0;
  border-radius: 5px;
  background-color: #6cb53f;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  cursor: pointer;
}
.sv-lazy-media--video .sv-lazy-media__button {
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.sv-lazy-media--video .sv-lazy-media__button::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-right: 0.7rem;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}
.sv-lazy-media__button:hover,
.sv-lazy-media__button:focus-visible {
  background-color: #559c30;
  color: #fff;
}
.sv-lazy-media__button:focus-visible,
.sv-lazy-media__fallback:focus-visible {
  outline: 2px solid #d4f3c0;
  outline-offset: 3px;
}
.sv-lazy-media__fallback {
  font-size: 0.85rem;
  text-decoration: underline;
}
.sv-lazy-media--video .sv-lazy-media__fallback {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.sv-lazy-media__target {
  display: block;
  width: 100%;
}
.sv-lazy-media__target iframe {
  max-width: 100%;
}
@media (prefers-reduced-motion: reduce) {
  .sv-lazy-media__poster { transition: none; }
}
