.guide-container {
  max-width: 1240px;
}

.guide-page {
  line-height: 1.75;
}

.guide-page .comparison-hero {
  padding-bottom: 32px;
}

.guide-hub {
  padding-bottom: 48px;
}

.guide-hub .comparison-fit-card {
  padding: 28px;
}

.guide-hub .comparison-fit-card h2 {
  font-size: 1.65rem;
}

.guide-hub .comparison-fit-card .comparison-small {
  margin-top: 16px;
}

.guide-page .guide-quick-links {
  padding-top: 24px;
}

.guide-layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-top: 32px;
  padding-bottom: 56px;
}

.guide-sidebar {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 124px);
  overflow-y: auto;
  padding: 16px 18px;
  border: 1px solid #d9dfed;
  border-radius: 12px;
  background: #fafbff;
}

.guide-contents summary {
  color: #24283e;
  font-weight: 700;
  cursor: pointer;
}

.guide-contents summary:focus-visible {
  outline: 3px solid var(--pr-blue-dark);
  outline-offset: 4px;
}

.guide-contents ol {
  margin: 16px 0 0;
  padding-left: 24px;
  font-size: 0.875rem;
}

.guide-contents li {
  padding: 4px 0 4px 3px;
}

.guide-contents li::marker {
  color: #5d6475;
}

.guide-body {
  min-width: 0;
}

.guide-body > section {
  padding: 32px 0;
  border-bottom: 1px solid #e6e9f1;
}

.guide-body > section:first-child {
  padding-top: 0;
}

.guide-body > section:last-child {
  border-bottom: 0;
}

.guide-body h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.guide-body h3 {
  margin-top: 24px;
}

.guide-body :is(ol, ul) {
  padding-left: 24px;
}

.guide-body li {
  margin-bottom: 12px;
  padding-left: 4px;
}

.guide-table-wrap {
  margin: 24px 0;
  overflow-x: auto;
}

.guide-table {
  width: 100%;
  font-size: 0.9rem;
}

.guide-table :is(th, td) {
  padding: 12px 14px;
  border: 1px solid #d9dfed;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.guide-table thead {
  color: #24283e;
  background: #f0f4ff;
}

.guide-table tbody th {
  width: 28%;
  font-weight: 600;
}

.guide-screenshot-narrow {
  max-width: 460px;
  margin-inline: auto;
}

.guide-screenshot-medium {
  max-width: 620px;
  margin-inline: auto;
}

.guide-troubleshooting dt {
  margin-top: 20px;
  color: #24283e;
}

.guide-troubleshooting dd {
  margin: 6px 0 0;
}

@media (max-width: 1199px) {
  .guide-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .guide-sidebar {
    position: static;
    max-height: none;
  }

  .guide-contents ol {
    columns: 2;
    column-gap: 32px;
  }

  .guide-contents li {
    break-inside: avoid;
  }
}

@media (max-width: 575px) {
  .guide-contents ol {
    columns: 1;
  }

  .guide-hub .comparison-fit-card {
    padding: 20px;
  }

  .guide-table :is(th, td) {
    padding: 9px;
    font-size: 0.8rem;
  }

  .guide-body .comparison-callout {
    padding: 16px;
  }
}

@media print {
  #header,
  #footer,
  .back-to-top,
  .guide-sidebar,
  .guide-page .comparison-actions {
    display: none !important;
  }

  .guide-page {
    color: #000;
    font-size: 10pt;
    line-height: 1.5;
  }

  .guide-page .comparison-hero {
    padding: 0 0 16px;
    background: none;
  }

  .guide-layout {
    display: block;
    padding: 0;
  }

  .guide-container {
    max-width: none;
    width: 100%;
  }

  .guide-body > section {
    padding: 16px 0;
  }

  .guide-page :is(h2, h3) {
    break-after: avoid;
  }

  .guide-page :is(figure, tr) {
    break-inside: avoid;
  }

  .guide-page figure {
    max-width: 520px;
    margin: 16px auto;
  }

  .guide-page figure img {
    max-height: 170mm;
    object-fit: contain;
  }

  .guide-table-wrap {
    overflow: visible;
  }
}
