/**
 * CosmeticsBridge global site system.
 * Shared chrome and editorial page framing outside Workbench.
 */

body.cosmeticsbridge-child:not(.cb-is-workbench) {
  --cb-system-ink: #102a43;
  --cb-system-paper: #f4f0e8;
  --cb-system-canvas: #fbfaf7;
  --cb-system-line: #d8dde0;
  background: var(--cb-system-canvas) !important;
  overflow-x:clip;
}

/* Global header: full-width surfaces, 1280px content. */
body.cosmeticsbridge-child:not(.cb-is-workbench) .cb-site-header {
  position: relative;
  inset: auto;
  color: #18242e;
  background: #fff;
  border-bottom: 1px solid var(--cb-system-line);
  box-shadow: none;
}
body.cosmeticsbridge-child:not(.cb-is-workbench) .cb-site-header__bar { background:#fff; }
body.cosmeticsbridge-child:not(.cb-is-workbench) .cb-site-header__row--utility {
  position: relative;
  min-height: 34px;
  color: rgba(255,255,255,.82);
  background: #0c2235;
  border-bottom: 0;
  box-shadow: 0 0 0 100vmax #0c2235;
  clip-path: inset(0 -100vmax);
}
body.cosmeticsbridge-child:not(.cb-is-workbench) .cb-site-header__row--utility::before {
  content: "Intelligence desk online · Official sources monitored";
  margin-right: auto;
  padding-left: 2px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
}
body.cosmeticsbridge-child:not(.cb-is-workbench) .cb-site-header__row--nav { min-height:92px; height:92px; }
body.cosmeticsbridge-child:not(.cb-is-workbench) .cb-header-utility { margin:0; padding:0; list-style:none; }
body.cosmeticsbridge-child:not(.cb-is-workbench) .cb-header-utility > li { margin:0; list-style:none; }
body.cosmeticsbridge-child:not(.cb-is-workbench) .cb-header-utility > li > a,
body.cosmeticsbridge-child:not(.cb-is-workbench) .cb-header-utility__link {
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:3px 10px;
  color:rgba(255,255,255,.88) !important;
  background:transparent !important;
  border:1px solid rgba(255,255,255,.3) !important;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  line-height:1.2;
  text-decoration:none !important;
}
body.cosmeticsbridge-child:not(.cb-is-workbench) .cb-header-utility > li > a:hover,
body.cosmeticsbridge-child:not(.cb-is-workbench) .cb-header-utility__link:hover {
  color:#fff !important;
  background:rgba(255,255,255,.1) !important;
}
body.cosmeticsbridge-child:not(.cb-is-workbench) .cb-site-header__row--utility .cb-header-account__login,
body.cosmeticsbridge-child:not(.cb-is-workbench) .cb-site-header__row--utility .cb-header-account__name,
body.cosmeticsbridge-child:not(.cb-is-workbench) .cb-site-header__row--utility .cb-header-account__role {
  color:rgba(255,255,255,.88) !important;
}

/* Marketing pages: full-width paper mast with the same 1280px content line. */
body.cosmeticsbridge-child .cb-services,
body.cosmeticsbridge-child .cb-verify,
body.cosmeticsbridge-child .cb-about,
body.cosmeticsbridge-child .cb-contact,
body.cosmeticsbridge-child .cb-mem {
  width:100vw;
  max-width:100vw;
  margin-right:calc(50% - 50vw);
  margin-left:calc(50% - 50vw);
  padding:0 0 72px;
}
body.cosmeticsbridge-child .cb-services > section:not(:first-child),
body.cosmeticsbridge-child .cb-verify > section:not(:first-child),
body.cosmeticsbridge-child .cb-about > section:not(:first-child),
body.cosmeticsbridge-child .cb-contact > section:not(:first-child),
body.cosmeticsbridge-child .cb-mem > section:not(:first-child) {
  width:min(100% - 2rem, var(--container-max));
  margin-right:auto;
  margin-left:auto;
}
body.cosmeticsbridge-child .cb-services-hero,
body.cosmeticsbridge-child .cb-verify-hero,
body.cosmeticsbridge-child .cb-about-hero,
body.cosmeticsbridge-child .cb-contact-hero,
body.cosmeticsbridge-child .cb-mem-hero {
  width:100%;
  max-width:none;
  margin:0;
  padding:62px max(32px,calc((100vw - 1280px)/2)) 58px;
  background:var(--cb-system-paper);
  border:0;
}
body.cosmeticsbridge-child .cb-services-hero__title,
body.cosmeticsbridge-child .cb-verify-hero__title,
body.cosmeticsbridge-child .cb-about-hero__title,
body.cosmeticsbridge-child .cb-contact-hero__title,
body.cosmeticsbridge-child .cb-mem-hero__title {
  color:var(--cb-system-ink);
  font-size:clamp(38px,4vw,58px);
  line-height:1.02;
  letter-spacing:-.035em;
}
body.cosmeticsbridge-child .cb-services-hero__lead,
body.cosmeticsbridge-child .cb-verify-hero__lead,
body.cosmeticsbridge-child .cb-about-hero__lead,
body.cosmeticsbridge-child .cb-contact-hero__lead,
body.cosmeticsbridge-child .cb-mem-hero__lead {
  max-width:680px;
  color:#52616d;
  font-size:18px;
  line-height:1.6;
}
body.cosmeticsbridge-child .cb-services > section:not(:first-child),
body.cosmeticsbridge-child .cb-verify > section:not(:first-child),
body.cosmeticsbridge-child .cb-about > section:not(:first-child),
body.cosmeticsbridge-child .cb-contact > section:not(:first-child),
body.cosmeticsbridge-child .cb-mem > section:not(:first-child) {
  padding-top:64px;
}
body.cosmeticsbridge-child .cb-services-section-title,
body.cosmeticsbridge-child .cb-verify-h2,
body.cosmeticsbridge-child .cb-about-h2,
body.cosmeticsbridge-child .cb-contact-panel__title,
body.cosmeticsbridge-child .cb-mem-h2 {
  color:var(--cb-system-ink);
}
body.cosmeticsbridge-child .cb-services-steps,
body.cosmeticsbridge-child .cb-verify-steps,
body.cosmeticsbridge-child .cb-about-position,
body.cosmeticsbridge-child .cb-contact-split,
body.cosmeticsbridge-child .cb-mem-cards {
  border-top:2px solid var(--cb-system-ink);
}

/* Insight and regulation archive mast. */
.cb-insight-archive > .cb-section,
.cb-reg-archive > .cb-section { padding:0; }
.cb-archive-mast {
  width:100vw;
  max-width:100vw;
  margin-right:calc(50% - 50vw);
  margin-left:calc(50% - 50vw);
  padding:72px 0 48px;
  background:var(--cb-system-paper);
  border-bottom:1px solid #ddd8cf;
}
.cb-insight-archive .cb-archive-mast .cb-container,
.cb-reg-archive .cb-archive-mast .cb-container {
  width:min(100% - 2rem,var(--container-max));
  max-width:var(--container-max);
  margin-inline:auto;
  padding:0;
}
.cb-archive-mast .cb-section__title {
  margin:0 0 16px;
  color:var(--cb-system-ink);
  font-size:clamp(48px,6vw,76px);
  line-height:.98;
  letter-spacing:-.04em;
}
.cb-archive-mast .cb-section__sub {
  max-width:720px;
  margin:0;
  color:#52616d;
  font-size:18px;
}
.cb-insight-archive .cb-archive-body,
.cb-reg-archive .cb-archive-body {
  width:min(100% - 2rem,var(--container-max));
  max-width:var(--container-max);
  margin-inline:auto;
  padding:54px 0 84px;
}
.cb-archive-body .cb-news-filters { margin-top:0; }
.cb-reg-atlas-group:first-child { margin-top:0; }
.cb-reg-card,
.cb-insight-card {
  border-radius:0;
  border-top:3px solid var(--color-secondary);
  box-shadow:none;
}

/* Global editable footer. */
.cb-site-footer { width:100%; color:#cbd5e1; background:#091827; }
.cb-site-footer__main { padding:58px 0 48px; }
.cb-site-footer__inner,
.cb-site-footer__bottom-inner {
  width:min(100% - 2rem,var(--container-max));
  margin-inline:auto;
}
.cb-site-footer__inner {
  display:grid;
  grid-template-columns:minmax(240px,.75fr) minmax(0,1.8fr);
  gap:56px;
  align-items:start;
}
.cb-site-footer__brand { max-width:350px; }
.cb-site-footer__wordmark {
  color:#fff !important;
  font:600 26px/1.1 var(--font-title);
  text-decoration:none !important;
}
.cb-site-footer__brand p { margin:18px 0; color:#9fb0bf; font-size:14px; line-height:1.65; }
.cb-site-footer__cta { color:#5bcbbb !important; font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.cb-footer-nav {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:28px;
  margin:0;
  padding:0;
  list-style:none;
}
.cb-footer-nav > li { margin:0; list-style:none; }
.cb-footer-nav > li > a,
.cb-footer-nav__heading {
  display:block;
  margin-bottom:16px;
  color:#fff !important;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-decoration:none !important;
  pointer-events:none;
}
.cb-footer-nav .sub-menu { display:grid; gap:10px; margin:0; padding:0; list-style:none; }
.cb-footer-nav .sub-menu li { margin:0; list-style:none; }
.cb-footer-nav .sub-menu a { color:#aebbc7 !important; font-size:13px; text-decoration:none !important; }
.cb-footer-nav .sub-menu a:hover { color:#fff !important; }
.cb-site-footer__bottom { border-top:1px solid rgba(255,255,255,.11); background:#07131f; }
.cb-site-footer__bottom-inner {
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:18px 0;
  color:#778a99;
  font-size:11px;
}

@media (max-width:960px) {
  body.cosmeticsbridge-child:not(.cb-is-workbench) .cb-site-header__row--utility::before { display:none; }
  body.cosmeticsbridge-child:not(.cb-is-workbench) .cb-site-header__row--nav { min-height:72px; height:auto; }
  .cb-site-footer__inner { grid-template-columns:1fr; gap:40px; }
  .cb-site-footer__brand { max-width:520px; }
}

@media (max-width:760px) {
  body.cosmeticsbridge-child .cb-services-hero,
  body.cosmeticsbridge-child .cb-verify-hero,
  body.cosmeticsbridge-child .cb-about-hero,
  body.cosmeticsbridge-child .cb-contact-hero,
  body.cosmeticsbridge-child .cb-mem-hero {
    padding:48px 20px 44px;
  }
  body.cosmeticsbridge-child .cb-services-hero__title,
  body.cosmeticsbridge-child .cb-verify-hero__title,
  body.cosmeticsbridge-child .cb-about-hero__title,
  body.cosmeticsbridge-child .cb-contact-hero__title,
  body.cosmeticsbridge-child .cb-mem-hero__title { font-size:38px; }
  body.cosmeticsbridge-child .cb-services-hero__lead,
  body.cosmeticsbridge-child .cb-verify-hero__lead,
  body.cosmeticsbridge-child .cb-about-hero__lead,
  body.cosmeticsbridge-child .cb-contact-hero__lead,
  body.cosmeticsbridge-child .cb-mem-hero__lead { font-size:16px; }
  body.cosmeticsbridge-child .cb-services > section:not(:first-child),
  body.cosmeticsbridge-child .cb-verify > section:not(:first-child),
  body.cosmeticsbridge-child .cb-about > section:not(:first-child),
  body.cosmeticsbridge-child .cb-contact > section:not(:first-child),
  body.cosmeticsbridge-child .cb-mem > section:not(:first-child) { padding-top:46px; }
  .cb-archive-mast { padding:52px 0 38px; }
  .cb-archive-mast .cb-section__title { font-size:50px; }
  .cb-archive-mast .cb-section__sub { font-size:16px; }
  .cb-archive-body { padding-top:38px; padding-bottom:62px; }
  .cb-footer-nav { grid-template-columns:repeat(2,minmax(0,1fr)); gap:34px 24px; }
  .cb-site-footer__bottom-inner { flex-direction:column; gap:5px; }
}

@media (max-width:420px) {
  .cb-footer-nav { grid-template-columns:1fr 1fr; }
}

