/* JobsTrail DS — port HitPrace.cz css/hp-ds.css (Hyperlink Heat). Všechna pravidla jsou pod
   body.hp-ds; bez body.hp-ds (flag $JT_DS_ENABLED vypnutý) se nic neuplatní.
   Generováno skriptem port_ds_css.py z reference + ruční JobsTrail dodatky na konci souboru
   (sekce „JobsTrail additions“). HitPrace-only komponenty (account strip, oblíbené, profil,
   firma, JMI, mzdový listing) jsou vynechané. Bez textů v content: — jazykové řetězce jen
   přes attr() z PHP (translationDictionary). */

/* Scoped redesign. Všechna pravidla jsou pod body.hp-ds.
   Na www se body.hp-ds nepřidává, takže se nic z toho neuplatní. */

body.hp-ds,
body.hp-ds.loaded,
body.hp-ds #main-wrapper {
  background: var(--hp-ds-color-page);
  color: var(--hp-ds-color-ink);
  font-family: var(--hp-ds-font);
}

body.hp-ds button,
body.hp-ds input,
body.hp-ds select,
body.hp-ds textarea,
body.hp-ds summary,
body.hp-ds .btn,
body.hp-ds h1,
body.hp-ds h2,
body.hp-ds h3,
body.hp-ds h4,
body.hp-ds h5,
body.hp-ds h6,
body.hp-ds .h1,
body.hp-ds .h2,
body.hp-ds .h3,
body.hp-ds .h4,
body.hp-ds .h5,
body.hp-ds .h6 {
  font-family: var(--hp-ds-font);
}

body.hp-ds #page-content {
  background: transparent;
  box-shadow: none;
  margin-top: 0;
}

body.hp-ds #page-content > .container,
body.hp-ds #header .header-nav-bar > .container:not(#mobile-menu-container),
body.hp-ds .hp-ds-continue,
body.hp-ds #footer.hp-ds-foot > .container,
body.hp-ds #footer.hp-ds-foot .copyright > .container {
  max-width: var(--hp-ds-container);
}

body.hp-ds .page-content.hp-home {
  padding-top: 0;
  padding-bottom: 8px;
}

/* Header — jeden hlavní řádek, účet je tichý podřádek */

body.hp-ds #header {
  background: var(--hp-ds-color-surface);
}

body.hp-ds #header .header-nav-bar {
  background: var(--hp-ds-color-surface);
  border-bottom: 1px solid var(--hp-ds-color-border);
  box-shadow: none;
}

body.hp-ds #header .header-nav-bar > .container:not(#mobile-menu-container) {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  max-width: var(--hp-ds-container);
}

body.hp-ds #header .css-table.logo {
  float: none;
  flex: 0 0 auto;
  height: auto;
  display: flex;
  align-items: center;
}

body.hp-ds #header .css-table.logo img {
  display: block;
  height: 38px;
  width: auto;
}

@media (min-width: 992px) {
  body.hp-ds #header nav.schovatnamobilu {
    display: flex;
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
    margin-left: 8px;
  }

  body.hp-ds #header .primary-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    float: none;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
  }

  body.hp-ds #header .primary-nav > li {
    float: none;
    display: flex;
    align-items: center;
    margin: 0;
  }

  body.hp-ds #header .header-nav-bar .primary-nav > li > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: auto;
    box-sizing: border-box;
    color: var(--hp-ds-color-ink-2);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    padding: 8px 8px;
    border: 0;
    border-bottom: 0;
    text-decoration: none;
    border-radius: 8px;
    white-space: nowrap;
  }

  body.hp-ds #header .primary-nav > li > a:hover,
  body.hp-ds #header .primary-nav > li > a:focus {
    color: var(--hp-ds-color-brand);
    background: var(--hp-ds-color-brand-soft);
    text-decoration: none;
  }

  body.hp-ds #header .primary-nav > li:last-child {
    flex-shrink: 0;
    margin-left: 8px;
  }

  body.hp-ds #header .header-nav-bar .primary-nav > li:last-child > a {
    align-self: center;
    height: auto;
    line-height: 20px;
    background: #fff;
    color: var(--hp-ds-color-brand);
    border: 1px solid var(--hp-ds-color-brand-line);
    margin-left: 0;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 700;
  }

  body.hp-ds #header .primary-nav > li:last-child > a:hover,
  body.hp-ds #header .primary-nav > li:last-child > a:focus {
    background: var(--hp-ds-color-brand-soft);
    color: var(--hp-ds-color-brand);
    border-color: var(--hp-ds-color-brand);
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  body.hp-ds #header .header-nav-bar > .container:not(#mobile-menu-container) {
    gap: 8px;
  }

  body.hp-ds #header .css-table.logo img {
    height: 34px;
  }

  body.hp-ds #header .primary-nav {
    gap: 0;
  }

  body.hp-ds #header .primary-nav > li:last-child {
    margin-left: 4px;
  }

  body.hp-ds #header .header-nav-bar .primary-nav > li > a {
    font-size: 12.5px;
    padding: 8px 5px;
  }

  body.hp-ds #header .header-nav-bar .primary-nav > li:last-child > a {
    padding: 7px 10px;
    font-size: 13px;
  }
}

@media (max-width: 991px) {
  body.hp-ds #header .header-nav-bar > .container:not(#mobile-menu-container) {
    min-height: 60px;
    gap: 8px;
    padding-top: 0;
    padding-bottom: 0;
  }

  body.hp-ds #header .css-table.logo img {
    height: 32px;
  }

  body.hp-ds #mobile-menu-toggle {
    position: relative;
    float: none;
    order: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    flex: none;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    line-height: 1;
  }

  body.hp-ds #mobile-menu-toggle span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    margin: 0;
    transform: translate(-50%, -5px);
    background: var(--hp-ds-color-ink-2);
  }

  body.hp-ds #mobile-menu-toggle span:before,
  body.hp-ds #mobile-menu-toggle span:after {
    background: var(--hp-ds-color-ink-2);
    height: 2px;
  }
}

body.hp-ds #mobile-menu-container.hp-mobile-menu-open {
  background: var(--hp-ds-color-surface-2);
  padding: 8px 16px 20px;
}

body.hp-ds #mobile-menu-container .primary-nav {
  margin: 8px 0 0;
  padding: 6px 0 0;
  border-top: 1px solid var(--hp-ds-color-border);
}

body.hp-ds #mobile-menu-container .primary-nav > li {
  float: none;
  display: block;
  margin: 0;
  border-bottom: 1px solid var(--hp-ds-color-border);
}

body.hp-ds #mobile-menu-container .primary-nav > li > a,
body.hp-ds #mobile-menu-container .primary-nav > li > a:hover,
body.hp-ds #mobile-menu-container .primary-nav > li > a:focus {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 4px;
  background: transparent;
  color: var(--hp-ds-color-ink);
  font-size: 16px !important;
  font-weight: 700;
  line-height: 1.3 !important;
  text-decoration: none;
}

body.hp-ds #mobile-menu-container .primary-nav > li:last-child {
  margin-top: 12px;
  border-bottom: 0;
}

body.hp-ds #mobile-menu-container .primary-nav > li:last-child > a,
body.hp-ds #mobile-menu-container .primary-nav > li:last-child > a:hover,
body.hp-ds #mobile-menu-container .primary-nav > li:last-child > a:focus {
  display: flex;
  justify-content: center;
  min-height: 48px;
  margin: 0;
  padding: 12px 16px;
  background: #fff;
  color: var(--hp-ds-color-brand);
  border: 1px solid var(--hp-ds-color-brand-line);
  border-radius: var(--hp-ds-radius-sm);
  font-size: 15px !important;
  font-weight: 700;
}

body.hp-ds.hp-ds-search-focus .sticky-similar-wrapper,
body.hp-ds:has(#mobile-menu-container.hp-mobile-menu-open) .sticky-similar-wrapper {
  visibility: hidden;
  pointer-events: none;
}

/* Hero — jen homepage. Funkční vstup, ne billboard. */

body.hp-ds .hp-ds-hero {
  position: relative;
  z-index: 4;
  margin: 0 0 4px;
  padding: 18px 0 14px;
  background: transparent;
  border-radius: 0;
}

body.hp-ds .hp-ds-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
  background: var(--hp-ds-color-hero);
  border-bottom: 1px solid var(--hp-ds-color-hero-line);
}

body.hp-ds .hp-ds-hero > * {
  position: relative;
  z-index: 1;
}

body.hp-ds .hp-ds-hero__title {
  margin: 0 0 10px;
  color: var(--hp-ds-color-ink);
  font-size: var(--hp-ds-font-hero);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

@media (min-width: 768px) {
  body.hp-ds .hp-ds-hero {
    padding: 26px 0 20px;
    margin-bottom: 8px;
  }

  body.hp-ds .hp-ds-hero__title {
    margin-bottom: 14px;
  }
}

/* Search — jedna komponenta pro homepage, listing i detail.
   Mobil: [lokalita + okruh] / [profese | Najít]. Desktop: jeden řádek.
   DOM, id a name beze změny (sticky-search.js). */

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) {
  container: hpsearch / inline-size;
  position: relative;
  z-index: var(--hp-ds-z-search);
  overflow: visible;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: left;
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) form {
  margin: 0;
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .location-search {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: var(--hp-ds-font);
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .search-form-container {
  display: contents;
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .search-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  height: var(--hp-ds-control-h);
  margin: 0;
  padding: 0 10px 0 36px;
  overflow: visible;
  border: 1px solid var(--hp-ds-color-border-strong);
  border-radius: var(--hp-ds-radius-sm);
  background: var(--hp-ds-color-surface);
  box-shadow: var(--hp-ds-shadow-card);
}

/* Lokalita je primární: celý první řádek, výraznější rámeček, modrý špendlík. */
body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .search-container:first-child {
  order: 1;
  flex: 1 1 100%;
  border-color: var(--hp-ds-color-brand-line);
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .search-container:nth-child(2) {
  order: 2;
  flex: 1 1 0;
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .search-container:focus-within {
  z-index: 6;
  border-color: var(--hp-ds-color-brand);
  box-shadow: 0 0 0 3px var(--hp-ds-color-focus);
  outline: 0;
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .search-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 12px;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  pointer-events: none;
  background: var(--hp-ds-color-subtle);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='4.6'/%3E%3Cpath d='m10.4 10.4 3.6 3.6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='4.6'/%3E%3Cpath d='m10.4 10.4 3.6 3.6'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .search-container:first-child::before {
  background: var(--hp-ds-color-brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M8 1.4a4.4 4.4 0 0 0-4.4 4.4c0 3.1 4.4 8.4 4.4 8.4s4.4-5.3 4.4-8.4A4.4 4.4 0 0 0 8 1.4zm0 6a1.6 1.6 0 1 1 0-3.2 1.6 1.6 0 0 1 0 3.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M8 1.4a4.4 4.4 0 0 0-4.4 4.4c0 3.1 4.4 8.4 4.4 8.4s4.4-5.3 4.4-8.4A4.4 4.4 0 0 0 8 1.4zm0 6a1.6 1.6 0 1 1 0-3.2 1.6 1.6 0 0 1 0 3.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .hp-ds-ac {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  align-self: stretch;
  min-width: 0;
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .search-container input[type="text"] {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: var(--hp-ds-color-ink);
  font-family: var(--hp-ds-font);
  font-size: 16px;
  font-weight: 500;
  box-shadow: none;
  outline: 0;
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .search-container input[type="text"]::placeholder {
  color: var(--hp-ds-color-subtle);
  font-weight: 400;
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .clear-button {
  position: static;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  color: var(--hp-ds-color-subtle);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #distance-container {
  position: static;
  display: flex;
  align-items: center;
  flex: none;
  width: auto;
  height: 28px;
  margin: 0 0 0 4px;
  padding: 0 0 0 6px;
  border: 0;
  border-left: 1px solid var(--hp-ds-color-border);
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #distance {
  width: auto;
  max-width: 96px;
  height: 28px;
  margin: 0;
  padding: 0 2px;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  color: var(--hp-ds-color-ink-2);
  font-family: var(--hp-ds-font);
  font-size: 14px;
  font-weight: 600;
  box-shadow: none;
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #suggestions,
body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #suggestions-profese {
  position: absolute;
  top: calc(100% + 8px);
  left: -37px;
  right: auto;
  width: calc(100% + 47px);
  min-width: 240px;
  z-index: var(--hp-ds-z-dropdown);
  margin: 0;
  padding: 6px 0;
  border: 1px solid var(--hp-ds-color-border-strong);
  border-radius: var(--hp-ds-radius-sm);
  background: var(--hp-ds-color-surface);
  box-shadow: var(--hp-ds-shadow-pop);
  overflow-x: hidden;
  overflow-y: auto;
  max-height: min(300px, 52vh);
  font-family: var(--hp-ds-font);
  text-align: left;
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #suggestions:empty,
body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #suggestions-profese:empty {
  display: none;
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #suggestions div,
body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #suggestions-profese div {
  min-height: 40px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--hp-ds-color-divider);
  background: var(--hp-ds-color-surface);
  color: var(--hp-ds-color-ink);
  font-family: var(--hp-ds-font);
  font-size: 15px;
  line-height: 1.35;
  cursor: pointer;
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #suggestions div:last-child,
body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #suggestions-profese div:last-child {
  border-bottom: 0;
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #suggestions div:hover,
body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #suggestions-profese div:hover,
body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #suggestions div:active,
body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #suggestions-profese div:active {
  background: var(--hp-ds-color-brand-soft);
  color: var(--hp-ds-color-ink);
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .btn-search {
  order: 3;
  flex: 0 0 auto;
  align-self: stretch;
  width: auto !important;
  height: var(--hp-ds-control-h) !important;
  min-height: 0;
  margin: 0;
  padding: 0 18px;
  border: 0;
  border-radius: var(--hp-ds-radius-sm);
  background: var(--hp-ds-color-brand);
  color: #fff;
  font-family: var(--hp-ds-font);
  font-size: 16px;
  font-weight: 800 !important;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: none;
  text-shadow: none;
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .btn-search:hover,
body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .btn-search:focus {
  background: var(--hp-ds-color-brand-hover);
  color: #fff;
  box-shadow: none;
  font-size: 16px;
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .btn-search:active {
  background: var(--hp-ds-color-brand-active);
}

/* Živý počet mimo hero (listing, detail): tichý řádek pod formulářem */
body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #job-count {
  order: 4;
  flex: 1 0 100%;
  min-height: 0;
  margin: -2px 0 0;
  padding: 0;
  color: var(--hp-ds-color-muted);
  font-size: var(--hp-ds-font-meta);
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #job-count:empty {
  display: none;
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #job-count a,
body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #job-count a:hover {
  color: var(--hp-ds-color-link);
  font-size: var(--hp-ds-font-meta);
  font-weight: 600;
  text-decoration: none;
}

/* Jeden řádek až když je formulář dost široký (ne podle viewportu: listing a detail mají užší sloupec) */
@container hpsearch (min-width: 680px) {
  body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .location-search {
    gap: 10px;
  }

  body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .search-container:first-child {
    flex: 1.25 1 0;
  }

  body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .btn-search {
    padding: 0 26px;
  }
}

/* Nearby GPS prompt — jen homepage hero. Podmínky a markup se nemění.
   position musí zůstat relative: full-bleed ::before je positioned z-index 0
   a přemaluje position:static potomky. */

body.hp-ds .hp-ds-hero .hp-nearby-prompt {
  position: relative;
  z-index: 1;
  float: none;
  clear: both;
  width: 100%;
  margin: 12px 0 0;
  padding: 12px;
  border: 1px solid var(--hp-ds-color-border);
  border-radius: var(--hp-ds-radius-sm);
  background: var(--hp-ds-color-surface);
  box-shadow: none;
}

body.hp-ds .hp-ds-hero .hp-nearby-prompt__title {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

body.hp-ds .hp-ds-hero .hp-nearby-prompt__text {
  margin: 0 0 10px;
  color: var(--hp-ds-color-muted);
  font-size: 13px;
  line-height: 1.4;
}

body.hp-ds .hp-ds-hero .hp-nearby-prompt__cta {
  position: static;
  width: 100%;
  min-height: 44px;
  margin: 0 0 8px;
  padding: 10px 16px;
  border-radius: var(--hp-ds-radius-sm);
  background: var(--hp-ds-color-brand);
  box-shadow: none;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

body.hp-ds .hp-ds-hero .hp-nearby-prompt__cta:hover,
body.hp-ds .hp-ds-hero .hp-nearby-prompt__cta:focus {
  background: var(--hp-ds-color-brand-hover);
  color: #fff;
  box-shadow: none;
}

body.hp-ds .hp-ds-hero .hp-nearby-prompt__chip {
  font-size: 12px;
  font-weight: 600;
}

/* Jobs */

body.hp-ds .hp-ds-jobs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 10px;
}

body.hp-ds .hp-ds-jobs-head h2 {
  margin: 0;
  color: var(--hp-ds-color-ink);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

body.hp-ds .hp-ds-jobs-head__all {
  flex: none;
  color: var(--hp-ds-color-brand);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

body.hp-ds .hp-ds-jobs-head__all-short {
  display: none;
}

body.hp-ds .hp-ds-jobs-head__all:hover,
body.hp-ds .hp-ds-jobs-head__all:focus {
  color: var(--hp-ds-color-brand-hover);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.hp-ds .hp-ds-jobs {
  display: block;
}

body.hp-ds .hp-ds-jobs > .hp-ds-job + .hp-ds-job {
  margin-top: 6px;
}

body.hp-ds .hp-ds-jobs-cta {
  margin: 18px 0 4px;
}

body.hp-ds .hp-ds-jobs-cta .hp-ds-btn--secondary {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--hp-ds-color-brand);
  font-size: 16px;
  font-weight: 800;
}

body.hp-ds .hp-ds-jobs-cta .hp-ds-btn--secondary:hover,
body.hp-ds .hp-ds-jobs-cta .hp-ds-btn--secondary:focus {
  color: var(--hp-ds-color-brand-hover);
  background: transparent;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.hp-ds .hp-ds-jobs-cta a {
  text-decoration: none;
}

body.hp-ds .hp-ds-jobs-cta > a:not(.hp-ds-btn):not(.hp-ds-continue__link) {
  display: block;
  margin-top: 8px;
  color: var(--hp-ds-color-muted) !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none !important;
  text-underline-offset: 3px;
}

body.hp-ds .hp-ds-jobs-cta > a.hp-ds-continue__link--compact {
  display: flex;
  margin-top: 0;
  color: var(--hp-ds-color-ink);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

body.hp-ds .hp-ds-jobs-cta > a:not(.hp-ds-btn):not(.hp-ds-continue__link):hover,
body.hp-ds .hp-ds-jobs-cta > a:not(.hp-ds-btn):not(.hp-ds-continue__link):focus {
  color: var(--hp-ds-color-brand-hover) !important;
  font-size: 14px !important;
  text-decoration: underline !important;
}

body.hp-ds .hp-ds-jobs-cta .jobs-count-note {
  display: block;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--hp-ds-color-muted);
  font-size: 13px;
  font-weight: 500;
}

body.hp-ds .hp-ds-jobs-cta .jobs-count-note strong {
  font-weight: 600;
  color: var(--hp-ds-color-ink-2);
}

/* Job card — jedna karta pro homepage rail, listing, detail (doporučené) i recent.
   Úzký kontejner: název / mzda / místo + firma / štítky pod sebou.
   Široký kontejner (>= 560 px): mzda vpravo vedle názvu. Rozhoduje šířka karty,
   ne viewport, takže karta v sidebaru detailu se chová jako mobilní. */

body.hp-ds .jobs-item.hp-ds-job {
  container-type: inline-size;
  position: relative;
  display: block;
  float: none;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 10px 12px 10px;
  background: var(--hp-ds-color-surface);
  border: 1px solid var(--hp-ds-color-border);
  border-radius: var(--hp-ds-radius-sm);
  box-shadow: none;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.hp-ds .jobs-item.hp-ds-job + .jobs-item.hp-ds-job {
  margin-top: 6px;
}

body.hp-ds .hp-ds-job:hover {
  border-color: var(--hp-ds-color-brand-line);
  box-shadow: var(--hp-ds-shadow-card);
  transform: none;
}

body.hp-ds .hp-ds-job__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 3px;
  align-items: start;
  min-width: 0;
  padding-right: 34px;
}

body.hp-ds .hp-ds-job__title {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  padding: 0;
  color: var(--hp-ds-color-link);
  font-family: var(--hp-ds-font);
  font-size: var(--hp-ds-font-title);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.005em;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

body.hp-ds .hp-ds-job__pay {
  grid-column: 1;
  grid-row: 2;
  max-width: none;
  margin: 0;
  padding: 0;
  color: var(--hp-ds-color-ink);
  font-size: var(--hp-ds-font-pay);
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

body.hp-ds .hp-ds-job__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 0;
  grid-column: 1;
  grid-row: 3;
  min-width: 0;
  margin: 0;
  color: var(--hp-ds-color-muted);
  font-size: var(--hp-ds-font-meta);
  font-weight: 500;
  line-height: 1.35;
}

body.hp-ds .hp-ds-job__meta .job-meta-sep {
  display: none;
}

body.hp-ds .hp-ds-job__badges {
  grid-column: 1;
  grid-row: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 3px;
}

body.hp-ds .hp-ds-job__context {
  grid-column: 1;
  grid-row: 5;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--hp-ds-color-divider);
  color: var(--hp-ds-color-muted);
  font-size: var(--hp-ds-font-small);
  line-height: 1.4;
}

/* Vlastní stav přihlášeného kandidáta („✓ Reagovali jste 6. 10.“ / „↗ Otevřeli jste u firmy“), HitPrace hp-ds-job__state */
body.hp-ds .hp-ds-job__state-row {
  margin-top: 3px;
  line-height: 1.2;
}

body.hp-ds .hp-ds-job__state {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--hp-ds-color-muted);
}

body.hp-ds .hp-ds-job__state--ok {
  color: var(--hp-ds-color-success);
}

body.hp-ds .hp-ds-detail-state {
  margin: 0 0 12px;
}

body.hp-ds .hp-ds-job__title a.modryodkaz,
body.hp-ds .hp-ds-job__title a.modryodkaz:hover,
body.hp-ds .hp-ds-job__title a.modryodkaz:focus {
  color: var(--hp-ds-color-link) !important;
  font-size: 1em !important;
  font-weight: 700;
  text-decoration: none !important;
  text-underline-offset: 3px;
}

body.hp-ds .hp-ds-job:hover .hp-ds-job__title a.modryodkaz,
body.hp-ds .hp-ds-job__title a.modryodkaz:focus-visible {
  color: var(--hp-ds-color-brand-hover) !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
}

body.hp-ds .hp-ds-job__meta a,
body.hp-ds .hp-ds-job__meta a:hover,
body.hp-ds .hp-ds-job__meta a:focus {
  color: var(--hp-ds-color-muted) !important;
  font-size: 1em !important;
  text-decoration: none !important;
  text-underline-offset: 2px;
}

body.hp-ds .hp-ds-job__meta a:hover,
body.hp-ds .hp-ds-job__meta a:focus-visible {
  color: var(--hp-ds-color-link) !important;
  text-decoration: underline !important;
}

body.hp-ds .hp-ds-job .hp-ds-ico {
  display: inline-block;
  flex: none;
  width: 13px;
  height: 13px;
  margin: 0 5px 0 0;
  font-size: 0;
  line-height: 13px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px 13px;
}

body.hp-ds .hp-ds-job .hp-ds-ico--pin {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23718490' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.1 7-11a7 7 0 1 0-14 0c0 4.9 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E");
}

body.hp-ds .hp-ds-job .hp-ds-ico--org {
  margin-left: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23718490' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16M6 20V7l6-3 6 3v13'/%3E%3Cpath d='M10 20v-4h4v4M9 9h.01M15 9h.01M9 13h.01M15 13h.01'/%3E%3C/svg%3E");
}

/* Ověřený zaměstnavatel: v úzké kartě jen zelená fajfka (text čte čtečka), v široké pill. */
body.hp-ds .hp-ds-job .job-verified-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 5px;
  padding: 0;
  border-radius: 50%;
  background: var(--hp-ds-color-success-soft);
  color: var(--hp-ds-color-success);
  font-size: 0;
  line-height: 1;
  vertical-align: -2px;
  white-space: nowrap;
}

body.hp-ds .hp-ds-job .job-verified-inline::before {
  content: "\2713";
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

body.hp-ds .hp-ds-badge,
body.hp-ds .hp-ds-badge.job-badge {
  display: inline-block;
  margin: 0;
  padding: 2px 7px;
  border: 0 !important;
  border-radius: var(--hp-ds-radius-pill);
  background: var(--hp-ds-color-badge) !important;
  color: var(--hp-ds-color-badge-ink) !important;
  font-size: 11px;
  font-weight: 600;
  line-height: 15px;
  white-space: nowrap;
}

body.hp-ds .hp-ds-badge.job-badge--new {
  background: var(--hp-ds-color-brand-soft) !important;
  color: var(--hp-ds-color-brand-hover) !important;
}

body.hp-ds .hp-ds-badge.job-badge--recommended,
body.hp-ds .hp-ds-badge.job-badge--salary_high {
  background: var(--hp-ds-color-success-soft) !important;
  color: var(--hp-ds-color-success) !important;
}

@container (min-width: 560px) {
  body.hp-ds .hp-ds-job:not(.hp-ds-job--compact) .hp-ds-job__main {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 18px;
    padding-right: 30px;
  }

  body.hp-ds .hp-ds-job:not(.hp-ds-job--compact) .hp-ds-job__title {
    -webkit-line-clamp: 2;
  }

  body.hp-ds .hp-ds-job:not(.hp-ds-job--compact) .hp-ds-job__pay {
    grid-column: 2;
    grid-row: 1;
    padding-top: 1px;
    text-align: right;
    white-space: nowrap;
  }

  body.hp-ds .hp-ds-job:not(.hp-ds-job--compact) .hp-ds-job__meta {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  body.hp-ds .hp-ds-job:not(.hp-ds-job--compact) .hp-ds-job__badges {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  body.hp-ds .hp-ds-job:not(.hp-ds-job--compact) .hp-ds-job__context {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  body.hp-ds .hp-ds-job .job-verified-inline {
    width: auto;
    height: auto;
    padding: 1px 7px;
    border-radius: var(--hp-ds-radius-pill);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 17px;
    vertical-align: baseline;
  }

  body.hp-ds .hp-ds-job .job-verified-inline::before {
    content: none;
  }
}

/* Hlavička railu na homepage */
@media (max-width: 640px) {
  body.hp-ds .hp-ds-jobs-head {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    margin-top: 22px;
  }

  body.hp-ds .hp-ds-jobs-head h2 {
    flex: 1 1 auto;
  }

  body.hp-ds .hp-ds-jobs-head__all-full {
    display: none;
  }

  body.hp-ds .hp-ds-jobs-head__all-short {
    display: inline;
  }
}

/* Buttons used by recent jobs. Jobs CTA is a text link above. */

body.hp-ds .hp-ds-btn {
  display: inline-block;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: var(--hp-ds-radius-sm);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

body.hp-ds .hp-ds-btn--primary {
  background: var(--hp-ds-color-brand);
  color: #fff;
}

body.hp-ds .hp-ds-btn--primary:hover,
body.hp-ds .hp-ds-btn--primary:focus {
  background: var(--hp-ds-color-brand-hover);
  color: #fff;
  text-decoration: none;
}

body.hp-ds .hp-ds-btn--secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--hp-ds-color-brand);
  border: 1px solid var(--hp-ds-color-brand-line);
  font-size: 15px;
  font-weight: 700;
}

body.hp-ds .hp-ds-btn--secondary:hover,
body.hp-ds .hp-ds-btn--secondary:focus {
  background: var(--hp-ds-color-brand-soft);
  border-color: var(--hp-ds-color-brand);
  color: var(--hp-ds-color-brand-hover);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Recent jobs */

body.hp-ds .hp-ds-recent {
  margin-top: 28px;
}

body.hp-ds .hp-ds-recent h2 {
  margin: 0 0 4px;
  color: var(--hp-ds-color-ink);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.hp-ds .page-content .hp-ds-recent__lead {
  margin: 0 0 12px;
  color: var(--hp-ds-color-muted);
  font-size: 14px;
}

body.hp-ds .hp-ds-recent__scroller {
  position: relative;
}

body.hp-ds .hp-ds-recent__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.hp-ds .hp-ds-recent__list > .hp-ds-job {
  display: flex;
  width: 100%;
  min-width: 0;
  background: #fff;
}

body.hp-ds .hp-ds-recent__list > .hp-ds-job:nth-child(n + 6) {
  display: none;
}

body.hp-ds .hp-ds-recent__nav {
  display: none;
}

body.hp-ds .hp-ds-job--compact {
  padding: 8px 12px;
}

body.hp-ds .hp-ds-job--compact .hp-ds-job__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  flex: 1 1 auto;
  row-gap: 2px;
  padding-right: 0;
}

body.hp-ds .hp-ds-job--compact .hp-ds-job__title {
  display: -webkit-box;
  grid-column: 1;
  grid-row: 1;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

body.hp-ds .hp-ds-job--compact .hp-ds-job__pay {
  grid-column: 1;
  grid-row: 2;
  max-width: none;
  padding-top: 0;
  color: var(--hp-ds-color-ink-2);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  white-space: normal;
}

body.hp-ds .hp-ds-job--compact .hp-ds-job__meta {
  display: -webkit-box;
  grid-column: 1;
  grid-row: 3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  font-size: 13px;
}

body.hp-ds .hp-ds-job--compact .hp-ds-job__title a.modryodkaz,
body.hp-ds .hp-ds-job--compact .hp-ds-job__title a.modryodkaz:hover,
body.hp-ds .hp-ds-job--compact .hp-ds-job__title a.modryodkaz:focus {
  font-size: 1em !important;
  font-weight: 700;
}

@media (min-width: 768px) {
  body.hp-ds .hp-ds-recent__list {
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 2px 6px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body.hp-ds .hp-ds-recent__list::-webkit-scrollbar {
    display: none;
  }

  body.hp-ds .hp-ds-recent__list > .hp-ds-job,
  body.hp-ds .hp-ds-recent__list > .hp-ds-job:nth-child(n + 6) {
    display: flex;
    flex: 0 0 calc((100% - 36px) / 4.35);
    width: auto;
    scroll-snap-align: start;
  }

  body.hp-ds .hp-ds-recent__nav {
    display: flex;
    position: absolute;
    top: 50%;
    z-index: 2;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-top: -18px;
    padding: 0;
    border: 1px solid var(--hp-ds-color-border-strong);
    border-radius: 999px;
    background: #fff;
    color: var(--hp-ds-color-brand);
    font-size: 22px;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(26, 36, 48, 0.08);
    cursor: pointer;
  }

  body.hp-ds .hp-ds-recent__nav[hidden] {
    display: none;
  }

  body.hp-ds .hp-ds-recent__nav:disabled {
    opacity: 0.35;
    cursor: default;
  }

  body.hp-ds .hp-ds-recent__nav:hover:not(:disabled),
  body.hp-ds .hp-ds-recent__nav:focus-visible:not(:disabled) {
    background: var(--hp-ds-color-brand-soft);
    border-color: var(--hp-ds-color-brand);
    font-size: 22px;
  }

  body.hp-ds .hp-ds-recent__nav--prev {
    left: 8px;
  }

  body.hp-ds .hp-ds-recent__nav--next {
    right: 8px;
  }
}

body.hp-ds .hp-ds-recent__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-top: 14px;
}

body.hp-ds .hp-ds-recent .hp-ds-btn--secondary {
  width: 100%;
  margin: 0;
}

@media (min-width: 768px) {
  body.hp-ds .hp-ds-recent__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
  }

  body.hp-ds .hp-ds-recent .hp-ds-btn--secondary {
    width: auto;
  }
}

body.hp-ds .hp-ds-recent .hp-ds-btn {
  margin-top: 4px;
}

body.hp-ds .hp-ds-hero a,
body.hp-ds .hp-ds-jobs a,
body.hp-ds .hp-ds-jobs-head a,
body.hp-ds .hp-ds-jobs-cta a,
body.hp-ds .hp-ds-recent a,
body.hp-ds .hp-ds-sec a,
body.hp-ds .hp-ds-salary a,
body.hp-ds #header .primary-nav > li > a {
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

body.hp-ds a:focus-visible,
body.hp-ds button:focus-visible,
body.hp-ds select:focus-visible,
body.hp-ds .hp-ds-job:focus-within {
  outline: 2px solid var(--hp-ds-color-brand);
  outline-offset: 2px;
}

body.hp-ds .hp-ds-hero .search-container:focus-within {
  outline: 0;
}

/* Spodní homepage — lokality, magazín, partneři, employer, footer. */

body.hp-ds .hp-ds-sec {
  margin: 36px 0 0;
  color: var(--hp-ds-color-ink);
}

body.hp-ds .hp-ds-section-heading,
body.hp-ds .hp-ds-sec h2,
body.hp-ds .hp-ds-fold > summary,
body.hp-ds .hp-ds-recent h2 {
  margin: 0 0 14px;
  color: var(--hp-ds-color-ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  body.hp-ds .hp-ds-section-heading,
  body.hp-ds .hp-ds-jobs-head h2,
  body.hp-ds .hp-ds-sec h2,
  body.hp-ds .hp-ds-fold > summary,
  body.hp-ds .hp-ds-recent h2 {
    font-size: 24px;
  }
}

body.hp-ds .hp-ds-recent h2 {
  margin-bottom: 4px;
}

body.hp-ds .page-content .hp-ds-sec p,
body.hp-ds .page-content .hp-ds-salary p {
  margin: 0 0 12px;
}

body.hp-ds .hp-ds-sec--tint {
  padding: 22px 0 18px;
  border-radius: 16px;
  background: var(--hp-ds-color-surface-2);
}

body.hp-ds .hp-ds-sec__foot {
  margin: 14px 0 0;
}

body.hp-ds .hp-ds-sec__foot a,
body.hp-ds .hp-ds-hire__more {
  color: var(--hp-ds-color-brand);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 3px;
}

body.hp-ds .hp-ds-sec__foot a:hover,
body.hp-ds .hp-ds-sec__foot a:focus-visible,
body.hp-ds .hp-ds-hire__more:hover,
body.hp-ds .hp-ds-hire__more:focus-visible {
  color: var(--hp-ds-color-brand-hover);
  font-size: 15px !important;
  text-decoration: underline;
}

body.hp-ds .hp-ds-sec__foot--nearby a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
}

body.hp-ds .hp-ds-sec__foot--nearby a::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M8 1.4a4.4 4.4 0 0 0-4.4 4.4c0 3.1 4.4 8.4 4.4 8.4s4.4-5.3 4.4-8.4A4.4 4.4 0 0 0 8 1.4zm0 6a1.6 1.6 0 1 1 0-3.2 1.6 1.6 0 0 1 0 3.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M8 1.4a4.4 4.4 0 0 0-4.4 4.4c0 3.1 4.4 8.4 4.4 8.4s4.4-5.3 4.4-8.4A4.4 4.4 0 0 0 8 1.4zm0 6a1.6 1.6 0 1 1 0-3.2 1.6 1.6 0 0 1 0 3.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.hp-ds .hp-ds-sec__foot--nearby a::after {
  content: "→";
  font-weight: 600;
}

body.hp-ds .hp-ds-places__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.hp-ds .hp-ds-places__grid a {
  color: var(--hp-ds-color-brand);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  text-underline-offset: 3px;
}

body.hp-ds .hp-ds-places__grid a:hover,
body.hp-ds .hp-ds-places__grid a:focus {
  color: var(--hp-ds-color-brand-hover);
  font-size: 15px !important;
  font-weight: 500;
  line-height: 1.4 !important;
  text-decoration: underline;
  outline: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.hp-ds .hp-ds-places__grid a:focus-visible {
  color: var(--hp-ds-color-brand-hover);
  font-size: 15px;
  text-decoration: underline;
  outline: 2px solid var(--hp-ds-color-brand);
  outline-offset: 2px;
}

body.hp-ds .hp-ds-places__more {
  margin-top: 12px;
}

body.hp-ds .hp-ds-places__more > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  margin: 14px 0 12px;
  padding: 8px 12px;
  border: 1px solid var(--hp-ds-color-brand-line);
  border-radius: var(--hp-ds-radius-sm);
  background: #fff;
  color: var(--hp-ds-color-brand);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
}

body.hp-ds .hp-ds-places__more > summary::after {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

body.hp-ds .hp-ds-places__more[open] > summary::after {
  margin-top: 2px;
  transform: rotate(225deg);
}

body.hp-ds .hp-ds-places__more > summary:hover,
body.hp-ds .hp-ds-places__more > summary:focus-visible {
  background: var(--hp-ds-color-brand-soft);
  color: var(--hp-ds-color-brand);
  font-size: 14px !important;
  text-decoration: none;
}

body.hp-ds .hp-ds-places__more > summary::-webkit-details-marker {
  display: none;
}

body.hp-ds .hp-ds-fold > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 4px 8px 4px 0;
  border-radius: 8px;
  cursor: pointer;
  list-style: none;
}

body.hp-ds .hp-ds-fold > summary:hover,
body.hp-ds .hp-ds-fold > summary:focus-visible {
  color: var(--hp-ds-color-brand-hover);
}

body.hp-ds .hp-ds-fold > summary:focus-visible {
  outline: 2px solid var(--hp-ds-color-brand);
  outline-offset: 2px;
}

body.hp-ds .hp-ds-fold > summary::-webkit-details-marker {
  display: none;
}

body.hp-ds .hp-ds-fold > summary::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

body.hp-ds .hp-ds-fold[open] > summary {
  margin-bottom: 14px;
}

body.hp-ds .hp-ds-fold[open] > summary::before {
  transform: rotate(45deg);
}

body.hp-ds .hp-ds-mag__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 18px 20px;
}

body.hp-ds .hp-ds-mag__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--hp-ds-color-ink);
  text-decoration: none;
}

body.hp-ds .hp-ds-mag__card:hover,
body.hp-ds .hp-ds-mag__card:focus-visible {
  color: var(--hp-ds-color-ink);
  text-decoration: none;
}

body.hp-ds .hp-ds-mag__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 0 0 10px;
  border-radius: var(--hp-ds-radius-sm);
  object-fit: cover;
  background: var(--hp-ds-color-divider);
}

body.hp-ds .hp-ds-mag__card--text {
  justify-content: flex-start;
  padding-top: 0;
}

body.hp-ds .hp-ds-mag__card--text::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 10px;
  border-radius: var(--hp-ds-radius-sm);
  background: var(--hp-ds-color-divider);
}

body.hp-ds .hp-ds-mag__card--text .hp-ds-mag__title {
  font-size: 15px;
  line-height: 1.35;
}

body.hp-ds .hp-ds-mag__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  color: var(--hp-ds-color-brand);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-underline-offset: 3px;
}

body.hp-ds .hp-ds-mag__card:hover .hp-ds-mag__title,
body.hp-ds .hp-ds-mag__card:focus-visible .hp-ds-mag__title {
  color: var(--hp-ds-color-brand-hover);
  font-size: 15px;
  text-decoration: underline;
}

body.hp-ds .hp-ds-mag__date {
  margin-top: 6px;
  color: var(--hp-ds-color-muted);
  font-size: 13px;
  font-weight: 500;
}

body.hp-ds .hp-ds-cred__lead,
body.hp-ds .hp-ds-hire__lead {
  max-width: 720px;
  color: var(--hp-ds-color-ink-2);
  font-size: 15px;
  line-height: 1.5;
}

body.hp-ds .hp-ds-cred__logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  align-items: center;
  gap: 10px 12px;
  margin-top: 8px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--hp-ds-color-border);
  border-radius: var(--hp-ds-radius-md);
}

body.hp-ds .hp-ds-cred__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 48px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #fff;
}

body.hp-ds .hp-ds-cred__logo img {
  display: block;
  width: auto;
  height: 36px;
  max-width: 100%;
  max-height: 36px;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

body.hp-ds .hp-ds-hire.hp-ds-sec--tint {
  padding: 24px 24px 20px;
  background: #fff;
  border: 1px solid var(--hp-ds-color-border);
  border-radius: 16px;
  box-shadow: var(--hp-ds-shadow-card);
}

body.hp-ds .hp-ds-hire__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 8px 40px;
  align-items: start;
}

body.hp-ds .hp-ds-hire__free {
  margin: 0 0 16px;
  color: var(--hp-ds-color-ink);
  font-size: 16px;
  font-weight: 800;
}

body.hp-ds .hp-ds-hire__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin: 0 0 16px;
}

body.hp-ds .hp-ds-hire .hp-ds-btn--primary {
  text-decoration: none;
}

body.hp-ds .hp-ds-hire .hp-ds-btn--primary:hover,
body.hp-ds .hp-ds-hire .hp-ds-btn--primary:focus {
  font-size: 16px;
  text-decoration: none;
}

body.hp-ds .hp-ds-hire .hp-home-employer__benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 18px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

body.hp-ds .hp-ds-hire .hp-home-employer__benefit {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: var(--hp-ds-color-ink-2);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

body.hp-ds .hp-ds-hire .hp-home-employer__benefit img {
  width: 22px;
  height: 22px;
}

body.hp-ds .hp-ds-salary {
  margin: 28px 0 8px;
}

body.hp-ds .hp-ds-salary .white-container,
body.hp-ds .hp-ds-salary .row {
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--hp-ds-color-ink);
}

@media (max-width: 1100px) {
  body.hp-ds .hp-ds-places__grid,
  body.hp-ds .hp-ds-mag__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.hp-ds .hp-ds-sec {
    margin-top: 28px;
  }

  body.hp-ds .hp-ds-sec--tint {
    padding: 18px 0 14px;
  }

  body.hp-ds .hp-ds-hire.hp-ds-sec--tint {
    padding: 18px 16px 16px;
  }

  body.hp-ds .hp-ds-places__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
  }

  body.hp-ds .hp-ds-mag__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  body.hp-ds .hp-ds-mag__img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  body.hp-ds .hp-ds-places__grid a {
    display: inline-block;
    padding: 4px 0;
  }

  body.hp-ds .hp-ds-mag__title,
  body.hp-ds .hp-ds-mag__card:hover .hp-ds-mag__title,
  body.hp-ds .hp-ds-mag__card:focus-visible .hp-ds-mag__title,
  body.hp-ds .hp-ds-mag__card--text .hp-ds-mag__title {
    font-size: 16px;
  }

  body.hp-ds .hp-ds-hire__layout {
    grid-template-columns: 1fr;
  }

  body.hp-ds .hp-ds-hire .hp-home-employer__benefits {
    grid-template-columns: 1fr 1fr;
  }

  body.hp-ds .hp-ds-hire__actions {
    align-items: stretch;
  }

  body.hp-ds .hp-ds-hire .hp-ds-btn--primary {
    width: 100%;
  }

  body.hp-ds .hp-ds-cred__logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 8px;
  }
}

@media (max-width: 359px) {
  body.hp-ds .hp-ds-hero__title {
    font-size: 28px;
    line-height: 1.15;
  }

  body.hp-ds .hp-ds-jobs-head h2,
  body.hp-ds .hp-ds-sec h2,
  body.hp-ds .hp-ds-fold > summary {
    font-size: 20px;
  }
}

/* Footer a pokračování před ním. Jen staging homepage. */

body.hp-ds .accordion,
body.hp-ds .hp-home-magazin,
body.hp-ds .hp-home-partneri,
body.hp-ds .hp-home-employer,
body.hp-ds .page-content .white-container:not(.hp-ds-search) {
  color: var(--hp-ds-color-ink-2);
}

body.hp-ds .hp-ds-salary .white-container {
  color: var(--hp-ds-color-ink);
}

body.hp-ds .hp-ds-continue {
  margin-top: 28px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.hp-ds .hp-ds-continue__link,
body.hp-ds .hp-ds-continue__link:hover,
body.hp-ds .hp-ds-continue__link:focus,
body.hp-ds .hp-ds-continue__link:active {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--hp-ds-color-border);
  border-radius: var(--hp-ds-radius-md);
  box-shadow: none;
  color: var(--hp-ds-color-ink);
  text-decoration: none;
}

body.hp-ds .hp-ds-continue__link:hover,
body.hp-ds .hp-ds-continue__link:focus-visible {
  border-color: var(--hp-ds-color-brand-line);
  background: var(--hp-ds-color-surface-2);
}

body.hp-ds .hp-ds-continue__pin {
  flex: none;
  width: 18px;
  height: 18px;
  background: var(--hp-ds-color-brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M8 1.4a4.4 4.4 0 0 0-4.4 4.4c0 3.1 4.4 8.4 4.4 8.4s4.4-5.3 4.4-8.4A4.4 4.4 0 0 0 8 1.4zm0 6a1.6 1.6 0 1 1 0-3.2 1.6 1.6 0 0 1 0 3.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M8 1.4a4.4 4.4 0 0 0-4.4 4.4c0 3.1 4.4 8.4 4.4 8.4s4.4-5.3 4.4-8.4A4.4 4.4 0 0 0 8 1.4zm0 6a1.6 1.6 0 1 1 0-3.2 1.6 1.6 0 0 1 0 3.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.hp-ds .hp-ds-continue__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

body.hp-ds .hp-ds-continue__title {
  color: var(--hp-ds-color-ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

body.hp-ds .hp-ds-continue__count {
  color: var(--hp-ds-color-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

body.hp-ds .hp-ds-continue__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--hp-ds-color-brand);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

body.hp-ds .hp-ds-continue__arrow {
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

@media (max-width: 767px) {
  body.hp-ds .hp-ds-continue__link,
  body.hp-ds .hp-ds-continue__link:hover,
  body.hp-ds .hp-ds-continue__link:focus {
    align-items: flex-start;
    padding: 14px 14px;
  }

  body.hp-ds .hp-ds-continue__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 16px;
  }

  body.hp-ds .hp-ds-continue__go {
    align-self: center;
    font-size: 14px;
  }
}

body.hp-ds #footer.hp-ds-foot {
  margin-top: 12px;
  padding: 28px 0 0;
  background: var(--hp-ds-color-footer);
  border-top: 1px solid var(--hp-ds-color-border);
  color: var(--hp-ds-color-ink);
}

body.hp-ds #footer.hp-ds-foot > .container > .row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

body.hp-ds #footer.hp-ds-foot > .container > .row > div:has(#social-proof-widget) {
  flex: 1 0 100%;
  width: 100%;
  max-width: none;
  margin: 0;
}

body.hp-ds--home #footer.hp-ds-foot .social-proof,
body.hp-ds--home #footer.hp-ds-foot .social-proof:hover,
body.hp-ds--home #social-proof-widget {
  display: none !important;
}

body.hp-ds #footer.hp-ds-foot .social-proof,
body.hp-ds #social-proof-widget {
  width: auto;
  margin: 0 15px 18px;
  padding: 0 0 14px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hp-ds-color-border);
  border-radius: 0;
  box-shadow: none;
  color: var(--hp-ds-color-subtle);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
}

body.hp-ds #footer.hp-ds-foot .social-proof a,
body.hp-ds #footer.hp-ds-foot .social-proof a:hover {
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

body.hp-ds #footer.hp-ds-foot .col-sm-3 {
  flex: 0 0 220px;
  width: 220px;
  max-width: 220px;
}

body.hp-ds #footer.hp-ds-foot .col-sm-7 {
  flex: 1 1 0;
  width: auto;
  max-width: none;
}

body.hp-ds #footer.hp-ds-foot .logo {
  width: 168px;
  height: auto;
}

body.hp-ds #footer.hp-ds-foot .widget-content > p,
body.hp-ds #footer.hp-ds-foot .page-content p {
  margin: 10px 0 0;
  color: var(--hp-ds-color-muted);
  font-size: 14px;
  line-height: 1.45;
}

