/* Light brand header keeps the approved navy-and-gold logo legible. */
body.cgc-child-theme #masthead .site-header-row-container-inner {background:#fff;border-bottom:1px solid #e2d6b8}
body.cgc-child-theme #masthead .site-header-main-section {min-width:0}
body.cgc-child-theme #masthead .cgc-site-branding {padding-block:8px;min-width:0}
body.cgc-child-theme #masthead .cgc-site-branding :is(.brand,.custom-logo-link) {display:inline-flex;align-items:center;max-width:100%;text-decoration:none}
body.cgc-child-theme #masthead .cgc-site-branding :is(.cgc-header-logo,.custom-logo) {display:block;width:220px;max-width:100%;height:auto;max-height:78px;object-fit:contain}
body.cgc-child-theme #masthead #mobile-toggle {color:#0b1f4b;background:#fff;border:1px solid #b7a373;border-radius:9px;min-width:48px;min-height:48px;padding:10px}
body.cgc-child-theme #masthead #mobile-toggle:hover {background:#faf5e9}
body.cgc-child-theme #masthead .header-navigation .header-menu-container>ul>li>a {color:#0b1f4b;font-weight:600}
body.cgc-child-theme #masthead .header-navigation .header-menu-container>ul>li>a:is(:hover,[aria-current=page]) {color:#795519}
body.cgc-child-theme #masthead .header-navigation .header-menu-container ul ul {background:#fff;border:1px solid #dce2eb;border-radius:10px;box-shadow:0 14px 36px rgba(11,31,75,.12)}
body.cgc-child-theme #masthead .header-navigation .header-menu-container ul ul a {color:#0b1f4b}
body.cgc-child-theme #mobile-drawer .drawer-inner {background:#fff;color:#0b1f4b}
body.cgc-child-theme #mobile-drawer :is(.mobile-navigation a,.menu-toggle-close) {color:#0b1f4b}
body.cgc-child-theme #mobile-drawer .mobile-navigation a {min-height:48px;padding-block:12px}
body.cgc-child-theme :is(#masthead,#mobile-drawer) :is(a,button):focus-visible {outline:3px solid #795519;outline-offset:3px}
@media(max-width:767px) {
  body.cgc-child-theme #masthead .cgc-site-branding :is(.cgc-header-logo,.custom-logo) {width:180px;max-height:65px}
}
/* Grid adapts to count without JavaScript or fixed-width empty tracks. */
body.cgc-child-theme .gc-filmstrip {grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));overflow:visible;scroll-snap-type:none;padding:4px}
body.cgc-child-theme .gc-filmstrip .gc-feat-card {display:flex;flex-direction:column;height:auto;min-width:0;box-shadow:var(--cgc-shadow-soft);border:1px solid #dce2eb}
body.cgc-child-theme .gc-filmstrip .gc-feat-card img {height:auto;aspect-ratio:4 / 5;object-fit:cover;object-position:center top}
body.cgc-child-theme .gc-filmstrip .gc-feat-nameplate {position:static;padding:20px;flex:1}
body.cgc-child-theme .gc-filmstrip .gc-name {font-size:1.2rem;line-height:1.4;margin:0 0 12px;color:#fff}
body.cgc-child-theme .gc-filmstrip .gc-prenom {line-height:1.7;font-size:.875rem;overflow-wrap:anywhere}
body.cgc-child-theme .gc-filmstrip .gc-feat-bio {font-size:1rem;line-height:1.8;color:#d5deef;margin:16px 0}
body.cgc-child-theme .gc-filmstrip .gc-feat-action {display:inline-flex;align-items:center;min-height:44px;color:#efc66f;font-size:.9375rem;margin-top:8px}
@media(min-width:768px) {
  body.cgc-child-theme .gc-filmstrip .gc-feat-card:only-child {display:grid;grid-template-columns:minmax(180px,32%) minmax(0,1fr)}
  body.cgc-child-theme .gc-filmstrip .gc-feat-card:only-child img {height:100%;max-height:440px}
  body.cgc-child-theme .gc-filmstrip .gc-feat-card:only-child .gc-feat-nameplate {display:flex;flex-direction:column;justify-content:center;padding:clamp(24px,4vw,48px)}
}
@media(max-width:767px) {
  body.cgc-child-theme .gc-filmstrip .gc-feat-card:only-child img {max-height:440px;object-fit:contain;background:#faf9f5}
  body.cgc-child-theme .gc-section-head {align-items:flex-start}
  body.cgc-child-theme .gc-section-head .gc-view-all {white-space:normal}
}

/* Primary detail action, scoped to cards; full programme registration unchanged. */
body.cgc-child-theme .cgc-ce-actions > .cgc-view-details-btn {display:flex;justify-content:center;width:100%;padding:12px 20px;background:#efc66f;color:#102447;border:1px solid #efc66f;border-radius:8px;text-decoration:none}
body.cgc-child-theme .cgc-ce-actions > .cgc-view-details-btn:hover {background:#ffe0a0;color:#102447}
body.cgc-child-theme .cgc-ce-card .cgc-registration-actions .cgc-register-btn {background:transparent;color:#e1e8f5;border:0;box-shadow:none;width:auto;justify-content:flex-start;padding:8px 0;text-decoration:underline}
body.cgc-child-theme .cgc-ce-card .cgc-registration-actions .cgc-register-btn:hover {background:transparent;color:#efc66f}
body.cgc-child-theme .gc-filmstrip .gc-feat-action {border:1px solid #efc66f;border-radius:6px;padding:8px 16px;align-self:flex-start;transition:background .2s,color .2s}
body.cgc-child-theme .gc-filmstrip .gc-feat-card:is(:hover,:focus-visible) .gc-feat-action {background:#efc66f;color:#102447}
@media(hover:hover) and (pointer:fine) {
 body.cgc-child-theme .gc-filmstrip .gc-feat-action {opacity:0;transform:translateY(4px);transition:opacity .2s,transform .2s,background .2s}
 body.cgc-child-theme .gc-filmstrip .gc-feat-card:is(:hover,:focus-visible) .gc-feat-action {opacity:1;transform:none}
}
@media(prefers-reduced-motion:reduce) {body.cgc-child-theme .gc-filmstrip .gc-feat-action {transition:none;transform:none}}
