.wr-videos {
  margin-top: 18px;
  color: #17202b;
}

.wr-videos-feature {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(270px, 1fr);
  border: 1px solid #dce2d4;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.wr-videos-media {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 200px;
  aspect-ratio: 16 / 9;
  background: #1c211a;
}

.wr-videos-media > iframe,
.wr-video-play,
.wr-video-play img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.wr-videos-media > iframe,
.wr-video-play {
  position: absolute;
  inset: 0;
}

.wr-video-play img { object-fit: cover; }

.wr-video-play-icon {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  padding-left: 3px;
  border: 2px solid rgba(255,255,255,.76);
  border-radius: 50%;
  color: #fff;
  background: rgba(41,58,34,.91);
  font-size: 21px;
}

.wr-video-play:hover .wr-video-play-icon { background: #17202b; }

.wr-videos-details {
  display: flex;
  container-type: inline-size;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(16px, 2.6vw, 32px);
}

.wr-video-info {
  margin: 0 0 8px;
  color: #556342;
  font-size: .8rem;
  line-height: 1.4;
}

.wr-video-name {
  margin: 0;
  font-family: "Cormorant Garamond Lokal", Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.08;
}

.wr-video-note { margin: 10px 0 0; font-size: .81rem; line-height: 1.45; color: #555b60; }
.wr-video-external { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: #3d5035; font-size: .83rem; text-underline-offset: 3px; }

.wr-videos-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.wr-videos-steps:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 4px;
}

.wr-videos-controls button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #bdc6b0;
  border-radius: 50%;
  color: #3d5035;
  background: #f0f2eb;
  cursor: pointer;
}

.wr-videos-controls button:hover { background: #dce5d4; }
.wr-videos-count { min-width: 28px; text-align: center; color: #556342; font-size: .8rem; }

.wr-videos-channel {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding-inline: 11px;
  border-radius: 999px;
  color: #fff;
  background: #46583b;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

.wr-videos-channel:hover { color: #fff; background: #33442d; }

@container (max-width: 261px) {
  .wr-videos-count { display: none; }
  .wr-videos-channel { padding-inline: 8px; }
  .wr-videos-channel span { display: none; }
}

.wr-videos-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(132px, 1fr);
  gap: 10px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  margin: 9px -4px 0;
  padding: 4px 4px 8px;
}

.wr-videos-strip li { min-width: 0; scroll-snap-align: start; }

.wr-video-choice {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  color: #17202b;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 8px;
  text-decoration: none;
}

.wr-video-choice[aria-current="true"] { border-color: #687958; background: #f4f6f1; }
.wr-video-choice:hover { border-color: #687958; }
.wr-video-choice img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.wr-video-choice > span { padding: 7px 8px 9px; font-size: .8rem; font-weight: 600; line-height: 1.35; }
.wr-videos :focus-visible { outline: 2px solid #3d5035; outline-offset: 2px; }
.wr-video-play:focus-visible { outline-offset: -5px; outline-color: #fff; }

@media (max-width: 789px) {
  .wr-videos-feature { grid-template-columns: minmax(0, 1fr); }
  .wr-video-play img { object-fit: contain; }
  .wr-videos-strip {
    grid-auto-columns: clamp(132px, 31vw, 180px);
    scrollbar-width: none;
  }
  .wr-videos-strip::-webkit-scrollbar { display: none; }
  .wr-videos-details { padding: 16px 14px; }
}

@media (max-width: 359px) {
  .wr-videos-details { padding-inline: 6px; }
}
