/* OG Blog theme toggle (2026-12-06). Default = light (Medium-like); dark = the original og-blog.css look.
   <html data-ogb-theme="light|dark"> is set before paint by og-theme.php from localStorage "ogb-theme".
   Every light rule is prefixed with html[data-ogb-theme="light"], so dark mode is the untouched original. */

/* ---------- toggle button (both modes) ---------- */
.ogp-nav button.ogt-toggle{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;margin:0;
  background:transparent;border:1px solid rgba(255,255,255,.28);border-radius:999px;color:rgba(255,255,255,.85);cursor:pointer;
  line-height:1;box-shadow:none;transition:border-color .2s,color .2s}
.ogp-nav button.ogt-toggle:hover,.ogp-nav button.ogt-toggle:focus-visible{background:transparent;border-color:#e82127;color:#fff}
.ogp-nav button.ogt-toggle svg{width:16px;height:16px;display:block}

/* ---------- intro block (both modes) ---------- */
html body.ogb.single-post .entry-content .og-intro{background:var(--ogb-card);border:1px solid var(--ogb-line);border-radius:10px;
  padding:1.5em 1.7em .15em;margin:0 0 2.4em}
html body.ogb.single-post .entry-content .og-intro p.og-lead{margin-bottom:1.1em}
html body.ogb.single-post .entry-content .og-intro figure{margin-top:1.2em}
@media (max-width:640px){
  html body.ogb.single-post .entry-content .og-intro{padding:1.15em 1.1em .1em}
}

/* ---------- light palette ---------- */
html[data-ogb-theme="light"] body.ogb{
  --ogb-text:#242424;--ogb-head:#191919;--ogb-muted:#6b6b6b;--ogb-faint:#8a8a8a;--ogb-line:#e6e6e6;--ogb-card:#f6f6f4;
  color:#242424;
}
html[data-ogb-theme="light"],html[data-ogb-theme="light"] body,html[data-ogb-theme="light"] body.single-post{background:#fff !important}
html[data-ogb-theme="light"] body.ogb ::selection{background:rgba(232,33,39,.2);color:inherit}

/* nav + footer (Customizer CSS) */
html[data-ogb-theme="light"] .ogp-nav{background:rgba(255,255,255,.92);border-bottom-color:#e6e6e6}
html[data-ogb-theme="light"] .ogp-logo{color:#191919 !important}
html[data-ogb-theme="light"] .ogp-navlinks a{color:rgba(0,0,0,.6) !important}
html[data-ogb-theme="light"] .ogp-navlinks a:hover,html[data-ogb-theme="light"] .ogp-navlinks .ogp-back{color:#191919 !important}
html[data-ogb-theme="light"] .ogp-nav button.ogt-toggle{border-color:rgba(0,0,0,.2);color:#3a3a3a}
html[data-ogb-theme="light"] .ogp-nav button.ogt-toggle:hover,html[data-ogb-theme="light"] .ogp-nav button.ogt-toggle:focus-visible{border-color:#e82127;color:#000}
html[data-ogb-theme="light"] .ogp-foot{background:#fff;border-top-color:#e6e6e6;color:#6b6b6b}
html[data-ogb-theme="light"] .ogp-foot a{color:#191919 !important}
html[data-ogb-theme="light"] .ogp-foot a:hover{color:#e82127 !important}
html[data-ogb-theme="light"] .ogp-motto{color:#6b6b6b}
html[data-ogb-theme="light"] #ast-scroll-top{background-color:#fff !important;color:#191919 !important;border-color:rgba(0,0,0,.3)}
html[data-ogb-theme="light"] #ast-scroll-top .ast-icon.icon-arrow svg{fill:#191919 !important}

/* single post */
html[data-ogb-theme="light"] body.ogb.single-post .ast-container a{color:inherit}
html[data-ogb-theme="light"] body.ogb .entry-content a.ogb-tr{color:#242424;border-color:#d4d4d4}
html[data-ogb-theme="light"] body.ogb .entry-content a.ogb-tr:hover{color:#000;border-color:var(--ogb-accent)}
html[data-ogb-theme="light"] body.ogb .ogb-langs,html[data-ogb-theme="light"] body.ogb .ogb-langs > * + *{border-color:#d4d4d4}
html[data-ogb-theme="light"] body.ogb .entry-content .ogb-langs a{color:#242424}
html[data-ogb-theme="light"] body.ogb .entry-content .ogb-langs a:hover,
html[data-ogb-theme="light"] body.ogb .entry-content .ogb-langs a:focus-visible{color:#000;background:#f2f2f2}
html[data-ogb-theme="light"] body.ogb .ogb-langs .ogb-lang-cur{background:#191919;color:#fff}
html[data-ogb-theme="light"] body.ogb.single-post .entry-content p.og-lead{color:#555}
html[data-ogb-theme="light"] body.ogb.single-post .entry-content strong,
html[data-ogb-theme="light"] body.ogb.single-post .entry-content b{color:#191919}
html[data-ogb-theme="light"] body.ogb.single-post .entry-content h4,
html[data-ogb-theme="light"] body.ogb.single-post .entry-content h5,
html[data-ogb-theme="light"] body.ogb.single-post .entry-content h6{color:var(--ogb-head)}
html[data-ogb-theme="light"] body.ogb.single-post .entry-content a{text-decoration-color:rgba(0,0,0,.35)}
html[data-ogb-theme="light"] body.ogb.single-post .entry-content a:hover{color:#000;text-decoration-color:var(--ogb-accent)}
html[data-ogb-theme="light"] body.ogb.single-post .entry-content blockquote.wp-block-quote{border-left-color:#242424;color:#444}
html[data-ogb-theme="light"] body.ogb.single-post .entry-content blockquote.wp-block-quote p{color:#444}
html[data-ogb-theme="light"] body.ogb.single-post .entry-content figure.wp-block-pullquote p{color:#191919}
html[data-ogb-theme="light"] body.ogb.single-post .entry-content figcaption,
html[data-ogb-theme="light"] body.ogb.single-post .entry-content .wp-element-caption{color:#6b6b6b !important}
html[data-ogb-theme="light"] body.ogb.single-post .entry-content hr:not(.wp-block-separator){border-top-color:#e6e6e6}
html[data-ogb-theme="light"] body.ogb.single-post .entry-content code{background:#f2f2f2;border-color:#e3e3e3;color:#242424}
html[data-ogb-theme="light"] body.ogb.single-post .entry-content pre.wp-block-code,
html[data-ogb-theme="light"] body.ogb.single-post .entry-content pre{background:#f7f7f7;border-color:#e3e3e3}
html[data-ogb-theme="light"] body.ogb.single-post .entry-content pre.wp-block-code code{background:none;border:0}
html[data-ogb-theme="light"] body.ogb.single-post .entry-content .og-table table{color:#242424}
html[data-ogb-theme="light"] body.ogb.single-post .entry-content .og-table th,
html[data-ogb-theme="light"] body.ogb.single-post .entry-content .og-table td{border-bottom-color:#e6e6e6}
html[data-ogb-theme="light"] body.ogb.single-post .entry-content .og-table th{color:#000;border-bottom-color:#bdbdbd}
html[data-ogb-theme="light"] body.ogb.single-post .entry-content .og-table td[colspan]{color:#000}
html[data-ogb-theme="light"] body.ogb.single-post .entry-content p.og-linkcard{border-color:#e0e0e0}
html[data-ogb-theme="light"] body.ogb .entry-content .ogp-share a,
html[data-ogb-theme="light"] body.ogb .ogp-share .ogp-copy{color:#242424 !important;border-color:#d4d4d4}
html[data-ogb-theme="light"] body.ogb .entry-content .ogp-share a.ogp-backjournal{color:#191919 !important;border-color:var(--ogb-accent)}
html[data-ogb-theme="light"] body.ogb .ogp-rel-img{background:#f0f0f0}
html[data-ogb-theme="light"] body.ogb .ogp-rel-title{color:#242424}
html[data-ogb-theme="light"] body.ogb a.ogp-rel-card:hover .ogp-rel-title{color:#000}
html[data-ogb-theme="light"] body.ogb .ogp-rel-img:empty{background:radial-gradient(120% 90% at 0% 0%,#fbe3e4 0%,#f3f3f3 55%,#efefef 100%)}
html[data-ogb-theme="light"] body.ogb .ogp-rel-img:empty::after{color:rgba(0,0,0,.25)}

/* archives: /blog/, /sk/, /en/ */
html[data-ogb-theme="light"] .ogb-eyebrow{color:rgba(0,0,0,.5)}
html[data-ogb-theme="light"] .ogb-atitle{color:#191919}
html[data-ogb-theme="light"] .ogb-asub{color:#555}
html[data-ogb-theme="light"] .ogb-chips a{border-color:#d6d6d6;color:#333 !important}
html[data-ogb-theme="light"] .ogb-chips a span{color:#888}
html[data-ogb-theme="light"] .ogb-chips a:hover{border-color:#999}
html[data-ogb-theme="light"] .ogb-chips a.is-on{background:#191919;border-color:#191919;color:#fff !important}
html[data-ogb-theme="light"] .ogb-chips a.is-on span{color:#bbb}
html[data-ogb-theme="light"] .ogb-item{border-top-color:#ececec}
html[data-ogb-theme="light"] .ogb-item--feat{border-top:0}
html[data-ogb-theme="light"] .ogb-lang{color:#444;border-color:#ccc}
html[data-ogb-theme="light"] .ogb-item-title{color:#191919}
html[data-ogb-theme="light"] .ogb-item-ex{color:#6b6b6b}
html[data-ogb-theme="light"] .ogb-item-img{background:#f0f0f0}
html[data-ogb-theme="light"] .ogb-pages{border-top-color:#ececec}
html[data-ogb-theme="light"] .ogb-pages .page-numbers{border-color:#d6d6d6;color:#333 !important}
html[data-ogb-theme="light"] .ogb-pages .page-numbers.current{background:#191919;border-color:#191919;color:#fff !important}
html[data-ogb-theme="light"] .ogb-pages a.page-numbers:hover{border-color:#999}
html[data-ogb-theme="light"] .ogb-pages .dots{border:0}
