/* Keynote Speaker One: Fachbegriff-Notizen */
.post-content .kns-fw,
.post-content a.kns-fw {
  position: relative;
  color: inherit;
  text-decoration: underline dotted;
  text-decoration-color: rgba(196, 148, 58, .85);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  cursor: help;
  border-radius: 3px;
  transition: background-color .18s ease, text-decoration-color .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.post-content a.kns-fw { cursor: pointer; opacity: 1; }
.post-content .kns-fw:hover,
.post-content .kns-fw[data-offen] {
  background: rgba(196, 148, 58, .13);
  text-decoration-color: #C4943A;
  opacity: 1;
}
.post-content .kns-fw:focus { outline: none; }
.post-content .kns-fw:focus-visible { outline: 2px solid #C4943A; outline-offset: 2px; }
@media (pointer: coarse) {
  .post-content .kns-fw::after { content: ""; position: absolute; left: -6px; right: -6px; top: -9px; bottom: -9px; }
}

.kns-karte {
  position: absolute;
  z-index: 9000;
  left: 0; top: 0;
  box-sizing: border-box;
  width: max-content;
  max-width: min(280px, calc(100vw - 16px));
  padding: .8rem .95rem .85rem;
  background: #0B0B0A;
  color: #F3F2EE;
  border: 1px solid #2A2A28;
  border-top: 2px solid #C4943A;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(11, 11, 10, .30), 0 2px 6px rgba(11, 11, 10, .18);
  font: inherit;
  font-size: .875rem;
  line-height: 1.5;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px) scale(.985);
  transition: opacity .16s ease, transform .16s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .16s;
}
.kns-karte[data-seite="oben"] { transform: translateY(-6px) scale(.985); }
.kns-karte.kns-auf {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: opacity .16s ease, transform .16s cubic-bezier(.2, .8, .2, 1), visibility 0s;
}
.kns-karte.kns-misst { visibility: hidden; transition: none; }
.kns-kopf {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.2;
  color: #D9AE5E;
  margin: 0 0 .3rem;
}
.kns-text { margin: 0; font-size: .875rem; line-height: 1.5; color: rgba(243, 242, 238, .86); }
.kns-mehr {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .6rem;
  padding: .15rem 0;
  font-size: .8125rem;
  font-weight: 600;
  color: #D9AE5E;
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 174, 94, .45);
}
.kns-mehr::after { content: "\2192"; transition: transform .16s ease; }
.kns-mehr:hover::after, .kns-mehr:focus-visible::after { transform: translateX(3px); }
.kns-mehr:focus-visible { outline: 2px solid #D9AE5E; outline-offset: 3px; border-radius: 3px; }
@media (pointer: coarse) { .kns-mehr { padding: .5rem 0; min-height: 24px; } }
.kns-pfeil {
  position: absolute;
  left: var(--kns-ax, 20px);
  width: 10px; height: 10px;
  margin-left: -5px;
  background: #0B0B0A;
  transform: rotate(45deg);
  border: 1px solid #2A2A28;
}
.kns-karte[data-seite="unten"] .kns-pfeil { top: -7px; border-right: 0; border-bottom: 0; background: #C4943A; border-color: #C4943A; }
.kns-karte[data-seite="oben"] .kns-pfeil { bottom: -6px; border-left: 0; border-top: 0; }
@media (prefers-reduced-motion: reduce) {
  .kns-karte, .kns-karte.kns-auf { transition: none; transform: none; }
  .post-content .kns-fw { transition: none; }
}
@media print { .kns-karte { display: none; } }