body.hp-ds #footer.hp-ds-foot .widget-title {
  margin: 0 0 10px;
  color: var(--hp-ds-color-ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: none;
}

body.hp-ds #footer.hp-ds-foot .footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.hp-ds #footer.hp-ds-foot .footer-links li {
  margin: 0 0 7px;
}

body.hp-ds #footer.hp-ds-foot .footer-links a,
body.hp-ds #footer.hp-ds-foot .footer-links a:hover,
body.hp-ds #footer.hp-ds-foot .footer-links a:focus-visible {
  color: var(--hp-ds-color-brand);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  text-underline-offset: 3px;
}

body.hp-ds #footer.hp-ds-foot .footer-links a:hover,
body.hp-ds #footer.hp-ds-foot .footer-links a:focus-visible {
  color: var(--hp-ds-color-brand-hover);
  font-size: 14px !important;
  line-height: 1.35 !important;
  text-decoration: underline;
}

body.hp-ds #footer.hp-ds-foot .copyright {
  margin-top: 8px;
  padding: 16px 0 28px;
  background: transparent;
  border-top: 1px solid var(--hp-ds-color-border);
  color: var(--hp-ds-color-muted);
  font-size: 13px;
  line-height: 1.5;
}

body.hp-ds #footer.hp-ds-foot .copyright a,
body.hp-ds #footer.hp-ds-foot .copyright a:hover {
  color: var(--hp-ds-color-brand);
  font-size: 13px !important;
  line-height: 1.5 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.hp-ds a:hover,
body.hp-ds a:focus,
body.hp-ds button:hover,
body.hp-ds button:focus,
body.hp-ds summary:hover,
body.hp-ds summary:focus {
  transform: none;
}

body.hp-ds .modryodkaz:hover,
body.hp-ds .modryodkaz:focus,
body.hp-ds .title a:hover,
body.hp-ds .title a:focus {
  font-size: 1em !important;
  line-height: inherit !important;
  transform: none !important;
}

@media (max-width: 767px) {
  body.hp-ds #footer.hp-ds-foot .col-sm-3,
  body.hp-ds #footer.hp-ds-foot .col-sm-7,
  body.hp-ds #footer.hp-ds-foot .col-xs-3 {
    float: none;
    flex: 1 0 100%;
    width: 100%;
    max-width: none;
  }

  body.hp-ds #footer.hp-ds-foot .col-xs-3 {
    margin-bottom: 18px;
  }

}

/* =====================================================================
   Funnel — listing /prace/* a detail /prace-detail/* (body.hp-ds--listing,
   body.hp-ds--detail). Stejné primitivy jako homepage: plochy, nadpisy,
   odkazy, karty, tlačítka. Markup a pořadí bloků zůstává.
   ===================================================================== */

/* Hlavička stránky: světlý pruh s H1 a drobečkovou navigací místo tmavé lišty */

body.hp-ds #header .header-page-title {
  margin: 0;
  padding: 14px 0 2px;
  background: var(--hp-ds-color-hero);
  border: 0;
  box-shadow: none;
}

body.hp-ds #header .header-page-title > .container {
  max-width: var(--hp-ds-container);
}

body.hp-ds #header .header-page-title h1 {
  margin: 0;
  padding: 0;
  color: var(--hp-ds-color-ink);
  font-family: var(--hp-ds-font);
  font-size: var(--hp-ds-font-h1);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: none;
  text-align: left;
  text-wrap: balance;
}

body.hp-ds #header .header-page-title h1 a,
body.hp-ds #header .header-page-title h1 a:hover,
body.hp-ds #header .header-page-title h1 a:focus {
  color: inherit !important;
  font-size: inherit !important;
  text-decoration: none !important;
}

body.hp-ds #header .job-label {
  margin: 0;
  padding: 4px 0 12px;
  background: var(--hp-ds-color-hero);
  border: 0;
  border-bottom: 1px solid var(--hp-ds-color-hero-line);
  color: var(--hp-ds-color-muted);
  font-family: var(--hp-ds-font);
  font-size: var(--hp-ds-font-small);
  font-weight: 500;
  line-height: 1.5;
}

body.hp-ds #header .job-label > .container {
  max-width: var(--hp-ds-container);
}

body.hp-ds #header .job-label a,
body.hp-ds #header .job-label a:hover {
  color: var(--hp-ds-color-muted);
  font-size: var(--hp-ds-font-small) !important;
  font-weight: 600;
  text-decoration: none;
}

body.hp-ds #header .job-label a:hover,
body.hp-ds #header .job-label a:focus-visible {
  color: var(--hp-ds-color-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.hp-ds .job-label__ico {
  display: none;
}

@media (min-width: 768px) {
  body.hp-ds #header .header-page-title {
    padding-top: 22px;
  }

  body.hp-ds #header .job-label {
    padding-bottom: 16px;
  }
}

/* Rozvržení obsahu: hlavní sloupec + sidebar */

body.hp-ds--listing #page-content > .container > .row > .page-content,
body.hp-ds--detail #page-content > .container > .row > .page-content {
  padding-top: 14px !important;
  padding-bottom: 8px;
}

@media (min-width: 768px) {
  body.hp-ds--listing #page-content > .container > .row > .page-sidebar,
  body.hp-ds--detail #page-content > .container > .row > .page-sidebar,
  body.hp-ds--listing #page-content .page-sidebar,
  body.hp-ds--detail #page-content .page-sidebar {
    padding-top: 14px !important;
    padding-left: 18px !important;
    padding-right: 15px !important;
  }
}

/* Nadpisy a text uvnitř funnelu */

body.hp-ds--listing .page-content h2,
body.hp-ds--detail .page-content h2,
body.hp-ds .page-sidebar h2 {
  margin: var(--hp-ds-section-gap) 0 10px;
  color: var(--hp-ds-color-ink);
  font-family: var(--hp-ds-font);
  font-size: var(--hp-ds-font-h2);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-align: left;
}

body.hp-ds--listing .page-content h3,
body.hp-ds--detail .page-content h3,
body.hp-ds .page-sidebar h3,
body.hp-ds--listing .page-content h4,
body.hp-ds--detail .page-content h4,
body.hp-ds .page-sidebar h4 {
  color: var(--hp-ds-color-ink);
  font-family: var(--hp-ds-font);
  font-size: var(--hp-ds-font-h3);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-align: left;
}

body.hp-ds--listing .page-content p,
body.hp-ds--detail .page-content p {
  color: var(--hp-ds-color-ink-2);
}

/* Obecný povrch pro legacy .white-container v listingu a detailu */

body.hp-ds--listing .page-content > .white-container:not(.hp-ds-search),
body.hp-ds--detail .page-content > .white-container:not(.hp-ds-search),
body.hp-ds .page-sidebar .white-container {
  margin: 0 0 14px !important;
  padding: 14px 16px !important;
  background: var(--hp-ds-color-surface);
  border: 1px solid var(--hp-ds-color-border);
  border-radius: var(--hp-ds-radius-md);
  box-shadow: none !important;
  color: var(--hp-ds-color-ink-2);
  text-align: left !important;
}

/* Kontejner s histogramem nedělá druhý rámeček — box nese .salary-histogram-wrapper */
body.hp-ds .white-container:has(> .row > .salary-histogram-wrapper),
body.hp-ds .white-container:has(> .salary-histogram-wrapper) {
  margin: 0 0 14px !important;
  padding: 0 !important;
  background: transparent;
  border: 0;
  box-shadow: none !important;
}

body.hp-ds .white-container:has(> .row > .salary-histogram-wrapper) > .row {
  margin: 0;
}

/* Topic chips — kompaktní filtry. Mobil: jeden posuvný řádek. */

body.hp-ds .hp-topic-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 12px -15px 10px;
  padding: 0 15px 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

body.hp-ds .hp-topic-chips::-webkit-scrollbar {
  display: none;
}

body.hp-ds .hp-topic-chip {
  flex: none;
  gap: 6px;
  min-height: 34px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--hp-ds-color-border-strong);
  border-radius: var(--hp-ds-radius-pill);
  background: var(--hp-ds-color-surface);
  color: var(--hp-ds-color-ink-2);
  font-family: var(--hp-ds-font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: none;
  transition: border-color 0.12s, background-color 0.12s, color 0.12s;
}

body.hp-ds .hp-topic-chip:hover,
body.hp-ds .hp-topic-chip:focus {
  transform: none;
  border-color: var(--hp-ds-color-brand-line);
  background: var(--hp-ds-color-brand-soft);
  color: var(--hp-ds-color-link);
  box-shadow: none;
  font-size: 13px;
}

body.hp-ds .hp-topic-chip__dot {
  width: 6px;
  height: 6px;
}

body.hp-ds .hp-topic-chip__count {
  color: var(--hp-ds-color-subtle);
  font-size: 11px;
}

body.hp-ds .hp-topic-chip--active,
body.hp-ds .hp-topic-chip--active:hover,
body.hp-ds .hp-topic-chip--active:focus {
  border-color: var(--hp-ds-color-brand);
  background: var(--hp-ds-color-brand);
  color: #fff;
}

body.hp-ds .hp-topic-chip--active .hp-topic-chip__dot {
  background: #fff;
}

body.hp-ds .hp-topic-chip--active .hp-topic-chip__count {
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
  body.hp-ds .hp-topic-chips {
    flex-wrap: wrap;
    margin: 14px 0 12px;
    padding: 0;
    overflow: visible;
  }
}

/* Web-push výzva v obsahu: jeden kompaktní řádek s tlačítkem vpravo */

body.hp-ds .hp-push-inline {
  margin: 10px 0;
  padding: 10px 12px;
  background: var(--hp-ds-color-surface-2);
  border: 1px solid var(--hp-ds-color-border);
  border-radius: var(--hp-ds-radius-sm);
}

body.hp-ds .hp-push-inline__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px;
  align-items: center;
}

