/* ============================================
   JOB DETAIL PAGES STYLES
   ============================================ */

/* ============================================
   STELLENANZEIGEN: JOB LISTINGS SECTION (#alu-jobs)
   Override home.css conflicts for alu-plan-* classes
   ============================================ */

/* Fix: home.css hides section.alu-plan-section on mobile — keep job listings visible */
#alu-jobs.alu-plan-section {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
    background: #f8f9fa;
}

/* Fix: 2-column grid for 2 job cards (home.css uses 3-col) */
#alu-jobs .alu-plan-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

/* Fix: hide the 3-step connector line (not relevant for 2 job cards) */
#alu-jobs .alu-plan-grid::before {
    display: none;
}

/* Fix: transform not reset by --visible; also fix dark-theme colors for light background */
#alu-jobs .alu-plan-step {
    opacity: 1 !important;
    transform: translateY(0) !important;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

#alu-jobs .alu-plan-step:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14);
    transform: translateY(-4px) !important;
    background: #ffffff;
}

/* Fix: white text → dark text for light background */
#alu-jobs .alu-plan-title {
    color: #1a2030;
}

#alu-jobs .alu-plan-description {
    color: #555f73;
}

/* Fix: mobile — single column */
@media (max-width: 767px) {
    #alu-jobs .alu-plan-grid {
        grid-template-columns: 1fr;
    }
}
/* CSS VARIABLES */
:root {
    --alu-color-primary: #d25501;
    --alu-color-secondary: #005288;
    --alu-color-danger: #a40704;
    --alu-color-bg-light: #ffffff;
    --alu-color-bg-dark: #141824;
    --alu-color-bg-gray: #fbfbfc;
    --alu-color-text-light: #e7e9ee;
    --alu-color-text-muted: #96a0b5;
    --alu-color-text-dark: #666666;
    --alu-max-width: 1200px;
    --alu-border-radius: 18px;
    --alu-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);

}
/* ============================================
   HERO SECTION
   ============================================ */

/* Stellenanzeigen listing page hero */
.stellenanzeigen-hero {
    padding: 100px 0 80px;
    background-image: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(52, 73, 94, 0.95) 100%), url('/images/jobs-advert/hero.png');
    background-size: cover;
    background-position: center 35%;
    border-bottom: 4px solid #EE780E;
    position: relative;
    overflow: hidden;
}

.stellenanzeigen-hero__title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.stellenanzeigen-hero__subtitle {
    font-size: 1.4rem;
    color: #ecf0f1;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.stellenanzeigen-hero__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .stellenanzeigen-hero {
        padding: 60px 0 50px;
    }

    .stellenanzeigen-hero__title {
        font-size: 2rem;
    }

    .stellenanzeigen-hero__subtitle {
        font-size: 1.1rem;
    }
}

.job-hero--blue,
.job-hero--orange {
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)),
    url('/images/home-bg-new.webp');
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
    background-attachment: scroll;
    min-height: 50vh;
}

.job-hero__content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

