/* Jobs Page Specific Styles */

/* Grid and Layout Fixes */
body {
    overflow-x: hidden;
}

.container {
    box-sizing: border-box;
}

.positions-grid {
    width: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.position-card {
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    background: var(--editorial-cream);
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.position-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.position-card h4 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.position-card p {
    color: var(--editorial-gray);
    margin-bottom: 1.5rem;
}

.position-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    color: var(--editorial-gray);
}

.position-card ul li {
    padding: 0.5rem 0;
}

/* DancersPro CTA Section */
.dancerspro-cta {
    background: linear-gradient(135deg, #8B7355 0%, #A08870 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin: 4rem 0;
    border-radius: 8px;
}

.dancerspro-cta h3 {
    color: white;
    margin-bottom: 1rem;
    font-family: 'Libre Baskerville', serif;
    font-size: 2rem;
}

.dancerspro-cta p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.dancerspro-btn {
    background: white;
    color: #8B7355;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
}

.dancerspro-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Hero Section Overrides */
.editorial-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--editorial-cream);
    padding: 0;
}

.editorial-hero .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.editorial-hero-split {
    display: grid;
    grid-template-columns: 40% 60%;
    align-items: center;
    gap: 4rem;
}

.editorial-hero-content .editorial-label {
    color: var(--editorial-gray);
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.editorial-hero-content h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.editorial-hero-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--editorial-gray);
    margin-bottom: 3rem;
}

.editorial-hero-image {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.editorial-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Position Categories */
.editorial-positions {
    background: var(--editorial-white);
    padding: 6rem 0;
    overflow-x: hidden;
}

.editorial-positions .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.editorial-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.editorial-section-header h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.5rem;
    margin-top: 1rem;
}

.editorial-section-header p {
    color: var(--editorial-gray);
    margin-top: 1rem;
}

.position-category {
    margin-bottom: 4rem;
}

.position-category h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--editorial-gray);
    margin-bottom: 2rem;
}

/* Application Process Additions */
.editorial-about-content ol {
    padding-left: 1.5rem;
    color: var(--editorial-gray);
    line-height: 2;
}

.editorial-about-content ol li {
    margin-bottom: 1rem;
}

.dancerspro-info-box {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--editorial-cream);
    border-radius: 8px;
}

.dancerspro-info-box h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.dancerspro-info-box p {
    margin-bottom: 1.5rem;
}

.dancerspro-info-box a {
    color: var(--york-bronze);
    text-decoration: underline;
}

/* Final CTA Section */
.editorial-cta {
    background: var(--editorial-charcoal);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.editorial-cta .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.editorial-cta h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.editorial-cta p {
    font-size: 1.125rem;
    margin-bottom: 3rem;
    color: rgba(255,255,255,0.8);
}

.editorial-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.editorial-cta .editorial-btn {
    background: white;
    color: var(--editorial-charcoal);
}

.editorial-cta .editorial-btn.btn-outline {
    background: transparent;
    border: 1px solid white;
    color: white;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .positions-grid {
        grid-template-columns: 1fr !important;
    }
    
    .editorial-stats {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .editorial-hero-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .editorial-hero-image {
        height: 400px;
    }
    
    .editorial-hero-content {
        text-align: center;
    }
    
    .editorial-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 992px) {
    .editorial-hero-split {
        grid-template-columns: 1fr;
    }
}