.swk {
    --swk-ink: #171714;
    --swk-dark: #20201d;
    --swk-gold: #ffcf26;
    --swk-paper: #f8f7f4;
    --swk-white: #fff;
    --swk-muted: #5e5c53;
    --swk-line: #dfddd6;
    --swk-radius: 12px;
    min-width: 0;
    color: var(--swk-ink);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.6;
    overflow-wrap: break-word;
}

.swk *,
.swk *::before,
.swk *::after { box-sizing: border-box; }

.swk h1,
.swk h2,
.swk h3,
.swk h4,
.swk p,
.swk dl,
.swk dd { margin: 0; }

.swk h1,
.swk h2,
.swk h3,
.swk h4 { color: inherit; font-family: inherit; }

.swk a:focus-visible,
.swk summary:focus-visible {
    outline: 3px solid #9b6b00;
    outline-offset: 3px;
}

.swk-list { display: flow-root; }

.swk .swk-offers {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.swk .swk-offers > li { margin: 0; padding: 0; }

.swk-offer {
    border: 1px solid #373630;
    border-radius: var(--swk-radius);
    background: var(--swk-dark);
    color: var(--swk-white);
}

.swk-offer[open] { position: relative; border-color: #73602a; }

.swk .swk-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 16px;
    padding: 18px;
    border-radius: calc(var(--swk-radius) - 1px);
    background: #22221f;
    color: var(--swk-white);
    list-style: none;
    cursor: pointer;
    scroll-margin-top: var(--swk-sticky-offset, 112px);
    transition: background-color 160ms ease;
}

.swk .swk-summary::-webkit-details-marker { display: none; }
.swk .swk-summary::marker { content: ""; }
.swk .swk-summary:hover { background: #2b2a25; }
.swk .swk-summary:focus-visible { outline-color: var(--swk-gold); outline-offset: -4px; }

.swk-offer[open] > .swk-summary {
    position: absolute;
    z-index: 1;
    inset-block-start: clamp(10px, 2vw, 22px);
    inset-inline-end: clamp(10px, 2vw, 22px);
    display: flex;
    border-radius: 6px;
    padding: 0;
    background: #1c1b17;
}

.swk-offer[open] > .swk-summary :is(.swk-summary-info, .swk-wage) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.swk-summary-info { display: grid; gap: 5px; min-width: 0; }

.swk .swk-kicker {
    color: var(--swk-gold);
    font-size: 0.73rem;
    font-weight: 650;
    line-height: 1.35;
    letter-spacing: 0.02em;
}

.swk-offer-title {
    display: block;
    color: #fff;
    font-size: clamp(1.15rem, 3.8vw, 1.5rem);
    font-weight: 720;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.swk-tags { display: flex; flex-wrap: wrap; gap: 3px 11px; }

.swk-tags > span {
    color: #dedbd1;
    font-size: 0.87rem;
    line-height: 1.35;
}

.swk-tags > span + span::before {
    display: inline-block;
    width: 3px;
    height: 3px;
    margin-inline-end: 8px;
    border-radius: 50%;
    background: #a6a196;
    vertical-align: 0.18em;
    content: "";
}

.swk-wage { display: grid; grid-column: 1; gap: 1px; min-width: 0; }
.swk-wage > span { color: #d0cbbd; font-size: 0.74rem; line-height: 1.3; }
.swk-wage strong { color: #fff; font-size: 0.97rem; font-weight: 730; line-height: 1.35; }

.swk-toggle {
    position: relative;
    display: block;
    grid-column: 2;
    grid-row: 1;
    width: 44px;
    height: 44px;
    border: 1px solid #524b35;
    border-radius: 6px;
    color: var(--swk-gold);
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.swk-toggle::after {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 9px;
    height: 9px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    content: "";
    transform: translate(-50%, -65%) rotate(45deg);
    transition: transform 160ms ease;
}

.swk-summary:hover .swk-toggle,
.swk-offer[open] .swk-toggle { border-color: #a4872e; background: #302b1e; }
.swk-offer[open] .swk-toggle::after { transform: translate(-50%, -30%) rotate(225deg); }

.swk-expanded {
    border-radius: calc(var(--swk-radius) - 1px);
    overflow: clip;
}

.swk .swk-empty {
    padding: clamp(18px, 4vw, 32px);
    border: 1px solid var(--swk-line);
    border-radius: var(--swk-radius);
    background: var(--swk-paper);
}

.swk .swk-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.swk .swk-pagination li { margin: 0; padding: 0; }
.swk .swk-pagination .page-numbers:not(ul) {
    display: inline-grid;
    min-width: 44px;
    min-height: 44px;
    padding: 4px 11px;
    place-items: center;
    border: 1px solid #4b4636;
    border-radius: 8px;
    background: var(--swk-dark);
    color: #fff;
    font-size: 0.87rem;
    font-weight: 700;
    text-decoration: none;
}

.swk .swk-pagination .current,
.swk .swk-pagination a:hover { border-color: var(--swk-gold); background: var(--swk-gold); color: var(--swk-ink); }

.swk .swk-shell {
    width: min(100%, 1248px);
    margin-inline: auto;
    padding-inline: clamp(18px, 5vw, 56px);
}

.swk .swk-job { background: var(--swk-paper); color: var(--swk-ink); }
.swk-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-bottom: 2px solid var(--swk-gold);
    background: #161613;
    color: #fff;
}

.swk-hero-with-image { min-height: 300px; }

.swk .swk-hero-image,
.swk-hero-with-image::after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.swk .swk-hero-image { z-index: -2; object-fit: cover; object-position: 73% center; }
.swk-hero-with-image::after {
    z-index: -1;
    background: linear-gradient(0deg, #141412 4%, rgba(20, 20, 18, 0.92) 48%, rgba(20, 20, 18, 0.23) 100%);
    content: "";
}

.swk .swk-hero-inner { padding-block: 65px 30px; }
.swk .swk-back {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    margin-bottom: 8px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.swk .swk-back:hover { color: var(--swk-gold); text-decoration: underline; }
.swk .swk-back:focus-visible { outline-color: var(--swk-gold); }
.swk .swk-hero .swk-hero-title {
    max-width: 24ch;
    margin-top: 5px;
    color: #fff;
    font-size: clamp(1.75rem, 5vw, 3.25rem);
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.swk .swk-hero-lead {
    max-width: 50ch;
    margin-top: 12px;
    color: #efebdf;
    font-size: 1.04rem;
    line-height: 1.55;
}

.swk-single-content { padding-block: clamp(20px, 4vw, 40px) clamp(32px, 6vw, 72px); }
.swk .swk-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 0 0 clamp(24px, 4vw, 40px);
    overflow: hidden;
    border: 1px solid var(--swk-line);
    border-radius: 6px;
    background: var(--swk-line);
}

.swk-facts > div { min-width: 0; padding: clamp(11px, 2vw, 20px); background: var(--swk-white); }
.swk-facts dt,
.swk-meta dt,
.swk-contact-person dt { color: var(--swk-muted); font-size: 0.84rem; font-weight: 560; line-height: 1.4; }
.swk-facts dd,
.swk-meta dd,
.swk-contact-person dd { font-size: 0.95rem; font-weight: 670; line-height: 1.4; }
.swk .swk-facts dd,
.swk .swk-contact-person dd { margin-top: 3px; }

.swk-body { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 22px; }
.swk-body > * { min-width: 0; }
.swk-copy { min-height: 0; max-width: 76ch; }
.swk .swk-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 10px; }
.swk .swk-section-meta { margin-top: 12px; }
.swk .swk-company-meta {
    margin-top: 16px;
    padding-block: 10px 0;
    border-top: 1px solid var(--swk-line);
}
.swk .swk-copy-section { padding-block: clamp(18px, 2.3vw, 28px); border-top: 1px solid var(--swk-line); }
.swk .swk-copy-section:first-child { padding-top: 0; border-top: 0; }
.swk .swk-copy-section:last-child { padding-bottom: 0; }

.swk .swk-copy-section > .swk-section-title {
    color: var(--swk-ink);
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
    font-weight: 730;
    line-height: 1.23;
    letter-spacing: -0.02em;
}

.swk-section-block { margin-top: 14px; }
.swk-section-block + .swk-section-block { margin-top: 20px; }
.swk .swk-section-block > .swk-block-title {
    color: var(--swk-ink);
    font-size: 1.04rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
}

.swk .swk-prose { margin-top: 8px; color: #383733; font-size: 1rem; line-height: 1.65; }
.swk .swk-prose :is(p, ul, ol, blockquote) { margin-block: 0 0.8em; }
.swk .swk-prose :is(h2, h3, h4, h5, h6) {
    margin-block: 0.9em 0.4em;
    color: var(--swk-ink);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}
.swk .swk-prose :is(div, li) > :last-child,
.swk .swk-prose > :last-child { margin-bottom: 0; }
.swk .swk-prose ul,
.swk .swk-prose ol { padding-inline-start: 1.4em; }
.swk .swk-prose ul { list-style-type: disc; }
.swk .swk-prose ol { list-style-type: decimal; }
.swk .swk-prose li + li { margin-top: 0.25em; }
.swk .swk-prose a { color: #644b07; text-decoration: underline; overflow-wrap: anywhere; }
.swk .swk-prose img { max-width: 100%; height: auto; }

.swk .swk-contact {
    grid-row: 1;
    padding: clamp(14px, 2.3vw, 22px);
    border: 1px solid var(--swk-line);
    border-radius: 8px;
    background: var(--swk-white);
}

.swk .swk-contact > .swk-contact-title { color: var(--swk-ink); font-size: 1.09rem; font-weight: 730; line-height: 1.25; }
.swk .swk-contact-person { margin-top: 9px; }
.swk .swk-contact-note { margin-top: 9px; color: var(--swk-muted); font-size: 0.91rem; line-height: 1.5; }
.swk .swk-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 14px;
    padding: 9px 12px;
    border: 1px solid transparent;
    border-radius: 5px;
    background: var(--swk-gold);
    color: #1b170a;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition: background-color 160ms ease;
}

.swk .swk-button:hover { background: #f2bd0c; color: #1b170a; }
.swk .swk-button-secondary {
    margin-top: 8px;
    border-color: #a49f91;
    background: var(--swk-white);
    color: var(--swk-ink);
}

.swk .swk-button-secondary:hover {
    border-color: #706655;
    background: var(--swk-paper);
    color: var(--swk-ink);
}

.swk .swk-protected { padding-block: 36px; }

#karierny-formular { scroll-margin-top: var(--swk-sticky-offset, 112px); }

@media (max-width: 767px) {
    /* Keep Elementor's flex item sized to the rendered shortcode on mobile. */
    .elementor .elementor-widget-shortcode:has(.swk-list) { min-block-size: 0; }
}

@media (min-width: 570px) {
    .swk .swk-summary { grid-template-columns: minmax(0, 1fr) auto auto; padding: 22px 25px; gap: 20px; }
    .swk-wage { grid-column: auto; text-align: end; max-width: 205px; }
    .swk-toggle { grid-column: 3; grid-row: 1; }
    .swk .swk-hero-inner { padding-block: 32px 42px; }
    .swk-hero-with-image::after {
        background: linear-gradient(90deg, #151512 0%, rgba(21, 21, 18, 0.95) 29%, rgba(21, 21, 18, 0.5) 61%, rgba(21, 21, 18, 0.08) 100%),
            linear-gradient(0deg, rgba(21, 21, 18, 0.5), transparent 64%);
    }
}

@media (min-width: 768px) {
    .swk .swk-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .swk-body { grid-template-columns: minmax(0, 1fr) minmax(0, 29%); gap: clamp(22px, 4vw, 60px); }
    .swk .swk-contact {
        grid-column: 2;
        position: sticky;
        top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--swk-sticky-offset, 108px));
    }
}

@media (min-width: 900px) {
    .swk-hero-with-image { min-height: 350px; }
    .swk .swk-hero-image { object-position: center 54%; }
}

@media (prefers-reduced-motion: reduce) {
    .swk .swk-summary,
    .swk .swk-toggle,
    .swk .swk-toggle::after,
    .swk .swk-button { transition: none; }
}
