.cp-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: 60px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
}

.cp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 28px, var(--site-width));
  height: 100%;
  margin-inline: auto;
}

.cp-header__nav {
  display: none;
}

.cp-header__actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cp-icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  color: #52606a;
}

.cp-icon-button:hover {
  background: var(--color-bg);
}

.cp-icon-button__mark {
  font-size: 21px;
  line-height: 1;
}

.cp-menu {
  position: fixed;
  z-index: 1200;
  inset: 60px 0 auto;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
  box-shadow: 0 12px 24px rgba(25, 45, 70, 0.12);
  padding: 14px 18px 22px;
}

.cp-menu__list {
  display: grid;
  list-style: none;
}

.cp-menu__link {
  display: flex;
  align-items: center;
  min-height: 50px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.cp-menu__icon,
.cp-nav__icon {
  display: block;
  flex: 0 0 auto;
  margin-right: 9px;
}

.cp-main {
  min-height: 60vh;
}

.cp-page-main {
  padding-block: 30px 56px;
}

.cp-article-layout {
  width: min(100%, 1080px);
  margin-inline: auto;
}

.cp-container.cp-article-layout {
  width: 100%;
}

.cp-article-layout__main {
  min-width: 0;
}

.cp-article-layout__sidebar {
  display: none;
}

.cp-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
  padding: 46px 18px 22px;
  text-align: center;
}

.cp-footer__tagline {
  margin-top: 14px;
  color: #59636b;
  font-size: 14px;
}

.cp-footer__en {
  margin-top: 3px;
  color: var(--color-muted);
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.cp-footer__socials,
.cp-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 24px;
  list-style: none;
}

.cp-footer__socials a,
.cp-footer__links a {
  color: #58646d;
  font-size: 13px;
  text-decoration: none;
}

.cp-footer__socials a:hover,
.cp-footer__links a:hover {
  color: var(--color-primary);
}

.cp-footer__socials a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cp-social-icon {
  display: block;
  flex: 0 0 auto;
}

.cp-footer__copyright {
  margin-top: 30px;
  color: var(--color-muted);
  font-family: var(--font-latin);
  font-size: 11px;
}
