/* =============================================================
   SHK-Personalberatung – Stellenangebote Styles
   Version: 2.4.0
   Modernisiertes Design im Stil der Startseite
   ============================================================= */

:root {
    --shk-primary:        var(--ast-global-color-0, #3c64c6);
    --shk-primary-dark:   #2a4fa0;
    --shk-primary-light:  #bfdbfe;
    --shk-primary-pale:   #eff6ff;
    --shk-text:           #1a1a1a;
    --shk-text-muted:     #6b7280;
    --shk-text-soft:      #374151;
    --shk-bg-light:       #f5f7fa;
    --shk-bg-white:       #ffffff;
    --shk-border:         #e5e7eb;
    --shk-radius-card:    8px;
    --shk-radius-btn:     4px;
    --shk-body-font:      var(--ast-body-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
    --shk-heading-font:   var(--ast-heading-font-family, var(--shk-body-font));
}

/* ============================================================
   ARCHIV / ÜBERSICHT – Hero + Card-Liste
   ============================================================ */

.shk-jobs-archive {
    background: var(--shk-bg-white);
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.shk-jobs-hero {
    background: linear-gradient(180deg, var(--shk-primary-dark) 0%, var(--shk-primary) 100%);
    padding: 80px 0 72px;
}

.shk-jobs-hero__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.shk-jobs-hero__eyebrow {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #93c5fd;
    margin: 0 0 12px 0;
    font-family: var(--shk-body-font);
}

.shk-jobs-hero__title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin: 0 0 20px 0;
    font-family: var(--shk-heading-font);
}

.shk-jobs-hero__subtitle {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.65;
    color: var(--shk-primary-light);
    margin: 0;
    max-width: 640px;
    font-family: var(--shk-body-font);
}

.shk-jobs-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 64px 20px 48px;
}

.shk-jobs-container {
    margin-bottom: 48px;
}

.shk-jobs-cta-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.shk-jobs-list {
    display: grid;
    gap: 20px;
}

.shk-job-card {
    background: var(--shk-bg-white);
    border: 1px solid var(--shk-border);
    border-radius: var(--shk-radius-card);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.shk-job-card:hover {
    box-shadow: 0 4px 24px rgba(60, 100, 198, 0.12);
    transform: translateY(-2px);
}

.shk-job-card__inner {
    padding: 28px 32px;
}

.shk-job-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.shk-job-card__id {
    display: inline-block;
    background: var(--shk-primary-pale);
    color: var(--shk-primary);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--shk-radius-btn);
    letter-spacing: 0.5px;
    font-family: var(--shk-body-font);
}

.shk-job-card__location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--shk-text-muted);
}

.shk-job-card__location svg {
    flex-shrink: 0;
}

.shk-job-card__date {
    font-size: 12px;
    color: var(--shk-text-muted);
    margin-left: auto;
}

.shk-job-card__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px 0;
    color: var(--shk-text);
    font-family: var(--shk-body-font);
}

.shk-job-card__title a {
    color: inherit;
    text-decoration: none;
}

.shk-job-card__title a:hover {
    color: var(--shk-primary);
}

.shk-job-card__excerpt {
    font-size: 15px;
    color: var(--shk-text-soft);
    line-height: 1.65;
    margin: 0 0 20px 0;
}

.shk-job-card__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 16px;
    border-top: 1px solid var(--shk-border);
}

.shk-job-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--shk-primary);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: var(--shk-radius-btn);
    text-decoration: none !important;
    transition: background 0.2s, transform 0.15s;
    font-family: var(--shk-body-font);
}

.shk-job-btn:hover {
    background: var(--shk-primary-dark);
    color: #fff !important;
    transform: translateY(-1px);
}

.shk-no-jobs {
    color: var(--shk-text-muted);
    font-size: 16px;
    text-align: center;
    padding: 48px 0;
}

.shk-jobs-empty {
    text-align: center;
    padding: 56px 0;
}

.shk-jobs-empty__text {
    font-size: 18px;
    color: var(--shk-text-muted);
    margin: 0 0 16px 0;
}

.shk-jobs-empty__hint {
    font-size: 15px;
    color: var(--shk-text-soft);
    margin: 0;
}

.shk-jobs-empty__hint a {
    color: var(--shk-primary);
    font-weight: 600;
    text-decoration: none;
}

