:root {
  --md-primary-fg-color: #425d72;
  --md-accent-fg-color: #39596d;
}

.md-header__button.md-logo img {
  height: 3rem;
  width: auto;
}

@media screen and (min-width: 60em) {
  .md-header__inner {
    display: grid;
    grid-template-columns: 4.2rem minmax(0, 1fr) auto 13.5rem;
    align-items: center;
    column-gap: 1rem;
  }

  .md-header__button.md-logo {
    width: 4.2rem;
    min-width: 4.2rem;
  }

  .md-header__button.md-logo img {
    display: block;
    width: 4rem;
    height: 3rem;
    object-fit: contain;
  }

  .md-header__title {
    min-width: 0;
    margin-left: 0;
  }

  .md-header__ellipsis > .md-header__topic:first-child {
    display: none;
  }

  .md-header__ellipsis > .md-header__topic[data-md-component="header-topic"] {
    display: block;
    opacity: 1;
    transform: none;
  }

  .md-header__ellipsis > .md-header__topic[data-md-component="header-topic"] .md-ellipsis {
    font-weight: 700;
  }

  .md-search {
    min-width: 13.5rem;
    width: 13.5rem;
  }

  .md-search__inner {
    width: 13.5rem;
  }
}

.md-typeset img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.2rem 0;
  border-radius: 16px;
}

.md-typeset strong {
  font-weight: 700;
}

.md-typeset :target {
  scroll-margin-top: 5rem;
}

.landing-hero {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 1.2rem 0;
  padding: 0;
}

body.localized-homepage .md-content__inner > h1:first-child {
  display: none;
}

body.localized-homepage .md-main__inner {
  margin-top: 0;
}

.homepage-shell > .landing-hero {
  margin: 1.6rem 0 0;
}

.homepage-shell > .landing-grid:first-of-type {
  margin-top: 1.2rem;
}

body.localized-homepage .md-content__inner {
  padding-top: 0;
}

body.localized-homepage .md-content__inner:before {
  display: none;
}

.landing-hero-switch {
  flex: 0 0 auto;
}

.landing-language {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  height: 2.05rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(66, 93, 114, 0.12);
  color: #415461;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
}

.landing-language__label,
.landing-language__sep {
  display: inline-flex;
  align-items: center;
  color: #65727a;
  line-height: 1;
}

.landing-language__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #415461;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1;
}

.landing-language__flag {
  display: block;
  width: 0.96rem;
  height: 0.96rem;
  object-fit: contain;
  margin: 0;
  border-radius: 0;
}

.landing-language__link:hover {
  color: var(--md-accent-fg-color);
}

.landing-language__link--active {
  color: #1f2f3d;
  font-weight: 800;
}

.landing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
  gap: 1rem;
  margin: 1.6rem 0 1.2rem;
}

.landing-card,
.support-panel {
  padding: 1.3rem;
  border: 1px solid rgba(66, 93, 114, 0.14);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.landing-card h3,
.support-panel h3 {
  margin-top: 0;
  font-weight: 700;
  color: #1f2f3d;
}

.landing-actions,
.lang-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.7rem;
}

.lang-links {
  margin: 0.5rem 0 1rem;
}

.landing-actions .md-button,
.lang-links .md-button {
  border-radius: 1rem;
  background: var(--md-primary-fg-color);
  border-color: var(--md-primary-fg-color);
  color: #fff;
}

.lang-links__button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-links__flag {
  display: block;
  width: 1rem;
  height: 1rem;
  margin: 0;
  border-radius: 0;
  object-fit: contain;
}

.section-service-list {
  margin-top: 1rem;
}

.section-service-list__items {
  margin: 0;
  padding-left: 1.6rem;
}

.section-service-list__item {
  margin: 0.8rem 0;
}

.section-service-link,
.section-service-group > summary {
  color: var(--md-typeset-a-color);
  font-size: inherit;
  line-height: inherit;
  text-decoration: none;
  font-weight: inherit;
}

.section-service-link {
  display: inline;
}

.section-service-group > summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-right: 0;
  font-size: 1em;
  font-weight: 400;
  list-style: none;
}

.section-service-group > summary::marker {
  content: "";
}

.section-service-group__children {
  margin: 0.45rem 0 0;
  padding-left: 1.4rem;
}

.section-service-group__label {
  font-size: 1em;
  font-weight: 400;
  line-height: inherit;
}

.section-service-group__children,
.section-service-group__children a {
  font-size: 1em;
  line-height: inherit;
  font-weight: 400;
}

.section-service-group__children li {
  margin: 0.45rem 0;
}

.section-service-group > summary:focus,
.section-service-group > summary:focus-visible {
  outline: none;
}

.md-typeset .section-service-group {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  font-size: inherit !important;
  line-height: inherit !important;
  outline: none !important;
}

