.seo-guide-page .seo-guide-main {
  padding-top: 6.5rem !important;
  max-width: min(1520px, calc(100vw - 40px));
}

.seo-guide-page .seo-guide-panel {
  display: block;
  max-width: 1320px;
  margin-inline: auto;
}

.seo-guide-page .seo-guide-panel h1 {
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  max-width: none;
  line-height: 1.06;
  margin-bottom: 0.75rem;
  text-align: left;
}

.seo-guide-page .seo-guide-panel h2 {
  color: #ffffff;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.2;
}

.seo-guide-page .seo-guide-panel p {
  line-height: 1.75;
}

.seo-guide-intro {
  max-width: none;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.8;
}

.seo-guide-page .seo-guide-panel > .hero-muted-override {
  margin-top: 0.35rem;
}

.seo-guide-sections {
  margin-top: 1.35rem;
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.seo-guide-card {
  padding: 1rem 1.05rem;
  border-radius: 16px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05),
    rgba(77, 208, 255, 0.05)
  );
  border: 1px solid rgba(77, 208, 255, 0.14);
}

.seo-guide-card h2 {
  margin-bottom: 0.55rem;
}

.seo-guide-card p:last-child {
  margin-bottom: 0;
}

.seo-cta-box {
  margin-top: 1.1rem;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid rgba(142, 255, 193, 0.25);
  background: linear-gradient(
    145deg,
    rgba(20, 30, 60, 0.62),
    rgba(11, 17, 32, 0.72)
  );
}

.seo-cta-box p {
  margin-bottom: 0.75rem;
}

.seo-related-guides {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(77, 208, 255, 0.18);
}

.seo-related-guides h2 {
  margin-bottom: 0.65rem;
}

.seo-related-list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding-left: 1.1rem;
}

.seo-related-list a {
  color: #b8e7ff;
  font-weight: 700;
  text-decoration: none;
}

.seo-related-list a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (prefers-color-scheme: light) {
  .seo-guide-page .seo-guide-panel h2 {
    color: #102033;
  }

  .seo-guide-card {
    background: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.96),
      rgba(240, 247, 255, 0.94)
    );
    border-color: rgba(54, 125, 171, 0.2);
  }

  .seo-cta-box {
    background: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.98),
      rgba(237, 247, 255, 0.95)
    );
    border-color: rgba(31, 151, 111, 0.24);
  }

  .seo-related-guides {
    border-top-color: rgba(54, 125, 171, 0.24);
  }

  .seo-related-list a {
    color: #0e4f77;
  }

  .seo-related-list a:hover {
    color: #0b1220;
  }
}

@media (max-width: 991.98px) {
  .seo-guide-page .seo-guide-main {
    max-width: calc(100vw - 24px);
  }

  .seo-guide-page .seo-guide-panel h1,
  .seo-guide-intro {
    max-width: none;
  }

  .seo-guide-sections {
    grid-template-columns: 1fr;
  }
}
