/* Approved navy interiors. All colours reference the existing Elementor palette. */
body.rcw-site-dark {
    --rcw-dark-surface: color-mix(in srgb,var(--e-global-color-text) 90%,var(--e-global-color-weiss));
    background:var(--e-global-color-text);
    color:var(--e-global-color-helltext);
}
/* Native Elementor containers keep their layout and content; surfaces change by role. */
.rcw-site-dark main .e-con { background-color:transparent !important; }
.rcw-site-dark main :is(h1,h2,h3,h4,h5,h6,.elementor-heading-title) { color:var(--e-global-color-weiss) !important; }
.rcw-site-dark main :is(.elementor-widget-text-editor,.elementor-widget-text-editor p,.elementor-widget-text-editor li,.elementor-widget-text-editor span,.elementor-widget-text-editor strong,.elementor-widget-text-editor em,.rcw-count,.rcw-article-content,.rcw-article-meta,.rcw-eyebrow,td,th,summary,label) { color:var(--e-global-color-helltext) !important; }
.rcw-site-dark main a:not(.elementor-button):not(.elementor-social-icon) { color:var(--e-global-color-helltext); }
.rcw-site-dark main .elementor-widget-text-editor a { color:var(--e-global-color-helltext) !important; }
.rcw-site-dark main a:hover { text-decoration:underline;text-underline-offset:4px; }
.rcw-site-dark main :is(.rcw-kicker p,.rcw-red) { color:var(--e-global-color-secondary) !important; }
.rcw-site-dark main .rcw-breadcrumb :is(p,a) { color:var(--e-global-color-helltext) !important; }
/* Cards mirror the slightly lighter navy news cards on the homepage. */
.rcw-site-dark main :is(.rcw-content-card,.rcw-imprint-address,.rcw-contact-form-card,.rcw-chapter-card,.rcw-training-lead,.rcw-training-day,.rcw-training-info,.rcw-download-card,.rcw-link-group,.rcw-rental-card,.rcw-sponsor-list-group,.rcw-sponsor-primary-block,.rcw-photo-year-card,.rcw-interior-posts .elementor-post,.rcw-archive-grid article) {
    background-color:var(--rcw-dark-surface) !important;
    border:1px solid var(--e-global-color-konturdunkel);
}
.rcw-site-dark main :is(.rcw-chapter-card,.rcw-training-day,.rcw-link-group,.rcw-rental-card,.rcw-sponsor-list-group,.rcw-imprint-address) { border-top:3px solid var(--e-global-color-secondary); }
.rcw-site-dark main .rcw-photo-year-card { padding:0 0 14px; }
.rcw-site-dark main .rcw-photo-year-card :is(.elementor-widget-heading,.elementor-widget-button) { padding-left:14px;padding-right:14px; }
.rcw-site-dark main :is(.rcw-page-block,.rcw-imprint-detail,.rcw-contact-copy-block,.rcw-contact-location,.rcw-year-nav,.rcw-timeline-item,.rcw-archive-note,.rcw-album-toolbar,.rcw-directory-tools,.rcw-person-column,.rcw-article-nav,td,th) { border-color:var(--e-global-color-konturdunkel) !important; }
.rcw-site-dark main .rcw-person-column { background:var(--rcw-dark-surface) !important;border:1px solid var(--e-global-color-konturdunkel); }
.rcw-site-dark main :is(.rcw-migrated-person,.rcw-person) { background:var(--e-global-color-weiss) !important;border:1px solid var(--e-global-color-konturdunkel) !important; }
.rcw-site-dark main :is(.rcw-migrated-person,.rcw-person) :is(h2,h3,p,.elementor-heading-title,.elementor-widget-text-editor) { color:var(--e-global-color-text) !important; }
.rcw-site-dark main :is(.rcw-migrated-person,.rcw-person) a:not(.elementor-button) { color:var(--e-global-color-primary); }
.rcw-site-dark main .rcw-portrait { background:var(--e-global-color-portraet) !important; }
/* Content links, filtering and focus use clear light-on-navy contrast. */
.rcw-site-dark main .elementor-button { color:var(--e-global-color-weiss) !important;background-color:var(--e-global-color-primary) !important; }
.rcw-site-dark main .rcw-content-link .elementor-button { color:var(--e-global-color-helltext) !important;background:transparent !important;border-color:var(--e-global-color-konturdunkel) !important; }
.rcw-site-dark main :is(.rcw-person,.rcw-migrated-person) .elementor-button { color:var(--e-global-color-primary) !important;background:transparent !important; }
.rcw-site-dark main .rcw-filters button { color:var(--e-global-color-helltext); }
.rcw-site-dark main .rcw-filters button[aria-pressed=true] { color:var(--e-global-color-weiss); }
.rcw-site-dark main .rcw-search input { color:var(--e-global-color-helltext);border-color:var(--e-global-color-konturdunkel); }
.rcw-site-dark main :focus-visible { outline-color:var(--e-global-color-helltext) !important; }
/* Keep logos, donation codes, and portrait photos on their intentional light mats. */
.rcw-site-dark main .rcw-sponsor-logo-grid { background:var(--e-global-color-weiss) !important;padding:16px; }
.rcw-site-dark main :is(.rcw-sponsor-logo-grid img,.rcw-youth-layout img,.rcw-portrait img) { border:0; }
.rcw-site-dark main .elementor-widget-image:not(.rcw-logo):not(.rcw-webbox-logo):not(.rcw-portrait) img,
.rcw-site-dark main :is(.elementor-widget-image-carousel,.elementor-widget-media-carousel) img,
.rcw-site-dark .rcw-article-photo { border:1px solid var(--e-global-color-konturdunkel); }
.rcw-site-dark main .rcw-sponsor-logo-grid img { border:0; }
/* Forms retain bright input fields for clear entry and native browser controls. */
.rcw-site-dark main .elementor-form { background:var(--rcw-dark-surface) !important;border-color:var(--e-global-color-konturdunkel) !important; }
.rcw-site-dark main .rcw-contact-form-card .elementor-form { background:transparent !important;border:0 !important; }
.rcw-site-dark main :is(.elementor-field-textual,input[type=text],input[type=email],input[type=tel],textarea,select) { background:var(--e-global-color-flaeche) !important;color:var(--e-global-color-text) !important;border-color:var(--e-global-color-konturdunkel) !important; }
.rcw-site-dark main select option { background:var(--e-global-color-flaeche);color:var(--e-global-color-text); }
.rcw-site-dark main .elementor-field-option { background:transparent !important;border-color:var(--e-global-color-konturdunkel) !important; }
.rcw-site-dark main .elementor-message { color:var(--e-global-color-helltext); }
/* Native gallery data and event handlers remain owned by the gallery plugin. */
.rcw-site-dark .rcw-album-browser .wpmf_gallery_tree { background:transparent !important; }
.rcw-site-dark .rcw-album-browser .wpmf-gallery-tree-item { background:var(--rcw-dark-surface);border-color:var(--e-global-color-konturdunkel); }
.rcw-site-dark .wpmf_gallery_tree .wpmf-gallery-item-title,
.rcw-site-dark .wpmf_gallery_tree .wpmf-gallery-tree-item:hover .wpmf-gallery-item-title,
.rcw-site-dark .wpmf_gallery_tree li.selected>.wpmf-gallery-tree-item .wpmf-gallery-item-title { color:var(--e-global-color-helltext) !important; }
.rcw-site-dark .wpmf_gallery_tree .wpmf_search_galleries { color:var(--e-global-color-text) !important;border-color:var(--e-global-color-konturdunkel) !important; }
.rcw-site-dark :is(.rcw-album-back,.rcw-album-empty) { background:var(--rcw-dark-surface);color:var(--e-global-color-helltext);border-color:var(--e-global-color-konturdunkel); }
.rcw-site-dark .rcw-album-browser .rcw-album-name { color:var(--e-global-color-weiss); }
.rcw-site-dark main :is(.elementor-post__title a,.elementor-post__read-more,.elementor-post__meta-data) { color:var(--e-global-color-helltext) !important; }
.rcw-site-dark .rcw-profile-dialog { background:var(--rcw-dark-surface);color:var(--e-global-color-helltext);border:1px solid var(--e-global-color-konturdunkel); }
.rcw-site-dark .rcw-profile-dialog :is(h2,p) { color:var(--e-global-color-helltext); }
/* The same global contour continues through the shared footer and menu. */
.rcw-site-dark :is(.rcw-footer-bottom,.rcw-footer .rcw-footer-button .elementor-button,.rcw-menu-items .elementor-button,.rcw-menu-extra) { border-color:var(--e-global-color-konturdunkel) !important; }

