
.we-table-container {
    overflow-x: auto;
    margin: 20px 0;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}

.we-experience-table {
    width: 100%;
    min-width: 800px; /* Ensure minimum width to trigger horizontal scroll */
    border-collapse: collapse;
    margin: 0;
    background: white;
}

.we-experience-table th,
.we-experience-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    white-space: nowrap; /* Prevent text wrapping */
}

.we-experience-table th {
    background-color: #2c5282;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.we-experience-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.we-experience-table tr:hover {
    background-color: #e8f4fd;
}

/* Special handling for Brief Scope column to allow wrapping */
.we-experience-table td:last-child {
    white-space: normal;
    max-width: 250px;
    word-wrap: break-word;
}

/* Mobile scroll instructions */
.we-mobile-instruction {
    display: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 15px;
    text-align: center;
    font-size: 14px;
    margin-bottom: 10px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    animation: pulse 2s infinite;
}

.we-mobile-instruction .icon {
    display: inline-block;
    margin: 0 8px;
    font-size: 16px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Scroll indicator arrows - DISABLED for mobile/tablet */
.we-scroll-indicator {
    display: none !important; /* Always hidden on mobile/tablet */
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(-50%); }
    40% { transform: translateY(-60%); }
    60% { transform: translateY(-55%); }
}

.we-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.we-grid-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #2c5282;
}

.we-grid-item h3 {
    margin-top: 0;
    color: #2c5282;
    font-size: 18px;
}

.we-grid-item h4 {
    color: #4a5568;
    margin: 15px 0 10px 0;
}

.we-grid-meta {
    margin: 10px 0;
}

.we-grid-meta span {
    display: inline-block;
    background: #e2e8f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 10px;
    color: #4a5568;
}

.we-region {
    background-color: #bee3f8 !important;
    color: #2c5282 !important;
}

.we-period {
    background-color: #c6f6d5 !important;
    color: #22543d !important;
}

/* Mobile responsiveness - keep table format but make it scrollable */
@media (max-width: 768px) {
    .we-mobile-instruction {
        display: block;
    }
    
    .we-table-container {
        margin: 10px -15px; /* Extend to screen edges on mobile */
        border-radius: 0;
        box-shadow: 0 0 15px rgba(0,0,0,0.1);
        border: 1px solid #ddd;
        position: relative;
    }
    
    .we-experience-table {
        min-width: 650px; /* Smaller minimum width for mobile */
        font-size: 14px;
    }
    
    .we-experience-table th,
    .we-experience-table td {
        padding: 10px 12px;
    }
    
    .we-experience-table th {
        font-size: 11px;
        background-color: #1a365d;
    }
    
    /* Brief Scope column smaller on mobile */
    .we-experience-table td:last-child {
        max-width: 180px;
        font-size: 13px;
    }
    
    /* Bottom instruction */
    .we-table-container .bottom-instruction {
        display: block;
        text-align: center;
        padding: 12px;
        background: #f8f9fa;
        color: #666;
        font-size: 13px;
        border-top: 1px solid #ddd;
        margin: 0;
    }
    
    .we-table-container .bottom-instruction .emoji {
        font-size: 16px;
        margin: 0 5px;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .we-mobile-instruction {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .we-experience-table {
        min-width: 550px;
        font-size: 13px;
    }
    
    .we-experience-table th,
    .we-experience-table td {
        padding: 8px 10px;
    }
    
    .we-experience-table td:last-child {
        max-width: 150px;
        font-size: 12px;
    }
}

/* Hide indicators when table is fully visible */
.we-table-container.fully-visible .we-mobile-instruction {
    display: none !important;
}
