/* ============================================================
   guides.css — help center hub + long-form guide articles
   Load after slp-critical.css + slp-deferred.css
   ============================================================ */

/* Article layout */
.guide-main {
  padding: 0 0 48px;
}
.guide-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
  padding-top: 40px;
}
@media (max-width: 900px) {
  .guide-layout {
    grid-template-columns: 1fr;
  }
  .guide-sidebar { display: none; }
}

/* Article header */
.guide-article__category-tag {
  display: inline-block;
  background: #f3e5ff;
  color: #4a0072;
  border-radius: 20px;
  padding: 3px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.guide-article__h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: #1a001f;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 16px;
}
.guide-article__byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 24px;
  align-items: center;
}
.guide-article__sep { opacity: 0.4; }
.guide-article__author { font-weight: 600; color: #4a0072; }

/* Hero image */
.guide-article__hero-figure {
  margin: 0 0 32px;
  border-radius: 12px;
  overflow: hidden;
}
.guide-article__hero-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Body content */
.guide-article__intro {
  font-size: 1.07rem;
  line-height: 1.8;
  color: #333;
  border-left: 4px solid #ffd54f;
  padding-left: 18px;
  margin-bottom: 32px;
}
.guide-article__body {
  font-size: 0.97rem;
  color: #222;
  line-height: 1.8;
}
.guide-article__body h2 {
  font-size: 1.35rem;
  color: #4a0072;
  font-weight: 700;
  margin: 40px 0 14px;
  border-bottom: 2px solid #f0e0ff;
  padding-bottom: 6px;
}
.guide-article__body h3 {
  font-size: 1.08rem;
  color: #1a001f;
  font-weight: 700;
  margin: 28px 0 10px;
}
.guide-article__body p { margin: 0 0 16px; }
.guide-article__body ul,
.guide-article__body ol {
  padding-left: 22px;
  margin: 0 0 16px;
}
.guide-article__body li { margin-bottom: 6px; }
.guide-article__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.92rem;
}
.guide-article__body table th {
  background: #4a0072;
  color: #fff;
  padding: 10px 12px;
  text-align: left;
}
.guide-article__body table td {
  padding: 9px 12px;
  border-bottom: 1px solid #f0e0ff;
}
.guide-article__body table tr:nth-child(even) td {
  background: #faf5ff;
}
.guide-article__body a {
  color: #4a0072;
  text-decoration: underline;
}
.guide-article__body strong { color: #1a001f; }

/* FAQ */
.guide-faq { margin-top: 40px; }
.guide-faq__heading {
  font-size: 1.35rem;
  color: #4a0072;
  font-weight: 700;
  margin: 0 0 20px;
}
.guide-faq details {
  border-bottom: 1px solid #e8d5f5;
  padding: 14px 0;
}
.guide-faq summary {
  font-weight: 600;
  font-size: 0.97rem;
  color: #1a001f;
  cursor: pointer;
  list-style: none;
  padding-right: 20px;
  position: relative;
}
.guide-faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  color: #4a0072;
  font-size: 1.2rem;
}
.guide-faq details[open] summary::after { content: '\2212'; }
.guide-faq .faq-a {
  font-size: 0.93rem;
  color: #444;
  line-height: 1.7;
  padding-top: 10px;
}

/* Related */
.guide-related { margin-top: 40px; }
.guide-related__heading {
  font-size: 1.1rem;
  color: #4a0072;
  font-weight: 700;
  margin: 0 0 16px;
}
.guide-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.guide-related-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #f4f7f6;
  border: 1px solid #e0d0f0;
  border-radius: 8px;
  padding: 14px 16px;
  text-decoration: none;
  color: #1a001f;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.15s;
}
.guide-related-card:hover { background: #ede0ff; }
.guide-related-card__label {
  font-size: 0.75rem;
  color: #4a0072;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Sidebar */
.guide-sidebar__box {
  background: #4a0072;
  color: #fff;
  border-radius: 12px;
  padding: 28px 22px;
  margin-bottom: 24px;
  text-align: center;
}
.guide-sidebar__box h3 {
  font-size: 1rem;
  margin: 0 0 10px;
}
.guide-sidebar__box p {
  font-size: 0.88rem;
  opacity: 0.85;
  margin: 0 0 16px;
  line-height: 1.6;
}
.guide-sidebar__box .btn-wa {
  display: inline-block;
  background: #25d366;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Breadcrumb */
.guide-breadcrumb {
  background: #f4f7f6;
  border-bottom: 1px solid #e0d0f0;
  padding: 10px 0;
  font-size: 0.82rem;
}
.guide-breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  color: #777;
}
.guide-breadcrumb__list a { color: #4a0072; text-decoration: none; }
.guide-breadcrumb__list a:hover { text-decoration: underline; }

/* CTA strip */
.section-cta-gold-strip {
  background: linear-gradient(90deg, #ffd54f 0%, #ffca28 100%);
  padding: 40px 0;
  text-align: center;
}
.section-cta-gold-strip h2 {
  color: #1a001f;
  font-size: 1.4rem;
  margin: 0 0 8px;
}
.section-cta-gold-strip p {
  color: #333;
  font-size: 0.95rem;
  margin: 0 0 20px;
}
.section-cta-gold-strip .cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.section-cta-gold-strip .btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}
.section-cta-gold-strip .btn-gold {
  background: #4a0072;
  color: #fff;
}
.section-cta-gold-strip .btn-wa {
  background: #25d366;
  color: #fff;
}