body.hp-ds .hp-push-inline__title {
  grid-column: 1;
  margin: 0;
  color: var(--hp-ds-color-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

body.hp-ds .hp-push-inline__text {
  grid-column: 1;
  margin: 1px 0 0;
  color: var(--hp-ds-color-muted);
  font-size: 12.5px;
  line-height: 1.35;
}

body.hp-ds .hp-push-inline__cta {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 34px !important;
  padding: 6px 12px !important;
  border: 1px solid var(--hp-ds-color-brand-line) !important;
  border-radius: var(--hp-ds-radius-xs) !important;
  background: var(--hp-ds-color-surface) !important;
  color: var(--hp-ds-color-link) !important;
  font-family: var(--hp-ds-font) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

body.hp-ds .hp-push-inline__cta:hover,
body.hp-ds .hp-push-inline__cta:focus {
  background: var(--hp-ds-color-brand-soft) !important;
}

/* Poznámka „Pokračujte na N nabídek…“ — tichý odkaz místo modrého boxu */

body.hp-ds a > .jobs-count-note,
body.hp-ds .jobs-count-note {
  display: block;
  margin: 0 0 8px;
  padding: 8px 2px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--hp-ds-color-link);
  font-family: var(--hp-ds-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

body.hp-ds .jobs-count-note strong {
  color: var(--hp-ds-color-link);
  font-weight: 700;
  text-decoration: none;
}

body.hp-ds a:hover > .jobs-count-note,
body.hp-ds a:focus-visible > .jobs-count-note {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Stránkování */

body.hp-ds .clearfix.mb30:has(> .pagination) {
  margin: 4px 0 18px;
}

body.hp-ds .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 0;
  padding: 0;
  border-radius: 0;
}

body.hp-ds .pagination > li {
  display: block;
  float: none;
}

body.hp-ds .pagination > li > a,
body.hp-ds .pagination > li > span,
body.hp-ds .pagination > li:first-child > a,
body.hp-ds .pagination > li:last-child > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  float: none;
  min-width: 40px;
  height: 40px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid var(--hp-ds-color-border-strong);
  border-radius: var(--hp-ds-radius-xs);
  background: var(--hp-ds-color-surface);
  color: var(--hp-ds-color-ink-2);
  font-family: var(--hp-ds-font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

body.hp-ds .pagination > li > a:hover,
body.hp-ds .pagination > li > a:focus {
  border-color: var(--hp-ds-color-brand-line);
  background: var(--hp-ds-color-brand-soft);
  color: var(--hp-ds-color-link);
  font-size: 15px;
}

body.hp-ds .pagination > .active > a,
body.hp-ds .pagination > .active > span,
body.hp-ds .pagination > .active > a:hover,
body.hp-ds .pagination > .active > span:hover {
  border-color: var(--hp-ds-color-brand);
  background: var(--hp-ds-color-brand);
  color: #fff;
}

/* Mzdový histogram — stejný vzhled na homepage, listingu i detailu */

body.hp-ds .salary-histogram-wrapper {
  max-width: none;
  margin: 0;
  padding: 14px 14px 8px;
  background: var(--hp-ds-color-surface);
  border: 1px solid var(--hp-ds-color-border);
  border-radius: var(--hp-ds-radius-md);
  box-shadow: none;
  color: var(--hp-ds-color-ink);
  font-family: var(--hp-ds-font);
  text-align: left;
}

body.hp-ds .salary-histogram-wrapper h2,
body.hp-ds .salary-histogram-wrapper h3,
body.hp-ds .salary-histogram-wrapper .salary-histogram-hint {
  margin: 0 0 8px;
  color: var(--hp-ds-color-ink);
  font-family: var(--hp-ds-font);
  font-size: var(--hp-ds-font-h3);
  font-weight: 800;
  line-height: 1.3;
  text-align: left;
}

body.hp-ds .salary-histogram-wrapper .salary-row,
body.hp-ds .salary-histogram-wrapper .salary-row:hover,
body.hp-ds .salary-histogram-wrapper .salary-row:active {
  display: grid;
  grid-template-columns: minmax(118px, max-content) minmax(40px, 1fr) 44px;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  margin: 0;
  padding: 8px 6px;
  border: 0;
  border-bottom: 1px solid var(--hp-ds-color-divider);
  border-radius: var(--hp-ds-radius-xs);
  background: transparent;
  box-shadow: none;
  color: var(--hp-ds-color-ink);
  font-size: 14px;
  text-decoration: none;
  transform: none;
  cursor: pointer;
}

body.hp-ds .salary-histogram-wrapper .salary-row:hover,
body.hp-ds .salary-histogram-wrapper .salary-row:focus-visible {
  background: var(--hp-ds-color-brand-soft);
  font-size: 14px;
}

body.hp-ds .salary-histogram-wrapper .salary-label-wrap {
  min-width: 0;
  color: var(--hp-ds-color-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

body.hp-ds .salary-histogram-wrapper .salary-bar-outer {
  height: 8px;
  margin: 0;
  border-radius: var(--hp-ds-radius-pill);
  background: var(--hp-ds-color-border);
}

body.hp-ds .salary-histogram-wrapper .salary-bar-inner {
  height: 100%;
  border-radius: var(--hp-ds-radius-pill);
  background: var(--hp-ds-color-brand);
}

body.hp-ds .salary-histogram-wrapper .salary-row:hover .salary-bar-inner {
  background: var(--hp-ds-color-brand-hover);
}

body.hp-ds .salary-histogram-wrapper .salary-count {
  color: var(--hp-ds-color-muted);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

body.hp-ds .salary-histogram-wrapper .salary-count::after {
  content: none;
}

body.hp-ds .salary-histogram-wrapper .salary-badge {
  display: block;
  width: fit-content;
  margin: 1px 0 0;
  padding: 0;
  background: transparent;
  color: var(--hp-ds-color-success);
  font-size: 11px;
  font-weight: 600;
}

body.hp-ds .salary-histogram-wrapper .salary-more-toggle-btn,
body.hp-ds .salary-histogram-wrapper .salary-more-toggle-btn:hover {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-height: 40px;
  margin: 4px 0 0;
  padding: 0 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--hp-ds-color-link);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

body.hp-ds .salary-histogram-wrapper .salary-more-toggle-btn:hover {
  text-decoration: underline;
}

/* Blízká města — seznam odkazů, ne tlačítka */

body.hp-ds div:has(> a.job-mini-cta) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); /* HitPrace 6607af6: hlavní sloupec = 2 sloupce, ať se „(1 405)“ neláme */
  column-gap: 20px;
  text-align: left;
}

body.hp-ds div:has(> a.job-mini-cta) > h3,
body.hp-ds div:has(> a.job-mini-cta) > h4 {
  grid-column: 1 / -1;
  margin: 0 0 6px;
  font-size: var(--hp-ds-font-h3);
}

body.hp-ds a.job-mini-cta,
body.hp-ds a.job-mini-cta:hover,
body.hp-ds a.job-mini-cta:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: auto;
  min-height: 40px;
  margin: 0;
  padding: 8px 2px;
  border: 0;
  border-bottom: 1px solid var(--hp-ds-color-divider);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--hp-ds-color-link);
  font-family: var(--hp-ds-font);
  font-size: 14.5px !important;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  transform: none;
}

body.hp-ds a.job-mini-cta:hover,
body.hp-ds a.job-mini-cta:focus-visible {
  color: var(--hp-ds-color-brand-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* FAQ listingu */

body.hp-ds--listing .page-content .wpsm_toplist_heading {
  margin-top: var(--hp-ds-section-gap);
}

body.hp-ds--listing .page-content .wpsm_toplist_heading ~ div h3 {
  margin: 14px 0 4px;
  font-size: 15px;
  font-weight: 700;
}

body.hp-ds--listing .page-content .wpsm_toplist_heading ~ div > div {
  color: var(--hp-ds-color-ink-2);
  font-size: 14px;
  line-height: 1.5;
}

/* Pokračovací řádky (stejný jazyk jako na homepage) */

body.hp-ds a.hp-next-job-strip__link,
body.hp-ds a.hp-next-job-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 10px 44px 10px 14px;
  background: var(--hp-ds-color-surface);
  border: 1px solid var(--hp-ds-color-border);
  border-radius: var(--hp-ds-radius-sm);
  box-shadow: none;
  color: var(--hp-ds-color-ink);
  font-family: var(--hp-ds-font);
  text-align: left;
  text-decoration: none;
  transform: none;
}

body.hp-ds a.hp-next-job-strip__link:hover,
body.hp-ds a.hp-next-job-link:hover,
body.hp-ds a.hp-next-job-strip__link:focus-visible,
body.hp-ds a.hp-next-job-link:focus-visible {
  border-color: var(--hp-ds-color-brand-line);
  background: var(--hp-ds-color-surface-2);
  color: var(--hp-ds-color-ink);
  text-decoration: none;
}

body.hp-ds a.hp-next-job-link::after {
  content: "\2192";
  position: absolute;
  top: 50%;
  right: 14px;
  margin-top: -11px;
  color: var(--hp-ds-color-brand);
  font-size: 18px;
  font-weight: 600;
  line-height: 22px;
}

body.hp-ds .hp-next-job-link-wrap {
  margin: 0 0 8px !important;
}

body.hp-ds .hp-next-job-link__label {
  color: var(--hp-ds-color-link);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
}

body.hp-ds .hp-next-job-link__teaser {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: var(--hp-ds-color-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.hp-ds .hp-next-job-strip {
  margin: 12px 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.hp-ds .hp-next-job-strip__content {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

body.hp-ds .hp-next-job-strip__flow {
  color: var(--hp-ds-color-muted);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
}

body.hp-ds .hp-next-job-strip__flow br {
  display: none;
}

body.hp-ds .hp-next-job-strip__title,
body.hp-ds .hp-next-job-strip__title.modryodkaz {
  color: var(--hp-ds-color-link) !important;
  font-size: 15px !important;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none !important;
}

body.hp-ds .hp-next-job-strip__meta {
  color: var(--hp-ds-color-muted);
  font-size: 13px;
}

body.hp-ds .hp-next-job-strip__arrow {
  position: absolute;
  top: 50%;
  right: 14px;
  margin-top: -12px;
  color: var(--hp-ds-color-brand);
  font-size: 22px;
  line-height: 24px;
}

/* ---------- Detail ---------- */

/* Mobilní meta karta pod H1: mzda výrazně, místo a firma tiše */

body.hp-ds .job-meta-bar {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 8px !important;
  padding: 12px 12px 12px 14px;
  background: var(--hp-ds-color-surface);
  border: 1px solid var(--hp-ds-color-border);
  border-radius: var(--hp-ds-radius-md);
  box-shadow: none;
}

body.hp-ds .job-meta-bar .job-meta-left {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

body.hp-ds .job-meta-bar .job-meta-item {
  position: relative;
  z-index: 2;
  display: block;
  margin: 0;
  padding: 0 0 0 20px;
  color: var(--hp-ds-color-ink-2);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

body.hp-ds .job-meta-bar .job-meta-ico {
  display: none;
}

body.hp-ds .job-meta-bar .job-meta-item::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 14px;
  height: 14px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}

body.hp-ds .job-meta-bar .job-meta-item--place::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23718490' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.1 7-11a7 7 0 1 0-14 0c0 4.9 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E");
}

body.hp-ds .job-meta-bar .job-meta-item--org::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23718490' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16M6 20V7l6-3 6 3v13'/%3E%3Cpath d='M10 20v-4h4v4M9 9h.01M15 9h.01M9 13h.01M15 13h.01'/%3E%3C/svg%3E");
}

body.hp-ds .job-meta-bar .job-meta-item--pay {
  order: -1;
  padding-left: 0;
  margin-bottom: 2px;
  color: var(--hp-ds-color-ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

body.hp-ds .job-meta-bar .job-meta-item--pay::before {
  content: none;
}

body.hp-ds .job-meta-bar .job-meta-item a {
  position: relative;
  z-index: 3;
  color: var(--hp-ds-color-link);
  font-weight: 600;
  text-decoration: none;
}

body.hp-ds .job-meta-bar .job-meta-item a:hover {
  text-decoration: underline;
  font-size: inherit;
}

body.hp-ds .job-meta-bar .hp-miniinfo-note {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 4px 2px 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--hp-ds-color-link);
  pointer-events: none;
}

body.hp-ds .job-meta-bar .hp-miniinfo-note__label {
  color: var(--hp-ds-color-link);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* Kompaktní „hledat v okolí“ karta na mobilním detailu */

body.hp-ds .hp-detail-listing-cta {
  margin: 8px 0 12px;
}

body.hp-ds .hp-detail-listing-cta__card {
  padding: 8px;
  background: var(--hp-ds-color-surface);
  border: 1px solid var(--hp-ds-color-border);
  border-radius: var(--hp-ds-radius-sm);
  box-shadow: none;
}

body.hp-ds .hp-detail-listing-cta__card:hover,
body.hp-ds .hp-detail-listing-cta__card:focus {
  border-color: var(--hp-ds-color-brand-line);
}

body.hp-ds .hp-detail-listing-cta__field {
  padding: 8px 10px;
  background: var(--hp-ds-color-surface-2);
  border: 1px solid var(--hp-ds-color-border-strong);
  border-radius: var(--hp-ds-radius-xs);
  color: var(--hp-ds-color-ink);
  font-size: 14px;
}

body.hp-ds .hp-detail-listing-cta__radius {
  color: var(--hp-ds-color-muted);
}

body.hp-ds .hp-detail-listing-cta__btn {
  padding: 8px 12px;
  border-radius: var(--hp-ds-radius-xs);
  background: var(--hp-ds-color-brand);
  font-size: 13.5px;
  font-weight: 800;
}

body.hp-ds .hp-detail-listing-cta__count {
  margin-top: 6px;
  color: var(--hp-ds-color-muted);
  font-size: 12.5px;
}

/* Fakta o nabídce: hustá mřížka štítek → hodnota, odkazy se šipkou */

body.hp-ds .job-facts-box {
  margin: 0 0 12px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.hp-ds .job-facts-box ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.hp-ds .job-facts-box .job-facts-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
  min-height: 48px;
  margin: 0;
  padding: 7px 26px 7px 11px;
  background: var(--hp-ds-color-surface);
  border: 1px solid var(--hp-ds-color-border);
  border-radius: var(--hp-ds-radius-sm);
  box-shadow: none;
  color: var(--hp-ds-color-ink);
  font-family: var(--hp-ds-font);
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
  transform: none;
}

body.hp-ds .job-facts-box .job-facts-item-icon {
  display: none;
}

body.hp-ds .job-facts-box .job-facts-item-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-wrap: anywhere;
}

body.hp-ds .job-facts-box .job-facts-item-text strong {
  color: var(--hp-ds-color-muted);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
}

@media (min-width: 768px) {
  body.hp-ds .job-facts-box ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
}

/* Popis nabídky: čitelný text, robustní vůči legacy HTML */

body.hp-ds .hp-job-desc {
  margin: 0;
}

body.hp-ds .jobs-item.hp-job-desc__wrap {
  float: none;
  width: auto;
  margin: 12px 0 0;
  padding: 16px 16px 14px;
  background: var(--hp-ds-color-surface);
  border: 1px solid var(--hp-ds-color-border);
  border-radius: var(--hp-ds-radius-md);
  box-shadow: none;
  cursor: auto;
}

body.hp-ds .hp-job-desc__wrap > aside img {
  border: 1px solid var(--hp-ds-color-border) !important;
  border-radius: var(--hp-ds-radius-xs);
  background: #fff;
}

body.hp-ds .hp-job-desc__text {
  max-width: 72ch;
  color: var(--hp-ds-color-ink-2);
  font-family: var(--hp-ds-font);
  font-size: var(--hp-ds-font-body);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

body.hp-ds .hp-job-desc__text p,
body.hp-ds .hp-job-desc__text li,
body.hp-ds .hp-job-desc__text div {
  color: var(--hp-ds-color-ink-2);
  font-size: var(--hp-ds-font-body);
  line-height: 1.6;
}

body.hp-ds .hp-job-desc__text p {
  margin: 0 0 8px;
}

body.hp-ds .hp-job-desc__text ul,
body.hp-ds .hp-job-desc__text ol {
  margin: 0 0 10px;
  padding-left: 20px;
}

body.hp-ds .hp-job-desc__text li {
  margin: 0 0 3px;
}

body.hp-ds .hp-job-desc__text h1,
body.hp-ds .hp-job-desc__text h2,
body.hp-ds .hp-job-desc__text h3,
body.hp-ds .hp-job-desc__text h4,
body.hp-ds .hp-job-desc__text h5,
body.hp-ds .hp-job-desc__text strong:only-child {
  margin: 14px 0 6px;
  color: var(--hp-ds-color-ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

body.hp-ds .hp-job-desc__text a {
  color: var(--hp-ds-color-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.hp-ds .hp-job-desc__text img,
body.hp-ds .hp-job-desc__text table {
  max-width: 100%;
  height: auto;
}

body.hp-ds .hp-job-desc__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 44px;
  margin: 10px 0 0;
  padding: 8px 14px;
  background: var(--hp-ds-color-surface-2);
  border: 1px solid var(--hp-ds-color-border-strong);
  border-radius: var(--hp-ds-radius-sm);
  box-shadow: none;
  color: var(--hp-ds-color-link);
  font-family: var(--hp-ds-font);
  font-size: 14.5px;
  font-weight: 700;
}

body.hp-ds .hp-job-desc__toggle:hover,
body.hp-ds .hp-job-desc__toggle:focus-visible {
  border-color: var(--hp-ds-color-brand-line);
  background: var(--hp-ds-color-brand-soft);
}

/* Akordeony na detailu (mapa, „Vše, co o této práci potřebujete vědět“) */

body.hp-ds--detail .accordion {
  margin: 12px 0 !important;
}

body.hp-ds--detail .accordion ul {
  border: 1px solid var(--hp-ds-color-border);
  border-radius: var(--hp-ds-radius-sm);
  overflow: hidden;
  background: var(--hp-ds-color-surface);
}

body.hp-ds--detail .accordion ul > li > a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 40px 12px 14px;
  border-top: 0;
  color: var(--hp-ds-color-ink);
  font-family: var(--hp-ds-font);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

body.hp-ds--detail .accordion ul > li > a:before {
  content: "\203A" !important;
  left: auto;
  right: 12px;
  top: 50%;
  width: auto;
  margin-top: -14px;
  padding: 0;
  border: 0;
  color: var(--hp-ds-color-brand);
  font-size: 22px;
  line-height: 28px;
  transform: rotate(90deg);
}

body.hp-ds--detail .accordion ul > li.active > a:before {
  content: "\203A" !important;
  transform: rotate(-90deg);
}

body.hp-ds--detail .accordion ul > li > div,
body.hp-ds--detail .accordion ul > li.active > div {
  padding: 4px 14px 14px;
  border-top: 1px solid var(--hp-ds-color-divider);
}

body.hp-ds--detail .accordion h3 {
  margin: 12px 0 2px;
  font-size: 14.5px;
  font-weight: 700;
}

body.hp-ds--detail .accordion p,
body.hp-ds--detail .accordion li {
  color: var(--hp-ds-color-ink-2);
  font-size: 14px;
  line-height: 1.5;
}

/* Reakce: nejvýraznější akce detailu */

body.hp-ds a.apply-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin: 14px 0 0;
  padding: 12px 16px;
  background: var(--hp-ds-color-brand);
  border: 0;
  border-radius: var(--hp-ds-radius-sm);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.1);
  color: #fff !important;
  font-family: var(--hp-ds-font);
  font-size: 17px !important;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  text-shadow: none;
  transform: none;
}

body.hp-ds a.apply-btn:hover,
body.hp-ds a.apply-btn:focus-visible {
  background: var(--hp-ds-color-brand-hover);
  color: #fff !important;
}

body.hp-ds a.apply-btn:active {
  background: var(--hp-ds-color-brand-active);
}

/* Doporučené nabídky na detailu */

body.hp-ds .hp-jobs-cowatch {
  margin: var(--hp-ds-section-gap) 0 10px;
}

body.hp-ds .hp-jobs-cowatch > h4,
body.hp-ds .page-sidebar h4 {
  margin: 0 0 10px;
  font-size: var(--hp-ds-font-h3);
}

body.hp-ds #hp-dalsi-prace {
  margin-top: var(--hp-ds-section-gap);
}

/* Mzdový router na detailu (dříve žlutočerný blok) */

body.hp-ds .hp-salary-router {
  margin: var(--hp-ds-section-gap) 0 12px;
  padding: 0;
  overflow: hidden;
  background: var(--hp-ds-color-surface);
  border: 1px solid var(--hp-ds-color-border);
  border-radius: var(--hp-ds-radius-md);
  box-shadow: none;
  color: var(--hp-ds-color-ink);
  font-family: var(--hp-ds-font);
}

body.hp-ds .hp-salary-router__top {
  padding: 12px 14px 8px;
  background: transparent;
  border: 0;
}

body.hp-ds .hp-salary-router .hp-salary-router__h {
  margin: 0;
  color: var(--hp-ds-color-ink);
  font-size: var(--hp-ds-font-h3);
  font-weight: 800;
  line-height: 1.3;
}

body.hp-ds .hp-salary-router__list {
  border: 0;
}

body.hp-ds a.hp-salary-router__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 10px 14px;
  border: 0;
  border-top: 1px solid var(--hp-ds-color-divider);
  border-radius: 0;
  background: var(--hp-ds-color-surface);
  box-shadow: none;
  color: var(--hp-ds-color-ink);
  text-decoration: none;
}

body.hp-ds a.hp-salary-router__row--primary {
  background: var(--hp-ds-color-brand-soft);
}

body.hp-ds a.hp-salary-router__row:hover {
  background: var(--hp-ds-color-brand-soft);
}

body.hp-ds .hp-salary-router__money {
  color: var(--hp-ds-color-ink);
  font-size: 15.5px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

body.hp-ds .hp-salary-router__meta {
  color: var(--hp-ds-color-muted);
  font-size: 12.5px;
  font-weight: 600;
}

body.hp-ds .hp-salary-router__right,
body.hp-ds .hp-salary-router__right > * {
  flex: none;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--hp-ds-color-brand-line);
  border-radius: var(--hp-ds-radius-xs);
  background: var(--hp-ds-color-surface);
  box-shadow: none;
  color: var(--hp-ds-color-link);
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
}

body.hp-ds .hp-salary-router__right > * {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

/* Sidebar (desktop) */

body.hp-ds .page-sidebar > aside > div > .jobs-item.hp-ds-job + .jobs-item.hp-ds-job,
body.hp-ds .page-sidebar .hp-jobs-cowatch .jobs-item.hp-ds-job + .jobs-item.hp-ds-job {
  margin-top: 6px;
}

body.hp-ds #footer.hp-ds-foot div:has(> .social-proof),
body.hp-ds #footer.hp-ds-foot .social-proof {
  font-family: var(--hp-ds-font);
}

/* =====================================================================
   Sjednocení napříč funnelem a opravy z QA (homepage + listing + detail)
   ===================================================================== */

/* Jedna typografická škála nadpisů sekcí */

body.hp-ds .hp-ds-jobs-head h2,
body.hp-ds .hp-ds-section-heading,
body.hp-ds .hp-ds-sec h2,
body.hp-ds .hp-ds-fold > summary,
body.hp-ds .hp-ds-recent h2 {
  font-size: var(--hp-ds-font-h2);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

body.hp-ds .hp-ds-sec {
  margin-top: var(--hp-ds-section-gap);
}

body.hp-ds .hp-ds-recent {
  margin-top: var(--hp-ds-section-gap);
}

body.hp-ds .hp-ds-jobs-head__all,
body.hp-ds .hp-ds-jobs-head__all:hover {
  color: var(--hp-ds-color-link);
}

/* Mobilní menu: světlé oddělovače místo legacy černých linek, tichý počet oblíbených */

body.hp-ds #mobile-menu-container .primary-nav,
body.hp-ds #mobile-menu-container .primary-nav > li,
body.hp-ds #mobile-menu-container .primary-nav > li > a {
  border-color: var(--hp-ds-color-border) !important;
}

body.hp-ds #mobile-menu-container .primary-nav > li > a {
  border-top: 0 !important;
  border-bottom: 0 !important;
  font-family: var(--hp-ds-font);
}

body.hp-ds #mobile-menu-container .primary-nav > li:last-child > a {
  border: 1px solid var(--hp-ds-color-brand-line) !important;
}

/* Sticky lišta: globální button{width:100%} do 600 px nesmí roztáhnout „Hledat“ */

body.hp-ds .hp-ds-sticky-summary__place,
body.hp-ds .hp-ds-sticky-summary__go,
body.hp-ds .hp-ds-sticky-summary__radius select {
  width: auto !important;
}

body.hp-ds .hp-ds-sticky-summary__place {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

body.hp-ds .hp-ds-sticky-summary__radius {
  flex: none;
}

body.hp-ds .hp-ds-sticky-summary__go {
  flex: none !important;
}

body.hp-ds .hp-sticky-search {
  padding: 8px 15px;
}

/* Spodní pokračování: stejný okraj jako obsah */

body.hp-ds .container.hp-ds-continue {
  padding-left: 15px;
  padding-right: 15px;
}

body.hp-ds .hp-ds-recent .hp-ds-job__meta {
  column-gap: 8px;
}

/* Recent na listingu a detailu: stejný kontejner jako zbytek stránky */

body.hp-ds--listing .container > #recent-jobs-box.hp-ds-recent,
body.hp-ds--detail .container > #recent-jobs-box.hp-ds-recent {
  margin-bottom: 8px;
}

/* Magazín na mobilu: kompaktní řádky s náhledem místo pěti fotek přes celou šířku */

@media (max-width: 767px) {
  body.hp-ds .hp-ds-mag__list {
    gap: 10px;
  }

  body.hp-ds .hp-ds-mag__card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 12px;
    align-items: start;
  }

  body.hp-ds .hp-ds-mag__img,
  body.hp-ds .hp-ds-mag__card--text::before {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 104px;
    margin: 0;
    aspect-ratio: 16 / 10;
    border-radius: var(--hp-ds-radius-xs);
  }

  body.hp-ds .hp-ds-mag__title,
  body.hp-ds .hp-ds-mag__card:hover .hp-ds-mag__title,
  body.hp-ds .hp-ds-mag__card:focus-visible .hp-ds-mag__title,
  body.hp-ds .hp-ds-mag__card--text .hp-ds-mag__title {
    grid-column: 2;
    font-size: 15px;
    -webkit-line-clamp: 3;
  }

  body.hp-ds .hp-ds-mag__date {
    grid-column: 2;
    margin-top: 2px;
    font-size: 12px;
  }
}

/* Zdroje nabídek: klidnější a čitelnější mřížka log */

body.hp-ds .hp-ds-cred__logos {
  gap: 6px 10px;
  padding: 12px;
}

body.hp-ds .hp-ds-cred__logo {
  height: 52px;
}

body.hp-ds .hp-ds-cred__logo img {
  height: 44px;
  max-height: 44px;
}

@media (max-width: 767px) {
  body.hp-ds .hp-ds-cred__logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px 6px;
    padding: 10px;
  }

  body.hp-ds .hp-ds-cred__logo {
    height: 44px;
  }

  body.hp-ds .hp-ds-cred__logo img {
    height: 38px;
    max-height: 38px;
  }
}

/* Footer na mobilu: odkazy ve dvou sloupcích, ne dlouhý seznam */

@media (max-width: 767px) {
  body.hp-ds #footer.hp-ds-foot {
    padding-top: 20px;
  }

  body.hp-ds #footer.hp-ds-foot .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
  }

  body.hp-ds #footer.hp-ds-foot .footer-links li {
    margin: 0;
  }

  body.hp-ds #footer.hp-ds-foot .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
  }

  body.hp-ds #footer.hp-ds-foot .col-xs-3 {
    margin-bottom: 10px;
  }
}

/* Odkazy obecně: čitelná odkazová barva a hover bez změny velikosti */

body.hp-ds--listing .page-content a:not([class]),
body.hp-ds--detail .page-content a:not([class]),
body.hp-ds .page-sidebar a:not([class]) {
  color: var(--hp-ds-color-link);
}

/* Mobile search focus. Jen presentation state nad existujícím formulářem. */

body.hp-ds .hp-ds-search-back {
  display: none;
}

@media (max-width: 767px) {
  html.hp-ds-search-lock,
  html.hp-ds-search-lock body {
    overflow: hidden;
    height: 100%;
  }

  body.hp-ds.hp-ds-search-focus > .hp-ds-search {
    position: fixed;
    z-index: var(--hp-ds-z-focus);
    top: var(--hp-ds-vv-top, 0px);
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    height: var(--hp-ds-vvh, 100dvh);
    margin: 0;
    padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
    background: #fff;
    overflow: hidden;
    box-sizing: border-box;
  }

  body.hp-ds.hp-ds-search-focus > .hp-ds-search form,
  body.hp-ds.hp-ds-search-focus > .hp-ds-search .location-search {
    height: 100%;
    margin: 0;
    background: #fff;
  }

  body.hp-ds.hp-ds-search-focus > .hp-ds-search .location-search {
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 0;
  }

  body.hp-ds.hp-ds-search-focus > .hp-ds-search .hp-ds-search-back {
    display: flex;
    position: absolute;
    top: 10px;
    left: 8px;
    z-index: 3;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--hp-ds-color-ink);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }

  body.hp-ds.hp-ds-search-focus > .hp-ds-search .hp-ds-search-back:hover,
  body.hp-ds.hp-ds-search-focus > .hp-ds-search .hp-ds-search-back:focus-visible {
    background: var(--hp-ds-color-brand-soft);
    font-size: 22px;
    outline: 2px solid var(--hp-ds-color-brand);
    outline-offset: 2px;
  }

  body.hp-ds.hp-ds-search-focus > .hp-ds-search .search-form-container {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    gap: 0;
  }

  body.hp-ds.hp-ds-search-focus > .hp-ds-search .btn-search,
  body.hp-ds.hp-ds-search-focus > .hp-ds-search #job-count,
  body.hp-ds.hp-ds-search-focus > .hp-ds-search #distance-container {
    display: none !important;
  }

  body.hp-ds.hp-ds-search-focus--loc > .hp-ds-search .search-container:nth-child(2),
  body.hp-ds.hp-ds-search-focus--job > .hp-ds-search .search-container:first-child {
    display: none;
  }

  body.hp-ds.hp-ds-search-focus > .hp-ds-search .search-container {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: none;
    height: auto !important;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
  }

  body.hp-ds.hp-ds-search-focus > .hp-ds-search .hp-ds-ac {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  body.hp-ds.hp-ds-search-focus > .hp-ds-search #search-location,
  body.hp-ds.hp-ds-search-focus > .hp-ds-search #obor_testbox {
    flex: 0 0 auto !important;
    align-self: stretch;
    width: calc(100% - 72px) !important;
    max-width: none !important;
    box-sizing: border-box;
    height: 48px !important;
    min-width: 0;
    margin: 8px 12px 0 60px;
    padding: 0 40px 0 14px;
    border: 1px solid var(--hp-ds-color-brand);
    border-radius: 12px;
    background: #fff;
    color: var(--hp-ds-color-ink);
    font-size: 16px;
    box-shadow: 0 0 0 3px rgba(31, 134, 194, 0.16);
  }

  body.hp-ds.hp-ds-search-focus > .hp-ds-search .clear-button {
    position: absolute;
    top: 22px;
    right: 24px;
    z-index: 2;
    margin: 0;
    color: var(--hp-ds-color-muted);
    font-size: 18px;
    line-height: 1;
  }

  body.hp-ds.hp-ds-search-focus > .hp-ds-search #suggestions,
  body.hp-ds.hp-ds-search-focus > .hp-ds-search #suggestions-profese {
    position: static;
    top: auto;
    left: auto;
    flex: 1 1 auto;
    width: 100%;
    max-height: none;
    min-height: 0;
    margin: 8px 0 0;
    padding: 4px 0 12px;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.hp-ds.hp-ds-search-focus > .hp-ds-search #suggestions div,
  body.hp-ds.hp-ds-search-focus > .hp-ds-search #suggestions-profese div {
    min-height: 48px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--hp-ds-color-divider);
    background: #fff;
    color: var(--hp-ds-color-ink);
    font-size: 16px;
    line-height: 1.35;
  }

  body.hp-ds.hp-ds-search-focus > .hp-ds-search #suggestions div:hover,
  body.hp-ds.hp-ds-search-focus > .hp-ds-search #suggestions div:active,
  body.hp-ds.hp-ds-search-focus > .hp-ds-search #suggestions-profese div:hover,
  body.hp-ds.hp-ds-search-focus > .hp-ds-search #suggestions-profese div:active {
    background: var(--hp-ds-color-brand-soft-hover);
    color: var(--hp-ds-color-ink);
    font-size: 16px;
  }

  body.hp-ds.hp-ds-search-focus > .hp-ds-search--sticky #suggestions,
  body.hp-ds.hp-ds-search-focus > .hp-ds-search--sticky #suggestions-profese {
    margin-top: 44px;
  }
}

