/* =========================================================
   SEO guide pages (/alternativa-guitar-pro/ etc.) — shares tokens with style.css
   ========================================================= */

.guide-hero {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--border);
}

.guide-breadcrumbs {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.guide-breadcrumbs a { color: var(--text-muted); }
.guide-breadcrumbs a:hover { color: var(--text); }
.guide-breadcrumbs span { margin: 0 6px; }

.guide-hero h1 {
  font-size: 44px;
  max-width: 820px;
  margin-bottom: 18px;
}

.guide-lead {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 760px;
  margin-bottom: 28px;
}

.guide-platforms {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

.guide-body { padding: 24px 0 96px; }

/* Same left edge as the hero; only the text column is narrowed */
.guide-container > * { max-width: 820px; }

.guide-body h2 {
  font-size: 28px;
  margin: 56px 0 16px;
}

.guide-body p,
.guide-body li {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}
.guide-body p { margin-bottom: 14px; }

.guide-body ul,
.guide-body ol {
  padding-left: 22px;
  margin: 0 0 14px;
}
.guide-body li { margin-bottom: 10px; }
.guide-body li::marker { color: var(--accent); }

.guide-body strong { color: var(--text); font-weight: 700; }

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

.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 8px 0 14px;
}
.guide-table th,
.guide-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  color: var(--text-muted);
}
.guide-table th {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.guide-table td:first-child { color: var(--text); }
.guide-table td:not(:first-child),
.guide-table th:not(:first-child) { text-align: center; white-space: nowrap; }

.guide-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 40px 0 8px;
  padding: 24px 28px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.guide-body .guide-cta-title {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.guide-body .guide-cta-text { font-size: 14px; margin: 0; }
.guide-cta .btn { flex-shrink: 0; }

.guide-faq { border-top: 1px solid var(--border); }

.guide-faq-item { border-bottom: 1px solid var(--border); }

.guide-faq-item summary {
  cursor: pointer;
  padding: 18px 32px 18px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  list-style: none;
  position: relative;
}
.guide-faq-item summary::-webkit-details-marker { display: none; }
.guide-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 14px;
  font-size: 22px;
  font-weight: 400;
  color: var(--text-muted);
}
.guide-faq-item[open] summary::after { content: '−'; }
.guide-faq-item p { margin: 0 0 18px; }

.guide-related { margin-top: 64px; }

.guide-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.guide-body .guide-related-links a {
  padding: 10px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
}
.guide-body .guide-related-links a:hover { border-color: var(--accent); }

@media (max-width: 640px) {
  .guide-hero { padding: 36px 0 36px; }
  .guide-hero h1 { font-size: 30px; }
  .guide-lead { font-size: 16px; }
  .guide-body h2 { font-size: 23px; margin-top: 44px; }
  .guide-cta { flex-direction: column; align-items: stretch; text-align: left; padding: 20px; }
  .guide-table { font-size: 13px; }
  .guide-table th, .guide-table td { padding: 10px 8px; }
  .guide-table td:not(:first-child),
  .guide-table th:not(:first-child) { white-space: normal; }
}

/* Terminal commands in how-to guides */
.guide-body code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 5px;
  overflow-wrap: anywhere;
}
.guide-body pre {
  margin: 0 0 18px;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow-x: auto;
}
.guide-body pre code {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  font-size: 13.5px;
  line-height: 1.6;
  white-space: pre;
  overflow-wrap: normal;
}
.guide-body li pre { margin: 10px 0 4px; }

.guide-body h3 {
  font-size: 19px;
  margin: 28px 0 10px;
}

/* Text-heavy comparison table: wrap and left-align every column */
.guide-table-left td:not(:first-child),
.guide-table-left th:not(:first-child) { text-align: left; white-space: normal; }

/* Demo clip inside a guide (same lazy <video class="feature-video"> as the home page) */
.guide-media { margin: 8px 0 24px; }
.guide-media .feature-video { border: 1px solid var(--border); }
.guide-media figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-dim);
}
