/* Directory pages: people, partners, galleries, media coverage. */
/* ---------- People: page header ---------- */
.cgs-people-hero { background: linear-gradient(180deg, #eaf3ed 0%, #f6faf7 100%); border-bottom: 1px solid #d5e6da; padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2.25rem); margin-bottom: clamp(2rem, 4vw, 3rem); }
.cgs-people-hero__title { font-size: clamp(2.1rem, 4.5vw, 3.1rem); line-height: 1.1; margin: 0 0 .75rem; }
.cgs-people-hero__lead { max-width: 46rem; font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.55; color: var(--wp--preset--color--ink-soft, #3b3f43); margin: 0; }
.cgs-people-hero__lead p { margin: 0; }
.cgs-people-hero__tools { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.75rem; }
.cgs-people-jump ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.cgs-people-jump a { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .5rem .4rem .85rem; border: 1px solid #c4dccb; border-radius: 999px; background: #fff; color: var(--cgs-ink); font-size: .88rem; font-weight: 600; text-decoration: none; transition: border-color .15s, background .15s; }
.cgs-people-jump a:hover, .cgs-people-jump a:focus { border-color: var(--cgs-logo-green); background: #fff; color: var(--cgs-logo-green); }
.cgs-people-jump__count { min-width: 1.5rem; padding: 0 .4rem; border-radius: 999px; background: #eaf3ed; color: var(--cgs-logo-green); font-size: .75rem; line-height: 1.5rem; text-align: center; }
.cgs-people-search { flex: 0 1 20rem; }
.cgs-people-search input { width: 100%; box-sizing: border-box; padding: .6rem .9rem .6rem 2.4rem; border: 1px solid #c4dccb; border-radius: 999px; font: inherit; font-size: .95rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23565a5e' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") .85rem center / 1.05rem no-repeat; }
.cgs-people-search input:focus { outline: 2px solid var(--cgs-logo-green); outline-offset: 1px; border-color: var(--cgs-logo-green); }
.cgs-people-search__status { margin: .35rem .9rem 0; font-size: .8rem; color: var(--cgs-muted); min-height: 1em; }
.cgs-people-empty { padding: 2rem 0; color: var(--cgs-muted); }

/* ---------- People: sections ---------- */
.cgs-people-group { margin-bottom: clamp(2.5rem, 6vw, 4rem); scroll-margin-top: 6rem; }
.cgs-people-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: .6rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--cgs-border); position: relative; }
.cgs-people-group__head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 3.5rem; height: 3px; background: var(--cgs-logo-green); }
.cgs-people-group__title { font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin: 0; }
.cgs-people-group__title a { color: inherit; text-decoration: none; }
.cgs-people-group__all { flex: none; font-size: .85rem; font-weight: 700; color: var(--cgs-logo-green); text-decoration: none; }
.cgs-people-group__all:hover, .cgs-people-group__all:focus { text-decoration: underline; }
.cgs-people-group__desc { max-width: 46rem; margin: -.5rem 0 1.5rem; color: var(--cgs-muted); }
.cgs-people-group--former .cgs-people-group__title { font-size: 1.15rem; color: var(--cgs-muted); }
.cgs-people-group--former .cgs-people-group__head::after { background: var(--cgs-border); }
.cgs-people-back { margin: 0 0 3rem; }
.cgs-people-back a { font-weight: 700; color: var(--cgs-logo-green); text-decoration: none; }

/* ---------- People: cards ---------- */
.cgs-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12.5rem), 1fr)); }
.cgs-person[hidden] { display: none; }
.cgs-person > a { display: flex; flex-direction: column; gap: .8rem; height: 100%; text-decoration: none; color: var(--cgs-ink); }
.cgs-person__photo { display: block; position: relative; overflow: hidden; border-radius: 4px; background: var(--cgs-surface); aspect-ratio: 4 / 5; }
.cgs-person__photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--cgs-logo-green); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.cgs-person__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .35s ease; }
.cgs-person__placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; background: linear-gradient(160deg, #0b7a49, #006238 70%); color: #fff; font-family: var(--wp--preset--font-family--heading, Georgia, serif); font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: .03em; }
.cgs-person__text { display: flex; flex-direction: column; gap: .25rem; }
.cgs-person__name { font-family: var(--wp--preset--font-family--heading, Georgia, serif); font-weight: 700; font-size: 1.05rem; line-height: 1.3; margin: 0; }
.cgs-person__role { font-size: .84rem; line-height: 1.4; color: var(--cgs-logo-green); font-weight: 600; margin: 0; }
.cgs-person__bio { font-size: .86rem; line-height: 1.5; color: var(--cgs-muted); margin: .2rem 0 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.cgs-person > a:hover .cgs-person__img, .cgs-person > a:focus .cgs-person__img { transform: scale(1.04); }
.cgs-person > a:hover .cgs-person__photo::after, .cgs-person > a:focus .cgs-person__photo::after { transform: scaleX(1); }
.cgs-person > a:hover .cgs-person__name, .cgs-person > a:focus .cgs-person__name { color: var(--cgs-logo-green); text-decoration: underline; text-underline-offset: .15em; }
.cgs-person > a:focus-visible { outline: 2px solid var(--cgs-logo-green); outline-offset: 4px; border-radius: 4px; }

/* Compact: denser grid for large teams */
.cgs-people--compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); gap: 1.5rem 1.1rem; }
.cgs-people--compact .cgs-person > a { gap: .6rem; }
.cgs-people--compact .cgs-person__name { font-size: .95rem; }
.cgs-people--compact .cgs-person__role { font-size: .78rem; font-weight: 500; color: var(--cgs-muted); }

