/* SomGeek – finálne zjednotenie svetlej témy */

html[data-sg-theme="light"] {
    --sg-bg: #f4f1e9;
    --sg-bg-soft: #ebe6db;
    --sg-panel: #ffffff;
    --sg-panel-raised: #fbf9f4;
    --sg-panel-soft: #f0ebe1;
    --sg-border: #cfc6b6;
    --sg-border-soft: #e1d9cb;
    --sg-text: #1c2024;
    --sg-muted: #656d76;
    --sg-muted-dark: #7b8289;
}

html[data-sg-theme="light"] body,
html[data-sg-theme="light"] body.custom-background,
html[data-sg-theme="light"] .sg-site-body,
html[data-sg-theme="light"] .sg-main,
html[data-sg-theme="light"] .sg-home,
html[data-sg-theme="light"] .sg-content-layout,
html[data-sg-theme="light"] .sg-content-main,
html[data-sg-theme="light"] .sg-sidebar {
    color: var(--sg-text) !important;
}

/* Horná lišta, vyhľadávanie a menu */
html[data-sg-theme="light"] .sg-header,
html[data-sg-theme="light"] .sg-search-panel,
html[data-sg-theme="light"] .sg-nav .sub-menu,
html[data-sg-theme="light"] .sg-menu .sub-menu {
    background: #ffffff !important;
    background-image: none !important;
}

html[data-sg-theme="light"] .sg-header,
html[data-sg-theme="light"] .sg-search-panel,
html[data-sg-theme="light"] .sg-nav .sub-menu,
html[data-sg-theme="light"] .sg-menu .sub-menu,
html[data-sg-theme="light"] .sg-theme-toggle,
html[data-sg-theme="light"] .sg-icon-button {
    border-color: var(--sg-border) !important;
}

html[data-sg-theme="light"] .sg-menu > li > a,
html[data-sg-theme="light"] .sg-nav ul > li > a,
html[data-sg-theme="light"] .sg-more-toggle,
html[data-sg-theme="light"] .sg-search-toggle,
html[data-sg-theme="light"] .sg-theme-toggle {
    color: #202428 !important;
}

