/* Guides page — Quick Start grid + text sections */

body.guides-page #vx-main-stage,
#vx-main-stage.guides-page {
  padding: 0 !important;
  margin: 0;
  max-width: none;
  background: transparent;
}

#vx-main-stage.guides-page section {
  margin-top: 0 !important;
}

.guides-page {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  overflow-x: hidden;
}

.guides-page > * {
  position: relative;
  z-index: 1;
}

/* Guides hero */
.guides-hero {
  width: min(980px, 90vw);
  margin: 0 auto;
  padding: calc(var(--header-h, 72px) + 28px) 0 40px;
  text-align: center;
}

.guides-kicker {
  margin: 0 0 14px;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

#vx-main-stage.guides-page .guides-hero h1,
.guides-hero h1 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(2rem, 3.5vw, 2.85rem) !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96) !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  text-shadow: 0 0 28px rgba(255, 255, 255, 0.08);
}

.guides-hero p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(220, 225, 235, 0.64);
}

/* Page TOC */
.guides-page .page-toc {
  width: min(1040px, 92vw);
  margin: 0 auto 32px;
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.guides-page .page-toc h2 {
  margin: 0 0 16px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.guides-page .page-toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.guides-page .page-toc a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 2px;
}

.guides-page .page-toc a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* Detail sections */
.guides-detail {
  width: min(1040px, 92vw);
  margin: 0 auto 24px;
}

.guide-section {
  margin-bottom: 36px;
  padding: 28px 30px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(8, 8, 8, 0.88);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.35);
}

.guide-section h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.guide-section h3 {
  margin: 20px 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.guide-section h3:first-of-type {
  margin-top: 0;
}

.guide-section-lead,
.guide-section p {
  margin: 0 0 14px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(220, 225, 235, 0.64);
}

.guide-section ol,
.guide-section ul {
  margin: 0 0 14px;
  padding-left: 20px;
  color: rgba(220, 225, 235, 0.64);
  font-size: 0.9rem;
  line-height: 1.7;
}

.guide-section li {
  margin-bottom: 6px;
}

.guide-section strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.guide-section a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.guide-section a:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.guide-section .text-warning {
  color: rgba(255, 218, 139, 0.88);
  font-size: 0.88rem;
}

.guide-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.guide-accordion article {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.guide-accordion h3 {
  margin: 0 0 8px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.88);
}

.guide-accordion p {
  margin: 0;
  font-size: 0.86rem;
}

.guides-page .best-practices-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.guides-page .best-practices-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 20px;
  color: rgba(220, 225, 235, 0.64);
  font-size: 0.9rem;
  line-height: 1.65;
}

.guides-page .best-practices-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.45);
}

#vx-main-stage.guides-page .nearby-links {
  width: min(760px, 92vw);
  margin: 32px auto 40px;
  padding: 28px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

#vx-main-stage.guides-page .nearby-links h2 {
  margin: 0 0 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.94);
}

#vx-main-stage.guides-page .nearby-links ul {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

#vx-main-stage.guides-page .nearby-links li {
  width: 100%;
  display: flex;
  justify-content: center;
}

#vx-main-stage.guides-page .nearby-links a {
  display: inline-block;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding-bottom: 6px;
  transition: color 180ms ease, border-color 180ms ease;
}

#vx-main-stage.guides-page .nearby-links a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

/* Shared with download page */
.guide-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 2.5rem;
  align-items: start;
  margin-top: 2rem;
}

.guide-block__text {
  min-width: 0;
}

@media (max-width: 900px) {
  .guides-page .page-toc ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-block {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .guides-hero {
    padding: calc(64px + 20px) 0 32px;
  }

  .guides-page .page-toc ul {
    grid-template-columns: 1fr;
  }

  .guide-section {
    padding: 20px;
  }
}

/* ═══ Guides page — center all text content ═══ */

#vx-main-stage.guides-page,
#vx-main-stage.guides-page .guides-detail,
#vx-main-stage.guides-page .page-toc,
#vx-main-stage.guides-page .guide-section,
#vx-main-stage.guides-page .guide-accordion,
#vx-main-stage.guides-page .guide-accordion article {
  text-align: center;
}

#vx-main-stage.guides-page .guides-hero p,
#vx-main-stage.guides-page .guide-section-lead,
#vx-main-stage.guides-page .guide-section p,
#vx-main-stage.guides-page .guide-section h2,
#vx-main-stage.guides-page .guide-section h3,
#vx-main-stage.guides-page .guide-section .text-warning,
#vx-main-stage.guides-page .page-toc h2,
#vx-main-stage.guides-page .guide-accordion h3,
#vx-main-stage.guides-page .guide-accordion p {
  text-align: center;
}

#vx-main-stage.guides-page .page-toc ul {
  justify-items: center;
}

#vx-main-stage.guides-page .page-toc a {
  display: inline-block;
  text-align: center;
}

#vx-main-stage.guides-page .guide-section ol,
#vx-main-stage.guides-page .guide-section ul,
#vx-main-stage.guides-page .best-practices-list {
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  list-style-position: inside;
  text-align: center;
  max-width: 52rem;
}

#vx-main-stage.guides-page .best-practices-list li {
  padding-left: 0;
}

#vx-main-stage.guides-page .best-practices-list li::before {
  position: static;
  display: inline;
  margin-right: 0.35em;
}

/* Y2K titlebars — keep labels centered in the chrome bar */
body.vx-neon-frame #vx-main-stage.guides-page .page-toc h2,
body.vx-neon-frame #vx-main-stage.guides-page .guide-section > h2:first-child {
  justify-content: center !important;
  text-align: center !important;
}
