.skip-link {
  background: transparent;
  border: 0;
  left: auto;
  padding: 0;
  right: auto;
  text-align: left;
  top: auto;
  transform: none !important;
}

.skip-link a {
  position: fixed;
  top: 0.5rem;
  left: 50%;
  z-index: 1055;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--pst-color-border);
  border-radius: 4px;
  background: var(--pst-color-background);
  color: var(--pst-color-text-base) !important;
  transform: translate(-50%, -180%);
  transition: transform 0.12s ease-in-out;
}

.skip-link a:focus-visible {
  transform: translate(-50%, 0);
}

.or-home-hero .or-slogan {
  max-width: 920px;
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0;
  margin-bottom: 1rem;
  border-bottom: 0;
  padding-bottom: 0;
  color: var(--pst-color-text-base);
}

.or-home-hero p {
  max-width: 820px;
  color: var(--pst-color-text-muted);
  font-size: 1.12rem;
  line-height: 1.65;
}

.or-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1.5rem;
}

.or-button {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.52rem 0.9rem;
  border: 1px solid var(--pst-color-border);
  border-radius: 6px;
  color: var(--pst-color-text-base);
  font-weight: 600;
  text-decoration: none;
}

.or-button:hover {
  color: var(--pst-color-link-hover);
  text-decoration: none;
}

.or-home-hero .or-button.or-button-primary,
.or-home-hero .or-button.or-button-primary:link,
.or-home-hero .or-button.or-button-primary:visited {
  border-color: var(--pst-color-primary);
  background: var(--pst-color-primary);
  color: #fff !important;
}

.or-home-hero .or-button.or-button-primary:hover,
.or-home-hero .or-button.or-button-primary:focus,
.or-home-hero .or-button.or-button-primary:focus-visible,
.or-home-hero .or-button.or-button-primary:active {
  color: #fff !important;
  filter: brightness(0.96);
}

.or-button-muted {
  color: var(--pst-color-text-muted);
}

@media (max-width: 700px) {
  .or-home-hero .or-slogan {
    font-size: 1.45rem;
    line-height: 1.25;
  }
}

article.bd-article figure img {
  border: 1px solid var(--pst-color-border);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.10);
}

article.bd-article figure figcaption {
  color: var(--pst-color-text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

article.bd-article img.or-research-transformer-figure {
  display: block;
  width: 52%;
  max-width: 52%;
  margin-left: auto;
  margin-right: auto;
}

article.bd-article table img {
  max-width: 220px;
  border: 1px solid var(--pst-color-border);
  border-radius: 4px;
}

article.bd-article table td {
  vertical-align: middle;
}

@media (min-width: 960px) {
  .bd-sidebar-primary .sidebar-primary-item {
    margin-bottom: 0;
  }

  .bd-sidebar-primary .bd-links__title {
    margin: 0.75rem 0 0.55rem;
    font-size: 1.2rem;
    line-height: 1.2;
  }

  .bd-sidebar-primary .bd-docs-nav .caption {
    margin-top: 0.45rem;
    margin-bottom: 0.35rem;
    font-size: 0.98rem;
    line-height: 1.2;
  }

  .bd-sidebar-primary .bd-sidenav,
  .bd-sidebar-primary .bd-sidenav ul {
    margin-top: 0;
    margin-bottom: 0;
  }

  .bd-sidebar-primary .bd-sidenav li > a {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0.16rem;
    padding-bottom: 0.16rem;
    font-size: 0.92rem;
    line-height: 1.22;
  }

  .bd-sidebar-primary .bd-sidenav .toctree-l2 > a {
    padding-top: 0.14rem;
    padding-bottom: 0.14rem;
    font-size: 0.9rem;
  }

  .bd-sidebar-primary .bd-sidenav li.current > a,
  .bd-sidebar-primary .bd-sidenav li.active > a {
    line-height: 1.22;
  }
}

@media (max-width: 900px) {
  article.bd-article img.or-research-transformer-figure {
    width: 100%;
    max-width: 100%;
  }
}