/* Breaking news a platformy */
html[data-sg-theme="light"] .sg-breaking,
html[data-sg-theme="light"] .sg-platforms,
html[data-sg-theme="light"] .sg-community-links {
    background: linear-gradient(180deg, #ffffff, #f7f3eb) !important;
    border-color: var(--sg-border) !important;
    box-shadow: 0 10px 28px rgba(55, 45, 29, 0.08) !important;
}

html[data-sg-theme="light"] .sg-breaking__label,
html[data-sg-theme="light"] .sg-breaking__items,
html[data-sg-theme="light"] .sg-breaking__items a,
html[data-sg-theme="light"] .sg-breaking__items span,
html[data-sg-theme="light"] .sg-platforms a,
html[data-sg-theme="light"] .sg-community-links > a {
    color: #2a2e33 !important;
    border-color: var(--sg-border) !important;
}

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

/* Obsah titulnej stránky */
html[data-sg-theme="light"] .sg-home .sg-section-heading,
html[data-sg-theme="light"] .sg-home .sg-sidebar-box > h2,
html[data-sg-theme="light"] .sg-home .sg-category-column > h2 {
    border-color: var(--sg-border) !important;
}

html[data-sg-theme="light"] .sg-home .sg-section-heading h2,
html[data-sg-theme="light"] .sg-home .sg-sidebar-box > h2,
html[data-sg-theme="light"] .sg-home .sg-category-column > h2 {
    color: #202428 !important;
}

html[data-sg-theme="light"] .sg-home .sg-story-card,
html[data-sg-theme="light"] .sg-home .sg-video-card,
html[data-sg-theme="light"] .sg-home .sg-category-column,
html[data-sg-theme="light"] .sg-home .sg-sidebar-box,
html[data-sg-theme="light"] .sg-home .sg-ranking,
html[data-sg-theme="light"] .sg-home .sg-popular-list,
html[data-sg-theme="light"] .sg-home .sg-release-box,
html[data-sg-theme="light"] .sg-home .sg-community-box,
html[data-sg-theme="light"] .sg-home .sg-partners {
    background: #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.09) !important;
}

html[data-sg-theme="light"] .sg-home .sg-story-card__body,
html[data-sg-theme="light"] .sg-home .sg-video-card h3,
html[data-sg-theme="light"] .sg-home .sg-mini-story,
html[data-sg-theme="light"] .sg-home .sg-ranking li,
html[data-sg-theme="light"] .sg-home .sg-popular-list li,
html[data-sg-theme="light"] .sg-home .sg-release-box li {
    background: transparent !important;
    border-color: var(--sg-border-soft) !important;
}

html[data-sg-theme="light"] .sg-home .sg-story-card h3,
html[data-sg-theme="light"] .sg-home .sg-story-card h3 a,
html[data-sg-theme="light"] .sg-home .sg-video-card h3,
html[data-sg-theme="light"] .sg-home .sg-video-card h3 a,
html[data-sg-theme="light"] .sg-home .sg-mini-story h3,
html[data-sg-theme="light"] .sg-home .sg-mini-story h3 a,
html[data-sg-theme="light"] .sg-home .sg-ranking li,
html[data-sg-theme="light"] .sg-home .sg-ranking li a,
html[data-sg-theme="light"] .sg-home .sg-popular-list h3,
html[data-sg-theme="light"] .sg-home .sg-popular-list h3 a,
html[data-sg-theme="light"] .sg-home .sg-release-box li span,
html[data-sg-theme="light"] .sg-home .sg-sidebar-box p,
html[data-sg-theme="light"] .sg-home .sg-category-column p,
html[data-sg-theme="light"] .sg-home .sg-more-link,
html[data-sg-theme="light"] .sg-home .sg-category-column__more {
    color: #2a2e33 !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

html[data-sg-theme="light"] .sg-home .sg-meta,
html[data-sg-theme="light"] .sg-home .sg-meta span,
html[data-sg-theme="light"] .sg-home .sg-meta time,
html[data-sg-theme="light"] .sg-home .sg-meta a,
html[data-sg-theme="light"] .sg-home .sg-popular-list time,
html[data-sg-theme="light"] .sg-home .sg-release-box time {
    color: #707780 !important;
}

html[data-sg-theme="light"] .sg-home .sg-more-link,
html[data-sg-theme="light"] .sg-home .sg-category-column__more {
    background: #f8f4eb !important;
    border-color: var(--sg-border) !important;
}

html[data-sg-theme="light"] .sg-home .sg-more-link:hover,
html[data-sg-theme="light"] .sg-home .sg-category-column__more:hover {
    background: #fff0bd !important;
    border-color: var(--sg-gold) !important;
    color: var(--sg-gold-dark) !important;
}

/* Špeciálna rubrika Spoločenské hry zostane tematická, ale bude svetlá. */
html[data-sg-theme="light"] .sg-home .sg-category-columns > .sg-category-column:nth-child(6) {
    background-color: #ffffff !important;
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(250, 246, 237, 0.96)),
        url("../images/categories/spolocenske-hry-bg.png") !important;
    border-color: var(--sg-border) !important;
    box-shadow: 0 12px 30px rgba(55, 45, 29, 0.09) !important;
}

html[data-sg-theme="light"] .sg-home .sg-category-columns > .sg-category-column:nth-child(6) > h2,
html[data-sg-theme="light"] .sg-home .sg-category-columns > .sg-category-column:nth-child(6) .sg-mini-story h3 a,
html[data-sg-theme="light"] .sg-home .sg-category-columns > .sg-category-column:nth-child(6) .sg-category-column__more {
    color: #25292e !important;
    text-shadow: none !important;
}

/* Obrázkové dlaždice ostanú tmavé len na samotnom obrázku. */
html[data-sg-theme="light"] .sg-media-card,
html[data-sg-theme="light"] .sg-story-card__media,
html[data-sg-theme="light"] .sg-video-card__media,
html[data-sg-theme="light"] .sg-mini-story__media,
html[data-sg-theme="light"] .sg-popular-list__thumb,
html[data-sg-theme="light"] .sg-archive-card--wide {
    background-color: #111820 !important;
    color: #ffffff !important;
}

html[data-sg-theme="light"] .sg-media-card h1,
html[data-sg-theme="light"] .sg-media-card h2,
html[data-sg-theme="light"] .sg-media-card h1 a,
html[data-sg-theme="light"] .sg-media-card h2 a,
html[data-sg-theme="light"] .sg-archive-card--wide h2,
html[data-sg-theme="light"] .sg-archive-card--wide h2 a {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9) !important;
}

/* Partneri a komunita */
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,
html[data-sg-theme="light"] .sg-partner-ticker__track,
html[data-sg-theme="light"] .sg-partner-ticker__group {
    background-color: transparent !important;
    border-color: var(--sg-border) !important;
}

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: #2a2e33 !important;
}

/* Články */
html[data-sg-theme="light"] body.single-post .sg-article-page,
html[data-sg-theme="light"] body.single-post .sg-article-layout {
    background: transparent !important;
}

html[data-sg-theme="light"] body.single-post .sg-article,
html[data-sg-theme="light"] body.single-post .sg-article-sidebar,
html[data-sg-theme="light"] body.single-post .sg-article-sidebar .widget,
html[data-sg-theme="light"] body.single-post .sg-author-box,
html[data-sg-theme="light"] body.single-post .sg-related,
html[data-sg-theme="light"] body.single-post .sg-comments {
    background: #ffffff !important;
    background-image: none !important;
    border-color: var(--sg-border) !important;
    color: var(--sg-text) !important;
}

