:root {
  --md-primary-fg-color: #417e5a;
  --md-accent-fg-color: #b5ae30;
  --blog-chip-border: rgba(65, 126, 90, 0.25);
  --blog-chip-bg: rgba(65, 126, 90, 0.08);
}

.md-header__button.md-logo {
  margin-top: 10px;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 10px;
}

.md-header__button.md-logo img,
.md-header__button.md-logo svg {
  height: 15%;
  width: 15%;
}

.md-header,
.md-nav__title {
  --md-primary-fg-color: #1f1f1f;
}

.blog-language-switcher,
.blog-translation-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.blog-language-switcher {
  margin: 1rem 0 1.5rem;
}

.blog-header-language-switcher {
  display: flex;
  align-items: center;
  gap: 0.08rem;
  margin-left: auto;
  padding: 0.03rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.32rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(15, 15, 15, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
}

.blog-language-switcher__label,
.blog-translation-list__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

.blog-language-switcher__button,
.blog-header-language-switcher__button,
.blog-translation-list__link,
.blog-language-badge {
  border: 1px solid var(--blog-chip-border);
  border-radius: 999px;
  background: var(--blog-chip-bg);
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2rem;
  padding: 0.35rem 0.8rem;
  text-decoration: none;
}

.blog-language-switcher__button {
  cursor: pointer;
  font: inherit;
}

.blog-header-language-switcher__button {
  min-width: 2rem;
  justify-content: center;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  border: 0;
  background: transparent;
  border-radius: 0.24rem;
  min-height: 1.3rem;
  padding: 0.06rem 0.38rem;
  color: rgba(255, 255, 255, 0.78);
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.blog-header-language-switcher__button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.96);
}

.blog-header-language-switcher__button:focus-visible {
  outline: 2px solid var(--md-accent-fg-color);
  outline-offset: 2px;
}

.blog-header-language-switcher__button.is-active {
  background: linear-gradient(135deg, var(--md-accent-fg-color), #d8cf57);
  color: #1c1c1c;
  box-shadow: 0 0.2rem 0.55rem rgba(181, 174, 48, 0.24);
}

.blog-header-language-switcher__dot {
  width: 0.24rem;
  height: 0.24rem;
  border-radius: 0.12rem;
  background: currentColor;
  opacity: 0.45;
}

.blog-header-language-switcher__button.is-active .blog-header-language-switcher__dot {
  opacity: 1;
}

.blog-header-language-switcher__text {
  line-height: 1;
}

@media screen and (max-width: 76.2344em) {
  .blog-header-language-switcher {
    margin-left: auto;
    margin-right: 0.15rem;
  }
}

@media screen and (max-width: 44.9844em) {
  .blog-header-language-switcher {
    gap: 0.04rem;
    padding: 0.02rem;
    margin-right: 0.1rem;
  }

  .blog-header-language-switcher__button {
    min-width: 1.8rem;
    min-height: 1.18rem;
    padding: 0.03rem 0.28rem;
    font-size: 0.5rem;
    letter-spacing: 0.06em;
  }

  .blog-header-language-switcher__dot {
    width: 0.2rem;
    height: 0.2rem;
  }
}

.blog-language-switcher__button.is-active,
.blog-translation-list__link.is-current {
  border-color: var(--md-accent-fg-color);
  background: color-mix(in srgb, var(--md-accent-fg-color) 16%, transparent);
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.blog-post-meta-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.blog-post-statuses {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.blog-post-author-line {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: var(--md-default-fg-color--light);
}

.blog-post-author-line .md-meta__link {
  color: inherit;
}

.blog-post-translation-box {
  margin: 0 0 1.5rem;
  padding: 1rem;
  border: 1px solid var(--blog-chip-border);
  border-radius: 0.8rem;
}

.blog-post-translation-box--warning {
  border-color: rgba(181, 174, 48, 0.55);
  background: color-mix(in srgb, var(--md-accent-fg-color) 12%, transparent);
}

.blog-post-translation-box p {
  margin-top: 0;
}

.blog-post-language-note {
  margin-bottom: 1.5rem;
}

.blog-post-language-note.is-hidden {
  display: none !important;
}

.blog-post-language-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.blog-post-language-links__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

.blog-post-language-links__link {
  color: var(--md-typeset-a-color);
  font-weight: 700;
  text-decoration: none;
}

.blog-post-language-links__link.is-current {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.md-copyright__highlight {
  font-size: 1rem;
}

.md-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  font-size: 1.55rem;
}

.md-social__link svg {
  width: 1em;
  height: 1em;
  max-height: none;
  vertical-align: middle;
}

.md-post__meta .md-nav__link a {
  color: var(--md-typeset-a-color);
}

.md-content__inner.md-typeset p > img,
.md-content__inner.md-typeset figure > img,
.md-post__content.md-typeset p > img,
.md-post__content.md-typeset figure > img {
  border-radius: 0.5rem;
  clip-path: inset(0 round 0.5rem);
  display: block;
}

.md-lang-selected {
    background-color: #417e5a;
    border-radius: .125em;
    color: #fff;
    display: inline-block;
    font-weight: 700;
    padding-left: .5714285714em;
    padding-right: .5714285714em
}

.md-lang-other{
    background-color: lightslategray;
    border-radius: .125em;
    color: #fff;
    display: inline-block;
    font-weight: 700;
    padding-left: .5714285714em;
    padding-right: .5714285714em
}
