/* SomGeek – posledná oprava svetlej témy pre logá a widgety rubrík */

/* Logá sú PNG s priehľadným pozadím. Čierny obdĺžnik vytváral ich CSS obal. */
html[data-sg-theme="light"] .sg-brand-picture,
html[data-sg-theme="light"] .sg-community-brand__picture {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

html[data-sg-theme="light"] .sg-brand-picture img,
html[data-sg-theme="light"] .sg-community-brand__picture img {
    background: transparent !important;
    box-shadow: none !important;
}

/* Widgety CoverNews na stránkach kategórií, značiek a archívov. */
html[data-sg-theme="light"] body.category .widget,
html[data-sg-theme="light"] body.tag .widget,
html[data-sg-theme="light"] body.archive .widget,
html[data-sg-theme="light"] body.category .widget-area > *,
html[data-sg-theme="light"] body.tag .widget-area > *,
html[data-sg-theme="light"] body.archive .widget-area > *,
html[data-sg-theme="light"] body.category #secondary > *,
html[data-sg-theme="light"] body.tag #secondary > *,
html[data-sg-theme="light"] body.archive #secondary > *,
html[data-sg-theme="light"] body.category [class*="latest-posts"],
html[data-sg-theme="light"] body.tag [class*="latest-posts"],
html[data-sg-theme="light"] body.archive [class*="latest-posts"],
html[data-sg-theme="light"] body.category [class*="popular-taxonomies"],
html[data-sg-theme="light"] body.tag [class*="popular-taxonomies"],
html[data-sg-theme="light"] body.archive [class*="popular-taxonomies"] {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border-color: var(--sg-border) !important;
    color: #202428 !important;
    box-shadow: 0 12px 30px rgba(55, 45, 29, 0.10) !important;
}

/* Odstráni tmavé vnútorné plochy a zlaté obdĺžniky za textom. */
html[data-sg-theme="light"] body.category .widget ul,
html[data-sg-theme="light"] body.category .widget ol,
html[data-sg-theme="light"] body.category .widget li,
html[data-sg-theme="light"] body.category .widget article,
html[data-sg-theme="light"] body.category .widget a,
html[data-sg-theme="light"] body.category .widget span,
html[data-sg-theme="light"] body.category .widget time,
html[data-sg-theme="light"] body.category .widget h2,
html[data-sg-theme="light"] body.category .widget h3,
html[data-sg-theme="light"] body.tag .widget ul,
html[data-sg-theme="light"] body.tag .widget ol,
html[data-sg-theme="light"] body.tag .widget li,
html[data-sg-theme="light"] body.tag .widget article,
html[data-sg-theme="light"] body.tag .widget a,
html[data-sg-theme="light"] body.tag .widget span,
html[data-sg-theme="light"] body.tag .widget time,
html[data-sg-theme="light"] body.tag .widget h2,
html[data-sg-theme="light"] body.tag .widget h3,
html[data-sg-theme="light"] body.archive .widget ul,
html[data-sg-theme="light"] body.archive .widget ol,
html[data-sg-theme="light"] body.archive .widget li,
html[data-sg-theme="light"] body.archive .widget article,
html[data-sg-theme="light"] body.archive .widget a,
html[data-sg-theme="light"] body.archive .widget span,
html[data-sg-theme="light"] body.archive .widget time,
html[data-sg-theme="light"] body.archive .widget h2,
html[data-sg-theme="light"] body.archive .widget h3 {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #252a2f !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

html[data-sg-theme="light"] body.category .widget li,
html[data-sg-theme="light"] body.tag .widget li,
html[data-sg-theme="light"] body.archive .widget li,
html[data-sg-theme="light"] body.category .widget article,
html[data-sg-theme="light"] body.tag .widget article,
html[data-sg-theme="light"] body.archive .widget article {
    border-color: var(--sg-border-soft) !important;
}

html[data-sg-theme="light"] body.category .widget-title,
html[data-sg-theme="light"] body.tag .widget-title,
html[data-sg-theme="light"] body.archive .widget-title,
html[data-sg-theme="light"] body.category .widget h2,
html[data-sg-theme="light"] body.tag .widget h2,
html[data-sg-theme="light"] body.archive .widget h2 {
    color: #171a1e !important;
    border-color: var(--sg-border) !important;
}

html[data-sg-theme="light"] body.category .widget a:hover,
html[data-sg-theme="light"] body.tag .widget a:hover,
html[data-sg-theme="light"] body.archive .widget a:hover {
    color: var(--sg-gold-dark) !important;
}

html[data-sg-theme="light"] body.category .widget time,
html[data-sg-theme="light"] body.tag .widget time,
html[data-sg-theme="light"] body.archive .widget time,
html[data-sg-theme="light"] body.category .widget .entry-meta,
html[data-sg-theme="light"] body.tag .widget .entry-meta,
html[data-sg-theme="light"] body.archive .widget .entry-meta {
    color: #707780 !important;
}

/* Zlatá zostane iba na aktívnej rubrike a číselnom počítadle. */
html[data-sg-theme="light"] body.category .widget_categories .current-cat > a,
html[data-sg-theme="light"] body.tag .widget_categories .current-cat > a,
html[data-sg-theme="light"] body.archive .widget_categories .current-cat > a {
    color: var(--sg-gold-dark) !important;
    font-weight: 800 !important;
}

html[data-sg-theme="light"] body.category .widget_categories .count,
html[data-sg-theme="light"] body.tag .widget_categories .count,
html[data-sg-theme="light"] body.archive .widget_categories .count,
html[data-sg-theme="light"] body.category [class*="popular-taxonomies"] .count,
html[data-sg-theme="light"] body.tag [class*="popular-taxonomies"] .count,
html[data-sg-theme="light"] body.archive [class*="popular-taxonomies"] .count {
    background: #fff2c9 !important;
    border: 1px solid var(--sg-gold) !important;
    color: #6f4a00 !important;
}

/*
 * CoverNews časť bočného panela niekedy nepoužíva triedu .widget.
 * Tieto pravidlá preto cielia priamo na #secondary vo všetkých archívoch.
 */
html[data-sg-theme="light"] body.category #secondary,
html[data-sg-theme="light"] body.tag #secondary,
html[data-sg-theme="light"] body.archive #secondary,
html[data-sg-theme="light"] body.category .widget-area,
html[data-sg-theme="light"] body.tag .widget-area,
html[data-sg-theme="light"] body.archive .widget-area {
    background: transparent !important;
    background-image: none !important;
    color: #202428 !important;
}

html[data-sg-theme="light"] body.category #secondary > div,
html[data-sg-theme="light"] body.category #secondary > section,
html[data-sg-theme="light"] body.tag #secondary > div,
html[data-sg-theme="light"] body.tag #secondary > section,
html[data-sg-theme="light"] body.archive #secondary > div,
html[data-sg-theme="light"] body.archive #secondary > section,
html[data-sg-theme="light"] body.category #secondary [class*="widget-wrapper"],
html[data-sg-theme="light"] body.tag #secondary [class*="widget-wrapper"],
html[data-sg-theme="light"] body.archive #secondary [class*="widget-wrapper"],
html[data-sg-theme="light"] body.category #secondary [class*="widget-body"],
html[data-sg-theme="light"] body.tag #secondary [class*="widget-body"],
html[data-sg-theme="light"] body.archive #secondary [class*="widget-body"] {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border-color: var(--sg-border) !important;
    color: #202428 !important;
    box-shadow: 0 12px 30px rgba(55, 45, 29, 0.10) !important;
}

html[data-sg-theme="light"] body.category #secondary a,
html[data-sg-theme="light"] body.category #secondary span,
html[data-sg-theme="light"] body.category #secondary time,
html[data-sg-theme="light"] body.category #secondary h2,
html[data-sg-theme="light"] body.category #secondary h3,
html[data-sg-theme="light"] body.category #secondary li,
html[data-sg-theme="light"] body.tag #secondary a,
html[data-sg-theme="light"] body.tag #secondary span,
html[data-sg-theme="light"] body.tag #secondary time,
html[data-sg-theme="light"] body.tag #secondary h2,
html[data-sg-theme="light"] body.tag #secondary h3,
html[data-sg-theme="light"] body.tag #secondary li,
html[data-sg-theme="light"] body.archive #secondary a,
html[data-sg-theme="light"] body.archive #secondary span,
html[data-sg-theme="light"] body.archive #secondary time,
html[data-sg-theme="light"] body.archive #secondary h2,
html[data-sg-theme="light"] body.archive #secondary h3,
html[data-sg-theme="light"] body.archive #secondary li {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #252a2f !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

html[data-sg-theme="light"] body.category #secondary li,
html[data-sg-theme="light"] body.tag #secondary li,
html[data-sg-theme="light"] body.archive #secondary li,
html[data-sg-theme="light"] body.category #secondary article,
html[data-sg-theme="light"] body.tag #secondary article,
html[data-sg-theme="light"] body.archive #secondary article {
    border-color: var(--sg-border-soft) !important;
}