/* Compact continuation under the job rail */

body.hp-ds .hp-ds-continue__link--compact,
body.hp-ds .hp-ds-continue__link--compact:hover,
body.hp-ds .hp-ds-continue__link--compact:focus {
  min-height: 0;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--hp-ds-radius-sm);
}

body.hp-ds .hp-ds-continue__link--compact .hp-ds-continue__title {
  font-size: 16px;
}

body.hp-ds .hp-ds-continue__link--compact .hp-ds-continue__count {
  font-size: 13px;
}

body.hp-ds .hp-ds-continue__link--compact .hp-ds-continue__go {
  font-size: 20px;
}

@media (min-width: 768px) {
  body.hp-ds .hp-ds-continue__link--compact .hp-ds-continue__copy {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
  }
}

body.hp-ds .page-content .hp-ds-cred .hp-ds-sec__foot--action {
  margin: 22px 0 16px;
}

body.hp-ds .hp-ds-sec__foot--action a,
body.hp-ds .hp-ds-sec__foot--action a:hover,
body.hp-ds .hp-ds-sec__foot--action a:focus-visible {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 16px !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Sticky search — kompaktní verze hero search, jen kde se lišta používá */

body.hp-ds .hp-sticky-search {
  z-index: var(--hp-ds-z-sticky);
  background: #fff;
  border-bottom: 1px solid var(--hp-ds-color-border);
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.06);
  padding: 8px 12px;
}

body.hp-ds .hp-sticky-search .white-container,
body.hp-ds .hp-sticky-search .hp-ds-search,
body.hp-ds .hp-sticky-search .location-search,
body.hp-ds .hp-sticky-search form {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.hp-ds .hp-sticky-search .search-form-container,
body.hp-ds .hp-sticky-search .btn-search,
body.hp-ds .hp-sticky-search #job-count,
body.hp-ds .hp-sticky-search .hp-ds-search-switch,
body.hp-ds .hp-sticky-search .hp-ds-search-back {
  display: none;
}

body.hp-ds .hp-ds-sticky-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

body.hp-ds .hp-ds-sticky-summary__place {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--hp-ds-color-border-strong);
  border-radius: var(--hp-ds-radius-sm);
  background: #fff;
  color: var(--hp-ds-color-ink);
  font-family: var(--hp-ds-font);
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.hp-ds .hp-ds-sticky-summary__radius select {
  height: 44px;
  max-width: 92px;
  margin: 0;
  padding: 0 6px;
  border: 1px solid var(--hp-ds-color-border-strong);
  border-radius: var(--hp-ds-radius-sm);
  background: #fff;
  color: var(--hp-ds-color-ink-2);
  font-family: var(--hp-ds-font);
  font-size: 13px;
  font-weight: 700;
}

body.hp-ds .hp-ds-sticky-summary__go {
  flex: none;
  height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--hp-ds-radius-sm);
  background: var(--hp-ds-color-brand);
  color: #fff;
  font-family: var(--hp-ds-font);
  font-size: 15px;
  font-weight: 800;
}

body.hp-ds .hp-ds-sticky-summary__go:hover,
body.hp-ds .hp-ds-sticky-summary__go:focus-visible {
  background: var(--hp-ds-color-brand-hover);
  font-size: 15px;
}

body.hp-ds .hp-ds-search-switch {
  display: none;
}

body.hp-ds.hp-ds-search-focus > .hp-ds-search .hp-ds-sticky-summary {
  display: none;
}

body.hp-ds.hp-ds-search-focus > .hp-ds-search--sticky .hp-ds-search-switch {
  display: inline-flex;
  position: absolute;
  top: 64px;
  left: 16px;
  z-index: 4;
  align-items: center;
  min-height: 36px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: var(--hp-ds-color-brand);
  font-family: var(--hp-ds-font);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.hp-ds.hp-ds-search-focus--loc > .hp-ds-search--sticky .hp-ds-search-switch[data-hp-ds-switch="loc"],
body.hp-ds.hp-ds-search-focus--job > .hp-ds-search--sticky .hp-ds-search-switch[data-hp-ds-switch="job"] {
  display: none;
}

/* Web push — nativní povrch, pod menu a focus */

body.hp-ds .sticky-similar-wrapper {
  right: 12px;
  bottom: 16px;
  z-index: var(--hp-ds-z-push);
}

body.hp-ds .sticky-similar-card,
body.hp-ds .sticky-similar-card:hover,
body.hp-ds .sticky-similar-card:focus {
  gap: 10px;
  width: max-content;
  max-width: min(280px, calc(100vw - 24px));
  min-width: 220px;
  padding: 12px 36px 12px 14px;
  border: 1px solid var(--hp-ds-color-brand-line);
  border-radius: var(--hp-ds-radius-md);
  background: #fff;
  color: var(--hp-ds-color-ink);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.12);
  font-size: 14px;
  text-decoration: none;
}

body.hp-ds .sticky-similar-text,
body.hp-ds .sticky-similar-text strong {
  color: var(--hp-ds-color-ink);
  font-weight: 800;
}

body.hp-ds .sticky-close {
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  background: transparent;
  color: var(--hp-ds-color-muted);
  font-size: 18px;
}

/* =====================================================================
   QA iterace 2 — drobné sjednocení napříč funnelem
   ===================================================================== */

/* Drobečková navigace: bez legacy podtržení, odkaz až na hover */
body.hp-ds #header .job-label a,
body.hp-ds #header .job-label a:visited {
  text-decoration: none !important;
}

body.hp-ds #header .job-label a:hover,
body.hp-ds #header .job-label a:focus-visible {
  text-decoration: underline !important;
}

/* Vyhledávání: „×“ jen když pole něco obsahuje */
body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) input:placeholder-shown ~ .clear-button {
  display: none;
}

/* Úzký mobil: tlačítko hledání jako čtvercová ikona, ať je vidět „– volitelné“.
   Text tlačítka zůstává v DOM (přístupné jméno „Najít práci“). */
@media (max-width: 480px) {
  body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .btn-search {
    position: relative;
    width: var(--hp-ds-control-h) !important;
    min-width: var(--hp-ds-control-h);
    padding: 0;
    color: transparent;
    font-size: 0 !important;
  }

  body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .btn-search:hover,
  body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .btn-search:focus {
    color: transparent;
    font-size: 0 !important;
  }

  body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .btn-search::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    background: #fff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='4.6'/%3E%3Cpath d='m10.4 10.4 3.6 3.6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='4.6'/%3E%3Cpath d='m10.4 10.4 3.6 3.6'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  /* Pole profese dostane kufřík místo lupy, lupa patří tlačítku */
  body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .search-container:nth-child(2)::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='12' height='8.5' rx='1.6'/%3E%3Cpath d='M5.8 5V3.6c0-.5.4-.9.9-.9h2.6c.5 0 .9.4.9.9V5M2 8.6h12'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='12' height='8.5' rx='1.6'/%3E%3Cpath d='M5.8 5V3.6c0-.5.4-.9.9-.9h2.6c.5 0 .9.4.9.9V5M2 8.6h12'/%3E%3C/svg%3E") center / contain no-repeat;
  }
}

/* Sekundární tlačítka (legacy .btn-default) v obsahu a sidebaru */
body.hp-ds--listing #page-content .col-sm-4 .btn.btn-default,
body.hp-ds .page-sidebar .btn.btn-default:not(.btn-red) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 16px;
  background: var(--hp-ds-color-surface);
  border: 1px solid var(--hp-ds-color-brand-line);
  border-radius: var(--hp-ds-radius-sm);
  box-shadow: none;
  color: var(--hp-ds-color-link);
  font-family: var(--hp-ds-font);
  font-size: 14.5px;
  font-weight: 700;
  text-shadow: none;
}

body.hp-ds--listing #page-content .col-sm-4 .btn.btn-default:hover,
body.hp-ds .page-sidebar .btn.btn-default:not(.btn-red):hover {
  background: var(--hp-ds-color-brand-soft);
  border-color: var(--hp-ds-color-brand);
  color: var(--hp-ds-color-brand-hover);
}

/* Sidebar listingu (desktop): „Prozkoumejte i další nabídky práce“ */
body.hp-ds--listing #page-content .col-sm-4 > .white-container {
  margin: 14px 0 14px !important;
  padding: 16px !important;
  background: var(--hp-ds-color-surface);
  border: 1px solid var(--hp-ds-color-border);
  border-radius: var(--hp-ds-radius-md);
  box-shadow: none !important;
  text-align: left !important;
}

body.hp-ds--listing #page-content .col-sm-4 .title-lines:before,
body.hp-ds--listing #page-content .col-sm-4 .title-lines:after {
  display: none;
}

body.hp-ds--listing #page-content .col-sm-4 .title-lines h3 {
  margin: 0 0 10px;
  padding: 0;
  background: transparent;
  color: var(--hp-ds-color-ink);
  font-family: var(--hp-ds-font);
  font-size: var(--hp-ds-font-h3) !important;
  font-weight: 800;
  line-height: 1.3;
  text-align: left;
}

/* Listing sidebar (desktop, port HitPrace 2026-10-18): odkaz na výpis lokality + blízká města */

body.hp-ds--listing #page-content .col-sm-4 > .white-container .btn.btn-default {
  display: block;
  width: 100%;
  margin: 0 0 6px;
  padding: 11px 14px;
  border: 1px solid var(--hp-ds-color-brand-line);
  border-radius: var(--hp-ds-radius-sm);
  background: var(--hp-ds-color-brand-soft);
  color: var(--hp-ds-color-link);
  font-family: var(--hp-ds-font);
  font-size: 15px;
  font-weight: 800;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: var(--hp-ds-link-underline);
  text-underline-offset: 3px;
}

body.hp-ds--listing #page-content .col-sm-4 > .white-container .btn.btn-default::after {
  content: "\00a0\2192";
  float: right;
  text-decoration: none;
}

body.hp-ds--listing #page-content .col-sm-4 > .white-container .btn.btn-default:hover {
  background: var(--hp-ds-color-brand-soft-hover);
  border-color: var(--hp-ds-color-brand);
  color: var(--hp-ds-color-link-hover);
  font-size: 15px;
  text-decoration-color: currentColor;
}

body.hp-ds .hp-ds-side-nearby {
  margin-top: 8px;
  text-align: left;
}

body.hp-ds .hp-ds-side-nearby h3 {
  margin: 10px 0 6px !important;
  font-size: 15px !important;
}

body.hp-ds .hp-ds-side-nearby a.job-mini-cta {
  display: block;
  margin: 0 !important;
  padding: 6px 0;
  border-bottom: 1px solid var(--hp-ds-color-divider);
  font-size: 14px;
}

body.hp-ds .hp-ds-side-nearby a.job-mini-cta:last-child {
  border-bottom: 0;
}

@media (max-width: 767px) {
  body.hp-ds .hp-ds-side-nearby {
    display: none;
  }
}

/* Exit popup na detailu: stejné karty a tlačítka jako zbytek webu */
body.hp-ds #exitPopup .popup-content {
  max-width: 440px;
  padding: 20px 16px 16px;
  border: 0;
  border-radius: var(--hp-ds-radius-md);
  background: var(--hp-ds-color-surface);
  box-shadow: var(--hp-ds-shadow-pop);
  font-family: var(--hp-ds-font);
  text-align: left;
}

body.hp-ds #exitPopup .popup-heading {
  margin: 0 32px 4px 0;
  color: var(--hp-ds-color-ink);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
}

body.hp-ds #exitPopup .popup-subheading {
  margin: 0 0 12px;
  color: var(--hp-ds-color-muted);
  font-size: 14px;
  text-align: left;
}

body.hp-ds #exitPopup .close {
  top: 10px;
  right: 12px;
  color: var(--hp-ds-color-subtle);
  font-size: 26px;
}

body.hp-ds #exitPopup .job-list {
  margin: 0 0 12px;
  padding: 0;
}

body.hp-ds #exitPopup .job-item {
  margin: 0 0 6px;
  padding: 0;
  background: transparent;
  border: 0;
}

body.hp-ds #exitPopup .job-item-link {
  display: block;
  padding: 10px 12px;
  background: var(--hp-ds-color-surface);
  border: 1px solid var(--hp-ds-color-border);
  border-radius: var(--hp-ds-radius-sm);
  text-decoration: none;
}

body.hp-ds #exitPopup .job-item-link:hover {
  border-color: var(--hp-ds-color-brand-line);
}

body.hp-ds #exitPopup .job-item-title {
  color: var(--hp-ds-color-link);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
}

body.hp-ds #exitPopup .job-item-meta {
  margin-top: 2px;
  color: var(--hp-ds-color-muted);
  font-size: 13px;
}

body.hp-ds #exitPopup .popup-content a.btn,
body.hp-ds #exitPopup .popup-content .btn-red,
body.hp-ds #exitPopup .popup-content button:not(.close) {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--hp-ds-button-h);
  border: 0;
  border-radius: var(--hp-ds-radius-sm);
  background: var(--hp-ds-color-brand);
  box-shadow: none;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

body.hp-ds #exitPopup .popup-content > a:not(.btn):last-child,
body.hp-ds #exitPopup .popup-content > p:last-child a {
  color: var(--hp-ds-color-link);
  font-size: 14px;
}

/* Social proof pod obsahem: tichý řádek */
body.hp-ds--listing #footer.hp-ds-foot div:has(> .social-proof),
body.hp-ds--detail #footer.hp-ds-foot div:has(> .social-proof) {
  box-sizing: border-box;
  margin: 0 0 16px !important;
  padding: 0 15px;
}

body.hp-ds--listing #footer.hp-ds-foot .social-proof,
body.hp-ds--detail #footer.hp-ds-foot .social-proof {
  display: block;
  margin: 0;
  padding: 10px 0;
  border: 0;
  border-top: 1px solid var(--hp-ds-color-border);
  border-bottom: 1px solid var(--hp-ds-color-border);
  background: transparent;
  box-shadow: none;
  color: var(--hp-ds-color-muted);
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
}

/* Spodní vyhledávání na mobilním detailu (mimo .container v index.php) */
body.hp-ds .container.hp-ds-bottom-search {
  margin: var(--hp-ds-section-gap) auto 8px;
}

/* QA iterace 3 */

body.hp-ds .hp-detail-listing-cta__btn,
body.hp-ds .hp-detail-listing-cta__card:hover .hp-detail-listing-cta__btn {
  color: #fff !important;
  opacity: 1;
}

body.hp-ds a.hp-next-job-link::after {
  content: none;
}

body.hp-ds a.hp-next-job-link {
  padding-right: 14px;
}

body.hp-ds--listing .page-content .wpsm_toplist_heading ~ div h3 {
  font-size: 15px !important;
  line-height: 1.35;
}

body.hp-ds--listing .page-content .wpsm_toplist_heading {
  font-size: var(--hp-ds-font-h2) !important;
}

@media (max-width: 480px) {
  body.hp-ds .pagination {
    gap: 4px;
  }

  body.hp-ds .pagination > li > a,
  body.hp-ds .pagination > li > span,
  body.hp-ds .pagination > li:first-child > a,
  body.hp-ds .pagination > li:last-child > a {
    min-width: 36px;
    height: 40px;
    padding: 0 6px;
    font-size: 14px;
  }
}

body.hp-ds #footer.hp-ds-foot div:has(> #social-proof-widget) {
  width: auto !important;
  max-width: none;
}

body.hp-ds #footer.hp-ds-foot #social-proof-widget {
  width: auto;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Rotující infobox (hp-infotip) v obsahu listingu */
body.hp-ds a.hp-infotip {
  display: flex;
  gap: 12px;
  margin: 14px 0;
  padding: 12px 14px;
  background: var(--hp-ds-color-surface-2) !important;
  border: 1px solid var(--hp-ds-color-border) !important;
  border-radius: var(--hp-ds-radius-sm) !important;
  box-shadow: none !important;
  color: var(--hp-ds-color-ink-2);
  font-family: var(--hp-ds-font);
  text-decoration: none;
}

body.hp-ds a.hp-infotip:hover {
  border-color: var(--hp-ds-color-brand-line) !important;
}

body.hp-ds .hp-infotip__icon {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--hp-ds-color-surface) !important;
  font-size: 16px;
  line-height: 32px;
  text-align: center;
}

body.hp-ds .hp-infotip__label {
  color: var(--hp-ds-color-ink) !important;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

body.hp-ds--listing .page-content .hp-infotip__text,
body.hp-ds .hp-infotip__text {
  margin: 2px 0 6px;
  color: var(--hp-ds-color-ink-2) !important;
  font-size: 13.5px;
  line-height: 1.45;
}

body.hp-ds--listing .page-content .hp-infotip__cta,
body.hp-ds .hp-infotip__cta {
  margin: 0;
  color: var(--hp-ds-color-link) !important;
  font-size: 13.5px;
  font-weight: 700;
}

/* QA iterace 4 — šířka všech kontejnerů = DS kontejner, i bloků mimo #page-content */
@media (min-width: 1200px) {
  body.hp-ds .container {
    width: auto;
    max-width: var(--hp-ds-container);
  }
}

body.hp-ds .clearfix.mb30:has(> .pagination) {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* QA iterace 5 — celostátní /prace/, akordeony a GPS výzva mimo homepage */

body.hp-ds #header .header-page-title:not(:has(+ .job-label)) {
  padding-bottom: 14px !important;
  border-bottom: 1px solid var(--hp-ds-color-hero-line);
}

body.hp-ds--listing .page-content h2[style*="center"] {
  text-align: left !important;
}

body.hp-ds--listing .page-content .white-container:has(> .accordion) {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent;
  border: 0;
}

body.hp-ds--listing .accordion,
body.hp-ds--detail .accordion {
  margin: 12px 0 !important;
}

body.hp-ds--listing .accordion ul {
  border: 1px solid var(--hp-ds-color-border);
  border-radius: var(--hp-ds-radius-sm);
  overflow: hidden;
  background: var(--hp-ds-color-surface);
}

body.hp-ds--listing .accordion ul ul {
  border: 0;
  border-radius: 0;
}

body.hp-ds--listing .accordion ul > li + li > a {
  border-top: 1px solid var(--hp-ds-color-divider);
}

body.hp-ds--listing .accordion ul > li > a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 11px 40px 11px 14px;
  color: var(--hp-ds-color-link);
  font-family: var(--hp-ds-font);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

body.hp-ds--listing .accordion ul > li > a:before {
  content: "\203A" !important;
  left: auto;
  right: 12px;
  top: 50%;
  width: auto;
  margin-top: -14px;
  padding: 0;
  border: 0;
  color: var(--hp-ds-color-brand);
  font-size: 22px;
  line-height: 28px;
  transform: rotate(90deg);
}

body.hp-ds--listing .accordion ul > li.active > a:before {
  content: "\203A" !important;
  transform: rotate(-90deg);
}

body.hp-ds--listing .accordion ul > li > div,
body.hp-ds--listing .accordion ul > li.active > div {
  padding: 6px 14px 14px;
  border-top: 1px solid var(--hp-ds-color-divider);
}

body.hp-ds--listing .accordion ul > li > div a {
  color: var(--hp-ds-color-link);
}

/* GPS výzva (listing bez lokality, nationwide) — stejný vzhled jako v hero */
body.hp-ds .hp-nearby-prompt {
  margin: 12px 0;
  padding: 12px;
  border: 1px solid var(--hp-ds-color-border);
  border-radius: var(--hp-ds-radius-sm);
  background: var(--hp-ds-color-surface);
  box-shadow: none;
}

body.hp-ds .hp-nearby-prompt__title {
  margin: 0 0 2px;
  color: var(--hp-ds-color-ink);
  font-family: var(--hp-ds-font);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

body.hp-ds .hp-nearby-prompt__text {
  margin: 0 0 10px;
  color: var(--hp-ds-color-muted);
  font-size: 13px;
  line-height: 1.4;
}

body.hp-ds .hp-nearby-prompt__cta {
  width: 100%;
  min-height: 44px;
  margin: 0 0 8px;
  padding: 10px 16px;
  border: 0;
  border-radius: var(--hp-ds-radius-sm);
  background: var(--hp-ds-color-brand) !important;
  box-shadow: none !important;
  color: #fff;
  font-family: var(--hp-ds-font);
  font-size: 15px;
  font-weight: 800;
}

body.hp-ds .hp-nearby-prompt__chip {
  border-radius: var(--hp-ds-radius-pill);
  background: var(--hp-ds-color-badge);
  color: var(--hp-ds-color-badge-ink);
  font-size: 12px;
  font-weight: 600;
}

/* Úzký mobil: web-push výzva pod sebe (text, pak tlačítko) */
@media (max-width: 400px) {
  body.hp-ds .hp-push-inline__body {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 8px;
  }

  body.hp-ds .hp-push-inline__cta {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
}

/* Sticky lišta: padding uvnitř šířky viewportu */
body.hp-ds .hp-sticky-search {
  box-sizing: border-box;
  max-width: 100vw;
}

body.hp-ds .hp-sticky-search .hp-ds-search--sticky {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--hp-ds-container);
  margin: 0 auto;
}

/* Stránkování: legacy prázdná položka na konci */
body.hp-ds .pagination > li:empty,
body.hp-ds .pagination > li:not(:has(> a, > span)) {
  display: none;
}

body.hp-ds .pagination > li {
  background: transparent;
}

/* Meta karta detailu: „Popis pozice“ vždy vpravo nahoře */
body.hp-ds .job-meta-bar {
  padding-right: 96px;
}

body.hp-ds .job-meta-bar .hp-miniinfo-note {
  position: absolute;
  top: 12px;
  right: 10px;
  width: 80px;
}

/* „Další nabídka“ karta v doporučených: mzda + místo bez emoji */
body.hp-ds .hp-next-job-strip__meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* =====================================================================
   Iterace 2 — „nová kostra + stará drzost“. Interakční jazyk DS:
   1) PRIMÁRNÍ ODKAZ   název nabídky: sytá modrá, tučně, trvalé jemné podtržení
   2) NAVIGAČNÍ ODKAZ  modrá + podtržení, u pokračování šipka
   3) KLIKACÍ ENTITA   lokalita, atribut: modrá hodnota + › / podtržení
   4) METADATA         tlumené, bez podtržení (neklikací)
   5) CTA              teplá HitPrace červená, plné tlačítko s „pressed“ hranou
   ===================================================================== */

/* ---------- 1) Název nabídky = hlavní hyperlink produktu ---------- */

body.hp-ds .hp-ds-job__title,
body.hp-ds .hp-ds-job__title a.modryodkaz,
body.hp-ds .hp-ds-job__title a.modryodkaz:focus {
  color: var(--hp-ds-color-link) !important;
  font-weight: 700;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-decoration-color: var(--hp-ds-link-underline) !important;
  text-underline-offset: var(--hp-ds-link-underline-offset) !important;
  text-decoration-skip-ink: auto;
}

body.hp-ds .hp-ds-job__title a.modryodkaz:visited {
  color: var(--hp-ds-color-link-visited) !important;
  text-decoration-color: rgba(107, 69, 181, 0.35) !important;
}

/* V „Pokračujte, kde jste skončili“ je navštívené všechno — tam fialová nic neříká */
body.hp-ds .hp-ds-recent .hp-ds-job__title a.modryodkaz:visited {
  color: var(--hp-ds-color-link) !important;
  text-decoration-color: var(--hp-ds-link-underline) !important;
}

body.hp-ds .hp-ds-job:hover .hp-ds-job__title a.modryodkaz,
body.hp-ds .hp-ds-job__title a.modryodkaz:hover,
body.hp-ds .hp-ds-job__title a.modryodkaz:focus-visible {
  color: var(--hp-ds-color-link-hover) !important;
  text-decoration-color: currentColor !important;
  text-decoration-thickness: 2px !important;
}

/* ---------- Klikací karta: hover, tap, bez skoků v layoutu ---------- */

body.hp-ds .jobs-item.hp-ds-job {
  -webkit-tap-highlight-color: rgba(10, 111, 194, 0.08);
  transition: border-color 0.12s ease, background-color 0.12s ease, box-shadow 0.12s ease, transform 0.12s ease;
}

@media (hover: hover) {
  body.hp-ds .jobs-item.hp-ds-job:hover {
    background: var(--hp-ds-card-hover-bg);
    border-color: #9cc6ea;
    box-shadow: 0 4px 14px rgba(10, 111, 194, 0.1);
    transform: translateY(-1px);
  }
}

body.hp-ds .jobs-item.hp-ds-job:active {
  background: var(--hp-ds-card-press-bg);
  border-color: #9cc6ea;
  transform: none;
}

/* Mzda má energii: tučně a „peněžní“ zelená */
body.hp-ds .hp-ds-job__pay {
  color: var(--hp-ds-badge-money-ink);
  font-weight: 800;
}

body.hp-ds .hp-ds-job--compact .hp-ds-job__pay {
  color: var(--hp-ds-badge-money-ink);
  font-weight: 700;
}

/* Lokalita v kartě je odkaz (entita), firma a ostatní metadata ne */
body.hp-ds .page-content .hp-ds-job .hp-ds-job__meta a,
body.hp-ds .hp-ds-job .hp-ds-job__meta a,
body.hp-ds .hp-ds-job .hp-ds-job__meta a:focus {
  color: var(--hp-ds-color-link) !important;
  font-weight: 600;
  text-decoration: none !important;
}

body.hp-ds .page-content .hp-ds-job .hp-ds-job__meta a:hover,
body.hp-ds .hp-ds-job .hp-ds-job__meta a:hover {
  text-decoration: underline !important;
}

/* Recent: oddělovač místo · firma (legacy markup) */
body.hp-ds .hp-ds-recent .hp-ds-job__meta .job-meta-sep {
  display: inline;
  margin: 0 5px;
  color: var(--hp-ds-color-subtle);
}

/* ---------- Sémantické štítky ---------- */

body.hp-ds .hp-ds-badge,
body.hp-ds .hp-ds-badge.job-badge {
  padding: 2px 7px;
  border-radius: var(--hp-ds-radius-xs);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 15px;
  letter-spacing: 0.005em;
}

body.hp-ds .hp-ds-badge.job-badge--recommended {
  background: var(--hp-ds-badge-green-bg) !important;
  color: var(--hp-ds-badge-green-ink) !important;
}

body.hp-ds .hp-ds-badge.job-badge--salary_high {
  background: var(--hp-ds-badge-money-bg) !important;
  color: var(--hp-ds-badge-money-ink) !important;
}

body.hp-ds .hp-ds-badge.job-badge--new {
  background: var(--hp-ds-badge-blue-bg) !important;
  color: var(--hp-ds-badge-blue-ink) !important;
}

body.hp-ds .hp-ds-badge.job-badge--immediate_start {
  background: var(--hp-ds-badge-amber-bg) !important;
  color: var(--hp-ds-badge-amber-ink) !important;
}

body.hp-ds .hp-ds-badge.job-badge--popular {
  background: var(--hp-ds-badge-rose-bg) !important;
  color: var(--hp-ds-badge-rose-ink) !important;
}

body.hp-ds .hp-ds-badge.job-badge--no_experience {
  background: var(--hp-ds-badge-violet-bg) !important;
  color: var(--hp-ds-badge-violet-ink) !important;
}

/* Ověřený zaměstnavatel: vlastní „trust“ barva — v úzké kartě plná fajfka, v široké pill */
body.hp-ds .hp-ds-job .job-verified-inline {
  background: var(--hp-ds-color-trust);
  color: #fff;
}