.shk-jobs-empty__hint a:hover {
    text-decoration: underline;
}

.shk-jobs-cta {
    background: var(--shk-primary-pale);
    border-radius: var(--shk-radius-card);
    padding: 36px 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

.shk-jobs-cta__text h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--shk-text);
    margin: 0 0 6px 0;
    font-family: var(--shk-heading-font);
}

.shk-jobs-cta__text p {
    color: var(--shk-text-muted);
    font-size: 15px;
    margin: 0;
}

.shk-jobs-cta__btn {
    display: inline-flex;
    align-items: center;
    background: var(--shk-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: var(--shk-radius-btn);
    text-decoration: none;
    white-space: nowrap;
    font-family: var(--shk-body-font);
    transition: background 0.2s, transform 0.15s;
}

.shk-jobs-cta__btn:hover {
    background: var(--shk-primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

/* ============================================================
   DETAILSEITE – Modernisiertes Layout, 1100px, Homepage-Design
   ============================================================ */

.shk-job-detail {
    max-width: 1100px;
    margin: 56px auto 80px;
    padding: 0 40px;
    font-family: var(--shk-body-font);
}

.shk-job-detail__header {
    background: var(--shk-bg-light);
    border-radius: var(--shk-radius-card);
    padding: 44px 48px 36px;
    margin-bottom: 40px;
}

.shk-job-detail__header-content {
    max-width: 1100px;
    margin: 0 auto;
}

.shk-job-detail__eyebrow {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--shk-primary);
    margin: 0 0 12px 0;
    font-family: var(--shk-body-font);
}

.shk-job-detail__title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--shk-text);
    margin: 0 0 22px 0;
    font-family: var(--shk-heading-font);
}

.shk-job-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    font-size: 14px;
    color: var(--shk-text-muted);
    margin-bottom: 28px;
}

.shk-job-detail__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.shk-job-detail__meta i {
    color: var(--shk-primary);
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.shk-job-detail__badge {
    display: inline-flex;
    align-items: center;
    background: var(--shk-primary-pale);
    color: var(--shk-primary);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--shk-radius-btn);
    letter-spacing: 1px;
}

.shk-job-detail__actions-top {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

/* Buttons */
.shk-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--shk-radius-btn);
    cursor: pointer;
    font-family: var(--shk-body-font);
    text-decoration: none;
    border: none;
    transition: all 0.2s ease;
    line-height: 1;
}

.shk-btn i {
    font-size: 14px;
}

.shk-btn--primary {
    background: var(--shk-primary);
    color: #fff !important;
}

.shk-btn--primary:hover {
    background: var(--shk-primary-dark);
    transform: translateY(-1px);
}

.shk-btn--secondary {
    background: var(--shk-bg-white);
    color: var(--shk-primary) !important;
    border: 2px solid var(--shk-primary);
}

.shk-btn--secondary:hover {
    background: var(--shk-primary-pale);
    transform: translateY(-1px);
}

.shk-btn--outline {
    background: var(--shk-bg-white);
    color: var(--shk-text-muted);
    border: 1px solid var(--shk-border);
}

.shk-btn--outline:hover {
    background: var(--shk-bg-white) !important;
    border-color: var(--shk-primary) !important;
    color: var(--shk-primary) !important;
    transform: translateY(-1px);
}

/* Zweispalter */
.shk-job-detail__body {
    margin-bottom: 48px;
}

.shk-job-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--shk-primary-pale);
}

.shk-job-grid:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.shk-job-section {
    display: flex;
    gap: 16px;
}

.shk-job-section__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--shk-primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.shk-job-section__icon i {
    color: white;
    font-size: 18px;
}

.shk-job-section__content {
    flex-grow: 1;
}

.shk-job-section h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--shk-text);
    margin: 0 0 18px 0;
    font-family: var(--shk-heading-font);
}

.shk-job-section__body {
    color: var(--shk-text-soft);
    font-size: 16px;
    line-height: 1.7;
}

.shk-job-section__body p {
    margin: 0 0 12px 0;
    color: var(--shk-text-soft);
}

.shk-job-section__body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shk-job-section__body li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
}

.shk-job-section__body li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--shk-primary);
}

.shk-job-section--full {
    display: flex;
    gap: 16px;
    border-top: 2px solid var(--shk-primary-pale);
    padding-top: 40px;
}

