/* Committee layouts size from available space, including browser zoom. */
.committee-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(18px, 2vw, 28px);
}
.committee-profile,
.hp-restored-committees .committee-profile {
  min-width: 0;
  padding: 12px;
  border-radius: 24px;
  background: linear-gradient(155deg, #fff 65%, #f4faf8);
  border: 1px solid #d8e7e2;
  box-shadow: 0 8px 28px #123b3510;
}
.committee-identity,
.hp-restored-committees .committee-identity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  height: 208px;
  padding: 18px 22px;
  background: radial-gradient(ellipse at 90% 0%, #dcefe9, transparent 75%), #f2f6fb;
  border-radius: 16px;
  min-width: 0;
}
.committee-code {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  padding: 6px 12px;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: .035em;
  background: #ffffffd9;
  color: #195c52;
  box-shadow: 0 3px 12px #173e4110;
}
.committee-identity .committee-logo {
  grid-column: 1 / -1;
  grid-row: 2;
  width: min(100%, 245px);
  max-width: 100%;
  height: 112px;
  min-width: 0;
  object-fit: contain;
  object-position: left center;
}
.committee-identity .logo-undp { width: 55px; }
.committee-identity .logo-unhrc { width: 128px; }
.committee-copy { padding: 26px 18px 24px; min-width: 0; }
.committee-copy h3 { text-wrap: balance; overflow-wrap: anywhere; }
.committee-copy p { margin-bottom: 0; }
.committee-footer {
  margin: 0 18px;
  padding: 18px 0 10px;
  gap: 12px 18px;
  align-items: center;
  min-width: 0;
}
.committee-footer > span { font-size: 13px; }
.committee-footer a,
.hp-restored-committees .committee-footer a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  min-width: 0;
}
.committee-footer a > span { margin-left: 0; transition: translate .25s ease; }
.committee-profile:focus-within { border-color: #268a72; box-shadow: 0 12px 32px #133d4920; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .committee-profile:hover { translate: 0 -6px; transform: none; box-shadow: 0 18px 40px #123b351c; }
  .committee-profile { transition: translate .3s ease, box-shadow .3s ease, border-color .3s ease; }
  .committee-footer a:hover > span { translate: 3px -3px; }
  .hp-text-link > span, .text-link > span { display: inline-block; transition: translate .25s ease; }
  .hp-text-link:hover > span, .text-link:hover > span { translate: 3px -3px; }
}
@media (max-width: 720px) {
  .committee-profile, .hp-restored-committees .committee-profile { border-radius: 20px; }
  .committee-identity, .hp-restored-committees .committee-identity { height: 190px; padding: 16px 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  .motion-ready:not(.is-revealed) { opacity: 0; transform: translateY(20px); }
  .motion-ready.is-revealed { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .committee-profile, .committee-footer a > span { translate: none!important; transition: none!important; }
}
@media (min-width: 1280px) {
  .committee-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: no-preference) {
  .committee-profile.motion-ready.is-revealed { transition: opacity .7s ease, transform .7s ease, translate .3s ease, box-shadow .3s ease, border-color .3s ease; }
}
.footer-photography { margin-block: 24px; border-block: 1px solid #ffffff25; padding-block: 18px; }
.footer-photography summary { cursor: pointer; font-size: 16px; font-weight: 500; }
.footer-photography > p { max-width: 900px; font-size: 14px; line-height: 1.7; }
.footer-photography .credits { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr)); gap: 24px; padding: 16px 0; list-style: none; }
.footer-photography .credits li { min-width: 0; padding: 0; border: 0; }
.footer-photography .credits h3 { font-size: 16px; line-height: 1.5; letter-spacing: 0; }
.footer-photography .credits p { font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.footer-photography .credits a { display: inline; text-decoration: underline; text-underline-offset: 3px; }