@container (min-width: 560px) {
  body.hp-ds .hp-ds-job .job-verified-inline {
    background: var(--hp-ds-color-trust-soft);
    color: var(--hp-ds-color-trust);
  }
}

/* ---------- 2) Navigační odkazy: nestydí se být odkazem ---------- */

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #job-count a,
body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #job-count a:hover,
body.hp-ds .hp-ds-places__grid a,
body.hp-ds .hp-ds-sec__foot a,
body.hp-ds .hp-ds-hire__more,
body.hp-ds .hp-ds-jobs-head__all,
body.hp-ds .jobs-count-note,
body.hp-ds .jobs-count-note strong,
body.hp-ds--listing .accordion ul > li > div a,
body.hp-ds .hp-job-desc__text a,
body.hp-ds--listing .page-content a:not([class]),
body.hp-ds--detail .page-content a:not([class]) {
  color: var(--hp-ds-color-link) !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-decoration-color: var(--hp-ds-link-underline) !important;
  text-underline-offset: var(--hp-ds-link-underline-offset) !important;
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #job-count a:hover,
body.hp-ds .hp-ds-places__grid a:hover,
body.hp-ds .hp-ds-sec__foot a:hover,
body.hp-ds .hp-ds-hire__more:hover,
body.hp-ds .hp-ds-jobs-head__all:hover,
body.hp-ds a:hover > .jobs-count-note,
body.hp-ds a:hover > .jobs-count-note strong,
body.hp-ds--listing .accordion ul > li > div a:hover,
body.hp-ds .hp-job-desc__text a:hover {
  color: var(--hp-ds-color-link-hover) !important;
  text-decoration-color: currentColor !important;
  text-decoration-thickness: 2px !important;
}

/* Živý počet pod vyhledáváním je odkaz na výsledky — dostane šipku */
body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #job-count a::after {
  content: "\00a0\2192";
  text-decoration: none;
  display: inline-block;
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #job-count a,
body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #job-count a:hover {
  font-size: 13.5px !important;
  font-weight: 700;
}

body.hp-ds .hp-ds-jobs-head__all-full::after {
  content: "\00a0\2192";
  display: inline-block;
  text-decoration: none;
}

/* Města: odkazy jako hustý seznam hyperlinků (ne pilulky) */
body.hp-ds .hp-ds-places__grid a {
  font-weight: 600;
}

/* Blízká města a podobné řádky: modrý text + výrazná šipka */
body.hp-ds a.job-mini-cta,
body.hp-ds a.job-mini-cta:hover,
body.hp-ds a.job-mini-cta:focus {
  color: var(--hp-ds-color-link);
  text-decoration: underline;
  text-decoration-color: var(--hp-ds-link-underline);
  text-underline-offset: var(--hp-ds-link-underline-offset);
  font-weight: 700;
}

body.hp-ds a.job-mini-cta:hover {
  color: var(--hp-ds-color-link-hover);
  text-decoration-color: currentColor;
}

/* Drobečková navigace = klikací entity */
body.hp-ds #header .job-label a,
body.hp-ds #header .job-label a:visited {
  color: var(--hp-ds-color-link);
  text-decoration: underline !important;
  text-decoration-color: var(--hp-ds-link-underline);
  text-underline-offset: 2px;
}

/* Stránkování: čísla jsou odkazy */
body.hp-ds .pagination > li > a {
  color: var(--hp-ds-color-link);
  font-weight: 700;
}

/* Patička zůstává záměrně klidná: odkazy bez trvalého podtržení */

/* ---------- 5) CTA: hlavní akce vyhrávají ---------- */

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .btn-search,
body.hp-ds .hp-ds-sticky-summary__go,
body.hp-ds a.apply-btn,
body.hp-ds .hp-detail-listing-cta__btn,
body.hp-ds #exitPopup .popup-content a.btn,
body.hp-ds #exitPopup .popup-content .btn-red {
  background: var(--hp-ds-color-cta) !important;
  box-shadow: var(--hp-ds-cta-press) !important;
  color: #fff !important;
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .btn-search:hover,
body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .btn-search:focus,
body.hp-ds .hp-ds-sticky-summary__go:hover,
body.hp-ds a.apply-btn:hover,
body.hp-ds a.apply-btn:focus-visible,
body.hp-ds .hp-detail-listing-cta__card:hover .hp-detail-listing-cta__btn,
body.hp-ds #exitPopup .popup-content a.btn:hover {
  background: var(--hp-ds-color-cta-hover) !important;
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .btn-search:active,
body.hp-ds a.apply-btn:active {
  background: var(--hp-ds-color-cta-active) !important;
  box-shadow: none !important;
}

body.hp-ds a.apply-btn {
  font-size: 17.5px !important;
  letter-spacing: 0.005em;
}

/* Sekundární akce zapojení: plné modré, menší než CTA */
body.hp-ds .hp-push-inline__cta,
body.hp-ds .hp-ds-hero .hp-nearby-prompt__cta,
body.hp-ds .hp-nearby-prompt__cta {
  border-color: var(--hp-ds-color-brand) !important;
  background: var(--hp-ds-color-brand) !important;
  color: #fff !important;
  box-shadow: var(--hp-ds-cta-press) !important;
}

body.hp-ds .hp-push-inline__cta:hover,
body.hp-ds .hp-push-inline__cta:focus,
body.hp-ds .hp-nearby-prompt__cta:hover {
  background: var(--hp-ds-color-brand-hover) !important;
}

/* „Další nabídky práce v okolí“ v recent: výraznější sekundární tlačítko */
body.hp-ds .hp-ds-recent .hp-ds-btn--secondary {
  border: 1px solid var(--hp-ds-color-brand-line);
  background: var(--hp-ds-color-brand-soft);
  color: var(--hp-ds-color-link);
  font-weight: 800;
  text-decoration: none;
}

/* ---------- Pokračovací řádky: „Tahle práce není ono? Koukni na další.“ ---------- */

body.hp-ds a.hp-next-job-link,
body.hp-ds .hp-ds-continue__link,
body.hp-ds a.hp-next-job-strip__link {
  background: var(--hp-ds-color-brand-soft);
  border-color: var(--hp-ds-color-brand-line);
  border-left: 3px solid var(--hp-ds-color-brand);
  padding-right: 52px;
}

body.hp-ds .hp-ds-continue__link:hover,
body.hp-ds a.hp-next-job-link:hover,
body.hp-ds a.hp-next-job-strip__link:hover {
  background: #dcecfb;
  border-color: var(--hp-ds-color-brand);
}

body.hp-ds .hp-next-job-link__label,
body.hp-ds .hp-ds-continue__title,
body.hp-ds .hp-next-job-strip__title,
body.hp-ds .hp-next-job-strip__title.modryodkaz {
  color: var(--hp-ds-color-link) !important;
  font-weight: 800 !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-decoration-color: var(--hp-ds-link-underline) !important;
  text-underline-offset: var(--hp-ds-link-underline-offset) !important;
}

/* Šipka v plném modrém kolečku vpravo — jasný signál „pokračovat“.
   „Pokračovat na další nabídku práce →“ má šipku už v textu, kolečko nedostane. */
body.hp-ds a.hp-next-job-link {
  padding-right: 14px;
}

body.hp-ds .hp-ds-continue__link::after,
body.hp-ds a.hp-next-job-strip__link::after {
  content: "\2192";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  border-radius: 50%;
  background: var(--hp-ds-color-brand);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
}

body.hp-ds .hp-ds-continue__link {
  position: relative;
}

body.hp-ds .hp-ds-continue__go,
body.hp-ds .hp-next-job-strip__arrow {
  display: none;
}

body.hp-ds .hp-ds-continue__link--compact .hp-ds-continue__count,
body.hp-ds .hp-ds-continue__count {
  color: var(--hp-ds-color-ink-2);
  font-weight: 700;
}

/* ---------- Emoji jako emoční akcent discovery bloků (ne v metadatech) ---------- */

body.hp-ds--home .hp-ds-jobs-head h2::before {
  content: "\1F4CD\00a0";
  content: "\1F4CD\00a0" / "";
}

body.hp-ds .hp-ds-recent > h2::before {
  content: "\1F449\00a0";
  content: "\1F449\00a0" / "";
}

body.hp-ds--home .hp-ds-places > .hp-ds-section-heading::before {
  content: "\1F3D9\FE0F\00a0";
  content: "\1F3D9\FE0F\00a0" / "";
}

body.hp-ds--home .hp-ds-mag > h2::before {
  content: "\1F4F0\00a0";
  content: "\1F4F0\00a0" / "";
}

/* ---------- Filtry (topic chips) v sémantických barvách ---------- */

body.hp-ds .hp-topic-chip {
  font-weight: 700;
}

body.hp-ds .hp-topic-chip--money {
  background: var(--hp-ds-badge-money-bg);
  border-color: #b4e3c4;
  color: var(--hp-ds-badge-money-ink);
}

body.hp-ds .hp-topic-chip--bolt {
  background: var(--hp-ds-badge-violet-bg);
  border-color: #d6cbf6;
  color: var(--hp-ds-badge-violet-ink);
}

body.hp-ds .hp-topic-chip--flash {
  background: var(--hp-ds-badge-amber-bg);
  border-color: #f0d49a;
  color: var(--hp-ds-badge-amber-ink);
}

body.hp-ds .hp-topic-chip--new,
body.hp-ds .hp-topic-chip--nearby {
  background: var(--hp-ds-badge-blue-bg);
  border-color: #bcd8f3;
  color: var(--hp-ds-badge-blue-ink);
}

body.hp-ds .hp-topic-chip--fire {
  background: var(--hp-ds-badge-rose-bg);
  border-color: #f4c3cd;
  color: var(--hp-ds-badge-rose-ink);
}

body.hp-ds .hp-topic-chip:hover,
body.hp-ds .hp-topic-chip:focus {
  border-color: currentColor;
  background: inherit;
  color: inherit;
  filter: saturate(1.15) brightness(0.98);
}

body.hp-ds .hp-topic-chip--active,
body.hp-ds .hp-topic-chip--active:hover,
body.hp-ds .hp-topic-chip--active:focus {
  border-color: var(--hp-ds-color-brand);
  background: var(--hp-ds-color-brand);
  color: #fff;
  filter: none;
}

/* ---------- Detail hero: editoriální hlavička místo panelu ---------- */

body.hp-ds--detail #header {
  display: flex;
  flex-direction: column;
}

body.hp-ds--detail #header > .job-label {
  order: 9;
}

body.hp-ds--detail #header > .header-page-title {
  order: 10;
}

body.hp-ds--detail #header .job-label {
  padding: 12px 0 2px;
  background: var(--hp-ds-color-surface);
  border-bottom: 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.hp-ds--detail #header .job-label a {
  font-size: 11.5px !important;
}

body.hp-ds--detail #header .header-page-title {
  padding: 2px 0 10px;
  background: var(--hp-ds-color-surface);
  border-bottom: 0;
}

body.hp-ds--detail #header .header-page-title h1 {
  font-size: clamp(23px, 6.4vw, 27px) !important;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.022em;
}

@media (min-width: 768px) {
  body.hp-ds--detail #header .job-label {
    padding-top: 18px;
  }

  body.hp-ds--detail #header .header-page-title {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--hp-ds-color-border);
  }

  body.hp-ds--detail #header .header-page-title h1 {
    font-size: 32px !important;
  }
}

/* Mobilní souhrn pod H1: bez karty, na stejné bílé ploše jako H1 */
body.hp-ds--detail #page-content > .container > .row > .page-content {
  padding-top: 0 !important;
}

body.hp-ds--detail .job-meta-bar {
  display: block;
  margin: 0 0 12px !important;
  padding: 0 0 14px;
  background: var(--hp-ds-color-surface);
  border: 0;
  border-radius: 0;
  box-shadow: 0 0 0 100vmax var(--hp-ds-color-surface);
  clip-path: inset(0 -100vmax 0 -100vmax);
}

body.hp-ds--detail .job-meta-bar::after {
  content: "";
  position: absolute;
  left: -100vmax;
  right: -100vmax;
  bottom: 0;
  height: 1px;
  background: var(--hp-ds-color-border);
}

body.hp-ds--detail .job-meta-bar .job-meta-left {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0;
  row-gap: 2px;
}

body.hp-ds--detail .job-meta-bar .job-meta-item--pay {
  flex: 1 0 100%;
  order: -1;
  margin: 0 0 4px;
  color: var(--hp-ds-badge-money-ink);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

body.hp-ds--detail .job-meta-bar .job-meta-item--place,
body.hp-ds--detail .job-meta-bar .job-meta-item--org {
  font-size: 14.5px;
}

body.hp-ds--detail .job-meta-bar .job-meta-item--org {
  margin-left: 14px;
  color: var(--hp-ds-color-ink-2);
  font-weight: 600;
}

body.hp-ds--detail .job-meta-bar .job-meta-item--place a {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--hp-ds-link-underline);
  text-underline-offset: 2px;
}

/* „Popis pozice ↓“ jako zřetelný odkaz pod souhrnem (celá oblast vede na #hpJobDesc) */
body.hp-ds--detail .job-meta-bar .hp-miniinfo-note {
  position: static;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  width: auto;
  margin: 10px 0 0;
  padding: 0;
}

body.hp-ds--detail .job-meta-bar .hp-miniinfo-note__label {
  color: var(--hp-ds-color-link);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--hp-ds-link-underline);
  text-underline-offset: 3px;
}

body.hp-ds--detail .job-meta-bar .hp-miniinfo-note__arrow {
  color: var(--hp-ds-color-link);
}

body.hp-ds--detail .job-meta-bar {
  padding-right: 0;
}

/* Kompaktní „hledat v okolí“ na detailu: méně rámečku, CTA červená */
body.hp-ds--detail .hp-detail-listing-cta__card {
  padding: 6px;
}

/* Desktop detail: obsah začíná hned pod bílou hlavičkou */
@media (min-width: 768px) {
  body.hp-ds--detail #page-content > .container > .row > .page-content {
    padding-top: 16px !important;
  }
}

/* Listing a detail: H1 na mobilu přebíjí legacy „.header-page-title h1 { 17px !important }“ */
body.hp-ds--listing #header .header-page-title h1 {
  font-size: var(--hp-ds-font-h1) !important;
  line-height: 1.2 !important;
}

body.hp-ds--detail #header .header-page-title h1 {
  line-height: 1.16 !important;
}

/* Listing H1 na mobilu: 20 px, ať se první nabídka neposouvá */
@media (max-width: 767px) {
  body.hp-ds--listing #header .header-page-title h1 {
    font-size: 20px !important;
  }
}

@media (min-width: 481px) {
  body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .btn-search,
  body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .btn-search:hover,
  body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .btn-search:focus {
    font-size: 16px !important;
    font-weight: 800 !important;
  }
}

/* =====================================================================
   HYPERLINK HEAT — vrstva charakteru nad DS kostrou.
   Makro-rytmus: navy identity kotvy (detail hlavička, Mzdoměr, employer,
   footer), heat akcenty jen pro akci a pokračování, mzda jako signature
   zelená. Jen přepisy přes tokeny; DOM, density a pořadí bloků beze změny.
   ===================================================================== */

/* ---------- Interakční jazyk: každý dotek cvakne ---------- */

body.hp-ds .hp-ds-job:hover {
  background: var(--hp-ds-card-hover-bg);
}

body.hp-ds .hp-ds-job:active {
  background: var(--hp-ds-card-press-bg);
  border-color: var(--hp-ds-color-brand-line);
}

body.hp-ds .hp-ds-job:hover .hp-ds-job__title a.modryodkaz,
body.hp-ds .hp-ds-job:focus-within .hp-ds-job__title a.modryodkaz {
  text-decoration-thickness: 2px !important;
}

/* ---------- Štítky: hero vs quiet. Výrazný štítek je odměna za zajímavost. ---------- */

/* salary_high je na mzdových listinzích častý a karta už má zelenou mzdu —
   silný tint s linkou místo plné výplně, ať hero úroveň nezevšední */
body.hp-ds .hp-ds-badge.job-badge--salary_high {
  background: var(--hp-ds-badge-money-bg) !important;
  color: var(--hp-ds-badge-money-ink) !important;
  box-shadow: inset 0 0 0 1px var(--hp-ds-badge-hero-money-bg);
  font-weight: 800;
}

body.hp-ds .hp-ds-badge.job-badge--immediate_start {
  background: var(--hp-ds-badge-hero-amber-bg) !important;
  color: var(--hp-ds-badge-hero-amber-ink) !important;
  font-weight: 800;
}

/* ---------- Detail: navy identity band (breadcrumb + H1 + mzda + místo + firma) ---------- */

body.hp-ds--detail #header .job-label {
  background: var(--hp-ds-color-navy);
  color: var(--hp-ds-color-navy-muted);
}

body.hp-ds--detail #header .job-label a,
body.hp-ds--detail #header .job-label a:visited {
  color: var(--hp-ds-color-navy-link);
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

body.hp-ds--detail #header .job-label a:hover,
body.hp-ds--detail #header .job-label a:focus-visible {
  color: #fff;
  text-decoration-color: currentColor;
}

body.hp-ds--detail #header .header-page-title {
  background: var(--hp-ds-color-navy);
}

body.hp-ds--detail #header .header-page-title h1,
body.hp-ds--detail #header .header-page-title h1 a {
  color: #fff !important;
}

@media (min-width: 768px) {
  body.hp-ds--detail #header .header-page-title {
    padding-bottom: 16px;
    border-bottom: 3px solid var(--hp-ds-color-brand);
  }
}

/* Mobilní souhrn pokračuje v navy bandu; spodní hrana 3px brand accent */
body.hp-ds--detail .job-meta-bar {
  background: var(--hp-ds-color-navy);
  box-shadow: 0 0 0 100vmax var(--hp-ds-color-navy);
}

body.hp-ds--detail .job-meta-bar::after {
  height: 3px;
  background: var(--hp-ds-color-brand);
}

body.hp-ds--detail .job-meta-bar .job-meta-item {
  color: var(--hp-ds-color-navy-ink);
}

/* Mzda = signature: mint na navy */
body.hp-ds--detail .job-meta-bar .job-meta-item--pay {
  color: var(--hp-ds-color-pay-on-dark);
}

body.hp-ds--detail .job-meta-bar .job-meta-item--place a {
  color: var(--hp-ds-color-navy-link);
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

body.hp-ds--detail .job-meta-bar .job-meta-item--org {
  color: var(--hp-ds-color-navy-muted);
}

body.hp-ds--detail .job-meta-bar .job-meta-item--place::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9c3da' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.1 7-11a7 7 0 1 0-14 0c0 4.9 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E");
}

body.hp-ds--detail .job-meta-bar .job-meta-item--org::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9c3da' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16M6 20V7l6-3 6 3v13'/%3E%3Cpath d='M10 20v-4h4v4M9 9h.01M15 9h.01M9 13h.01M15 13h.01'/%3E%3C/svg%3E");
}

/* „Popis pozice“ jako světlá pill na bandu */
body.hp-ds--detail .job-meta-bar .hp-miniinfo-note {
  margin-top: 12px;
  padding: 5px 12px;
  border: 1px solid var(--hp-ds-color-navy-line);
  border-radius: var(--hp-ds-radius-pill);
  background: rgba(255, 255, 255, 0.07);
}

body.hp-ds--detail .job-meta-bar .hp-miniinfo-note__label {
  color: #fff;
  text-decoration: none;
}

body.hp-ds--detail .job-meta-bar .hp-miniinfo-note__arrow {
  color: var(--hp-ds-color-navy-link);
}

/* ---------- Mzdoměr: navy hlavička histogramu, amber „Nejčastější“ ---------- */

body.hp-ds .salary-histogram-wrapper {
  padding-top: 0;
  overflow: hidden;
}

body.hp-ds .salary-histogram-wrapper > h2:first-child,
body.hp-ds .salary-histogram-wrapper > h3:first-child,
body.hp-ds .salary-histogram-wrapper > .salary-histogram-hint:first-child {
  margin: 0 -14px 10px;
  padding: 12px 14px;
  background: var(--hp-ds-color-navy);
  color: #fff;
}

body.hp-ds .salary-histogram-wrapper .salary-badge {
  padding: 1px 8px;
  border-radius: var(--hp-ds-radius-pill);
  background: var(--hp-ds-badge-hero-amber-bg);
  color: var(--hp-ds-badge-hero-amber-ink);
  font-weight: 700;
}

/* ---------- Mzdový router na detailu: stejný Mzdoměr jazyk ---------- */

body.hp-ds .hp-salary-router__top {
  padding: 12px 14px;
  background: var(--hp-ds-color-navy);
}

body.hp-ds .hp-salary-router .hp-salary-router__h {
  color: #fff;
}

body.hp-ds .hp-salary-router__money {
  color: var(--hp-ds-badge-money-ink);
}

/* ---------- Pokračování: heat hrana + červená šipka, titul zůstává hyperlink ---------- */

body.hp-ds a.hp-next-job-link,
body.hp-ds .hp-ds-continue__link,
body.hp-ds a.hp-next-job-strip__link {
  border-left: 3px solid var(--hp-ds-color-cta);
}

body.hp-ds .hp-ds-continue__link::after,
body.hp-ds a.hp-next-job-strip__link::after {
  background: var(--hp-ds-color-cta);
}

body.hp-ds .hp-ds-continue__link:hover::after,
body.hp-ds a.hp-next-job-strip__link:hover::after {
  background: var(--hp-ds-color-cta-hover);
}

/* ---------- Upozornění: amber teplo (jediný teplý řádek ve scrollu) ---------- */

body.hp-ds .hp-push-inline {
  background: var(--hp-ds-color-accent-warm);
  border-color: var(--hp-ds-color-accent-warm-line);
}

/* ---------- Odpovědět na inzerát: nejsilnější akce detailu ---------- */

body.hp-ds a.apply-btn {
  min-height: 56px;
  font-size: 18px !important;
  font-weight: 800;
}

/* ---------- Hero: o stupeň sytější + brand spodní hrana ---------- */

body.hp-ds .hp-ds-hero::before {
  border-bottom: 3px solid var(--hp-ds-color-brand);
}

/* ---------- Města: hyperlink s šipkou a tinted hoverem (ne pills) ---------- */

body.hp-ds .hp-ds-places__grid a::after {
  content: "\00a0\203A";
  color: var(--hp-ds-color-subtle);
}

body.hp-ds .hp-ds-places__grid a:hover,
body.hp-ds .hp-ds-places__grid a:focus-visible {
  background: var(--hp-ds-color-brand-soft);
  border-radius: var(--hp-ds-radius-xs);
  box-shadow: 0 0 0 4px var(--hp-ds-color-brand-soft);
}

/* ---------- Employer sekce: navy identity moment ---------- */

body.hp-ds .hp-ds-hire.hp-ds-sec--tint {
  background: var(--hp-ds-color-navy);
  border: 0;
}

body.hp-ds .hp-ds-hire h2,
body.hp-ds .hp-ds-hire .hp-ds-hire__free {
  color: #fff;
}

body.hp-ds .hp-ds-hire p,
body.hp-ds .hp-ds-hire .hp-ds-hire__layout p {
  color: var(--hp-ds-color-navy-muted);
}

body.hp-ds .hp-ds-hire .hp-home-employer__benefit {
  color: var(--hp-ds-color-navy-ink);
}

body.hp-ds .hp-ds-hire .hp-ds-btn--primary,
body.hp-ds .hp-ds-hire .hp-ds-btn--primary:hover,
body.hp-ds .hp-ds-hire .hp-ds-btn--primary:focus {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--hp-ds-color-navy) !important;
}

body.hp-ds .hp-ds-hire a:not(.hp-ds-btn--primary),
body.hp-ds .hp-ds-hire a:not(.hp-ds-btn--primary):visited {
  color: var(--hp-ds-color-navy-link);
}

/* ---------- Footer: web končí podpisem, ne vyšuměním ---------- */

body.hp-ds #footer.hp-ds-foot {
  background: var(--hp-ds-color-navy);
  border-top: 3px solid var(--hp-ds-color-brand);
  color: var(--hp-ds-color-navy-ink);
}

body.hp-ds #footer.hp-ds-foot .logo {
  padding: 8px 12px;
  border-radius: var(--hp-ds-radius-sm);
  background: #fff;
}

body.hp-ds #footer.hp-ds-foot .widget-title {
  color: #fff;
}

body.hp-ds #footer.hp-ds-foot .widget-content > p,
body.hp-ds #footer.hp-ds-foot .page-content p {
  color: var(--hp-ds-color-navy-muted);
}

body.hp-ds #footer.hp-ds-foot .footer-links a,
body.hp-ds #footer.hp-ds-foot .footer-links a:hover,
body.hp-ds #footer.hp-ds-foot .footer-links a:focus-visible {
  color: var(--hp-ds-color-navy-link);
}

body.hp-ds #footer.hp-ds-foot .social-proof,
body.hp-ds #social-proof-widget {
  border-bottom-color: var(--hp-ds-color-navy-line);
  color: var(--hp-ds-color-navy-muted);
}

body.hp-ds #footer.hp-ds-foot .copyright {
  border-top-color: var(--hp-ds-color-navy-line);
  color: var(--hp-ds-color-navy-muted);
}

body.hp-ds #footer.hp-ds-foot .copyright a,
body.hp-ds #footer.hp-ds-foot .copyright a:hover {
  color: var(--hp-ds-color-navy-link);
}

/* ---------- Stránkování: aktuální stránka plná brand ---------- */

body.hp-ds .pagination > li.active > a,
body.hp-ds .pagination > li.active > a:hover,
body.hp-ds .pagination > li.active > a:focus {
  background: var(--hp-ds-color-brand) !important;
  border-color: var(--hp-ds-color-brand) !important;
  color: #fff !important;
}

/* ---------- Search: opravy ---------- */

/* Pin/lupa ::before nemá co dělat ve fullscreen focus módu (plavala u paty obrazovky) */
body.hp-ds.hp-ds-search-focus > .hp-ds-search .search-container::before {
  content: none;
}

/* „ד drží střed i když ho JS zobrazí přes style.display="inline" */
body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .clear-button {
  display: inline-flex !important;
  align-self: center;
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) input:placeholder-shown ~ .clear-button {
  display: none !important;
}

/* Počet nabídek pod formulářem: jedno podtržení (legacy .modryodkaz podtrhával
   i rodičovský div), zarovnat vlevo k poli a svázat se searchem šipkou */
body.hp-ds .hp-ds-search #job-count,
body.hp-ds .hp-ds-search #job-count.modryodkaz {
  text-decoration: none !important;
  text-align: left;
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #job-count a,
body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #job-count a:visited {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--hp-ds-color-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--hp-ds-link-underline);
  text-underline-offset: var(--hp-ds-link-underline-offset);
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #job-count a::after {
  content: "\2192";
  text-decoration: none;
  display: inline-block;
}

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #job-count a:hover {
  color: var(--hp-ds-color-link-hover);
  text-decoration-color: currentColor;
}

/* ---------- Detail: fakta jako skutečné filtry (klikací = tlačítko, statické = tiché) ---------- */

body.hp-ds .job-facts-box .job-facts-item {
  background: var(--hp-ds-color-surface-2);
  border-color: transparent;
}

/* ---------- Detail: „Pokračovat na další nabídku práce" = hero pokračování ---------- */

body.hp-ds a.hp-next-job-link {
  background: var(--hp-ds-color-surface);
  border: 1px solid var(--hp-ds-color-border);
  border-left: 4px solid var(--hp-ds-color-cta);
  box-shadow: var(--hp-ds-shadow-card);
}

body.hp-ds a.hp-next-job-link:hover {
  background: var(--hp-ds-color-fav-soft);
  border-color: var(--hp-ds-color-cta);
  border-left-color: var(--hp-ds-color-cta);
}

body.hp-ds .hp-next-job-link__label {
  color: var(--hp-ds-color-cta) !important;
  text-decoration-color: rgba(217, 54, 42, 0.35) !important;
}

body.hp-ds .hp-next-job-link__teaser {
  color: var(--hp-ds-color-ink);
  font-weight: 600;
}

/* ---------- Detail: next-job strip pod apply = Doporučená další nabídka ---------- */

body.hp-ds a.hp-next-job-strip__link {
  background: var(--hp-ds-color-surface);
  border: 1px solid var(--hp-ds-color-border);
  border-left: 4px solid var(--hp-ds-color-cta);
  box-shadow: var(--hp-ds-shadow-card);
}

body.hp-ds a.hp-next-job-strip__link:hover {
  background: var(--hp-ds-color-fav-soft);
  border-color: var(--hp-ds-color-cta);
}

body.hp-ds .hp-next-job-strip__title,
body.hp-ds .hp-next-job-strip__title.modryodkaz {
  font-size: 16.5px !important;
}

/* ---------- Pokračovací karty (listing i detail bottom): jasná hero karta ---------- */

body.hp-ds .hp-ds-continue__link,
body.hp-ds .hp-ds-continue__link:hover,
body.hp-ds .hp-ds-continue__link:focus,
body.hp-ds .hp-ds-continue__link:active {
  background: var(--hp-ds-color-surface);
  border: 1px solid var(--hp-ds-color-border);
  border-left: 4px solid var(--hp-ds-color-cta);
  box-shadow: var(--hp-ds-shadow-card);
}

body.hp-ds .hp-ds-continue__link:hover,
body.hp-ds .hp-ds-continue__link:focus-visible {
  background: var(--hp-ds-color-fav-soft);
  border-color: var(--hp-ds-color-cta);
  border-left-color: var(--hp-ds-color-cta);
}

