
/* ============================================================
   WYVERN FREIGHT · SUSTAINABILITY SECTION (sustainability.html + sustainability/*.html,
   tools/sustainability/make-sustainability.cjs)
   Every section is an existing component (home-decargo.css, about.css, service-page.css, services.css).
   Only layout tweaks here, scoped to .su-page. Square corners, red only for actions, the active topic and markers.
   ============================================================ */

/* Section headings outside a .dc-head use the service-page heading scale */
.su-page .su-h{margin:0 0 40px;font:500 clamp(30px,2.8vw,42px)/1.08 var(--sans);letter-spacing:-.03em;color:var(--ink);text-wrap:balance}

/* Topic bar: the service-page tab bar look, with page links. Current page = ink + red rule (weight and rule, not colour alone) */

/* Intro statement: no rule under it (the next section follows directly) */
.su-intro{padding-bottom:0}
.su-intro .spg-intro{border-bottom:0;padding-bottom:0}

/* Overview · six topic cards, three a row (DSV 3 x 2); services.css already wraps to 2 and 1 columns */
/* Topic rows (user 2026-10-25: alternating photo + text instead of cards). Title is an h3 under the section h2, sized like the block heading. */
.su-rows .spg-head h3{margin:0;font:500 clamp(30px,2.8vw,42px)/1.08 var(--sans);letter-spacing:-.03em;color:var(--ink);text-wrap:balance}
.su-rows .spg-head{margin-bottom:28px}
.su-rows .ab-photo img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.su-page .su-pillars{padding-top:72px}


/* Copy left, list right */
.su-page .dc-two.su-top{align-items:start}
.su-page .su-list-h{margin:0 0 4px;font:500 15px/1.4 var(--sans);letter-spacing:0;color:var(--muted)}   /* beats .dc h3 */
.su-cols{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px}
.su-cols li{padding:14px 0;border-bottom:1px solid var(--line);font:500 16px/1.4 var(--sans);color:var(--ink)}
.su-acts{display:flex;flex-wrap:wrap;align-items:center;gap:16px 28px;margin-top:28px}

/* Environment · the five levers as a ruled list readable on the dark band */
.su-transport .dc-two{align-items:start}
.su-transport .dc-copy .btn-t,.su-transport .dc-copy .btn-t:hover,.su-transport .dc-copy .btn-t:focus-visible{color:#fff}
.su-transport .dc-copy .btn-t::after{background:rgba(255,255,255,.5)}
.su-levers{list-style:none;margin:0;padding:0;border-top:1px solid rgba(255,255,255,.55)}
.su-levers li{padding:20px 0;border-bottom:1px solid rgba(255,255,255,.18)}
.su-levers h3{margin:0;font:500 19px/1.3 var(--sans);letter-spacing:-.01em;color:var(--on-night)}
.su-levers p{margin:6px 0 0;font:400 15px/1.55 var(--sans);color:var(--on-night-2)}

/* One left-aligned statement (Governance risk, Environment note): heading, one paragraph, one link */
.su-statement{max-width:760px}
.su-statement h2{margin:0;font:500 clamp(28px,2.4vw,36px)/1.12 var(--sans);letter-spacing:-.025em;color:var(--ink);text-wrap:balance}
.su-statement p{margin:16px 0 24px;font:400 17px/1.6 var(--sans);color:var(--ink-2);max-width:68ch}
.su-note-band{background:var(--tint);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}

/* Strategy · priorities columns carry a link under the text */
.su-prio .dc-why-item .btn-t{margin-top:14px}
/* Strategy · today and next: two plain columns under one heading */
.su-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 64px;border-top:1px solid var(--ink);padding-top:28px}
.su-split h3{margin:0 0 12px;font:500 20px/1.3 var(--sans);letter-spacing:-.01em;color:var(--ink)}
.su-split .btn-t{margin-top:20px}
.su-ticks{list-style:none;margin:0;padding:0}
.su-ticks li{position:relative;padding:10px 0 10px 22px;font:400 16px/1.5 var(--sans);color:var(--ink-2)}
.su-ticks li::before{content:"";position:absolute;left:0;top:19px;width:8px;height:2px;background:var(--red)}

