@charset "utf-8";

/* =========================================================
   WINFAN — Certifications (/certifications/)
   Extends assets/css/style.css + solutions.css + services.css.
   Loaded only by /certifications/.
   ========================================================= */

/* ---------- hero (no photograph: this is a documents page) ---------- */
.phero--certs{padding-block:clamp(30px,3.6vw,46px) clamp(40px,4.6vw,62px)}
.phero--certs::after{
  right:-6%;top:-46%;width:min(880px,88vw);
  background:radial-gradient(circle,rgba(91,71,196,.42),rgba(40,27,100,0) 68%);
}

/* ---------- hero: copy on the left, the six marks on the right ---------- */
.phero__in--split{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,clamp(320px,42vw,520px));
  column-gap:clamp(32px,4.4vw,72px);
  align-items:start;
}

/* ---------- marks strip: doubles as the section directory ---------- */
.cwall__grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1px;background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.16);
  margin-top:4px;
}
.cwall__i{
  display:flex;flex-direction:column;
  padding:16px 15px 17px;background:rgba(255,255,255,.035);
  transition:background-color .24s var(--ease);
}
.cwall__i:hover,.cwall__i:focus-visible{background:rgba(255,255,255,.075)}
/* the marks are issued on white, so each one sits on its own white label.
   align-self keeps the intrinsic ratio: the tile is a column flex container,
   so a plain img would be stretched to the tile width and the mark squashed. */
.cwall__i img{
  align-self:flex-start;
  display:block;height:50px;width:auto;max-width:none;
  object-fit:contain;object-position:center;
  background:#fff;padding:5px;
}
.cwall__n{
  margin-top:11px;
  font-size:10px;line-height:1.3;letter-spacing:.12em;text-transform:uppercase;
  font-weight:600;color:rgba(255,255,255,.52);
}
.cwall__n b{color:#fff;font-weight:700;margin-right:5px}
.cwall__c{
  margin-top:7px;
  font-family:"Archivo","Inter",sans-serif;
  font-size:13.2px;line-height:1.25;font-weight:600;letter-spacing:-.01em;color:#fff;
}
.cwall__t{margin-top:7px;font-size:11.8px;line-height:1.5;color:rgba(255,255,255,.46)}

/* section lead runs wider than the site default: these paragraphs carry the
   distinction between "certified" and "verified", and 48ch breaks them badly */
.certsec .isub__head p.lead{max-width:64ch}

/* ---------- scheme summary strip (issuer / documents / basis) ---------- */
.certsec__facts{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px 28px;margin:26px 0 0;padding:19px 0 0;
  border-top:1px solid var(--line);
}
.certsec__facts dt{
  font-size:9.4px;line-height:1.3;letter-spacing:.13em;text-transform:uppercase;
  font-weight:600;color:var(--muted);
}
.certsec__facts dd{margin:5px 0 0;font-size:13.2px;line-height:1.45;color:var(--text)}

/* ---------- certificate cards ---------- */
.certgrid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--pgap);
  margin-top:clamp(20px,2.4vw,30px);
}
.certgrid--1{grid-template-columns:1fr}

.certc{
  display:flex;flex-direction:column;
  padding:clamp(20px,2.1vw,26px);
  border:1px solid var(--line);background:#fff;
  transition:border-color .24s var(--ease);
}
.certc:hover{border-color:var(--line-2)}

.certc__head{display:flex;align-items:flex-start;gap:15px}
.certc__mark{
  flex:0 0 auto;width:96px;height:56px;padding:4px;
  object-fit:contain;object-position:center;
  background:#fff;border:1px solid var(--line);
}
.certc__id{min-width:0}
.certc__no{
  font-family:"Archivo","Inter",sans-serif;
  font-size:10.4px;font-weight:600;letter-spacing:.06em;
  color:var(--muted);text-transform:none;
  overflow-wrap:anywhere;
}
.certc__id h3{
  margin-top:5px;
  font-size:16px;line-height:1.28;font-weight:600;letter-spacing:-.012em;color:var(--ink);
  text-wrap:balance;
}
.certc__rating{
  margin-top:6px;font-size:11.6px;line-height:1.4;font-weight:600;
  letter-spacing:.02em;color:var(--brand);
}

/* ---------- the structured block: type / issuer / models / standards ----------
   This is the part a reader scans before reading a word of prose, so it comes
   straight after the document header and carries its own rule. */
/* label / value rows, not a card-of-cards: every field lines up on one axis,
   so a short value never leaves a hole and a long model list just wraps */
