body:has(.article-topbar):has(.article-rail) {
  --article-header: 4rem;
  --article-offset: 4rem;
  padding-top: calc(var(--article-offset) + 3rem);
}
.article-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: auto;
  margin: 0;
  z-index: 60;
  height: var(--article-header);
  display: flex;
  align-items: center;
  gap: 0.125rem;
  padding: 0 0.5rem;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #dedede;
  font-family: "Golos Text", sans-serif;
}
.article-brand {
  color: #111;
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.2;
  margin-right: auto;
  flex-shrink: 0;
}
.article-topbar button,
.article-mobile-menu summary {
  font: inherit;
  font-size: 0.875rem;
  padding: 0.625rem 0.5rem;
  min-height: 2.75rem;
  min-width: 2.75rem;
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
}
.article-card-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: 0.5rem;
  color: #bc3230;
  font-size: 0.875rem;
  text-decoration: none;
  white-space: nowrap;
}
.article-topbar :is(a, button, summary):focus-visible {
  outline: 2px solid #bc3230;
  outline-offset: 2px;
}
.article-topbar a:hover {
  color: #bc3230;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}
.article-search-toggle span {
  display: none;
}
.article-mobile-menu {
  flex-shrink: 0;
}
.article-mobile-menu summary {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  list-style: none;
}
.article-mobile-menu summary::-webkit-details-marker {
  display: none;
}
.article-menu-chevron {
  width: 0.375rem;
  height: 0.375rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-0.125rem) rotate(45deg);
}
.article-mobile-menu[open] .article-menu-chevron {
  transform: translateY(0.125rem) rotate(225deg);
}
.article-mobile-menu[open] summary {
  color: #bc3230;
}
.article-site-links {
  display: none;
}
.article-search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
}
.article-search-toggle svg {
  color: #bc3230;
  flex-shrink: 0;
}
.article-topbar button:hover {
  color: #bc3230;
}
.article-mobile-menu nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 0.75rem 1.25rem 1.25rem;
  background: #fff;
  border: 1px solid #dedede;
  border-top: 0;
  display: grid;
  grid-template-columns: 1fr;
  max-height: calc(100svh - var(--article-offset) - 0.75rem);
  overflow: auto;
}
.article-mobile-menu nav a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #ededed;
  font-size: 1rem;
  color: #111;
  text-decoration: none;
}
.article-mobile-menu nav a[aria-current],
.article-mobile-menu nav a[href="/card"] {
  color: #bc3230;
}
@media (min-width: 768px) {
  .article-topbar {
    gap: 1rem;
    padding-inline: 1.25rem;
  }
  .article-search-toggle span {
    display: inline;
  }
  .article-mobile-menu nav {
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
  }
}
body:has(.article-topbar) aside.article-rail {
  display: none;
}
.article-mobile-contents {
  position: fixed;
  top: var(--article-offset);
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #dedede;
  font-family: "Golos Text", sans-serif;
}
.article-mobile-contents summary {
  min-height: 3rem;
  padding: 0.875rem 1.25rem;
  cursor: pointer;
  font-size: 0.875rem;
}
.article-mobile-contents summary span {
  color: #666;
  margin-right: 1rem;
}
.article-mobile-contents summary strong {
  font-weight: 400;
  color: #bc3230;
}
.article-mobile-contents nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0.5rem 1.25rem 1rem;
  max-height: 60svh;
  overflow: auto;
}
.article-mobile-contents a {
  color: #555;
  padding: 0.75rem;
  text-decoration: none;
  font-size: 0.875rem;
}
.article-mobile-contents a[aria-current] {
  color: #bc3230;
  background: #fcf2f2;
}
body:has(.article-topbar) main .page-cover__contents {
  display: none;
  visibility: hidden;
  pointer-events: none;
}
body:has(.article-topbar) main :is(section[id], article[id]) {
  scroll-margin-top: 9rem;
}
body:has(.article-topbar) main#top {
  scroll-margin-top: calc(var(--article-offset) + 3rem);
}
.article-search {
  margin: auto;
  inset: 0;
  width: min(40rem, calc(100% - 2rem));
  max-height: 85svh;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 0;
  color: #111;
  background: white;
  font-family: "Golos Text", sans-serif;
}
.article-search::backdrop {
  background: #1116;
  backdrop-filter: blur(5px);
}
body:has(.article-search[open]) {
  overflow: hidden;
}
.article-search-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.article-search-head h2 {
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
}
.article-search button {
  min-height: 44px;
  padding: 0.5rem;
  background: white;
  border: 0;
  min-width: 44px;
  display: grid;
  place-items: center;
  font: inherit;
  cursor: pointer;
}
.article-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.article-search-field {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid #aaa;
}
.article-search-field:focus-within {
  border-color: #bc3230;
  border-bottom-width: 2px;
}
body:has(.article-topbar) .article-search input:focus-visible {
  outline: none;
}
.article-search .article-search-shortcuts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.5rem;
}
.article-search-field > svg {
  color: #bc3230;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}
.article-search input {
  width: 100%;
  min-height: 52px;
  padding: 1rem 0;
  font: inherit;
  border: 0;
  min-width: 0;
  font-size: clamp(1.125rem, 3vw, 1.75rem);
  background: white;
}
.article-search p {
  font-size: 0.875rem;
  color: #666;
  margin: 1rem 0;
}
.article-search ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.article-search li {
  border-top: 1px solid #dedede;
}
.article-search li a {
  display: grid;
  gap: 0.375rem;
  color: #111;
  text-decoration: none;
  padding: 1rem 0.5rem;
}
.article-search li a:hover {
  background: #f4f4f4;
}
.article-search li span {
  font-size: 0.75rem;
  color: #777;
}
@media (min-width: 1024px) {
  body:has(.article-topbar) main .page-cover__contents {
    display: block;
  }
  body:has(.article-topbar):has(.article-rail) {
    --article-header: 3.5rem;
    --article-offset: 5.5rem;
    padding-top: 0;
  }
  .article-topbar {
    top: 1.5rem;
    left: calc(var(--layout-rail) + 1.5rem);
    right: auto;
    width: min(44rem, calc(100% - var(--layout-rail) - 3rem));
    background: #f6f6f6;
    border: 1px solid #dedede;
    gap: 0.75rem;
    padding-inline: 1rem;
  }
  .article-brand {
    width: 8rem;
    flex-shrink: 0;
    margin-right: auto;
    font-size: 1rem;
  }
  .article-mobile-contents {
    display: none;
  }
  body:has(.article-topbar) aside.article-rail {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    bottom: 0;
    height: 100svh;
    padding: 2rem 1.5rem 1.5rem;
    gap: 1.25rem;
    flex-direction: column;
    background: #fff;
    border-right: 1px solid #dedede;
  }
  .article-rail-label {
    font-size: 0.875rem;
    color: #777;
    margin: 0;
  }
  .article-rail nav {
    display: grid;
    border-left: 1px solid #dedede;
  }
  .article-rail nav a {
    margin-left: -1px;
    padding: 0.75rem 0 0.75rem 1rem;
    border-left: 2px solid transparent;
    color: #666;
    font-size: 0.9375rem;
    line-height: 1.3;
    text-decoration: none;
  }
  .article-rail nav a[aria-current] {
    border-color: #bc3230;
    color: #bc3230;
    background: #fdf5f5;
  }
  .article-calendar {
    margin-top: auto;
    border-top: 1px solid #dedede;
    padding-top: 1.25rem;
  }
  .article-calendar p {
    margin: 0 0 0.5rem;
    font-size: 1rem;
  }
  .article-calendar span {
    display: block;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #777;
  }
  .article-calendar > a {
    display: flex;
    justify-content: center;
    padding: 0.875rem 0.5rem;
    background: #bc3230;
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    margin-top: 1rem;
  }
  body:has(.article-topbar) main#top > .page-cover {
    min-height: 100svh;
  }
  body:has(.article-topbar) main#top {
    scroll-margin-top: 0;
  }
  body:has(.article-topbar) main .sticky-services__aside {
    top: calc(var(--article-offset) + 1.5rem);
  }
  body:has(.article-topbar) main :is(section[id], article[id]) {
    scroll-margin-top: calc(var(--article-offset) + 1.5rem);
  }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .article-topbar {
    width: min(28rem, calc(100% - var(--layout-rail) - 3rem));
  }
}
@media (min-width: 1280px) {
  .article-site-links {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(0.75rem, 1.1vw, 1.25rem);
  }
  .article-site-links a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    font-size: 0.875rem;
    text-decoration: none;
    white-space: nowrap;
    color: #555;
  }
  .article-site-links a:hover {
    color: #bc3230;
  }
  .article-site-links a:nth-child(n + 3) {
    display: none;
  }
  .article-mobile-menu {
    display: block;
  }
}
@media (min-width: 1024px) and (max-height: 750px) {
  body:has(.article-topbar) aside.article-rail {
    padding-top: 1rem;
    gap: 0.75rem;
  }
  .article-rail nav a {
    padding-block: 0.5rem;
  }
  .article-calendar span {
    display: none;
  }
  .article-calendar {
    padding-top: 0.75rem;
  }
}