body.hp-ds .hp-ds-continue__link--compact .hp-ds-continue__title,
body.hp-ds .hp-ds-continue__title {
  font-size: 17px;
}

body.hp-ds .hp-ds-continue__link::after,
body.hp-ds a.hp-next-job-strip__link::after {
  width: 34px;
  height: 34px;
  margin-top: -17px;
  font-size: 18px;
  line-height: 34px;
}

/* ---------- Detail bottom „Kam dál": sekundární pokračování plné modré, tiché odkazy podtržené ---------- */

body.hp-ds .hp-ds-recent .hp-ds-btn--secondary {
  min-height: 48px;
  border: 0;
  background: var(--hp-ds-color-brand);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  box-shadow: var(--hp-ds-cta-press);
}

body.hp-ds .hp-ds-recent .hp-ds-btn--secondary:hover,
body.hp-ds .hp-ds-recent .hp-ds-btn--secondary:focus {
  background: var(--hp-ds-color-brand-hover);
  color: #fff;
}

/* ---------- Detail band: město musí být čitelná klikací entita, ne šum ---------- */

body.hp-ds--detail .job-meta-bar .job-meta-item--place a {
  color: #fff;
  font-weight: 800;
  text-decoration-color: rgba(255, 255, 255, 0.55);
}

body.hp-ds--detail .job-meta-bar .job-meta-item--place a:hover {
  text-decoration-color: #fff;
}

body.hp-ds--detail #header .job-label a,
body.hp-ds--detail #header .job-label a:visited {
  color: var(--hp-ds-color-navy-link);
}

/* ---------- 'page' family: drobné výjimky nad listing shellem ---------- */

/* Obsahové stránky mívají delší text přímo v .page-content */
body.hp-ds--page .page-content p {
  color: var(--hp-ds-color-ink-2);
  font-size: 15px;
  line-height: 1.55;
}

body.hp-ds--page .page-content li {
  color: var(--hp-ds-color-ink-2);
}

/* Článek: obrázky nemají přetékat, titulky odkazů článků jedou v link jazyce */
body.hp-ds--page .page-content img {
  max-width: 100%;
  height: auto;
}

/* =====================================================================
   HYPERLINK HEAT III — PASS 1 dočištění page family.
   Čitelné breadcrumbs/eyebrow ve světlém H1 bandu a „link index":
   dlouhý seznam odkazů (města, profese, úřady) jako hustá sloupcová
   mřížka hyperlinků místo jednosloupcového bullet seznamu.
   ===================================================================== */

/* Breadcrumbs (ul.breadcrumbs) v H1 bandu: legacy bílé odkazy byly na
   světlém podkladu neviditelné */
body.hp-ds .header-page-title .breadcrumbs {
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.hp-ds .header-page-title .breadcrumbs li {
  display: inline;
  margin: 0;
  padding: 0;
  color: var(--hp-ds-color-muted);
}

body.hp-ds .header-page-title .breadcrumbs li + li::before {
  content: "\203A";
  margin: 0 6px;
  color: var(--hp-ds-color-subtle);
}

body.hp-ds .header-page-title .breadcrumbs a,
body.hp-ds .header-page-title .breadcrumbs a:visited {
  color: var(--hp-ds-color-link);
  font-size: 11.5px !important;
  text-decoration: underline;
  text-decoration-color: var(--hp-ds-link-underline);
  text-underline-offset: 2px;
}

body.hp-ds .header-page-title .breadcrumbs a:hover {
  color: var(--hp-ds-color-link-hover);
  text-decoration-color: currentColor;
}

/* Eyebrow nad H1 (partneři apod.): brand, ne vybledlá bílá */
body.hp-ds .header-page-title p[class*="eyebrow"] {
  margin: 0 0 2px;
  color: var(--hp-ds-color-brand);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Link index: beztřídní <ul> s 12+ položkami uvnitř obsahu 'page' family
   = hustá sloupcová mřížka odkazů (šířka sloupce řídí počet sloupců,
   funguje v plné šířce i uvnitř template sloupců) */
body.hp-ds--page #page-content ul:not([class]):has(> li:nth-child(12)) {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 8.5em;
  column-gap: 22px;
}

body.hp-ds--page #page-content ul:not([class]):has(> li:nth-child(12)) > li {
  margin: 0 0 2px;
  padding: 0;
  break-inside: avoid;
  line-height: 1.4;
}

body.hp-ds--page #page-content ul:not([class]):has(> li:nth-child(12)) > li::marker {
  content: "";
}

body.hp-ds--page #page-content ul:not([class]):has(> li:nth-child(12)) > li > a {
  display: inline-block;
  padding: 4px 0;
  color: var(--hp-ds-color-link);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--hp-ds-link-underline);
  text-underline-offset: 3px;
}

body.hp-ds--page #page-content ul:not([class]):has(> li:nth-child(12)) > li > a::after {
  content: "\00a0\203A";
  color: var(--hp-ds-color-subtle);
  text-decoration: none;
}

body.hp-ds--page #page-content ul:not([class]):has(> li:nth-child(12)) > li > a:hover {
  color: var(--hp-ds-color-link-hover);
  background: var(--hp-ds-color-brand-soft);
  border-radius: var(--hp-ds-radius-xs);
  box-shadow: 0 0 0 4px var(--hp-ds-color-brand-soft);
  text-decoration-color: currentColor;
}

/* ---------- HEAT IV: PASS 2 mikropolish ---------- */

/* Legacy .alert-info (teal panel, např. úřady práce) -> DS informační povrch */
body.hp-ds .alert.alert-info {
  padding: 12px 14px;
  background: var(--hp-ds-color-brand-soft);
  border: 1px solid var(--hp-ds-color-brand-line);
  border-left: 3px solid var(--hp-ds-color-brand);
  border-radius: var(--hp-ds-radius-sm);
  color: var(--hp-ds-color-ink-2);
  text-shadow: none;
  box-shadow: none;
}

body.hp-ds .alert.alert-info h6 {
  margin: 0 0 4px;
  color: var(--hp-ds-color-ink);
  font-family: var(--hp-ds-font);
  font-size: 15px;
  font-weight: 800;
}

body.hp-ds .alert.alert-info p {
  color: var(--hp-ds-color-ink-2);
  font-size: 13.5px;
  line-height: 1.45;
}

/* Legacy velke cyan tlacitko "Dalsi nabidky..." (napr. prace z domova):
   pokracovani na joby = heat */
body.hp-ds #page-content a.btn.btn-large[href^="/prace"],
body.hp-ds #page-content a.btn.btn-large[href^="/brigady"] {
  background: var(--hp-ds-color-cta) !important;
  border: 0;
  border-radius: var(--hp-ds-radius-sm);
  box-shadow: var(--hp-ds-cta-press) !important;
  color: #fff !important;
  font-family: var(--hp-ds-font);
  font-weight: 800;
  text-shadow: none;
}

body.hp-ds #page-content a.btn.btn-large[href^="/prace"]:hover,
body.hp-ds #page-content a.btn.btn-large[href^="/brigady"]:hover {
  background: var(--hp-ds-color-cta-hover) !important;
  color: #fff !important;
}

/* ---------- HEAT V: link-index skutecne cili .filter-list + breadcrumbs separator ---------- */

/* Legacy breadcrumbs maji vlastni oddelovac - nezdvojovat s nasim */
body.hp-ds .header-page-title .breadcrumbs li::after {
  content: none !important;
}

body.hp-ds .header-page-title .breadcrumbs li {
  float: none;
}

/* Index mest / profesi / uradu pouziva ul.filter-list */
body.hp-ds--page #page-content ul.filter-list,
body.hp-ds .page-sidebar ul.filter-list {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 8.5em;
  column-gap: 22px;
}

body.hp-ds--page #page-content ul.filter-list > li,
body.hp-ds .page-sidebar ul.filter-list > li {
  margin: 0 0 2px;
  padding: 0;
  break-inside: avoid;
  line-height: 1.4;
  list-style: none;
}

body.hp-ds--page #page-content ul.filter-list > li::marker,
body.hp-ds .page-sidebar ul.filter-list > li::marker {
  content: "";
}

body.hp-ds--page #page-content ul.filter-list > li > a,
body.hp-ds .page-sidebar ul.filter-list > li > a {
  display: inline-block;
  padding: 4px 0;
  color: var(--hp-ds-color-link);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--hp-ds-link-underline);
  text-underline-offset: 3px;
}

body.hp-ds--page #page-content ul.filter-list > li > a::after,
body.hp-ds .page-sidebar ul.filter-list > li > a::after {
  content: "\00a0\203A";
  color: var(--hp-ds-color-subtle);
  text-decoration: none;
}

body.hp-ds--page #page-content ul.filter-list > li > a:hover,
body.hp-ds .page-sidebar ul.filter-list > li > a:hover {
  color: var(--hp-ds-color-link-hover);
  background: var(--hp-ds-color-brand-soft);
  border-radius: var(--hp-ds-radius-xs);
  box-shadow: 0 0 0 4px var(--hp-ds-color-brand-soft);
  text-decoration-color: currentColor;
}

/* HEAT V.2: legacy .filter-list a:before (FontAwesome sipka) delal falesne bullets */
body.hp-ds--page #page-content ul.filter-list > li > a::before,
body.hp-ds .page-sidebar ul.filter-list > li > a::before {
  content: none !important;
}

/* =====================================================================
   HYPERLINK HEAT VI — PASS 2 (čerstvé oči): desktop identity band s mzdou,
   magazín jako editorial, legacy tlačítka do heat jazyka, brigády search,
   drobnosti pro 320 px.
   ===================================================================== */

/* ---------- Detail desktop: mzda + místo + firma přímo v navy bandu ---------- */

body.hp-ds--detail .header-page-title .hp-ds-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 18px;
  margin: 8px 0 0;
  font-family: var(--hp-ds-font);
}

body.hp-ds--detail .header-page-title .hp-ds-detail-meta__pay {
  color: var(--hp-ds-color-pay-on-dark);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}

body.hp-ds--detail .header-page-title .hp-ds-detail-meta__place,
body.hp-ds--detail .header-page-title .hp-ds-detail-meta__org {
  position: relative;
  padding-left: 20px;
  color: var(--hp-ds-color-navy-muted);
  font-size: 15px;
  font-weight: 600;
}

body.hp-ds--detail .header-page-title .hp-ds-detail-meta__place::before,
body.hp-ds--detail .header-page-title .hp-ds-detail-meta__org::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 14px;
  margin-top: -8px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}

body.hp-ds--detail .header-page-title .hp-ds-detail-meta__place::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9c3da' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.1 7-11a7 7 0 1 0-14 0c0 4.9 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E");
}

body.hp-ds--detail .header-page-title .hp-ds-detail-meta__org::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9c3da' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16M6 20V7l6-3 6 3v13'/%3E%3Cpath d='M10 20v-4h4v4M9 9h.01M15 9h.01M9 13h.01M15 13h.01'/%3E%3C/svg%3E");
}

body.hp-ds--detail .header-page-title .hp-ds-detail-meta__place a,
body.hp-ds--detail .header-page-title .hp-ds-detail-meta__place a:visited {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.55);
  text-underline-offset: 3px;
}

body.hp-ds--detail .header-page-title .hp-ds-detail-meta__place a:hover {
  text-decoration-color: #fff;
}

/* ---------- Legacy tlačítka v obsahu: heat (.btn-red) a tichá sekundární (.btn-gray) ---------- */

body.hp-ds #page-content input.btn.btn-red,
body.hp-ds #page-content button.btn.btn-red:not(.btn-search) {
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: var(--hp-ds-radius-sm);
  background: var(--hp-ds-color-cta);
  box-shadow: var(--hp-ds-cta-press);
  color: #fff;
  font-family: var(--hp-ds-font);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: none;
  text-decoration: none;
}

body.hp-ds #page-content input.btn.btn-red:hover,
body.hp-ds #page-content button.btn.btn-red:not(.btn-search):hover {
  background: var(--hp-ds-color-cta-hover);
  color: #fff;
  font-size: 15px;
  text-decoration: none;
}

body.hp-ds #page-content a.btn.btn-red.btn-large:not(.btn-search) {
  min-height: 48px;
  font-size: 16px;
}

body.hp-ds #page-content a.btn.btn-gray,
body.hp-ds #page-content a.btn.btn-gray:hover {
  padding: 8px 14px;
  border: 1px solid var(--hp-ds-color-border-strong);
  border-radius: var(--hp-ds-radius-xs);
  background: var(--hp-ds-color-surface);
  color: var(--hp-ds-color-link);
  font-family: var(--hp-ds-font);
  font-size: 13.5px;
  font-weight: 700;
  text-shadow: none;
}

body.hp-ds #page-content a.btn.btn-gray:hover {
  background: var(--hp-ds-color-brand-soft);
}

/* ---------- Magazín: band bez h1 (téma / detail) čitelný jako ostatní H1 bandy ---------- */

body.hp-ds #header .header-page-title > .container > div[style] {
  margin: 0;
  color: var(--hp-ds-color-ink);
  font-family: var(--hp-ds-font);
  font-size: var(--hp-ds-font-h1) !important;
  font-weight: 800 !important;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ---------- Magazín: karta článku v indexu = kompaktní řádek, titul je hyperlink ---------- */

body.hp-ds--page .page-content .candidates-item:not(.candidates-single-item) {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 14px;
  margin: 0 0 10px;
  padding: 12px;
  border: 1px solid var(--hp-ds-color-border);
  border-radius: var(--hp-ds-radius-sm);
  background: var(--hp-ds-color-surface);
  box-shadow: none;
}

body.hp-ds--page .page-content .candidates-item:not(.candidates-single-item) .thumb {
  grid-row: 1 / span 3;
  float: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--hp-ds-radius-xs);
  overflow: hidden;
}

body.hp-ds--page .page-content .candidates-item:not(.candidates-single-item) .thumb img {
  display: block;
  width: 112px !important;
  height: 84px;
  object-fit: cover;
}

body.hp-ds--page .page-content .candidates-item:not(.candidates-single-item) .title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

body.hp-ds--page .page-content .candidates-item:not(.candidates-single-item) .title a,
body.hp-ds--page .page-content .candidates-item:not(.candidates-single-item) .title a.modryodkaz {
  color: var(--hp-ds-color-link) !important;
  font-size: 1em !important;
  text-decoration: underline !important;
  text-decoration-color: var(--hp-ds-link-underline);
  text-underline-offset: 3px;
}

body.hp-ds--page .page-content .candidates-item:not(.candidates-single-item) .title a:hover {
  color: var(--hp-ds-color-link-hover) !important;
  text-decoration-color: currentColor;
}

body.hp-ds--page .page-content .candidates-item:not(.candidates-single-item) .meta {
  margin: 2px 0 4px;
  color: var(--hp-ds-color-subtle);
  font-size: 12.5px;
  font-weight: 600;
}

body.hp-ds--page .page-content .candidates-item:not(.candidates-single-item) .description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0;
  color: var(--hp-ds-color-muted);
  font-size: 14px;
  line-height: 1.45;
}

body.hp-ds--page .page-content .candidates-item:not(.candidates-single-item) .description a {
  color: var(--hp-ds-color-link);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 479px) {
  body.hp-ds--page .page-content .candidates-item:not(.candidates-single-item) {
    grid-template-columns: 88px minmax(0, 1fr);
    column-gap: 10px;
  }

  body.hp-ds--page .page-content .candidates-item:not(.candidates-single-item) .thumb img {
    width: 88px !important;
    height: 66px;
  }

  body.hp-ds--page .page-content .candidates-item:not(.candidates-single-item) .title {
    font-size: 15px;
  }
}

/* ---------- Magazín: detail článku = editorial (čtecí šířka, velký titul, obrázek bez rámečku) ---------- */

body.hp-ds--page .page-content .candidates-single-item {
  margin: 0 0 14px;
  padding: 18px 16px 20px;
  border: 1px solid var(--hp-ds-color-border);
  border-radius: var(--hp-ds-radius-md);
  background: var(--hp-ds-color-surface);
  box-shadow: none;
}

body.hp-ds--page .page-content .candidates-single-item h1.title {
  margin: 0 0 4px;
  color: var(--hp-ds-color-ink);
  font-family: var(--hp-ds-font);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-transform: none;
  text-wrap: balance;
}

body.hp-ds--page .page-content .candidates-single-item .meta {
  display: block;
  margin: 0 0 12px;
  color: var(--hp-ds-color-subtle);
  font-size: 13px;
  font-weight: 600;
}

body.hp-ds--page .page-content .candidates-single-item img {
  max-width: 100% !important;
  width: 100% !important;
  height: auto;
  margin: 4px 0 18px !important;
  border-radius: var(--hp-ds-radius-sm);
}

body.hp-ds--page .page-content .candidates-single-item p,
body.hp-ds--page .page-content .candidates-single-item li {
  color: var(--hp-ds-color-ink-2);
  font-size: 16px;
  line-height: 1.6;
}

body.hp-ds--page .page-content .candidates-single-item p {
  margin: 0 0 14px;
}

body.hp-ds--page .page-content .candidates-single-item h2,
body.hp-ds--page .page-content .candidates-single-item h3 {
  margin: 22px 0 8px;
  color: var(--hp-ds-color-ink);
  font-family: var(--hp-ds-font);
  font-weight: 800;
  line-height: 1.25;
}

body.hp-ds--page .page-content .candidates-single-item h2 {
  font-size: 21px;
}

body.hp-ds--page .page-content .candidates-single-item h3 {
  font-size: 18px;
}

body.hp-ds--page .page-content .candidates-single-item a:not(.btn) {
  color: var(--hp-ds-color-link);
  text-decoration: underline;
  text-decoration-color: var(--hp-ds-link-underline);
  text-underline-offset: 3px;
}

@media (min-width: 768px) {
  body.hp-ds--page .page-content .candidates-single-item {
    padding: 26px 28px 28px;
  }

  body.hp-ds--page .page-content .candidates-single-item h1.title {
    font-size: 32px;
  }
}

/* ---------- 320 px: „ד v lokalitě netlačí na oddělovač okruhu, kompaktní CTA na detailu ---------- */

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .search-container:first-child .clear-button {
  margin-right: 4px;
}

@media (max-width: 359px) {
  body.hp-ds .hp-detail-listing-cta__btn {
    padding: 9px 10px;
    font-size: 13.5px;
  }

  body.hp-ds .hp-detail-listing-cta__field {
    min-width: 0;
  }
}

/* ---------- Listing sidebar (desktop): „Prozkoumejte" = odkaz + blízká města ---------- */

body.hp-ds--listing #page-content .col-sm-4 > .white-container .btn.btn-default {
  display: block;
  width: 100%;
  margin: 0 0 6px;
  padding: 11px 14px;
  border: 1px solid var(--hp-ds-color-brand-line);
  border-radius: var(--hp-ds-radius-sm);
  background: var(--hp-ds-color-brand-soft);
  color: var(--hp-ds-color-link);
  font-family: var(--hp-ds-font);
  font-size: 15px;
  font-weight: 800;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: var(--hp-ds-link-underline);
  text-underline-offset: 3px;
}

body.hp-ds--listing #page-content .col-sm-4 > .white-container .btn.btn-default::after {
  content: "\00a0\2192";
  float: right;
  text-decoration: none;
}

body.hp-ds--listing #page-content .col-sm-4 > .white-container .btn.btn-default:hover {
  background: var(--hp-ds-color-brand-soft-hover);
  border-color: var(--hp-ds-color-brand);
  color: var(--hp-ds-color-link-hover);
  font-size: 15px;
  text-decoration-color: currentColor;
}

/* ---------- Magazín homepage: karta bez obrázku nemá šedou plochu, nese jen brand akcent ---------- */

body.hp-ds .hp-ds-mag__card--text::before {
  content: none;
}

body.hp-ds .hp-ds-mag__card--text {
  padding-left: 12px;
  border-left: 3px solid var(--hp-ds-color-brand);
}

body.hp-ds .hp-ds-mag__card--text .hp-ds-mag__title {
  font-size: 16px;
}

/* ---------- Chybějící obrázek (alt text) nesmí přetékat kartu: index magazínu, firmy, lidé ---------- */

body.hp-ds--page .page-content .candidates-item:not(.candidates-single-item) .thumb {
  width: 112px;
  height: 84px;
  background: var(--hp-ds-color-surface-2);
  font-size: 11px;
  line-height: 1.25;
  color: var(--hp-ds-color-subtle);
}

@media (max-width: 479px) {
  body.hp-ds--page .page-content .candidates-item:not(.candidates-single-item) .thumb {
    width: 88px;
    height: 66px;
  }
}

body.hp-ds--page .page-content .candidates-item:not(.candidates-single-item) .thumb a {
  display: block;
  height: 100%;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

body.hp-ds--page .page-content .candidates-item img[alt]:not([src=""]) {
  overflow: hidden;
}

/* HEAT VII.2: chybějící obrázek v indexu magazínu — alt text zůstává pro čtečky, vizuálně jen tichá plocha */
body.hp-ds--page .page-content .candidates-item:not(.candidates-single-item) .thumb img {
  color: transparent;
  font-size: 0;
  background: var(--hp-ds-color-surface-2);
}

/* =====================================================================
   HYPERLINK HEAT VIII — walkthrough evidence: focus mód vede k akci,
   fakta nelámou slova, úzký search, generické band titulky jako eyebrow,
   oblíbené / apply / profil pod jedním DS.
   ===================================================================== */

/* ---------- Focus mód (mobil): vždy viditelná akce „Najít práci" + počet nabídek ---------- */

@media (max-width: 767px) {
  body.hp-ds.hp-ds-search-focus > .hp-ds-search .btn-search,
  body.hp-ds.hp-ds-search-focus > .hp-ds-search .btn-search:hover,
  body.hp-ds.hp-ds-search-focus > .hp-ds-search .btn-search:focus {
    display: flex !important;
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 5;
    width: auto !important;
    min-width: 0;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: var(--hp-ds-radius-sm);
    background: var(--hp-ds-color-cta) !important;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.18), var(--hp-ds-cta-press) !important;
    color: #fff !important;
    font-family: var(--hp-ds-font);
    font-size: 17px !important;
    font-weight: 800 !important;
  }

  body.hp-ds.hp-ds-search-focus > .hp-ds-search .btn-search::before {
    content: none !important;
  }

  body.hp-ds.hp-ds-search-focus > .hp-ds-search #job-count {
    display: block !important;
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: calc(72px + env(safe-area-inset-bottom));
    z-index: 5;
    margin: 0;
    padding: 8px 10px;
    border-top: 1px solid var(--hp-ds-color-divider);
    background: rgba(255, 255, 255, 0.96);
    font-family: var(--hp-ds-font);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
  }

  body.hp-ds.hp-ds-search-focus > .hp-ds-search #job-count:empty {
    display: none !important;
  }

  body.hp-ds.hp-ds-search-focus > .hp-ds-search #job-count a {
    color: var(--hp-ds-color-link);
    text-decoration: underline;
    text-decoration-color: var(--hp-ds-link-underline);
    text-underline-offset: 3px;
  }

  body.hp-ds.hp-ds-search-focus > .hp-ds-search #suggestions,
  body.hp-ds.hp-ds-search-focus > .hp-ds-search #suggestions-profese {
    padding-bottom: 150px;
  }

  /* Sticky search: ve fullscreen lokalitě nenabízet přepnutí na profesi — jedna jasná cesta */
  body.hp-ds.hp-ds-search-focus > .hp-ds-search--sticky .hp-ds-search-switch {
    display: none !important;
  }
}

/* ---------- Detail: fakta a mobilní souhrn nelámou slova uprostřed ---------- */

body.hp-ds .job-facts-box .job-facts-item-text,
body.hp-ds .job-facts-box .job-facts-item-text strong {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
}

body.hp-ds--detail .job-meta-bar .job-meta-left {
  width: 100%;
}

body.hp-ds--detail .job-meta-bar .job-meta-item--org,
body.hp-ds--detail .job-meta-bar .job-meta-item--place {
  flex: 0 1 auto;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

body.hp-ds--detail .job-meta-bar .job-meta-item--pay {
  overflow-wrap: break-word;
  word-break: normal;
}

/* ---------- Search pod 360 px: „ד a okruh si nelezou do cesty ---------- */

@media (max-width: 374px) {
  body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .search-container {
    padding-right: 6px;
  }

  body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .search-container:first-child .clear-button {
    width: 22px;
    margin-right: 2px;
  }

  body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #distance-container {
    margin-left: 0;
    padding-left: 4px;
  }

  body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #distance {
    max-width: 78px;
    padding: 0;
    font-size: 13px;
  }
}

/* ---------- H1 band bez h1 (téma / detail článku): eyebrow, ne falešný titul ---------- */

body.hp-ds #header .header-page-title > .container > div[style] {
  margin: 0;
  color: var(--hp-ds-color-brand);
  font-size: 11.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

body.hp-ds #header .header-page-title:has(> .container > div[style]) {
  padding-top: 10px;
  padding-bottom: 8px;
}

/* ---------- Oblíbené: H1 s počtem jako hero číslo, prázdný stav jako karta ---------- */

body.hp-ds #header .header-page-title h1 small {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 10px;
  border-radius: var(--hp-ds-radius-pill);
  background: var(--hp-ds-color-brand-soft);
  color: var(--hp-ds-color-link);
  font-size: 14px;
  font-weight: 800;
  vertical-align: middle;
}

body.hp-ds--detail #page-content .white-container form .form-control {
  min-height: 44px;
  border: 1px solid var(--hp-ds-color-border-strong);
  border-radius: var(--hp-ds-radius-xs);
  font-family: var(--hp-ds-font);
  font-size: 16px;
  box-shadow: none;
}

body.hp-ds--detail #page-content .white-container form .form-control:focus {
  border-color: var(--hp-ds-color-brand);
  box-shadow: 0 0 0 3px var(--hp-ds-color-focus);
}

/* ---------- Detail band (mobil): jeden kompaktní celek, žádné prázdné pruhy ---------- */

body.hp-ds--detail #header .job-label {
  padding: 10px 0 0;
}

body.hp-ds--detail #header .header-page-title {
  padding: 4px 0 2px;
}

body.hp-ds--detail .job-meta-bar {
  padding: 2px 0 12px;
}

body.hp-ds--detail .job-meta-bar .job-meta-left {
  flex-direction: column;
  align-items: flex-start;
  row-gap: 3px;
}

body.hp-ds--detail .job-meta-bar .job-meta-item--pay {
  flex: none;
  margin: 0 0 2px;
}

body.hp-ds--detail .job-meta-bar .job-meta-item--org {
  margin-left: 0;
}

body.hp-ds--detail .job-meta-bar .job-meta-item--place a,
body.hp-ds--detail .job-meta-bar .job-meta-item--place a:link,
body.hp-ds--detail .job-meta-bar .job-meta-item--place a:visited {
  color: #fff !important;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.55);
}

body.hp-ds--detail .job-meta-bar .hp-miniinfo-note {
  margin-top: 8px;
}

/* ---------- Desktop: popis celý, bez rolovátka ---------- */

@media (min-width: 768px) {
  body.hp-ds .hp-job-desc__toggle {
    display: none !important;
  }

  body.hp-ds .hp-job-desc__text--clamped {
    display: block;
    max-height: none;
    overflow: visible;
    -webkit-line-clamp: unset;
  }

  body.hp-ds .hp-job-desc__text--clamped::after {
    content: none;
  }
}

/* ---------- Focus mód (mobil): akce hned pod polem, klávesnice ji nepřekryje ---------- */

@media (max-width: 767px) {
  body.hp-ds.hp-ds-search-focus > .hp-ds-search .btn-search,
  body.hp-ds.hp-ds-search-focus > .hp-ds-search .btn-search:hover,
  body.hp-ds.hp-ds-search-focus > .hp-ds-search .btn-search:focus {
    top: 66px;
    bottom: auto;
    min-height: 50px;
    box-shadow: var(--hp-ds-cta-press) !important;
  }

  body.hp-ds.hp-ds-search-focus > .hp-ds-search #job-count {
    top: 122px;
    bottom: auto;
    padding: 4px 10px 6px;
    border-top: 0;
    background: transparent;
    font-size: 13.5px;
  }

  body.hp-ds.hp-ds-search-focus > .hp-ds-search #suggestions,
  body.hp-ds.hp-ds-search-focus > .hp-ds-search #suggestions-profese {
    margin-top: 104px;
    padding-bottom: 24px;
  }

  body.hp-ds.hp-ds-search-focus > .hp-ds-search #job-count:not(:empty) ~ * #suggestions {
    margin-top: 104px;
  }
}

/* ---------- Sticky search: jedna věc — město → práce ---------- */

body.hp-ds .hp-ds-sticky-summary__place {
  position: relative;
  padding-left: 34px;
  padding-right: 30px;
  border-color: var(--hp-ds-color-brand-line);
  background: var(--hp-ds-color-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%231a7fcc' d='M8 1.4a4.4 4.4 0 0 0-4.4 4.4c0 3.1 4.4 8.4 4.4 8.4s4.4-5.3 4.4-8.4A4.4 4.4 0 0 0 8 1.4zm0 6a1.6 1.6 0 1 1 0-3.2 1.6 1.6 0 0 1 0 3.2z'/%3E%3C/svg%3E") 11px center / 16px 16px no-repeat;
  color: var(--hp-ds-color-ink);
}

body.hp-ds .hp-ds-sticky-summary__place::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--hp-ds-color-muted);
  border-bottom: 2px solid var(--hp-ds-color-muted);
  transform: rotate(45deg);
}

