/* Canonical recommendation card. Scope every rule: no global detail-page typography. */
.gg-project-card{--gg-card-paper:#fdfcf9;--gg-card-ink:#3d3428;--gg-card-muted:#9a8b72;--gg-card-green:#4c7e69;box-sizing:border-box;min-width:0;display:flex;flex-direction:column;background:var(--gg-card-paper);border:1px solid rgba(60,52,44,.15);border-radius:14px;overflow:hidden;color:var(--gg-card-ink);box-shadow:none;transition:border-color 160ms ease,box-shadow 160ms ease;font-family:var(--project-font,"PingFang SC","Microsoft YaHei UI","Microsoft YaHei","Noto Sans CJK SC","Noto Sans SC",-apple-system,BlinkMacSystemFont,sans-serif)}
.gg-project-card *{box-sizing:border-box}.gg-project-card a{color:inherit;text-decoration:none}.gg-project-card .image-wrap{position:relative;flex-shrink:0;background:#e9e5dd}
.gg-project-card .cover{position:relative;display:block;inset:auto;aspect-ratio:1.42;width:100%;min-height:0;overflow:hidden;isolation:isolate;padding:0;border-radius:0;background:var(--gg-card-paper);color:var(--gg-card-paper);backdrop-filter:none}
.gg-project-card .cover img{display:block;position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center;transition:transform 180ms ease}
.gg-project-card .gg-card-image-contain img{object-fit:contain}.gg-project-card .catalog-image-placeholder,.gg-project-card .placeholder-art{display:grid;place-items:center;position:absolute;inset:0;padding:24px;color:#74695d;text-align:center;font-size:14px;line-height:1.8}
.gg-project-card .cover:after{content:"";position:absolute;inset:38% 0 0;background:linear-gradient(transparent,rgba(24,31,26,.78));pointer-events:none}
.gg-project-card .cover .cover-title{position:absolute;z-index:1;left:16px;right:124px;bottom:16px;margin:0;font:600 var(--gg-type-card-title,18px)/1.4 var(--project-font,"PingFang SC","Microsoft YaHei UI","Microsoft YaHei","Noto Sans CJK SC","Noto Sans SC",-apple-system,BlinkMacSystemFont,sans-serif);letter-spacing:0;color:#fdfcf9;text-shadow:0 1px 8px rgba(0,0,0,.24);overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.gg-project-card .cover-entry{position:absolute;right:16px;bottom:22px;z-index:2;width:20px;height:20px;display:grid;place-items:center;color:rgba(253,252,249,.78);transition:color 160ms ease,transform 160ms ease;opacity:1}
.gg-project-card .cover-entry svg,.gg-project-card .expand-chevron{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.gg-project-card .image-wrap>.favorite{position:absolute;top:13px;right:13px;z-index:3;display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:rgba(253,252,249,.94);box-shadow:none;cursor:pointer}
.gg-project-card .favorite:after{content:"";position:absolute;inset:-8px;border-radius:50%}.gg-project-card .favorite svg{width:15px;height:15px;stroke:var(--gg-card-ink);stroke-width:1.8;fill:none}.gg-project-card .favorite[aria-pressed=true]{background:#d9570f}.gg-project-card .favorite[aria-pressed=true] svg{stroke:white;fill:white}
.gg-project-card .potential-badge{position:absolute;right:48px;bottom:16px;z-index:2;display:inline-flex;align-items:center;min-height:32px;padding:5px 10px;border-radius:999px;background:var(--gg-card-paper);color:var(--gg-card-ink);font:600 12px/1.4 var(--project-font,"PingFang SC","Microsoft YaHei UI","Microsoft YaHei","Noto Sans CJK SC","Noto Sans SC",-apple-system,BlinkMacSystemFont,sans-serif);font-variant-numeric:tabular-nums;box-shadow:none;white-space:nowrap}
.gg-project-card .potential-badge:after{content:"";position:absolute;inset:-6px 0}.gg-project-card .potential-badge:hover{color:#d9570f}.gg-project-card .potential-badge[hidden]{display:none}
/* Reading order: one-line highlight, date/event, product value and known facts. */
.gg-project-card .content.card-copy{display:flex;flex-direction:column;gap:7px;padding:12px 18px 14px;flex:1;min-width:0}
.gg-project-card .content.card-copy>*{min-width:0;margin:0}
.gg-project-card .content.card-copy:empty{display:none}
.gg-project-card .content .project-headline{font-size:var(--gg-type-card-headline,14px);font-weight:600;line-height:22px;display:block;white-space:nowrap;overflow:visible}
.gg-project-card .content .small-source{font-size:12px;font-weight:400;line-height:18px;white-space:normal;color:var(--gg-card-muted);overflow-wrap:anywhere}
.gg-project-card .content .card-preview{font-size:var(--gg-type-card-copy,14px);font-weight:400;line-height:22px;color:#4a3f34;overflow-wrap:anywhere}
.gg-project-card .content :is(.card-audience,.card-revenue){font-size:13px;font-weight:400;line-height:21px;color:#74695d;overflow-wrap:anywhere}
.gg-project-card .card-fact-label{margin-right:7px;color:var(--gg-card-muted);font-size:12px;font-weight:400}
.gg-project-card .project-tags{display:flex;flex-wrap:wrap;align-content:flex-start;gap:12px 6px;margin:16px 0;padding:0}
.gg-project-card .project-tags .project-tag{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border:1px solid rgba(60,52,44,.12);border-radius:999px;background:none;font-family:inherit;font-weight:400;font-size:11px;line-height:1.5;color:#74695d;margin:0;max-width:100%;overflow-wrap:anywhere}
.gg-project-card .project-tags button.project-tag{position:relative;min-height:32px;cursor:pointer}
.gg-project-card .project-tags button.project-tag:after{content:"";position:absolute;inset:-6px -2px;border-radius:inherit}
.gg-project-card>.card-details{margin-top:auto;border-top:1px solid rgba(60,52,44,.12)}
.gg-project-card>.card-details>summary{list-style:none;display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;cursor:pointer;color:var(--gg-card-ink)}
.gg-project-card>.card-details>summary::-webkit-details-marker{display:none}.gg-project-card>.card-details>summary:after{content:none}.gg-project-card .expand-chevron{transition:transform 160ms ease}.gg-project-card>.card-details[open]>summary .expand-chevron{transform:rotate(180deg)}
.gg-project-card .detail-content{padding:0 18px 18px}
.gg-project-card .detail-content .detail-label,.gg-project-card .team-label{display:block;font-size:12px;font-weight:500;line-height:1.8;color:var(--gg-card-muted);margin:0 0 6px}
.gg-project-card .detail-content .highlight{display:block;overflow:visible;white-space:normal;-webkit-line-clamp:unset;font-size:var(--gg-type-card-copy,14px);font-weight:400;line-height:23px;color:var(--gg-card-ink);margin:0;overflow-wrap:anywhere}
.gg-project-card .team-brief{font-size:13px;font-weight:400;line-height:22px;color:#74695d;white-space:normal;margin-top:18px;overflow-wrap:anywhere}
.gg-project-card .detail-content .team-brief p{display:block;margin:0 0 8px;line-height:22px}.gg-project-card .team-brief .card-member span{font-size:13px;line-height:22px}.gg-project-card .team-brief small{display:block;font-size:12px;font-weight:400;line-height:20px;color:var(--gg-card-muted)}
.gg-project-card .detail-content dl{margin:0;padding:0}.gg-project-card .detail-content dl>div{margin:16px 0}.gg-project-card .detail-content dt{font-size:12px;font-weight:500;line-height:1.8;color:var(--gg-card-muted);margin:0 0 6px;letter-spacing:0}.gg-project-card .detail-content dd{font-size:15px;line-height:1.85;margin:0;color:var(--gg-card-ink);overflow-wrap:anywhere}
.gg-project-card .detail-actions{display:flex;margin-top:12px}.gg-project-card .detail-actions .action{display:inline-flex;align-items:center;min-height:44px;padding:0;background:none;border:0;border-radius:0;font-family:inherit;font-weight:500;font-size:14px;line-height:1.7;color:var(--gg-card-green)}
.gg-project-card:has(>.card-details[open]) .content.card-copy{flex:0 1 auto}
.gg-project-card:has(>.card-details[open]) .content :is(.card-preview,.card-audience,.card-revenue){display:none}
.gg-project-card>.card-details[open]{margin-top:0;background:#f5f1ea}
.gg-project-card :is(a,button,summary):focus-visible{outline:2px solid #d9570f;outline-offset:3px}.gg-project-card .cover:focus-visible{outline-offset:-4px}
@media(hover:hover){.gg-project-card:hover{border-color:rgba(76,126,105,.4);box-shadow:0 8px 22px rgba(40,28,14,.08)}.gg-project-card .cover:hover img{transform:scale(1.025)}.gg-project-card .cover:hover .cover-entry{color:#fdfcf9;transform:translateX(2px)}.gg-project-card .project-tags button:hover{border-color:var(--gg-card-green);color:var(--gg-card-green)}}
@media(max-width:560px){.gg-project-card .cover{aspect-ratio:1.45}.gg-project-card .cover .cover-title{font-size:var(--gg-type-card-title,18px);left:18px;bottom:16px}.gg-project-card .content.card-copy{padding:12px 18px 14px}.gg-project-card .content .project-headline{font-size:var(--gg-type-card-headline,14px);line-height:22px}.gg-project-card .detail-content{padding:0 18px 18px}}
@media(prefers-reduced-motion:reduce){.gg-project-card,.gg-project-card .cover img,.gg-project-card .cover-entry,.gg-project-card .expand-chevron{transition:none}.gg-project-card .cover:hover img,.gg-project-card .cover:hover .cover-entry{transform:none}}
@media print{.gg-project-card{break-inside:avoid}.gg-project-card .favorite{display:none}}
