/* Downloads page - PAGE-SPECIFIC ONLY.
 * The look comes from the home page's sheets (/demonstrations/formation/006, 024,
 * 022, 023) and the shared house header. This file only places the download card
 * and the revision history (markup from 133.php) inside that skin, using the
 * skin's own custom properties. Treatments mirror home components:
 * .chapter, .chapter-number, .chapter h2, a.primary-action, .faq-grid details.
 */

/* The home frame reserves a language-gauge rail at >=1200px; this page has none. */
@media (min-width: 1200px) {
  .site-frame.dhx-dl-frame { display: block; padding-left: 0; }
}

.dhx-dl .chapter-number,
.revisions .eyebrow { text-transform: uppercase; }

/* -- download card (home .chapter) --------------------------------- */
.dhx-dl-get { border-top: 0; }
.dhx-dl-get h1 {
  font-size: clamp(30px, 4.5vw, 52px);   /* = home .chapter h2 */
  letter-spacing: normal;
  max-width: 750px;
  margin: 0 0 18px;
}
.dhx-dl-get .dhx-dl-lede { max-width: 62ch; margin: 0 0 26px; }
.dhx-dl a { color: var(--gold-bright); text-underline-offset: 4px; }

/* The button markup comes from includes/dhx-download.php; give it the home
   page's a.primary-action treatment (006 + 023). */
.dhx-dl .rz-seo-hotspot { max-width: 360px; }
.dhx-dl .rz-seo-hotspot > a {
  padding: 14px 20px;
  color: #fff;
  background: var(--gold-bright);
  border: 1px solid var(--gold-bright);
  border-radius: var(--radius);
  outline: 2px solid transparent;
  outline-offset: 2px;
  font-weight: 700;
  font-size: 16px;
  text-shadow: 0 1px 2px var(--void);
  transition: color .18s, background-color .18s, outline-color .18s;
}
.dhx-dl .rz-seo-hotspot > a:hover,
.dhx-dl .rz-seo-hotspot > a:focus-visible {
  color: var(--gold);
  background: #fff;
  outline-color: var(--gold-bright);
  text-shadow: none;
}

.dhx-dl-verify {
  margin: 28px 0 18px;
  padding: 12px 15px;
  border-left: 2px solid var(--gold-line);
  background: var(--panel-strong);
  max-width: 760px;
}
.dhx-dl .dhx-dl-micro { font-size: 14px; line-height: 1.6; margin: 6px 0; }
.dhx-dl .hashline {
  margin: 6px 0;
  font: 13px/1.5 ui-monospace, Consolas, monospace;
  color: var(--parchment);
  word-break: break-all;
}
.dhx-dl code { font-family: ui-monospace, Consolas, monospace; font-size: 13px; color: var(--gold-bright); }

/* -- revision history (133.php) as a home .chapter + .faq-grid --------- */
.dhx-dl .revisions {
  padding: 65px 44px;
  border-top: 1px solid var(--line);
}
.revisions .eyebrow { margin: 0 0 12px; font-size: 11px; letter-spacing: .18em; color: var(--teal); }
.revisions h2 { font-size: clamp(30px, 4.5vw, 52px); max-width: 750px; color: var(--gold-bright); }
.revisions > p { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0 0 18px; }
.revisions details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.revisions summary {
  font-family: Cinzel, Georgia, serif;
  font-size: 18px;
  color: var(--parchment);
  cursor: pointer;
}
.revisions summary span {
  float: right;
  font: 13px Inter, Segoe UI, Arial, sans-serif;
  letter-spacing: .08em;
  color: var(--muted);
  padding-top: 4px;
}
.revisions ul { margin: 12px 0 0; padding-left: 20px; }
.revisions li { margin: 8px 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.revisions li::marker { color: var(--gold); }

@media (max-width: 720px) {
  .dhx-dl .revisions { padding: 38px 22px; }   /* = home .chapter at this width */
  .revisions summary span { float: none; display: block; padding-top: 2px; }
}
