﻿:root{--navy:#102a57;--blue:#1477e8;--orange:#ff6508;--muted:#6c7d94}*{box-sizing:border-box}body{font-family:Arial,Helvetica,sans-serif;color:var(--navy);background:#fff}a{text-decoration:none;color:inherit}a:hover{color:var(--blue)}.site-header{background:#fff;box-shadow:0 2px 20px rgba(15,41,79,.06);position:relative;z-index:10}.brand{display:inline-flex;gap:8px;align-items:center;white-space:nowrap;font-size:29px;letter-spacing:-1.4px;font-weight:800;color:var(--navy)}.brand img{object-fit:contain}.brand strong{color:var(--orange)}.brand small{color:#778ba3;font-size:.73em}.main-menu a{font-size:14px;font-weight:700}.btn-orange{background:var(--orange);border:1px solid var(--orange);color:#fff;font-weight:700}.btn-orange:hover{background:#e95400;color:#fff;border-color:#e95400}.mobile-nav a{font-weight:700;padding:6px}.hero{min-height:440px;position:relative;overflow:hidden;background:linear-gradient(114deg,#edf7ff 0%,#dbeeff 68%,#c6e5ff 100%)}.hero-content{position:relative;z-index:2;padding-top:55px;padding-bottom:65px}.hero-eyebrow,.section-kicker{font-size:12px;color:#247ddc;font-weight:800;letter-spacing:1.6px}.hero h1{font-weight:800;letter-spacing:-2.8px;font-size:clamp(42px,5vw,73px);line-height:1.05;margin:15px 0}.hero h1 em{font-style:normal;color:var(--orange)}.hero-subtitle{font-size:18px;color:#526784;margin-bottom:26px}.search-panel{background:#fff;border-radius:17px;padding:11px;box-shadow:0 12px 35px #1b5ba524}.search-panel .form-control{border:0;background:#f5f8fc;font-size:15px;min-height:51px}.search-panel .btn{min-height:51px}.popular{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:13px;font-weight:700}.popular a{background:#fff;padding:9px 14px;border-radius:20px;box-shadow:0 4px 15px #1d527016}.hero-decor{position:absolute;border-radius:50%;pointer-events:none}.hero-decor-a{width:430px;height:430px;background:linear-gradient(140deg,#58b5ff,#087ae9);top:26px;right:-145px;opacity:.55}.hero-decor-b{width:210px;height:210px;border:42px solid #fff;opacity:.30;right:145px;top:145px}.stats{padding-top:21px}.stat{height:100%;display:flex;gap:16px;align-items:center;background:#f4f8fe;border-radius:15px;padding:22px}.stat-icon{width:54px;height:54px;background:#e1efff;border-radius:50%;display:grid;place-items:center;font-size:29px;color:#1480f3}.stat strong{font-size:26px;font-weight:800;display:block}.stat small{display:block;color:var(--muted);font-size:12px}.section-space{margin-top:57px;margin-bottom:24px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:22px}.section-heading h2,.info-banner h2{font-weight:800;letter-spacing:-.5px;font-size:27px;margin:8px 0 0}.job-card{border:1px solid #e7edf5;border-radius:18px;box-shadow:0 8px 25px #0e346b0b;padding:22px;background:#fff;transition:transform .15s,box-shadow .15s}.job-card:hover{transform:translateY(-3px);box-shadow:0 12px 32px #0e346b18}.job-card-top{display:flex;justify-content:space-between;align-items:center}.company-mark{width:42px;height:42px;border-radius:12px;background:#eaf2ff;color:var(--blue);font-size:24px;display:grid;place-items:center}.job-source{font-size:11px;padding:6px 10px;background:#f0f4f8;border-radius:14px;color:#65738a}.job-card h3{font-size:18px;font-weight:800;margin:18px 0 7px}.job-company,.job-location{color:#6c7d94;font-size:13px;margin-bottom:6px}.job-bottom{margin-top:21px;display:flex;align-items:center;justify-content:space-between}.salary{font-weight:800;font-size:15px}.circle-link{width:37px;height:37px;border-radius:50%;background:#e7f2ff;color:var(--blue);display:grid;place-items:center;font-size:22px}.empty-jobs{text-align:center;background:#f8fbff;border:1px dashed #b7d1ed;border-radius:18px;padding:48px 15px}.empty-jobs h3{font-size:20px;font-weight:800}.empty-jobs p{color:var(--muted);margin-bottom:0}.empty-symbol{font-size:52px;color:var(--blue)}.city-card{display:flex;min-height:130px;border:1px solid #e5edf7;border-radius:16px;flex-direction:column;padding:20px;box-shadow:0 8px 24px #0e346b0b}.city-card span{color:var(--blue);font-size:23px}.city-card b{font-size:18px}.city-card small{color:var(--muted)}.info-banner{background:linear-gradient(95deg,#e9f5ff,#f7fbff);padding:37px;border-radius:22px;display:flex;align-items:center;justify-content:space-between;gap:20px}.info-banner p{color:var(--muted);margin:10px 0 0}.footer{background:#f5f8fc;margin-top:60px}.footer-links{display:flex;flex-direction:column;gap:8px;margin-top:10px;font-size:14px;color:#6c7d94}.footer hr{border-color:#d6e4f3;margin-top:30px}@media(max-width:767px){.hero-content{padding-top:35px;padding-bottom:40px}.hero h1{letter-spacing:-1px}.hero-subtitle{font-size:16px}.hero-decor-a{opacity:.18}.hero-decor-b{display:none}.info-banner{display:block}.info-banner .btn{margin-top:18px}.section-space{margin-top:39px}.brand{font-size:23px}.brand img{width:36px;height:36px}}
/* Našeptávače: absolutní překrytí, nikdy nezvětšují řádek formuláře. */
.search-panel { position:relative; overflow:visible; }
.search-panel .row { overflow:visible; }
.search-panel .search-field { position:relative; min-width:0; }
.search-panel .suggest-wrap { display:block; position:relative; width:100%; min-width:0; }
.search-panel .suggest-wrap > .form-control { width:100%; display:block; }
.search-panel .suggest-list { position:absolute; top:calc(100% + 7px); left:0; right:0; z-index:2000; display:none; max-height:300px; overflow-y:auto; overscroll-behavior:contain; margin:0; padding:5px; list-style:none; background:#fff; border:1px solid #dbe7f4; border-radius:13px; box-shadow:0 16px 35px rgba(16,42,87,.18); }
.search-panel .suggest-option { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-width:0; padding:11px 13px; cursor:pointer; color:#102a57; font-size:14px; line-height:1.35; border-radius:8px; }
.search-panel .suggest-option:hover, .search-panel .suggest-option.active { background:#eaf3ff; }
.search-panel .suggest-label { display:block; flex:1; min-width:0; overflow-wrap:anywhere; }
.search-panel .suggest-type { display:block; flex:none; font-size:11px; font-weight:400; color:#8695a8; white-space:nowrap; }
.jobs-pagination { display:flex; justify-content:center; margin:23px 0; }
.jobs-pagination-top { margin:8px 0 23px; }
.jobs-pagination-bottom { margin:27px 0 0; }
.jobs-pagination .pagination { display:flex; gap:6px; align-items:center; }
.jobs-pagination .pagination .page-item .page-link { display:flex; align-items:center; justify-content:center; min-width:38px; height:38px; padding:5px 10px; margin:0; background:#fff; color:#1b477c; border:1px solid #dce4ee; border-radius:20px; font-size:14px; font-weight:600; box-shadow:none; }
.jobs-pagination .pagination .page-item.active .page-link { background:#102a57; border-color:#102a57; color:#fff; }
.jobs-pagination .pagination .page-item:not(.active):not(.disabled) .page-link:hover { background:#eaf3ff; border-color:#b6d3f5; }
.jobs-pagination .pagination .page-item.disabled .page-link { background:transparent; color:#91a0af; border-color:transparent; }
.jobs-pagination .pagination .page-arrow { font-size:24px !important; line-height:1; font-weight:400 !important; }
@media(max-width:767px){.search-panel .suggest-list{max-height:240px}.jobs-pagination .pagination{gap:3px}.jobs-pagination .pagination .page-item .page-link{min-width:34px;height:34px;padding:4px 8px;font-size:12px}}

/* V7: našeptávač přesahuje z hero nad následující sekce. */
body { overflow-x:hidden; }
.hero { overflow:visible; z-index:20; isolation:isolate; }
.hero-content { position:relative; z-index:3; }
.hero .search-panel { position:relative; z-index:50; }
.hero .search-panel .suggest-wrap { z-index:60; }
.hero .search-panel .suggest-list { z-index:100; }
.hero-decor { z-index:0; }
.site-header { z-index:100; }
.stats { position:relative; z-index:1; }

/* YouJobs V8: detail, přehled a responzivní mapa */
.job-detail-page{max-width:1260px}.job-detail-card{background:#fff;border:1px solid #e1eaf5;border-radius:22px;padding:clamp(22px,3vw,42px);box-shadow:0 12px 38px rgba(21,48,96,.05)}.job-detail-title{font-size:clamp(1.8rem,3.8vw,3rem);font-weight:800;color:#102a57;line-height:1.16;margin:12px 0}.job-detail-company{font-size:1.12rem;font-weight:650;color:#344e78}.job-detail-location{color:#50698d}.job-detail-salary{font-weight:800;color:#fa6505;font-size:1.55rem;margin:20px 0}.job-detail-section{padding:24px 0;border-top:1px solid #e7edf5}.job-detail-section h2,.job-map-card h2{font-size:1.25rem;font-weight:800;color:#102a57;margin-bottom:18px}.job-description{white-space:normal;line-height:1.8;color:#31466a}.job-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.job-facts>div{padding:12px 14px;background:#f5f8fd;border-radius:12px}.job-facts dt{font-size:.79rem;color:#5e7595}.job-facts dd{font-weight:650;margin:4px 0 0;color:#142d55}.job-tags{padding:0;display:flex;flex-wrap:wrap;gap:9px;list-style:none}.job-tags li{background:#edf5ff;border:1px solid #dbe9fc;padding:9px 13px;border-radius:13px;font-size:.92rem;color:#1b4d8e}.job-tags small{color:#627891;display:block}.job-contact-locked{border:1px solid #cfe0f5;border-radius:16px;padding:22px;background:#f4f8fe}.job-contact-locked h3{font-size:1.05rem;font-weight:750;color:#102a57}.job-contact-item{margin-bottom:18px}.job-contact-item p{margin:5px 0}.job-map-card{position:sticky;top:20px}.job-osm-map{display:block;width:100%;height:345px;border:0;border-radius:14px}.job-card-meta{display:flex;gap:8px;flex-wrap:wrap;color:#63799a;font-size:.73rem;margin:10px 0}.job-card-meta span:not(:empty){border-radius:8px;background:#f3f7fd;padding:5px 8px}@media(max-width:768px){.job-facts{grid-template-columns:1fr}.job-map-card{position:static}}

/* YouJobs detail V11 */
.job-workplace-list{display:grid;gap:12px}.job-workplace{display:flex;gap:12px;padding:16px;background:#f5f8fe;border-radius:14px;color:#334b71}.job-workplace>span{font-size:1.3rem}.job-workplace strong{color:#102a57}.job-detail-card .job-detail-section:has(.job-facts:empty){display:none}.job-map-placeholder{min-height:180px;background:linear-gradient(135deg,#e9f3fc,#f4f8fd);border-radius:15px;display:flex;gap:12px;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:20px}.job-map-placeholder span{font-size:2rem}.job-map-placeholder p{font-size:.9rem;margin:0}.job-map-address{font-weight:650;color:#102a57}.job-osm-dynamic{height:310px;margin-top:15px;border-radius:14px;overflow:hidden;background:#f1f5fb}.job-osm-dynamic[hidden]{display:none}.job-detail-section{scroll-margin-top:90px}

/* V12: jedna vlozena OSM mapa misto nespravne rozlozenych dlazdic Leaflet. */
.job-osm-dynamic{height:auto;margin-top:12px;overflow:visible;background:transparent}
.job-osm-dynamic[hidden],#jobMapUnverified[hidden],#jobMapError[hidden]{display:none!important}
.job-osm-dynamic .job-osm-map{display:block;width:100%;height:340px;border:0;border-radius:14px}

.job-occupation {font-size:.76rem;color:#60738b;line-height:1.35;margin-top:.35rem;}


/* V15 – modernější výpis inzerátů */
.jobs-list-grid .col-md-6,.jobs-list-grid .col-xl-4{display:flex}
.job-card.job-card-modern{display:flex;flex-direction:column;width:100%;padding:20px 20px 18px;border:1px solid #e3ecf7;border-radius:20px;box-shadow:0 10px 28px rgba(16,42,87,.06);background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)}
.job-card.job-card-modern:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(16,42,87,.12);border-color:#d4e4f7}
.job-card-header{display:flex;align-items:center;gap:12px;margin-bottom:14px}.job-card-accent{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#eaf4ff,#dcecff);color:#1477e8;font-size:18px;flex:0 0 auto;box-shadow:inset 0 0 0 1px #d3e6fb}.job-location-pill{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border-radius:999px;background:#eef6ff;color:#124f9a;font-size:12px;font-weight:800;letter-spacing:.25px;border:1px solid #d8e8fb}.job-location-pill:before{content:"⌖";font-size:12px;line-height:1}.job-card.job-card-modern h3{font-size:21px;line-height:1.18;letter-spacing:-.3px;margin:0 0 12px;min-height:50px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.job-card.job-card-modern h3 a{color:#102a57}.job-card.job-card-modern h3 a:hover{color:#0e5ec4}.job-company{display:flex;align-items:center;gap:8px;color:#2f4b74;font-size:14px;font-weight:700;margin-bottom:8px}.job-meta-icon{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#eff5fd;color:#5d7392;font-size:10px;flex:0 0 auto}.job-occupation-line{margin-bottom:14px;font-size:13px;line-height:1.45;color:#5f7390;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:36px}.job-card-tags{display:flex;flex-wrap:wrap;gap:8px;min-height:36px;margin-bottom:18px}.job-badge{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:700;line-height:1.2;border:1px solid transparent}.job-badge-type{background:#eaf7ee;color:#196b3d;border-color:#cfead9}.job-badge-shift{background:#eef3ff;color:#244f96;border-color:#d8e3ff}.job-badge-vacancy{background:#fff6eb;color:#b85a00;border-color:#ffe1bb}.job-bottom{margin-top:auto;padding-top:16px;border-top:1px solid #edf2f8;display:flex;align-items:flex-end;justify-content:space-between;gap:14px}.salary-block{display:flex;flex-direction:column;gap:4px;min-width:0}.salary-block small{color:#7285a0;font-size:11px;font-weight:700;letter-spacing:.3px;text-transform:uppercase}.salary{display:block;font-weight:800;font-size:17px;line-height:1.25;color:#102a57}.circle-link{width:44px;height:44px;border-radius:14px;background:linear-gradient(180deg,#ff7a24,#ff6508);color:#fff;box-shadow:0 10px 20px rgba(255,101,8,.22);transition:transform .15s ease, box-shadow .15s ease}.circle-link:hover{color:#fff;transform:translateY(-2px);box-shadow:0 14px 26px rgba(255,101,8,.28)}
@media(max-width:1199px){.job-card.job-card-modern h3{font-size:19px}}
@media(max-width:767px){.job-card.job-card-modern{padding:18px}.job-card.job-card-modern h3{font-size:18px;min-height:0}.job-card-tags{margin-bottom:15px}.job-badge{font-size:11px;padding:6px 9px}.salary{font-size:16px}.circle-link{width:40px;height:40px}}


/* V16 - kompaktní karty: název nahoře, firma a lokalita pod ním */
.job-card.job-card-modern.job-card-v16{padding:13px 15px 14px;border-radius:17px;gap:0}
.job-card-v16 .job-card-title{display:block;min-height:0 !important;margin:0 0 12px !important;padding:12px 13px;border-radius:12px;background:#eef5ff;border:1px solid #e1edff;font-size:19px !important;line-height:1.27 !important;letter-spacing:-.25px;-webkit-line-clamp:unset;overflow:visible}
.job-card-v16 .job-card-title a{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:#102a57}
.job-card-v16 .job-card-title a:hover{color:#0e63be}
.job-card-v16 .job-card-ident{padding:0 2px;margin-bottom:9px}
.job-card-v16 .job-company{font-size:12.5px;line-height:1.3;margin-bottom:7px;color:#2c4266;display:flex;align-items:flex-start;gap:7px}
.job-card-v16 .job-meta-icon{background:#edf2f8;flex:0 0 18px;width:18px;height:18px;font-size:10px}
.job-card-v16 .job-location{display:flex;align-items:flex-start;gap:7px;color:#1368bc;font-size:12.5px;font-weight:750;line-height:1.35;margin:0}
.job-card-v16 .job-pin-icon{flex:0 0 16px;margin-top:0px;color:#1680ee}
.job-card-v16 .job-occupation-line{margin:3px 2px 10px;color:#7b8ba1;font-size:11.5px;line-height:1.35;min-height:0;-webkit-line-clamp:1}
.job-card-v16 .job-card-tags{gap:5px;min-height:0;margin:3px 0 12px}
.job-card-v16 .job-badge{font-size:10.5px;padding:5px 7px;border-radius:7px}
.job-card-v16 .job-bottom{padding-top:12px;gap:10px}
.job-card-v16 .salary-block small{font-size:10px}
.job-card-v16 .salary{font-size:15px;line-height:1.3}
.job-card-v16 .circle-link{width:38px;height:38px;flex:0 0 38px;border-radius:12px}
@media(max-width:767px){.job-card.job-card-modern.job-card-v16{padding:12px 13px 13px}.job-card-v16 .job-card-title{font-size:18px !important;padding:11px 12px}.job-card-v16 .job-card-tags{margin-bottom:10px}}


/* V17 – dynamické kraje a města */
.location-directory-intro{margin:12px 0 0;color:#677c99;font-size:14px}
.location-directory-panel{height:100%;background:#fff;border:1px solid #e2ecf8;border-radius:20px;overflow:hidden;box-shadow:0 12px 30px rgba(16,42,87,.055)}
.location-panel-heading{display:flex;gap:13px;align-items:center;padding:20px 22px;background:linear-gradient(110deg,#f0f7ff,#fafcff);border-bottom:1px solid #e8f0fb}
.location-panel-icon{width:46px;height:46px;display:grid;place-items:center;flex-shrink:0;border-radius:14px;background:#dceeff;color:#0e6dcf;font-size:21px}
.location-panel-icon-city{background:#fff0e4;color:#ed650e}
.location-panel-heading h3{font-size:19px;font-weight:800;letter-spacing:-.3px;margin:0 0 4px}
.location-panel-heading p{font-size:12px;color:#7285a0;margin:0}
.location-link-list{padding:7px 12px 12px}
.location-link{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;min-height:44px;border-radius:10px;color:#173359;transition:background .15s,color .15s}
.location-link+.location-link{border-top:1px solid #f0f4fa}
.location-link:hover{color:#0e6dcf;background:#eef6ff}
.location-link-main,.location-link-end{display:flex;align-items:center;gap:10px;min-width:0}
.location-list-pin{display:grid;place-items:center;flex:none;width:25px;height:25px;border-radius:8px;background:#eef5ff;color:#2478d8;font-size:13px}
.location-list-name{font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.location-link-end{flex-shrink:0}
.location-link-end strong{min-width:38px;text-align:right;color:#365c91;background:#edf4ff;padding:5px 9px;border-radius:8px;font-size:12px}
.location-link-arrow{font-size:16px;color:#87a6c8}
.location-data-note{font-size:12px;color:#8899ab;margin:14px 0 0}
.location-empty{margin:16px;color:#7285a0;font-size:13px}
@media(max-width:575px){.location-panel-heading{padding:16px}.location-link-list{padding:6px 8px 10px}.location-link{padding:9px 7px;gap:7px}.location-list-name{font-size:12px}.location-link-end strong{font-size:11px;padding:4px 6px}.location-link-main{gap:7px}.location-list-pin{width:23px;height:23px}}

/* V18: počty nabídek napravo od krajů a obcí. */
.location-link-end { display: flex; align-items: center; justify-content: flex-end; gap: 6px; white-space: nowrap; }
.location-link-unit { font-size: 11px; font-weight: 500; color: #7084a0; }
@media (max-width: 575px) { .location-link-unit { font-size: 10px; } }

/* V20 – dynamické oblíbené profese */
.popular-dynamic .popular-category{display:inline-flex;align-items:center;gap:7px;max-width:100%;font-weight:700;line-height:1.3}
.popular-dynamic .popular-category small{font-size:11px;font-weight:800;background:#eaf2ff;color:#235b9a;border-radius:999px;padding:3px 7px;white-space:nowrap}
.popular-dynamic .popular-category:hover{color:#075bb5;background:#f5faff}
.popular-dynamic .popular-category-brigade{background:#fff4e9;color:#ad4d00}
@media(max-width:767px){.popular-dynamic{gap:7px}.popular-dynamic .popular-category{padding:8px 11px;font-size:12px}}


/* V21: homepage refresh, kompaktnější hero, lepší statistiky a footer */

.brand-wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
}

.hero.hero-compact {
    min-height: 0;
}

.hero-compact .hero-content {
    padding-top: 42px;
    padding-bottom: 48px;
}

.hero-shell {
    max-width: 860px;
}

.hero-compact h1 {
    margin: 12px 0 14px;
    font-size: clamp(40px, 5vw, 70px);
    line-height: 0.98;
}

.hero-compact .hero-subtitle {
    margin-bottom: 20px;
    max-width: 720px;
}

.search-panel-compact {
    max-width: 860px;
    border-radius: 18px;
    padding: 10px;
}

.hero-popular {
    max-width: 900px;
}

.hero-popular > span {
    color: var(--navy);
}

.stats-homepage {
    padding-top: 24px;
}

.stat-modern {
    min-height: 108px;
    padding: 22px 20px;
    border: 1px solid #e4edf8;
    box-shadow: 0 10px 28px rgba(16, 42, 87, 0.05);
}

.stat-modern .stat-icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
}

.stat-modern .stat-icon svg {
    width: 26px;
    height: 26px;
    display: block;
}

.stat-modern strong {
    line-height: 1.1;
}

.location-panel-icon-city {
    color: #0f7aea;
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.footer-meta a {
    color: #5a6d86;
}

.footer-meta a:hover {
    color: var(--blue);
}

.footer-separator {
    color: #a6b6ca;
}

@media (max-width: 991px) {
    .hero-compact .hero-content {
        padding-top: 34px;
        padding-bottom: 40px;
    }

    .hero-compact .hero-subtitle br {
        display: none;
    }
}

@media (max-width: 767px) {
    .hero-compact h1 {
        font-size: clamp(36px, 12vw, 54px);
    }

    .search-panel-compact {
        padding: 9px;
    }

    .stat-modern {
        min-height: 96px;
    }

    .footer-meta {
        gap: 6px;
    }
}


/* V22 – rychlý vstup na brigády, nové nabídky a čitelnější lokality */
.hero-quick-link { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.hero-brigade-link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; background: #fff4e9; color: #aa4900; border: 1px solid #ffdbb9; transition: background .2s, transform .2s; }
.hero-brigade-link:hover { background: #ffe9d6; color: #963e00; transform: translateY(-1px); }
.jobs-new-today { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 13px; color: #526d8d; }
.jobs-new-today strong { color: #102a57; }
.jobs-new-dot { width: 8px; height: 8px; border-radius: 50%; background: #22a65a; box-shadow: 0 0 0 4px #e8f7ed; margin-right: 4px; }
.location-directory-panel { border-color: #dce8f8; }
.location-link { transition: background .16s ease, padding-left .16s ease; }
.location-link:hover { background: #f4f9ff; padding-left: 16px; }
.location-link-end strong { background: #eaf4ff; border-radius: 9px; padding: 5px 9px; color: #155999; }
.location-panel-heading { background: linear-gradient(120deg, #eff7ff, #f8fbff); }
@media (max-width: 767px) { .hero-quick-link { margin-top: 12px; } .hero-brigade-link { font-size: 12px; } }


/* V23 – kompaktní úvodní vyhledávání a sjednocené profese */
.hero.hero-compact .hero-content {
    padding-top: 28px;
    padding-bottom: 30px;
}

.hero.hero-compact h1 {
    font-size: clamp(38px, 4.15vw, 60px);
    letter-spacing: -2px;
    line-height: 1.025;
    margin: 10px 0 12px;
}

.hero.hero-compact .hero-subtitle {
    font-size: 16px;
    line-height: 1.42;
    margin: 0 0 17px;
}

.hero.hero-compact .hero-shell {
    max-width: 830px;
}

.hero.hero-compact .search-panel-compact {
    border-radius: 16px;
    padding: 8px;
}

.hero.hero-compact .search-panel .form-control,
.hero.hero-compact .search-panel .btn {
    min-height: 47px;
}

.hero-discovery {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    max-width: 900px;
}

.hero-discovery .hero-brigade-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: #a94806;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    background: #fff9f3;
    border: 1px solid #ffd7b5;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(144, 83, 19, .05);
    transition: background .15s ease, border-color .15s ease;
}

.hero-discovery .hero-brigade-link:hover {
    background: #ffeddb;
    border-color: #ffbe89;
    color: #963d00;
    transform: none;
}

.hero-discovery .hero-brigade-link strong {
    font-weight: 800;
}

.hero-brigade-icon {
    width: 23px;
    height: 23px;
    background: #ffe8d6;
    color: #e46b09;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.hero-brigade-arrow {
    font-size: 15px;
    padding-left: 3px;
}

.hero-discovery .hero-popular {
    margin-top: 0 !important;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    font-size: 12px;
}

.hero-discovery .popular-label {
    color: #52698a;
    font-weight: 800;
    letter-spacing: .2px;
    font-size: 12px;
}

.hero-discovery .popular-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.hero-discovery .popular-category {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    padding: 7px 10px;
    background: rgba(255,255,255,.95);
    color: #17365e;
    border: 1px solid rgba(128, 173, 223, .25);
    border-radius: 11px;
    box-shadow: 0 3px 9px rgba(18, 70, 122, .05);
    font-size: 11.5px;
    font-weight: 650;
    line-height: 1.3;
}

.hero-discovery .popular-category:hover {
    background: #fff;
    color: #075bb5;
    border-color: #9fc8f5;
}

.hero-discovery .popular-category small {
    display: inline-block;
    padding: 3px 7px;
    border-radius: 6px;
    font-size: 10.5px;
    line-height: 1.2;
    background: #eaf3ff;
    color: #1d589d;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 767px) {
    .hero.hero-compact .hero-content { padding-top: 24px; padding-bottom: 28px; }
    .hero.hero-compact h1 { font-size: clamp(36px, 10vw, 48px); letter-spacing: -1.4px; }
    .hero.hero-compact .hero-subtitle { font-size: 14px; }
    .hero-discovery { gap: 11px; }
    .hero-discovery .hero-brigade-link { flex-wrap: wrap; font-size: 11.5px; }
    .hero-discovery .popular-category { font-size: 11px; padding: 7px 9px; }
}

/* V33 – širší vyhledávání bez oříznutého tlačítka */
.hero.hero-compact .hero-shell { max-width: 1120px; }
.hero.hero-compact .search-panel-compact { max-width: 1120px; width: 100%; }
.hero.hero-compact .search-panel-compact .row > [class*="col-"] { min-width: 0; }
.hero.hero-compact .search-panel-compact .btn-orange {
    white-space: nowrap;
    font-size: 15px;
    padding-left: 8px;
    padding-right: 8px;
}
.hero.hero-compact .search-panel-compact .form-select {
    min-height: 47px;
    width: 100%;
    font-size: 15px;
    padding-left: 12px;
}
@media (min-width: 992px) and (max-width: 1199px) {
    .hero.hero-compact .search-panel-compact .btn-orange { font-size: 14px; }
}
@media (max-width: 991px) {
    .hero.hero-compact .search-panel-compact .row { row-gap: 9px; }
}

/* V34 – odkaz na katalog všech obcí */
.municipality-all-link-wrap{padding:0 18px 18px}
.municipality-all-link{display:flex;justify-content:center;align-items:center;gap:10px;border:1px solid #cde3fc;background:#f0f7ff;color:#12589e;border-radius:12px;padding:12px 16px;font-weight:800;font-size:13px}
.municipality-all-link:hover{background:#e5f2ff;color:#0f4a85}

/* YouJobs.cz V35 – barevný režim: Bootstrap 5.3 data-bs-theme */
.theme-switcher { flex-shrink: 0; }
.theme-switcher-toggle { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #cfdded; border-radius: 12px; padding: 8px 12px; color: var(--navy); background: #f0f6ff; font-size: 13px; font-weight: 700; white-space: nowrap; }
.theme-switcher-toggle:hover, .theme-switcher-toggle:focus { background: #e4efff; border-color: #9cbbe5; color: #0755a7; }
.theme-switcher-menu { min-width: 178px; border-radius: 12px; padding: 6px; box-shadow: 0 12px 30px rgba(13, 32, 59, .15); }
.theme-switcher-menu .dropdown-item { display: flex; align-items: center; gap: 10px; border-radius: 7px; padding: 9px 10px; font-weight: 600; font-size: 13px; }
.theme-switcher-menu .theme-choice-check { margin-left: auto; opacity: 0; }
.theme-switcher-menu .dropdown-item.active .theme-choice-check { opacity: 1; }
@media(max-width: 420px) { .theme-switcher-toggle { padding: 7px 9px; } }

/* Vlastní barvy YouJobs nemají Bootstrap proměnné a potřebují explicitní tmavé varianty. */
[data-bs-theme="dark"] { --navy:#e8f1ff; --blue:#8bc3ff; --muted:#a7b9d1; color-scheme: dark; }
[data-bs-theme="dark"] body { color:#e8f1ff; background:#0c1523; }
[data-bs-theme="dark"] a { color:inherit; }
[data-bs-theme="dark"] a:hover { color:#8bc3ff; }
[data-bs-theme="dark"] .site-header { background:#101d30; box-shadow: 0 2px 16px #02071288; }
[data-bs-theme="dark"] .brand small { color:#a5b6ce; }
[data-bs-theme="dark"] .main-menu a, [data-bs-theme="dark"] .mobile-nav a { color:#dce9ff; }
[data-bs-theme="dark"] .mobile-nav { background:#101d30; }
[data-bs-theme="dark"] .theme-switcher-toggle { background:#1b304c; border-color:#375270; color:#e5f2ff; }
[data-bs-theme="dark"] .theme-switcher-toggle:hover { background:#254265; }
[data-bs-theme="dark"] .theme-switcher-menu { background:#17273d; border-color:#38516e; }
[data-bs-theme="dark"] .theme-switcher-menu .dropdown-item { color:#e0edff; }
[data-bs-theme="dark"] .theme-switcher-menu .dropdown-item:hover, [data-bs-theme="dark"] .theme-switcher-menu .dropdown-item:focus { background:#294362; }
[data-bs-theme="dark"] .theme-switcher-menu .dropdown-item.active { background:#1c5690; color:#fff; }
[data-bs-theme="dark"] .hero { background:linear-gradient(115deg,#102744,#132e52 70%,#183a67); }
[data-bs-theme="dark"] .hero-subtitle, [data-bs-theme="dark"] .hero-compact .hero-subtitle { color:#b7cce4; }
[data-bs-theme="dark"] .hero-decor-b { border-color:#8db6e8; opacity:.13; }
[data-bs-theme="dark"] .hero-decor-a { opacity:.15; }
[data-bs-theme="dark"] .hero-eyebrow, [data-bs-theme="dark"] .section-kicker { color:#88bdff; }
[data-bs-theme="dark"] .search-panel { background:#152841; box-shadow:0 10px 28px #02091666; }
[data-bs-theme="dark"] .search-panel .form-control, [data-bs-theme="dark"] .search-panel .form-select, [data-bs-theme="dark"] .search-panel input, [data-bs-theme="dark"] .search-panel select { background:#203650; color:#e8f1ff; border-color:#46617f; }
[data-bs-theme="dark"] input::placeholder { color:#a6bad4; opacity:1; }
[data-bs-theme="dark"] .popular a, [data-bs-theme="dark"] .hero-discovery .popular-category { background:#1c3554; color:#e4efff; border-color:#3a5778; box-shadow:none; }
[data-bs-theme="dark"] .hero-discovery .hero-brigade-link { background:#4a3022; border-color:#9a6035; color:#ffcd9c; }
[data-bs-theme="dark"] .hero-discovery .popular-label { color:#c6d7eb; }
[data-bs-theme="dark"] .hero-discovery .popular-category small { color:#b4d7ff; background:#244a73; }
[data-bs-theme="dark"] .stat, [data-bs-theme="dark"] .stat-modern { background:#16263c; }
[data-bs-theme="dark"] .stat-icon { background:#243f60; color:#a3d0ff; }
[data-bs-theme="dark"] .stat small { color:#b0c2d9; }
[data-bs-theme="dark"] .job-card, [data-bs-theme="dark"] .job-detail-card, [data-bs-theme="dark"] .job-map-card, [data-bs-theme="dark"] .location-directory-panel { background:#142439; border-color:#314962; box-shadow:0 7px 26px #030a1680; }
[data-bs-theme="dark"] .job-card-v16 .job-card-title, [data-bs-theme="dark"] .job-card-title { background:#223c5b; border-color:#34577e; }
[data-bs-theme="dark"] .job-card-v16 .job-card-title a { color:#e6f2ff; }
[data-bs-theme="dark"] .job-card-v16 .job-company, [data-bs-theme="dark"] .job-detail-company { color:#c0d1e8; }
[data-bs-theme="dark"] .job-card-v16 .job-location { color:#89c2ff; }
[data-bs-theme="dark"] .job-occupation-line, [data-bs-theme="dark"] .job-card-v16 .job-occupation-line, [data-bs-theme="dark"] .job-occupation { color:#a8bdd6; }
[data-bs-theme="dark"] .job-meta-icon { background:#263e5b; }
[data-bs-theme="dark"] .job-bottom { border-top-color:#344c65; }
[data-bs-theme="dark"] .salary, [data-bs-theme="dark"] .job-detail-title { color:#f1f7ff; }
[data-bs-theme="dark"] .salary-block small { color:#a5b8d0; }
[data-bs-theme="dark"] .job-badge-type { background:#1a443c; border-color:#2a6b53; color:#a5f1c6; }
[data-bs-theme="dark"] .job-badge-shift { background:#243e67; border-color:#3b5b91; color:#b7d6ff; }
[data-bs-theme="dark"] .job-badge-vacancy { background:#52381c; border-color:#765028; color:#ffd59d; }
[data-bs-theme="dark"] .job-description, [data-bs-theme="dark"] .job-detail-section, [data-bs-theme="dark"] .job-facts, [data-bs-theme="dark"] .job-workplace { color:#d6e4f5; border-color:#354c66; }
[data-bs-theme="dark"] .job-contact-locked, [data-bs-theme="dark"] .job-map-placeholder, [data-bs-theme="dark"] .info-banner { background:#1a304b; color:#d7e6f9; border-color:#395372; }
[data-bs-theme="dark"] .location-link, [data-bs-theme="dark"] .city-card, [data-bs-theme="dark"] .location-link-list > *, [data-bs-theme="dark"] .municipality-all-link { background:#1a2e47; color:#e0edff; border-color:#354e6b; }
[data-bs-theme="dark"] .location-link:hover, [data-bs-theme="dark"] .municipality-all-link:hover { background:#274462; }
[data-bs-theme="dark"] .location-list-name, [data-bs-theme="dark"] .location-link-main, [data-bs-theme="dark"] .location-panel-heading { color:#e6efff; }
[data-bs-theme="dark"] .location-link-unit, [data-bs-theme="dark"] .location-data-note, [data-bs-theme="dark"] .location-directory-intro { color:#aabed6; }
[data-bs-theme="dark"] .page-link, [data-bs-theme="dark"] .jobs-pagination a { background:#1b334f; border-color:#395472; color:#c1dfff; }
[data-bs-theme="dark"] .page-item.active .page-link { background:#1a74cc; border-color:#1a74cc; color:#fff; }
[data-bs-theme="dark"] .footer { background:#101d30; color:#dceaff; }
[data-bs-theme="dark"] .footer .text-muted, [data-bs-theme="dark"] .footer-meta, [data-bs-theme="dark"] .footer-links span { color:#b0bfd3 !important; }
[data-bs-theme="dark"] .footer hr { border-color:#42546c; }
[data-bs-theme="dark"] .footer-links a { color:#ccdef5; }
[data-bs-theme="dark"] .suggest-list, [data-bs-theme="dark"] .suggest-option { background:#1d314c; color:#e5efff; border-color:#3b526e; }
[data-bs-theme="dark"] .suggest-option:hover { background:#2a496a; }
[data-bs-theme="dark"] .text-muted { color:#adbed2 !important; }
[data-bs-theme="dark"] .job-osm-map .leaflet-tile-pane { filter: grayscale(.22) brightness(.70) contrast(1.15); }

/* V36 – přehled zaměstnavatelů na úvodní stránce */
.company-home-section { margin-top: 32px; }
.company-home-section .section-heading { margin-bottom: 16px; }
.company-home-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 12px; padding:12px 18px; }
.company-home-grid .location-link { min-width:0; }
.company-home-grid .location-list-name { overflow-wrap:anywhere; }
@media(max-width:767px) { .company-home-grid { grid-template-columns:1fr; padding:10px 12px; } }


/* V41 – výraznější přehled filtrování a počtu aktuálních výsledků */
.section-heading-jobs {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
}

.section-heading-jobs .section-heading-main {
    min-width: 0;
}

.jobs-active-filters-wrap {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.jobs-active-filters-label {
    color: #607899;
    font-size: 13px;
    font-weight: 700;
    padding-top: 7px;
}

.jobs-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.jobs-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #f4f8ff;
    border: 1px solid #d8e6f8;
    color: #12335f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.jobs-filter-chip small {
    display: inline-block;
    padding: 3px 7px;
    border-radius: 999px;
    background: #e7f0ff;
    color: #4e6c92;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.jobs-results-highlight {
    margin-top: 14px;
    display: inline-flex;
    align-items: baseline;
    gap: 11px;
    padding: 12px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f4f8ff 0%, #ffffff 100%);
    border: 1px solid #dce8f8;
    box-shadow: 0 8px 22px rgba(15, 54, 97, .06);
}

.jobs-results-highlight-number {
    color: #102a57;
    font-size: clamp(28px, 3.1vw, 38px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.8px;
}

.jobs-results-highlight-text {
    color: #5a7291;
    font-size: 14px;
    font-weight: 700;
}

.section-heading-side {
    min-width: 240px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    padding-top: 32px;
}

.jobs-new-today-side {
    margin-top: 0;
    white-space: nowrap;
}

.jobs-results-meta {
    text-align: right;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 991px) {
    .section-heading-jobs {
        flex-direction: column;
        align-items: stretch;
    }

    .section-heading-side {
        min-width: 0;
        padding-top: 0;
        align-items: flex-start;
    }

    .jobs-results-meta {
        text-align: left;
    }
}

@media (max-width: 575px) {
    .jobs-results-highlight {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .jobs-active-filters-label {
        width: 100%;
        padding-top: 0;
    }
}

[data-bs-theme="dark"] .jobs-filter-chip {
    background: #1b3450;
    border-color: #355372;
    color: #e2efff;
}

[data-bs-theme="dark"] .jobs-filter-chip small {
    background: #274a73;
    color: #bddbff;
}

[data-bs-theme="dark"] .jobs-results-highlight {
    background: linear-gradient(135deg, #152943 0%, #1a304b 100%);
    border-color: #34506d;
    box-shadow: none;
}

[data-bs-theme="dark"] .jobs-results-highlight-number {
    color: #f2f7ff;
}

[data-bs-theme="dark"] .jobs-results-highlight-text,
[data-bs-theme="dark"] .jobs-active-filters-label {
    color: #b3c7df;
}


/* V41a – filtr a počet výsledků v jedné řádce */
.jobs-summary-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.jobs-summary-line .jobs-active-filters {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
}

.jobs-summary-divider {
    color: #9bb0cb;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
}

.jobs-results-inline {
    color: #5a7291;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.jobs-results-inline strong {
    color: #102a57;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -.3px;
    margin-right: 4px;
}

/* Vypnutí předchozího boxového zvýraznění */
.jobs-results-highlight {
    display: none;
}

@media (max-width: 767px) {
    .jobs-summary-line {
        align-items: flex-start;
    }

    .jobs-summary-divider {
        display: none;
    }

    .jobs-results-inline {
        width: 100%;
    }

    .jobs-results-inline strong {
        font-size: 20px;
    }
}

[data-bs-theme="dark"] .jobs-summary-divider {
    color: #6f87a8;
}

[data-bs-theme="dark"] .jobs-results-inline {
    color: #b3c7df;
}

[data-bs-theme="dark"] .jobs-results-inline strong {
    color: #f2f7ff;
}


/* V42 – ovládání jednotlivých aktivních filtrů */
.jobs-filter-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    margin-left: 1px;
    border-radius: 50%;
    color: #5a7291;
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
    line-height: 1;
}
.jobs-filter-remove:hover,
.jobs-filter-remove:focus {
    background: #dceaff;
    color: #a83b2b;
}
.jobs-filters-reset {
    display: inline-flex;
    align-items: center;
    align-self: center;
    color: #265c9a;
    font-size: 12px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.jobs-filters-reset:hover { color: #f46d16; }
.jobs-filter-all { color: #294f82; font-size: 13px; font-weight: 800; padding: 6px 0; }
[data-bs-theme="dark"] .jobs-filter-remove { color: #b7d3f3; }
[data-bs-theme="dark"] .jobs-filter-remove:hover { background: #3c5878; color: #ffb9a7; }
[data-bs-theme="dark"] .jobs-filters-reset { color: #a4cbff; }
[data-bs-theme="dark"] .jobs-filter-all { color: #d3e6ff; }