.shk-job-section .entry-content {
    color: var(--shk-text-soft);
    font-size: 16px;
    line-height: 1.7;
}

/* Ansprechpartner */
.shk-job-detail__contact {
    margin-bottom: 48px;
}

.shk-job-detail__contact-content {
    max-width: 1100px;
    margin: 0 auto;
}

.shk-job-detail__contact .shk-job-detail__eyebrow {
    margin-bottom: 16px;
}

.shk-job-detail__contact-card {
    background: var(--shk-bg-light);
    border-left: 4px solid var(--shk-primary);
    border-radius: 0 var(--shk-radius-card) var(--shk-radius-card) 0;
    padding: 32px 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.shk-job-detail__contact-info {
    flex: 1;
    min-width: 300px;
}

.shk-job-detail__contact-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--shk-text);
    margin: 0 0 4px 0;
}

.shk-job-detail__contact-company {
    font-size: 15px;
    color: var(--shk-text-muted);
    margin: 0 0 2px 0;
}

.shk-job-detail__contact-address {
    font-size: 14px;
    color: var(--shk-text-muted);
    margin: 0 0 16px 0;
}

.shk-job-detail__contact-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.shk-job-detail__contact-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--shk-primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    width: fit-content;
}

.shk-job-detail__contact-links a:hover {
    text-decoration: underline;
}

.shk-job-detail__contact-links i {
    width: 18px;
    text-align: center;
}

.shk-job-detail__contact-ref {
    font-size: 13px;
    color: var(--shk-text-muted);
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid var(--shk-border);
    flex-basis: 100%;
}

.shk-job-detail__contact-ref strong {
    color: var(--shk-text);
}

/* Bewerbungsformular */
.shk-job-detail__form {
    margin-bottom: 48px;
}

.shk-job-detail__form-content {
    max-width: 1100px;
    margin: 0 auto;
}

.shk-job-detail__form > .shk-job-detail__eyebrow {
    margin-bottom: 16px;
}

.shk-job-detail__form-calendly {
    margin-bottom: 8px;
}

.shk-job-detail__form-divider {
    color: var(--shk-text-muted);
    font-size: 14px;
    text-align: center;
    margin-bottom: 28px;
}

.shk-job-detail__form .wpcf7 {
    background: var(--shk-bg-white);
    border: 1px solid var(--shk-border);
    border-radius: var(--shk-radius-card);
    padding: 36px;
}

.shk-job-detail__form .wpcf7 input:not([type="submit"]),
.shk-job-detail__form .wpcf7 textarea,
.shk-job-detail__form .wpcf7 select {
    width: 100%;
    border: 1px solid var(--shk-border);
    border-radius: var(--shk-radius-btn);
    padding: 11px 14px;
    font-size: 15px;
    color: var(--shk-text);
    background: var(--shk-bg-white);
    margin-bottom: 16px;
    font-family: var(--shk-body-font);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.shk-job-detail__form .wpcf7 input:focus,
.shk-job-detail__form .wpcf7 textarea:focus {
    border-color: var(--shk-primary);
    box-shadow: 0 0 0 3px rgba(60, 100, 198, 0.1);
    outline: none;
}

.shk-job-detail__form .wpcf7 input[type="submit"] {
    background: var(--shk-primary);
    color: #fff;
    font-weight: 700;
    border: none;
    cursor: pointer;
    width: auto;
    padding: 14px 36px;
    border-radius: var(--shk-radius-btn);
    font-size: 15px;
    font-family: var(--shk-body-font);
    transition: background 0.2s, transform 0.15s;
}

.shk-job-detail__form .wpcf7 input[type="submit"]:hover {
    background: var(--shk-primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

/* Zurück-Link */
.shk-job-detail__back {
    padding-top: 24px;
    border-top: 1px solid var(--shk-border);
}

.shk-job-detail__back a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--shk-primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    font-family: var(--shk-body-font);
    transition: gap 0.2s;
}

.shk-job-detail__back a:hover {
    gap: 10px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    .shk-jobs-hero {
        padding: 56px 0 48px;
    }

    .shk-jobs-hero__inner {
        padding: 0 20px;
    }

    .shk-jobs-content {
        padding: 40px 20px 32px;
    }
	
	.shk-jobs-cta-container {
        padding: 0 20px;
    }

    .shk-job-card__inner {
        padding: 20px;
    }

    .shk-job-card__date {
        margin-left: 0;
    }

    .shk-jobs-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
    }

    .shk-job-detail {
        margin: 32px auto 56px;
        padding: 0 20px;
    }

    .shk-job-detail__header {
        padding: 32px 24px 28px;
    }

    .shk-job-detail__actions-top {
        flex-direction: column;
    }

    .shk-job-detail__actions-top .shk-btn {
        justify-content: center;
    }

    .shk-job-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-bottom: 32px;
        margin-bottom: 32px;
    }
	
	.shk-job-section {
        flex-direction: column;
        gap: 12px;
    }
	
	.shk-job-section--full {
        flex-direction: column;
        gap: 12px;
        padding-top: 32px;
    }

    .shk-job-detail__contact-card {
        padding: 24px 20px;
        flex-direction: column;
        gap: 16px;
    }
	
	.shk-job-detail__contact-info {
        min-width: 100%;
    }

    .shk-job-detail__form .wpcf7 {
        padding: 24px 20px;
    }
}

