/* Wissen, Suche, Beitrag, Glossar-Eintrag: Filter, Suchfeld und Artikelkarten. Nur die drei Schriftgrößen, nur vorhandene Farben. */

/* Filter nach Thema: Knöpfe im Stil der Sprungmarken */
.filter { margin: 0; padding: 0; border: 0; min-width: 0; }
.filter legend { padding: 0; margin-bottom: .75rem; font-size: var(--t-klein); font-weight: 500; color: var(--tinte-2); }
.filter button {
  margin: 0 .5rem .5rem 0; padding: .5rem .9rem; border: 1px solid var(--tinte); border-radius: 999px; background: none;
  font: 500 var(--t-klein) var(--schrift); color: var(--tinte-2); cursor: pointer;
}
.filter button:hover, .filter button[aria-pressed="true"] { background: var(--tinte); color: var(--weiss); }
.filter button:focus-visible { outline: 2px solid var(--blau); outline-offset: 3px; }

/* Artikelkarten: Meta unter dem Bild; in der Suche steht der Titel als h2 in Textgröße */
.artikel__bild + p { margin-top: .9rem; }
.artikel h2 { margin-top: .3rem; font-size: var(--t-h3); font-weight: 600; line-height: 1.25; }
.artikel:hover h2 { text-decoration: underline; }

/* Suchfeld: Eingabe und Knopf in einer Zeile */
.kform--suche { margin-top: 0; max-width: 40rem; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.kform input[type="search"] {
  width: 100%; font: 400 var(--t-text)/1.4 var(--schrift); color: var(--tinte-2);
  padding: .7rem .8rem; background: var(--weiss); border: 1px solid #b6c2d6; border-radius: 2px;
}
.kform input[type="search"]:focus-visible { outline: 2px solid var(--blau); outline-offset: 2px; }
.kform--suche .kform__senden { margin-bottom: .1rem; }
.such-hinweis { font-size: var(--t-klein); font-weight: 500; color: var(--tinte-2); }

/* Glossar-Teaser auf der Wissen-Seite */
.abschnitt__inhalt h3 { margin-top: 2rem; }

/* Beitrag und Glossar-Eintrag: Text in der schmalen Spalte, Rückweg als Knopf */
.seite-wissen .recht .abschnitt__link { margin-top: 1rem; }
@media (max-width: 560px) { .kform--suche { grid-template-columns: 1fr; } }
