.md-tabs {
  display: none;
}

:root {
  --apisense-amber: #f4ab15;
  --apisense-amber-soft: #fff3d6;
  --apisense-ink: #171717;
  --apisense-border: rgba(23, 23, 23, 0.12);
}

.md-header__button.md-logo img,
.md-header__button.md-logo svg {
  height: 1.6rem;
  width: auto;
}

.md-header__button.md-logo img {
  border-radius: 0;
}

.md-search {
  order: 4 !important;
}

.md-search__form {
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.24);
  transition: background-color 180ms ease;
}

.md-search__input::placeholder {
  color: rgba(255, 255, 255, 0.88);
}

.md-search__input + .md-search__icon,
.md-search__icon[for="__search"] {
  color: rgba(255, 255, 255, 0.88);
}

.md-search__form:hover {
  background-color: #fff;
}

.md-search__form:hover .md-search__input::placeholder,
.md-search__form:hover .md-search__input + .md-search__icon,
.md-search__form:hover .md-search__icon[for="__search"] {
  color: var(--apisense-ink);
}

.md-search-result__item--active,
.md-search-result__item:hover {
  background-color: var(--apisense-amber-soft);
}

.md-search-result__meta {
  display: none;
}

.md-header__option {
  order: 5 !important;
  margin-left: 0.35rem;
}

.md-header__source {
  order: 6 !important;
}

.md-header__option .md-header__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.5rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.md-header__option .md-header__button svg {
  display: none !important;
}

.md-header__option .md-select__inner {
  min-width: 6rem;
}

.md-header__option .md-select__link,
.md-header__option .md-header__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.5rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-weight: 600;
}

html[lang="pl"] .md-header__option .md-header__button::before {
  content: "PL";
}

html[lang="en"] .md-header__option .md-header__button::before {
  content: "EN";
}

@media screen and (max-width: 76.2344em) {
  .md-search,
  .md-header__option,
  .md-header__source {
    order: initial;
  }
}

.app-screenshots {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.app-screenshots > p {
  display: contents;
}

.app-screenshots img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

@media screen and (max-width: 960px) {
  .app-screenshots {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 480px) {
  .app-screenshots {
    grid-template-columns: repeat(2, 1fr);
  }
}

.apisense-footer {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 1.25rem 1rem;
  border-top: 1px solid var(--apisense-border);
}

.apisense-footer img {
  display: block;
  width: min(100%, 380px);
  height: auto;
}

.md-footer-meta {
  background: linear-gradient(180deg, #ffffff 0%, #fff7e6 100%) !important;
}

.md-footer-meta__inner.md-grid.apisense-footer {
  max-width: none;
}