body.hp-ds .hp-ds-sticky-summary__go,
body.hp-ds .hp-ds-sticky-summary__go:hover,
body.hp-ds .hp-ds-sticky-summary__go:focus-visible {
  padding: 0 16px;
  background: var(--hp-ds-color-cta) !important;
  box-shadow: var(--hp-ds-cta-press) !important;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

body.hp-ds .hp-ds-sticky-summary__go:hover {
  background: var(--hp-ds-color-cta-hover) !important;
}

/* ---------- Apply: čitelný, soustředěný, jedno CTA ---------- */

body.hp-ds--apply img[src*="overeny-zamestnavatel"] {
  display: none !important;
}

body.hp-ds--apply #page-content .page-content {
  font-size: 15px;
  line-height: 1.5;
}

body.hp-ds--apply #page-content h6.title {
  margin: 0 0 10px;
  color: var(--hp-ds-color-ink);
  font-family: var(--hp-ds-font);
  font-size: 18px !important;
  font-weight: 800;
  line-height: 1.3;
}

body.hp-ds--apply #page-content h6.title a {
  font-size: 18px !important;
}

body.hp-ds--apply #page-content .white-container.contact-form-widget {
  margin-top: 14px !important;
  padding: 16px 14px !important;
}

body.hp-ds--apply #page-content .form-group {
  margin-bottom: 12px;
}

body.hp-ds--apply #page-content .form-control {
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--hp-ds-color-border-strong);
  border-radius: var(--hp-ds-radius-xs);
  font-family: var(--hp-ds-font);
  font-size: 16px;
  box-shadow: none;
}

body.hp-ds--apply #page-content textarea.form-control {
  min-height: 120px;
}

body.hp-ds--apply #page-content label,
body.hp-ds--apply #page-content .radio label,
body.hp-ds--apply #page-content .checkbox label,
body.hp-ds--apply #page-content div[style*="font-size: 0.9em"],
body.hp-ds--apply #page-content small {
  font-size: 14px !important;
  line-height: 1.45;
  color: var(--hp-ds-color-ink-2);
}

body.hp-ds--apply #page-content .job-facts-box {
  margin: 0 0 14px;
}

/* Proklik na web partnera: „Odpovíte na webu [logo]“ pod CTA (jt_apply_partner_cil_html), logo nesmí odsouvat CTA.
   Loga z /img/partneri/ mají velké bílé okraje (praca.pl: nápis 38 % výšky), proto 40 px výška, ne menší. */
body.hp-ds--apply #page-content .jt-apply-cil {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 8px;
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.35;
  color: var(--hp-ds-color-ink-2);
}

body.hp-ds--apply #page-content .jt-apply-cil picture {
  display: block;
}

body.hp-ds--apply #page-content .jt-apply-cil__logo {
  display: block;
  width: auto;
  height: 40px;
  max-width: 140px;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: contain;
  mix-blend-mode: multiply; /* bílé pozadí JPG log splyne s krémovou kartou kroku */
}

body.hp-ds--apply #page-content #apply_button_cvsend,
body.hp-ds--apply #page-content input.btn.btn-red {
  display: block;
  width: 100%;
  min-height: 56px;
  margin: 8px 0 4px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--hp-ds-radius-sm);
  background: var(--hp-ds-color-cta);
  box-shadow: var(--hp-ds-cta-press);
  color: #fff;
  font-family: var(--hp-ds-font);
  font-size: 18px;
  font-weight: 800;
  text-shadow: none;
}

body.hp-ds--apply #page-content #apply_button_cvsend:hover,
body.hp-ds--apply #page-content #apply_button_cvsend:focus {
  background: var(--hp-ds-color-cta-hover);
  color: #fff;
}

@media (min-width: 768px) {
  body.hp-ds--apply #page-content #apply_button_cvsend {
    width: auto;
    min-width: 320px;
  }
}

/* HEAT X.1: legacy #page-content { box-shadow: inset 0 5px 5px -5px } kreslil linku mezi H1 bandem a souhrnem */
body.hp-ds #page-content {
  box-shadow: none;
}

/* HEAT X.2: mobilní souhrn přesahuje o 1px do H1 bandu — hrana box-shadow spreadu na DPR 2 jinak kreslí švík */
body.hp-ds--detail .job-meta-bar {
  margin: -1px 0 12px !important;
  padding-top: 3px;
}

/* ---------- Focus mód: stavy confirmed / dirty / empty ---------- */

body.hp-ds .hp-ds-focus-hint {
  display: none;
}

@media (max-width: 767px) {
  /* dirty / empty: žádné CTA, které by svádělo odeslat půlku slova — vede našeptávač */
  body.hp-ds.hp-ds-search-focus--dirty > .hp-ds-search .btn-search,
  body.hp-ds.hp-ds-search-focus--empty > .hp-ds-search .btn-search,
  body.hp-ds.hp-ds-search-focus--dirty > .hp-ds-search #job-count,
  body.hp-ds.hp-ds-search-focus--empty > .hp-ds-search #job-count {
    display: none !important;
  }

  body.hp-ds.hp-ds-search-focus--dirty > .hp-ds-search .hp-ds-focus-hint,
  body.hp-ds.hp-ds-search-focus--empty > .hp-ds-search .hp-ds-focus-hint {
    display: block;
    position: absolute;
    top: 66px;
    left: 12px;
    right: 12px;
    z-index: 5;
    padding: 8px 2px;
    color: var(--hp-ds-color-muted);
    font-family: var(--hp-ds-font);
    font-size: 14px;
    font-weight: 600;
  }

  body.hp-ds.hp-ds-search-focus--dirty > .hp-ds-search .hp-ds-focus-hint::before {
    content: "\2193\00a0";
    color: var(--hp-ds-color-brand);
  }

  body.hp-ds.hp-ds-search-focus--dirty > .hp-ds-search #suggestions,
  body.hp-ds.hp-ds-search-focus--empty > .hp-ds-search #suggestions {
    margin-top: 46px;
  }

  /* V dirty stavu je první položka našeptávače zvýrazněná = to, co udělá Enter */
  body.hp-ds.hp-ds-search-focus--dirty > .hp-ds-search #suggestions .suggestion-item:first-child {
    background: var(--hp-ds-color-brand-soft);
    font-weight: 700;
  }

  body.hp-ds.hp-ds-search-focus--dirty > .hp-ds-search #suggestions .suggestion-item:first-child::after {
    content: "\21B5";
    float: right;
    color: var(--hp-ds-color-subtle);
    font-weight: 400;
  }
}

/* ---------- Detail desktop band: firma na vlastním řádku, mzda + město spolu ---------- */

body.hp-ds--detail .header-page-title .hp-ds-detail-meta__org {
  flex: 1 1 100%;
}

/* HEAT XII.1: rotující infotip pod sloupci detailu (col-sm-8 wrapper) v plné šířce, ne poloviční */
body.hp-ds .row > [class*="col-"]:has(> a.hp-infotip) {
  width: 100%;
  float: none;
}

/* ---------- Detail hlavička: celé #header navy pod navy bloky (žádné sub-pixelové švy mezi breadcrumb a H1) ---------- */

body.hp-ds--detail #header {
  background: var(--hp-ds-color-navy);
}

body.hp-ds--detail #header .header-nav-bar {
  background: #fff;
}

/* ---------- Desktop detail: sidebar v normálním page scrollu, žádné nested bordery ---------- */

@media (min-width: 768px) {
  body.hp-ds--detail #page-content > .container > .row {
    display: flex;
    align-items: flex-start;
  }

  body.hp-ds--detail #page-content > .container > .row::before,
  body.hp-ds--detail #page-content > .container > .row::after {
    content: none;
  }

  body.hp-ds--detail #page-content > .container > .row > .page-content,
  body.hp-ds--detail #page-content > .container > .row > .page-sidebar {
    float: none;
  }
}

body.hp-ds .hp-jobs-cowatch {
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.hp-ds .hp-jobs-cowatch > h4 {
  display: none !important;
}

body.hp-ds--detail .page-sidebar > aside > div > *:first-child {
  margin-top: 0 !important;
}

/* ---------- Články: logo partnera/autora celé a malé, hero obrázek článku na šířku ---------- */

body.hp-ds--page .page-content .candidates-item:not(.candidates-single-item) .thumb img[src*="/img/partneri/"] {
  width: 112px !important;
  height: 84px;
  padding: 10px;
  background: #fff;
  object-fit: contain;
}

body.hp-ds--page .page-content .candidates-single-item .thumb img {
  width: auto !important;
  max-width: 160px !important;
  margin: 0 !important;
}

/* ---------- Search: formulářové pravidlo apply nesmí chytat input searche (vnitřní rámeček) ---------- */

body.hp-ds--detail #page-content .hp-ds-search form .form-control,
body.hp-ds--detail #page-content .white-container.hp-ds-search form .form-control {
  min-height: 0;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
}

/* ---------- Apply: hero s klidem, „Zpět" s odstupem, čitelné důvěryhodné texty ---------- */

body.hp-ds--apply #header .header-page-title {
  padding-bottom: 14px;
}

@media (min-width: 768px) {
  body.hp-ds--apply #header .header-page-title {
    padding-bottom: 20px;
  }
}

body.hp-ds--apply #page-content .job-secondary-btn {
  margin: 14px 0 12px !important;
}

/* ---------- FAQ: vnořený seznam v odpovědi není akordeonová položka ---------- */

body.hp-ds--detail .accordion ul > li > div ul,
body.hp-ds--detail .accordion ul > li > div ul > li {
  margin: 0;
  padding: 0 0 0 18px;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  list-style: disc;
}

body.hp-ds--detail .accordion ul > li > div ul > li {
  padding: 2px 0;
  color: var(--hp-ds-color-ink-2);
  font-size: 14px;
  line-height: 1.5;
}

body.hp-ds--detail .accordion ul > li > div ul > li::before {
  content: none !important;
}

/* =====================================================================
   HYPERLINK HEAT XV — dva samostatné focus módy (LOCATION beze změny,
   PROFESSION nový) a apply hero composition.
   ===================================================================== */

@media (max-width: 767px) {
  /* Každý mód ukazuje jen své pole (sticky search má jen LOCATION) */
  body.hp-ds.hp-ds-search-focus--loc > .hp-ds-search .search-container:nth-child(2),
  body.hp-ds.hp-ds-search-focus--job > .hp-ds-search .search-container:first-child {
    display: none !important;
  }

  body.hp-ds.hp-ds-search-focus > .hp-ds-search .search-form-container {
    flex: 1 1 auto;
    justify-content: flex-start;
  }

  body.hp-ds.hp-ds-search-focus > .hp-ds-search .location-search {
    justify-content: flex-start;
  }

  /* ---------- PROFESSION mód: pole / kontext (město · okruh) / CTA / stav / hint / našeptávač ---------- */

  body.hp-ds .hp-ds-focus-context,
  body.hp-ds .hp-ds-focus-status {
    display: none;
  }

  body.hp-ds.hp-ds-search-focus--job > .hp-ds-search .hp-ds-focus-context {
    display: block;
    position: absolute;
    top: 62px;
    left: 60px;
    right: 12px;
    z-index: 5;
    padding-left: 18px;
    color: var(--hp-ds-color-muted);
    font-family: var(--hp-ds-font);
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%231a7fcc' d='M8 1.4a4.4 4.4 0 0 0-4.4 4.4c0 3.1 4.4 8.4 4.4 8.4s4.4-5.3 4.4-8.4A4.4 4.4 0 0 0 8 1.4zm0 6a1.6 1.6 0 1 1 0-3.2 1.6 1.6 0 0 1 0 3.2z'/%3E%3C/svg%3E") 0 center / 13px 13px no-repeat;
  }

  body.hp-ds.hp-ds-search-focus--job > .hp-ds-search .btn-search,
  body.hp-ds.hp-ds-search-focus--job > .hp-ds-search .btn-search:hover,
  body.hp-ds.hp-ds-search-focus--job > .hp-ds-search .btn-search:focus {
    display: flex !important;
    top: 92px;
    bottom: auto;
    min-height: 50px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* živý počet je ve stavovém řádku, surový #job-count se v tomto módu neukazuje */
  body.hp-ds.hp-ds-search-focus--job > .hp-ds-search #job-count {
    display: none !important;
  }

  body.hp-ds.hp-ds-search-focus--job > .hp-ds-search .hp-ds-focus-status {
    display: block;
    position: absolute;
    top: 150px;
    left: 12px;
    right: 12px;
    z-index: 5;
    min-height: 22px;
    padding: 0 2px;
    color: var(--hp-ds-color-ink);
    font-family: var(--hp-ds-font);
    font-size: 15px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
    transition: opacity 0.15s ease;
  }

  body.hp-ds.hp-ds-search-focus--job > .hp-ds-search #job-count.is-updating ~ .hp-ds-focus-status,
  body.hp-ds.hp-ds-search-focus--job > .hp-ds-search .hp-ds-focus-status:empty {
    opacity: 0.55;
  }

  body.hp-ds.hp-ds-search-focus--job-zero > .hp-ds-search .hp-ds-focus-status {
    color: var(--hp-ds-color-muted);
    font-weight: 600;
  }

  body.hp-ds.hp-ds-search-focus--job > .hp-ds-search .hp-ds-focus-hint {
    display: block;
    position: absolute;
    top: 176px;
    left: 12px;
    right: 12px;
    z-index: 5;
    padding: 0 2px;
    color: var(--hp-ds-color-subtle);
    font-family: var(--hp-ds-font);
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
  }

  body.hp-ds.hp-ds-search-focus--job > .hp-ds-search .hp-ds-focus-hint:empty {
    display: none;
  }

  body.hp-ds.hp-ds-search-focus--job > .hp-ds-search #suggestions-profese {
    margin-top: 150px;
  }

  body.hp-ds.hp-ds-search-focus--job-empty > .hp-ds-search #suggestions-profese {
    display: none !important;
  }

  body.hp-ds.hp-ds-search-focus--job > .hp-ds-search #suggestions-profese div::before {
    content: "\2192\00a0";
    color: var(--hp-ds-color-brand);
  }

  /* ---------- Apply hero: obsah nesmí ležet na spodní hraně ----------
     !important kvůli legacy global_default_fonts_min.css
     „@media (max-width:600px) .header-page-title { padding:5px 0 0 !important }“ */

  body.hp-ds--apply #header .job-label {
    padding-top: 14px;
  }

  body.hp-ds--apply #header .header-page-title {
    padding: 6px 0 24px !important;
  }
}

@media (min-width: 768px) {
  body.hp-ds--apply #header .job-label {
    padding-top: 20px;
  }

  body.hp-ds--apply #header .header-page-title {
    padding: 8px 0 30px;
  }
}

/* =====================================================================
   HYPERLINK HEAT XVI — dotažení: dech pod detail hero, desktop search
   na ose obsahu (bez clearfix mezer, „ד jen při editaci, okruh jako
   chip), fakta bez plošného boldu, push nahoře pod sticky lištou,
   našeptávač profese hned pod stavem.
   ===================================================================== */

/* ---------- Detail hero: spodní okraj dýchá, výška zůstává kompaktní ---------- */

body.hp-ds--detail .job-meta-bar {
  padding-bottom: 20px;
}

@media (min-width: 768px) {
  body.hp-ds--detail #header .header-page-title {
    padding-bottom: 24px;
  }
}

/* ---------- Desktop search: zero-width clearfix pseudo-elementy jsou flex položky
   a každý vezme jeden gap — pole pak začínalo 20 px vpravo od osy H1 / faktů ---------- */

body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .location-search::before,
body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .location-search::after,
body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .search-form-container::before,
body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .search-form-container::after {
  content: none;
  display: none;
}

@media (min-width: 768px) {
  /* „ד není trvalý ovládací prvek: objeví se až při editaci (focus) nebo hoveru nad polem,
     a jen když pole něco obsahuje. JS drží focus v poli při mousedown na „ד. */
  body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .clear-button {
    display: none !important;
    width: 24px;
    height: 24px;
    margin: 0 2px 0 0;
    border-radius: 50%;
    background: var(--hp-ds-color-subtle);
    color: transparent;
    font-size: 0;
    line-height: 0;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 4l8 8M12 4l-8 8'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 4l8 8M12 4l-8 8'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
  }

  body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .search-container:focus-within input[type="text"]:not(:placeholder-shown) ~ .clear-button,
  body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .search-container:hover input[type="text"]:not(:placeholder-shown) ~ .clear-button {
    display: inline-flex !important;
  }

  body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .clear-button:hover {
    background: var(--hp-ds-color-ink);
  }

  /* Okruh: tichý chip místo svislé linky vedle „ד */
  body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #distance-container {
    margin-left: 6px;
    padding: 0 2px 0 8px;
    border-left: 0;
    border-radius: 6px;
    background: var(--hp-ds-color-brand-soft);
  }

  body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) #distance {
    color: var(--hp-ds-color-link);
  }

  body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .search-container:first-child .clear-button {
    margin-right: 0;
  }
}

/* ---------- Web push (mobil): slim lišta pod sticky searchem, ne bublina v rohu.
   Dole žije Performax square anchor (pravý dolní roh), s ním se nesmí potkat. ---------- */

@keyframes hpDsPushIn {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  body.hp-ds .sticky-similar-wrapper {
    top: 10px;
    bottom: auto;
    left: 12px;
    right: 12px;
    animation: hpDsPushIn 0.3s ease-out;
  }

  /* sticky lišta (#hpStickySearch) je 61 px; push začíná až pod ní */
  body.hp-ds.hp-has-sticky-search-padding .sticky-similar-wrapper {
    top: 71px;
  }

  body.hp-ds .sticky-similar-card,
  body.hp-ds .sticky-similar-card:hover,
  body.hp-ds .sticky-similar-card:focus {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    min-width: 0;
    gap: 10px;
    padding: 10px 40px 10px 12px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.14);
    text-align: left;
  }

  body.hp-ds .sticky-similar-icon {
    flex: none;
    font-size: 20px;
    line-height: 1;
  }

  body.hp-ds .sticky-similar-text {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
  }

  body.hp-ds .sticky-similar-text br {
    display: none;
  }

  body.hp-ds .sticky-similar-text strong {
    font-weight: 800;
  }

  body.hp-ds .sticky-similar-card::after {
    content: attr(data-jt-ds-cta);
    flex: none;
    padding: 6px 10px;
    border-radius: var(--hp-ds-radius-pill);
    background: var(--hp-ds-color-brand);
    color: #fff;
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1;
  }

  body.hp-ds .sticky-close {
    top: 50%;
    right: 6px;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    box-shadow: none;
    font-size: 20px;
    line-height: 30px;
  }
}

/* ---------- Profese focus mód: našeptávač navazuje hned na stavový řádek ---------- */

@media (max-width: 767px) {
  body.hp-ds.hp-ds-search-focus--job > .hp-ds-search #suggestions-profese {
    margin-top: 122px;
    padding-top: 0;
  }

  body.hp-ds.hp-ds-search-focus--job > .hp-ds-search #suggestions-profese div {
    min-height: 44px;
    padding: 12px 16px;
  }
}

/* ---------- XVI.1 ---------- */

/* Kontext / stav profese existují v DOM vždy (JS je vytvoří) — mimo focus mód jsou to
   zero-width flex položky .location-search a na desktopu každá vzala jeden gap (pole 20 px mimo osu) */
body.hp-ds .hp-ds-focus-context,
body.hp-ds .hp-ds-focus-status {
  display: none;
}

@media (max-width: 767px) {
  /* Klasický search: pole s focusem má z-index 6 (:focus-within) a ve focus módu je roztažené
     na celou výšku — překrývalo CTA (z 5), dotyk na tlačítko šel do pole. Sticky search tu
     třídu nemá, proto fungoval jen on. */
  body.hp-ds.hp-ds-search-focus > .hp-ds-search .search-container:focus-within {
    z-index: auto;
    box-shadow: none;
  }

  body.hp-ds.hp-ds-search-focus > .hp-ds-search .btn-search,
  body.hp-ds.hp-ds-search-focus > .hp-ds-search #job-count,
  body.hp-ds.hp-ds-search-focus--job > .hp-ds-search .hp-ds-focus-context,
  body.hp-ds.hp-ds-search-focus--job > .hp-ds-search .hp-ds-focus-status,
  body.hp-ds.hp-ds-search-focus--job > .hp-ds-search .hp-ds-focus-hint {
    z-index: 7;
  }
}

/* =====================================================================
   JobsTrail additions — komponenty, které HitPrace nemá (zahraniční rozcestník
   na homepage, GPS výzva v hero bez vlastní třídy, drobnosti pro delší překlady).
   Jen tokeny, žádné natvrdo zapsané barvy.
   ===================================================================== */

/* Práce za hranicemi (homepage): mřížka vlajek jako klidná sekce, odkazy v link jazyce */
body.hp-ds .page-content > h2 + .hp-home-foreign,
body.hp-ds .hp-home-foreign {
  margin: 0 0 var(--hp-ds-section-gap) !important;
  padding: 14px 16px !important;
  background: var(--hp-ds-color-surface);
  border: 1px solid var(--hp-ds-color-border);
  border-radius: var(--hp-ds-radius-md);
  box-shadow: none !important;
}

body.hp-ds .page-content > h2 {
  margin: var(--hp-ds-section-gap) 0 12px;
  color: var(--hp-ds-color-ink);
  font-family: var(--hp-ds-font);
  font-size: var(--hp-ds-font-h2);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

body.hp-ds .hp-home-foreign__grid {
  justify-content: flex-start;
  gap: 8px;
}

body.hp-ds .hp-home-foreign__item,
body.hp-ds .hp-home-foreign__item:hover,
body.hp-ds .hp-home-foreign__item:focus {
  width: auto;
  min-width: 0;
  min-height: 0;
  flex-direction: row;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--hp-ds-color-border);
  border-radius: var(--hp-ds-radius-pill);
  background: var(--hp-ds-color-surface);
  color: var(--hp-ds-color-link);
  font-family: var(--hp-ds-font);
  text-decoration: none;
}

body.hp-ds .hp-home-foreign__item:hover,
body.hp-ds .hp-home-foreign__item:focus-visible {
  border-color: var(--hp-ds-color-brand-line);
  background: var(--hp-ds-color-brand-soft);
}

body.hp-ds .hp-home-foreign__item img {
  width: 24px;
  height: 16px;
  border-radius: 2px;
}

body.hp-ds .hp-home-foreign__name {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: var(--hp-ds-link-underline);
  text-underline-offset: 3px;
}

body.hp-ds .hp-home-foreign__count {
  color: var(--hp-ds-color-muted);
  font-size: 12.5px;
  font-weight: 600;
}

/* Search tlačítko: delší překlady (de/hu/ro) se nelámou, na širším mobilu zůstane text */
body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .btn-search {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 481px) and (max-width: 767px) {
  body.hp-ds .hp-ds-search:not(.hp-ds-search--sticky) .btn-search {
    padding: 0 14px;
    font-size: 15px !important;
  }
}

/* Sticky souhrn: dlouhé názvy měst a překlady tlačítka se vejdou do 360 px */
@media (max-width: 400px) {
  body.hp-ds .hp-ds-sticky-summary__go {
    padding: 0 12px;
    font-size: 14px;
  }

  body.hp-ds .hp-ds-sticky-summary__radius select {
    max-width: 80px;
    font-size: 12.5px;
  }
}

/* Mobilní detail: ikonky meta položek bez emoji (span.job-meta-ico je skrytý, ikonku kreslí ::before) */
body.hp-ds .job-meta-bar .job-meta-item--pay .job-meta-ico {
  display: none;
}

/* Legacy recent-jobs (bez data-jt-ds) se nikdy nemíchá s DS třídami; DS recent dostane rozestup od railu */
body.hp-ds--home #recent-jobs-box.hp-ds-recent {
  margin-top: var(--hp-ds-section-gap);
}

/* Ad sloty (adServingPlacement) zůstávají v toku stránky beze změny rozměrů — DS je nestyluje */
body.hp-ds .adsbygoogle,
body.hp-ds [id^="ad-"] {
  font-family: initial;
}

/* Magazín na mobilu: karta bez obrázku (chybějící soubor, onerror) nenechává prázdný sloupec náhledu */
@media (max-width: 767px) {
  body.hp-ds .hp-ds-mag__card.hp-ds-mag__card--text {
    grid-template-columns: minmax(0, 1fr);
  }

  body.hp-ds .hp-ds-mag__card--text .hp-ds-mag__title,
  body.hp-ds .hp-ds-mag__card--text .hp-ds-mag__date {
    grid-column: 1;
  }
}

/* =====================================================================
   JobsTrail additions II — account strip firmy, chrome pro /admin/, rozcestník
   měst jako hyperlinková mřížka, magazín s vnitřním okrajem, apply layout.
   ===================================================================== */

/* ---------- Account strip (tónovaná retenční vrstva pod hlavičkou, mobil i desktop) ---------- */

body.hp-ds .hp-account-strip {
  position: relative;
  z-index: 2;
  background: #e6edf5;
  border-bottom: 1px solid #c9d6e4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  font-family: var(--hp-ds-font);
}

body.hp-ds .hp-account-strip > .container {
  max-width: var(--hp-ds-container);
}

body.hp-ds .hp-account-strip__row {
  display: flex;
  align-items: center;
  min-height: 34px;
}

body.hp-ds .hp-account-strip__row:hover {
  background: #dde7f2;
}

body.hp-ds #header .hp-account-strip__main,
body.hp-ds #header .hp-account-strip__main:hover,
body.hp-ds #header .hp-account-strip__main:focus {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: baseline;
  gap: 0;
  padding: 7px 0;
  color: var(--hp-ds-color-ink-2);
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
}

body.hp-ds .hp-account-strip__emoji {
  display: inline-block;
  flex: none;
  margin-right: 7px;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 14px;
  line-height: 1;
}

body.hp-ds .hp-account-strip__role {
  flex: none;
  color: var(--hp-ds-color-navy);
  font-size: 13.5px;
  font-weight: 800;
}

body.hp-ds .hp-account-strip__stats {
  flex: none;
  color: var(--hp-ds-color-link);
  font-size: 12.5px;
  font-weight: 600;
}

body.hp-ds .hp-account-strip__id {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--hp-ds-color-muted);
  font-size: 12.5px;
}

body.hp-ds .hp-account-strip__role + .hp-account-strip__stats::before,
body.hp-ds .hp-account-strip__stats + .hp-account-strip__id::before,
body.hp-ds .hp-account-strip__role + .hp-account-strip__id::before {
  content: "\00B7";
  margin: 0 6px;
  color: var(--hp-ds-color-subtle);
}

body.hp-ds .hp-account-strip__chevron {
  flex: none;
  margin-left: auto;
  padding-left: 8px;
  color: var(--hp-ds-color-muted);
  font-size: 16px;
}

body.hp-ds .hp-account-strip__links {
  display: none;
}

body.hp-ds #header .hp-account-strip__logout,
body.hp-ds #header .hp-account-strip__logout:hover,
body.hp-ds #header .hp-account-strip__logout:focus {
  flex: none;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  margin-left: 2px;
  color: var(--hp-ds-color-muted);
  background: none;
  text-decoration: none;
  border-radius: 6px;
}

body.hp-ds #header .hp-account-strip__logout:hover,
body.hp-ds #header .hp-account-strip__logout:focus-visible {
  color: var(--hp-ds-color-ink);
}

body.hp-ds .hp-account-strip__logout svg {
  display: block;
  width: 16px;
  height: 16px;
}

@media (min-width: 992px) {
  body.hp-ds .hp-account-strip__links {
    display: flex;
    flex: none;
    align-items: center;
    gap: 14px;
    margin-left: 16px;
    padding: 6px 0 6px 16px;
    border-left: 1px solid #c9d6e4;
    font-size: 12.5px;
    line-height: 20px;
  }

  body.hp-ds #header .hp-account-strip__links > a,
  body.hp-ds #header .hp-account-strip__links > a:visited {
    color: var(--hp-ds-color-link);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--hp-ds-link-underline);
    text-underline-offset: 3px;
  }

  body.hp-ds #header .hp-account-strip__links > a:hover,
  body.hp-ds #header .hp-account-strip__links > a:focus {
    color: var(--hp-ds-color-link-hover);
    text-decoration-color: currentColor;
  }

  body.hp-ds .hp-account-strip__chevron {
    display: none;
  }

  body.hp-ds .hp-account-strip__logout {
    margin-left: 8px;
  }
}

body.hp-ds:has(#mobile-menu-container.hp-mobile-menu-open) .hp-account-strip {
  display: none;
}

/* ---------- /admin/ (employer panel): jen společný chrome, vnitřní UI (admin-css, company-admin-nav) beze změny ---------- */

body.hp-ds--firma,
body.hp-ds--firma.loaded {
  background: var(--hp-ds-color-page);
}

body.hp-ds--firma #header .header-page-title {
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--hp-ds-color-hero-line);
}

body.hp-ds--firma #header .header-page-title h1 {
  font-size: var(--hp-ds-font-h1) !important;
}

body.hp-ds--firma #page-content {
  box-shadow: none;
}

body.hp-ds--firma .company-admin-nav a {
  font-family: var(--hp-ds-font);
}

@media (min-width: 1200px) {
  body.hp-ds--firma .container {
    max-width: 1200px;
  }
}

/* ---------- Rozcestník měst (vykresliOblakaBlizkychLokalit / vykresliOblakaTOPLokalit) = mřížka hyperlinků, ne pilulky ---------- */

