.seo-topic-page {
  background:
    radial-gradient(circle at 10% 8%, rgba(245, 166, 84, 0.13), transparent 26rem),
    radial-gradient(circle at 92% 20%, rgba(131, 93, 238, 0.09), transparent 24rem),
    #f6f7fb;
}

.seo-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-top: 1.15rem;
  color: var(--muted, #687181);
  font-size: 0.88rem;
}

.seo-breadcrumbs a {
  color: #7055d9;
  text-decoration: none;
}

.seo-topic-hero {
  padding: 2.2rem 0 3rem;
}

.seo-topic-hero-inner {
  max-width: 940px;
}

.seo-topic-kicker,
.seo-section-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(225, 132, 46, 0.28);
  border-radius: 999px;
  padding: 0.42rem 0.76rem;
  background: rgba(255, 255, 255, 0.78);
  color: #a45313;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seo-topic-hero h1 {
  max-width: 860px;
  margin: 1rem 0 0.9rem;
  color: #202432;
  font-size: clamp(2.05rem, 5.2vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.seo-topic-hero p {
  max-width: 790px;
  margin: 0;
  color: #5b6472;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.72;
}

.seo-topic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.45rem;
}

.seo-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.seo-section-heading h2 {
  margin: 0.55rem 0 0;
  color: #252936;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  letter-spacing: -0.025em;
}

.seo-section-heading > a {
  color: #6c51d4;
  font-weight: 750;
  text-decoration: none;
}

.seo-topic-profiles,
.seo-topic-content,
.seo-faq,
.seo-related {
  padding-bottom: 3.6rem;
}

.seo-profile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.seo-profile-card {
  overflow: hidden;
  border: 1px solid rgba(34, 40, 54, 0.08);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 38px rgba(39, 43, 57, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.seo-profile-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(39, 43, 57, 0.12);
}

.seo-profile-card > a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.seo-profile-photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #f7c98f, #bcaef0);
  color: #fff;
  font-size: 3rem;
  font-weight: 900;
}

.seo-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seo-profile-badge {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  background: rgba(21, 24, 33, 0.78);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.seo-profile-body {
  padding: 1rem;
}

.seo-profile-body h3 {
  margin: 0;
  color: #252936;
  font-size: 1.02rem;
}

.seo-profile-body p {
  min-height: 3.9em;
  margin: 0.5rem 0 0.75rem;
  color: #687181;
  font-size: 0.87rem;
  line-height: 1.5;
}

.seo-profile-more {
  color: #7055d9;
  font-size: 0.82rem;
  font-weight: 800;
}

.seo-topic-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.seo-content-card {
  border: 1px solid rgba(34, 40, 54, 0.08);
  border-radius: 1.2rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.88);
}

.seo-content-card:first-child {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(255, 250, 242, 0.96), rgba(250, 247, 255, 0.96));
}

.seo-content-card h2 {
  margin: 0 0 0.75rem;
  color: #252936;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

.seo-content-card p {
  margin: 0.6rem 0 0;
  color: #5e6675;
  line-height: 1.72;
}

.seo-content-card ul {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  color: #4e5665;
}

.seo-faq-list {
  display: grid;
  gap: 0.7rem;
}

.seo-faq-list details {
  border: 1px solid rgba(34, 40, 54, 0.08);
  border-radius: 0.95rem;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.92);
}

.seo-faq-list summary {
  cursor: pointer;
  color: #292d3a;
  font-weight: 800;
}

.seo-faq-list p {
  margin: 0.75rem 0 0;
  color: #606978;
  line-height: 1.65;
}

.seo-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.seo-related-grid a {
  display: grid;
  gap: 0.45rem;
  border: 1px solid rgba(34, 40, 54, 0.08);
  border-radius: 1rem;
  padding: 1.05rem;
  background: rgba(255, 255, 255, 0.82);
  color: inherit;
  text-decoration: none;
}

.seo-related-grid strong {
  color: #5d45c1;
}

.seo-related-grid span {
  color: #6a7280;
  font-size: 0.85rem;
  line-height: 1.48;
}

@media (max-width: 900px) {
  .seo-profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .seo-topic-hero { padding-top: 1.45rem; }
  .seo-topic-content,
  .seo-related-grid { grid-template-columns: 1fr; }
  .seo-content-card:first-child { grid-column: auto; }
  .seo-section-heading { align-items: start; flex-direction: column; }
}

@media (max-width: 460px) {
  .seo-profile-grid { grid-template-columns: 1fr; }
  .seo-profile-photo { aspect-ratio: 16 / 10; }
}
