html {
  scroll-behavior: smooth;
}

.sr-page {
  color: #edf2fa;
  background: #080f20;
  padding-bottom: 72px;
}

.sr-hero {
  padding-top: 100px;
  padding-bottom: 64px;
}

.sr-eyebrow {
  font-size: 12px;
  letter-spacing: .15em;
  color: #67e8c8;
  font-weight: 700;
}

.sr-hero h1 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.18;
  letter-spacing: 0;
  margin: 22px 0;
}

.sr-hero p,
.sr-section p {
  color: #a9b8cf;
  line-height: 1.8;
}

.sr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.sr-button {
  display: inline-block;
  background: #63e6c1;
  color: #07201b;
  padding: 13px 22px;
  border-radius: 8px;
  font-weight: 700;
}

.sr-button--outline {
  border: 1px solid #33435e;
  background: transparent;
  color: #edf2fa;
}

.sr-section {
  padding-top: 30px;
  padding-bottom: 30px;
  scroll-margin-top: 100px;
}

.sr-section--first {
  padding-top: 64px;
}

.sr-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.sr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 340px));
  justify-content: start;
  align-items: stretch;
  gap: 22px;
}

.sr-products article {
  padding: 26px;
  border: 1px solid #26354c;
  border-radius: 8px;
  background: #101b2f;
}

.sr-products span {
  color: #67e8c8;
  font-size: 12px;
}

.sr-products h2 {
  font-size: 21px;
  margin: 14px 0;
}

.sr-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
}

.sr-section-head h2,
.sr-section-head h1,
.sr-cta h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 12px 0;
}

.sr-section-head p {
  max-width: 340px;
}

.sr-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 25px 0;
}

.sr-filters a {
  padding: 9px 18px;
  border: 1px solid #33435e;
  border-radius: 999px;
}

.sr-filters a[aria-current] {
  background: #63e6c1;
  border-color: #63e6c1;
  color: #07201b;
}

.sr-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #26354c;
  border-radius: 8px;
  background: #101b2f;
}

.sr-card__media {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #000;
}

.sr-card__media iframe,
.sr-card__media video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #000;
}

.sr-local-video {
  position: relative;
  width: 100%;
  height: 100%;
}

.sr-local-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #050a13;
  color: white;
}

.sr-local-play[hidden] {
  display: none;
}

.sr-local-play img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: .9;
  background: #000;
}

.sr-card--cardnews .sr-card__media {
  aspect-ratio: auto;
  background: #050a13;
}

.sr-cardnews {
  position: relative;
  width: 100%;
  height: auto;
}

.sr-cardnews__stage {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  padding: 0;
  border: 0;
  background: #050a13;
  cursor: pointer;
}

.sr-cardnews__image {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050a13;
}

.sr-cardnews__image.is-active {
  display: block;
}

.sr-cardnews__controls {
  display: grid;
  grid-template-columns: 34px 1fr 34px 52px 48px;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-top: 1px solid rgba(148, 163, 184, .28);
  background: #07101f;
}

.sr-cardnews__controls button {
  height: 32px;
  border: 1px solid #33435e;
  border-radius: 8px;
  background: #101b2f;
  color: #edf2fa;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.sr-cardnews__controls button[aria-pressed="true"] {
  border-color: #63e6c1;
  color: #63e6c1;
}

.sr-cardnews__controls span {
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: #d7e4f6;
}

body.sr-zoom-open {
  overflow: hidden;
}

.sr-cardnews-zoom {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 8, 18, .72);
  backdrop-filter: blur(8px);
}

.sr-cardnews-zoom[hidden] {
  display: none;
}

.sr-cardnews-zoom__dialog {
  width: min(540px, 94vw);
  max-height: 90vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #33435e;
  border-radius: 8px;
  background: #07101f;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .48);
}

.sr-cardnews-zoom__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, .28);
}

.sr-cardnews-zoom__head strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.sr-cardnews-zoom__head button {
  flex: 0 0 auto;
  height: 32px;
  padding: 0 12px;
  border: 1px solid #33435e;
  border-radius: 8px;
  background: #101b2f;
  color: #edf2fa;
  font-weight: 800;
  cursor: pointer;
}

.sr-cardnews-zoom__image-wrap {
  overflow: auto;
  background: #050a13;
}

.sr-cardnews-zoom__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  background: #050a13;
}

.sr-play {
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
  cursor: pointer;
  background: #050a13;
  color: white;
  border: 0;
}

.sr-play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
}

.sr-play__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #63e6c1;
  color: #07201b;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font-size: 22px;
}

.sr-play__label {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  font-size: 15px;
  font-weight: 700;
}

.sr-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.sr-card__tags {
  display: flex;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  color: #67e8c8;
}

.sr-card h3 {
  font-size: 20px;
  line-height: 1.45;
  margin: 12px 0 10px;
}

.sr-card p {
  font-size: 15px;
  line-height: 1.65;
}

.sr-card details {
  margin-top: auto;
  padding-top: 14px;
  font-size: 15px;
}

.sr-card summary {
  cursor: pointer;
  color: #d7e4f6;
}

.sr-description {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.sr-card__pending {
  height: 100%;
  display: grid;
  place-items: center;
  color: #a9b8cf;
}

.sr-featured {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sr-featured > .sr-eyebrow {
  display: block;
  margin-bottom: 12px;
}

.sr-featured .sr-card {
  width: min(720px, 100%);
  max-width: 720px;
}

.sr-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  border: 1px dashed #33435e;
  border-radius: 8px;
}

.sr-empty a {
  color: #67e8c8;
}

.sr-cta {
  margin-top: 32px;
  border-top: 1px solid #26354c;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #67e8c8;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .sr-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sr-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 320px));
  }

  .sr-section-head {
    display: block;
  }
}

@media (max-width: 600px) {
  .sr-hero {
    padding-top: 55px;
  }

  .sr-products {
    grid-template-columns: 1fr;
  }

  .sr-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 78vw);
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 10px;
    scroll-snap-type: x proximity;
  }

  .sr-card {
    scroll-snap-align: start;
  }

  .sr-section {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .sr-actions .sr-button {
    flex: 1;
    text-align: center;
  }

  .sr-cardnews__controls {
    grid-template-columns: 32px 1fr 32px 50px 46px;
    gap: 6px;
  }

  .sr-cardnews__controls button {
    font-size: 12px;
  }

  .sr-cardnews-zoom {
    padding: 14px;
  }

  .sr-cardnews-zoom__dialog {
    width: 94vw;
    max-height: 86vh;
  }

  .sr-cardnews-zoom__image {
    max-height: 74vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
