.article-page {
  min-height: 100vh;
  background: #fff;
}

.article-topbar {
  min-height: 64px;
  background: #12347f;
}

.article-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}

.article-topbar__brand,
.article-topbar__back {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.article-topbar__brand {
  font-size: 17px;
}

.article-topbar__back {
  flex: 0 0 auto;
  padding: 6px 12px;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 6px;
}

.article-topbar__back:hover,
.article-topbar__back:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.article-shell {
  width: min(860px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.article-header {
  padding-bottom: 28px;
  border-bottom: 1px solid #d5e1f2;
}

.article-header h1 {
  margin: 0;
  color: #172a4d;
  font-size: 36px;
  line-height: 1.38;
  letter-spacing: 0;
}

.article-header p {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 18px 0 0;
  color: #68748a;
  font-size: 15px;
}

.article-header time {
  color: #7c8799;
}

.article-body {
  width: min(100%, 740px);
  max-width: 100%;
  margin: 38px auto 0;
  overflow: hidden;
  color: #2a3447;
  font-size: 16px;
  line-height: 1.8;
  visibility: visible !important;
  opacity: 1 !important;
}

.article-body,
.article-body * {
  max-width: 100%;
  box-sizing: border-box;
}

.article-body img {
  width: auto;
  max-width: 100% !important;
  height: auto !important;
}

.article-body svg {
  max-width: 100%;
}

.article-body p {
  overflow-wrap: anywhere;
}

.article-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid #d5e1f2;
}

.article-pagination a {
  color: #12347f;
  font-weight: 700;
  text-decoration: none;
}

.article-pagination a:hover,
.article-pagination a:focus-visible {
  color: #2469d9;
}

@media (max-width: 640px) {
  .article-topbar__inner {
    position: relative;
    min-height: 72px;
    padding-right: 96px;
  }

  .article-topbar__brand {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  .article-topbar__back {
    position: absolute;
    top: 50%;
    right: 0;
    padding: 5px 9px;
    font-size: 13px;
    transform: translateY(-50%);
  }

  .article-shell {
    width: min(100% - 28px, 860px);
    padding: 34px 0 56px;
  }

  .article-header {
    padding-bottom: 22px;
  }

  .article-header h1 {
    font-size: 27px;
    line-height: 1.4;
  }

  .article-header p {
    margin-top: 14px;
    font-size: 14px;
  }

  .article-body {
    margin-top: 28px;
  }

  .article-body section[style*="padding: 0px 20px"],
  .article-body section[style*="padding: 0px 29px"],
  .article-body section[style*="padding: 14px 29px"] {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  .article-pagination {
    margin-top: 38px;
  }
}
