/* Certification marks: ISO/IEC 27001 (UAF accreditation mark with the AGI certification mark, as supplied by Accurate Global Inc.)
   and the AICPA SOC for Service Organizations logo (linked to aicpa.org/soc4so). V80, 17 Nov 2026.
   Used on index.html, about.html, legal.html, legal-security-compliance.html only. Never on product, platform or solution pages,
   and never in the footer: AGI and UAF rules forbid any use that implies product or service conformity.
   Marks are shown unaltered except for size; the ISO composite keeps the AGI layout (UAF mark, AGI logo, AGI seal side by side). */
.certs{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:16px;margin:22px 0 10px;max-width:1080px}
.cert{margin:0;display:flex;flex-direction:column;gap:16px;background:var(--surface-card);border:1px solid var(--border-subtle,var(--ys-navy-12));border-radius:12px;padding:20px 22px}
.sec-white .cert{border-color:var(--ys-navy-12)}
.cert-img{display:flex;align-items:center;min-height:108px;padding:6px 0}
.cert-iso .cert-img img{display:block;width:100%;max-width:380px;min-width:220px;height:auto}
.cert-soc .cert-img a{display:inline-block;border-radius:50%;line-height:0}
.cert-soc .cert-img a:focus-visible{outline:3px solid var(--ys-light-blue);outline-offset:4px}
.cert-soc .cert-img img{display:block;width:108px;height:auto}
.cert figcaption{min-width:0}
.cert figcaption b{display:block;margin:0 0 4px;font-size:16.5px;line-height:1.35;color:var(--text-heading)}
.cert figcaption p{margin:0 0 8px!important;font-size:15px!important;line-height:1.55!important;color:var(--text-body)}
.cert figcaption p:last-child{margin-bottom:0!important}
.cert figcaption a{color:var(--ys-green-text)}
.certs-note{max-width:80ch;margin:6px 0 0!important;font-size:13.5px!important;line-height:1.5!important;color:var(--text-muted)!important}
.certs-h{margin:32px 0 4px;font-size:20px;line-height:1.3;color:var(--text-heading)}
/* compact strip (home, About, Legal Center hub) */
.certs-c .cert{flex-direction:row;align-items:center;gap:20px;padding:16px 20px}
.certs-c .cert-img{flex:0 0 auto;min-height:0;padding:0}
.certs-c .cert-iso .cert-img img{width:300px;max-width:none}
.certs-c .cert-soc .cert-img img{width:92px}
.certs-c figcaption p{font-size:14.5px!important}
@media (max-width:1180px){.certs-c .cert-iso{flex-direction:column;align-items:flex-start}}
@media (max-width:900px){
 .certs{grid-template-columns:1fr}
 .certs-c .cert-iso{flex-direction:row;align-items:center}
}
@media (max-width:640px){
 .certs-c .cert,.certs-c .cert-iso{flex-direction:column;align-items:flex-start;gap:14px}
 .certs-c .cert-iso .cert-img{width:100%}
 .certs-c .cert-iso .cert-img img,.cert-iso .cert-img img{width:100%;max-width:340px;min-width:0}
}
