/* Темы и словарь «Так как ТЭК» — поверх общей базы страниц данных (fuel.css) */
.tke { display: grid; gap: 28px; }
.tke-topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 16px; }
.tke-topic { text-decoration: none; color: var(--tk-ink, #16181B); gap: .5rem; }
.tke-topic:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--tk-ink, #16181B); }
.tke-topic-title { font-family: var(--tf-display); font-weight: 800; font-size: 1.2rem; line-height: 1.15; }
.tke-topic-about { color: #30363C; font-size: .92rem; }
.tke-topic-meta { color: var(--tf-muted); font-size: .82rem; }

.tke-known ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .6rem; }
.tke-known li { line-height: 1.45; }
.tke-src { font-size: .85rem; white-space: nowrap; }
.tke-next { margin: .9rem 0 0; padding-top: .7rem; border-top: 1.5px dashed var(--tf-rule); }
.tke-upd { margin: .6rem 0 0; color: var(--tf-muted); font-size: .85rem; }
.tke-data { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 16px; }
.tke-data-link { text-decoration: none; color: var(--tk-ink, #16181B); }
.tke-data-link b { font-family: var(--tf-display); font-size: 1.05rem; line-height: 1.2; }

.tke-abc { display: flex; flex-wrap: wrap; gap: 6px; }
.tke-abc a { min-width: 2.2rem; text-align: center; padding: 4px 8px; border: var(--tf-border); border-radius: 10px; background: var(--tf-surface);
  text-decoration: none; font-weight: 700; color: var(--tk-ink, #16181B); }
.tke-abc a:hover { background: var(--tk-ink, #16181B); color: #fff; }
.tke-letter { scroll-margin-top: 16px; }
.tke-terms { margin: 0; display: grid; gap: .8rem; }
.tke-terms div { display: grid; gap: .15rem; padding-bottom: .8rem; border-bottom: 1.5px dashed var(--tf-rule); }
.tke-terms dt a { font-weight: 800; font-size: 1.08rem; }
.tke-terms dt small { color: var(--tf-muted); font-size: .85rem; }
.tke-terms dd { margin: 0; color: #30363C; }

.tke-term .tke-body { max-width: 68ch; font-size: 1.08rem; line-height: 1.6; }
.tke-related ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .45rem; max-width: 72ch; }
.tke-related small { color: var(--tf-muted); }

/* Ссылка на словарь в тексте новости: заметная, но не кричащая */
a.tk-term { color: inherit; text-decoration: underline dotted; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a.tk-term:hover { text-decoration-style: solid; color: var(--tk-ink, #16181B); }
