/* Assets page. Local preview only — original.html must not load this file. */

body[data-bd-edition="assets"] {
  --bd-bg-page: #F6F6F7;
  --bd-content: 1280px;
}

/* Nav is fixed: 8px top offset + 80px bar. 160px leaves 72px below it. */
body[data-bd-edition="assets"] .bd-page {
  padding-top: 160px;
  padding-bottom: 96px;
}

.bd-assets__tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 60px;
}

.bd-assets__tab {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  margin: 0;
  padding: 16px 24px;
  border: 1px solid #dcdce0;
  border-radius: 12px;
  background: #ebebee;
  color: #000;
  font: inherit;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.bd-assets__tab:hover {
  border-color: #c8c8ce;
  background: #e2e2e6;
}

.bd-assets__tab[aria-selected="true"],
.bd-assets__tab[aria-selected="true"]:hover {
  border-color: #b9b9c1;
  background: #cfcfd6;
  color: #000;
}

.bd-assets__tab:focus-visible {
  outline: 2px solid #252b37;
  outline-offset: 3px;
}

@media (max-width: 1023px) {
  .bd-assets__tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body[data-bd-edition="assets"] .bd-page {
    padding-top: 144px;
  }

  .bd-assets__tab {
    min-height: 64px;
    padding: 12px 16px;
    font-size: 16px;
  }
}

.bd-assets__item + .bd-assets__item {
  margin-top: 60px;
}

.bd-assets__bar {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 8px;
}

.bd-assets__download {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bd-link, #2563EB);
  text-decoration: none;
}

.bd-assets__download:hover {
  text-decoration: underline;
}

.bd-assets__frame {
  position: relative;
}

.bd-assets__video {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.bd-assets__cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 24px;
  border: 0;
  background: #fff;
  color: #000;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  font-optical-sizing: auto;
}

.bd-assets__mark {
  display: block;
  width: 64px;
  height: 64px;
}

.bd-assets__spec {
  margin: 0;
  max-width: 36em;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  color: #000;
}

.bd-assets__error {
  margin: 0;
  max-width: 40em;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  color: #b42318;
}

.bd-assets__frame.is-started .bd-assets__cover {
  display: none;
}
