/* === KARIÉRA – jednotné styly === */
:root {
    --career-primary: #6ea106;
    --career-secondary: #5a880e;
    --career-button: #7eb606;
    --career-color: #7eb606;
    --career-bg-light: #f0f0f0;
    --career-border: #e0e0e0;
    --career-text: #333;
}

/* --- ZÁKLAD --- */
.cp-container,
.career-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: "Inter", Arial, sans-serif;
    color: var(--career-text);
}

.cp-title,
.career-header {
    text-align: center;
    background: var(--career-primary);
    color: #fff;
    font-size: 30px;
    padding: 35px 0;
    margin-bottom: 50px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    letter-spacing: 0.5px;
}

.career-entry-text {
    margin-bottom: 30px;
}

/* --- ARCHIV POZIC --- */
.zadavatel--vacancies {
    background: #fff;
}

.cp-jobs__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cp-job {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px 0;
    border-bottom: 1px solid var(--career-border);
    gap: 20px;
    transition: background 0.3s ease;
}

.cp-job:hover {
    background: var(--career-bg-light);
}

.cp-job__link {
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.cp-job__name {
    display: block;
    color: var(--career-primary);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.cp-job__link:hover .cp-job__name {
    color: var(--career-secondary);
}

.cp-job__branch,
.cp-job__employment-type {
    color: var(--career-text);
    font-size: 15px;
    opacity: 0.85;
}

.cp-job__detail-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    align-self: center;
    background: var(--career-button);
    transition: background 0.3s ease, transform 0.2s ease;
}

.cp-job__detail-btn:hover {
    background: var(--career-secondary);
    transform: translateY(-2px);
}

.cp-empty {
    text-align: center;
    font-size: 16px;
    color: #777;
    padding: 40px 0;
}

/* --- SINGLE POZICE --- */
.career-content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.career-main {
    flex: 2;
}

.career-sidebar {
    flex: 1;
    position: sticky;
    top: 30px;
}

/* === Titulek pozice === */
.career-title {
    font-size: 42px;
    color: var(--career-color);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* === Globální barvy v obsahu === */
.career-content-wrapper h2,
.career-content-wrapper h3,
.career-content-wrapper a,
.career-content-wrapper .career-btn {
    color: var(--career-color);
}

.career-content-wrapper .career-btn {
    background-color: var(--career-color);
    border-color: var(--career-color);
    color: #fff;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.25s ease;
}

.career-content-wrapper a:hover,
.career-content-wrapper .career-btn:hover {
    opacity: 0.85;
}

/* === Popis pozice (obsah) === */
.career-description {
    font-size: 17px;
    line-height: 1.7;
    color: var(--career-text, #333);
    margin-bottom: 40px;
}

.career-description p {
    margin: 0 0 1.2em;
}

.career-description strong,
.career-description b {
    font-weight: 600;
    color: #000;
}

.career-description em,
.career-description i {
    font-style: italic;
}

/* Nadpisy uvnitř obsahu */
.career-description h2,
.career-description h3,
.career-description h4 {
    color: var(--career-color);
    font-weight: 600;
    line-height: 1.3;
    margin-top: 1.6em;
    margin-bottom: 0.6em;
}

.career-description h2 { font-size: 1.4em; }
.career-description h3 { font-size: 1.2em; }
.career-description h4 { font-size: 1.1em; }

/* Odkazy */
.career-description a {
    color: var(--career-color);
    text-decoration: underline;
    transition: opacity 0.25s ease;
}

.career-description a:hover {
    opacity: 0.8;
    text-decoration: none;
}

/* Seznamy */
.career-description ul,
.career-description ol {
    margin: 1em 0 1em 1.5em;
    padding: 0;
}

.career-description ul {
    list-style-type: disc;
}

.career-description ol {
    list-style-type: decimal;
}

.career-description li {
    margin-bottom: 0.4em;
}

/* Citace */
.career-description blockquote {
    margin: 1.8em 0;
    padding: 1em 1.5em;
    border-left: 4px solid var(--career-color);
    background: #f9f9f9;
    font-style: italic;
    color: #555;
}

/* Tabulky */
.career-description table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.95rem;
}

.career-description th,
.career-description td {
    border: 1px solid #ddd;
    padding: 0.6em 0.8em;
}

.career-description th {
    background: #f7f7f7;
    font-weight: 600;
}

/* Obrázky */
.career-description img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1em 0;
}

/* Oddělovače */
.career-description hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 2em 0;
}

