/* Homepage-only activity gallery; four videos per page, distinct from the News rail. */
.ch-activity{padding-bottom:0;scroll-margin-top:120px}
.ch-activity .ch-heading{margin-bottom:22px}
.ch-activity-intro{color:var(--ch-muted);font-size:14px;line-height:1.95;margin-bottom:36px!important}
.ch-activity-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px}
.ch-video-card{min-width:0}
.ch-video-card[hidden],.ch-video-preview[hidden]{display:none!important}
.ch-video-media{position:relative;aspect-ratio:16/9;overflow:hidden;background:var(--ch-ink);border-radius:6px}
.ch-video-preview{display:block;position:relative;width:100%;height:100%;color:#fff}
.ch-video-preview img{display:block;width:100%;height:100%;object-fit:cover}
.ch-video-preview::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 50%,#0008);pointer-events:none}
.ch-video-preview:focus-visible{outline:3px solid #fff;outline-offset:-5px}
.ch-video-provider{position:absolute;z-index:1;bottom:10px;right:12px;color:#fff;font-size:10px;line-height:1.5}
.ch-video-media iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.ch-page .ch-video-card h3{font-size:14px;line-height:1.8;font-weight:500;text-wrap:wrap;margin-top:16px;overflow-wrap:anywhere}
.ch-video-card h3 a{color:var(--ch-ink)}
.ch-video-card h3 a:hover{text-decoration:underline;text-underline-offset:4px}
.ch-gallery-pagination{display:flex;justify-content:center;align-items:center;gap:30px;margin-top:36px}
.ch-gallery-pagination a{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:44px;min-width:90px;padding:10px 14px;border:1px solid var(--ch-line);border-radius:4px;color:var(--ch-ink);font-size:12px;line-height:1.6}
.ch-gallery-pagination a[aria-disabled="true"]{opacity:.4;cursor:default}
.ch-gallery-pagination a:not([aria-disabled="true"]):hover{background:var(--ch-mist)}
.ch-gallery-pagination p{color:var(--ch-muted);font:12px/1.6 var(--font-mono);min-width:48px;text-align:center}
@media(max-width:1100px){.ch-activity-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 24px}}
@media(max-width:640px){.ch-activity{padding-bottom:0}.ch-activity-grid{grid-template-columns:1fr;gap:28px}.ch-activity-intro{margin-bottom:28px!important}.ch-gallery-pagination{gap:18px;margin-top:30px}.ch-gallery-pagination a{min-width:82px}}