/* Social · rights box and Integrity · steps box: the About "Learn more" box, without a link */
.su-page .su-reject h3,.su-page .su-steps h3{margin:0;font:500 20px/1.3 var(--sans)}
.su-steps ol{margin:0;padding:0 0 0 22px;font:500 17px/1.5 var(--sans);color:var(--ink)}
.su-steps li{padding:6px 0}
.su-steps li::marker{color:var(--red);font-weight:600}

/* Integrity · principles: two-column ruled grid of short points */
.su-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 64px;border-top:1px solid var(--ink)}
.su-grid li{padding:22px 0;border-bottom:1px solid var(--line)}
.su-grid h3{margin:0;font:500 18px/1.35 var(--sans);letter-spacing:-.01em;color:var(--ink)}
.su-grid p{margin:6px 0 0;font:400 15px/1.55 var(--sans);color:var(--ink-2)}

/* Reporting · document register: one row per published page, the whole row is the link */
.su-docs{list-style:none;margin:0;padding:0;border-top:1px solid var(--ink)}
.su-docs a{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr) auto;gap:8px 32px;align-items:center;min-height:64px;padding:18px 0;
  border-bottom:1px solid var(--line);text-decoration:none;color:var(--ink);transition:background-color .2s var(--ease)}
.su-docs-t{font:500 18px/1.35 var(--sans);letter-spacing:-.01em}
.su-docs-d{font:400 15px/1.5 var(--sans);color:var(--muted)}
.su-docs-a{font:500 15px/1 var(--sans);text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--line-strong)}
.su-docs a:hover .su-docs-t,.su-docs a:focus-visible .su-docs-t{color:var(--red)}
.su-docs a:focus-visible{outline:2px solid var(--focus);outline-offset:2px}

/* Reporting · claims: information-only columns, no hover colour change */
.su-claims.is-proof .dc-why-item:hover h3,.su-claims.is-proof .dc-why-item:focus-within h3{color:inherit}
.su-claims{background:var(--tint)}
.su-claims .dc-why-item .btn-t{margin-top:20px}

/* Related topics: next topic as one large link, the overview link beside it */

@media (max-width:1024px){

}
@media (max-width:767px){
  .su-page .su-pillars{padding-top:48px}
  .su-cols,.su-grid,.su-split{grid-template-columns:1fr}
  .su-split{gap:32px}
  .su-page .su-h{margin-bottom:28px}
  .su-docs a{grid-template-columns:1fr auto;gap:4px 16px}
  .su-docs-d{grid-column:1;grid-row:2}
  .su-docs-a{grid-column:2;grid-row:1 / span 2}
}

/* Integrity · inline email link in the closing band: underlined so it reads as a link, white on the dark photo */
.su-page .sv-cta .dc-head p a{color:var(--on-night);text-decoration:underline;text-underline-offset:3px}
.su-page .sv-cta .dc-head p a:focus-visible{outline:2px solid var(--focus);outline-offset:2px}



/* Governance jump bar (user 2026-10-26: DP World governance section bar, above the intro). Links to sections of this
   page; sticky under the compact header; sustainability.js marks the section in view. Same type as the site's tab bar. */
.su-jump{position:sticky;top:var(--bar-compact);z-index:40;background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.su-jump-list{list-style:none;margin:0;padding:0;display:flex;gap:40px;overflow-x:auto;scrollbar-width:none}
.su-jump-list::-webkit-scrollbar{display:none}
.su-jump-list a{display:flex;align-items:center;min-height:60px;white-space:nowrap;text-decoration:none;font:500 15px/1.2 var(--sans);color:var(--muted);box-shadow:inset 0 -2px 0 transparent;transition:color var(--t-fast) var(--ease),box-shadow var(--t-fast) var(--ease)}
.su-jump-list a:hover{color:var(--ink)}
.su-jump-list a[aria-current="true"]{color:var(--ink);font-weight:600;box-shadow:inset 0 -2px 0 var(--red)}
.su-jump-list a:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}
.su-page [id^="gov-"]{scroll-margin-top:calc(var(--bar-compact) + 61px)}
@media (max-width:767px){ .su-jump-list{gap:28px} .su-jump-list a{min-height:52px} .su-page [id^="gov-"]{scroll-margin-top:calc(var(--bar-compact) + 53px)} }
@media (prefers-reduced-motion:reduce){ .su-jump-list a{transition:none} }
