/* SomGeek – oprava zvyšných tmavých blokov v svetlej téme */

/* Komunitný pás nad pätičkou */
html[data-sg-theme="light"] .sg-community-strip {
    background: linear-gradient(180deg, #ffffff, #f5f0e6) !important;
    background-image: linear-gradient(180deg, #ffffff, #f5f0e6) !important;
    border-top-color: var(--sg-gold) !important;
    border-bottom-color: var(--sg-gold) !important;
    color: #202428 !important;
    box-shadow: 0 -10px 32px rgba(55, 45, 29, 0.06) !important;
}

html[data-sg-theme="light"] .sg-community-strip__inner,
html[data-sg-theme="light"] .sg-community-brand,
html[data-sg-theme="light"] .sg-community-brand > div {
    background: transparent !important;
    color: #202428 !important;
}

html[data-sg-theme="light"] .sg-community-brand strong {
    color: #171a1e !important;
    text-shadow: none !important;
}

html[data-sg-theme="light"] .sg-community-brand p {
    color: #656d76 !important;
    text-shadow: none !important;
}

html[data-sg-theme="light"] .sg-community-links,
html[data-sg-theme="light"] .sg-partner-ticker,
html[data-sg-theme="light"] .sg-partner-ticker__label,
html[data-sg-theme="light"] .sg-partner-ticker__viewport {
    background: #ffffff !important;
    background-image: none !important;
    border-color: var(--sg-border) !important;
    color: #202428 !important;
}

html[data-sg-theme="light"] .sg-community-links > a,
html[data-sg-theme="light"] .sg-community-links > a strong,
html[data-sg-theme="light"] .sg-partner-ticker__label strong,
html[data-sg-theme="light"] .sg-community-links .sg-partner-ticker__group a,
html[data-sg-theme="light"] .sg-community-links .sg-partner-ticker__group a strong {
    color: #202428 !important;
    text-shadow: none !important;
}

html[data-sg-theme="light"] .sg-community-links > a small {
    color: #68717a !important;
}

html[data-sg-theme="light"] .sg-community-links > a:hover,
html[data-sg-theme="light"] .sg-community-links > a:focus,
html[data-sg-theme="light"] .sg-community-links .sg-partner-ticker__group a:hover,
html[data-sg-theme="light"] .sg-community-links .sg-partner-ticker__group a:focus {
    background: #fff2c9 !important;
    color: var(--sg-gold-dark) !important;
}

html[data-sg-theme="light"] .sg-button--gold {
    background: var(--sg-gold) !important;
    color: #111315 !important;
    box-shadow: 0 7px 18px rgba(163, 111, 0, 0.18) !important;
}

/* Klasické widgety zdedené z CoverNews */
html[data-sg-theme="light"] .widget-area .widget,
html[data-sg-theme="light"] .site-content .widget,
html[data-sg-theme="light"] body.home .widget,
html[data-sg-theme="light"] body.home .aft-main-banner-latest-posts,
html[data-sg-theme="light"] body.home .af-main-banner-latest-posts,
html[data-sg-theme="light"] body.home .main-banner-latest-posts,
html[data-sg-theme="light"] body.home .aft-popular-taxonomies-lists,
html[data-sg-theme="light"] body.home .af-popular-taxonomies-lists,
html[data-sg-theme="light"] body.home .aft-widget-wrapper,
html[data-sg-theme="light"] body.home .af-widget-wrapper,
html[data-sg-theme="light"] body.home .aft-widget-body,
html[data-sg-theme="light"] body.home .af-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.1) !important;
}

html[data-sg-theme="light"] .widget-area .widget > *,
html[data-sg-theme="light"] .site-content .widget > *,
html[data-sg-theme="light"] body.home .widget > *,
html[data-sg-theme="light"] .widget ul,
html[data-sg-theme="light"] .widget ol,
html[data-sg-theme="light"] .widget li,
html[data-sg-theme="light"] .widget article,
html[data-sg-theme="light"] .widget .entry-content,
html[data-sg-theme="light"] .widget .entry-content-wrap,
html[data-sg-theme="light"] .widget .aft-posts-list,
html[data-sg-theme="light"] .widget .af-posts-list {
    background: transparent !important;
    background-image: none !important;
    border-color: var(--sg-border-soft) !important;
}

html[data-sg-theme="light"] .widget-title,
html[data-sg-theme="light"] .widget-title span,
html[data-sg-theme="light"] .widget h2,
html[data-sg-theme="light"] .widget h3,
html[data-sg-theme="light"] .widget h4,
html[data-sg-theme="light"] body.home .aft-main-banner-latest-posts h2,
html[data-sg-theme="light"] body.home .aft-popular-taxonomies-lists h2 {
    color: #202428 !important;
    text-shadow: none !important;
    border-color: var(--sg-border) !important;
}

html[data-sg-theme="light"] .widget,
html[data-sg-theme="light"] .widget p,
html[data-sg-theme="light"] .widget li,
html[data-sg-theme="light"] .widget li span,
html[data-sg-theme="light"] .widget a,
html[data-sg-theme="light"] .widget a:visited,
html[data-sg-theme="light"] .widget .entry-title,
html[data-sg-theme="light"] .widget .entry-title a,
html[data-sg-theme="light"] .widget .post-title,
html[data-sg-theme="light"] .widget .post-title a {
    color: #2a2e33 !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

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

html[data-sg-theme="light"] .widget time,
html[data-sg-theme="light"] .widget .entry-meta,
html[data-sg-theme="light"] .widget .entry-meta a,
html[data-sg-theme="light"] .widget .post-date,
html[data-sg-theme="light"] .widget small {
    color: #707780 !important;
    opacity: 1 !important;
}

html[data-sg-theme="light"] .widget_categories li,
html[data-sg-theme="light"] .widget_archive li,
html[data-sg-theme="light"] .widget_recent_entries li,
html[data-sg-theme="light"] .widget_recent_comments li,
html[data-sg-theme="light"] .widget_nav_menu li {
    border-bottom-color: var(--sg-border-soft) !important;
}

html[data-sg-theme="light"] .widget_categories .count,
html[data-sg-theme="light"] .widget_categories li > span:last-child,
html[data-sg-theme="light"] .aft-popular-taxonomies-lists .count,
html[data-sg-theme="light"] .af-popular-taxonomies-lists .count {
    background: #fff2c9 !important;
    border-color: var(--sg-gold) !important;
    color: #6f4a00 !important;
}

/* Obrázky a náhľady vo widgetoch môžu zostať tmavé. */
html[data-sg-theme="light"] .widget img,
html[data-sg-theme="light"] .widget .post-thumbnail,
html[data-sg-theme="light"] .widget [class*="thumb"] {
    border-color: var(--sg-border) !important;
}

/* Pätička – posledné prefarbenie textov a oddeľovačov */
html[data-sg-theme="light"] .sg-footer,
html[data-sg-theme="light"] .sg-footer__grid,
html[data-sg-theme="light"] .sg-footer__brand,
html[data-sg-theme="light"] .sg-footer__grid > div {
    color: #2f3439 !important;
    border-color: var(--sg-border) !important;
}

html[data-sg-theme="light"] .sg-footer__brand p,
html[data-sg-theme="light"] .sg-footer__brand small,
html[data-sg-theme="light"] .sg-footer-menu a,
html[data-sg-theme="light"] .sg-social-links a {
    color: #41474e !important;
    opacity: 1 !important;
}

html[data-sg-theme="light"] .sg-footer-menu a:hover,
html[data-sg-theme="light"] .sg-social-links a:hover {
    color: var(--sg-gold-dark) !important;
}
