/* ===== GUIDE PAGES — shared styles ===== */

.guide-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2.5rem;
  border-bottom: 1px solid var(--border);
}

.guide-nav .logo img { height: 28px; }

.guide-back {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}

.guide-back:hover { color: var(--text); }

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

.guide-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.guide-article h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.guide-article .guide-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.guide-article h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin: 3rem 0 1.25rem;
}

.guide-article h3 {
  font-size: 1.15rem;
  margin: 2.5rem 0 1rem;
}

.guide-article p {
  font-size: 0.95rem;
  line-height: 1.78;
  margin-bottom: 1.25rem;
}

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

.guide-article li {
  font-size: 0.95rem;
  line-height: 1.72;
  margin-bottom: 0.5rem;
}

.guide-article strong {
  font-weight: 500;
}

.guide-article a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guide-article a:hover {
  color: var(--text);
}

/* CTA box at the end */
.guide-cta {
  margin-top: 3.5rem;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.guide-cta h3 {
  margin: 0 0 0.75rem;
}

.guide-cta p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.guide-cta .btn {
  display: inline-flex;
}

/* Related guides */
.guide-related {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.guide-related h3 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.guide-related-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.2s var(--ease);
}

.guide-related-card:hover {
  border-color: var(--accent-light);
}

.guide-related-card h4 {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.guide-related-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* Guide footer */
.guide-footer {
  background: var(--bg-dark);
  padding: 2.5rem;
  text-align: center;
  color: rgba(253,252,250,0.4);
  font-size: 0.75rem;
}

.guide-footer a {
  color: rgba(253,252,250,0.6);
  text-decoration: none;
}

.guide-footer a:hover {
  color: var(--white);
}

@media (max-width: 600px) {
  .guide-nav { padding: 1.2rem 1.5rem; }
  .guide-article { padding: 3.5rem 1.5rem 4rem; }
  .guide-related-grid { grid-template-columns: 1fr; }
  .guide-cta { padding: 2rem 1.5rem; }
}
