/* DCA Core 2.16.12: semantic club colour and light mode support. */
:where(.dca-section,.dca-event-hub,.dca-events,.dca-insights,.dca-story-section,.dca-join-experience) {
  accent-color:var(--dca-accent,var(--dca-orange));
}
:where(.dca-section,.dca-event-hub,.dca-events,.dca-insights,.dca-story-section,.dca-join-experience) :is(a,button,input,textarea,select):focus-visible {
  outline-color:var(--dca-accent,var(--dca-orange));
}
:where(.dca-section,.dca-event-hub,.dca-events,.dca-insights,.dca-story-section,.dca-join-experience) :is(.dca-btn,.dca-event-ui-card__actions a,.dca-filter button.is-active) {
  --dca-button-on-accent:var(--dca-on-accent,#111);
}
:where(.dca-section,.dca-event-hub,.dca-events,.dca-insights) .dca-btn:not(.dca-btn--ghost),
:where(.dca-section,.dca-event-hub,.dca-events,.dca-insights) .dca-filter button.is-active {
  color:var(--dca-on-accent,#111)!important;
}
/* Light and mixed themes: neutral cards, readable metadata, restrained shadows. */
body:is(.dca-scheme-light,.dca-scheme-hybrid) :is(.dca-events,.dca-event-hub,.dca-insights,.dca-people,.dca-sponsors,.dca-gallery,.dca-story-section,.dca-join-experience) {
  color:var(--dca-text);
}
body:is(.dca-scheme-light,.dca-scheme-hybrid) :is(.dca-event-ui-card,.dca-insight-card,.dca-person,.dca-sponsor-card,.dca-highlight-card) {
  color:var(--dca-text);
  background:var(--dca-surface);
  border-color:var(--dca-border);
  box-shadow:0 12px 32px rgba(24,28,30,.055);
}
body:is(.dca-scheme-light,.dca-scheme-hybrid) :is(.dca-event-ui-card__main,.dca-event-ui-row,.dca-insight-card__body,.dca-person__content) {
  color:var(--dca-text);
}
body:is(.dca-scheme-light,.dca-scheme-hybrid) :is(.dca-event-ui-card__meta,.dca-insight-card__meta,.dca-event-hub__intro,.dca-story-section__copy p) {
  color:var(--dca-muted);
}
body:is(.dca-scheme-light,.dca-scheme-hybrid) :is(.dca-date,.dca-event-ui-card__actions a,.dca-event-ui-card__actions button) {
  background:var(--dca-surface-2);
  border-color:var(--dca-border);
  color:var(--dca-text);
}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-event-ui-card__more,
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-story-section__link {
  border-color:var(--dca-border);
  color:var(--dca-text);
}
/* Intentional photographic overlays stay dark to guarantee white text contrast. */
body:is(.dca-scheme-light,.dca-scheme-hybrid) :is(.dca-join-experience__panel,.dca-insight-card--overlay,.dca-gallery-pro__item) {
  color:#fff;
}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-join-experience__overlay :is(h3,p,a) {color:#fff}

/* Shared branded buttons, without changing neutral or photographic controls. */
.dca-site-shell-active .dca-btn:not(.dca-btn--ghost),
.dca-site-shell-active .dca-header-cta,
.dca-site-shell-active .dca-filter button.is-active {
  color:var(--dca-on-accent,#111)!important;
}
body.dca-scheme-light :is(.dca-event-ui-card,.dca-insight-card,.dca-person) :is(h3,h4) {color:var(--dca-text)}
body.dca-scheme-light .dca-event-ui-card__actions :is(a,button) {color:var(--dca-text)!important}

/* The agenda list is a true surface in light mode, with dark promotional photos retained. */
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-live-agenda {color:var(--dca-text)}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-live-agenda__head h2 {color:var(--dca-text)}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-live-agenda__eyebrow {color:var(--dca-muted)}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-live-agenda__item {
  background:var(--dca-surface);border-color:var(--dca-border);color:var(--dca-text);
}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-live-agenda__item.is-active {
  background:color-mix(in srgb,var(--dca-orange) 8%,var(--dca-surface));
  border-color:color-mix(in srgb,var(--dca-orange) 50%,var(--dca-border));
}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-live-agenda__item-copy strong {color:var(--dca-text)}
body:is(.dca-scheme-light,.dca-scheme-hybrid) :is(.dca-live-agenda__location,.dca-live-agenda__time) {color:var(--dca-muted)}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-live-agenda__date {border-right-color:var(--dca-border)}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-live-agenda__category {color:var(--dca-text);border-color:var(--dca-border)}
/* Only the promotional photography is a permanent dark overlay. The real
   event preview is a semantic surface in both Dark and Light. */
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-live-agenda__promo {color:#fff}

/* 2.16.13: widget-specific semantic light palette. No new globally-enforced colour scheme. */
body:is(.dca-scheme-light,.dca-scheme-hybrid) :is(.dca-sponsors,.dca-gallery-pro,.dca-people,.dca-form-section,.dca-insights,.dca-event-hub,.dca-event-single) {
  color:var(--dca-text);
}
/* Content surfaces are light; overlays on photographs are deliberately excluded. */
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-insights .dca-insight-card:not(.dca-insight-card--overlay) {
  background:var(--dca-surface);border-color:var(--dca-border);
}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-insights .dca-insight-card:not(.dca-insight-card--overlay) :is(h3,p,.dca-insight-card__more){
  color:var(--dca-text);
}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-insights .dca-insight-card:not(.dca-insight-card--overlay) p {color:var(--dca-muted)}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-people:not(.dca-layout-overlay) .dca-person {
  background:var(--dca-surface);border-color:var(--dca-border);color:var(--dca-text);
}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-people:not(.dca-layout-overlay) .dca-person :is(h3,button) {color:var(--dca-text)}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-people.dca-layout-overlay .dca-person :is(h3,.dca-person__toggle) {color:#fff}
/* Partner marks may be black on transparent images, therefore use neutral white surfaces. */
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-sponsors :is(.dca-sponsor,.dca-sponsor-card) {
  background:var(--dca-surface);border-color:var(--dca-border);color:var(--dca-text);
}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-sponsors .dca-sponsor__wordmark {color:var(--dca-text)}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-gallery-pro :is(.dca-gallery-pro__head,.dca-gallery-pro__count) {color:var(--dca-text)}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-gallery-pro .dca-gallery-pro__count {color:var(--dca-muted)}
/* Forms use themed input surfaces. Validation state colours stay semantic. */
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-form-section :is(.dca-form-card,.dca-form-wrap) {color:var(--dca-text)}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-form-section .dca-form-card {background:var(--dca-surface);border-color:var(--dca-border)}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-form-section :is(input,textarea,select) {
  background:var(--dca-bg);color:var(--dca-text);border-color:var(--dca-border);
}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-form-section :is(input,textarea,select)::placeholder {color:var(--dca-muted)}
/* Agenda: selectable list follows theme, photo-backed feature remains dark. */
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-live-agenda__item:hover {
  background:color-mix(in srgb,var(--dca-orange) 6%,var(--dca-surface));
}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-live-agenda__feature {
  background:var(--dca-surface);border-color:var(--dca-border);color:var(--dca-text);
}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-live-agenda__feature :is(h3,.dca-live-agenda__feature-details,.dca-live-agenda__feature p){color:var(--dca-text)}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-live-agenda__feature p {color:var(--dca-muted)}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-live-agenda__promo {color:#fff}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-live-agenda__promo span {color:#fff}
/* Swatches and selected controls reflect the stored club accent; avoid native link blue. */
body:is(.dca-scheme-light,.dca-scheme-hybrid) :is(.dca-insights,.dca-people,.dca-sponsors,.dca-gallery-pro,.dca-form-section,.dca-event-hub) :is(a,button):focus-visible {
  outline-color:var(--dca-orange);
}

/* 2.16.15: clear overlay/neutral surface contract for Dark and Light.
   Photo-based content stays light-on-dark; neutral cards inherit palette. */
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-insights .dca-insight-card--overlay :is(h3,h4,p,.dca-insight-card__more,.dca-insight-card__meta),
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-people.dca-layout-overlay .dca-person :is(h3,h4,p,.dca-person__bio,.dca-person__contact a),
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-join-experience__overlay :is(h3,h4,p,a) {
  color:#fff;
}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-insights .dca-insight-card--overlay .dca-insight-card__meta {color:#dedbd4}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-people.dca-layout-overlay .dca-person__role {color:#eee8e0}
/* Light surface links should inherit club accent, not browser default link blue. */
body:is(.dca-scheme-light,.dca-scheme-hybrid) :where(.dca-events,.dca-event-hub,.dca-insights,.dca-people,.dca-sponsors,.dca-gallery-pro,.dca-form-section) :is(.dca-text-link,.dca-event-ui-card__more,.dca-insight-card__more):not([style*="color:"]) {
  color:var(--dca-accent,var(--dca-orange));
}
/* For the three standard modes, preserve themed neutral control surfaces. */
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-form-section :is(input,select,textarea):not([type="checkbox"]):focus-visible {
  outline:2px solid var(--dca-accent,var(--dca-orange));
  outline-offset:2px;
}

/* 2.16.17: Dark and Light share component anatomy; only palette changes.
   Intentional image overlays (promo, person portrait, join panel) stay dark. */
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-live-agenda__feature :is(.dca-live-agenda__feature-label,.dca-live-agenda__feature-cta) {
  border-color:var(--dca-border);
}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-live-agenda__feature-cta {
  background:var(--dca-accent,var(--dca-orange));
  color:var(--dca-on-accent,#111)!important;
}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-sponsors.dca-layout-signature .dca-sponsor {
  background:var(--dca-surface);
  border-color:var(--dca-border);
}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-people.dca-layout-overlay .dca-person__details {
  background:rgba(7,9,9,.8);
  border-top-color:rgba(255,255,255,.2);
}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-people.dca-layout-overlay .dca-person__details :is(p,a,span) {
  color:#fff;
}
body:is(.dca-scheme-light,.dca-scheme-hybrid) .dca-form-section :is(input,textarea,select):not([type="checkbox"]) {
  color-scheme:light;
}