html[data-sg-theme="light"] body.category #secondary .current-cat > a,
html[data-sg-theme="light"] body.tag #secondary .current-cat > a,
html[data-sg-theme="light"] body.archive #secondary .current-cat > a {
    color: var(--sg-gold-dark) !important;
    font-weight: 800 !important;
}

html[data-sg-theme="light"] body.category #secondary .count,
html[data-sg-theme="light"] body.tag #secondary .count,
html[data-sg-theme="light"] body.archive #secondary .count {
    background: #fff2c9 !important;
    border: 1px solid var(--sg-gold) !important;
    color: #6f4a00 !important;
}

/* Vlastné bloky category.php nepoužívajú CoverNews widgety ani #secondary. */
html[data-sg-theme="light"] body.category .sg-archive-empty,
html[data-sg-theme="light"] body.category .sg-archive-sidebar-box {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border-color: var(--sg-border) !important;
    color: var(--sg-text) !important;
    box-shadow: 0 12px 30px rgba(55, 45, 29, 0.10) !important;
}

html[data-sg-theme="light"] body.category .sg-archive-empty h2,
html[data-sg-theme="light"] body.category .sg-archive-sidebar-box > h2,
html[data-sg-theme="light"] body.category .sg-archive-latest h3,
html[data-sg-theme="light"] body.category .sg-archive-latest h3 a,
html[data-sg-theme="light"] body.category .sg-archive-categories a,
html[data-sg-theme="light"] body.category .sg-archive-categories a span {
    color: #202428 !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

html[data-sg-theme="light"] body.category .sg-archive-empty p,
html[data-sg-theme="light"] body.category .sg-archive-latest time {
    color: #707780 !important;
}

html[data-sg-theme="light"] body.category .sg-archive-sidebar-box > h2,
html[data-sg-theme="light"] body.category .sg-archive-latest article,
html[data-sg-theme="light"] body.category .sg-archive-categories li {
    border-color: var(--sg-border-soft) !important;
}

html[data-sg-theme="light"] body.category .sg-archive-latest__thumb {
    background: #f3eee4 !important;
    border-color: var(--sg-border) !important;
    color: var(--sg-gold-dark) !important;
}

html[data-sg-theme="light"] body.category .sg-archive-categories small {
    background: #f7f3ea !important;
    border-color: var(--sg-border) !important;
    color: #5f6770 !important;
}

html[data-sg-theme="light"] body.category .sg-archive-categories .is-current a,
html[data-sg-theme="light"] body.category .sg-archive-categories a:hover {
    color: var(--sg-gold-dark) !important;
}

html[data-sg-theme="light"] body.category .sg-archive-categories .is-current small {
    background: var(--sg-gold) !important;
    border-color: var(--sg-gold) !important;
    color: #06080a !important;
}
