.rweds {
  box-sizing: border-box;
  --rweds-card-bg: #0d1117;
  --rweds-ink: #f5f5f1;
  --rweds-border: transparent;
  --rweds-card-h: 75vh;
  --rweds-card-radius: 18px;
  --rweds-media-w: 45%;
  background: transparent !important;
  padding: clamp(18px, 3vw, 52px);
  width: 100%;
}
.rweds * {
  box-sizing: border-box;
}
.rweds-stack {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin: 0 auto;
  max-width: 1500px;
  padding-bottom: 12vh;
  position: relative;
}
.rweds-card {
  background: var(--rweds-local-bg, var(--rweds-card-bg));
  border: 1px solid var(--rweds-border);
  border-radius: var(--rweds-card-radius);
  color: var(--rweds-local-ink, var(--rweds-ink));
  display: grid;
  grid-template-columns: minmax(0, calc(100% - var(--rweds-media-w))) minmax(
      300px,
      var(--rweds-media-w)
    );
  height: var(--rweds-card-h);
  margin: 0;
  min-height: 540px;
  overflow: hidden;
  position: sticky;
  top: 56px;
  transform-origin: center;
  will-change: transform, filter, box-shadow;
}
.rweds-copy {
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-width: 0;
  padding: clamp(28px, 4vw, 70px);
}
.rweds-top {
  align-items: center;
  display: flex;
  font: 600 11px/1 monospace;
  gap: 25px;
  text-transform: uppercase;
}
.rweds-top span {
  border: 1px solid currentColor;
  border-radius: 999px;
  display: grid;
  height: 26px;
  place-items: center;
  width: 44px;
}
.rweds-top p {
  margin: 0;
}
.rweds-title {
  font-size: clamp(46px, 5vw, 82px);
  font-weight: 500;
  line-height: 0.92;
  margin: clamp(38px, 6vh, 76px) 0 0;
  max-width: 820px;
}
.rweds-title em {
  font-style: normal;
}
.rweds-bottom {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.rweds-description {
  color: color-mix(in srgb, currentColor 68%, transparent);
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.48;
  margin: 24px 0 0;
  max-width: 520px;
}
.rweds-description strong {
  color: currentColor;
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}
.rweds-button-wrap {
  margin-top: auto;
  padding-top: 28px;
}
.rweds-button {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 7px;
  color: inherit;
  display: flex;
  font: 600 10px/1 monospace;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 18px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.rweds-media {
  --rweds-media-pt: 0px;
  --rweds-media-pr: 0px;
  --rweds-media-pb: 0px;
  --rweds-media-pl: 0px;
  border-radius: 10px;
  height: auto;
  margin: clamp(26px, 3vw, 48px) clamp(26px, 3vw, 48px) clamp(26px, 3vw, 48px) 0;
  overflow: hidden;
  position: relative;
}
.rweds-media:after {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}
.rweds-media img,
.rweds-media video {
  display: block;
  position: absolute;
  top: var(--rweds-media-pt);
  right: auto;
  bottom: auto;
  left: var(--rweds-media-pl);
  height: calc(100% - var(--rweds-media-pt) - var(--rweds-media-pb)) !important;
  max-height: none;
  max-width: none;
  object-fit: cover;
  transform: scale(1.035);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  width: calc(100% - var(--rweds-media-pl) - var(--rweds-media-pr)) !important;
}
.rweds-card:hover .rweds-media img,
.rweds-card:hover .rweds-media video {
  transform: scale(1.075);
}
@media (max-width: 900px) {
  .rweds {
    padding: 0 12px;
  }
  .rweds-stack {
    align-items: center;
    gap: 80px;
    padding-bottom: 8vh;
    width: 100%;
  }
  .rweds-card {
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 75svh;
    top: 56px;
    width: 100%;
  }
  .rweds-media {
    aspect-ratio: 1/1;
    flex: 0 0 auto;
    height: auto;
    margin: 20px 20px 0;
    order: -1;
    width: auto;
  }
  .rweds-copy {
    display: grid;
    flex: 1;
    height: auto;
    min-height: 300px;
    padding: 22px 24px 24px;
  }
  .rweds-top {
    gap: 12px;
  }
  .rweds-top span {
    height: 23px;
    width: 38px;
  }
  .rweds-title {
    font-size: clamp(35px, 10.2vw, 44px);
    line-height: 0.94;
    margin: 22px 0 0;
  }
  .rweds-description {
    font-size: 13px;
    line-height: 1.38;
    margin-top: 12px;
  }
  .rweds-description strong {
    margin-bottom: 4px;
  }
  .rweds-button-wrap {
    margin-top: auto;
    padding-top: 28px;
  }
  .rweds-button {
    min-height: 42px;
    padding: 0 14px;
    width: max-content;
  }
}
@media (max-width: 900px) {
  .rweds--mobile-static .rweds-card {
    position: relative;
    top: auto !important;
    transform: none !important;
    filter: none !important;
    will-change: auto;
  }
  .rweds--mobile-static .rweds-stack {
    padding-bottom: 0;
  }
}
@media (max-width: 380px) {
  .rweds-title {
    font-size: 34px;
  }
  .rweds-description {
    font-size: 12px;
  }
  .rweds-copy {
    min-height: 286px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rweds-card,
  .rweds-media img,
  .rweds-media video {
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }
}
