:root {
  color-scheme: dark;
  --vw-bg: #08090a;
  --vw-surface: #111315;
  --vw-surface-2: #17191b;
  --vw-border: rgba(255, 255, 255, .13);
  --vw-text: #f6f6f3;
  --vw-muted: #aaaead;
  --vw-yellow: #ffdc21;
  --vw-teal: #25bcac;
  --vw-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--vw-bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--vw-bg);
  color: var(--vw-text);
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

img,
video,
iframe {
  display: block;
  max-width: 100%;
}

.video-shell {
  width: min(var(--vw-width), calc(100% - 40px));
  margin-inline: auto;
}

.video-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--vw-border);
  background: rgba(8, 9, 10, .96);
}

.video-header__inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
}

.video-brand img {
  width: 164px;
  height: auto;
}

.video-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.video-nav a,
.video-footer a,
.video-language a {
  text-decoration: none;
}

.video-nav a {
  color: #d7d8d7;
  font-size: 14px;
  font-weight: 700;
}

.video-nav a:hover,
.video-nav a.is-current {
  color: var(--vw-yellow);
}

.video-language {
  position: relative;
}

.video-language summary {
  width: 44px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--vw-border);
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  list-style: none;
}

.video-language summary::-webkit-details-marker {
  display: none;
}

.video-language__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  overflow: hidden;
  border: 1px solid var(--vw-border);
  border-radius: 6px;
  background: #161819;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .45);
}

.video-language__menu a {
  display: block;
  padding: 10px 13px;
  color: #ddd;
  font-size: 14px;
}

.video-language__menu a:hover,
.video-language__menu a[aria-current="page"] {
  background: #252829;
  color: var(--vw-yellow);
}

.video-watch,
.video-library {
  padding-top: 28px;
  padding-bottom: 70px;
}

.video-breadcrumbs {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 22px;
  color: #969b99;
  font-size: 13px;
}

.video-breadcrumbs a {
  text-decoration: none;
}

.video-breadcrumbs a:hover {
  color: var(--vw-yellow);
}

.video-watch__heading,
.video-library__heading {
  max-width: 920px;
}

.video-eyebrow {
  margin: 0 0 8px;
  color: var(--vw-yellow);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(31px, 4.4vw, 54px);
  line-height: 1.08;
}

.video-watch__heading > p:last-child,
.video-library__heading > p:last-child {
  max-width: 830px;
  margin: 18px 0 0;
  color: var(--vw-muted);
  font-size: 18px;
}

.video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-top: 26px;
  border: 1px solid rgba(255, 220, 33, .38);
  border-radius: 8px;
  background: #000;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .46);
}

.video-player video,
.video-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}

.video-watch__details {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, .75fr);
  gap: 44px;
  padding: 38px 0 8px;
}

.video-watch__details section,
.video-watch__details aside {
  min-width: 0;
}

.video-watch__details aside {
  padding-left: 26px;
  border-left: 2px solid var(--vw-yellow);
}

.video-watch__details h2,
.video-library__group h2 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.2;
}

.video-watch__details ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: #d7d9d8;
}

.video-watch__details li::marker {
  color: var(--vw-yellow);
}

.video-watch__details aside p {
  margin: 0;
  color: var(--vw-muted);
}

.video-watch__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.video-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--vw-border);
  border-radius: 6px;
  background: #151719;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.video-button:hover {
  border-color: rgba(255, 220, 33, .65);
}

.video-button--primary {
  border-color: #d2ba18;
  background: var(--vw-yellow);
  color: #111;
}

.video-library {
  padding-top: 52px;
}

.video-library__heading {
  margin-bottom: 52px;
}

.video-library__group + .video-library__group {
  margin-top: 58px;
}

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

.video-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--vw-border);
  border-radius: 8px;
  background: var(--vw-surface);
}

.video-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.video-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .24s ease;
}

.video-card:hover .video-card__media img {
  transform: scale(1.025);
}

.video-card__play {
  position: absolute;
  left: 16px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--vw-yellow);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .44);
}

.video-card__play::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 12px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #111;
}

.video-card__duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(0, 0, 0, .84);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.video-card__body {
  padding: 19px 19px 20px;
}

.video-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.video-card h3 a {
  text-decoration: none;
}

.video-card h3 a:hover {
  color: var(--vw-yellow);
}

.video-card p {
  display: -webkit-box;
  min-height: 66px;
  margin: 12px 0 18px;
  overflow: hidden;
  color: var(--vw-muted);
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.video-card__link {
  color: var(--vw-yellow);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.video-footer {
  border-top: 1px solid var(--vw-border);
  background: #0c0e0f;
}

.video-footer__inner {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.video-footer img {
  width: 145px;
  height: auto;
}

.video-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
}

.video-footer nav a {
  color: #a8acab;
  font-size: 14px;
}

.video-footer nav a:hover {
  color: var(--vw-yellow);
}

@media (max-width: 900px) {
  .video-header__inner {
    gap: 16px;
  }

  .video-nav {
    gap: 16px;
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-watch__details {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .video-watch__details aside {
    padding: 20px 0 0;
    border-top: 2px solid var(--vw-yellow);
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .video-shell {
    width: min(100% - 24px, var(--vw-width));
  }

  .video-header__inner {
    min-height: 66px;
    grid-template-columns: 1fr auto;
  }

  .video-brand img {
    width: 142px;
  }

  .video-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    gap: 0;
    overflow-x: auto;
    padding: 0 0 11px;
    scrollbar-width: none;
  }

  .video-nav::-webkit-scrollbar {
    display: none;
  }

  .video-nav a {
    flex: 0 0 auto;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-left: 1px solid var(--vw-border);
  }

  .video-nav a:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .video-watch,
  .video-library {
    padding-top: 22px;
    padding-bottom: 48px;
  }

  .video-breadcrumbs {
    margin-bottom: 17px;
  }

  h1 {
    font-size: 32px;
  }

  .video-watch__heading > p:last-child,
  .video-library__heading > p:last-child {
    margin-top: 14px;
    font-size: 16px;
  }

  .video-player {
    margin-top: 20px;
    border-radius: 5px;
  }

  .video-watch__details {
    padding-top: 28px;
  }

  .video-watch__details h2,
  .video-library__group h2 {
    font-size: 21px;
  }

  .video-watch__actions,
  .video-button {
    width: 100%;
  }

  .video-library {
    padding-top: 34px;
  }

  .video-library__heading {
    margin-bottom: 38px;
  }

  .video-library__group + .video-library__group {
    margin-top: 42px;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .video-card p {
    min-height: auto;
  }

  .video-footer__inner {
    min-height: 138px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 17px;
  }

  .video-footer nav {
    justify-content: flex-start;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
