.page-seo-topic {
  background: #f5f8fb;
  color: #172b3d;
}

.seo-topic {
  padding: 112px 0 72px;
}

.seo-topic__inner {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
}

.seo-topic__breadcrumb {
  margin-bottom: 20px;
}

.seo-topic__breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #64748b;
  font-size: 14px;
}

.seo-topic__breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.seo-topic__breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 6px;
  color: #94a3b8;
}

.seo-topic__breadcrumb a {
  color: #0f5f89;
  text-decoration: none;
}

.seo-topic__article {
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid #dbe6ef;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 50px rgba(18, 58, 92, 0.07);
}

.seo-topic__hero {
  padding-bottom: 34px;
  border-bottom: 1px solid #dbe6ef;
}

.seo-topic__eyebrow {
  margin: 0 0 10px;
  color: #0f766e;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.seo-topic__hero h1 {
  max-width: 760px;
  margin: 0;
  color: #123a5c;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.28;
  letter-spacing: -0.045em;
  word-break: keep-all;
}

.seo-topic__summary {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: 14px;
  background: #eef6fb;
}

.seo-topic__summary strong {
  display: block;
  margin-bottom: 10px;
  color: #123a5c;
  font-size: 17px;
}

.seo-topic__summary ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-topic__summary li {
  position: relative;
  padding-left: 20px;
  color: #334155;
  font-size: 16px;
  line-height: 1.65;
}

.seo-topic__summary li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0f766e;
  font-weight: 800;
}

.seo-topic__intro {
  margin: 34px 0 42px;
  padding-left: 18px;
  border-left: 3px solid #0f766e;
}

.seo-topic__intro p,
.seo-topic__section p,
.seo-topic__conclusion p,
.seo-topic__cta p {
  margin: 0;
  color: #425466;
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: -0.015em;
  word-break: keep-all;
}

.seo-topic__intro p + p,
.seo-topic__section p + p {
  margin-top: 12px;
}

.seo-topic__section {
  margin-top: 42px;
}

.seo-topic__section h2,
.seo-topic__conclusion h2,
.seo-topic__related h2,
.seo-topic__cta h2 {
  margin: 0 0 16px;
  color: #123a5c;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.035em;
  word-break: keep-all;
}

.seo-topic__table-wrap {
  margin: 38px 0 44px;
  overflow-x: auto;
  border: 1px solid #dbe6ef;
  border-radius: 14px;
}

.seo-topic__table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #fff;
  color: #334155;
  font-size: 15px;
  line-height: 1.6;
}

.seo-topic__table caption {
  padding: 16px 18px;
  background: #123a5c;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}

.seo-topic__table th,
.seo-topic__table td {
  padding: 14px 16px;
  border-right: 1px solid #e4ebf2;
  border-bottom: 1px solid #e4ebf2;
  text-align: left;
  vertical-align: top;
}

.seo-topic__table thead th {
  background: #eef6fb;
  color: #123a5c;
  font-weight: 700;
}

.seo-topic__table tbody th {
  width: 22%;
  background: #f8fafc;
  color: #1e3a52;
  font-weight: 700;
}

.seo-topic__table tr:last-child > * {
  border-bottom: 0;
}

.seo-topic__table tr > *:last-child {
  border-right: 0;
}

.seo-topic__conclusion {
  margin-top: 46px;
  padding: 26px 28px;
  border: 1px solid #b8ddd8;
  border-radius: 16px;
  background: #f0faf8;
}

.seo-topic__conclusion h2 {
  color: #0f625c;
}

.seo-topic__related {
  margin-top: 42px;
}

.seo-topic__related ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-topic__related a {
  display: flex;
  height: 100%;
  min-height: 76px;
  align-items: center;
  padding: 15px 17px;
  box-sizing: border-box;
  border: 1px solid #dbe6ef;
  border-radius: 12px;
  background: #f8fafc;
  color: #123a5c;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  word-break: keep-all;
}

.seo-topic__related a:hover,
.seo-topic__related a:focus-visible {
  border-color: #0f766e;
  background: #eef9f7;
}

.seo-topic__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding: 28px;
  border-radius: 16px;
  background: #123a5c;
}

.seo-topic__cta h2,
.seo-topic__cta p {
  color: #fff;
}

.seo-topic__cta h2 {
  margin-bottom: 6px;
  font-size: 23px;
}

.seo-topic__cta p {
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.86;
}

.seo-topic__cta > a {
  flex: 0 0 auto;
  min-width: 170px;
  padding: 14px 20px;
  border-radius: 999px;
  background: #fff;
  color: #123a5c;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 767px) {
  .seo-topic {
    padding: 88px 0 44px;
  }

  .seo-topic__inner {
    width: min(100% - 24px, 960px);
  }

  .seo-topic__article {
    padding: 24px 18px 28px;
    border-radius: 16px;
  }

  .seo-topic__hero {
    padding-bottom: 26px;
  }

  .seo-topic__hero h1 {
    font-size: clamp(27px, 8vw, 36px);
  }

  .seo-topic__summary {
    margin-top: 22px;
    padding: 18px;
  }

  .seo-topic__summary li,
  .seo-topic__intro p,
  .seo-topic__section p,
  .seo-topic__conclusion p {
    font-size: 16px;
    line-height: 1.75;
  }

  .seo-topic__intro {
    margin: 28px 0 34px;
    padding-left: 14px;
  }

  .seo-topic__section {
    margin-top: 34px;
  }

  .seo-topic__table-wrap {
    margin: 30px -18px 38px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .seo-topic__related ul {
    grid-template-columns: 1fr;
  }

  .seo-topic__related a {
    min-height: 58px;
  }

  .seo-topic__cta {
    flex-direction: column;
    align-items: stretch;
    padding: 22px 20px;
    text-align: center;
  }

  .seo-topic__cta > a {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}

