/* Auxiliary Pages Styles */

.back-nav {
    display: flex;
    align-items: center;
}

.back-nav a {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: #f1f5f9;
}

.back-nav a:hover {
    background: #e2e8f0;
}

.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.page-header h1 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.125rem;
    color: #64748b;
}

.content-sections {
    max-width: 800px;
    margin: 0 auto;
}

.content-block {
    background: white;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.content-block h2 {
    color: #1e3a8a;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #ff7f7f;
    display: inline-block;
}

.content-block p {
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1.25rem;
}

.content-block p:last-child {
    margin-bottom: 0;
}

.empty-content {
    background: #f8fafc;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 12px;
    border: 2px dashed #cbd5e0;
}

.empty-content p {
    color: #64748b;
    font-size: 1.125rem;
    margin: 0;
}

/* About page specific styles */
.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-with-image.reverse {
    direction: rtl;
}

.content-with-image.reverse > * {
    direction: ltr;
}

.content-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mission-section {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.mission-icon {
    margin-bottom: 2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.value-icon {
    margin-bottom: 1rem;
}

.value-item h3 {
    color: #1e3a8a;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.value-item p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

/* Mobile responsiveness for auxiliary pages */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem 0;
    }
    
    .page-header {
        margin-bottom: 2rem;
        padding-bottom: 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .content-block {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .empty-content {
        padding: 2rem 1rem;
    }
    
    .back-nav a {
        font-size: 0.875rem;
        padding: 0.375rem 0.75rem;
    }
    
    .content-with-image {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-image img {
        height: 200px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-item {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .content-block {
        padding: 1rem;
    }
    
    .content-block h2 {
        font-size: 1.25rem;
    }
}