/* ULTRA-CRITICAL CSS for Partnership Single Page - Complete from original HTML */

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body/Main Container */
.israel-partnership-single,
body.israel-partnership-single {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background: #f7fafc;
    min-height: 100vh;
}

/* Navigation Bar */
.israel-navbar {
    background: rgba(255, 255, 255, .95);
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.israel-nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.israel-back-button {
    background: #1e40af !important;
    color: white !important;
    border: none;
    padding: .75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    font-size: .875rem;
    transition: none;
}

.israel-back-button:hover {
    background: #1e3a8a !important;
}

/* Hero Section */
.israel-hero-section {
    background: #ffffff;
    color: #1e40af;
    padding: 2rem 1rem 3rem;
    text-align: center;
    border-bottom: 1px solid #e1e5e9;
}

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

.israel-partnership-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.israel-partnership-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e40af;
    line-height: 1.2;
}

.israel-partnership-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: #666;
    margin-bottom: 2rem;
    font-weight: 400;
}

.israel-partnership-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.israel-badge {
    background: #f8f9fa;
    border: 1px solid #e1e5e9;
    color: #1e40af;
    padding: .75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: .875rem;
}

/* Main Container */
.israel-main-container {
    max-width: 1200px;
    margin: -3rem auto 0;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
}

/* Loading State */
.israel-loading {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    margin-bottom: 2rem;
}

.israel-loading h2 {
    margin-bottom: 1rem;
    color: #1e40af;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

.israel-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #1e40af;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.israel-loading.hidden {
    display: none !important;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Content Layout */
.israel-content-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Partnership Card */
.israel-partnership-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
    border: 1px solid #e2e8f0;
    margin-bottom: 2rem;
}

.israel-card-header {
    background: linear-gradient(135deg, #1e40af 0%, #1e3f73 100%);
    color: white;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
}

.israel-card-header::before {
    content: '🏢';
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    opacity: .7;
}

.israel-partnership-name {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: white !important;
    margin-bottom: 0.5rem !important;
}

.israel-partnership-number {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.israel-partnership-type {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.israel-card-body {
    padding: 2.5rem;
}

/* Info Grid */
.israel-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.israel-info-section {
    background: #f8fafc;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.israel-info-section h3 {
    color: #1e40af;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.israel-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.israel-info-item:last-child {
    margin-bottom: 0;
}

.israel-info-icon {
    width: 20px;
    height: 20px;
    color: #1e40af;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.israel-info-content {
    flex: 1;
}

.israel-info-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.israel-info-value {
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.5;
    font-weight: 500;
}

/* Status Badges */
.israel-status-active {
    background: #10b981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    display: inline-block;
}

.israel-status-inactive {
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    display: inline-block;
}

.israel-status-unknown {
    background: #6b7280;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    display: inline-block;
}

/* Sidebar */
.israel-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.israel-sidebar-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.israel-sidebar-card h3 {
    color: #1e40af;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.israel-quick-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

.israel-stat-item {
    text-align: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    min-width: 0;
    overflow: hidden;
}

.israel-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 0.5rem;
    line-height: 1;
    word-break: break-word;
    overflow-wrap: break-word;
}

.israel-stat-label {
    font-size: 0.7rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    word-break: break-word;
}

/* Related Partnerships */
.israel-related-partnerships {
    list-style: none;
    padding: 0;
}

.israel-related-partnership {
    padding: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.2s ease;
}

.israel-related-partnership:hover {
    background: #f8fafc;
}

.israel-related-partnership:last-child {
    border-bottom: none;
}

.israel-related-partnership a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 0.875rem;
}

.israel-related-partnership a:hover {
    color: #1e40af;
}

/* Error State */
.israel-error {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #fed7d7;
}

.israel-error h2 {
    color: #e53e3e;
    margin-bottom: 1rem;
    font-weight: 600;
}

.israel-error p {
    color: #718096;
    margin-bottom: 2rem;
}

.israel-retry-button {
    background: #1e40af;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.israel-retry-button:hover {
    background: #1e3a8a;
    transform: translateY(-1px);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .israel-content-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .israel-hero-section {
        padding: 1.5rem 1rem 2rem;
    }
    
    .israel-partnership-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }
    
    .israel-main-container {
        margin-top: -2rem;
    }
    
    .israel-quick-stats {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    .israel-stat-value {
        font-size: 1.5rem;
    }
    
    .israel-sidebar-card {
        padding: 1.5rem;
    }
    
    .israel-card-body {
        padding: 1.5rem;
    }
    
    .israel-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .israel-partnership-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .israel-badge {
        width: 100%;
        max-width: 280px;
    }
    
    .israel-quick-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .israel-stat-value {
        font-size: 1.25rem;
    }
    
    .israel-stat-item {
        padding: 0.75rem;
    }
    
    .israel-sidebar-card {
        padding: 1rem;
    }
    
    .israel-info-section {
        padding: 1rem;
    }
}
