/* Copyright (c) 2026 Florentius Bohn. All Rights Reserved. The content of this website is protected by copyright and may not be reproduced without permission. */

:root {
    --primary-color: #ffffff;
    --accent-color: #008b8b;
    --accent-glow: rgba(0, 139, 139, 0.45);
    --hover-bg: #006666;
    --bg-card: rgba(18, 22, 28, 0.9);
    --bg-card-border: rgba(255, 255, 255, 0.12);
    --text-color: #ffffff;
    --text-muted: #cfd8dc;
    --text-dim: #90a4ae;
    --transition-fast: 0.3s;
    --font-primary: 'century_schoolbookbold', Georgia, serif;
    --border-radius: 16px;
    --max-width: 1100px;
}

@font-face {
    font-family: 'century_schoolbookbold';
    src: url('schlbkb-webfont.woff2') format('woff2'),
         url('schlbkb-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100%;
    font-family: var(--font-primary);
    background-image: url('bgSpeis.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-fast) ease;
}

a:hover {
    color: #4dd0e1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header Styles */
.page-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px 24px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 65%, transparent 100%);
}

.logo-link {
    position: absolute;
    left: 40px;
    top: 36px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    z-index: 10;
}

.logo {
    max-width: 170px;
    height: auto;
    display: block;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.6));
    transition: transform var(--transition-fast) ease-in-out, filter var(--transition-fast) ease-in-out;
}

.logo-link:hover .logo,
.logo-link:focus-visible .logo {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 14px var(--accent-glow));
}

.header-text-container {
    text-align: center;
    max-width: 800px;
}

.page-kicker {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #4dd0e1;
    margin-bottom: 6px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.page-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--primary-color);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.85);
    letter-spacing: 0.03em;
    margin: 0;
    line-height: 1.15;
    position: relative;
    padding-bottom: 12px;
}

.page-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 10px auto 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent-color);
}

/* Main Content */
.main-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px 130px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Glassmorphic Cards */
.job-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--bg-card-border);
    padding: 36px;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.job-intro-card {
    text-align: center;
}

.job-intro-card h2 {
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.25;
}

.job-intro-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 860px;
    margin: 0 auto;
}

.job-badges-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.job-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(0, 139, 139, 0.2);
    border: 1px solid rgba(0, 139, 139, 0.5);
    color: #4dd0e1;
    font-size: 0.84rem;
    font-weight: bold;
    border-radius: 24px;
    letter-spacing: 0.03em;
}

/* Two Column Job Openings Grid */
.job-positions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.position-card {
    background: rgba(14, 18, 24, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-fast) ease, border-color var(--transition-fast) ease;
}

.position-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 139, 139, 0.55);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.position-card h3 {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(0, 139, 139, 0.4);
    letter-spacing: 0.01em;
}

.position-card ul {
    list-style: none;
    margin-bottom: 20px;
}

.position-card ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.position-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4dd0e1;
    font-weight: bold;
}

.position-card ul li strong {
    color: #ffffff;
}

/* Benefits & Requirements Sections */
.info-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.info-block h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 16px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.info-block ul {
    list-style: none;
}

.info-block ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.info-block ul li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: #4dd0e1;
    font-size: 1.3rem;
    line-height: 1;
}

.info-block ul li strong {
    color: #ffffff;
}

/* Apply CTA Card */
.apply-card {
    text-align: center;
    background: linear-gradient(180deg, rgba(18, 22, 28, 0.95) 0%, rgba(14, 24, 30, 0.95) 100%);
    border: 1px solid rgba(0, 139, 139, 0.45);
}

.apply-card h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: #ffffff;
    margin-bottom: 12px;
}

.apply-card p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 20px;
    line-height: 1.7;
}

.apply-notice-box {
    display: inline-block;
    background: rgba(0, 139, 139, 0.16);
    border: 1px solid rgba(77, 208, 225, 0.4);
    border-radius: 12px;
    padding: 14px 22px;
    margin-bottom: 24px;
    max-width: 680px;
}

.apply-notice {
    font-size: 0.95rem !important;
    color: #4dd0e1 !important;
    font-weight: 500;
    margin: 0 !important;
    line-height: 1.5;
}

.apply-contact-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: bold;
    letter-spacing: 0.02em;
    transition: all var(--transition-fast) ease;
}

.apply-btn-primary {
    background: linear-gradient(135deg, #008b8b 0%, #006666 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(0, 139, 139, 0.45);
}

.apply-btn-primary:hover {
    background: linear-gradient(135deg, #00a0a0 0%, #007777 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 139, 139, 0.65);
    color: #ffffff;
}

.apply-reachability-note {
    font-size: 0.92rem;
    color: #90a4ae;
    margin: 6px auto 14px;
    letter-spacing: 0.01em;
}

.apply-walkin-note {
    font-size: 0.95rem;
    color: #4dd0e1;
    font-style: italic;
    margin-top: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        padding: 24px 16px 18px;
    }

    .logo-link {
        position: static;
        margin: 0 auto 14px auto;
    }

    .logo {
        max-width: 160px;
        margin: 0 auto;
    }

    .page-kicker {
        font-size: 0.75rem;
        letter-spacing: 0.18em;
    }

    .page-title {
        font-size: clamp(1.7rem, 7vw, 2.2rem);
    }

    .main-content {
        padding: 0 14px 120px 14px;
        gap: 20px;
    }

    .job-card {
        padding: 24px 18px;
    }

    .job-positions-grid,
    .info-section-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .apply-contact-row {
        flex-direction: column;
        align-items: stretch;
    }

    .apply-btn {
        justify-content: center;
    }
}

/* Accessible Focus-Visible Ring */
*:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
    border-radius: 4px;
}
