/*! DowGold next: /dowgold-crack/ page block (templates/crack.php, sections/crack-*.php).
 * Every rule is scoped to body.dgn-page[data-page="crack"] (KIT 9): until "crack" is in
 * dgn_live_routes the old crack body is printed under the new chrome with the same data-page, and
 * .dgn-page is only printed by the rebuilt template. Kit tokens and classes only; no new colours.
 * Loaded after site.css by templates/crack.php (next/page-css.php); it can be appended to site.css
 * as a page block unchanged.
 */

/* ---- hero: the H1 is the live question and answer, three lines, one notch smaller on desktops
   (as on /prop-firm-traders/) so the answer line stays whole ---- */
body.dgn-page[data-page="crack"] .dgn-crk-hero .dgn-h1>span{text-wrap:balance}
@media (min-width:1141px){
  body.dgn-page[data-page="crack"] .dgn-crk-hero .dgn-h1{font-size:clamp(40px,4.6vw,68px)}
}
@media (min-width:1600px){
  body.dgn-page[data-page="crack"] .dgn-crk-hero .dgn-h1{font-size:clamp(72px,4.3vw,84px)}
}
body.dgn-page[data-page="crack"] .dgn-crk-hero .dgn-lead+.dgn-lead{margin-top:14px}
body.dgn-page[data-page="crack"] .dgn-crk-hero__more{font-size:16px;color:var(--dgn-muted)}
body.dgn-page[data-page="crack"] .dgn-crk-hero__more a{color:var(--dgn-gold);font-weight:600;text-decoration:underline;text-decoration-color:rgba(251,191,36,.4);text-underline-offset:3px}
body.dgn-page[data-page="crack"] .dgn-crk-hero__more a:is(:hover,:focus){color:var(--dgn-gold-hi);text-decoration-color:currentColor}

/* ---- section heads: the live headlines are long, so the lead column is narrower than the kit's 560px
   and each headline line stays whole ---- */
