/* =====================================================================
   pages/working-groups/index.css — wg listing page only.
   Most layout reuses common.css (.page-hero, .stats-grid, .wg-grid,
   .cta-grid). This file just adds the centred join-CTA row.
   ===================================================================== */

.wg-cta-row{
  display:flex;justify-content:center;gap:14px;flex-wrap:wrap;
  margin-top:28px;
}

/* R50 — approved Working groups prototype */
body.skin .page-hero--working-groups{
  position:relative;
  min-height:440px;
  padding:64px 0 118px;
  overflow:hidden;
}
body.skin .page-hero--working-groups::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:72px;
  background:#fff;
  clip-path:ellipse(72% 72px at 50% 100%);
  pointer-events:none;
}
body.skin .page-hero--working-groups > .container{
  position:relative;
  z-index:1;
  max-width:1240px !important;
}
body.skin .page-hero--working-groups .crumbs{
  margin-bottom:24px;
}
body.skin .page-hero--working-groups .eyebrow{
  display:block;
  width:max-content;
  margin:0 0 16px;
  padding:0;
  border:0;
  background:transparent;
  color:#f3b38f;
  font-size:12px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}
body.skin .page-hero--working-groups h1{
  max-width:760px;
  margin:0 0 18px;
  color:#fff;
  font-size:52px;
  line-height:1.08;
  font-weight:800;
}
body.skin .page-hero--working-groups .lede{
  max-width:790px;
  margin:0;
  color:rgba(255,255,255,.9);
  font-size:18px;
  line-height:1.65;
}
body.skin .page-hero--working-groups .meta-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}
body.skin .page-hero--working-groups .meta-row span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:36px;
  padding:8px 14px;
  border:1px solid rgba(255,255,255,.24);
  border-radius:999px;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:13px;
  font-weight:600;
  backdrop-filter:blur(10px);
}
body.skin .page-hero--working-groups .meta-row strong{
  color:#fff;
  font-weight:800;
}

