/* Scoped exclusively to [toplifikacija_brzi_linkovi] markup. */
.ths-quick-links {
  --ths-accent: #237fbe;
  --ths-ink: #172b3c;
  --ths-muted: #647789;
  --ths-border: #e5ebf0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  clear: both;
  margin: 0 auto;
  padding: 10px 0;
}
.ths-quick-links, .ths-quick-links * { box-sizing: border-box; }
.ths-quick-links__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  min-width: 0;
}
.ths-quick-links__card,
.ths-quick-links__card:link,
.ths-quick-links__card:visited {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-width: 0;
  min-height: 144px;
  gap: 14px;
  padding: 21px 17px 20px;
  border: 1px solid var(--ths-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(18, 47, 72, .055);
  overflow: hidden;
  color: var(--ths-ink);
  text-decoration: none !important;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.ths-quick-links__card::before {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 1px;
  width: 4px;
  background: var(--ths-accent);
  border-radius: 13px 0 0 13px;
  opacity: .9;
}
.ths-quick-links__icon {
  display: inline-flex;
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  color: var(--ths-accent);
  background: color-mix(in srgb, var(--ths-accent) 10%, white);
}
@supports not (color: color-mix(in srgb, red 10%, white)) {
  .ths-quick-links__icon { background: #eaf4fa; }
}
.ths-quick-links__icon svg { display: block; width: 22px; height: 22px; }
.ths-quick-links__copy { display: flex; flex: 1 1 auto; min-width: 0; flex-direction: column; gap: 7px; }
.ths-quick-links__title,
.ths-quick-links__card:hover .ths-quick-links__title {
  display: block;
  margin: 0;
  font-family: inherit;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--ths-accent);
  overflow-wrap: anywhere;
}
.ths-quick-links__description {
  display: block;
  margin: 0;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--ths-muted);
  overflow-wrap: anywhere;
}
.ths-quick-links__arrow { display: flex; align-self: flex-start; align-items: center; flex: 0 0 18px; margin: 2px -3px 0 0; color: var(--ths-accent); opacity: .75; }
.ths-quick-links__arrow svg { display: block; }
.ths-quick-links__card:hover, .ths-quick-links__card:focus-visible {
  border-color: var(--ths-accent);
  box-shadow: 0 10px 28px rgba(18, 47, 72, .12);
  transform: translateY(-2px);
  color: var(--ths-ink);
}
.ths-quick-links__card:focus-visible { outline: 3px solid var(--ths-accent); outline-offset: 3px; }

/* Alternative restrained design: no background shadow. */
.ths-quick-links--linije .ths-quick-links__grid { gap: 0; }
.ths-quick-links--linije .ths-quick-links__card,
.ths-quick-links--linije .ths-quick-links__card:link,
.ths-quick-links--linije .ths-quick-links__card:visited {
  min-height: 125px;
  padding: 20px 18px;
  background: transparent;
  box-shadow: none;
  border: 0;
  border-right: 1px solid var(--ths-border);
  border-radius: 0;
}
.ths-quick-links--linije .ths-quick-links__card:last-child { border-right: 0; }
.ths-quick-links--linije .ths-quick-links__card::before { display: none; }
.ths-quick-links--linije .ths-quick-links__card:hover,
.ths-quick-links--linije .ths-quick-links__card:focus-visible { background: #f7fafc; transform: none; }

@media (max-width: 1100px) and (min-width: 701px) {
  .ths-quick-links__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ths-quick-links--linije .ths-quick-links__card:nth-child(2n) { border-right: 0; }
  .ths-quick-links--linije .ths-quick-links__card { border-bottom: 1px solid var(--ths-border); }
}
@media (max-width: 700px) {
  /* Floating left-side contact tabs are already present on this website.
     Leave a small safe gutter so their 44px wide badges won't cover titles. */
  .ths-quick-links { padding: 8px 10px 8px 46px; }
  .ths-quick-links--no-offset { padding-left: 10px; }
  .ths-quick-links__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ths-quick-links__card,
  .ths-quick-links__card:link,
  .ths-quick-links__card:visited {
    min-height: 86px;
    padding: 14px 12px 14px 14px;
    gap: 11px;
    border-radius: 12px;
    align-items: center;
  }
  .ths-quick-links__card::before { top: 1px; bottom: 1px; left: 1px; width: 4px; border-radius: 11px 0 0 11px; }
  .ths-quick-links__icon { width: 35px; height: 35px; flex-basis: 35px; border-radius: 9px; }
  .ths-quick-links__icon svg { width: 19px; height: 19px; }
  .ths-quick-links__copy { gap: 5px; }
  .ths-quick-links__title { font-size: 15px; line-height: 1.25; }
  .ths-quick-links__description { font-size: 12px; line-height: 1.42; }
  .ths-quick-links__arrow { align-self: center; margin: 0 -3px 0 0; }
  .ths-quick-links--linije .ths-quick-links__grid { gap: 0; }
  .ths-quick-links--linije .ths-quick-links__card,
  .ths-quick-links--linije .ths-quick-links__card:link,
  .ths-quick-links--linije .ths-quick-links__card:visited {
    min-height: 80px;
    padding: 12px;
    border: 0;
    border-bottom: 1px solid var(--ths-border);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ths-quick-links__card { transition: none; }
  .ths-quick-links__card:hover, .ths-quick-links__card:focus-visible { transform: none; }
}
