/* Dedicated glossary styles: no selectors outside this article. */
#rk-recnik { --recnik-ink:#382f29; --recnik-green:#1c493c; --recnik-line:#ddcfbd; }
#rk-recnik [hidden] { display:none !important; }
#rk-recnik .rk-clanak__opening-copy { align-self:stretch; display:flex; flex-direction:column; }
#rk-recnik .rk-clanak__opening-tags { margin-top:auto; }
#rk-recnik .rk-clanak__life-kicker { margin-bottom:.7rem; }
#rk-recnik .rk-clanak__life-line { height:.6rem; margin:.2rem 0 .2rem 1.25rem; }
#rk-recnik .rk-clanak__takeaway h3 { color:#fff5ed; }
#rk-recnik .rk-recnik__tools { margin:2rem 0; padding:1.5rem; border:1px solid var(--recnik-line); border-radius:16px; background:#fffaf2; }
#rk-recnik .rk-recnik__tools h2 { margin:0 0 .6rem; font-size:1.6rem; color:var(--recnik-ink); }
#rk-recnik .rk-recnik__hint { margin:0 0 1rem; color:#62554a; font-size:.92rem; line-height:1.65; }
#rk-recnik .rk-recnik__search label { display:block; margin-bottom:.45rem; color:var(--recnik-ink); font-weight:700; }
#rk-recnik .rk-recnik__search-row { display:flex; gap:.65rem; }
#rk-recnik input { width:100%; min-width:0; min-height:48px; box-sizing:border-box; border:1px solid #ae9b82; border-radius:8px; padding:.7rem .85rem; background:#fff; color:#302b26; font:inherit; }
#rk-recnik .rk-recnik__reset { flex-shrink:0; border:1px solid var(--recnik-green); border-radius:8px; padding:.6rem .85rem; color:var(--recnik-green); background:#fff; cursor:pointer; font-family:inherit; font-weight:700; font-size:.85rem; line-height:1.3; }
#rk-recnik .rk-recnik__status { margin:.75rem 0 1rem; font-size:.82rem; color:#665848; }
#rk-recnik .rk-recnik__alphabet { display:flex; flex-wrap:wrap; gap:.4rem; }
#rk-recnik .rk-recnik__alphabet a,#rk-recnik .rk-recnik__alphabet span { display:inline-flex; align-items:center; justify-content:center; min-width:40px; min-height:42px; box-sizing:border-box; padding:.4rem .55rem; border:1px solid var(--recnik-line); border-radius:7px; background:#fff; color:var(--recnik-green); font-weight:700; line-height:1.2; text-decoration:none; }
#rk-recnik .rk-recnik__alphabet span { color:#998f84; background:#f0ebe2; }
#rk-recnik .rk-recnik__alphabet a:hover { color:#fff; background:var(--recnik-green); border-color:var(--recnik-green); }
#rk-recnik a:focus-visible,#rk-recnik button:focus-visible,#rk-recnik input:focus-visible { outline:3px solid #b4863e; outline-offset:3px; }
#rk-recnik .rk-recnik__group { margin:2.1rem 0 2.5rem; }
#rk-recnik .rk-recnik__group-head { display:flex; align-items:baseline; justify-content:space-between; gap:1rem; border-bottom:2px solid #b49b72; margin-bottom:1.1rem; padding-bottom:.6rem; }
#rk-recnik .rk-recnik__group h3 { margin:0; color:var(--recnik-green); font-size:2.15rem; line-height:1.2; }
#rk-recnik .rk-recnik__back { font-size:.74rem; color:#725b3b; text-decoration:underline; }
#rk-recnik .rk-recnik__entries { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; align-items:start; margin:0; }
#rk-recnik .rk-recnik__entry { min-width:0; padding:1.25rem; border:1px solid var(--recnik-line); border-top:3px solid #b49b72; border-radius:11px; background:#fffdfa; }
#rk-recnik .rk-recnik__entry dt { margin:0 0 .7rem; color:var(--recnik-ink); font-size:1.1rem; font-weight:800; line-height:1.4; scroll-margin-top:110px; }
#rk-recnik dfn { font-style:normal; }
#rk-recnik dd { margin:0; }
#rk-recnik .rk-recnik__entry p { margin:0 0 .8rem; color:#4d443b; font-size:.94rem; line-height:1.75; }
#rk-recnik .rk-recnik__entry .rk-recnik__example { padding-left:.8rem; border-left:2px solid #d7c3a2; color:#77624c; font-size:.83rem; line-height:1.65; }
#rk-recnik .rk-recnik__related { display:inline-block; color:var(--recnik-green); font-size:.8rem; line-height:1.6; font-weight:700; text-decoration:underline; text-underline-offset:3px; overflow-wrap:anywhere; }
#rk-recnik .rk-recnik__group h3,#rk-recnik .rk-recnik__tools { scroll-margin-top:110px; }
#rk-recnik .rk-recnik__empty { margin:1.5rem 0; padding:1rem; border-left:3px solid #b49b72; background:#fffaf2; }
@media(max-width:767px) {
  #rk-recnik .rk-clanak__opening-copy { display:block; }
  #rk-recnik .rk-recnik__tools { padding:1rem; }
  #rk-recnik .rk-recnik__entries { grid-template-columns:minmax(0,1fr); }
  #rk-recnik .rk-recnik__entry { padding:1rem; }
  #rk-recnik .rk-recnik__search-row { flex-wrap:wrap; }
  #rk-recnik .rk-recnik__reset { min-height:44px; }
  #rk-recnik .rk-recnik__tools h2 { font-size:1.35rem; }
  #rk-recnik .rk-recnik__alphabet { gap:.35rem; }
  #rk-recnik .rk-recnik__alphabet a,#rk-recnik .rk-recnik__alphabet span { min-width:38px; }
}

/* A quiet hover accent for glossary cards on devices with a precise pointer. */
@media (min-width:768px) and (hover:hover) and (pointer:fine) {
  #rk-recnik .rk-recnik__entry {
    transition:transform 200ms ease,box-shadow 200ms ease,border-color 200ms ease;
  }
  #rk-recnik .rk-recnik__entry:hover {
    transform:translateY(-3px);
    box-shadow:0 7px 18px rgba(28,73,60,.12);
    border-color:#829c89;
    border-top-color:var(--recnik-green);
  }
}
@media (prefers-reduced-motion:reduce) {
  #rk-recnik .rk-recnik__entry { transition:none; }
  #rk-recnik .rk-recnik__entry:hover { transform:none; }
}