body.hp-ds .hp-ds-city-signpost {
  margin: 14px 0 !important;
  padding: 16px 18px 14px !important;
  border: 1px solid var(--hp-ds-color-border);
  border-top: 3px solid var(--hp-ds-color-brand);
  border-radius: var(--hp-ds-radius-md);
  background: var(--hp-ds-color-surface);
  text-align: left;
}

body.hp-ds .hp-ds-city-signpost h3,
body.hp-ds .page-sidebar .hp-ds-city-signpost h3,
body.hp-ds .page-content .hp-ds-city-signpost h3 {
  margin: 0 0 8px !important;
  padding: 0;
  color: var(--hp-ds-color-ink);
  font-family: var(--hp-ds-font);
  font-size: var(--hp-ds-font-h3) !important;
  font-weight: 800;
  line-height: 1.3;
  text-transform: none;
  text-align: left;
}

body.hp-ds .hp-ds-city-signpost h3 br {
  display: none;
}

body.hp-ds .hp-ds-city-signpost .jobs-item.jobs-single-item {
  float: none;
  width: auto;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: default;
}

body.hp-ds .hp-ds-city-signpost .additional-requirements {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.hp-ds .hp-ds-city-signpost .additional-requirements::before,
body.hp-ds .hp-ds-city-signpost .additional-requirements::after {
  content: none;
  display: none;
}

@media (min-width: 768px) {
  body.hp-ds .page-content .hp-ds-city-signpost .additional-requirements,
  body.hp-ds .page-content > .hp-ds-city-signpost .additional-requirements {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

body.hp-ds .hp-ds-city-signpost .additional-requirements > li {
  float: none;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--hp-ds-color-divider);
  border-radius: 0;
  background: transparent;
  font-size: 14.5px;
  line-height: 1.35;
}

body.hp-ds .hp-ds-city-signpost .additional-requirements a,
body.hp-ds .hp-ds-city-signpost .additional-requirements a:visited {
  display: block;
  padding: 7px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--hp-ds-color-link);
  font-family: var(--hp-ds-font);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--hp-ds-link-underline);
  text-underline-offset: 3px;
}

body.hp-ds .hp-ds-city-signpost .additional-requirements a::after {
  content: "\00a0\203A";
  color: var(--hp-ds-color-subtle);
  text-decoration: none;
}

body.hp-ds .hp-ds-city-signpost .additional-requirements a:hover,
body.hp-ds .hp-ds-city-signpost .additional-requirements a:focus-visible {
  color: var(--hp-ds-color-link-hover);
  background: var(--hp-ds-color-brand-soft);
  font-size: 14.5px;
  text-decoration-color: currentColor;
}

/* ---------- Tónované sekce homepage (magazín): obsah s vnitřním okrajem, ne nalepený na hranu ---------- */

body.hp-ds .hp-ds-sec--tint:not(.hp-ds-hire) {
  padding: 22px 22px 18px;
}

@media (max-width: 767px) {
  body.hp-ds .hp-ds-sec--tint:not(.hp-ds-hire) {
    padding: 18px 16px 14px;
  }
}

/* ---------- Apply (detail shell): jeden sloupec, karta v plné šířce, žádný flex řádek z detailu ---------- */

body.hp-ds--apply #page-content > .container > .row {
  display: block;
}

body.hp-ds--apply #page-content > .container > .row::before,
body.hp-ds--apply #page-content > .container > .row::after {
  content: " ";
  display: table;
}

body.hp-ds--apply #page-content > .container > .row::after {
  clear: both;
}

body.hp-ds--apply .page-content > .jobs-item.jobs-single-item,
body.hp-ds--apply .page-content .jobs-item.jobs-single-item[style] {
  float: none !important;
  width: auto !important;
  max-width: 760px !important;
  margin: 0 0 14px !important;
  padding: 16px 16px 14px !important;
  background: var(--hp-ds-color-surface);
  border: 1px solid var(--hp-ds-color-border);
  border-radius: var(--hp-ds-radius-md);
  box-shadow: none;
}

body.hp-ds--apply .page-content > .hp-ds-city-signpost,
body.hp-ds--apply .page-content > h2 {
  clear: both;
  max-width: 760px;
}

body.hp-ds .hp-ds-city-signpost__sep {
  margin: 0 4px;
  color: var(--hp-ds-color-subtle);
  font-weight: 400;
}

/* ---------- Sticky web push: e-mail next step (fallback / upsell / hotovo) ve slim liště ---------- */

body.hp-ds .sticky-similar-wrapper.is-email,
body.hp-ds .sticky-similar-wrapper.is-done {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

body.hp-ds .sticky-similar-email,
body.hp-ds .sticky-similar-success {
  width: auto;
  max-width: none;
  border: 1px solid var(--hp-ds-color-brand-line);
  border-radius: 12px;
  background: #fff;
  color: var(--hp-ds-color-ink);
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.14);
  font-family: var(--hp-ds-font);
}

body.hp-ds .sticky-similar-email {
  padding: 12px 40px 12px 12px;
}

body.hp-ds .sticky-similar-email__intro {
  color: var(--hp-ds-color-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

body.hp-ds .sticky-similar-email__form {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

body.hp-ds .sticky-similar-email__input {
  flex: 1 1 160px;
  width: auto;
  height: 44px;
  border: 1px solid var(--hp-ds-color-border-strong);
  border-radius: var(--hp-ds-radius-xs);
  font-family: var(--hp-ds-font);
}

body.hp-ds .sticky-similar-email__input:focus {
  border-color: var(--hp-ds-color-brand);
  box-shadow: 0 0 0 3px var(--hp-ds-color-focus);
}

body.hp-ds .sticky-similar-email__submit {
  flex: 0 0 auto;
  width: auto !important;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--hp-ds-radius-xs);
  background: var(--hp-ds-color-cta);
  box-shadow: var(--hp-ds-cta-press);
  font-family: var(--hp-ds-font);
  font-size: 14.5px;
  font-weight: 800;
}

body.hp-ds .sticky-similar-email__msg {
  flex: 1 0 100%;
  margin: 0;
}

body.hp-ds .sticky-similar-email__msg--err {
  color: var(--hp-ds-color-cta);
}

body.hp-ds .sticky-similar-email__msg--ok {
  color: var(--hp-ds-color-success);
}

body.hp-ds .sticky-similar-success {
  padding: 12px 40px 12px 12px;
  background: var(--hp-ds-color-success-soft);
  border-color: #b4e3c4;
  color: var(--hp-ds-color-success);
  font-size: 14px;
  font-weight: 700;
}

body.hp-ds .sticky-similar-wrapper.is-push-done .sticky-similar-success {
  border-radius: 12px 12px 0 0;
  box-shadow: none;
}

body.hp-ds .sticky-similar-wrapper.is-push-done .sticky-similar-email {
  border-top: 0;
  border-radius: 0 0 12px 12px;
}

@media (max-width: 400px) {
  body.hp-ds .sticky-similar-email__form {
    flex-direction: column;
  }

  body.hp-ds .sticky-similar-email__submit {
    width: 100% !important;
  }
}

body.hp-ds .sticky-similar-wrapper .sticky-similar-card[hidden],
body.hp-ds .sticky-similar-wrapper .sticky-similar-email[hidden],
body.hp-ds .sticky-similar-wrapper .sticky-similar-success[hidden] {
  display: none !important;
}

body.hp-ds .sticky-similar-email__input {
  flex: 1 1 160px;
  min-height: 44px;
  max-height: 44px;
  padding: 0 12px;
  line-height: 1.2;
}

/* =====================================================================
   JobsTrail additions III — mobilní hamburger vpravo, pilulka „Popis pozice“,
   pokračovací CTA s kickerem (Pokračovat / Další nabídky práce), fakta s mzdou,
   kompaktní hledání pod odkazem na další nabídku, řádek „Přihlásit se“ odhlášené firmy.
   ===================================================================== */

/* ---------- Mobil: hamburger vždy u pravého okraje hlavičky ---------- */

@media (max-width: 991px) {
  body.hp-ds #mobile-menu-toggle {
    margin-left: auto;
  }
}

/* ---------- Detail (mobil): pilulka „Popis pozice ↓“ roste s textem (legacy .hp-miniinfo-note--top má max-width 45 %) ---------- */

body.hp-ds--detail .job-meta-bar .hp-miniinfo-note,
body.hp-ds--detail .job-meta-bar .hp-miniinfo-note--top {
  width: auto;
  max-width: none;
  white-space: nowrap;
  text-align: left;
}

/* ---------- Hlavní pokračování výpisu: kicker a label na dvou vycentrovaných řádcích (HitPrace .btn-next-job-offers-cta) ---------- */

body.hp-ds a.btn-next-job-offers-cta {
  display: flex !important;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 8px;
  width: 100%;
  max-width: none;
  min-height: var(--hp-ds-button-h);
  height: auto;
  margin: 14px 0 6px;
  padding: 12px 16px;
  border: 0;
  border-radius: var(--hp-ds-radius-sm);
  background: var(--hp-ds-color-cta) !important;
  box-shadow: var(--hp-ds-cta-press) !important;
  color: #fff !important;
  font-family: var(--hp-ds-font);
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  text-shadow: none;
  transform: none;
}

body.hp-ds a.btn-next-job-offers-cta:hover,
body.hp-ds a.btn-next-job-offers-cta:focus {
  background: var(--hp-ds-color-cta-hover) !important;
  color: #fff !important;
}

body.hp-ds a.btn-next-job-offers-cta:active {
  background: var(--hp-ds-color-cta-active) !important;
  box-shadow: none !important;
}

body.hp-ds .btn-next-job-offers-cta__kicker {
  display: inline;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px !important;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

body.hp-ds .btn-next-job-offers-cta__label {
  display: inline;
  color: #fff;
  font-size: 20px !important;
  font-weight: 800;
}

body.hp-ds .page-sidebar .btn-next-job-offers-cta {
  margin-top: 12px;
}

/* ---------- Detail: fakta — hodnota je hlavní, mzda celá šířka zeleně, lokalita klikací ---------- */

body.hp-ds .job-facts-box .job-facts-list-item {
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.hp-ds .job-facts-box .job-facts-list-item > .job-facts-item {
  height: 100%;
}

body.hp-ds .job-facts-box .hp-job-fact-value {
  display: block;
  color: var(--hp-ds-color-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

body.hp-ds .job-facts-box .hp-job-fact-sub {
  display: block;
  margin-top: 1px;
  color: var(--hp-ds-color-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

body.hp-ds .job-facts-box .job-facts-item-text strong {
  margin-bottom: 1px;
}

body.hp-ds .job-facts-box a.job-facts-item--link {
  background: var(--hp-ds-color-surface);
  border: 1px solid var(--hp-ds-color-brand-line);
  box-shadow: var(--hp-ds-shadow-card);
  text-decoration: none;
}

body.hp-ds .job-facts-box .job-facts-item--link .hp-job-fact-value {
  color: var(--hp-ds-color-link);
  font-weight: 800;
}

body.hp-ds .job-facts-box .job-facts-item--link::after {
  content: "\203A";
  position: absolute;
  top: 50%;
  right: 8px;
  margin-top: -11px;
  color: var(--hp-ds-color-brand);
  font-size: 22px;
  font-weight: 700;
  line-height: 22px;
}

body.hp-ds .job-facts-box .job-facts-item--link:hover,
body.hp-ds .job-facts-box .job-facts-item--link:focus-visible {
  background: var(--hp-ds-color-brand-soft);
  border-color: var(--hp-ds-color-brand);
  box-shadow: var(--hp-ds-shadow-card-hover);
  text-decoration: none;
}

body.hp-ds .job-facts-box .job-facts-item--link:hover .hp-job-fact-value {
  text-decoration: underline;
}

body.hp-ds .job-facts-box .job-facts-item--pay {
  grid-column: 1 / -1;
  min-height: 56px;
  background: var(--hp-ds-badge-money-bg);
  border: 1px solid #a9dcb9;
}

body.hp-ds .job-facts-box .job-facts-item--pay .job-facts-item-text strong {
  color: var(--hp-ds-badge-money-ink);
  opacity: 0.85;
}

body.hp-ds .job-facts-box .hp-job-fact-value--pay {
  color: var(--hp-ds-badge-money-ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ---------- Detail (mobil): kompaktní hledání v okolí hned pod odkazem na další nabídku ---------- */

body.hp-ds .hp-next-job-link-wrap .hp-detail-listing-cta {
  margin: 8px 0 0;
}

body.hp-ds .hp-detail-listing-cta--slot-next .hp-detail-listing-cta__card {
  padding: 6px;
}

/* ---------- Account strip: odhlášená firma — „Přihlásit se“ + zavřít (port hp-firma-navrat.css) ---------- */

body.hp-ds #header .hp-account-strip__row--navrat .hp-account-strip__main {
  padding-right: 8px;
}

body.hp-ds #header .hp-firma-navrat__login {
  flex: none;
  margin: 4px 0;
  padding: 3px 12px;
  border-radius: 4px;
  background: var(--hp-ds-color-brand);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
}

body.hp-ds #header .hp-firma-navrat__login:hover,
body.hp-ds #header .hp-firma-navrat__login:focus {
  background: var(--hp-ds-color-brand-hover);
  color: #fff;
  text-decoration: none;
}

body.hp-ds #header .hp-firma-navrat__dismiss {
  flex: none;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  margin: 0 0 0 2px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--hp-ds-color-muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

body.hp-ds #header .hp-firma-navrat__dismiss:hover,
body.hp-ds #header .hp-firma-navrat__dismiss:focus {
  color: var(--hp-ds-color-ink);
}

body.hp-ds #header .hp-firma-navrat__dismiss:focus-visible {
  outline: 2px solid var(--hp-ds-color-brand);
  outline-offset: 2px;
}

@media (min-width: 992px) {
  body.hp-ds #header .hp-firma-navrat__dismiss {
    margin-left: 8px;
  }
}

/* ===== Mzdový landing / router / kontext mzdy (jt-salary-landing.php) ===== */
body.hp-ds .hp-vk { margin: 8px 0 12px; }
body.hp-ds .hp-vk__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
body.hp-ds .hp-vk__chip { display: inline-flex; align-items: center; gap: 8px; box-sizing: border-box; min-height: 44px; padding: 8px 12px; background: var(--hp-ds-color-brand-soft); border: 1px solid var(--hp-ds-color-brand-line); border-radius: var(--hp-ds-radius-pill); color: var(--hp-ds-color-ink); font-size: 14px; font-weight: 700; line-height: 1.2; text-decoration: none; }
body.hp-ds .hp-vk__chip:hover, body.hp-ds .hp-vk__chip:focus { color: var(--hp-ds-color-ink); text-decoration: none; border-color: var(--hp-ds-color-brand); }
body.hp-ds .hp-vk__x { font-weight: 600; color: var(--hp-ds-color-muted); }
body.hp-ds .hp-vk__count { margin: 0 0 8px; font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--hp-ds-color-ink); }
body.hp-ds .hp-vk__empty { margin: 0 0 8px; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--hp-ds-color-ink); }
body.hp-ds .hp-vk__hint { margin: 0 0 8px; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--hp-ds-color-muted); }
body.hp-ds .hp-vk__all { display: block; margin: 0 0 10px; padding: 8px 10px; border: 1px solid var(--hp-ds-color-border); border-radius: var(--hp-ds-radius-xs); background: var(--hp-ds-color-surface); color: var(--hp-ds-color-link); font-size: 13px; font-weight: 600; line-height: 1.3; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.hp-ds .hp-vk__all:hover, body.hp-ds .hp-vk__all:focus { text-decoration: underline; }
body.hp-ds .salary-row--current { background: var(--hp-ds-color-brand-soft); box-shadow: inset 0 0 0 2px var(--hp-ds-color-brand-line); }
body.hp-ds .jt-salary-hist__stratum { margin: -2px 0 8px; font-size: 13px; font-weight: 600; color: var(--hp-ds-color-muted); text-align: left; }
body.hp-ds .jt-salary-disclaimer { margin: 4px 0 14px; font-size: 12.5px; line-height: 1.4; color: var(--hp-ds-color-muted); }
body.hp-ds .jt-salary-nocity { padding: 16px 14px; }
body.hp-ds .jt-salary-nocity__text { margin: 0 0 10px; font-weight: 700; }
body.hp-ds .jt-salary-nocity form { display: flex; gap: 8px; }
body.hp-ds .jt-salary-nocity input[type="text"] { flex: 1; min-height: 44px; }
body.hp-ds .jt-salary-context { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 12px; padding: 10px 14px; border: 1px solid var(--hp-ds-color-border); border-left: 4px solid var(--hp-ds-color-success); border-radius: var(--hp-ds-radius-md); background: var(--hp-ds-color-surface); font-size: 14px; line-height: 1.35; color: var(--hp-ds-color-ink); }
body.hp-ds .jt-salary-context__text { font-weight: 700; }
body.hp-ds .jt-salary-context__link { color: var(--hp-ds-color-link); font-weight: 700; text-decoration: underline; }
/* mimo DS (staging bez flagu): minimální čitelnost */
.hp-vk__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.hp-vk__chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; background: #e8f3fa; color: #123047; font-weight: 700; text-decoration: none; }
.jt-salary-context { margin: 0 0 12px; padding: 10px 14px; border-left: 4px solid #2e8b57; background: #f7fbf8; }

/* ------------------------------------------------------------------
   JobsTrail additions III — Uložené nabídky (lib/jt-kandidat): srdíčko na DS kartě a na detailu
   (port HitPrace hp-ds.css „Oblíbené“, jen s $JT_KANDIDAT_HUB + tabulkou jt_kand_oblibene). */
body.hp-ds .jobs-item.hp-ds-job { position: relative; }
body.hp-ds .job-favorite-inline-action { position: absolute; top: 4px; right: 4px; z-index: 2; }
body.hp-ds .job-favorite-inline-action .hp-favorite-toggle--icon {
  position: relative; width: 40px !important; min-width: 40px; height: 40px; min-height: 40px; padding: 0; border: 0;
  border-radius: var(--hp-ds-radius-sm, 8px); background: transparent; color: transparent; font-size: 0; line-height: 1; box-shadow: none; cursor: pointer;
}
body.hp-ds .job-favorite-inline-action .hp-favorite-toggle--icon::before {
  content: "\2661"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #d95a70; font-size: 21px; font-weight: 400; line-height: 1;
}
body.hp-ds .job-favorite-inline-action .hp-favorite-toggle--icon:hover,
body.hp-ds .job-favorite-inline-action .hp-favorite-toggle--icon:focus-visible { background: var(--hp-ds-color-fav-soft); }
body.hp-ds .job-favorite-inline-action .hp-favorite-toggle--icon[aria-pressed="true"]::before { content: "\2665"; color: var(--hp-ds-color-fav); }
body.hp-ds .hp-favorite-toggle.is-pop { animation: none; }
body.hp-ds .job-favorite-inline-action .hp-favorite-feedback, body.hp-ds .job-favorite-inline-action .hp-favorite-hint { display: none; }
body.hp-ds .hp-ds-job .hp-ds-job__title { padding-right: 44px; }

/* Detail: sekundární tlačítko pod „Odpovědět“ v popisu (HitPrace hp-ds.css „Oblíbené na detailu“) */
body.hp-ds .hp-ds-detail-fav { margin: 10px 0 0; }
body.hp-ds .hp-ds-detail-fav .hp-favorite-toggle {
  display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 46px; margin: 0; padding: 10px 14px;
  background: var(--hp-ds-color-surface); border: 1px solid var(--hp-ds-color-border-strong); border-radius: var(--hp-ds-radius-sm, 8px);
  box-shadow: none; color: var(--hp-ds-color-ink); font-family: var(--hp-ds-font); font-size: 15px; font-weight: 700; text-shadow: none; cursor: pointer;
}
body.hp-ds .hp-ds-detail-fav .hp-favorite-toggle:hover, body.hp-ds .hp-ds-detail-fav .hp-favorite-toggle:focus-visible,
body.hp-ds .hp-ds-detail-fav .hp-favorite-toggle[aria-pressed="true"] { border-color: var(--hp-ds-color-fav-line); background: var(--hp-ds-color-fav-soft); color: var(--hp-ds-color-fav); }
body.hp-ds .hp-ds-detail-fav .hp-favorite-hint,
body.hp-ds .hp-ds-detail-fav .hp-favorite-feedback {
  margin: 6px 0 0; padding: 0; border: 0; background: none; box-shadow: none; color: var(--hp-ds-color-subtle); font-size: 12px; font-weight: 500;
}
body.hp-ds .hp-ds-detail-fav .hp-favorite-hint::before { content: none; display: none; }
/* legacy .hp-favorite-hint/.hp-favorite-feedback mají display:inline-flex, který by přebil atribut hidden */
body.hp-ds .hp-ds-detail-fav .hp-favorite-hint[hidden], body.hp-ds .hp-ds-detail-fav .hp-favorite-feedback[hidden] { display: none !important; }
body.hp-ds .hp-ds-detail-fav .hp-favorite-feedback { display: block; }
body.hp-ds .hp-ds-detail-fav .hp-favorite-feedback__link { color: var(--hp-ds-color-link); font-size: 14px; font-weight: 700; border-bottom: 0; text-decoration: underline; }

/* Hlavička: „♡ Uložené (N)“ + „Moje hledání práce“ (HitPrace .hp-favorites-nav-link / .hp-nav-candidate) */
body.hp-ds #header .primary-nav > li > a.hp-favorites-nav-link { gap: 4px; }
body.hp-ds #header .hp-favorites-ico { color: var(--hp-ds-color-muted); font-size: 15px; font-weight: 400; line-height: 1; }
body.hp-ds #header .hp-favorites--on .hp-favorites-ico { color: var(--hp-ds-color-fav); }
body.hp-ds #header .hp-favorites-nav-badge {
  position: static; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent;
  color: var(--hp-ds-color-muted); font-size: 13px; font-weight: 600; line-height: 20px;
}
body.hp-ds #header .hp-favorites-nav-link.hp-favorites--on .hp-favorites-nav-badge { color: var(--hp-ds-color-fav); font-weight: 700; }
@media (min-width: 992px) {
  body.hp-ds #header .header-nav-bar .primary-nav > li > a.hp-nav-candidate { background: var(--hp-ds-color-brand-soft); color: var(--hp-ds-color-brand); font-weight: 700; border-radius: 10px; }
  body.hp-ds #header .header-nav-bar .primary-nav > li > a.hp-nav-candidate:hover,
  body.hp-ds #header .header-nav-bar .primary-nav > li > a.hp-nav-candidate:focus { background: var(--hp-ds-color-brand-soft-hover); }
}

/* Mobil: srdíčko s počtem vedle hamburgeru (HitPrace .hp-favorites-top-shortcut); počet jen když něco je */
body.hp-ds #header .hp-favorites-top-shortcut { display: none; }
@media (max-width: 991px) {
  body.hp-ds #header .hp-favorites-top-shortcut {
    order: 2; flex: none; align-self: center; display: inline-flex; align-items: center; justify-content: center; gap: 3px;
    min-width: 44px; height: 44px; margin: 0 0 0 auto; padding: 0 6px; color: var(--hp-ds-color-ink-2); text-decoration: none;
    position: static; top: auto; right: auto; transform: none; border: 0; border-radius: 0; background: transparent; font-size: 0; line-height: 1;
  }
  body.hp-ds #header .hp-favorites-top-shortcut:hover, body.hp-ds #header .hp-favorites-top-shortcut:focus-visible { background: transparent; }
  body.hp-ds #header .hp-favorites-top-shortcut .hp-favorites-ico { font-size: 22px; }
  body.hp-ds #header .hp-favorites-top-shortcut + #mobile-menu-toggle { margin-left: 0; }
  body.hp-ds #header .hp-favorites-top-shortcut__count { color: var(--hp-ds-color-fav); font-size: 14px; font-weight: 700; line-height: 1; }
  body.hp-ds #header .hp-favorites-top-shortcut:not(.hp-favorites--on) .hp-favorites-top-shortcut__count {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
  }
}

/* Recent box: odkaz na uložené vedle „Další nabídky“ (HitPrace .hp-history-favorites-link) */
body.hp-ds .hp-ds-recent .hp-history-favorites-link {
  display: inline-flex; align-items: center; gap: 6px; width: auto; min-height: 40px; margin: 0; padding: 0 2px; border: 0; background: transparent; box-shadow: none;
  color: var(--hp-ds-color-link); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
}
body.hp-ds .hp-ds-recent .hp-history-favorites-link::after { content: none; }
body.hp-ds .hp-ds-recent__heart { color: var(--hp-ds-color-fav); font-size: 15px; line-height: 1; }

/* HitPrace fb3456c: legacy .job-meta-bar--scroll .job-meta-left drží 96px vpravo pro „Popis pozice“ vpravo nahoře;
   v DS detailu je tlačítko pod metadaty (static), rezerva by jen zbytečně zužovala řádky (mzda v okolí, dlouhé názvy firem). */
body.hp-ds--detail .job-meta-bar .job-meta-left {
  padding-right: 0;
}

/* HitPrace 0273d78: mezi 2. a 3. kartou listingu je <section id="hp-push-inline" hidden> (JS ji odkryje jen způsobilým),
   stejně tak jiné skryté vložené prvky: skrytý sourozenec přeruší selektor .hp-ds-job + .hp-ds-job a další karta se „přilepí“.
   Viditelná sekce má vlastní margin 10px, se kterým se 6px zkolabuje. */
body.hp-ds [hidden] + .jobs-item.hp-ds-job,
body.hp-ds .hp-push-inline + .jobs-item.hp-ds-job {
  margin-top: 6px;
}

/* HitPrace 2753c3c: legacy pilulka má nowrap a inline margin-bottom 10px: v mřížce sloupců delší název
   („Praca w Jabłonce nad Nisou (1 405) ›“) přetékal do vedlejšího sloupce a mezi řádky byly díry */
body.hp-ds div:has(> a.job-mini-cta) > a.job-mini-cta {
  white-space: normal;
  margin-bottom: 0 !important;
}

/* Hero lead „N nabídek práce v {městě}“ (jt_ds_hero_lead_html): jen desktop, mobil drží první viewport pro karty */
body.hp-ds .hp-ds-hero__lead {
  display: none;
  margin: -4px 0 12px;
  color: var(--hp-ds-color-muted);
  font-size: 15px;
  line-height: 1.4;
}
@media (min-width: 768px) {
  body.hp-ds .hp-ds-hero__lead {
    display: block;
  }
}

/* ---------- Homepage: magazín jako výpis /clanky/ (2026-10-19) ----------
   Bílé karty s náhledem vlevo, podtržený nadpis, datum a perex na 2 řádky; bez podbarveného boxu
   (obsah byl nalepený na jeho kraji). Desktop 2 sloupce, mobil 1. Třídy hp-ds-mag__item* jsou nové,
   starší vrstvy hp-ds-mag__card/__list výš v souboru už markup homepage nepoužívá. */

body.hp-ds .hp-ds-mag__items {
  display: grid;
  gap: 10px;
}

body.hp-ds .hp-ds-mag a.hp-ds-mag__item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
  padding: 12px;
  background: var(--hp-ds-color-surface);
  border: 1px solid var(--hp-ds-color-border);
  border-radius: 10px;
  color: var(--hp-ds-color-ink-2);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.hp-ds .hp-ds-mag a.hp-ds-mag__item:hover,
body.hp-ds .hp-ds-mag a.hp-ds-mag__item:focus-visible {
  border-color: var(--hp-ds-color-brand-line);
  box-shadow: var(--hp-ds-shadow-card-hover);
  color: var(--hp-ds-color-ink-2);
  text-decoration: none;
}

body.hp-ds .hp-ds-mag a.hp-ds-mag__item--text {
  grid-template-columns: minmax(0, 1fr);
}

body.hp-ds .hp-ds-mag__thumb {
  display: block;
  width: 112px;
  height: 84px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--hp-ds-color-divider);
}

body.hp-ds .hp-ds-mag__body {
  display: block;
  min-width: 0;
}

body.hp-ds .hp-ds-mag__name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: var(--hp-ds-color-link);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--hp-ds-link-underline);
  text-underline-offset: var(--hp-ds-link-underline-offset);
}

body.hp-ds .hp-ds-mag a.hp-ds-mag__item:hover .hp-ds-mag__name,
body.hp-ds .hp-ds-mag a.hp-ds-mag__item:focus-visible .hp-ds-mag__name {
  color: var(--hp-ds-color-link-hover);
  font-size: 16px;
  text-decoration-color: currentColor;
}

body.hp-ds .hp-ds-mag__when {
  display: block;
  margin-top: 3px;
  color: var(--hp-ds-color-subtle);
  font-size: 12.5px;
  font-weight: 500;
}

body.hp-ds .hp-ds-mag__perex {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 5px;
  color: var(--hp-ds-color-muted);
  font-size: 14px;
  line-height: 1.45;
}

@media (min-width: 900px) {
  body.hp-ds .hp-ds-mag__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
  }
}

@media (max-width: 479px) {
  body.hp-ds .hp-ds-mag a.hp-ds-mag__item {
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 12px;
  }

  body.hp-ds .hp-ds-mag a.hp-ds-mag__item--text {
    grid-template-columns: minmax(0, 1fr);
  }

  body.hp-ds .hp-ds-mag__thumb {
    width: 96px;
    height: 72px;
  }

  body.hp-ds .hp-ds-mag__name,
  body.hp-ds .hp-ds-mag a.hp-ds-mag__item:hover .hp-ds-mag__name,
  body.hp-ds .hp-ds-mag a.hp-ds-mag__item:focus-visible .hp-ds-mag__name {
    font-size: 15px;
  }
}