.rcw-site-dark main .rcw-kicker p { color:var(--e-global-color-helltext) !important; }
.rcw-site-dark main :is(.rcw-person,.rcw-migrated-person) .elementor-widget-text-editor a { color:var(--e-global-color-primary) !important; }

.rcw-site-dark main .elementor-widget-form>.elementor-widget-container { background:transparent !important; }
.rcw-site-dark main .rcw-content-card.rcw-migrated-person { background:var(--e-global-color-weiss) !important; }

.rcw-site-dark main .elementor-post p { color:var(--e-global-color-helltext) !important; }

.rcw-site-dark main .rcw-search input::placeholder { color:var(--e-global-color-helltext);opacity:.8; }
.rcw-site-dark .wpmf_gallery_box img { border:1px solid var(--e-global-color-konturdunkel); }

/* Editable team-photo section above the existing roster. */
.rcw-site-dark .rcw-team-photos { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;padding-top:0;padding-bottom:42px; }
.rcw-site-dark .rcw-team-photos:has(.rcw-team-photo-pending) { grid-template-columns:minmax(0,1fr);max-width:1040px; }
.rcw-site-dark .rcw-team-photo-pending { display:none !important; }
.rcw-site-dark main .rcw-team-photo-card { gap:18px;padding:24px;background:var(--rcw-dark-surface) !important;border:1px solid var(--e-global-color-konturdunkel); }
.rcw-site-dark .rcw-team-medal-photo img { display:block;width:100%;height:auto;object-fit:contain; }
.rcw-site-dark .rcw-team-photo-card p { margin:0; }
@media(max-width:767px){.rcw-site-dark .rcw-team-photos{grid-template-columns:1fr;gap:22px;padding-bottom:30px}.rcw-site-dark main .rcw-team-photo-card{padding:16px;gap:14px}}

/* Matching team-photo formats; full original V01 preserves every person. */
.rcw-site-dark .rcw-team-photos .rcw-team-medal-photo img{aspect-ratio:3/2;height:auto;object-fit:cover!important;object-position:center}
