/* Directory pages: people, partners, galleries, media coverage. */
.cgs-people-group { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.cgs-people-group__title { font-size: clamp(1.3rem, 2.2vw, 1.7rem); padding-bottom: .5rem; border-bottom: 3px solid var(--cgs-logo-green); margin-bottom: 1.5rem; }
.cgs-people-group__title a { color: inherit; text-decoration: none; }
.cgs-people-group__title a:hover, .cgs-people-group__title a:focus { color: var(--cgs-logo-green); text-decoration: underline; }

/* People */
.cgs-people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr)); gap: 1.75rem 1.5rem; }
.cgs-person a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; text-decoration: none; color: var(--cgs-ink); }
.cgs-person img, .cgs-person__placeholder { width: 8.5rem; height: 8.5rem; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--cgs-border); transition: box-shadow .15s; }
.cgs-person__placeholder { display: flex; align-items: center; justify-content: center; background: #eaf3ed; color: var(--cgs-logo-green); font-family: var(--wp--preset--font-family--heading, Georgia, serif); font-size: 2.5rem; font-weight: 700; }
.cgs-person__name { font-family: var(--wp--preset--font-family--heading, Georgia, serif); font-weight: 700; font-size: 1.02rem; line-height: 1.3; margin-top: .4rem; }
.cgs-person__role { font-size: .82rem; color: var(--cgs-muted); line-height: 1.35; }
.cgs-person a:hover img, .cgs-person a:focus img, .cgs-person a:hover .cgs-person__placeholder { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--cgs-logo-green); }
.cgs-person a:hover .cgs-person__name, .cgs-person a:focus .cgs-person__name { color: var(--cgs-logo-green); text-decoration: underline; }

/* Partners */
.cgs-org-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: 1rem; }
.cgs-org-grid a { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; padding: 1.25rem 1rem; border: 1px solid var(--cgs-border); border-radius: 6px; text-align: center; text-decoration: none; color: var(--cgs-ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.cgs-org-grid img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; }
.cgs-org-grid__name { font-weight: 700; font-size: .9rem; line-height: 1.3; }
.cgs-org-grid__site { font-size: .78rem; color: var(--cgs-muted); }
.cgs-org-grid a:hover, .cgs-org-grid a:focus { border-color: var(--cgs-logo-green); box-shadow: 0 6px 18px rgba(0, 98, 56, .1); }

/* Gallery archive */
.cgs-gallery-grid--archive { grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.cgs-gallery-grid--archive span { font-size: .92rem; padding: 2.5rem .8rem .7rem; -webkit-line-clamp: 3; }
.cgs-gallery-grid--archive small { display: block; font-weight: 500; font-size: .75rem; opacity: .85; margin-top: .25rem; }
.cgs-gallery-grid__item.is-video a::before { content: ""; position: absolute; z-index: 1; top: .75rem; right: .75rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: rgba(0, 0, 0, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 1.1rem no-repeat; }

/* Coverage groups */
.cgs-coverage-groups { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: .75rem; }
.cgs-coverage-groups a { display: flex; flex-direction: column; gap: .25rem; height: 100%; box-sizing: border-box; padding: .9rem 1rem; border: 1px solid var(--cgs-border); border-left: 4px solid var(--cgs-logo-green); border-radius: 4px; text-decoration: none; color: var(--cgs-ink); font-weight: 600; line-height: 1.35; }
.cgs-coverage-groups small { font-weight: 500; color: var(--cgs-muted); }
.cgs-coverage-groups a:hover, .cgs-coverage-groups a:focus { background: #eaf3ed; }
