/* RPAC Investors Display Styles */

.investors-tabs-content .rpac-investors-hidden {
    display: none;
}

#rpac-investors-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.rpac-investors-wrapper {
    position: relative;
}

.investors-tabs-nav {
    background: #AF3894;
    border-radius: 10px 10px 0 0;
    display: flex;
    overflow-x: auto;
    margin-bottom: 0;
}

.rpac-investors-tab-btn {
    background: transparent;
    border: none;
    color: white;
    padding: 15px 25px;
    cursor: pointer;
    flex: 1;
    min-width: 150px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 20px;
    font-family: 'Georgia', Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.rpac-investors-tab-btn.active {
    background: #7B299D;
}

.rpac-investors-tab-btn:focus {
    outline: 2px solid white;
    outline-offset: -2px;
}

.rpac-investors-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
}

.rpac-investors-tab-content {
    display: none;
    background: white;
    padding: 30px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.rpac-investors-tab-content.active {
    display: block;
}

.investors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.investor-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.investor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.investor-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background-color: #f5f5f5;
}

.investor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.investor-card:hover .investor-image img {
    transform: scale(1.05);
}

.investor-info {
    padding: 20px;
}

.investor-name {
    font-size: 23px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
    margin-top: 0;
}

.investor-association {
    font-size: 18px;
    color: #000000;
    margin-bottom: 5px;
    line-height: 1.4;
}

.investor-badges {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

.rpac-investors-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    padding: 3px 8px;
    font-size: 11px;
    border-radius: 12px;
    font-weight: 500;
}

.see-all-container {
    text-align: center;
    margin-top: 30px;
}

.see-all-btn {
    background: linear-gradient(135deg, #8B4A9C, #C77BB4);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 74, 156, 0.3);
}

.see-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 74, 156, 0.4);
}

.see-all-btn:focus {
    outline: 2px solid #8B4A9C;
    outline-offset: 2px;
}

.see-all-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .investors-tabs-nav {
        flex-direction: column;
    }

    .rpac-investors-tab-btn {
        min-width: auto;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .rpac-investors-tab-btn:last-child {
        border-bottom: none;
    }

    .rpac-investors-tab-btn.active::after {
        display: none;
    }

    .rpac-investors-tab-content {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .rpac-investors-tab-btn {
        padding: 12px 20px;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .rpac-investors-tab-btn,
    .investor-card,
    .investor-image img,
    .see-all-btn {
        transition: none;
    }

    .investor-card:hover {
        transform: none;
    }

    .investor-card:hover .investor-image img {
        transform: none;
    }
}

#tab-sterling .investor-image {
    display: none;
}