/* Guide/article page styles */

.guide-page {
  padding-top: 100px;
}

.guide-hero {
  padding: 40px 0;
  text-align: center;
}
.guide-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-glow);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.guide-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--ivory);
  font-weight: 400;
  line-height: 1.25;
  max-width: 720px;
  margin: 0 auto 16px;
}
.guide-hero__meta {
  color: var(--warm-gray);
  font-size: 0.85rem;
}

/* Article body */
.guide-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--container-x) var(--section-y);
}
.guide-body h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ivory);
  font-weight: 400;
  margin: 48px 0 16px;
  line-height: 1.3;
}
.guide-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ivory-muted);
  font-weight: 400;
  margin: 32px 0 12px;
}
.guide-body p {
  color: var(--warm-gray-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.guide-body ul,
.guide-body ol {
  color: var(--warm-gray-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0 0 16px 20px;
}
.guide-body li {
  margin-bottom: 8px;
}
.guide-body strong {
  color: var(--ivory);
  font-weight: 500;
}
.guide-body a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.guide-body a:hover {
  color: var(--gold-light);
}
.guide-body a.btn {
  color: var(--black);
  text-decoration: none;
}

/* CTA box inside article */
.guide-cta {
  background: var(--charcoal);
  border: 1px solid rgba(138, 132, 120, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 40px 0;
  text-align: center;
}
.guide-cta h3 {
  font-family: var(--font-display);
  color: var(--ivory);
  margin: 0 0 8px;
}
.guide-cta p {
  color: var(--warm-gray-light);
  margin-bottom: 16px;
}
.guide-cta .btn {
  display: inline-flex;
}

/* Guides index page */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  padding-bottom: var(--section-y);
}
.guide-card {
  background: var(--charcoal);
  border: 1px solid rgba(138, 132, 120, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition:
    border-color 0.3s var(--ease-smooth),
    transform 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.guide-card:hover {
  border-color: rgba(201, 169, 98, 0.25);
  transform: translateY(-2px);
}
.guide-card__tag {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.guide-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ivory);
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 10px;
}
.guide-card p {
  color: var(--warm-gray-light);
  font-size: 0.88rem;
  line-height: 1.6;
  flex: 1;
}
.guide-card__link {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s var(--ease-out);
}
.guide-card:hover .guide-card__link {
  gap: 10px;
}

/* Guides index intro */
.guides-intro {
  color: var(--warm-gray-light);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 32px;
  text-align: center;
}

/* Related guides at bottom of article pages */
.guide-related {
  padding: 0 0 var(--section-y);
}
.guide-related h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ivory);
  font-weight: 400;
  margin-bottom: 24px;
  text-align: center;
}

/* FAQ accordion on guide pages — mirrors pricing FAQ */
.guide-faq {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--container-x) var(--section-y);
}
.guide-faq h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ivory);
  font-weight: 400;
  margin-bottom: 24px;
}
.guide-faq__item {
  border-bottom: 1px solid rgba(138, 132, 120, 0.2);
}
.guide-faq__q {
  width: 100%;
  background: none;
  border: none;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  padding: 18px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.guide-faq__q:hover { color: var(--gold); }
.guide-faq__q i {
  font-size: 0.75rem;
  color: var(--warm-gray);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
}
.guide-faq__item.open .guide-faq__q i { transform: rotate(180deg); }
.guide-faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.guide-faq__item.open .guide-faq__a { max-height: 200px; }
.guide-faq__a p {
  color: var(--warm-gray-light);
  font-size: 0.92rem;
  line-height: 1.7;
  padding-bottom: 18px;
}
