/* Creator guides cluster */

.guides-page {
  background: var(--bg);
  padding-bottom: 4rem;
}

.guides-hero {
  padding: calc(var(--nav-height) + 3rem) 0 2.5rem;
  background: linear-gradient(165deg, #eef4ff 0%, #f8fafc 45%, #f1f5f9 100%);
  border-bottom: 1px solid var(--border-soft);
}

.guides-hero__inner {
  max-width: 720px;
}

.guides-kicker {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.guides-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.guides-hero p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 40rem;
}

.guides-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  margin-top: 2.5rem;
  align-items: start;
}

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

.guides-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.guides-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.guides-item:first-child {
  padding-top: 0;
}

.guides-item__cat {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.guides-item h2 {
  font-size: 1.125rem;
  margin: 0 0 0.4rem;
  line-height: 1.35;
}

.guides-item h2 a {
  color: var(--text);
  text-decoration: none;
}

.guides-item h2 a:hover {
  color: var(--primary);
}

.guides-item p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.guides-aside .widget {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.guides-aside h3 {
  font-size: 0.875rem;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.guides-aside ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.guides-aside li {
  margin-bottom: 0.5rem;
}

.guides-aside a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.875rem;
}

.guides-aside a:hover {
  color: var(--primary);
}

.guides-cta-box {
  background: linear-gradient(145deg, #0066ff 0%, #4c77fd 100%);
  color: #fff;
  border: none;
}

.guides-cta-box h3,
.guides-cta-box p,
.guides-cta-box a {
  color: #fff;
}

.guides-cta-box p {
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0 0 1rem;
  opacity: 0.92;
}

.guides-cta-box .btn {
  background: #fff;
  color: #0066ff;
  border: none;
  width: 100%;
  text-align: center;
}

/* Article body */
.guide-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
}

.guide-article__meta {
  font-size: 0.875rem;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
}

.guide-article__meta a {
  color: var(--primary);
  text-decoration: none;
}

.guide-article h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.125rem);
  line-height: 1.25;
  margin: 0 0 1rem;
}

.guide-article .lead {
  font-size: 1.0625rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin: 0 0 2rem;
}

.guide-article h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.guide-article p,
.guide-article li {
  line-height: 1.7;
  color: var(--text);
}

.guide-article ul,
.guide-article ol {
  padding-left: 1.25rem;
  margin: 0.75rem 0 1.25rem;
}

.guide-article li {
  margin-bottom: 0.4rem;
}

.guide-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.9375rem;
}

.guide-article th,
.guide-article td {
  border: 1px solid var(--border-soft);
  padding: 0.65rem 0.75rem;
  text-align: left;
}

.guide-article th {
  background: #f8fafc;
  font-weight: 600;
}

.guide-end-cta {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: #f0f6ff;
  border: 1px solid rgba(0, 102, 255, 0.15);
  border-radius: var(--radius-md);
}

.guide-end-cta h2 {
  margin-top: 0;
  font-size: 1.125rem;
}

.guide-end-cta .btn {
  margin-top: 0.75rem;
  margin-right: 0.5rem;
}

.guide-related {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
}

.guide-related h2 {
  font-size: 1rem;
  margin: 0 0 0.75rem;
}

.guide-related ul {
  margin: 0;
}

.guide-faq-list { margin: 0 0 1.5rem; }
.guide-faq-list dt {
  font-weight: 650;
  margin: 1rem 0 0.35rem;
  color: var(--text);
}
.guide-faq-list dd {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}
