/**
 * CWKS Resovia — dark mode component overrides
 * Driven by html[data-theme="dark"] + tokens from resovia-theme-tokens.css
 */

html[data-theme="dark"] body {
	color: var(--cwks-text);
	background: var(--cwks-bg-page);
	transition: var(--cwks-theme-transition);
}

/* ========== Header / chrome ========== */

html[data-theme="dark"] header {
	background: var(--cwks-bg-header);
}

html[data-theme="dark"] .desktop-header .main-header {
	background: var(--cwks-bg-header);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .desktop-header .main-header.sticky {
	background: rgba(18, 18, 19, 0.94);
	backdrop-filter: blur(10px);
}

html[data-theme="dark"] .desktop-nav-left a,
html[data-theme="dark"] .desktop-nav-right a,
html[data-theme="dark"] .nav-menu a {
	color: var(--cwks-text);
}

html[data-theme="dark"] .desktop-nav-left a:hover,
html[data-theme="dark"] .desktop-nav-right a:hover,
html[data-theme="dark"] .nav-menu a:hover {
	color: var(--cwks-link-hover);
}

html[data-theme="dark"] .desktop-header .submenu,
html[data-theme="dark"] .desktop-header .sub-menu,
html[data-theme="dark"] .mobile-menu .submenu,
html[data-theme="dark"] .mobile-menu .sub-menu {
	background: var(--cwks-bg-surface);
	border-color: var(--cwks-border);
	box-shadow: var(--cwks-shadow);
}

html[data-theme="dark"] .desktop-header .submenu a,
html[data-theme="dark"] .desktop-header .sub-menu a,
html[data-theme="dark"] .mobile-menu .submenu a,
html[data-theme="dark"] .mobile-menu .sub-menu a {
	color: var(--cwks-text);
}

/* Footer menus — no grey submenu panels */
html[data-theme="dark"] .site-footer .sub-menu,
html[data-theme="dark"] .site-footer .submenu,
html[data-theme="dark"] .site-footer .footer-nav,
html[data-theme="dark"] .site-footer .footer-nav ul {
	background: transparent !important;
	box-shadow: none !important;
	border: none !important;
}

html[data-theme="dark"] .site-footer .footer-nav a,
html[data-theme="dark"] .site-footer .footer-nav .menu-item-link,
html[data-theme="dark"] .site-footer .sub-menu a {
	color: #fff;
}

html[data-theme="dark"] .mobile-header {
	background: var(--cwks-bg-tabbar);
	box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .mobile-nav {
	box-shadow: none;
}

html[data-theme="dark"] .mobile-nav .nav-item i {
	color: var(--cwks-accent);
}

html[data-theme="dark"] .mobile-nav .nav-text {
	color: var(--cwks-text);
}

html[data-theme="dark"] .menu-button {
	background: #fff;
	color: #e40001;
}

html[data-theme="dark"] .menu-items a {
	color: var(--cwks-text-inverse);
}

/* ========== Page surfaces ========== */

html[data-theme="dark"] .container,
html[data-theme="dark"] .grid-container,
html[data-theme="dark"] .content-area,
html[data-theme="dark"] .site-main,
html[data-theme="dark"] .page-container,
html[data-theme="dark"] .archive-container,
html[data-theme="dark"] .category-container,
html[data-theme="dark"] .tags-container,
html[data-theme="dark"] .single-post-container,
html[data-theme="dark"] .entry-content,
html[data-theme="dark"] article.post,
html[data-theme="dark"] .post-item {
	background-color: var(--cwks-bg-surface);
	color: var(--cwks-text);
}

html[data-theme="dark"] .page-container,
html[data-theme="dark"] .archive-container,
html[data-theme="dark"] .category-container,
html[data-theme="dark"] .tags-container,
html[data-theme="dark"] .single-post-container {
	background: var(--cwks-bg-surface);
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] .entry-title,
html[data-theme="dark"] .page-title,
html[data-theme="dark"] .archive-title {
	color: var(--cwks-text);
}

html[data-theme="dark"] .entry-content a,
html[data-theme="dark"] .post-content a,
html[data-theme="dark"] .footer-link,
html[data-theme="dark"] #sidebar a:not(.sb-button-match-center):not(.menu-button),
html[data-theme="dark"] .sidebar a:not(.sb-button-match-center):not(.menu-button),
html[data-theme="dark"] .textwidget a,
html[data-theme="dark"] .widget a:not(.menu-button):not(.sb-button-match-center),
html[data-theme="dark"] .sidebar-link-item {
	color: var(--cwks-link);
	text-decoration: underline;
	text-decoration-color: var(--cwks-link-underline);
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

html[data-theme="dark"] .entry-content a:hover,
html[data-theme="dark"] .post-content a:hover,
html[data-theme="dark"] .footer-link:hover,
html[data-theme="dark"] #sidebar a:not(.sb-button-match-center):not(.menu-button):hover,
html[data-theme="dark"] .sidebar a:not(.sb-button-match-center):not(.menu-button):hover,
html[data-theme="dark"] .textwidget a:hover,
html[data-theme="dark"] .widget a:not(.menu-button):not(.sb-button-match-center):hover,
html[data-theme="dark"] .sidebar-link-item:hover {
	color: var(--cwks-link-hover);
	text-decoration-color: var(--cwks-link-underline-hover);
}

/* Sidebar nav links — light + custom underline, no red */
html[data-theme="dark"] .sidebar-link-item {
	color: var(--cwks-link);
	text-decoration: none;
}

html[data-theme="dark"] .sidebar-link-item:hover {
	color: var(--cwks-link-hover);
	text-decoration: none;
}

html[data-theme="dark"] .sidebar-link-item:hover .sidebar-link-item-inner {
	color: var(--cwks-link-hover);
}

html[data-theme="dark"] .sidebar-link-item::before {
	color: var(--cwks-link);
}

html[data-theme="dark"] .sidebar-link-item:hover::before {
	color: var(--cwks-link-hover);
}

html[data-theme="dark"] .sidebar-link-item::after {
	background: var(--cwks-link-underline);
}

html[data-theme="dark"] .sidebar-link-item:hover::after {
	background: var(--cwks-link-underline-hover);
}

html[data-theme="dark"] .sidebar-link-item--current .sidebar-link-item-inner {
	color: var(--cwks-link-hover);
	font-weight: 700;
}

html[data-theme="dark"] .post-meta,
html[data-theme="dark"] .entry-meta,
html[data-theme="dark"] .news-date,
html[data-theme="dark"] .meta,
html[data-theme="dark"] time {
	color: var(--cwks-text-muted);
}

/* ========== Swipers ========== */

html[data-theme="dark"] .swiper-news-header,
html[data-theme="dark"] .swiper-matches-header,
html[data-theme="dark"] .swiper-standings-header,
html[data-theme="dark"] .swiper-section-header {
	border-bottom-color: var(--cwks-border);
}

html[data-theme="dark"] .swiper-news,
html[data-theme="dark"] .swiper-matches,
html[data-theme="dark"] .swiper-standings,
html[data-theme="dark"] .swiper-section-title {
	color: var(--cwks-text);
}

html[data-theme="dark"] .swiper-slide,
html[data-theme="dark"] .news-slide,
html[data-theme="dark"] .match-slide,
html[data-theme="dark"] .standings-slide,
html[data-theme="dark"] .row-swiper-news .swiper-slide,
html[data-theme="dark"] .row-swiper-matches .swiper-slide,
html[data-theme="dark"] .row-swiper-standings .swiper-slide {
	background: var(--cwks-bg-surface-2);
	color: var(--cwks-text);
	box-shadow: var(--cwks-shadow-soft);
	border-color: var(--cwks-border);
}

html[data-theme="dark"] .news-title,
html[data-theme="dark"] .match-team-name,
html[data-theme="dark"] .standings-team-name,
html[data-theme="dark"] .standings-place,
html[data-theme="dark"] .standings-points {
	color: var(--cwks-text);
}

html[data-theme="dark"] .news-excerpt,
html[data-theme="dark"] .match-meta,
html[data-theme="dark"] .standings-meta {
	color: var(--cwks-text-muted);
}

html[data-theme="dark"] .standings-legend,
html[data-theme="dark"] .standings-cta-rotator,
html[data-theme="dark"] .swiper-section-more {
	color: var(--cwks-text-muted);
	border-color: var(--cwks-border);
}

/* ========== Home fields / sidebar ========== */

html[data-theme="dark"] #sidebar,
html[data-theme="dark"] .sidebar {
	background-color: var(--cwks-bg-surface) !important;
	color: var(--cwks-text);
	padding: 1rem !important;
	box-sizing: border-box;
}

/* Widgets sit on the shared sidebar panel — no separate grey cards */
html[data-theme="dark"] #sidebar .widget,
html[data-theme="dark"] .sidebar .widget {
	background: transparent !important;
	color: var(--cwks-text);
	border: none;
	box-shadow: none;
	padding: 0;
	margin-bottom: 1.25rem;
}

html[data-theme="dark"] #sidebar .widget p,
html[data-theme="dark"] #sidebar .textwidget,
html[data-theme="dark"] #sidebar .textwidget p,
html[data-theme="dark"] .sidebar .widget p,
html[data-theme="dark"] .sidebar .textwidget,
html[data-theme="dark"] .sidebar .textwidget p {
	color: var(--cwks-text-muted);
}

html[data-theme="dark"] #sidebar .widget ul,
html[data-theme="dark"] .sidebar .widget ul {
	padding-left: 0;
	margin: 0;
}

html[data-theme="dark"] .sidebar-match-widget,
html[data-theme="dark"] .sb-match-widget {
	background: var(--cwks-bg-surface-2);
	color: var(--cwks-text);
	border-bottom-color: var(--cwks-border);
}

html[data-theme="dark"] .sb-match-league-name,
html[data-theme="dark"] .sb-match-team-name,
html[data-theme="dark"] .sb-match-widget-content {
	color: var(--cwks-text);
}

html[data-theme="dark"] .sb-match-round,
html[data-theme="dark"] .sb-match-date-time,
html[data-theme="dark"] .sb-match-team-name span:last-child {
	color: var(--cwks-text-muted);
}

html[data-theme="dark"] .sb-button-match-center-unactive {
	background: #2a2a2c;
	color: rgba(242, 242, 242, 0.55);
	border: 1px solid var(--cwks-border);
}

html[data-theme="dark"] .sb-button-match-center-unactive:hover {
	background: #2a2a2c;
	color: rgba(242, 242, 242, 0.55);
}

html[data-theme="dark"] .widget-title,
html[data-theme="dark"] .sidebar .widget-title,
html[data-theme="dark"] #sidebar .widget-title {
	color: var(--cwks-text) !important;
	border-bottom-color: var(--cwks-accent);
}

html[data-theme="dark"] .text-bg {
	background: rgba(14, 14, 15, 0.72);
}

/* ========== Pagination / buttons (non-accent chrome) ========== */

html[data-theme="dark"] .pagination a,
html[data-theme="dark"] .page-numbers,
html[data-theme="dark"] .nav-links a {
	background: var(--cwks-bg-surface-2);
	color: var(--cwks-text);
	border-color: var(--cwks-border);
}

html[data-theme="dark"] .pagination .current,
html[data-theme="dark"] .page-numbers.current {
	background: var(--cwks-accent);
	color: var(--cwks-on-accent);
	border-color: var(--cwks-accent);
}

/* ========== Forms (CF7) ========== */

html[data-theme="dark"] .wpcf7,
html[data-theme="dark"] .wpcf7 form,
html[data-theme="dark"] .wpcf7-form {
	background: var(--cwks-bg-surface);
	color: var(--cwks-text);
}

html[data-theme="dark"] .wpcf7 label,
html[data-theme="dark"] .wpcf7-form label {
	color: var(--cwks-text);
}

html[data-theme="dark"] .wpcf7 input[type="text"],
html[data-theme="dark"] .wpcf7 input[type="email"],
html[data-theme="dark"] .wpcf7 input[type="tel"],
html[data-theme="dark"] .wpcf7 input[type="url"],
html[data-theme="dark"] .wpcf7 input[type="number"],
html[data-theme="dark"] .wpcf7 textarea,
html[data-theme="dark"] .wpcf7 select {
	background: var(--cwks-bg-surface-2);
	color: var(--cwks-text);
	border-color: var(--cwks-border-strong);
}

html[data-theme="dark"] .wpcf7 input:focus,
html[data-theme="dark"] .wpcf7 textarea:focus,
html[data-theme="dark"] .wpcf7 select:focus {
	border-color: var(--cwks-accent);
	box-shadow: 0 0 0 1px var(--cwks-focus-ring);
}

html[data-theme="dark"] .wpcf7 input[type="submit"],
html[data-theme="dark"] .wpcf7-submit {
	background: var(--cwks-accent);
	color: var(--cwks-on-accent);
	border-color: var(--cwks-accent);
}

html[data-theme="dark"] .wpcf7 input[type="submit"]:hover,
html[data-theme="dark"] .wpcf7-submit:hover {
	background: var(--cwks-accent-hover);
}

/* ========== Tables / schedule / squad pages ========== */

html[data-theme="dark"] .tabela,
html[data-theme="dark"] .tabela-container,
html[data-theme="dark"] .tabela-wrapper,
html[data-theme="dark"] .mecze-resovii,
html[data-theme="dark"] .mecze-container,
html[data-theme="dark"] .druzyna-container,
html[data-theme="dark"] .players-grid,
html[data-theme="dark"] .player-card,
html[data-theme="dark"] .staff-card,
html[data-theme="dark"] table {
	background: var(--cwks-bg-surface);
	color: var(--cwks-text);
}

html[data-theme="dark"] table th,
html[data-theme="dark"] .tabela th {
	background: var(--cwks-bg-surface-2) !important;
	color: var(--cwks-text) !important;
	border-color: var(--cwks-border) !important;
}

html[data-theme="dark"] table td,
html[data-theme="dark"] .tabela td {
	background-color: var(--cwks-bg-surface) !important;
	border-color: var(--cwks-border) !important;
	color: var(--cwks-text) !important;
}

html[data-theme="dark"] table tr:nth-child(even) td,
html[data-theme="dark"] .tabela tr:nth-child(even) td {
	background-color: rgba(255, 255, 255, 0.03) !important;
}

html[data-theme="dark"] .standings-team-resovia,
html[data-theme="dark"] tr.standings-team-resovia {
	background: rgba(228, 0, 1, 0.12);
}

html[data-theme="dark"] .match-row,
html[data-theme="dark"] .fixture-row,
html[data-theme="dark"] .player-card,
html[data-theme="dark"] .staff-card {
	border-color: var(--cwks-border);
	box-shadow: var(--cwks-shadow-soft);
}

html[data-theme="dark"] .player-name,
html[data-theme="dark"] .player-position,
html[data-theme="dark"] .staff-name,
html[data-theme="dark"] .staff-role {
	color: var(--cwks-text);
}

html[data-theme="dark"] .player-position,
html[data-theme="dark"] .staff-role {
	color: var(--cwks-text-muted);
}

/* —— Drużyna / statystyki —— */
html[data-theme="dark"] .pozycja-sekcja h3,
html[data-theme="dark"] .statystyki-grid h3,
html[data-theme="dark"] .zawodnik-card h4,
html[data-theme="dark"] .tabela .pozycja-naglowek h4,
html[data-theme="dark"] .zawodnik-dane-item,
html[data-theme="dark"] .zawodnik-dane-item .dane-label {
	color: var(--cwks-text) !important;
}

html[data-theme="dark"] .tabela .pozycja-naglowek th {
	background-color: var(--cwks-bg-surface-2) !important;
	color: var(--cwks-text) !important;
}

html[data-theme="dark"] .tabela td a,
html[data-theme="dark"] .tabela td a:visited {
	color: var(--cwks-link) !important;
	text-decoration: underline;
	text-decoration-color: var(--cwks-link-underline);
	text-underline-offset: 0.15em;
}

html[data-theme="dark"] .tabela td a:hover {
	color: var(--cwks-link-hover) !important;
	text-decoration-color: var(--cwks-link-underline-hover);
}

html[data-theme="dark"] .zawodnik-card a {
	color: var(--cwks-text);
}

html[data-theme="dark"] p.funkcja {
	color: var(--cwks-accent);
}

html[data-theme="dark"] .statystyka-item {
	background-color: var(--cwks-bg-surface-2);
	color: var(--cwks-text);
}

html[data-theme="dark"] .statystyka-label {
	color: var(--cwks-text-muted);
}

html[data-theme="dark"] .statystyka-value {
	color: var(--cwks-text);
}

/* —— Terminarz —— */
html[data-theme="dark"] .kolejka-wrapper,
html[data-theme="dark"] .kolejka-content,
html[data-theme="dark"] #terminarz-content .entry-content {
	color: var(--cwks-text);
}

html[data-theme="dark"] .kolejka-title {
	color: var(--cwks-text);
}

html[data-theme="dark"] .kolejka-content table {
	background: var(--cwks-bg-surface);
	color: var(--cwks-text);
}

html[data-theme="dark"] .kolejka-content th,
html[data-theme="dark"] .kolejka-content td {
	background-color: var(--cwks-bg-surface) !important;
	border-color: var(--cwks-border) !important;
	color: var(--cwks-text) !important;
}

html[data-theme="dark"] .kolejka-content th,
html[data-theme="dark"] .kolejka-content tr:first-child td {
	background-color: var(--cwks-bg-surface-2) !important;
	color: var(--cwks-text) !important;
	font-weight: 700;
}

html[data-theme="dark"] .kolejka-content a,
html[data-theme="dark"] .kolejka-content a:visited {
	color: var(--cwks-link) !important;
	text-decoration: underline;
	text-decoration-color: var(--cwks-link-underline);
	text-underline-offset: 0.15em;
}

html[data-theme="dark"] .kolejka-content a:hover {
	color: var(--cwks-link-hover) !important;
	text-decoration-color: var(--cwks-link-underline-hover);
}

html[data-theme="dark"] .no-data {
	color: var(--cwks-text-muted);
}

/* ========== Footer (already dark — unify) ========== */

html[data-theme="dark"] .site-footer {
	background: var(--cwks-bg-footer);
}

html[data-theme="dark"] .footer-bottom {
	background: var(--cwks-bg-footer-bottom);
}

html[data-theme="dark"] .sponsorzy-shortcode {
	background: transparent;
}

/* ========== Archive cards ========== */

html[data-theme="dark"] .post-item,
html[data-theme="dark"] .archive-item,
html[data-theme="dark"] .news-card {
	background: var(--cwks-bg-surface);
	border-color: var(--cwks-border);
	box-shadow: var(--cwks-shadow-soft);
}

html[data-theme="dark"] .post-item .entry-title a,
html[data-theme="dark"] .archive-item a {
	color: var(--cwks-text);
}

html[data-theme="dark"] .post-item .entry-title a:hover,
html[data-theme="dark"] .archive-item a:hover {
	color: var(--cwks-link-hover);
	text-decoration: underline;
	text-decoration-color: var(--cwks-link-underline-hover);
}

/* ========== Breadcrumbs / misc chrome ========== */

html[data-theme="dark"] .breadcrumb,
html[data-theme="dark"] .breadcrumbs {
	color: var(--cwks-text-muted);
}

html[data-theme="dark"] hr {
	border-color: var(--cwks-border);
}

html[data-theme="dark"] blockquote {
	background: var(--cwks-bg-surface-2);
	border-left-color: var(--cwks-accent);
	color: var(--cwks-text);
}

/* Match-box active buttons that were white stay readable */
html[data-theme="dark"] .match-box-button:not(.match-box-button--inactive) {
	/* keep brand: white fill + red text from light; on dark elevate slightly */
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* Home gate close / white panels if any */
html[data-theme="dark"] .cwks-rsv-gate__panel,
html[data-theme="dark"] .cwks-rsv-gate-panel {
	background: var(--cwks-bg-surface);
	color: var(--cwks-text);
}

/* ========== Swiper cards — precise selectors ========== */

html[data-theme="dark"] .row-swiper-news .swiper-wrapper .swiper-slide,
html[data-theme="dark"] .single-row-swiper-news .swiper-wrapper .swiper-slide,
html[data-theme="dark"] .row-swiper-matches .swiper-wrapper .swiper-slide,
html[data-theme="dark"] .row-swiper-standings .swiper-wrapper .swiper-slide {
	background: var(--cwks-bg-surface-2);
	border-color: var(--cwks-border);
}

html[data-theme="dark"] .row-swiper-news .news-slide-media,
html[data-theme="dark"] .single-row-swiper-news .news-slide-media {
	background: var(--cwks-bg-surface-2);
}

html[data-theme="dark"] .row-swiper-news .news-slide-title,
html[data-theme="dark"] .single-row-swiper-news .news-slide-title,
html[data-theme="dark"] .row-swiper-news .swiper-slide p,
html[data-theme="dark"] .single-row-swiper-news .swiper-slide p {
	color: var(--cwks-text);
}

html[data-theme="dark"] .row-swiper-news .news-slide-category,
html[data-theme="dark"] .single-row-swiper-news .news-slide-category {
	color: var(--cwks-text-muted);
}

html[data-theme="dark"] .row-swiper-standings .standings-team,
html[data-theme="dark"] .row-swiper-standings .standings-team-line-one,
html[data-theme="dark"] .row-swiper-standings .standings-place,
html[data-theme="dark"] .row-swiper-standings .standings-points,
html[data-theme="dark"] .row-swiper-standings .standings-matches-count,
html[data-theme="dark"] .row-swiper-standings .standings-matches-line-one,
html[data-theme="dark"] .row-swiper-standings .standings-points-line-one,
html[data-theme="dark"] .row-swiper-standings .standings-place-line-one {
	color: var(--cwks-text);
}

html[data-theme="dark"] .row-swiper-standings .standings-team-line-two,
html[data-theme="dark"] .row-swiper-standings .standings-place-line-two,
html[data-theme="dark"] .row-swiper-standings .standings-matches-line-two,
html[data-theme="dark"] .row-swiper-standings .standings-points-line-two,
html[data-theme="dark"] .match-date-time,
html[data-theme="dark"] .match-round,
html[data-theme="dark"] .match-team-name span:last-child {
	color: var(--cwks-text-muted);
}

html[data-theme="dark"] .match-league-name {
	color: var(--cwks-text);
}

html[data-theme="dark"] .row-swiper-standings .standings-matches-points {
	border-top-color: var(--cwks-border);
}

/* Match card action buttons — inactive readable on dark cards */
html[data-theme="dark"] .button-match-center-unactive,
html[data-theme="dark"] .sb-button-match-center-unactive {
	background: var(--cwks-bg-surface-2);
	color: rgba(242, 242, 242, 0.55);
	border-color: var(--cwks-border);
}

html[data-theme="dark"] .button-match-center-unactive:hover,
html[data-theme="dark"] .sb-button-match-center-unactive:hover {
	background: var(--cwks-bg-surface-2);
	color: rgba(242, 242, 242, 0.55);
}

html[data-theme="dark"] .button-match-center:not(.button-match-center-unactive),
html[data-theme="dark"] .sb-button-match-center:not(.sb-button-match-center-unactive) {
	color: #fff;
	border-color: transparent;
}

html[data-theme="dark"] .standings-swiper-legend-text {
	color: var(--cwks-text-muted);
}

/* Keep Resovia highlight readable */
html[data-theme="dark"] .row-swiper-standings .standings-team-resovia .standings-team,
html[data-theme="dark"] .row-swiper-standings .standings-team-resovia .standings-team-line-one,
html[data-theme="dark"] .row-swiper-standings .standings-team-resovia .standings-team-line-two {
	color: #ff4d4e;
}

html[data-theme="dark"] .row-swiper-standings .standings-team-resovia {
	background: rgba(228, 0, 1, 0.14);
}

/* ========== Sponsors — dark: radius on images only (no plates / shadows) ========== */

html[data-theme="dark"] .sponsorzy-shortcode,
html[data-theme="dark"] .sponsorzy-widget,
html[data-theme="dark"] .widget-sponsors {
	background: transparent;
	color: var(--cwks-text);
}

html[data-theme="dark"] .sponsorzy-wiersz h3 {
	color: var(--cwks-text);
	font-weight: 700;
	letter-spacing: 0.06em;
	font-size: 0.8rem;
}

html[data-theme="dark"] .sponsorzy-wiersz h3::before,
html[data-theme="dark"] .sponsorzy-wiersz h3::after {
	background: var(--cwks-border-strong);
}

html[data-theme="dark"] .sponsor-logo {
	background: transparent;
	padding: 0;
	border: none;
	box-shadow: none;
	border-radius: 0;
}

html[data-theme="dark"] .sponsor-logo img,
html[data-theme="dark"] .sponsorzy-logo-grid > a img,
html[data-theme="dark"] .sponsorzy-shortcode .sponsorzy-logo-grid img,
html[data-theme="dark"] .widget-sponsors img,
html[data-theme="dark"] .sponsorzy-wiersz img,
html[data-theme="dark"] .sponsor-home-box-shortcode img {
	border-radius: 10px;
	display: block;
	background: transparent;
	box-shadow: none;
	padding: 0;
	opacity: 0.4;
	filter: none;
	transform: none;
	transition: opacity 0.3s ease;
}

html[data-theme="dark"] .sponsor-logo:hover img,
html[data-theme="dark"] .sponsorzy-logo-grid > a:hover img,
html[data-theme="dark"] .sponsorzy-shortcode .sponsorzy-logo-grid a:hover img,
html[data-theme="dark"] .widget-sponsors a:hover img,
html[data-theme="dark"] .sponsorzy-wiersz a:hover img,
html[data-theme="dark"] .sponsor-home-box-shortcode a:hover img,
html[data-theme="dark"] .sponsor-logo img:hover,
html[data-theme="dark"] .sponsorzy-wiersz img:hover,
html[data-theme="dark"] .sponsor-home-box-shortcode img:hover,
html[data-theme="dark"] .sponsorzy-widget.styl-gray_hover .sponsor-logo:hover img {
	opacity: 1;
	filter: none;
	transform: none;
}

/* Home: sponsors shortcode — full white plate */
html[data-theme="dark"] .sponsor-home-box.sponsor-home-box-shortcode,
html[data-theme="dark"] .sponsor-home-box-shortcode .inner-container {
	background: #fff !important;
	background-color: #fff !important;
	box-shadow: none;
}

/* Home: Rzeszów banner — no dim, no radius */
html[data-theme="dark"] .sponsor-home-box.sponsor-home-box-image,
html[data-theme="dark"] .sponsor-home-box-image .inner-container {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none;
	border-radius: 0;
	overflow: hidden;
}

html[data-theme="dark"] .sponsor-home-box-image img,
html[data-theme="dark"] .sponsor-home-box-image .rzeszow-image {
	opacity: 1 !important;
	border-radius: 0 !important;
	filter: none !important;
	box-shadow: none;
	padding: 0;
}

html[data-theme="dark"] .mobile-menu .menu-button {
	background: #fff !important;
	color: #e40001 !important;
}

html[data-theme="dark"] .mobile-menu .menu-button:hover {
	background: #f5f5f5 !important;
	color: #e40001 !important;
}

html[data-theme="dark"] .entry-header,
html[data-theme="dark"] .archive-header {
	background: transparent;
}

html[data-theme="dark"] .entry-header .post-date {
	color: var(--cwks-text-muted);
}

html[data-theme="dark"] .tabela td {
	background-color: var(--cwks-bg-surface);
}

html[data-theme="dark"] .tabela th {
	background-color: var(--cwks-bg-surface-2);
	border-color: var(--cwks-border);
}

html[data-theme="dark"] .post-item {
	border-bottom-color: var(--cwks-border);
}

html[data-theme="dark"] .desktop-header .nav-menu li a,
html[data-theme="dark"] .desktop-header .nav-menu li .menu-item-link {
	color: var(--cwks-text);
}

html[data-theme="dark"] .desktop-header .nav-menu li a:hover,
html[data-theme="dark"] .desktop-header .nav-menu li .menu-item-link:hover {
	color: var(--cwks-link-hover);
}

html[data-theme="dark"] .desktop-header .nav-menu .sub-menu {
	background: var(--cwks-bg-surface);
	border-color: var(--cwks-border);
	box-shadow: var(--cwks-shadow);
}

html[data-theme="dark"] .desktop-header .nav-menu .sub-menu li a {
	color: var(--cwks-text);
}

html[data-theme="dark"] .desktop-header .nav-menu .sub-menu li a:hover {
	color: var(--cwks-link-hover);
}

/* Red CTA menu buttons stay brand-red with white text */
html[data-theme="dark"] .desktop-header .nav-menu li.cwks-menu-button-item > a {
	background: var(--cwks-accent);
	color: var(--cwks-on-accent);
}