.md-typeset .section-service-group > summary {
  margin: 0;
  padding: 0;
  min-height: 0;
  background: none;
  box-shadow: none;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: 400 !important;
}

.md-typeset .section-service-group > summary::-webkit-details-marker {
  display: none;
}

.md-typeset .section-service-group > summary::before {
  content: none;
  display: none;
}

.md-typeset .section-service-group > summary::after {
  content: none !important;
  display: none !important;
}

.md-typeset .section-service-group__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.8em;
  height: 0.8em;
  flex: 0 0 auto;
  margin-left: 0.25rem;
  overflow: visible;
  line-height: 1;
  font-size: 1em;
  border: 0;
  transform: none;
}

.md-typeset .section-service-group__arrow::before {
  content: "";
  display: block;
  width: 0.5em;
  height: 0.5em;
  box-sizing: border-box;
  border-right: 0.11em solid currentColor;
  border-bottom: 0.11em solid currentColor;
  transform: rotate(-45deg);
  transform-origin: center;
}

.md-typeset .section-service-group[open] .section-service-group__arrow::before {
  transform: rotate(45deg) translateY(-0.02em);
}

.md-typeset .section-service-group:focus,
.md-typeset .section-service-group:focus-visible,
.md-typeset .section-service-group[open]:focus,
.md-typeset .section-service-group[open]:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.md-typeset .section-service-group__label,
.md-typeset .section-service-group__children,
.md-typeset .section-service-group__children a {
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: 400 !important;
}

.landing-actions .md-button:hover,
.lang-links .md-button:hover {
  background: var(--md-accent-fg-color);
  border-color: var(--md-accent-fg-color);
  color: #fff;
}

.file-download {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: min(100%, 32rem);
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(66, 93, 114, 0.2);
  border-radius: 0.3rem;
  background: #fff;
  color: #1f2f3d;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.file-download:hover {
  border-color: rgba(66, 93, 114, 0.32);
  color: #1f2f3d;
}

.file-download__icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  color: #334b58;
}

.file-download__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.file-download__meta {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  min-width: 0;
}

.file-download__name {
  font-weight: 600;
  word-break: break-word;
}

.file-download__size {
  color: #6a7881;
  font-size: 0.82rem;
  white-space: nowrap;
}

.file-download__download {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  color: #4b6675;
}

.file-download__download svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

body.localized-homepage .landing-grid-bottom {
  margin-bottom: 4rem;
}

@media screen and (min-width: 76.25em) {
  .md-main__inner.md-grid {
    max-width: 88rem;
    padding-left: 12rem;
    padding-right: 3.9rem;
  }

  body:not(.localized-homepage) .md-content > .md-content__inner {
    max-width: 52rem;
  }

  body.localized-homepage .md-main__inner.md-grid {
    padding-left: 14rem;
    padding-right: 5rem;
  }

  body.localized-homepage .md-content > .md-content__inner {
    margin-left: 0;
    margin-right: 0;
  }

  .md-sidebar--secondary:not([hidden]) ~ .md-content > .md-content__inner {
    margin-right: 1.35rem;
  }

  body.inline-left-toc .md-sidebar--secondary {
    display: none;
  }

  body.inline-left-toc .md-sidebar--primary ~ .md-content > .md-content__inner {
    margin-right: 0.45rem;
    margin-left: 2.1rem;
  }

  body.inline-left-toc .md-nav--primary .md-nav__item--active > .md-nav--secondary {
    display: block;
    margin: 0.4rem 0 0.95rem;
    opacity: 1;
    visibility: visible;
  }

  body.inline-left-toc .md-nav--primary .md-nav__item--active > .md-nav--secondary > .md-nav__title {
    display: none;
  }

  body.inline-left-toc .md-nav--primary .md-nav__item--active > .md-nav--secondary > .md-nav__list {
    overflow: visible;
    padding-bottom: 0;
  }

  body.inline-left-toc .md-nav--primary .md-nav__item--active > .md-nav--secondary {
    border-left: 0.05rem solid rgba(66, 93, 114, 0.35);
    margin-left: 0.2rem;
    padding-left: 0;
  }

  body.inline-left-toc .md-nav--primary .md-nav__item--active > .md-nav--secondary .md-nav__list {
    padding-left: 0.6rem;
  }
}

@media (max-width: 720px) {
  .landing-hero {
    flex-direction: column;
  }

  .landing-hero-switch {
    width: 100%;
  }

  .landing-language {
    width: 100%;
    justify-content: center;
  }

  .landing-actions,
  .lang-links {
    flex-direction: column;
  }

  .landing-actions .md-button,
  .lang-links .md-button {
    width: 100%;
    margin-right: 0;
  }
}