@media (min-width:1141px){
  body.dgn-page[data-page="crack"] .dgn-proof__head{grid-template-columns:minmax(0,1fr) minmax(0,440px)}
  body.dgn-page[data-page="crack"] .dgn-crk-free .dgn-split--media{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}

/* ---- hero card: kit EA-card parts; three routes as switch rows ---- */
body.dgn-page[data-page="crack"] .dgn-crk-card{min-width:0}
body.dgn-page[data-page="crack"] .dgn-crk-card .dgn-card{border-color:rgba(251,191,36,.2);box-shadow:0 44px 110px -56px rgba(251,191,36,.26),inset 0 1px 0 rgba(255,255,255,.06)}
body.dgn-page[data-page="crack"] .dgn-crk-card__t{padding:22px 20px 16px;font-family:var(--dgn-fd);font-stretch:78%;font-weight:850;font-size:clamp(34px,3vw,46px);line-height:1;letter-spacing:-.02em;color:#fff;text-wrap:balance}
body.dgn-page[data-page="crack"] .dgn-crk-card__t .dgn-gold-text{padding-bottom:.04em}
body.dgn-page[data-page="crack"] .dgn-crk-paths{list-style:none;margin:0;padding:0 20px;border-top:1px solid var(--dgn-line)}
body.dgn-page[data-page="crack"] .dgn-crk-path{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;column-gap:14px;padding:14px 0;border-bottom:1px solid var(--dgn-line)}
body.dgn-page[data-page="crack"] .dgn-crk-path:last-child{border-bottom:0}
body.dgn-page[data-page="crack"] .dgn-crk-path__t{min-width:0}
body.dgn-page[data-page="crack"] .dgn-crk-path__t b{display:block;font-weight:600;font-size:15px;line-height:1.35;color:#a9a9b3}
body.dgn-page[data-page="crack"] .dgn-crk-path__t small{display:block;margin-top:2px;font-size:12.5px;line-height:1.45;color:var(--dgn-dim)}
body.dgn-page[data-page="crack"] .dgn-crk-path.is-on .dgn-crk-path__t b{color:#fff}
body.dgn-page[data-page="crack"] .dgn-crk-path__s{font-style:normal;font-family:var(--dgn-fd);font-stretch:112%;font-weight:700;font-size:10.5px;line-height:1.3;letter-spacing:.14em;text-transform:uppercase;color:var(--dgn-dim);white-space:nowrap}
body.dgn-page[data-page="crack"] .dgn-crk-path.is-on .dgn-crk-path__s{color:var(--dgn-prop)}
body.dgn-page[data-page="crack"] .dgn-crk-card__note{margin:0 20px;padding:14px 0;border-top:1px solid var(--dgn-line);font-size:13px;line-height:1.55;color:#cfcfd6}
body.dgn-page[data-page="crack"] .dgn-crk-card__foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 20px;padding:12px 20px 14px;border-top:1px solid var(--dgn-line);font-size:12.5px;line-height:1.5;color:var(--dgn-dim)}
/* review (24 Sep): no one-word last lines in the short texts (trust row, card rows, compare cells) */
body.dgn-page[data-page="crack"] :is(.dgn-crk-path__t small,.dgn-crk-card__note,.dgn-sc-cell>span,.dgn-crk-free__checks li){text-wrap:pretty}
body.dgn-page[data-page="crack"] .dgn-trust small{text-wrap:balance}
body.dgn-page[data-page="crack"] :is(.dgn-cols .dgn-h3,.dgn-sc-faq summary){text-wrap:balance}
body.dgn-page[data-page="crack"] .dgn-video figcaption{text-wrap:pretty}

/* ---- the free option: stats row and a two-up check list under the lead ---- */
body.dgn-page[data-page="crack"] .dgn-crk-free__stats{margin-top:30px;max-width:460px}
body.dgn-page[data-page="crack"] .dgn-crk-free__stats .dgn-stat__v{font-size:clamp(22px,2.1vw,30px)}
body.dgn-page[data-page="crack"] .dgn-crk-free__checks{list-style:none;margin:20px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px;max-width:560px}
body.dgn-page[data-page="crack"] .dgn-crk-free__checks li{display:flex;align-items:center;gap:9px;font-size:14px;line-height:1.45;color:#d4d4da}
body.dgn-page[data-page="crack"] .dgn-crk-free__checks svg{flex:none;color:var(--dgn-prop)}
body.dgn-page[data-page="crack"] .dgn-crk-free .dgn-cta-row{margin-top:30px}

/* ---- compare table: the genuine-license column lit; marks are decorative (the words carry it) ---- */
body.dgn-page[data-page="crack"] .dgn-sc-cmp .dgn-table{table-layout:fixed}
body.dgn-page[data-page="crack"] .dgn-sc-cmp .dgn-table thead th:first-child{width:22%}
body.dgn-page[data-page="crack"] .dgn-sc-cmp .dgn-table :is(th,td){padding-top:16px;padding-bottom:16px;vertical-align:middle}
body.dgn-page[data-page="crack"] .dgn-sc-cmp .dgn-table thead th{padding-top:14px;padding-bottom:14px;white-space:normal}
body.dgn-page[data-page="crack"] .dgn-sc-cmp .dgn-table tbody th{font-family:var(--dgn-fd);font-stretch:96%;font-weight:700;font-size:15.5px}
body.dgn-page[data-page="crack"] .dgn-sc-cmp .is-us{padding-left:20px;background:linear-gradient(180deg,rgba(74,222,128,.055),rgba(74,222,128,.025))}
body.dgn-page[data-page="crack"] .dgn-sc-cmp thead th.is-us{color:var(--dgn-prop);box-shadow:inset 0 2px 0 var(--dgn-prop)}
body.dgn-page[data-page="crack"] .dgn-sc-cmp td.is-us{color:#fff;font-weight:500}
body.dgn-page[data-page="crack"] .dgn-sc-cmp td:not(.is-us){color:var(--dgn-muted)}
body.dgn-page[data-page="crack"] .dgn-sc-cell{display:inline-flex;align-items:center;gap:11px}
body.dgn-page[data-page="crack"] .dgn-sc-mark{display:inline-flex;align-items:center;justify-content:center;flex:none;width:22px;height:22px;border-radius:50%;font-style:normal}
body.dgn-page[data-page="crack"] .dgn-sc-mark svg{display:block}
body.dgn-page[data-page="crack"] .dgn-sc-mark--yes{background:rgba(74,222,128,.14);color:var(--dgn-prop)}
body.dgn-page[data-page="crack"] .dgn-sc-mark--no,
body.dgn-page[data-page="crack"] .dgn-sc-mark--part{background:rgba(255,255,255,.06);color:#8a8a94}

/* ---- found a download elsewhere: a hairline band with a gold rule ---- */
body.dgn-page[data-page="crack"] .dgn-crk-band{position:relative;display:grid;grid-template-columns:64px minmax(0,1fr) auto;grid-template-areas:"i t go";column-gap:32px;align-items:center;padding:36px 36px 36px 32px;border:1px solid var(--dgn-line2);border-radius:22px;background:radial-gradient(110% 140% at 0% 0%,rgba(251,191,36,.08),transparent 55%),linear-gradient(180deg,rgba(255,255,255,.022),rgba(255,255,255,.006))}
body.dgn-page[data-page="crack"] .dgn-crk-band::before{content:"";position:absolute;left:-1px;top:36px;bottom:36px;width:2px;border-radius:2px;background:var(--dgn-grad)}
body.dgn-page[data-page="crack"] .dgn-crk-band__i{grid-area:i;align-self:start;display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;border:1px solid rgba(251,191,36,.45);background:rgba(251,191,36,.08);color:var(--dgn-gold)}
body.dgn-page[data-page="crack"] .dgn-crk-band__txt{grid-area:t;min-width:0}
body.dgn-page[data-page="crack"] .dgn-crk-band__txt .dgn-eyebrow{margin-bottom:16px}
body.dgn-page[data-page="crack"] .dgn-crk-band__txt .dgn-lead{margin-top:18px;max-width:640px}
body.dgn-page[data-page="crack"] .dgn-crk-band__go{grid-area:go;margin-top:0;flex-direction:column;align-items:flex-start;gap:18px}

/* ---- FAQ: answers keep their links ---- */
body.dgn-page[data-page="crack"] .dgn-sc-faq .dgn-faq details p a{color:var(--dgn-gold);text-decoration:underline;text-decoration-color:rgba(251,191,36,.4);text-underline-offset:3px}
body.dgn-page[data-page="crack"] .dgn-sc-faq .dgn-faq details p a:is(:hover,:focus){color:var(--dgn-gold-hi);text-decoration-color:currentColor}

/* ---- widths ---- */
@media (min-width:1600px){
  body.dgn-page[data-page="crack"] .dgn-proof__head{grid-template-columns:minmax(0,1fr) minmax(0,560px)}
  body.dgn-page[data-page="crack"] .dgn-crk-free .dgn-split--media{gap:88px}
  body.dgn-page[data-page="crack"] .dgn-crk-card__t{padding:26px 24px 18px}
  body.dgn-page[data-page="crack"] .dgn-crk-paths{padding:0 24px}
  body.dgn-page[data-page="crack"] .dgn-crk-card__note{margin:0 24px}
  body.dgn-page[data-page="crack"] .dgn-crk-card .dgn-card__h,
  body.dgn-page[data-page="crack"] .dgn-crk-card__foot{padding-left:24px;padding-right:24px}
  body.dgn-page[data-page="crack"] .dgn-crk-band{padding:44px 44px 44px 40px;column-gap:44px}
}
@media (max-width:1140px){
  body.dgn-page[data-page="crack"] .dgn-crk-card{max-width:680px}
  body.dgn-page[data-page="crack"] .dgn-crk-band{grid-template-columns:56px minmax(0,1fr);grid-template-areas:"i t" ". go";row-gap:26px}
  body.dgn-page[data-page="crack"] .dgn-crk-band__i{width:56px;height:56px}
  body.dgn-page[data-page="crack"] .dgn-crk-band__go{flex-direction:row;align-items:center}
}
@media (max-width:900px){
  /* tablets and phones: each compare row stacks (the row name, then the three answers, each with its
     column name), so nothing needs a sideways swipe; explicit ARIA roles keep the table semantics.
     Review (24 Sep): from 900px down, not 720 (at 721-900 the four columns were too narrow and the
     nowrap heads "Official free backtest" and "Genuine license" ran into each other) */
  body.dgn-page[data-page="crack"] .dgn-sc-cmp{overflow:visible}
  body.dgn-page[data-page="crack"] .dgn-sc-cmp>.dgn-table{min-width:0;table-layout:auto}
  body.dgn-page[data-page="crack"] .dgn-sc-cmp .dgn-table,
  body.dgn-page[data-page="crack"] .dgn-sc-cmp .dgn-table :is(tbody,tr,th,td){display:block;width:auto}
  body.dgn-page[data-page="crack"] .dgn-sc-cmp .dgn-table thead{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap;border:0}
  body.dgn-page[data-page="crack"] .dgn-sc-cmp .dgn-table tbody tr{padding:16px 0 12px;border-bottom:1px solid var(--dgn-line)}
  body.dgn-page[data-page="crack"] .dgn-sc-cmp .dgn-table tbody th{padding:0 0 8px;border:0;font-size:16px}
  body.dgn-page[data-page="crack"] .dgn-sc-cmp .dgn-table td{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:8px 0;border:0;border-top:1px solid rgba(255,255,255,.05);font-size:13.5px}
  body.dgn-page[data-page="crack"] .dgn-sc-cmp .dgn-table td.is-us{padding:9px 10px;margin:4px -10px 0;border-top:0;border-radius:10px}
  body.dgn-page[data-page="crack"] .dgn-sc-cmp .dgn-table td[data-label]::before{content:attr(data-label);content:attr(data-label) / "";flex:none;font-family:var(--dgn-fd);font-stretch:112%;font-weight:700;font-size:10px;line-height:1.3;letter-spacing:.12em;text-transform:uppercase;color:var(--dgn-dim)}
  body.dgn-page[data-page="crack"] .dgn-sc-cmp .dgn-table td.is-us[data-label]::before{color:var(--dgn-prop)}
  body.dgn-page[data-page="crack"] .dgn-sc-cell{gap:9px;text-align:right}
  body.dgn-page[data-page="crack"] .dgn-sc-mark{width:20px;height:20px}
}
@media (max-width:720px){
  body.dgn-page[data-page="crack"] .dgn-cta-row .dgn-btn{min-width:-webkit-max-content;min-width:max-content}
  body.dgn-page[data-page="crack"] .dgn-crk-hero__more{font-size:15px}
  body.dgn-page[data-page="crack"] .dgn-crk-card__t{padding:18px 16px 14px;font-size:clamp(30px,9vw,40px)}
  body.dgn-page[data-page="crack"] .dgn-crk-paths{padding:0 16px}
  body.dgn-page[data-page="crack"] .dgn-crk-path{grid-template-columns:30px minmax(0,1fr);row-gap:4px;padding:13px 0}
  body.dgn-page[data-page="crack"] .dgn-crk-path__s{grid-column:2}
  body.dgn-page[data-page="crack"] .dgn-crk-card__note{margin:0 16px}
  body.dgn-page[data-page="crack"] .dgn-crk-card__foot{padding:12px 16px 14px}
  body.dgn-page[data-page="crack"] .dgn-crk-free__stats .dgn-stat{padding-left:10px;padding-right:10px}
  body.dgn-page[data-page="crack"] .dgn-crk-free__stats .dgn-stat:first-child{padding-left:0}
  body.dgn-page[data-page="crack"] .dgn-crk-free__stats .dgn-stat__k{font-size:10.5px;letter-spacing:.05em}
  body.dgn-page[data-page="crack"] .dgn-crk-free__stats .dgn-stat__v{font-size:clamp(18px,5.2vw,24px)}
  body.dgn-page[data-page="crack"] .dgn-crk-band{grid-template-columns:minmax(0,1fr);grid-template-areas:"i" "t" "go";row-gap:20px;padding:26px 20px 24px 22px}
  body.dgn-page[data-page="crack"] .dgn-crk-band::before{top:26px;bottom:26px}
  body.dgn-page[data-page="crack"] .dgn-crk-band__i{width:48px;height:48px}
  body.dgn-page[data-page="crack"] .dgn-crk-band__go{flex-direction:column;align-items:stretch}
  body.dgn-page[data-page="crack"] .dgn-crk-band__go .dgn-btn{flex:0 0 auto;width:100%}
  body.dgn-page[data-page="crack"] .dgn-crk-band__go .dgn-link{align-self:center}
}
@media (max-width:440px){
  body.dgn-page[data-page="crack"] .dgn-crk-free__checks{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:380px){
  body.dgn-page[data-page="crack"] .dgn-sc-cmp .dgn-table td{flex-direction:column;align-items:flex-start;gap:6px}
  body.dgn-page[data-page="crack"] .dgn-sc-cell{text-align:left}
}
