/* Scientific vocabulary: a calm reading surface for both site themes. */
.flk-term-hero { padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(135deg, var(--surface-2), var(--surface)); }
.flk-term-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; margin-block: 12px 20px; }
.flk-term-hero > p { max-width: 68ch; line-height: 2; }
.flk-term-hero > p:last-child { color: var(--teal-ink); font-size: .9rem; font-weight: 700; }
.flk-term-filter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(140px, .45fr) auto; gap: 16px; align-items: end; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); margin-block: 20px 28px; }
.flk-term-filter label { display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: .85rem; }
.flk-term-filter input, .flk-term-filter select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 46px; font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.flk-term-filter input:focus-visible, .flk-term-filter select:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 3px; }
.flk-term-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 18px; }
.flk-term-list li { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; }
.flk-term-list li > a { display: block; padding: 24px; height: 100%; box-sizing: border-box; }
.flk-term-list b { display: block; font-size: 1.55rem; font-weight: 900; color: var(--fg); margin-bottom: 8px; }
.flk-term-list small { display: block; color: var(--teal-ink); }
.flk-term-list p { margin-bottom: 0; font-size: .95rem; line-height: 1.95; color: var(--muted); }
.flk-term-entry .flk-bk-sub { font-size: clamp(1.25rem, 3vw, 1.8rem); font-weight: 800; letter-spacing: .025em; color: var(--teal-ink); }
.flk-term-entry h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; }
@media (max-width: 640px) { .flk-term-filter { grid-template-columns: 1fr; padding: 18px; } .flk-term-filter button { width: 100%; } .flk-term-hero { border-radius: 18px; } }

.flk-term-entry .flk-bk-img { aspect-ratio: 8 / 3; object-fit: contain; }