body.skin main:has(.wg-hub-shell){
  padding-top:0 !important;
  padding-bottom:0 !important;
  background:#fff;
}
body.skin main:has(.wg-hub-shell) > .container,
body.skin main:has(.wg-hub-shell) .layout-main,
body.skin main:has(.wg-hub-shell) .content-main{
  width:100% !important;
  max-width:none !important;
  padding-left:0 !important;
  padding-right:0 !important;
}
body.skin main:has(.wg-hub-shell) .content-sidebar,
body.skin main:has(.wg-hub-shell) .page-toc,
body.skin main:has(.wg-hub-shell) .toc-sidebar{
  display:none !important;
}
.wg-hub-shell{
  background:#fff;
  color:#062940;
}
.wg-hub-shell .container{
  max-width:1240px !important;
}
body.skin .stats.wg-hub-stats{
  position:relative;
  z-index:3;
  margin-top:-88px !important;
  padding:0 0 54px !important;
  background:transparent !important;
}
body.skin .wg-hub-stats .stats-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  grid-auto-flow:row !important;
  grid-auto-columns:auto !important;
  gap:18px !important;
}
body.skin .wg-hub-stats .stats-grid > .stat{
  position:relative;
  display:block !important;
  min-height:160px;
  padding:26px 28px 24px;
  border:1px solid #d9edf3;
  border-radius:12px;
  background:#fff;
  box-shadow:0 14px 34px rgba(6,41,64,.12);
}
body.skin .wg-hub-stats .stats-grid > .stat::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  border-radius:12px 12px 0 0;
  background:#008c8c;
}
body.skin .wg-hub-stats .stat-icon{
  position:absolute;
  top:22px;
  right:22px;
  display:grid;
  width:42px;
  height:42px;
  place-items:center;
  border-radius:12px;
  background:#e8f7f6;
  color:#008c8c;
}
body.skin .wg-hub-stats .stat-icon .icon{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
body.skin .wg-hub-stats .stat-icon:empty::before,
.wg-hub-how .cta-icon:empty::before,
.wg-hub-groups .wg-icon:empty::before{
  content:"";
  width:18px;
  height:18px;
  border:2px solid currentColor;
  border-radius:5px;
  box-shadow:inset 0 0 0 4px rgba(0,140,140,.1);
}
body.skin .wg-hub-stats .stat-num{
  display:block !important;
  margin-top:18px !important;
  color:#062940;
  font-size:44px;
  line-height:1;
  font-weight:800;
  letter-spacing:0;
}
body.skin .wg-hub-stats .stat-num--word{
  font-size:38px;
}
body.skin .wg-hub-stats .stat-lbl{
  display:block !important;
  max-width:190px;
  margin-top:12px !important;
  color:#506781;
  font-size:14px;
  line-height:1.35;
  font-weight:700;
}
.wg-hub-groups{
  padding-top:16px;
}
.wg-hub-groups .section-head{
  max-width:760px;
  margin-bottom:30px;
}
.wg-hub-groups .section-tag,
.wg-hub-how .section-tag,
.wg-hub-join .section-tag{
  color:#008c8c;
  letter-spacing:.14em;
}
.wg-hub-groups .section-title,
.wg-hub-how .section-title,
.wg-hub-join .section-title{
  color:#062940;
}
.wg-hub-groups .section-desc,
.wg-hub-how .section-desc,
.wg-hub-join .section-desc{
  color:#49647f;
}
.wg-hub-groups .wg-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
}
.wg-hub-groups .wg{
  display:flex;
  min-height:314px;
  padding:24px;
  border:1px solid #d9edf3;
  border-radius:14px;
  background:#fff;
  box-shadow:0 8px 24px rgba(6,41,64,.07);
  color:#062940;
  text-decoration:none;
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.wg-hub-groups .wg:hover,
.wg-hub-groups .wg:focus-visible{
  border-color:#008c8c;
  box-shadow:0 18px 38px rgba(6,41,64,.14);
  transform:translateY(-3px);
}
.wg-hub-groups .wg[data-wg="NbSWG"]{order:1}
.wg-hub-groups .wg[data-wg="NCWG"]{order:2}
.wg-hub-groups .wg[data-wg="PACoN"]{order:3}
.wg-hub-groups .wg[data-wg="SWG"]{order:4}
.wg-hub-groups .wg[data-wg="PacNEL"]{order:5}
.wg-hub-groups .wg[data-wg="PIP"]{order:6}
.wg-hub-groups .wg-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:18px;
}
.wg-hub-groups .wg-icon{
  display:grid;
  width:36px;
  height:36px;
  place-items:center;
  border-radius:10px;
  background:#e9f7f7;
  color:#008c8c;
}
.wg-hub-groups .wg-icon .icon{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.wg-hub-groups .wg-mems{
  color:#5b728b;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.wg-hub-groups .wg h3{
  margin:0 0 12px;
  color:#062940;
  font-size:21px;
  line-height:1.25;
  font-weight:800;
  letter-spacing:0;
}
.wg-hub-groups .wg h3 small{
  display:inline-block;
  margin-left:5px;
  color:#008c8c;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
}
.wg-hub-groups .wg p{
  margin:0;
  color:#23445f;
  font-size:14.5px;
  line-height:1.65;
}
.wg-hub-groups .wg-foot{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-top:auto;
  padding-top:20px;
}
.wg-hub-groups .lead{
  min-width:0;
  color:#647b94;
  font-size:12px;
  line-height:1.35;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.wg-hub-groups .lead strong{
  display:block;
  margin-top:3px;
  color:#062940;
  font-size:12px;
  line-height:1.35;
  letter-spacing:0;
  text-transform:none;
}
.wg-hub-groups .arr{
  flex:0 0 auto;
  color:#008c8c;
  font-size:13px;
  font-weight:800;
}
.wg-hub-how{
  background:#eef8f8;
}
.wg-hub-how .cta-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.wg-hub-how .cta-card{
  min-height:284px;
  padding:26px;
  border:1px solid #cfe9ed;
  border-radius:14px;
  background:#fff;
  box-shadow:0 8px 22px rgba(6,41,64,.06);
}
.wg-hub-how .cta-icon{
  display:grid;
  width:46px;
  height:46px;
  place-items:center;
  margin-bottom:18px;
  border-radius:14px;
  background:#e9f7f7;
  color:#008c8c;
}
.wg-hub-how .cta-icon .icon{
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.wg-hub-how .cta-card h3{
  margin:0 0 10px;
  color:#062940;
  font-size:19px;
  line-height:1.3;
  font-weight:800;
}
.wg-hub-how .cta-card p{
  margin:0 0 18px;
  color:#49647f;
  font-size:14.5px;
  line-height:1.65;
}
.wg-hub-how .cta-link{
  margin-top:auto;
  color:#008c8c;
  font-size:14px;
  font-weight:800;
  text-decoration:none;
}
.wg-hub-join{
  padding-bottom:88px;
}
body.skin .wg-hub-join .wg-cta-row{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top:28px;
}
.wg-hub-join .wg-cta-row .btn{
  min-height:48px;
  padding:13px 21px;
  border-radius:999px;
  font-weight:800;
}

@media (max-width:1024px){
  body.skin .wg-hub-stats .stats-grid,
  .wg-hub-groups .wg-grid,
  .wg-hub-how .cta-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media (max-width:700px){
  body.skin .page-hero--working-groups{
    min-height:0;
    padding:42px 0 96px;
  }
  body.skin .page-hero--working-groups h1{
    font-size:38px;
  }
  body.skin .stats.wg-hub-stats{
    margin-top:-54px !important;
    padding-bottom:48px !important;
  }
  body.skin .wg-hub-stats .stats-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px !important;
  }
  body.skin .wg-hub-stats .stats-grid > .stat{
    min-height:132px;
    padding:18px !important;
  }
  body.skin .wg-hub-stats .stat-icon{
    position:static;
    width:34px;
    height:34px;
    margin:0 0 10px;
  }
  body.skin .wg-hub-stats .stats-grid .stat .stat-num{
    margin-top:0 !important;
    font-size:34px !important;
  }
  body.skin .wg-hub-stats .stats-grid .stat .stat-num--word{
    font-size:30px !important;
  }
  body.skin .wg-hub-stats .stats-grid .stat .stat-lbl{
    max-width:none;
    margin-top:8px !important;
    font-size:12px !important;
    line-height:1.35;
  }
  .wg-hub-groups .wg-grid,
  .wg-hub-how .cta-grid{
    grid-template-columns:1fr !important;
  }
}
