.seo-home-tags {
  padding: 26px 0;
  border-top: 1px solid var(--color-border, #e5e7eb);
  background: #fff;
}

.seo-home-tags h2 {
  margin: 0 0 14px;
  color: var(--color-primary, #17466d);
  font-size: 20px;
  font-weight: 700;
}

.seo-tag-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-tag-links a {
  padding: 8px 14px;
  border: 1px solid #d7dee5;
  border-radius: 999px;
  background: #fff;
  color: #17466d;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  transition: color .2s, background-color .2s, border-color .2s;
}

.seo-tag-links a:hover,
.seo-tag-links a:focus {
  border-color: #f3a126;
  background: #f3a126;
  color: #fff;
}

.vex-seo-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 118px 0 48px;
}

.vex-seo-breadcrumb {
  margin-bottom: 18px;
  color: #73808c;
  font-size: 14px;
}

.vex-seo-breadcrumb a {
  color: #17466d;
  text-decoration: none;
}

.vex-seo-breadcrumb span {
  margin-left: 8px;
}

.vex-seo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}

.vex-seo-article,
.vex-seo-sidebar,
.vex-seo-error {
  border: 1px solid #e4e8ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(23, 70, 109, .06);
}

.vex-seo-article {
  padding: 38px 44px;
}

.vex-seo-kicker {
  margin: 0 0 10px;
  color: #e99119;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}

.vex-seo-article h1,
.vex-seo-error h1 {
  margin: 0 0 14px;
  color: #173c5d;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.35;
}

.vex-seo-article time {
  display: block;
  margin-bottom: 26px;
  color: #87919a;
  font-size: 13px;
}

.vex-seo-body {
  color: #36424c;
  font-size: 17px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.vex-seo-body h2,
.vex-seo-body h3,
.vex-seo-body h4 {
  color: #17466d;
  line-height: 1.45;
}

.vex-seo-body h2 {
  margin: 34px 0 14px;
  padding-bottom: 9px;
  border-bottom: 2px solid #f3a126;
  font-size: 26px;
}

.vex-seo-body h3 {
  margin: 28px 0 10px;
  font-size: 22px;
}

.vex-seo-body p,
.vex-seo-body ul,
.vex-seo-body ol,
.vex-seo-body blockquote {
  margin: 0 0 18px;
}

.vex-seo-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 22px auto;
  border-radius: 8px;
}

.vex-seo-body a {
  color: #1769aa;
  text-decoration: underline;
}

.vex-seo-body table {
  width: 100%;
  margin-bottom: 20px;
  border-collapse: collapse;
}

.vex-seo-body th,
.vex-seo-body td {
  padding: 10px;
  border: 1px solid #dfe5ea;
  text-align: left;
}

.vex-seo-sidebar {
  padding: 22px;
  position: sticky;
  top: 96px;
}

.vex-seo-sidebar h2 {
  margin: 0 0 12px;
  color: #17466d;
  font-size: 20px;
}

.vex-seo-sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vex-seo-sidebar li {
  border-top: 1px solid #edf0f2;
}

.vex-seo-sidebar li:first-child {
  border-top: 0;
}

.vex-seo-sidebar a,
.vex-seo-empty {
  display: block;
  padding: 11px 2px;
  color: #394d5d;
  line-height: 1.5;
  text-decoration: none;
}

.vex-seo-sidebar a:hover,
.vex-seo-sidebar a:focus {
  color: #e99119;
}

.vex-seo-error {
  padding: 52px 36px;
  text-align: center;
}

.vex-seo-error-code {
  color: #e99119;
  font-size: 14px;
  font-weight: 700;
}

.vex-seo-error a {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 20px;
  border-radius: 6px;
  background: #17466d;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 900px) {
  .vex-seo-grid {
    grid-template-columns: 1fr;
  }

  .vex-seo-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .seo-home-tags {
    padding: 22px 0;
  }

  .vex-seo-page {
    width: min(100% - 24px, 1180px);
    padding-top: 92px;
  }

  .vex-seo-article {
    padding: 26px 20px;
  }

  .vex-seo-body {
    font-size: 16px;
  }
}

