/* Readable topics and articles, with all primary links in the initial HTML. */
.cheers-knowledge-search { max-width: 780px; margin: 0 0 44px; }
.cheers-knowledge-search label { display: block; font-size: 17px; font-weight: 600; margin-bottom: 12px; }
.cheers-knowledge-search > div { display: flex; gap: 12px; }
.cheers-knowledge-search input[type=search] { flex: 1 1 auto; min-width: 0; border: 1px solid #a5a5ad; border-radius: 12px; padding: 13px 16px; background: #fff; }
.cheers-knowledge-search .cheers-button { flex: 0 0 auto; }
.cheers-knowledge-topics { margin: 0 0 48px; }
.cheers-knowledge-topics ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.cheers-knowledge-topics li { min-width: 0; }
.cheers-knowledge-topics a { display: flex; flex-direction: column; position: relative; height: 100%; padding: 24px 48px 24px 24px; border: 1px solid var(--cheers-border); border-radius: 16px; color: var(--cheers-ink); text-decoration: none; }
.cheers-knowledge-topics strong { font-size: 24px; margin-bottom: 8px; }
.cheers-knowledge-topics span { font-size: 15px; line-height: 1.6; color: var(--cheers-muted); }
.cheers-knowledge-topics a:hover { border-color: var(--cheers-accent); background: var(--cheers-soft); }
.cheers-knowledge-topics .cheers-topic-arrow { position: absolute; right: 20px; top: 25px; color: var(--cheers-ink); font-size: 24px; }
.cheers-knowledge-related { margin: 42px 0 48px; max-width: 900px; }
.cheers-knowledge-related ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--cheers-border); }
.cheers-knowledge-related li { margin: 0; border-bottom: 1px solid var(--cheers-border); }
.cheers-knowledge-related a { display: block; min-height: 48px; padding: 15px 0; font-size: 18px; line-height: 1.55; color: var(--cheers-ink); text-underline-offset: .2em; }
.cheers-knowledge-editorial { margin: 64px 0 0; padding: 28px 32px; max-width: 960px; border-radius: 18px; background: var(--cheers-soft); }
.cheers-knowledge-editorial p { color: var(--cheers-muted); }
.cheers-knowledge-editorial p:last-child { margin: 0; }
.cheers-knowledge-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; font-size: 14px; line-height: 1.6; color: var(--cheers-muted); }
.cheers-knowledge-breadcrumbs a { color: var(--cheers-ink); }
.cheers-knowledge-breadcrumbs [aria-current] { overflow-wrap: anywhere; }
.cheers-knowledge-reading,.cheers-knowledge-hub { width: 100%; max-width: 900px; min-width: 0; }
.cheers-knowledge-toc { padding: 22px 26px; margin: 28px 0 36px; border: 1px solid var(--cheers-border); border-radius: 14px; }
.cheers-knowledge-toc ol { padding-left: 22px; margin: 12px 0 0; }
.cheers-knowledge-toc a { display: block; padding: 4px 0; font-size: 16px; }
.cheers-knowledge-reading h2[id] { scroll-margin-top: 120px; }
.cheers-knowledge-reading p,.cheers-knowledge-reading li,.cheers-knowledge-hub p,.cheers-knowledge-hub li { line-height: 1.8; }
.cheers-knowledge-reading > p:first-of-type,.cheers-knowledge-hub > p:first-of-type { font-size: 19px; line-height: 1.75; }
.cheers-knowledge-reading h2,.cheers-knowledge-hub h2 { font-size: clamp(25px,3vw,34px); line-height: 1.3; margin: 44px 0 20px; letter-spacing: -.025em; }
.cheers-knowledge-reading h3,.cheers-knowledge-hub h3 { font-size: clamp(20px,2.4vw,25px); line-height: 1.4; margin: 28px 0 14px; }
.cheers-knowledge-reading a,.cheers-knowledge-hub a { text-underline-offset: .2em; overflow-wrap: anywhere; }
.cheers-knowledge-reading .cheers-article-summary,.cheers-knowledge-hub .cheers-article-summary { padding: 22px 26px; margin: 0 0 28px; background: var(--cheers-soft); border-left: 3px solid var(--cheers-accent); border-radius: 0 12px 12px 0; }
.cheers-knowledge-reading .cheers-article-summary p:last-child { margin-bottom: 0; }
.cheers-table-scroll { max-width: 100%; overflow-x: auto; margin: 24px 0; border: 1px solid var(--cheers-border); border-radius: 12px; overscroll-behavior-x: contain; }
.cheers-table-scroll table { width: 100%; min-width: 540px; border-collapse: collapse; margin: 0; font-size: 15px; line-height: 1.6; }
.cheers-table-scroll th,.cheers-table-scroll td { padding: 14px 16px; border: 0; border-bottom: 1px solid var(--cheers-border); text-align: left; vertical-align: top; }
.cheers-table-scroll th { font-weight: 600; background: var(--cheers-soft); }
.cheers-table-scroll caption { padding: 12px 16px; text-align: left; font-weight: 600; caption-side: top; }
.cheers-knowledge-reading #zrodla,.cheers-knowledge-reading #pytania,.cheers-knowledge-hub [id] { scroll-margin-top: 120px; }
.cheers-knowledge-editorial-link,.cheers-knowledge-archive-back { margin: 28px 0; }
.cheers-knowledge-reading #toc_container { width: 100%; max-width: 100%; box-sizing: border-box; float: none; padding: 22px 26px; margin: 28px 0 36px; border: 1px solid var(--cheers-border); border-radius: 14px; background: #fff; font-size: 16px; }
.cheers-knowledge-reading #toc_container .toc_title { text-align: left; font-weight: 600; margin: 0; }
.cheers-knowledge-reading #toc_container .toc_list { margin-top: 12px; }
.cheers-knowledge-reading #toc_container a { display: block; padding: 4px 0; }
@media (max-width: 780px) {
 .cheers-knowledge-topics ul { grid-template-columns: minmax(0,1fr); gap: 12px; }
 .cheers-knowledge-topics a { padding: 18px 48px 18px 20px; }
 .cheers-knowledge-topics strong { font-size: 21px; }
}
@media (max-width: 480px) {
 .cheers-knowledge-search > div { flex-direction: column; }
 .cheers-knowledge-editorial { padding: 22px; margin-top: 42px; }
 .cheers-knowledge-related a { font-size: 16px; }
 .cheers-knowledge-reading .cheers-article-summary,.cheers-knowledge-hub .cheers-article-summary { padding: 18px; }
 .cheers-knowledge-toc,.cheers-knowledge-reading #toc_container { padding: 18px; }
 .cheers-table-scroll th,.cheers-table-scroll td { padding: 10px; }
 .cheers-table-scroll table { font-size: 14px; }
}
