/* ======================================
   WORKING GROUP ON GENDER (WGG)
====================================== */

/* HEADER */

.wgg-header{
  background: linear-gradient(135deg, var(--brand-dark), #10243f);
  color: white;
  text-align: center;
  padding: 72px 20px 62px;
  border-bottom: 4px solid var(--brand-accent);
}

.wgg-kicker{
  color: var(--brand-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.wgg-header h1{
  color: white;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 12px;
}

.wgg-subtitle{
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255,255,255,0.84);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* PAGE */

.wgg-page{
  max-width: 1380px;
  margin: 55px auto 80px;
}

/* BANNER */

.wgg-banner{
  margin-bottom: 34px;
}

.wgg-banner img{
  display:block;
  width:100%;
  height:420px;
  object-fit:cover;
  object-position:center;
  border-radius:24px;

  box-shadow:
    0 18px 40px rgba(0,0,0,.10),
    0 6px 18px rgba(0,0,0,.06);
}

/* SPLIT LAYOUT */

.wgg-split{
  display:grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap:28px;
  align-items:start;
  margin-bottom:28px;
}

/* HORIZONTAL CARD */

.wgg-row{
  display:grid;
  grid-template-columns: 6px 1fr;
  background:white;
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 8px 22px rgba(0,0,0,0.04);
}

.wgg-accent{
  background:var(--brand-accent);
}

.wgg-content{
  padding:28px;
}

.wgg-content h2{
  margin:0 0 14px;
  color:var(--brand-dark);
  font-size:1.45rem;
}

.wgg-content h3{
  margin:0 0 14px;
  color:var(--brand-dark);
  font-size:1.1rem;
}

.wgg-content p{
  margin:0 0 16px;
  color:var(--text-muted);
  line-height:1.8;
}

/* RIGHT COLUMN */

.recent-updates{
  position:relative;
  background:white;
  border:1px solid var(--border);
  border-radius:14px;
  padding:24px 24px 24px 28px;
  box-shadow:0 8px 22px rgba(0,0,0,0.04);
  overflow:hidden;
}

.recent-updates::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:6px;
  height:100%;
  background:var(--brand-accent);
}

.section-heading{
  margin:0 0 18px;
  font-size:1.25rem;
  color:var(--brand-dark);
}

.update-cards{
  display:grid;
  gap:14px;
}

.update-card{
  display:block;
  text-decoration:none;
  background:#f8fafc;
  border:1px solid #edf2f7;
  border-radius:12px;
  padding:16px;
  transition:0.2s ease;
}

.update-card:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 20px rgba(0,0,0,0.05);
}

.update-card h4{
  margin:10px 0 10px;
  color:var(--brand-dark);
  font-size:1rem;
  line-height:1.45;
}

.update-date{
  display:block;
  font-size:0.85rem;
  color:var(--text-muted);
  margin-bottom:8px;
}

.read-link{
  font-weight:700;
  color:var(--brand-dark);
  font-size:0.92rem;
}

/* ACTION BUTTONS */

.wgg-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:8px;
}

.wgg-btn{
  display:inline-block;
  padding:11px 16px;
  border-radius:8px;
  text-decoration:none;
  font-weight:700;
  transition:0.2s ease;
}

.wgg-btn.primary{
  background:var(--brand-dark);
  color:white;
}

.wgg-btn.primary:hover{
  transform:translateY(-2px);
}

.wgg-btn.secondary{
  background:#eef2f7;
  color:var(--brand-dark);
}

.wgg-btn.secondary:hover{
  background:var(--brand-accent);
  color:var(--brand-dark);
}

/* COLLAPSIBLE COMMITTEE */

.wgg-collapse{
  background:white;
  border:1px solid var(--border);
  /* border-top:5px solid var(--brand-accent); */
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 8px 22px rgba(0,0,0,0.04);
  margin-bottom:22px;
}

.wgg-collapse summary{
  cursor:pointer;
  list-style:none;
  padding:22px 26px;
  font-size:1.1rem;
  font-weight:700;
  color:var(--brand-dark);
  position:relative;
}

.wgg-collapse summary::-webkit-details-marker{
  display:none;
}

.wgg-collapse summary::after{
  content:"+";
  position:absolute;
  right:24px;
  top:20px;
  font-size:1.3rem;
  font-weight:700;
  color:var(--brand-accent);
}

.wgg-collapse[open] summary::after{
  content:"−";
}

.committee-grid{
  padding:0 24px 24px;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px,1fr));
  gap:14px;
}

.member-chip{
  background:#f8fafc;
  border:1px solid #edf2f7;
  border-top:4px solid var(--brand-accent);
  border-radius:12px;
  padding:14px;
}

.member-chip strong{
  display:block;
  color:var(--text-main);
  margin-bottom:6px;
}

.member-chip span{
  font-size:0.88rem;
  color:var(--text-muted);
}

/* RESPONSIVE */

@media (max-width:900px){

  .wgg-split{
    grid-template-columns:1fr;
  }

}

@media (max-width:768px){

  .wgg-header{
    padding:58px 18px;
  }

  .wgg-page{
    margin:35px auto 60px;
  }

  .wgg-banner img{
    height:220px;
    border-radius:16px;
  }

  .wgg-row{
    grid-template-columns:1fr;
  }

  .wgg-accent{
    width:100%;
    height:6px;
  }

  .wgg-content{
    padding:22px;
  }

  .wgg-actions{
    flex-direction:column;
  }

  .wgg-btn{
    width:100%;
    text-align:center;
  }

  .committee-grid{
    grid-template-columns:1fr;
    padding:0 18px 18px;
  }

  .wgg-collapse summary{
    padding:18px;
  }

}