/* SomGeek – svetlá téma pre vlastnú stránku archívu redaktora. */

html[data-sg-theme="light"] body.author,
html[data-sg-theme="light"] body.author .sg-main {
    background: #f4f1ea !important;
    background-image: none !important;
    color: #202428 !important;
}

html[data-sg-theme="light"] body.author .sg-author-archive-header,
html[data-sg-theme="light"] body.author .sg-archive-card,
html[data-sg-theme="light"] body.author .sg-archive-sidebar-box,
html[data-sg-theme="light"] body.author .sg-archive-empty {
    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.author .sg-author-archive-header {
    border-left-color: var(--sg-gold) !important;
}

html[data-sg-theme="light"] body.author .sg-author-archive-header::after {
    color: rgba(32, 36, 40, 0.035) !important;
}

html[data-sg-theme="light"] body.author .sg-author-archive-avatar {
    background: #f7f3ea !important;
    border-color: var(--sg-gold) !important;
    box-shadow: 0 10px 24px rgba(55, 45, 29, 0.12) !important;
}

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

html[data-sg-theme="light"] body.author .sg-archive-description,
html[data-sg-theme="light"] body.author .sg-archive-description p,
html[data-sg-theme="light"] body.author .sg-archive-card__excerpt,
html[data-sg-theme="light"] body.author .sg-archive-empty p {
    color: #505860 !important;
}

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

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

html[data-sg-theme="light"] body.author .sg-archive-card__media,
html[data-sg-theme="light"] body.author .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.author .sg-archive-categories small {
    background: #f7f3ea !important;
    border-color: var(--sg-border) !important;
    color: #5f6770 !important;
}

html[data-sg-theme="light"] body.author .sg-archive-categories a:hover,
html[data-sg-theme="light"] body.author .sg-archive-latest h3 a:hover,
html[data-sg-theme="light"] body.author .sg-archive-card h2 a:hover {
    color: var(--sg-gold-dark) !important;
}

html[data-sg-theme="light"] body.author .sg-pagination .page-numbers {
    background: #ffffff !important;
    border-color: var(--sg-border) !important;
    color: #202428 !important;
}

html[data-sg-theme="light"] body.author .sg-pagination .page-numbers.current,
html[data-sg-theme="light"] body.author .sg-pagination .page-numbers:hover {
    background: var(--sg-gold) !important;
    border-color: var(--sg-gold) !important;
    color: #06080a !important;
}

/* Široké karty ostávajú obrazové, preto na nich musí byť svetlý text aj v light téme. */
html[data-sg-theme="light"] body.author .sg-archive-card--wide h2,
html[data-sg-theme="light"] body.author .sg-archive-card--wide h2 a {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.78) !important;
}

html[data-sg-theme="light"] body.author .sg-archive-card--wide h2 a:hover {
    color: #f3c64f !important;
}

html[data-sg-theme="light"] body.author .sg-archive-card--wide .sg-archive-card__media::after {
    background:
        linear-gradient(90deg, rgba(4, 7, 10, 0.94) 0%, rgba(4, 7, 10, 0.72) 48%, rgba(4, 7, 10, 0.18) 100%),
        linear-gradient(0deg, rgba(4, 7, 10, 0.97) 0%, transparent 68%) !important;
}