.job-hero__layout {
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.job-hero__video {
    width: 100%;
    height: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

@media (max-width: 900px) {
    .job-hero__layout {
        grid-template-columns: 1fr;
    }

    .job-hero__video {
        order: 1;
    }

    .job-hero__content {
        order: 2;
    }
}

.job-hero__kicker {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */

.job-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
    background: transparent;
    border: none;
    box-shadow: none;
}

.job-section--gray {
    background: linear-gradient(
            135deg,
            rgba(238, 120, 14, 0.02) 0%,
            rgba(255, 255, 255, 1) 50%,
            rgba(30, 144, 255, 0.02) 100%
    );
}

.job-section-wrapper {
    background: #fbfbfc;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.job-text--primary {
    color: #616368;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ============================================
   HEADINGS
   ============================================ */

.job-heading--spaced {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(238, 120, 14, 0.2);
    color: #2c3e50;
}

.job-heading--spaced:first-of-type {
    margin-top: 0;
}

/* ============================================
   LISTS - CARD STYLE
   ============================================ */

.job-list {
    color: #616368;
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: grid;
    gap: 0.75rem;
}

.job-list li {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #ee780e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 2.5rem;
}

.job-list li::before {
    content: '✓';
    position: absolute;
    left: 1rem;
    top: 1.15rem;
    color: #ee780e;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

.job-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(238, 120, 14, 0.15);
    border-left-color: #1e90ff;
}

.job-list li:hover::before {
    color: #1e90ff;
}

.job-list--spaced {
    margin-top: 1.5rem;
}

/* Lista ze gwiazdkami (Nice-to-have) */
.job-list--stars li::before {
    content: '★';
    font-size: 1.3rem;
}

/* Lista z kropkami (Responsibilities) */
.job-list--dots li {
    border-left-color: #1e90ff;
}

.job-list--dots li::before {
    content: '•';
    font-size: 1.5rem;
    color: #1e90ff;
    line-height: 1;
    top: 1rem;
}

.job-list--dots li:hover {
    border-left-color: #ee780e;
}

.job-list--dots li:hover::before {
    color: #ee780e;
}

/* ============================================
   GRID LAYOUTS
   ============================================ */

.job-requirements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.job-requirements-col h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.job-responsibilities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.job-benefits-grid {
    margin-top: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    gap: 1.5rem;
    grid-template-columns: repeat(4, 1fr);
}

/* ============================================
   APPLY SECTION
   ============================================ */

.job-apply__text {
    margin-top: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.job-apply__contact-name {
    font-size: 1.2rem;
    color: #fff;
}

.job-apply__email--blue {
    color: #1e90ff;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: underline;
}

.job-apply__email--orange {
    color: #ee780e;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: underline;
}

.job-apply__buttons {
    margin-top: 2rem;
}

.job-apply__cta-text {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.15rem;
    line-height: 1.8;
    font-weight: 500;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */

.alu-benefits-section {
    background-color: #fbfbfc;
}

.alu-benefit-grid {
    display: grid;
    gap: 24px;
    margin-top: 28px;
}

/* Card base */
.alu-benefit-card--bg {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 28px 24px 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Orange accent stripe at top */
.alu-benefit-card--bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #EE780E, #d25501);
    border-radius: 16px 16px 0 0;
    opacity: 1;
}

.alu-benefit-card--bg:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(238, 120, 14, 0.2);
}

/* Icon: visible orange outline circle */
.alu-benefit-card__watermark {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    width: 64px;
    height: 64px;
    padding: 12px;
    margin-bottom: 18px;
    opacity: 1;
    pointer-events: none;
    object-fit: contain;
    background: #ffffff;
    border: 2px solid #EE780E;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(238, 120, 14, 0.10);
    filter: none;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.alu-benefit-card--bg:hover .alu-benefit-card__watermark {
    box-shadow: 0 0 0 7px rgba(238, 120, 14, 0.18);
    transform: scale(1.06);
}

/* Text colors */
.alu-benefits-section .alu-benefit-title {
    color: #1a2030;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
}

.alu-benefits-section .alu-benefit-text {
    color: #555f73;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   VIDEO EMBED
   ============================================ */

.job-video-wrapper {
    margin-top: 1.5rem;
    max-width: 720px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.job-video-wrapper--centered {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   SALARY TABLE
   ============================================ */

.job-salary-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 1.5rem 0;
}

.job-salary-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.job-salary-table thead tr {
    background: linear-gradient(135deg, #d25501, #ee780e);
    color: white;
}

.job-salary-table thead th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.job-salary-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.job-salary-table tbody tr:nth-child(even) {
    background: #fbfbfc;
}

.job-salary-table tbody tr:hover {
    background: rgba(238, 120, 14, 0.05);
}

.job-salary-table tbody tr:last-child {
    border-bottom: none;
    font-style: italic;
    color: #96a0b5;
}

.job-salary-table tbody td {
    padding: 0.9rem 1.5rem;
    color: #444;
}

.job-salary-table tbody td:last-child {
    color: #d25501;
    font-size: 1.05rem;
}

.job-salary-table tbody td strong {
    font-weight: 700;
}

.job-salary-notes {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: rgba(238, 120, 14, 0.04);
    border-left: 4px solid #ee780e;
    border-radius: 0 8px 8px 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.job-salary-notes p {
    margin: 0;
    color: #616368;
    font-size: 1rem;
    line-height: 1.7;
}

.job-benefits-grid .alu-benefit-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    padding: 22px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: visible;
}

.job-benefits-grid .alu-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.job-benefits-grid .alu-benefit-card::before {
    display: none;
}

.job-benefits-grid .alu-benefit-icon {
    position: static;
    transform: none;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 14px;
    background: #fff;
    border: 2px solid #EE780E;
    box-shadow: 0 0 0 5px rgba(238, 120, 14, 0.10);
    overflow: hidden;
    pointer-events: auto;
    opacity: 1;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.job-benefits-grid .alu-benefit-card:hover .alu-benefit-icon {
    box-shadow: 0 0 0 7px rgba(238, 120, 14, 0.18);
    transform: scale(1.06);
}

.job-benefits-grid .alu-benefit-icon svg {
    display: block;
    width: 28px;
    height: 28px;
}

.job-benefits-grid .alu-benefit-icon img {
    width: 55%;
    height: 55%;
    object-fit: contain;
    filter: none;
    opacity: 1;
}

.job-benefits-grid .alu-benefit-title {
    margin: 4px 0 6px;
    color: #141824;
    font-size: 20px;
    font-weight: 700;
}

.job-benefits-grid .alu-benefit-text {
    margin: 0;
    color: #666666;
    line-height: 1.65;
}

/* ============================================
   JOB LISTINGS SECTION
   ============================================ */

.alu-job-listing {
    margin-bottom: 2rem;
}

.alu-job-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(210, 85, 1, 0.2);
}

.alu-job-header .alu-heading-2 {
    margin-bottom: 1rem;
    color: #d25501;
}

.alu-job-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.alu-job-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(
            135deg,
            rgba(210, 85, 1, 0.1),
            rgba(238, 120, 14, 0.1)
    );
    color: #d25501;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(210, 85, 1, 0.3);
    transition: all 0.3s ease;
}

.alu-job-tag:hover {
    background: linear-gradient(
            135deg,
            rgba(210, 85, 1, 0.15),
            rgba(238, 120, 14, 0.15)
    );
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(210, 85, 1, 0.2);
}

.alu-job-content {
    padding-top: 1rem;
}

.alu-job-section {
    margin-bottom: 2rem;
}

.alu-job-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.alu-job-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

@media (max-width: 1024px) {
    .job-responsibilities-grid {
        grid-template-columns: 1fr;
    }

    .job-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .job-requirements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .job-hero__content,
    .job-content {
        padding: 1.5rem;
    }

    .job-list li {
        padding: 0.875rem 1.25rem;
        padding-left: 2.25rem;
    }

    .job-benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   STELLENANZEIGEN: BEWERBUNGSPROZESS SECTION
   Fix: 3 columns side by side (home.css uses 2-col)
   ============================================ */

.alu-consequences-section .alu-consequences-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .alu-consequences-section .alu-consequences-grid {
        grid-template-columns: 1fr;
    }
}
