/* Position Detail Page - Clean White Design */

/* Main Container */
.position-detail-main {
    min-height: 100vh;
    background: var(--color-text);
    padding-top: 0;
    margin-top: 0px;
}

/* Breadcrumb */
.breadcrumb-section {
    background: var(--color-text);
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.85rem;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #333;
}

.breadcrumb .separator {
    color: #ccc;
    margin: 0 -4px;
}

.breadcrumb .current {
    color: #333;
    font-weight: 600;
}

/* Position Header */
.position-header {
    background: var(--color-text);
    border-bottom: 1px solid #e0e0e0;
    padding: var(--space-6) 0;
}

.position-header-content {
    text-align: left;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.position-meta {
    display: none;
}

.position-header .position-number {
    display: none;
}

.position-header .position-status {
    display: none;
}

.status-open {
    display: none;
}

.status-closed {
    display: none;
}

.position-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: var(--space-3);
    letter-spacing: -0.01em;
    text-transform: none;
}

.position-tagline {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: var(--space-5);
    font-weight: 400;
}

.position-actions {
    display: flex;
    gap: var(--space-3);
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Position Content */
.position-content {
    padding: var(--space-8) 0;
    background: var(--color-text);
}

/* Single Column Layout */
.content-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.sidebar-content {
    display: none;
}

/* Content Sections */
.content-section,
.content-block {
    background: transparent;
    border: none;
    padding: 0;
    transition: none;
}

.content-section:hover,
.content-block:hover {
    border-color: transparent;
    box-shadow: none;
}

.content-section h2,
.content-block h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: var(--space-3);
    letter-spacing: -0.01em;
    display: block;
}

.content-section h2::before,
.content-block h2::before {
    display: none;
}

.content-section p,
.content-block p,
.content-text {
    font-size: 1.05rem;
    color: #4a4a4a;
    line-height: 1.8;
    margin-bottom: var(--space-3);
}

.content-section p:last-child,
.content-block p:last-child {
    margin-bottom: 0;
}

/* Info Cards */
.info-card {
    display: none;
}

.info-card h3 {
    display: none;
}

.info-card-item {
    display: none;
}

.info-card-item:last-child {
    display: none;
}

.info-card-item:first-child {
    display: none;
}

.info-label {
    display: none;
}

.info-value {
    display: none;
}

.info-value.highlight {
    display: none;
}

/* Detail Lists - Minimal Style */
.detail-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.detail-list li {
    font-size: 1.05rem;
    color: #4a4a4a;
    line-height: 1.8;
    padding-left: var(--space-4);
    background: transparent;
    border: none;
    position: relative;
}

.detail-list li:hover {
    background: transparent;
    border-left-color: transparent;
    transform: none;
}

.detail-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1.2rem;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

.detail-list li strong {
    color: #1a1a1a;
    font-weight: 700;
}

/* Call to Action Section */
.cta-section {
    text-align: center;
    background: transparent;
    border: none;
    padding: var(--space-8) 0;
    margin-top: var(--space-8);
    border-top: 1px solid #e0e0e0;
}

.cta-section h2 {
    color: #1a1a1a;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.cta-section h2::before {
    display: none;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto var(--space-5);
    color: #4a4a4a;
}

.cta-actions {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.apply-btn {
    background: #1a1a1a;
    color: var(--color-text);
    border: 2px solid #1a1a1a;
    padding: var(--space-3) var(--space-5);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-block;
    border-radius: 4px;
}

.apply-btn:hover {
    background: #333;
    border-color: #333;
}

/* Disabled State for Closed Positions */
.apply-btn.disabled {
    background: #1a1a1a;
    border: 2px solid #1a1a1a;
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
    filter: saturate(0.4);
}

.apply-btn.disabled:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    transform: none;
}

.back-btn,
.secondary-btn {
    background: var(--color-text);
    border: 2px solid #e0e0e0;
    color: #4a4a4a;
    padding: var(--space-3) var(--space-5);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-block;
    border-radius: 4px;
}

.back-btn:hover,
.secondary-btn:hover {
    background: #f8f9fa;
    border-color: #ccc;
    color: #1a1a1a;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-layout {
        max-width: 800px;
    }

    .sidebar-content {
        display: none;
    }
}

@media (max-width: 768px) {
    .position-detail-main {
        padding-top: 60px;
    }

    .position-header {
        padding: var(--space-6) 0;
    }

    .position-header h1 {
        font-size: 2.5rem;
    }

    .position-header .position-number {
        font-size: 2rem;
    }

    .position-tagline {
        font-size: 1.1rem;
    }

    .position-actions {
        flex-direction: column;
        width: 100%;
    }

    .apply-btn,
    .back-btn,
    .secondary-btn {
        width: 100%;
        text-align: center;
    }

    .position-content {
        padding: var(--space-6) 0;
    }

    .content-section {
        padding: var(--space-5);
    }

    .content-section h2 {
        font-size: 1.75rem;
    }

    .content-section p,
    .detail-list li {
        font-size: 1rem;
    }

    .cta-section {
        padding: var(--space-6);
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .position-header h1 {
        font-size: 2rem;
    }

    .position-header .position-number {
        font-size: 1.75rem;
    }

    .position-tagline {
        font-size: 1rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .content-section h2::before {
        width: 3px;
        height: 24px;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }

    .info-card {
        padding: var(--space-4);
    }

    .info-card h3 {
        font-size: 1.1rem;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .detail-list li {
        font-size: 0.95rem;
        padding: var(--space-2) var(--space-2) var(--space-2) var(--space-5);
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section,
.info-card {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.content-section:nth-child(1) { animation-delay: 0.1s; }
.content-section:nth-child(2) { animation-delay: 0.2s; }
.content-section:nth-child(3) { animation-delay: 0.3s; }
.content-section:nth-child(4) { animation-delay: 0.4s; }

.info-card:nth-child(1) { animation-delay: 0.2s; }
.info-card:nth-child(2) { animation-delay: 0.3s; }
.info-card:nth-child(3) { animation-delay: 0.4s; }

/* Positions List Styling */
.positions-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.position-item {
    background: var(--color-text);
    border: 1px solid #e0e0e0;
    padding: var(--space-5);
    border-radius: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-4);
    transition: all 0.3s ease;
}

.position-item:hover {
    border-color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.position-info {
    flex: 1;
}

.position-info .position-meta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.position-info .position-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: #666;
    letter-spacing: 0.05em;
}

.position-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 var(--space-2) 0;
    letter-spacing: 0.02em;
}

.position-info p {
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.6;
    margin: 0;
}

.position-actions {
    display: flex;
    gap: var(--space-3);
    flex-shrink: 0;
    align-items: center;
}

.view-details-btn {
    padding: var(--space-3) var(--space-5);
    background: var(--color-text);
    color: #1a1a1a;
    border: 2px solid #e0e0e0;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.view-details-btn:hover {
    background: #f5f5f5;
    border-color: #1a1a1a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .position-item {
        flex-direction: column;
        align-items: stretch;
    }

    .position-actions {
        width: 100%;
        flex-direction: column;
    }

    .view-details-btn,
    .position-actions .apply-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}