/* ============================================================
   PRINT / PDF-Export
   ============================================================ */

@media print {

    @page {
        size: A4 portrait;
        margin: 16mm 18mm 20mm 18mm;
    }

    .site-header,
    .ast-site-header-wrap,
    footer,
    .site-footer,
    .ast-site-footer,
    nav,
    .main-navigation,
    .ast-main-navigation,
    .shk-job-detail__actions-top,
    .shk-job-detail__form,
    .shk-job-detail__back,
    .wp-block-navigation,
    #wpadminbar,
    .pll-parent-menu-item,
    .back-to-top,
    .cookie-notice,
    aside,
    .widget-area {
        display: none !important;
    }

    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
        box-sizing: border-box;
    }

    body {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 9.5pt;
        line-height: 1.5;
        color: #1a1a1a;
        background: #fff;
        margin: 0;
        padding: 0;
    }

    .shk-job-detail {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    .shk-job-detail__header {
        background: var(--shk-bg-light) !important;
        padding: 12pt 16pt !important;
        border-radius: 0 !important;
        margin-bottom: 14pt;
    }

    .shk-job-detail__eyebrow {
        font-size: 7pt;
        letter-spacing: 1.5pt;
        margin-bottom: 6pt;
    }

    .shk-job-detail__title {
        font-size: 16pt !important;
        margin-bottom: 8pt;
    }

    .shk-job-detail__meta {
        font-size: 8pt;
        gap: 12pt;
    }

    .shk-job-detail__badge {
        font-size: 7pt;
        padding: 2px 8px;
    }

    .shk-job-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20pt;
        padding-bottom: 12pt;
        margin-bottom: 12pt;
        border-bottom: 1pt solid #e5e7eb;
        page-break-inside: avoid;
    }

    .shk-job-grid:last-child {
        border-bottom: none;
    }

    .shk-job-section {
        display: block;
        gap: 0;
    }
	
	.shk-job-section__icon {
        display: none;
    }

    .shk-job-section h2 {
        font-size: 10pt;
        margin-bottom: 6pt;
    }

    .shk-job-section h2 i {
        font-size: 10pt;
        color: var(--shk-primary) !important;
    }

    .shk-job-section__body {
        font-size: 9pt;
        line-height: 1.45;
    }

    .shk-job-section__body li {
        font-size: 9pt;
        margin-bottom: 3pt;
        padding-left: 14pt;
    }

    .shk-job-section__body li::before {
        width: 4px;
        height: 4px;
        top: 6pt;
        background: var(--shk-primary) !important;
    }

    .shk-job-section__body p {
        font-size: 9pt;
        line-height: 1.5;
        margin-bottom: 6pt;
    }

    .shk-job-section--full {
        display: block;
        gap: 0;
        border-top: 1pt solid #e5e7eb;
        padding-top: 10pt;
    }

    .shk-job-detail__contact-card {
        background: var(--shk-bg-light) !important;
        border-left: 3pt solid var(--shk-primary) !important;
        border-radius: 0 !important;
        padding: 10pt 14pt !important;
        page-break-inside: avoid;
    }

    .shk-print-footer {
        display: block !important;
        font-size: 7pt;
        color: #9ca3af;
        text-align: center;
        margin-top: 14pt;
        padding-top: 6pt;
        border-top: 0.5pt solid #e5e7eb;
    }
}
