/**
 * L7 Jobs – Vollständiges CSS (Struktur + Design)
 * Direkt im Plugin — greift zuverlässig ohne Salient-Konflikte.
 */

/* ================================
   CONTAINER / WRAPPER
   ================================ */
.l7-job-single {
    padding: 4% 2vw 80px !important;
    max-width: 100% !important;
    box-sizing: border-box;
}
.l7-job-container {
    max-width: 1600px;
    margin: 0 auto;
}

/* ================================
   H1 TITEL
   ================================ */
.l7-job-single .l7-job-titel {
    text-transform: uppercase !important;
    font-weight: 400 !important;
    font-size: 6vw !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 40px !important;
}

/* ================================
   META GRID — 6 Spalten Desktop
   ================================ */
.l7-job-meta-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 10px 20px !important;
    padding: 28px 0 !important;
    margin-bottom: 48px !important;
}
.l7-job-meta-item {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}
.l7-job-meta-label {
    font-style: italic !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    opacity: 0.7 !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
}
.l7-job-meta-value {
    font-size: 22px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
}

/* ================================
   BESCHREIBUNG
   ================================ */
.l7-job-beschreibung {
    max-width: 1600px !important;
    margin-bottom: 60px !important;
}
.l7-job-beschreibung-label {
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    opacity: 0.5 !important;
    margin: 0 0 16px !important;
    display: block !important;
}
.l7-job-beschreibung-text p {
    font-size: 6vw !important;
    line-height: 1.25 !important;
    color: rgba(0,0,0,0.18) !important;
    font-weight: 400 !important;
    margin-bottom: 0.5em !important;
    opacity: 0;
    transform: translateY(12px);
    animation: l7-desc-in 0.9s cubic-bezier(0.22,1,0.36,1) forwards;
}
.l7-job-beschreibung-text p:nth-child(1) { animation-delay: 0.1s; }
.l7-job-beschreibung-text p:nth-child(2) { animation-delay: 0.2s; }
.l7-job-beschreibung-text p:nth-child(3) { animation-delay: 0.3s; }
.l7-job-beschreibung-text p:nth-child(n+4) { animation-delay: 0.4s; }

@keyframes l7-desc-in {
    to { opacity: 1; transform: translateY(0); }
}

/* Bold / Listen innerhalb Beschreibung: normal groß + dunkel */
.l7-job-beschreibung-text strong,
.l7-job-beschreibung-text b {
    display: block !important;
    font-size: 0.28em !important;
    color: rgba(0,0,0,0.85) !important;
    font-weight: 700 !important;
    margin-top: 1.5em !important;
    margin-bottom: 0.3em !important;
}
.l7-job-beschreibung-text ul,
.l7-job-beschreibung-text ol {
    font-size: 0.28em !important;
    color: rgba(0,0,0,0.75) !important;
    line-height: 1.7 !important;
    padding-left: 1.4em !important;
    margin-bottom: 1.5em !important;
}

/* ================================
   ANZAHL-HEADER
   ================================ */
.l7-jobs-header { margin-bottom: 20px; padding-left: 2vw; }
.l7-jobs-count strong { font-weight: 700; }

/* ================================
   TABLE LAYOUT
   ================================ */
.l7-jobs-table { display: block; width: 100%; }
.l7-jobs-table-head {
    display: flex;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    padding-bottom: 10px;
}
.l7-jobs-table-head .l7-jt-col {
    font-size: 0.78em;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    opacity: 0.4;
}
.l7-jobs-table-row {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    transition: opacity 0.2s ease;
}
.l7-jobs-table-row:hover { opacity: 0.55; text-decoration: none; color: inherit; }
.l7-jt-col--ort  { flex: 0 0 180px; font-size: 0.9em; opacity: 0.65; padding-right: 20px; }
.l7-jt-col--titel { flex: 1; font-size: 1em; font-weight: normal; }
.l7-jt-col--gehalt { flex: 0 0 auto; font-size: 0.82em; opacity: 0.5; padding-left: 20px; text-align: right; }

/* ================================
   LIST LAYOUT
   ================================ */
.l7-jobs-liste { display: flex; flex-direction: column; }
.l7-job-item--list { display: flex; justify-content: space-between; align-items: center; }
.l7-job-content { flex: 1; }
.l7-job-action { flex-shrink: 0; }
.l7-job-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.l7-badge { display: inline-flex; align-items: center; gap: 4px; }
.l7-job-button { display: inline-block; text-decoration: none; cursor: pointer; }

/* ================================
   CARDS LAYOUT
   ================================ */
.l7-jobs-cards { display: grid; }
.l7-jobs-cards--cols-2 { grid-template-columns: repeat(2,1fr); }
.l7-jobs-cards--cols-3 { grid-template-columns: repeat(3,1fr); }
.l7-jobs-cards--cols-4 { grid-template-columns: repeat(4,1fr); }
.l7-job-card { display: flex; flex-direction: column; }
.l7-job-card-thumb img { width: 100%; display: block; object-fit: cover; }
.l7-job-card-body { flex: 1; }

/* ================================
   NAV BADGE via CSS ::after
   ================================ */
a[data-l7-badge]::after {
    content: attr(data-l7-badge);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color, #333);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    margin-left: 6px;
    border-radius: 50px;
    vertical-align: middle;
    position: relative;
    top: -1px;
    animation: l7-badge-pop 0.3s cubic-bezier(0.175,0.885,0.32,1.275) both;
}
@keyframes l7-badge-pop {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* ================================
   RESPONSIVE
   ================================ */
@media only screen and (max-width: 767px) {
    .l7-job-single .l7-job-titel { font-size: 8vw !important; }

    .l7-job-meta-grid {
        grid-template-columns: repeat(2,1fr) !important;
        gap: 20px 16px !important;
    }
    .l7-job-meta-label { font-size: 10px !important; }
    .l7-job-meta-value { font-size: 16px !important; }

    .l7-job-beschreibung-text p { font-size: 1.2em !important; }
    .l7-job-beschreibung-text strong,
    .l7-job-beschreibung-text b  { font-size: 0.75em !important; }
    .l7-job-beschreibung-text ul,
    .l7-job-beschreibung-text ol { font-size: 0.75em !important; }

    .l7-job-item--list { flex-direction: column; align-items: flex-start; }
    .l7-jobs-cards--cols-2,
    .l7-jobs-cards--cols-3,
    .l7-jobs-cards--cols-4 { grid-template-columns: 1fr; }

    .l7-jt-col--ort   { flex: 0 0 110px; }
    .l7-jt-col--gehalt { display: none; }
}
@media only screen and (max-width: 1024px) {
    .l7-jobs-cards--cols-4,
    .l7-jobs-cards--cols-3 { grid-template-columns: repeat(2,1fr); }
}