html[data-sg-theme="light"] body.single-post .sg-article-header,
html[data-sg-theme="light"] body.single-post .sg-article-content,
html[data-sg-theme="light"] body.single-post .sg-article-content p,
html[data-sg-theme="light"] body.single-post .sg-article-content li,
html[data-sg-theme="light"] body.single-post .sg-article-content dd,
html[data-sg-theme="light"] body.single-post .sg-article-content dt,
html[data-sg-theme="light"] body.single-post .sg-article-lead {
    color: #2a2e33 !important;
}

html[data-sg-theme="light"] body.single-post .sg-article-title,
html[data-sg-theme="light"] body.single-post .sg-article-content h2,
html[data-sg-theme="light"] body.single-post .sg-article-content h3,
html[data-sg-theme="light"] body.single-post .sg-article-content h4,
html[data-sg-theme="light"] body.single-post .sg-article-content h5,
html[data-sg-theme="light"] body.single-post .sg-article-content h6,
html[data-sg-theme="light"] body.single-post .sg-author-box h2,
html[data-sg-theme="light"] body.single-post .sg-related h2 {
    color: #171a1e !important;
}

html[data-sg-theme="light"] body.single-post .sg-article-content blockquote,
html[data-sg-theme="light"] body.single-post .sg-article-content table,
html[data-sg-theme="light"] body.single-post .sg-article-content th,
html[data-sg-theme="light"] body.single-post .sg-article-content td,
html[data-sg-theme="light"] body.single-post .sg-article-tags a {
    background: #f7f3ea !important;
    border-color: var(--sg-border) !important;
    color: #25292e !important;
}

/* Archívy, informačné stránky a kalendár */
html[data-sg-theme="light"] .sg-archive-page,
html[data-sg-theme="light"] .sg-tag-archive,
html[data-sg-theme="light"] .sg-info-page,
html[data-sg-theme="light"] .sg-release-calendar-page {
    background: transparent !important;
}

html[data-sg-theme="light"] .sg-archive-header,
html[data-sg-theme="light"] .sg-archive-card:not(.sg-archive-card--wide),
html[data-sg-theme="light"] .sg-info-content,
html[data-sg-theme="light"] .sg-info-sidebar,
html[data-sg-theme="light"] .sg-info-card,
html[data-sg-theme="light"] .sg-team-card {
    background: #ffffff !important;
    background-image: none !important;
    border-color: var(--sg-border) !important;
    color: var(--sg-text) !important;
}

html[data-sg-theme="light"] .sg-archive-header h1,
html[data-sg-theme="light"] .sg-archive-card:not(.sg-archive-card--wide) h2,
html[data-sg-theme="light"] .sg-archive-card:not(.sg-archive-card--wide) h2 a,
html[data-sg-theme="light"] .sg-info-content h1,
html[data-sg-theme="light"] .sg-info-content h2,
html[data-sg-theme="light"] .sg-info-content h3,
html[data-sg-theme="light"] .sg-team-card h2,
html[data-sg-theme="light"] .sg-team-card h3 {
    color: #202428 !important;
}

html[data-sg-theme="light"] .sg-release-calendar-table-wrap,
html[data-sg-theme="light"] .sg-release-calendar-table,
html[data-sg-theme="light"] .sg-release-calendar-table tbody tr {
    background: #ffffff !important;
}

html[data-sg-theme="light"] .sg-release-calendar-table tbody tr:nth-child(even) {
    background: #f8f4eb !important;
}

html[data-sg-theme="light"] .sg-release-calendar-table tbody tr:hover {
    background: #fff0bd !important;
}

html[data-sg-theme="light"] .sg-release-calendar-table th {
    background: #e9e1d2 !important;
    color: #6f4a00 !important;
}

html[data-sg-theme="light"] .sg-release-calendar-table td,
html[data-sg-theme="light"] .sg-release-calendar-page__status,
html[data-sg-theme="light"] .sg-release-calendar-page__heading h2,
html[data-sg-theme="light"] .sg-release-calendar-page__heading p {
    color: #25292e !important;
}

/* Pätička */
html[data-sg-theme="light"] .sg-footer,
html[data-sg-theme="light"] footer.site-footer,
html[data-sg-theme="light"] #colophon,
html[data-sg-theme="light"] .sg-footer__top,
html[data-sg-theme="light"] .sg-footer__bottom {
    background: #e9e3d8 !important;
    background-image: none !important;
    border-color: var(--sg-border) !important;
    color: #34383d !important;
}

html[data-sg-theme="light"] .sg-footer a,
html[data-sg-theme="light"] footer.site-footer a,
html[data-sg-theme="light"] #colophon a,
html[data-sg-theme="light"] .sg-footer p,
html[data-sg-theme="light"] .sg-footer li {
    color: #34383d !important;
}

html[data-sg-theme="light"] .sg-footer h2,
html[data-sg-theme="light"] .sg-footer h3,
html[data-sg-theme="light"] footer.site-footer h2,
html[data-sg-theme="light"] footer.site-footer h3 {
    color: #171a1e !important;
}

@media (max-width: 980px) {
    html[data-sg-theme="light"] .sg-nav {
        background: #ffffff !important;
        border-color: var(--sg-border) !important;
    }
}
