/**
 * ANDRIA LABS - Guide Page Styles
 * Article-focused typography reusing the Abundance Design system
 */

/* Guide Layout */
.guide-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.guide-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid rgba(201, 169, 97, 0.2);
  margin-bottom: 2.5rem;
}

.guide-breadcrumb {
  font-size: 0.875rem;
  color: #85927F;
  margin-bottom: 1rem;
}

.guide-breadcrumb a {
  color: var(--gold);
  text-decoration: none;
}

.guide-breadcrumb a:hover {
  text-decoration: underline;
}

.guide-header h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  color: var(--warm-cream);
  margin-bottom: 1rem;
  font-weight: 700;
}

.guide-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: #85927F;
  flex-wrap: wrap;
}

.guide-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Article Content */
.guide-content h2 {
  font-size: 1.5rem;
  color: var(--warm-cream);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(201, 169, 97, 0.15);
  font-weight: 600;
}

.guide-content h3 {
  font-size: 1.2rem;
  color: var(--gold-light);
  margin: 2rem 0 0.75rem;
  font-weight: 600;
}

.guide-content p {
  color: rgba(251, 246, 240, 0.85);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.guide-content ul, .guide-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: rgba(251, 246, 240, 0.85);
  line-height: 1.75;
}

.guide-content li {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.guide-content strong {
  color: var(--warm-cream);
  font-weight: 600;
}

.guide-content a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 169, 97, 0.3);
  transition: border-color 0.2s;
}

.guide-content a:hover {
  border-bottom-color: var(--gold);
}

/* Callout Boxes */
.guide-callout {
  background: rgba(201, 169, 97, 0.08);
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 6px 6px 0;
}

.guide-callout p {
  margin-bottom: 0;
  color: var(--warm-cream);
}

.guide-callout strong {
  color: var(--gold-light);
}

/* Stat Grid */
.guide-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.guide-stat {
  background: rgba(201, 169, 97, 0.06);
  border: 1px solid rgba(201, 169, 97, 0.12);
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
}

.guide-stat .stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}

.guide-stat .stat-label {
  font-size: 0.85rem;
  color: #85927F;
  margin-top: 0.25rem;
}

/* Comparison Table */
.guide-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.guide-table th {
  background: rgba(201, 169, 97, 0.1);
  color: var(--gold-light);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid rgba(201, 169, 97, 0.2);
}

.guide-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(201, 169, 97, 0.08);
  color: rgba(251, 246, 240, 0.85);
}

.guide-table tr:hover td {
  background: rgba(201, 169, 97, 0.04);
}

/* CTA Section */
.guide-cta {
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.1), rgba(201, 169, 97, 0.05));
  border: 1px solid rgba(201, 169, 97, 0.2);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin: 3rem 0 2rem;
}

.guide-cta h3 {
  color: var(--warm-cream);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.guide-cta p {
  color: rgba(251, 246, 240, 0.7);
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.guide-cta a.cta-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--gold);
  color: #1A1814;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  transition: background 0.2s;
}

.guide-cta a.cta-button:hover {
  background: var(--gold-light);
}

/* TOC */
.guide-toc {
  background: rgba(201, 169, 97, 0.06);
  border: 1px solid rgba(201, 169, 97, 0.12);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.guide-toc h4 {
  color: var(--gold-light);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.guide-toc ol {
  margin: 0;
  padding-left: 1.25rem;
}

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

.guide-toc a {
  color: rgba(251, 246, 240, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: none;
}

.guide-toc a:hover {
  color: var(--gold);
}

/* Back to Guides */
.guide-footer {
  border-top: 1px solid rgba(201, 169, 97, 0.15);
  padding-top: 2rem;
  margin-top: 3rem;
}

.guide-footer a {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.95rem;
}

/* Mobile */
@media (max-width: 768px) {
  .guide-header h1 {
    font-size: 1.75rem;
  }

  .guide-content h2 {
    font-size: 1.3rem;
  }

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

  .guide-table {
    font-size: 0.85rem;
  }

  .guide-table th, .guide-table td {
    padding: 0.5rem 0.75rem;
  }
}

@media (max-width: 480px) {
  .guide-container {
    padding: 1rem 1rem 3rem;
  }

  .guide-stats {
    grid-template-columns: 1fr;
  }

  .guide-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}