.certc__spec{
  display:grid;
  grid-template-columns:minmax(100px,120px) minmax(0,1fr);
  column-gap:16px;row-gap:11px;align-items:start;
  margin:18px 0 0;padding:16px 0 0;border-top:1px solid var(--line);
}
.certc__spec > div{display:contents}
.certc__spec dt{padding-top:1px}
.certc__spec dd{margin:0;font-size:12.9px;line-height:1.55;color:var(--text)}
.certc__spec dt,
.certc__dates dt{
  font-size:9.4px;line-height:1.35;letter-spacing:.12em;text-transform:uppercase;
  font-weight:600;color:var(--muted);
}

/* dates sit on their own line: granted / reissued / renew until */
.certc__dates{
  display:flex;flex-wrap:wrap;gap:13px 34px;
  margin:16px 0 0;padding:14px 0 0;border-top:1px solid var(--line);
}
.certc__dates > div{min-width:96px}
.certc__dates dd{
  margin:4px 0 0;font-size:13px;line-height:1.4;font-weight:600;color:var(--ink);
  font-variant-numeric:tabular-nums;
}

.certc__std{display:flex;flex-wrap:wrap;gap:5px;margin:0;padding:0;list-style:none}
.certc__std li{
  padding:4px 7px;border:1px solid var(--line-2);background:#fbfaf6;
  font-size:10.6px;line-height:1.3;letter-spacing:.01em;color:#4a4a52;
  font-variant-numeric:tabular-nums;
}

.certc__desc{margin-top:16px;font-size:13.4px;line-height:1.66;color:#3a3a40}

.certc__caut{
  margin-top:14px;padding:11px 14px;
  border-left:2px solid var(--brand);background:#fbfaf6;
  font-size:12.2px;line-height:1.62;color:#4a4a52;
}

/* one action only: the PDF lives in /resources/, this page links to it */
.certc__foot{
  display:flex;justify-content:flex-end;
  margin-top:auto;padding-top:18px;
}
.certc__lib{
  display:inline-flex;align-items:center;gap:5px;
  font-size:12.6px;line-height:1.4;font-weight:600;color:var(--brand);
  transition:color .2s var(--ease);
}
.certc__lib span{font-size:12.4px}
.certc__lib:hover,.certc__lib:focus-visible{color:var(--ink)}

/* wide variant: the EU / EAC / ISO / SGS documents run full width, so the
   structured block gets three columns and the prose keeps a readable measure */
.certc--wide .certc__mark{width:112px;height:64px}
.certc--wide .certc__spec{
  grid-template-columns:minmax(130px,158px) minmax(0,1fr);
  column-gap:24px;row-gap:12px;
}
.certc--wide .certc__spec dd{font-size:13.2px}
.certc--wide .certc__desc{max-width:86ch;font-size:14px}

/* ---------- responsive ---------- */
@media (max-width:1180px){
  .phero__in--split{grid-template-columns:minmax(0,1fr) minmax(0,400px)}
}
@media (max-width:1080px){
  .certsec__facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}
}
@media (max-width:900px){
  .certgrid,.certgrid--1{grid-template-columns:1fr}
  .phero__in--split{grid-template-columns:1fr;row-gap:clamp(28px,4vw,40px)}
  .cwall__grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:0}
  .cwall__t{display:none}
}
@media (max-width:720px){
  .cwall__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cwall__i{padding:14px 13px 15px}
  .certc__spec,.certc--wide .certc__spec{
    grid-template-columns:1fr;row-gap:4px;
  }
  .certc__spec dt{padding-top:9px}
  .certc__spec dd{padding-bottom:5px}
  .certc__dates{gap:12px 26px}
  .certc__foot{justify-content:flex-start}
}
@media (max-width:420px){
  .certc__head{gap:12px}
  .certc__mark{width:64px;height:38px}
}

/* ---------- the series pages that cite this document ----------
   The back-link that makes the certification page part of the topic
   cluster rather than a page that only links outwards. */
.certc__row--series dd{
  display:flex;flex-wrap:wrap;gap:6px 8px;
}
.certc__row--series dd a{
  padding:4px 10px;
  background:var(--sand);border:1px solid var(--line);
  font-size:12.4px;line-height:1.35;color:var(--ink);text-decoration:none;
  transition:border-color .18s var(--ease),color .18s var(--ease);
}
.certc__row--series dd a:hover{border-color:var(--ink);color:var(--brand-3)}
