

:root {
  --hl-modra: var(--dark-color2, #2583DB);
  --hl-tmava: var(--dark-color, #2F3541);
  --hl-akcent: var(--theme-color, #E3572B);
  --hl-svetla: var(--theme-color3, #EBF9FF);
}

.im-nas {

  position: fixed; z-index: 2147483000;
  font-family: var(--body-font, Roboto), Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #fff; border-radius: 16px; padding: 8px;
  border: 1px solid rgba(37, 131, 219, .16);
  box-shadow: 0 26px 60px -26px rgba(21, 58, 84, .5);
  max-height: min(70vh, 560px); overflow: auto; overscroll-behavior: contain;
}
.im-nas[hidden] { display: none; }

.im-nas__pol {
  display: flex; gap: 12px; align-items: center; padding: 10px 12px;
  border-radius: 12px; text-decoration: none; color: var(--hl-tmava);
}
.im-nas__pol:hover, .im-nas__pol.is-on { background: var(--hl-svetla); color: var(--hl-tmava); }
.im-nas__pol:focus-visible { outline: 2px solid var(--hl-modra); outline-offset: -2px; }

.im-nas__obr {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 9px; overflow: hidden;
  background: var(--hl-svetla); display: grid; place-items: center; color: var(--hl-modra);
}
.im-nas__obr img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.im-nas__obr svg { width: 20px; height: 20px; }

.im-nas__text { min-width: 0; flex: 1; }
.im-nas__nazev {
  display: block; font-size: 14.5px; font-weight: 700; line-height: 1.35;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.im-nas__pod {
  display: block; font-size: 12.5px; line-height: 1.45; color: #5B6472; margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.im-nas__druh {
  flex: 0 0 auto; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #1A5FA0; background: rgba(37, 131, 219, .12); border-radius: 7px; padding: 4px 8px;
}
.im-nas mark { background: rgba(227, 87, 43, .18); color: inherit; border-radius: 3px; padding: 0 1px; }

.im-nas__vse {
  display: block; margin-top: 6px; padding: 11px 12px; border-top: 1px solid #eef1f4;
  font-size: 13.5px; font-weight: 700; color: #C2410C; text-decoration: none; text-align: center;
}
.im-nas__vse:hover { text-decoration: underline; color: #9A3309; }
.im-nas__nic { padding: 18px 12px; text-align: center; font-size: 14px; color: #5B6472; }

.search-popup .form-group { position: relative; }

@media (max-width: 767px) {
  .im-nas__pod { white-space: normal; }
}

.im-hl {
  --hl-ink: #2F3541;
  margin: 160px 80px 90px; color: var(--hl-ink);

  font-family: var(--body-font, Roboto), Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.im-hl * { box-sizing: border-box; }

.im-hl-hero {
  position: relative; overflow: hidden; border-radius: 20px; padding: 44px 46px 46px;
  background: linear-gradient(100deg, #4190BB 0%, #93CCE7 100%);
}
.im-hl-hero__text { max-width: 70ch; position: relative; }
.im-hl-crumb { margin: 0 0 10px; font-size: 13.5px; color: rgba(255, 255, 255, .92); }
.im-hl-crumb a { color: #fff; font-weight: 600; text-decoration: none; }
.im-hl-crumb a:hover { text-decoration: underline; }
.im-hl-crumb span { margin: 0 6px; opacity: .7; }
.im-hl-h1 {
  margin: 0 0 18px; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; color: #fff;
  text-shadow: 0 2px 6px rgba(21, 58, 84, .3); text-wrap: balance;
}
.im-hl-dotaz { display: inline-block; }

.im-hl-form { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 30; }
.im-hl-form__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.im-hl .im-hl-form__vstup {
  flex: 1 1 320px; min-width: 0; height: 52px; padding: 0 18px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .5); background: #fff !important; background-image: none !important;
  font: inherit; font-size: 16px; color: var(--hl-ink) !important; box-shadow: none;
}
.im-hl .im-hl-form__vstup::placeholder { color: #7c8794; opacity: 1; }
.im-hl .im-hl-form__vstup:focus,
.im-hl .im-hl-form__vstup:hover,
.im-hl .im-hl-form__vstup:active {
  background: #fff !important; background-image: none !important; color: var(--hl-ink) !important;
}
.im-hl .im-hl-form__vstup:-webkit-autofill {
  -webkit-text-fill-color: var(--hl-ink); box-shadow: 0 0 0 1000px #fff inset;
}
.im-hl-form__vstup:focus { outline: 3px solid rgba(255, 255, 255, .75); outline-offset: 1px; }
.im-hl-form__btn {
  height: 52px; padding: 0 26px; border: 0; border-radius: 12px; cursor: pointer;
  background: #C2410C; color: #fff; font: inherit; font-size: 15.5px; font-weight: 700;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.im-hl-form__btn:hover { background: #9A3309; transform: translateY(-1px); box-shadow: 0 14px 26px -16px rgba(0, 0, 0, .5); }
.im-hl-souhrn { margin: 16px 0 0; font-size: 15px; color: #fff; }

.im-hl-zalozky { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 0; }
.im-hl-zalozka {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px;
  background: #fff; border: 1px solid rgba(37, 131, 219, .16); color: var(--hl-ink);
  font-size: 14.5px; font-weight: 600; text-decoration: none; transition: background .18s, border-color .18s, color .18s;
}
.im-hl-zalozka span {
  font-size: 12.5px; font-weight: 700; color: #5B6472; background: #F1F6FA; border-radius: 6px; padding: 2px 7px;
}
.im-hl-zalozka:hover { border-color: rgba(37, 131, 219, .4); color: var(--hl-ink); }
.im-hl-zalozka.is-on { background: var(--hl-tmava); border-color: var(--hl-tmava); color: #fff; }
.im-hl-zalozka.is-on span { background: rgba(255, 255, 255, .18); color: #fff; }

.im-hl-vysledky {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(430px, 1fr));
}
.im-hl-karta {
  background: #fff; border: 1px solid rgba(37, 131, 219, .14); border-radius: 18px; overflow: hidden;
  transition: border-color .2s, transform .2s cubic-bezier(.22, 1, .36, 1);
}
.im-hl-karta { height: 100%; }
.im-hl-karta__odkaz { display: flex; gap: 14px; padding: 14px 16px; text-decoration: none; color: inherit; align-items: flex-start; height: 100%; }
.im-hl-karta__obr {
  flex: 0 0 64px; width: 64px; height: 64px; border-radius: 10px; overflow: hidden;
  background: var(--hl-svetla); display: grid; place-items: center; color: var(--hl-modra);
}
.im-hl-karta__obr img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.im-hl-karta__obr svg { width: 24px; height: 24px; }
.im-hl-karta__telo { min-width: 0; display: block; }
.im-hl-karta__hlava { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.im-hl-karta__druh {
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #1A5FA0; background: rgba(37, 131, 219, .12); border-radius: 6px; padding: 3px 7px;
}
.im-hl-karta__stitek, .im-hl-karta__datum { font-size: 12.5px; color: #5B6472; }
.im-hl-karta__nazev { display: block; font-size: 16.5px; font-weight: 700; line-height: 1.3; color: var(--hl-tmava); }
.im-hl-karta__vyryv {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: 4px; font-size: 14px; line-height: 1.55; color: #414956;
}
.im-hl-karta__cil {
  display: block; margin-top: 6px; font-size: 12px; color: #67707E;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.im-hl mark { background: rgba(227, 87, 43, .2); color: inherit; border-radius: 3px; padding: 0 2px; }

@media (hover: hover) {
  .im-hl-karta:hover { border-color: rgba(37, 131, 219, .42); transform: translateY(-2px); }
  .im-hl-karta:hover .im-hl-karta__nazev { color: var(--hl-akcent); }
}
.im-hl-karta__odkaz:focus-visible { outline: 3px solid var(--hl-modra); outline-offset: -3px; border-radius: 18px; }

.im-hl-strany { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.im-hl-strana {
  min-width: 42px; height: 42px; padding: 0 12px; border-radius: 11px; display: inline-flex;
  align-items: center; justify-content: center; background: #fff; border: 1px solid rgba(37, 131, 219, .16);
  color: var(--hl-ink); text-decoration: none; font-weight: 600;
}
.im-hl-strana.is-on { background: var(--hl-tmava); border-color: var(--hl-tmava); color: #fff; }

.im-hl-zprava, .im-hl-nic {
  margin-top: 20px; background: #fff; border: 1px solid rgba(37, 131, 219, .14); border-radius: 18px; padding: 30px 34px;
}
.im-hl-zprava h2, .im-hl-nic h2 { margin: 0 0 8px; font-size: clamp(20px, 2vw, 25px); color: var(--hl-tmava); font-weight: 600; }
.im-hl-zprava p, .im-hl-nic p { margin: 0; font-size: 15.8px; line-height: 1.7; color: #414956; }
.im-hl-nic__pod { margin-top: 18px !important; font-weight: 600; color: var(--hl-tmava) !important; }
.im-hl-tipy { list-style: none; margin: 12px 0 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.im-hl-tipy a {
  display: inline-block; padding: 9px 15px; border-radius: 11px; background: var(--hl-svetla);
  color: var(--hl-tmava); text-decoration: none; font-size: 14.5px; font-weight: 600;
}
.im-hl-tipy a:hover { background: #C2410C; color: #fff; }
.im-hl-btn {
  display: inline-flex; margin-top: 22px; padding: 13px 24px; border-radius: 12px;
  background: #C2410C; color: #fff; text-decoration: none; font-weight: 700;
}
.im-hl-btn:hover { background: #9A3309; color: #fff; }

@media (max-width: 1100px) { .im-hl { margin: 140px 40px 70px; } }
@media (max-width: 767px) {
  .im-hl { margin: 123px 20px 50px; }
  .im-hl-hero { padding: 28px 20px 30px; }
  .im-hl-zprava, .im-hl-nic { padding: 24px 20px; }
  .im-hl-vysledky { grid-template-columns: 1fr; }
  .im-hl-karta__odkaz { gap: 12px; padding: 14px; }
  .im-hl-karta__obr { flex: 0 0 52px; width: 52px; height: 52px; }
  .im-hl-form__btn { flex: 1 1 auto; }
}
