/* Isolated styles for the Quick Start page.
   Not shared with map/, custom-charts/, market-report/, education-videos/,
   micromarket-training/, or faq/. */

.gs-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 20px 60px;
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.gs-heading {
  font-size: 26px;
  font-weight: 700;
  color: #144E9A;
  margin: 0 0 24px;
}

.gs-video-wrap {
  background: #0b1220;
  border-radius: 10px;
  overflow: hidden;
}

.gs-video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  background: #0b1220;
}

.gs-legacy-link {
  display: inline-block;
  margin-top: 12px;
  color: #53657d;
  font-size: 13px;
}

.gs-legacy-link:hover,
.gs-legacy-link:focus-visible {
  color: #144e9a;
}

.gs-legacy-modal {
  width: min(900px, calc(100vw - 32px));
  margin: auto;
  padding: 16px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.gs-legacy-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.gs-legacy-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.gs-legacy-modal-title {
  margin: 0;
  color: #144e9a;
  font-size: 18px;
}

.gs-legacy-modal-close {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #144e9a;
  color: #fff;
  font-size: 26px;
  line-height: 28px;
  cursor: pointer;
}

.gs-legacy-video-wrap {
  overflow: hidden;
  border-radius: 6px;
  background: #0b1220;
}

.gs-legacy-video-embed {
  width: 100%;
  position: relative;
  padding-top: 56.25%;
}

/* The sidebar and reader share the existing Academy shell. */
.gs-layout {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.gs-sidebar {
  grid-column: 1;
  grid-row: 1;
  position: sticky;
  top: 100px;
  max-height: calc(100dvh - 120px);
  overflow-y: auto;
  padding: 16px;
  background: #f3f6fb;
  border: 1px solid #dce5f0;
  border-radius: 10px;
}
.gs-sidebar h2 {
  margin: 24px 10px 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #53657d;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.gs-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.gs-sidebar li + li {
  margin-top: 3px;
}
.gs-nav-link {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: #244362;
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
}
.gs-nav-link:hover {
  background: #e3ecf8;
}
.gs-nav-link[aria-current="page"] {
  background: #144e9a;
  color: #fff;
  font-weight: 600;
}
.gs-page a:focus-visible, .gs-page button:focus-visible {
  outline: 3px solid #e08700;
  outline-offset: 3px;
}
.gs-reader {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  scroll-margin-top: 110px;
}
.gs-reader [hidden] {
  display: none;
}
.gs-reader h2 {
  margin: 0 0 20px;
  color: #144e9a;
  font-size: 27px;
  line-height: 1.3;
}
.gs-reader h2:focus {
  outline: none;
}
.gs-section-label {
  margin: 0 0 8px;
  color: #53657d;
  font-size: 13px;
  font-weight: 600;
}
.gs-article-body {
  color: #24364b;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: break-word;
}
.gs-article-body p {
  margin: 0 0 18px;
}
.gs-article-body li {
  margin-bottom: 10px;
}
.gs-article-body ol, .gs-article-body ul {
  padding-left: 24px;
  margin: 0 0 22px;
}
.gs-article-body a, .gs-pmt-note a {
  color: #144e9a;
  text-underline-offset: 3px;
}
.gs-article-body img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid #dce5f0;
  border-radius: 8px;
  box-sizing: border-box;
}
.gs-article-body .pic {
  margin: 24px 0;
}
.gs-article-body .table-wrap {
  overflow-x: auto;
  margin: 24px 0;
}
.gs-article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}
.gs-article-body th, .gs-article-body td {
  padding: 12px;
  border: 1px solid #dce5f0;
  text-align: left;
  vertical-align: top;
  min-width: 110px;
}
.gs-article-body th {
  background: #f3f6fb;
  color: #144e9a;
}
.gs-related {
  border-top: 1px solid #dce5f0;
  padding-top: 20px;
}
.gs-pmt-note {
  padding: 12px 16px;
  background: #f3f6fb;
  border-left: 3px solid #144e9a;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 24px;
}
.gs-article-body button {
  padding: 10px 16px;
  background: #144e9a;
  color: #fff;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}
@media (max-width: 760px) {
  .gs-page {
    padding: 24px 16px 40px;
  }
  .gs-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .gs-sidebar {
    grid-column: 1;
    grid-row: 2;
    position: static;
    max-height: none;
  }
  .gs-reader h2 {
    font-size: 23px;
  }
  .gs-reader {
    grid-column: 1;
    grid-row: 1;
  }
  .gs-article-body {
    font-size: 15px;
  }
}
