.wg-hero {
  padding: 4.5rem 0;
}

.wg-kicker,
.wg-card__meta,
.wg-meta,
.wg-credit,
.wg-breadcrumbs {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wg-kicker,
.wg-card__meta,
.wg-meta {
  font-size: 0.82rem;
  opacity: 0.82;
}

.wg-copy {
  max-width: 52rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.wg-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  font-size: 0.78rem;
}

.wg-breadcrumbs a,
.wg-breadcrumbs span {
  color: inherit;
}

.wg-section {
  padding: 4.5rem 0;
}

.wg-grid {
  display: grid;
  gap: 1.5rem;
}

.wg-grid--cards {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.wg-grid--media {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.wg-card,
.wg-media-card,
.wg-empty,
.wg-detail {
  background: #fff;
  overflow: hidden;
}

.wg-card {
  position: relative;
}

.wg-card__title a,
.wg-media-card__button,
.wg-media-card__body a {
  color: inherit;
}

.wg-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.wg-card__title a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.wg-card__image,
.wg-media-card__button {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #fff;
  overflow: hidden;
  border: none;
}

.wg-card__image img,
.wg-media-card__button img,
.wg-detail__media img,
.wg-detail__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wg-card__body,
.wg-media-card__body,
.wg-detail__meta {
  padding: 1.75rem 0 0;
}

.wg-card__title,
.wg-media-card__body h2,
.wg-detail__meta h2 {
  margin-bottom: 0.75rem;
}

.wg-placeholder,
.wg-empty {
  display: grid;
  place-items: center;
  min-height: 14rem;
  padding: 2rem 0;
  text-align: center;
  color: inherit;
}

.wg-play {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: var(--base-color);
  color: #fff;
  padding: 0.45rem 0.9rem;
  font-size: 0.78rem;
}

.wg-actions {
  margin-bottom: 2rem;
}

.wg-detail {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
}

.wg-detail__media {
  min-height: 24rem;
  background: #fff;
}

.wg-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

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

.wg-lightbox[hidden] {
  display: none;
}

.wg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.wg-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: var(--black);
  opacity: 0.85;
}

.wg-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 1440px);
  max-height: 92vh;
  background: #fff;
  color: inherit;
  overflow: hidden;
}

.wg-lightbox__content {
  min-height: 55vh;
  display: grid;
  place-items: center;
  background: #fff;
}

.wg-lightbox__content img,
.wg-lightbox__content video,
.wg-lightbox__content iframe {
  max-width: 100%;
  max-height: 72vh;
}

.wg-lightbox__content iframe {
  width: min(100%, 1100px);
  aspect-ratio: 16 / 9;
  border: 0;
}

.wg-lightbox__caption {
  padding: 1.25rem 4rem 1.5rem;
  text-align: right;
}

.wg-lightbox__download {
  position: absolute;
  left: 1.5rem;
  bottom: 1rem;
  z-index: 2;
  margin: 0;
}

.wg-download {
  display: inline-block;
  background: var(--base-color);
  color: #fff;
  padding: 0.55rem 0.9rem;
}

.wg-lightbox__close,
.wg-lightbox__nav {
  position: absolute;
  z-index: 2;
  border: 0;
  background: var(--base-color);
  color: #fff;
}

.wg-lightbox__close {
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.6rem;
}

.wg-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  font-size: 2rem;
}

.wg-lightbox__nav--prev {
  left: 1rem;
}

.wg-lightbox__nav--next {
  right: 1rem;
}

@media (max-width: 991px) {
  .wg-hero {
    padding-top: 7rem;
  }

  .wg-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .wg-section {
    padding: 3rem 0;
  }

  .wg-media-card__button,
  .wg-media-card__body a {
    pointer-events: none;
    cursor: default;
  }

  .wg-lightbox__caption {
    padding: 1rem 1.25rem 1.25rem;
  }

  .wg-lightbox {
    padding: 1rem;
  }

  .wg-lightbox__nav {
    display: none;
  }
}
