.synonym-page {
  background: var(--dark-bg);
  color: var(--text-primary);
}

/* Hero */
.synonym-hero {
  position: relative;
  overflow: hidden;
  padding: 128px 24px 78px;
  border-bottom: 1px solid var(--dark-border);
}

.synonym-hero--word {
  padding-bottom: 56px;
}

.synonym-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.synonym-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #7ab3f5;
  background: rgba(19, 99, 198, 0.14);
  border: 1px solid rgba(19, 99, 198, 0.34);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 20px;
}

.synonym-hero h1 {
  font-size: clamp(36px, 5.5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 0 0 18px;
  color: #f0f4ff;
}

.synonym-hero p {
  max-width: 680px;
  margin: 0 auto;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.45;
  color: var(--text-secondary);
}

.synonym-hero-sub {
  font-size: clamp(17px, 1.8vw, 21px) !important;
  font-weight: 500;
  color: rgba(240, 244, 255, 0.7) !important;
}

/* Breadcrumb */
.synonym-page .hub-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(240, 244, 255, 0.35);
  margin-bottom: 18px;
}

.synonym-page .hub-breadcrumb a {
  color: rgba(240, 244, 255, 0.45);
  text-decoration: none;
}

.synonym-page .hub-breadcrumb a:hover {
  color: rgba(240, 244, 255, 0.72);
}

/* Listing section */
.synonym-listing {
  background: linear-gradient(180deg, #f8fbff 0%, #f3f7fd 100%);
  padding: 56px 24px 96px;
}

.synonym-shell {
  max-width: 1060px;
  margin: 0 auto;
}

/* Category groups */
.synonym-category-group {
  margin-bottom: 48px;
}

.synonym-category-heading {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #101f3d;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(19, 99, 198, 0.15);
}

/* Word cards */
.synonym-word-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.synonym-card {
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #d4dded;
  text-decoration: none;
  transition: all 0.2s ease;
}

.synonym-card:hover {
  border-color: rgba(19, 99, 198, 0.4);
  box-shadow: 0 8px 24px rgba(10, 22, 45, 0.08);
  transform: translateY(-2px);
}

.synonym-card-word {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #101f3d;
  letter-spacing: -0.01em;
}

.synonym-card-alts {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #4c6188;
  flex: 1;
}

.synonym-card-more {
  color: #1363c6;
  font-weight: 600;
}

.synonym-card-link {
  font-size: 13.5px;
  font-weight: 620;
  color: #1363c6;
}

/* Word detail content */
.synonym-content {
  background: linear-gradient(180deg, #f8fbff 0%, #f3f7fd 100%);
  padding: 56px 24px 96px;
}

.synonym-content-shell {
  max-width: 820px;
  margin: 0 auto;
}

.synonym-section {
  margin-bottom: 48px;
}

.synonym-section h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 750;
  color: #101f3d;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

/* Synonym chips */
.synonym-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.synonym-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 620;
  color: #1363c6;
  background: rgba(19, 99, 198, 0.08);
  border: 1px solid rgba(19, 99, 198, 0.2);
}

/* Before/After examples */
.synonym-example-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.synonym-example {
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #d4dded;
}

.synonym-example--before {
  background: #fff5f5;
  border-color: rgba(220, 60, 60, 0.2);
}

.synonym-example--after {
  background: #f0faf0;
  border-color: rgba(34, 160, 60, 0.2);
}

.synonym-example-label {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.synonym-example--before .synonym-example-label {
  color: #b53030;
  background: rgba(220, 60, 60, 0.1);
}

.synonym-example--after .synonym-example-label {
  color: #1a7a2e;
  background: rgba(34, 160, 60, 0.1);
}

.synonym-example p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #2a3a5c;
}

.synonym-example li {
  font-size: 15px;
  line-height: 1.55;
  color: #2a3a5c;
}

/* Why It Matters */
.synonym-explanation {
  padding: 24px 28px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #d4dded;
}

.synonym-explanation p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.7;
  color: #2a3a5c;
}

.synonym-explanation li {
  font-size: 16px;
  line-height: 1.7;
  color: #2a3a5c;
}

/* Tool section */
.synonym-tool-section {
  margin-top: 56px;
  margin-bottom: 56px;
}

.synonym-tool-intro {
  font-size: 16px;
  line-height: 1.55;
  color: #4c6188;
  margin: 0 0 24px;
}

/* Related words */
.synonym-related-words {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.synonym-related-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #3b5280;
  background: #ffffff;
  border: 1px solid #d4dded;
  text-decoration: none;
  transition: all 0.18s ease;
}

.synonym-related-pill:hover {
  color: #1363c6;
  border-color: rgba(19, 99, 198, 0.4);
  background: rgba(19, 99, 198, 0.06);
}

/* Related articles */
.synonym-related-articles {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.synonym-article-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #d4dded;
  text-decoration: none;
  transition: all 0.18s ease;
}

.synonym-article-link:hover {
  border-color: rgba(19, 99, 198, 0.4);
  background: rgba(19, 99, 198, 0.03);
}

.synonym-article-title {
  font-size: 15px;
  font-weight: 600;
  color: #101f3d;
}

.synonym-article-arrow {
  font-size: 16px;
  color: #1363c6;
  font-weight: 600;
}

/* CTA */
.synonym-cta-section {
  text-align: center;
  margin-top: 64px;
  padding: 48px 24px;
  background: #ffffff;
  border: 1px solid #d4dded;
  border-radius: 18px;
}

.synonym-cta-section h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 780;
  letter-spacing: -0.02em;
  color: #101f3d;
  margin: 0 0 12px;
}

.synonym-cta-section p {
  max-width: 540px;
  margin: 0 auto 20px;
  color: #4c6188;
  font-size: 16px;
  line-height: 1.55;
}

.synonym-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: #1363c6;
  color: #ffffff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 650;
  font-size: 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.synonym-cta-btn:hover {
  background: #2d7de0;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 900px) {
  .synonym-hero {
    padding: 112px 18px 64px;
  }

  .synonym-listing,
  .synonym-content {
    padding: 48px 18px 82px;
  }

  .synonym-word-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .synonym-word-grid {
    grid-template-columns: 1fr;
  }

  .synonym-example-pair {
    grid-template-columns: 1fr;
  }

  .synonym-hero--word {
    padding-bottom: 42px;
  }
}
