/* Karta zaměstnavatele /{zamestnavatel}/{firma}/ (content/zamestnavatel.php).
   Přenos z HitPrace css/hp-firma-lokality-filter.css + css/hp-firmy.css (2026-12-03), třídy jt-zam-*. Načítá index.php
   přes jt_ds_asset_url (verze podle mtime). */

/* odstavce: .page-content.jt-zam p.… přebije DS body.hp-ds--page .page-content p (15px) */
.page-content.jt-zam p.jt-zam-sub {
    margin: 14px 0 10px;
    font-size: 16px;
    line-height: 1.45;
    color: #4a5568;
}

/* lokality: panel s čipy, na mobilu vodorovný posuv */
.jt-zam-lok {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #f7fafc;
    border: 1px solid #e8eef3;
}

.page-content.jt-zam p.jt-zam-lok__label {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: #4a5568;
    line-height: 1.35;
}

.jt-zam-lok__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -4px;
    padding: 0 4px 4px;
}

.jt-zam-lok__chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: min-content;
}

.jt-zam-lok__chips--wrap {
    flex-wrap: wrap;
    min-width: 0;
}

.jt-zam-chip {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 7px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #d8e7ff;
    color: #1d6fa8 !important;
    font-size: 13px;
    line-height: 1.3;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    font-family: inherit;
}

.jt-zam-chip:hover,
.jt-zam-chip:focus {
    background: #eef5ff;
    border-color: #93c5fd;
    text-decoration: none !important;
    color: #1d6fa8 !important;
}

.jt-zam-chip--active,
.jt-zam-chip--active:hover,
.jt-zam-chip--active:focus {
    background: var(--hp-ds-color-brand, #2aadde);
    border-color: var(--hp-ds-color-brand, #2aadde);
    color: #fff !important;
    font-weight: 700;
}

.jt-zam-chip--more {
    background: #eef5ff;
    border-style: dashed;
}

.jt-zam-lok__extra {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #d8e7ff;
}

.page-content.jt-zam p.jt-zam-lok__reset {
    margin: 10px 0 0;
    font-size: 13px;
}

.jt-zam-lok__reset a {
    font-weight: 600;
    text-decoration: underline !important;
}

@media (min-width: 768px) {
    .jt-zam-lok__scroll {
        overflow-x: visible;
    }

    .jt-zam-lok__chips {
        flex-wrap: wrap;
        min-width: 0;
    }
}

/* vyhledávání nahoře nad počtem a nabídkami */
.jt-zam-hledani {
    margin: 14px 0 4px;
}

/* profil firmy pod nabídkami */
.jt-zam-profil {
    margin: 20px 0 4px;
    padding: 14px 16px;
}

.jt-zam-profil__title {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.3;
}

.jt-zam-profil__brand {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin-bottom: 12px;
}

.jt-zam-profil__logo {
    display: inline-flex;
    flex: 0 1 auto;
    line-height: 0;
}

.jt-zam-profil__logo img {
    display: block;
    max-height: 48px;
    max-width: min(240px, 100%);
    width: auto;
    height: auto;
    object-fit: contain;
}

.jt-zam-profil__brand:has(.jt-zam-profil__logo):has(.jt-zam-profil__badge) .jt-zam-profil__badge {
    padding-left: 16px;
    border-left: 1px solid #e2e8f0;
}

.jt-zam-profil__badge {
    flex: 0 0 auto;
    line-height: 0;
}

.jt-zam-profil__badge img {
    display: block;
    width: 64px;
    height: 64px;
    padding: 2px;
    border: 1px solid #e8eef3;
    border-radius: 4px;
    background: #fff;
    object-fit: contain;
}

.page-content.jt-zam p.jt-zam-profil__row {
    margin: 0 0 8px;
    line-height: 1.45;
}

.page-content.jt-zam p.jt-zam-profil__row:last-child {
    margin-bottom: 0;
}

.jt-zam-ext__icon {
    font-size: 12px;
    opacity: 0.75;
}

.jt-zam-about {
    margin: 10px 0 0;
}

.jt-zam-about__heading {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.jt-zam-about__content {
    font-size: 14px;
    line-height: 1.55;
    color: #303c42;
    text-align: left;
}

.jt-zam-about__content p:last-child {
    margin-bottom: 0;
}

.jt-zam-about--collapsed .jt-zam-about__content {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    position: relative;
}

.jt-zam-about--collapsed .jt-zam-about__content::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2.2em;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 88%);
    pointer-events: none;
}

.jt-zam-about__toggle {
    display: inline-flex;
    align-items: center;
    margin: 8px 0 0;
    padding: 0;
    border: 0;
    background: none;
    color: #2aadde;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.jt-zam-about__toggle:hover,
.jt-zam-about__toggle:focus {
    color: #1d8eb8;
}

/* další nabídky v lokalitě návštěvníka (retention, parita HitPrace) */
.jt-zam .jobs-count-note {
    margin-top: 16px;
}

.jt-zam-retention {
    margin-top: 24px;
    padding: 14px 16px 18px;
}

.jt-zam-retention__title {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.35;
    color: #303c42;
}

.jt-zam-empty {
    padding: 16px;
    margin-bottom: 18px;
}