/* Featured: large horizontal cards with bio (e.g. Board of Directors) */
.cgs-people--featured { grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr)); gap: 1.25rem; }
.cgs-person--featured { display: grid; grid-template-columns: minmax(7.5rem, 11rem) 1fr; gap: 1.25rem; align-items: start; padding: 1.1rem; border: 1px solid var(--cgs-border); border-radius: 6px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.cgs-person--featured:hover, .cgs-person--featured:focus-within { border-color: #a9cdb6; box-shadow: 0 10px 28px rgba(0, 98, 56, .09); }
.cgs-person--featured .cgs-person__photo { aspect-ratio: 4 / 5; width: 100%; min-width: 0; }
.cgs-person__photo .cgs-person__img { max-width: 100%; }
.cgs-person--featured .cgs-person__photo:hover .cgs-person__img { transform: scale(1.04); }
.cgs-person--featured .cgs-person__body { display: flex; flex-direction: column; gap: .35rem; min-width: 0; padding-top: .15rem; }
.cgs-person--featured .cgs-person__name { font-size: 1.25rem; }
.cgs-person--featured .cgs-person__name a { color: var(--cgs-ink); text-decoration: none; }
.cgs-person--featured .cgs-person__name a:hover, .cgs-person--featured .cgs-person__name a:focus { color: var(--cgs-logo-green); text-decoration: underline; }
.cgs-person--featured .cgs-person__role { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.cgs-person--featured .cgs-person__bio { font-size: .92rem; -webkit-line-clamp: 5; color: var(--wp--preset--color--ink-soft, #3b3f43); }
.cgs-person__more { margin: auto 0 0; padding-top: .4rem; }
.cgs-person__more a { font-size: .85rem; font-weight: 700; color: var(--cgs-logo-green); text-decoration: none; }
.cgs-person__more a:hover, .cgs-person__more a:focus { text-decoration: underline; }
@media (max-width: 520px) { .cgs-person--featured { grid-template-columns: 6.5rem 1fr; gap: .9rem; padding: .9rem; } .cgs-person--featured .cgs-person__bio { -webkit-line-clamp: 4; } }

/* List: small photos (former members) */
.cgs-people--list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: .9rem 1.5rem; }
.cgs-people--list .cgs-person > a { flex-direction: row; align-items: center; gap: .85rem; }
.cgs-people--list .cgs-person__photo { flex: none; width: 3.5rem; height: 3.5rem; aspect-ratio: auto; border-radius: 50%; }
.cgs-people--list .cgs-person__placeholder { font-size: 1.1rem; }
.cgs-people--list .cgs-person__photo::after { display: none; }
.cgs-people--list .cgs-person__name { font-size: .95rem; }

@media (max-width: 480px) {
	.cgs-people--grid, .cgs-people--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem .9rem; }
	.cgs-people-hero__tools { flex-direction: column-reverse; align-items: stretch; }
	.cgs-people-search { flex-basis: auto; }
}

/* ---------- People: call to action ---------- */
.cgs-people-cta { background: var(--cgs-logo-green); color: #fff; padding: clamp(2rem, 5vw, 3rem) 0; margin-top: 1rem; }
.cgs-people-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.cgs-people-cta__title { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 .35rem; }
.cgs-people-cta p { margin: 0; max-width: 38rem; color: rgba(255, 255, 255, .88); }
.cgs-people-cta__links { display: flex; flex-wrap: wrap; gap: .6rem; }
.cgs-btn { display: inline-block; padding: .65rem 1.2rem; border: 2px solid #fff; border-radius: 4px; background: #fff; color: var(--cgs-logo-green); font-weight: 700; font-size: .92rem; text-decoration: none; transition: background .15s, color .15s; }
.cgs-btn:hover, .cgs-btn:focus { background: transparent; color: #fff; }
.cgs-btn--ghost { background: transparent; color: #fff; }
.cgs-btn--ghost:hover, .cgs-btn--ghost:focus { background: #fff; color: var(--cgs-logo-green); }

/* 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; }

/* Team & people: bios, former members, profile links, author box. */

.cgs-profile-links { list-style: none; margin: 1rem 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.cgs-profile-links a { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .75rem; border: 1px solid var(--cgs-border); border-radius: 999px; font-size: .85rem; color: var(--cgs-ink); text-decoration: none; }
.cgs-profile-links a:hover, .cgs-profile-links a:focus { border-color: var(--cgs-logo-green); color: var(--cgs-logo-green); }
.cgs-profile-links .cgs-icon { width: 15px; height: 15px; }
.cgs-profile-links--compact { margin: .5rem 0; }
.cgs-profile-links--compact a { padding: .25rem .6rem; font-size: .8rem; }

.cgs-author-box { display: flex; gap: 1.25rem; align-items: flex-start; margin: 1.75rem 0; padding: 1.25rem; background: var(--cgs-surface); border-left: 4px solid var(--cgs-logo-green); border-radius: 0 4px 4px 0; }
.cgs-author-box__photo img, .cgs-author-box__photo .cgs-person__placeholder { width: 5rem; height: 5rem; border-radius: 50%; object-fit: cover; display: flex; font-size: 1.5rem; }
.cgs-author-box__photo { flex: none; text-decoration: none; }
.cgs-author-box__body { min-width: 0; }
.cgs-author-box__body p { margin: 0 0 .35rem; }
.cgs-author-box__name { font-family: var(--wp--preset--font-family--heading, Georgia, serif); font-weight: 700; font-size: 1.15rem; }
.cgs-author-box__name a { color: var(--cgs-ink); text-decoration: none; }
.cgs-author-box__name a:hover, .cgs-author-box__name a:focus { color: var(--cgs-logo-green); text-decoration: underline; }
.cgs-author-box__role { font-size: .85rem; color: var(--cgs-muted); text-transform: none; }
.cgs-author-box__bio { font-size: .92rem; line-height: 1.55; }
.cgs-author-box__more a { font-weight: 700; color: var(--cgs-logo-green); text-decoration: none; }
.cgs-author-box__more a:hover, .cgs-author-box__more a:focus { text-decoration: underline; }
.cgs-author-box__count { color: var(--cgs-muted); font-size: .85rem; margin-left: .5rem; }
@media (max-width: 560px) { .cgs-author-box { flex-direction: column; gap: .75rem; } }

.cgs-person-writing__count { display: inline-block; min-width: 1.6rem; padding: 0 .45rem; margin-left: .35rem; border-radius: 999px; background: var(--cgs-logo-green); color: #fff; font-size: .8rem; line-height: 1.6rem; text-align: center; vertical-align: middle; font-family: var(--wp--preset--font-family--body, sans-serif); }
.cgs-person-writing__all { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.cgs-person-writing__link { font-weight: 700; color: var(--cgs-logo-green); text-decoration: none; }
.cgs-person-writing__link:hover, .cgs-person-writing__link:focus { text-decoration: underline; }

/* Positions on a profile: each role with where it is held. */
.cgs-positions { margin: 1.25rem 0 1.75rem; }
.cgs-positions__title { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cgs-muted); margin: 0 0 .5rem; font-family: var(--wp--preset--font-family--body, sans-serif); }
.cgs-positions__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--cgs-border); }
.cgs-positions__item { display: flex; flex-wrap: wrap; gap: .15rem 1rem; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid var(--cgs-border); }
.cgs-positions__role { font-weight: 700; }
.cgs-positions__place a { color: var(--cgs-logo-green); text-decoration: none; }
.cgs-positions__place a:hover, .cgs-positions__place a:focus { text-decoration: underline; }
.cgs-positions__tag { display: inline-block; margin-left: .35rem; padding: 0 .4rem; border-radius: 2px; background: var(--cgs-surface); color: var(--cgs-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.cgs-positions__item--former { color: var(--cgs-muted); }
.cgs-people--linked .cgs-editor-note--inline { font-size: .75rem; }

/* Social icons under the profile photo */
.cgs-social { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.cgs-social__link { display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--cgs-border); background: #fff; color: var(--cgs-logo-green); transition: background .15s, color .15s, border-color .15s; }
.cgs-social__link .cgs-icon { width: 18px; height: 18px; }
.cgs-social__link:hover, .cgs-social__link:focus { background: var(--cgs-logo-green); border-color: var(--cgs-logo-green); color: #fff; }

/* Editor-only "Arrange order" button on people pages */
.cgs-editor-link { display: inline-block; margin-left: auto; margin-right: 1rem; padding: .2rem .65rem; border: 1px dashed #c79100; border-radius: 3px; background: #fff8e1; color: #6b4e00; font-size: .78rem; font-weight: 700; text-decoration: none; }
.cgs-editor-link:hover, .cgs-editor-link:focus { background: #ffefb3; }
.cgs-people-hero .cgs-editor-link { margin: .5rem 0 0; }

/* ---------- Projects page ---------- */
.cgs-people-jump a[aria-current="page"] { background: var(--cgs-logo-green); border-color: var(--cgs-logo-green); color: #fff; }
.cgs-people-jump a[aria-current="page"] .cgs-people-jump__count { background: rgba(255, 255, 255, .2); color: #fff; }
.cgs-projects-stats { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin: 1.25rem 0 0; padding: 0; color: var(--cgs-muted); font-size: .95rem; }
.cgs-projects-stats strong { font-family: var(--wp--preset--font-family--heading, Georgia, serif); font-size: 1.6rem; color: var(--cgs-logo-green); margin-right: .2rem; vertical-align: -.1em; }
.cgs-projects-theme { margin-bottom: clamp(2.5rem, 6vw, 4rem); scroll-margin-top: 6rem; }

.cgs-project-feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 0; margin-bottom: clamp(2.5rem, 6vw, 4rem); border: 1px solid var(--cgs-border); border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 12px 32px rgba(0, 0, 0, .06); }
.cgs-project-feature__media { display: block; align-self: stretch; display: flex; align-items: center; background: #0f2a1d; }
.cgs-project-feature__media img { display: block; width: 100%; height: auto; }
.cgs-project-feature__body { padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; justify-content: center; gap: .75rem; }
.cgs-project-feature__label { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cgs-logo-red); }
.cgs-project-feature__label a { color: var(--cgs-logo-green); text-decoration: none; }
.cgs-project-feature__title { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.2; }
.cgs-project-feature__title a { color: var(--cgs-ink); text-decoration: none; }
.cgs-project-feature__title a:hover, .cgs-project-feature__title a:focus { color: var(--cgs-logo-green); text-decoration: underline; }
.cgs-project-feature__summary { margin: 0; color: var(--wp--preset--color--ink-soft, #3b3f43); line-height: 1.6; }
@media (max-width: 820px) { .cgs-project-feature { grid-template-columns: 1fr; } .cgs-project-feature__media { align-self: auto; } }

.cgs-project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1.5rem; }
.cgs-project-card { display: flex; flex-direction: column; border: 1px solid var(--cgs-border); border-radius: 6px; overflow: hidden; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.cgs-project-card:hover, .cgs-project-card:focus-within { border-color: #a9cdb6; box-shadow: 0 12px 28px rgba(0, 98, 56, .1); transform: translateY(-2px); }
.cgs-project-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--cgs-surface); }
.cgs-project-card__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cgs-project-card:hover .cgs-project-card__img { transform: scale(1.04); }
.cgs-project-card__fallback { display: flex; align-items: flex-end; width: 100%; height: 100%; box-sizing: border-box; padding: 1rem 1.1rem; color: #fff; font-family: var(--wp--preset--font-family--heading, Georgia, serif); font-weight: 700; font-size: 1.05rem; line-height: 1.25;
	background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .16) 0 18%, transparent 19%), radial-gradient(circle at 70% 120%, rgba(223, 0, 36, .35) 0 30%, transparent 31%), linear-gradient(150deg, #0b7a49 0%, #006238 55%, #004a2a 100%); }
.cgs-project-card__body { display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem 1.2rem 1.3rem; flex: 1; }
.cgs-project-card__meta { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; }
.cgs-project-card__theme, .cgs-project-card__status { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 3px; background: #eaf3ed; color: var(--cgs-logo-green); }
.cgs-project-card__status { background: #fff1f3; color: var(--cgs-logo-red); }
.cgs-project-card__title { margin: 0; font-size: 1.08rem; line-height: 1.35; }
.cgs-project-card__title a { color: var(--cgs-ink); text-decoration: none; }
.cgs-project-card__title a::after { content: ""; position: absolute; inset: 0; }
.cgs-project-card { position: relative; }
.cgs-project-card__title a:hover, .cgs-project-card__title a:focus { color: var(--cgs-logo-green); text-decoration: underline; }
.cgs-project-card__summary { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--cgs-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cgs-btn--solid { background: var(--cgs-logo-green); border-color: var(--cgs-logo-green); color: #fff; }
.cgs-btn--solid:hover, .cgs-btn--solid:focus { background: #00472a; border-color: #00472a; color: #fff; }

/* ---------- Galleries: list ---------- */
.cgs-galleries-filters { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.5rem; }
.cgs-galleries-years a { padding: .3rem .75rem; font-size: .82rem; }
.cgs-galleries-body { padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.cgs-gcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.5rem; }
@media (max-width: 1000px) { .cgs-gcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cgs-gcards { grid-template-columns: 1fr; gap: 1.5rem; } }
.cgs-gcard { position: relative; display: flex; flex-direction: column; gap: .6rem; }
.cgs-gcard__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: linear-gradient(150deg, #0b7a49, #006238 55%, #004a2a); }
.cgs-gcard__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cgs-gcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .35)); pointer-events: none; }
.cgs-gcard:hover .cgs-gcard__media img, .cgs-gcard:focus-within .cgs-gcard__media img { transform: scale(1.05); }
.cgs-gcard__badge { position: absolute; z-index: 1; left: .75rem; bottom: .75rem; display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .6rem; border-radius: 999px; background: rgba(0, 0, 0, .62); color: #fff; font-size: .75rem; font-weight: 700; backdrop-filter: blur(4px); }
.cgs-gcard__badge::before { content: ""; width: .85rem; height: .85rem; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm1 11.5 4.5-5 3.5 4 2.5-2.5L19 17V7H5zM15.5 10a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm1 11.5 4.5-5 3.5 4 2.5-2.5L19 17V7H5zM15.5 10a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z'/%3E%3C/svg%3E") center / contain no-repeat; }
.cgs-gcard.is-video .cgs-gcard__badge::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4v16l13-8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4v16l13-8z'/%3E%3C/svg%3E"); }
.cgs-gcard.is-video .cgs-gcard__media::before { content: ""; position: absolute; z-index: 1; top: 50%; left: 50%; width: 3.4rem; height: 3.4rem; margin: -1.7rem 0 0 -1.7rem; border-radius: 50%; background: rgba(223, 0, 36, .92) 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") 55% center / 1.5rem no-repeat; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); transition: transform .2s; }
.cgs-gcard.is-video:hover .cgs-gcard__media::before { transform: scale(1.08); }
.cgs-gcard__title { margin: 0; font-size: 1.05rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cgs-gcard__title a { color: var(--cgs-ink); text-decoration: none; }
.cgs-gcard__title a::after { content: ""; position: absolute; inset: 0; }
.cgs-gcard__title a:hover, .cgs-gcard__title a:focus { color: var(--cgs-logo-green); text-decoration: underline; }
.cgs-gcard__meta { margin: 0; font-size: .82rem; color: var(--cgs-muted); }

/* Pagination */
.cgs-galleries-body .navigation.pagination { margin-top: 2.5rem; }
.cgs-galleries-body .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.cgs-galleries-body .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 2.4rem; height: 2.4rem; padding: 0 .75rem; border: 1px solid var(--cgs-border); border-radius: 999px; color: var(--cgs-ink); text-decoration: none; font-weight: 600; font-size: .9rem; background: #fff; box-sizing: border-box; }
.cgs-galleries-body .page-numbers.current { background: var(--cgs-logo-green); border-color: var(--cgs-logo-green); color: #fff; }
.cgs-galleries-body a.page-numbers:hover, .cgs-galleries-body a.page-numbers:focus { border-color: var(--cgs-logo-green); color: var(--cgs-logo-green); }
.cgs-galleries-body .page-numbers.dots { border: 0; background: none; min-width: auto; }

/* ---------- Gallery: single page ---------- */
.cgs-gallery-hero__title { max-width: 52rem; font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
.cgs-gallery-hero__meta { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; margin: 0 0 1.25rem; color: var(--cgs-muted); font-size: .95rem; }
.cgs-gallery-hero__meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: #9fbfab; vertical-align: middle; margin-right: 1.25rem; margin-left: -.1rem; }
.cgs-gallery-hero .cgs-share { margin-top: .25rem; }
.cgs-gallery-page { padding-bottom: clamp(1rem, 4vw, 2.5rem); }
.cgs-gallery-page__intro { max-width: var(--cgs-narrow); margin: 0 0 2rem; font-size: 1.08rem; }
.cgs-gallery-page__hint { margin: 0 0 1rem; font-size: .85rem; color: var(--cgs-muted); }
.cgs-gallery__photos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; grid-auto-flow: dense; }
.cgs-gallery__photos.has-lead li:first-child { grid-column: span 2; grid-row: span 2; }
.cgs-gallery__photos a { position: relative; display: block; height: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--cgs-surface); cursor: zoom-in; }
.cgs-gallery__photos.has-lead li:first-child a { aspect-ratio: auto; }
.cgs-gallery__photos img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s; }
.cgs-gallery__photos a::after { content: ""; position: absolute; right: .6rem; bottom: .6rem; width: 2.1rem; height: 2.1rem; 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='none' stroke='white' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4-4M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 1.1rem no-repeat; opacity: 0; transform: scale(.85); transition: opacity .2s, transform .2s; }
.cgs-gallery__photos a:hover img, .cgs-gallery__photos a:focus img { transform: scale(1.04); filter: brightness(.92); }
.cgs-gallery__photos a:hover::after, .cgs-gallery__photos a:focus::after { opacity: 1; transform: none; }
.cgs-gallery__photos a:focus-visible { outline: 3px solid var(--cgs-logo-green); outline-offset: 2px; }
@media (max-width: 900px) { .cgs-gallery__photos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cgs-gallery__photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; } }
.cgs-gallery-page .cgs-related { margin-top: 2.5rem; }

/* ---------- Videos (galleries, events, projects, [cgs_videos]) ---------- */
.cgs-videos { margin-top: 2.5rem; }
.cgs-videos__title { display: flex; align-items: center; gap: .6rem; font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 0 0 1.25rem; padding-bottom: .6rem; border-bottom: 1px solid var(--cgs-border); position: relative; }
.cgs-videos__title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 3.5rem; height: 3px; background: var(--cgs-logo-green); }
.cgs-videos__count { min-width: 1.6rem; padding: 0 .45rem; border-radius: 999px; background: #eaf3ed; color: var(--cgs-logo-green); font-size: .8rem; line-height: 1.6rem; text-align: center; font-family: var(--wp--preset--font-family--body, sans-serif); }
.cgs-videos__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1.5rem 1.25rem; }
.cgs-video-card a { display: flex; flex-direction: column; gap: .6rem; color: var(--cgs-ink); text-decoration: none; }
.cgs-video-card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: linear-gradient(150deg, #1c2a22, #0f1a14); }
.cgs-video-card__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s; }
.cgs-video-card__play { position: absolute; top: 50%; left: 50%; width: 3.6rem; height: 2.6rem; margin: -1.3rem 0 0 -1.8rem; border-radius: 12px; background: rgba(223, 0, 36, .92) 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") 55% center / 1.4rem no-repeat; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); transition: transform .2s, background-color .2s; }
.cgs-video-card a:hover .cgs-video-card__img, .cgs-video-card a:focus .cgs-video-card__img { transform: scale(1.04); filter: brightness(.85); }
.cgs-video-card a:hover .cgs-video-card__play, .cgs-video-card a:focus .cgs-video-card__play { transform: scale(1.1); background-color: #df0024; }
.cgs-video-card__title { font-weight: 700; font-size: .95rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cgs-video-card a:hover .cgs-video-card__title, .cgs-video-card a:focus .cgs-video-card__title { color: var(--cgs-logo-green); text-decoration: underline; }
.cgs-event-videos { margin-top: 1rem; }

/* ---------- Pop-up viewer ---------- */
.cgs-lightbox { position: fixed; inset: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 12, 10, .94); color: #fff; overflow: hidden; }
.cgs-lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.cgs-lightbox[open] { display: flex; flex-direction: column; animation: cgs-fade .18s ease-out; }
@keyframes cgs-fade { from { opacity: 0; } to { opacity: 1; } }
.cgs-lightbox__stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: clamp(3.5rem, 6vw, 4.5rem) clamp(.5rem, 6vw, 5rem) .5rem; }
.cgs-lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.cgs-lightbox__video { width: min(100%, calc((100vh - 9rem) * 16 / 9)); aspect-ratio: 16 / 9; border: 0; border-radius: 6px; background: #000; }
.cgs-lightbox__bar { display: flex; justify-content: space-between; gap: 1rem; margin: 0; padding: .75rem clamp(1rem, 6vw, 5rem) 1.25rem; font-size: .9rem; color: rgba(255, 255, 255, .85); }
.cgs-lightbox__count { flex: none; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .65); }
.cgs-lightbox__btn { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 2.9rem; height: 2.9rem; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; transition: background .15s; }
.cgs-lightbox__btn:hover, .cgs-lightbox__btn:focus-visible { background: var(--cgs-logo-green); outline: none; }
.cgs-lightbox__close { top: .9rem; right: .9rem; font-size: 1.8rem; }
.cgs-lightbox__prev, .cgs-lightbox__next { top: 50%; margin-top: -1.45rem; }
.cgs-lightbox__prev { left: .9rem; }
.cgs-lightbox__next { right: .9rem; }
.cgs-lightbox.is-single .cgs-lightbox__prev, .cgs-lightbox.is-single .cgs-lightbox__next { display: none; }
@media (max-width: 600px) { .cgs-lightbox__prev, .cgs-lightbox__next { top: auto; bottom: .75rem; margin: 0; } .cgs-lightbox__bar { padding-inline: 4rem; text-align: center; flex-direction: column; gap: .2rem; } }

/* ---------- Shared page header band ---------- */
.cgs-page-hero .cgs-people-hero__lead { max-width: 48rem; }
.cgs-page-hero__search { margin-top: 1.25rem; max-width: 36rem; }
.cgs-page-hero__search form { display: flex; gap: .5rem; }
.cgs-page-hero__search input[type="search"] { flex: 1; min-width: 0; padding: .7rem 1rem; border: 1px solid #c4dccb; border-radius: 999px; font: inherit; background: #fff; }
.cgs-page-hero__search input[type="search"]:focus { outline: 2px solid var(--cgs-logo-green); outline-offset: 1px; }
.cgs-page-hero__search button, .cgs-page-hero__search input[type="submit"] { padding: .7rem 1.3rem; border: 0; border-radius: 999px; background: var(--cgs-logo-green); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.cgs-page--archive { padding-top: 0; }
.cgs-people-hero + .cgs-page { padding-top: 0; }
.cgs-page-body { padding-top: 0; padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.cgs-404-links { list-style: none; margin: 0 0 3rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.cgs-404-links a { display: flex; flex-direction: column; gap: .25rem; height: 100%; box-sizing: border-box; padding: 1.1rem 1.25rem; border: 1px solid var(--cgs-border); border-left: 4px solid var(--cgs-logo-green); border-radius: 6px; color: var(--cgs-ink); text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.cgs-404-links strong { font-family: var(--wp--preset--font-family--heading, Georgia, serif); font-size: 1.1rem; }
.cgs-404-links span { font-size: .88rem; color: var(--cgs-muted); }
.cgs-404-links a:hover, .cgs-404-links a:focus { border-color: #a9cdb6; box-shadow: 0 8px 22px rgba(0, 98, 56, .1); }

/* ---------- Partner page ---------- */
.cgs-org-hero__inner { display: flex; align-items: center; gap: clamp(1.25rem, 4vw, 2.5rem); flex-wrap: wrap; }
.cgs-org-hero__logo { flex: none; display: flex; align-items: center; justify-content: center; width: clamp(8rem, 18vw, 12rem); aspect-ratio: 1; padding: 1.25rem; box-sizing: border-box; border-radius: 12px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .07); }
.cgs-org-hero__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.cgs-org-hero__text { flex: 1 1 18rem; min-width: 0; }
.cgs-org-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: .25rem 0 0; }
.cgs-org-hero__meta .cgs-badge { text-decoration: none; }
.cgs-org-page__about { max-width: var(--cgs-narrow); margin-bottom: 2rem; }
.cgs-org-page .cgs-people-group { margin-top: 1rem; }

/* ---------- Contact pages and forms (Contact Form 7) ---------- */
.page-template-default .cgs-contact { margin-top: .5rem; }
.cgs-page-body:has(.cgs-contact) { max-width: var(--cgs-max); }
.cgs-contact__lead { font-size: 1.12rem; max-width: 46rem; margin: 0 0 2rem; }
.cgs-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 860px) { .cgs-contact__grid { grid-template-columns: 1fr; } }
.cgs-contact__cards { display: grid; gap: 1rem; }
.cgs-contact__card { position: relative; padding: 1.15rem 1.25rem 1.15rem 3.6rem; border: 1px solid var(--cgs-border); border-radius: 8px; background: #fff; }
.cgs-contact__card::before { content: ""; position: absolute; left: 1.1rem; top: 1.2rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #eaf3ed center / .95rem no-repeat; }
.cgs-contact__card--address::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23006238'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.cgs-contact__card--email::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23006238'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm1 2.3V17h16V7.3l-8 5.2zM5.4 7l6.6 4.3L18.6 7z'/%3E%3C/svg%3E"); }
.cgs-contact__card--phone::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23006238'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E"); }
.cgs-contact .cgs-contact__card h2 { margin: 0 0 .35rem; line-height: 1.4; font-family: var(--wp--preset--font-family--body, sans-serif); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cgs-logo-green); }
.cgs-contact .cgs-contact__card p { margin: 0 0 .35rem; font-size: .98rem; line-height: 1.6; }
.cgs-contact__card p:last-child { margin-bottom: 0; }
.cgs-contact__form { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--cgs-border); border-top: 4px solid var(--cgs-logo-green); border-radius: 8px; background: var(--cgs-surface); }
.cgs-contact .cgs-contact__form > h2 { margin: 0 0 1.25rem; font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.wpcf7 form p { margin: 0 0 1rem; }
.wpcf7 label { display: block; font-weight: 700; font-size: .9rem; color: var(--cgs-ink); }
.wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: .35rem; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="date"], .wpcf7 input[type="url"], .wpcf7 textarea, .wpcf7 select { width: 100%; box-sizing: border-box; padding: .7rem .85rem; border: 1px solid #c9d2cc; border-radius: 6px; background: #fff; font: inherit; font-weight: 400; font-size: 1rem; color: var(--cgs-ink); transition: border-color .15s, box-shadow .15s; }
.wpcf7 textarea { min-height: 9rem; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus { outline: none; border-color: var(--cgs-logo-green); box-shadow: 0 0 0 3px rgba(0, 98, 56, .15); }
.wpcf7 input[type="submit"] { display: inline-flex; align-items: center; padding: .8rem 1.6rem; border: 0; border-radius: 6px; background: var(--cgs-logo-green); color: #fff; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; transition: background .15s; }
.wpcf7 input[type="submit"]:hover, .wpcf7 input[type="submit"]:focus { background: #00472a; }
.wpcf7 .wpcf7-not-valid { border-color: var(--cgs-logo-red); }
.wpcf7 .wpcf7-not-valid-tip { font-size: .82rem; font-weight: 600; color: var(--cgs-logo-red); margin-top: .3rem; }
.wpcf7 form .wpcf7-response-output { margin: 1rem 0 0; padding: .75rem 1rem; border-radius: 6px; font-size: .92rem; }
.wpcf7 .wpcf7-spinner { vertical-align: middle; }

/* Text-only cards (press clippings without a picture) get a quiet frame so rows still read as a grid */
.cgs-page--archive .cgs-card--cgs_coverage:not(:has(.cgs-card__media)) { padding: 1rem 1.1rem; border: 1px solid var(--cgs-border); border-top: 3px solid var(--cgs-logo-green); border-radius: 6px; background: #fff; }

/* Embedded YouTube players inside post text */
.cgs-embed { margin: 1.75rem 0; }
.cgs-embed__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: #0f1a14; box-shadow: 0 10px 28px rgba(0, 0, 0, .12); }
.cgs-embed__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cgs-embed figcaption { margin-top: .55rem; padding-left: .75rem; border-left: 2px solid var(--cgs-logo-red); font-size: .88rem; line-height: 1.45; color: var(--cgs-muted); }

/* ---------- Event page ---------- */
.cgs-event-hero__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 0 0 .6rem; font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.cgs-event-hero__kicker a { color: var(--cgs-logo-green); text-decoration: none; }
.cgs-event-hero__kicker a:hover, .cgs-event-hero__kicker a:focus { text-decoration: underline; }
.cgs-event-hero__kicker span[aria-hidden] { color: #9fbfab; }
.cgs-event-hero__badge { margin-left: .5rem; padding: .15rem .55rem; border-radius: 999px; background: var(--cgs-logo-red); color: #fff; letter-spacing: .06em; }
.cgs-event-hero__title { max-width: 54rem; font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
.cgs-event-hero__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin: 0 0 1.1rem; font-size: 1rem; color: var(--cgs-ink); }
.cgs-event-hero__meta > span { display: inline-flex; align-items: center; gap: .45rem; }
.cgs-event-hero__meta > span::before { content: ""; width: 1.05rem; height: 1.05rem; background: var(--cgs-logo-green); -webkit-mask: var(--cgs-ico) center / contain no-repeat; mask: var(--cgs-ico) center / contain no-repeat; }
.cgs-event-hero__when { --cgs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h2v2h6V2h2v2h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3zm12 8H5v9h14zM5 8h14V6H5z'/%3E%3C/svg%3E"); }
.cgs-event-hero__where { --cgs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }

.cgs-event-page { padding-bottom: clamp(1rem, 4vw, 2rem); }
.cgs-event-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 20rem); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
.cgs-event-main { min-width: 0; max-width: 46rem; }
.cgs-event-side { position: sticky; top: 1.5rem; }
.cgs-event-facts-mobile { display: none; }
@media (max-width: 960px) {
	.cgs-event-layout { grid-template-columns: minmax(0, 1fr); }
	.cgs-event-main { max-width: none; }
	.cgs-event-side { display: none; }
	.cgs-event-facts-mobile { display: block; margin-bottom: 1.75rem; }
}
.cgs-event-figure { margin: 0 0 1.75rem; }
.cgs-event-figure figcaption { font-size: .85rem; color: var(--cgs-muted); margin-top: .6rem; padding-left: .75rem; border-left: 2px solid var(--cgs-logo-green); }
.cgs-event-body > p:first-of-type { font-size: 1.1em; color: var(--cgs-ink); }

.cgs-event-facts { border: 1px solid var(--cgs-border); border-top: 4px solid var(--cgs-logo-green); border-radius: 8px; background: #fff; padding: 1.15rem 1.25rem; box-shadow: 0 10px 28px rgba(0, 0, 0, .05); }
.cgs-event-facts__title { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: 0 0 .75rem; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cgs-logo-green); }
.cgs-event-facts__status { padding: .12rem .5rem; border-radius: 999px; background: var(--cgs-surface); color: var(--cgs-muted); font-size: .68rem; letter-spacing: .05em; }
.cgs-event-facts__status.is-upcoming { background: var(--cgs-logo-red); color: #fff; }
.cgs-event-facts__list { margin: 0; display: grid; gap: .1rem; }
.cgs-event-facts__row { position: relative; padding: .6rem 0 .6rem 2rem; border-bottom: 1px solid var(--cgs-border); }
.cgs-event-facts__row:last-child { border-bottom: 0; }
.cgs-event-facts__row::before { content: ""; position: absolute; left: 0; top: .78rem; width: 1.1rem; height: 1.1rem; background: var(--cgs-logo-green); -webkit-mask: var(--cgs-ico) center / contain no-repeat; mask: var(--cgs-ico) center / contain no-repeat; }
.cgs-event-facts__row--tag { --cgs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h8l10 10-8 8L3 11zm4.5 2.5a2 2 0 1 0 0 4 2 2 0 0 0 0-4z'/%3E%3C/svg%3E"); }
.cgs-event-facts__row--calendar { --cgs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h2v2h6V2h2v2h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3zm12 8H5v9h14zM5 8h14V6H5z'/%3E%3C/svg%3E"); }
.cgs-event-facts__row--pin { --cgs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.cgs-event-facts__row--screen { --cgs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h18a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1h-7v2h3v2H7v-2h3v-2H3a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1zm1 2v9h16V6z'/%3E%3C/svg%3E"); }
.cgs-event-facts__row--stack { --cgs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 10 5-10 5L2 7zm-8.2 9.1L12 15.2l8.2-4.1L22 12l-10 5-10-5zm0 5L12 20.2l8.2-4.1L22 17l-10 5-10-5z'/%3E%3C/svg%3E"); }
.cgs-event-facts__row--folder { --cgs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5a1 1 0 0 1 1-1h6l2 2h8a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E"); }
.cgs-event-facts dt { font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--cgs-muted); }
.cgs-event-facts dd { margin: .1rem 0 0; font-size: .96rem; line-height: 1.45; color: var(--cgs-ink); }
.cgs-event-facts dd a { color: var(--cgs-logo-green); }
.cgs-event-facts__actions { display: grid; gap: .5rem; margin-top: 1rem; }
.cgs-event-facts__actions .cgs-btn { text-align: center; }
.cgs-btn--outline { background: #fff; border-color: var(--cgs-logo-green); color: var(--cgs-logo-green); }
.cgs-btn--outline:hover, .cgs-btn--outline:focus { background: var(--cgs-logo-green); color: #fff; }
.cgs-event-facts .cgs-editor-note { margin: 1rem 0 0; font-size: .8rem; }

.cgs-event-section { margin-top: 2.5rem; scroll-margin-top: 1.5rem; }
.cgs-event-section .cgs-gallery__photos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 560px) { .cgs-event-section .cgs-gallery__photos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cgs-event-coverage { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.cgs-event-coverage li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--cgs-border); }
.cgs-event-coverage a { color: var(--cgs-ink); font-weight: 600; text-decoration: none; }
.cgs-event-coverage a:hover, .cgs-event-coverage a:focus { color: var(--cgs-logo-green); text-decoration: underline; }
.cgs-event-coverage span { flex: none; font-size: .82rem; color: var(--cgs-muted); }
.cgs-event-foot { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--cgs-border); }
.cgs-event-all { margin: 1.75rem 0 0; text-align: center; }
.cgs-embed { scroll-margin-top: 1.5rem; }

/* ---------- Publication page with page-turning reader ---------- */
.cgs-pub-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.cgs-pub-hero__title { max-width: 50rem; font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
.cgs-pub-hero__byline .cgs-byline { margin: 0 0 1rem; }
.cgs-pub-hero__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.1rem; }
.cgs-pub-hero__cover { display: block; width: clamp(9rem, 16vw, 13rem); border-radius: 4px; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 40, 20, .25); transform: rotate(2deg); transition: transform .25s; }
.cgs-pub-hero__cover:hover, .cgs-pub-hero__cover:focus { transform: rotate(0) translateY(-3px); }
.cgs-pub-hero__cover img { display: block; width: 100%; height: auto; }
@media (max-width: 700px) { .cgs-pub-hero__inner { grid-template-columns: 1fr; } .cgs-pub-hero__cover { display: none; } }
.cgs-reader { margin: clamp(-1rem, -2vw, -.5rem) 0 clamp(2rem, 5vw, 3rem); scroll-margin-top: 1rem; }
.cgs-reader__bar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1.5rem; margin-bottom: .9rem; }
.cgs-reader__title { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.cgs-reader__hint { margin: 0; font-size: .85rem; color: var(--cgs-muted); }
.cgs-reader__book { border-radius: 10px; overflow: hidden; background: #e8eeea; box-shadow: inset 0 0 0 1px #d5e0d9; min-height: 22rem; }
.cgs-reader__book ._df_book { min-height: min(78vh, 760px); }
.cgs-reader__after { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 1rem; margin: 1.1rem 0 0; color: var(--cgs-muted); font-size: .95rem; }
.cgs-pub-page { padding-top: 0; }
.cgs-pub-page__heading { font-size: clamp(1.25rem, 2vw, 1.5rem); margin: 0 0 1rem; }
.cgs-pub-page .cgs-cite { margin-top: 2rem; }

/* ---------- Research library ---------- */
.cgs-lib-search { display: flex; gap: .5rem; max-width: 40rem; margin-top: 1.5rem; }
.cgs-lib-search input { flex: 1; min-width: 0; padding: .8rem 1.1rem .8rem 2.6rem; border: 1px solid #c4dccb; border-radius: 999px; font: inherit; font-size: 1rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23565a5e' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 1rem center / 1.1rem no-repeat; }
.cgs-lib-search input:focus { outline: 2px solid var(--cgs-logo-green); outline-offset: 1px; }
.cgs-lib-search button { padding: .8rem 1.5rem; border: 0; border-radius: 999px; background: var(--cgs-logo-green); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.cgs-lib-search button:hover, .cgs-lib-search button:focus { background: #00472a; }
.cgs-lib-body { padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.cgs-lib-section { margin-bottom: clamp(2.5rem, 6vw, 4rem); scroll-margin-top: 1.5rem; }

.cgs-lib-featured { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 960px) { .cgs-lib-featured { grid-template-columns: 1fr; } }
.cgs-lib-feature { display: grid; grid-template-columns: minmax(9rem, 14rem) 1fr; gap: clamp(1.25rem, 3vw, 2rem); padding: clamp(1.1rem, 2.5vw, 1.75rem); border: 1px solid var(--cgs-border); border-radius: 10px; background: linear-gradient(135deg, #f6faf7, #fff 60%); box-shadow: 0 12px 32px rgba(0, 0, 0, .05); }
@media (max-width: 560px) { .cgs-lib-feature { grid-template-columns: 1fr; } .cgs-lib-feature__cover { max-width: 12rem; } }
.cgs-lib-feature__cover { display: block; align-self: start; border-radius: 4px; overflow: hidden; box-shadow: 0 14px 30px rgba(0, 40, 20, .22); }
.cgs-lib-feature__cover img { display: block; width: 100%; height: auto; }
.cgs-lib-feature__body { display: flex; flex-direction: column; gap: .55rem; min-width: 0; }
.cgs-lib-feature__body > p { margin: 0; }
.cgs-lib-feature__label { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cgs-logo-red); }
.cgs-lib-feature__title { margin: 0; font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.2; }
.cgs-lib-feature__title a { color: var(--cgs-ink); text-decoration: none; }
.cgs-lib-feature__title a:hover, .cgs-lib-feature__title a:focus { color: var(--cgs-logo-green); text-decoration: underline; }
.cgs-lib-feature__date { font-size: .88rem; color: var(--cgs-muted); }
.cgs-lib-feature__summary { color: var(--wp--preset--color--ink-soft, #3b3f43); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.cgs-lib-feature__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem !important; }
.cgs-lib-featured__more { display: grid; gap: .75rem; }
.cgs-lib-mini { display: grid; grid-template-columns: 4.5rem 1fr; gap: .9rem; align-items: center; padding: .75rem; border: 1px solid var(--cgs-border); border-radius: 8px; background: #fff; color: var(--cgs-ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.cgs-lib-mini:hover, .cgs-lib-mini:focus { border-color: #a9cdb6; box-shadow: 0 8px 22px rgba(0, 98, 56, .1); }
.cgs-lib-mini__cover { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; background: var(--cgs-surface); }
.cgs-lib-mini__cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cgs-lib-mini__text { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.cgs-lib-mini__kind { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cgs-logo-green); }
.cgs-lib-mini__title { font-family: var(--wp--preset--font-family--heading, Georgia, serif); font-weight: 700; font-size: .98rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cgs-lib-mini__date { font-size: .78rem; color: var(--cgs-muted); }

.cgs-lib-types { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12.5rem), 1fr)); gap: .75rem; }
.cgs-lib-types a { display: flex; flex-direction: column; gap: .2rem; height: 100%; box-sizing: border-box; padding: 1rem 1.1rem; border: 1px solid var(--cgs-border); border-left: 4px solid var(--cgs-logo-green); border-radius: 6px; background: #fff; color: var(--cgs-ink); text-decoration: none; transition: background .15s, box-shadow .15s; }
.cgs-lib-types a:hover, .cgs-lib-types a:focus { background: #f2f8f4; box-shadow: 0 6px 18px rgba(0, 98, 56, .08); }
.cgs-lib-types__name { font-family: var(--wp--preset--font-family--heading, Georgia, serif); font-weight: 700; font-size: 1.02rem; }
.cgs-lib-types__count { font-size: .8rem; color: var(--cgs-muted); }

.cgs-lib-shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 1000px) { .cgs-lib-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .cgs-lib-shelf { gap: 1rem; } }
.cgs-lib-shelf__item { display: flex; flex-direction: column; gap: .45rem; }
.cgs-lib-shelf__cover { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--cgs-surface); box-shadow: 0 10px 26px rgba(0, 40, 20, .16); transition: transform .2s; }
.cgs-lib-shelf__cover:hover, .cgs-lib-shelf__cover:focus { transform: translateY(-3px); }
.cgs-lib-shelf__cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cgs-lib-shelf__badge { position: absolute; left: .6rem; top: .6rem; padding: .15rem .5rem; border-radius: 999px; background: var(--cgs-logo-red); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.cgs-lib-shelf__name { margin: .35rem 0 0; font-size: 1.05rem; line-height: 1.3; }
.cgs-lib-shelf__name a { color: var(--cgs-ink); text-decoration: none; }
.cgs-lib-shelf__name a:hover, .cgs-lib-shelf__name a:focus { color: var(--cgs-logo-green); text-decoration: underline; }
.cgs-lib-shelf__desc { margin: 0; font-size: .86rem; color: var(--cgs-muted); line-height: 1.45; }
.cgs-lib-shelf__meta { margin: 0; font-size: .8rem; color: var(--cgs-muted); }
.cgs-lib-shelf__meta a { color: var(--cgs-logo-green); }

.cgs-lib-archive { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin: 0 0 clamp(2.5rem, 6vw, 4rem); padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem); border-radius: 10px; background: linear-gradient(135deg, #00472a, #006238 70%); color: #fff; }
.cgs-lib-archive p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 40rem; }
.cgs-lib-archive__label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8fd1ab !important; }
.cgs-lib-archive__title { margin: .2rem 0 .35rem; color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.55rem); }

.cgs-lib-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr) auto; gap: .75rem; align-items: end; margin: 0 0 1.25rem; padding: 1rem 1.1rem; border-radius: 8px; background: var(--cgs-surface); }
@media (max-width: 1000px) { .cgs-lib-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cgs-lib-filters__q { grid-column: 1 / -1; } }
@media (max-width: 480px) { .cgs-lib-filters { grid-template-columns: 1fr; } }
.cgs-lib-filters label { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.cgs-lib-filters label > span { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cgs-muted); }
.cgs-lib-filters select, .cgs-lib-filters input { width: 100%; box-sizing: border-box; padding: .6rem .75rem; border: 1px solid #c9d2cc; border-radius: 6px; background: #fff; font: inherit; font-size: .95rem; color: var(--cgs-ink); }
.cgs-lib-filters select:focus, .cgs-lib-filters input:focus { outline: none; border-color: var(--cgs-logo-green); box-shadow: 0 0 0 3px rgba(0, 98, 56, .15); }
.cgs-lib-filters .cgs-btn { padding: .62rem 1.3rem; }
.cgs-lib-active { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: -.25rem 0 1.25rem; }
.cgs-lib-active__chip { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .75rem; border-radius: 999px; background: var(--cgs-logo-green); color: #fff; font-size: .85rem; font-weight: 600; text-decoration: none; }
.cgs-lib-active__chip:hover, .cgs-lib-active__chip:focus { background: #00472a; color: #fff; }
.cgs-lib-active__clear { font-size: .85rem; font-weight: 700; color: var(--cgs-logo-green); }
.cgs-library .cgs-collection--cards .cgs-collection__items { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .cgs-library .cgs-collection--cards .cgs-collection__items { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .cgs-library .cgs-collection--cards .cgs-collection__items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem .9rem; } .cgs-library .cgs-card__excerpt { display: none; } }
.cgs-library .navigation.pagination { margin-top: 2.5rem; }
.cgs-library .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.cgs-library .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 2.4rem; height: 2.4rem; padding: 0 .75rem; border: 1px solid var(--cgs-border); border-radius: 999px; color: var(--cgs-ink); text-decoration: none; font-weight: 600; font-size: .9rem; background: #fff; box-sizing: border-box; }
.cgs-library .page-numbers.current { background: var(--cgs-logo-green); border-color: var(--cgs-logo-green); color: #fff; }
.cgs-library a.page-numbers:hover, .cgs-library a.page-numbers:focus { border-color: var(--cgs-logo-green); color: var(--cgs-logo-green); }
.cgs-library .page-numbers.dots { border: 0; background: none; min-width: auto; }
.cgs-library .cgs-card--cgs_publication .cgs-card__media { aspect-ratio: 4 / 5; }

/* Publication summary and key points (above the reader) */
.cgs-pub-summary { margin: 0 0 clamp(1.75rem, 4vw, 2.5rem); }
.cgs-pub-summary__inner { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); }
.cgs-pub-summary__inner.has-points { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
@media (max-width: 860px) { .cgs-pub-summary__inner.has-points { grid-template-columns: 1fr; } }
.cgs-pub-summary__text { max-width: 46rem; font-size: 1.08rem; line-height: 1.7; color: var(--cgs-ink); }
.cgs-pub-summary__text p { margin: 0 0 .8rem; }
.cgs-pub-summary__title { margin: 0 0 .6rem; font-family: var(--wp--preset--font-family--body, sans-serif); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cgs-logo-green); }
.cgs-pub-summary__points { padding: 1.1rem 1.25rem; border: 1px solid var(--cgs-border); border-left: 4px solid var(--cgs-logo-green); border-radius: 8px; background: #f6faf7; }
.cgs-pub-summary__points ul { margin: 0; padding-left: 1.15rem; display: grid; gap: .5rem; }
.cgs-pub-summary__points li { line-height: 1.5; }
.cgs-pub-summary__points li::marker { color: var(--cgs-logo-green); }

.cgs-pub-summary__long { position: relative; max-height: 11.5em; overflow: hidden; }
.cgs-pub-summary__long::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4em; background: linear-gradient(transparent, #fff); pointer-events: none; }
.cgs-pub-summary__long.is-open { max-height: none; }
.cgs-pub-summary__long.is-open::after { display: none; }
.cgs-pub-summary__long p { margin: 0 0 .8rem; }
.cgs-pub-summary__more { margin-top: .4rem; padding: .4rem .9rem; border: 1px solid var(--cgs-logo-green); border-radius: 999px; background: #fff; color: var(--cgs-logo-green); font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; }
.cgs-pub-summary__more:hover, .cgs-pub-summary__more:focus { background: var(--cgs-logo-green); color: #fff; }

/* ---------- Analysis page ---------- */
.cgs-an-top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
@media (max-width: 960px) { .cgs-an-top { grid-template-columns: 1fr; } }
.cgs-an-lead { display: flex; flex-direction: column; border: 1px solid var(--cgs-border); border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 12px 32px rgba(0, 0, 0, .05); }
.cgs-an-lead__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; isolation: isolate; background: #10251a; }
.cgs-an-lead__media::before { content: ""; position: absolute; inset: -24px; z-index: -1; background: var(--cgs-bg, none) center / cover no-repeat; filter: blur(22px) brightness(.75); }
.cgs-an-lead__media img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.cgs-an-lead:hover .cgs-an-lead__media img { transform: scale(1.015); }
.cgs-an-lead__body { display: flex; flex-direction: column; gap: .5rem; padding: clamp(1.1rem, 2.5vw, 1.75rem); }
.cgs-an-lead__body > p { margin: 0; }
.cgs-an-lead__title { margin: 0; font-size: clamp(1.45rem, 2.8vw, 2.1rem); line-height: 1.2; }
.cgs-an-lead__title a { color: var(--cgs-ink); text-decoration: none; }
.cgs-an-lead__title a:hover, .cgs-an-lead__title a:focus { color: var(--cgs-logo-green); text-decoration: underline; }
.cgs-an-lead__meta { font-size: .88rem; color: var(--cgs-muted); }
.cgs-an-lead__summary { color: var(--wp--preset--color--ink-soft, #3b3f43); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cgs-an-latest { border-top: 3px solid var(--cgs-logo-green); padding-top: .75rem; }
.cgs-an-latest ol { list-style: none; margin: 0; padding: 0; counter-reset: latest; }
.cgs-an-latest li { position: relative; display: flex; flex-direction: column; gap: .2rem; padding: .85rem 0 .85rem 2.3rem; border-bottom: 1px solid var(--cgs-border); counter-increment: latest; }
.cgs-an-latest li::before { content: counter(latest); position: absolute; left: 0; top: .75rem; font-family: var(--wp--preset--font-family--heading, Georgia, serif); font-size: 1.5rem; font-weight: 700; color: #b9d4c2; line-height: 1; }
.cgs-an-latest a { font-family: var(--wp--preset--font-family--heading, Georgia, serif); font-weight: 700; color: var(--cgs-ink); text-decoration: none; line-height: 1.3; }
.cgs-an-latest a:hover, .cgs-an-latest a:focus { color: var(--cgs-logo-green); text-decoration: underline; }
.cgs-an-split { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.cgs-an-chips { gap: .5rem; }
.cgs-an-writers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 8.5rem), 1fr)); gap: 1.25rem 1rem; }
.cgs-an-writers a { display: flex; flex-direction: column; align-items: center; gap: .35rem; text-align: center; color: var(--cgs-ink); text-decoration: none; }
.cgs-an-writers__photo { display: block; width: 5.5rem; height: 5.5rem; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--cgs-border); transition: box-shadow .15s; }
.cgs-an-writers__photo img, .cgs-an-writers__photo .cgs-person__placeholder { display: flex; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; font-size: 1.5rem; }
.cgs-an-writers a:hover .cgs-an-writers__photo, .cgs-an-writers a:focus .cgs-an-writers__photo { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--cgs-logo-green); }
.cgs-an-writers__name { font-family: var(--wp--preset--font-family--heading, Georgia, serif); font-weight: 700; font-size: .95rem; line-height: 1.25; margin-top: .3rem; }
.cgs-an-writers a:hover .cgs-an-writers__name, .cgs-an-writers a:focus .cgs-an-writers__name { color: var(--cgs-logo-green); text-decoration: underline; }
.cgs-an-writers__count { font-size: .78rem; color: var(--cgs-muted); }
.cgs-an-filters { grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 1.4fr) auto; }
@media (max-width: 1100px) { .cgs-an-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cgs-an-filters .cgs-lib-filters__q { grid-column: span 2; } }
@media (max-width: 560px) { .cgs-an-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cgs-an-filters .cgs-lib-filters__q { grid-column: 1 / -1; } .cgs-an-filters .cgs-btn { grid-column: 1 / -1; } }
.cgs-analysis .cgs-card--post .cgs-card__media { aspect-ratio: 3 / 2; }

/* ---------- Project page: header band, details card ---------- */
.cgs-project-hero .cgs-share { margin-top: 1.1rem; }
.cgs-project-page { padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.cgs-project-page .cgs-featured-image { margin: 0 0 2rem; }
.cgs-project-page .cgs-featured-image img { display: block; border-radius: 8px; box-shadow: 0 10px 28px rgba(0, 40, 20, .12); }
.cgs-single--cgs_project .cgs-project-facts { padding: 1.25rem 1.35rem; border: 1px solid var(--cgs-border); border-left: 0; border-top: 4px solid var(--cgs-logo-green); border-radius: 10px; background: #fff; box-shadow: 0 6px 20px rgba(0, 40, 20, .06); }
.cgs-project-facts__title { margin: 0 0 .9rem; font-family: var(--wp--preset--font-family--heading, Georgia, serif); font-weight: 700; font-size: 1.15rem; color: var(--cgs-ink); }
.cgs-single--cgs_project .cgs-facts { gap: 0; }
.cgs-single--cgs_project .cgs-facts__row { grid-template-columns: 1fr; gap: .3rem; padding: .7rem 0; border-top: 1px solid var(--cgs-border); }
.cgs-single--cgs_project .cgs-facts dt { font-size: .7rem; letter-spacing: .1em; }
.cgs-single--cgs_project .cgs-facts dd { font-size: .95rem; line-height: 1.45; overflow-wrap: anywhere; }
.cgs-single--cgs_project .cgs-facts dd a { text-decoration: none; font-weight: 600; }
.cgs-single--cgs_project .cgs-facts dd a:hover { text-decoration: underline; }
.cgs-single--cgs_project .cgs-content { font-size: 1.05rem; line-height: 1.75; }
.cgs-single--cgs_project .cgs-content h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin: 2rem 0 .75rem; }