.career-description {
    font-size: 17px;
    line-height: 1.7;
    color: var(--career-text);
    margin-bottom: 40px;
}

/* === Info box === */
.career-info {
    background: var(--career-bg-light);
    padding: 30px 35px;
    border-radius: 6px;
    border: 1px solid var(--career-border);
}

.career-info h3 {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 700;
    color: var(--career-text);
}

.career-info__box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.career-info__row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 25px;
    border-bottom: 1px solid var(--career-border);
    padding-bottom: 10px;
}

.career-info__row:last-child {
    border-bottom: none;
}

.career-info__label {
    font-weight: 600;
    color: var(--career-text);
    min-width: 220px;
}

.career-info__value {
    flex: 1;
    color: #555;
    line-height: 1.6;
}

.career-info__value a {
    color: var(--career-color);
    text-decoration: underline;
    font-weight: 500;
}
.career-info__value a:hover {
    color: var(--career-secondary);
    text-decoration: none;
}

/* === Sidebar === */
.career-contact-box {
    background: var(--career-bg-light);
    padding: 25px 22px;
    border-radius: 6px;
    border: 1px solid var(--career-border);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.career-contact-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--career-text);
    margin-bottom: 12px;
}

.career-contact-box p {
    margin: 8px 0;
    font-size: 16px;
    color: var(--career-text);
}

.career-contact-box a {
    color: inherit;
    text-decoration: none;
}

.career-contact-box a:hover {
    text-decoration: underline;
}

.career-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 26px;
    border-radius: 5px;
    color: #fff;
    font-weight: 600;
    font-size: 17px;
    text-align: center;
    text-decoration: none;
    background: var(--career-color) !important;
    transition: background 0.2s ease, transform 0.2s ease;
}

.career-btn:hover {
    transform: translateY(-2px);
}

.career-back-link {
    display: block;
    margin-top: 15px;
    color: var(--career-primary) !important;
    font-weight: 500;
    text-decoration: underline;
}
.career-back-link:hover {
    color: var(--career-secondary);
}

.career-single_form_disclaimer {
    padding: 0 0 20px 0;
}

/* === FORMULÁŘ === */
.career-form {
    background: var(--career-bg-light);
    padding: 35px;
    border-radius: 6px;
    border: 1px solid var(--career-border);
}

.career-form label {
    display: block;
    font-weight: 500;
    color: var(--career-text);
    margin-bottom: 6px;
}

.career-form input[type="text"],
.career-form input[type="email"],
.career-form input[type="file"],
.career-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.career-form input:focus,
.career-form textarea:focus {
    border-color: var(--career-primary);
    box-shadow: 0 0 0 3px rgba(110, 161, 6, 0.15);
    outline: none;
}

.career-form textarea {
    resize: vertical;
}

.career-form .required {
    color: #c00;
}

.career-form .career-consent,
.career-form .gdpr {
    font-size: 14px;
    color: var(--career-text);
    margin-top: 20px;
    line-height: 1.5;
}

.career-form button {
    background: var(--career-button);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s, transform 0.2s;
}
.career-form button:hover {
    background: var(--career-secondary);
    transform: translateY(-2px);
}

/* === Responsivita === */
@media (max-width: 960px) {
    .career-content-wrapper {
        flex-direction: column;
    }

    .career-sidebar {
        width: 100%;
        position: static;
    }

    .career-form {
        width: 100%;
        padding: 25px;
    }
}

.career-gallery--column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.career-gallery--column .career-gallery__item {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform .25s ease, box-shadow .25s ease;
}

.career-gallery--column .career-gallery__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.career-gallery--column img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

@media (max-width: 960px) {
    .career-gallery--column {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
        margin-bottom: 25px;
    }

    .career-gallery--column .career-gallery__item {
        border-radius: 6px;
        box-shadow: 0 1px 2px rgba(0,0,0,0.08);
        transition: transform .2s ease;
    }

    .career-gallery--column .career-gallery__item:hover {
        transform: scale(1.03);
    }

    .career-gallery--column img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
