/**
 * Sponsors Page Styles
 * This file contains styles specific to the sponsors page
 */

/* Sponsors Grid */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

/* Sponsor Items */
.sponsor-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
}

.sponsor-item a {
    text-decoration: none;
    display: block;
    max-height: 100%;
    max-width: 100%;
    border: none !important; 
}

.sponsor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Sponsor Logo */
.sponsor-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 0px !important;
    border: none !important; 
    border-radius: 0 !important;

}

/* Hide text elements */
.sponsor-name, 
.sponsor-description {
    display: none;
}

/* Empty sponsor fallback */
.sponsor-item:not(:has(img)) {
    display: none;
}

/* Section slider styles to ensure consistent sizing */
.section-slider.single-image {
    width: 100%;
    aspect-ratio: 4/2;
    overflow: hidden;
}

.section-slider.single-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Section Styles */
.sponsors-section {
    margin: 50px 0;
}

.sponsors-section h2 {
    font-size: 2rem;
    color: #E53E3E;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #E53E3E;
}

.sport-sponsor-section {
    margin-bottom: 40px;
}

.sport-sponsor-section h3 {
    font-size: 1.5rem;
    color: #1774A1;
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 1px solid #1774A1;
}

/* Become a Sponsor Section */
.become-sponsor {
    background-color: #f6f6f6;
    padding: 40px;
    border-radius: 10px;
    margin: 50px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.become-sponsor-content {
    flex: 1;
    min-width: 300px;
}

.sponsor-benefits {
    flex: 1;
    min-width: 300px;
}

.become-sponsor h2 {
    font-size: 1.8rem;
    color: black !important;
    margin-bottom: 20px;
    border-bottom: none;
}

.become-sponsor h3 {
    font-size: 1.4rem;
    color: black !important;
    margin-bottom: 15px;
}

.sponsor-benefits ul {
    padding-left: 20px;
}

.sponsor-benefits li {
    margin-bottom: 8px;
    color: black !important;
}

.sponsor-benefits li::before {
    color: black !important;
}

.become-sponsor-content p {
    color: black !important;
}

.become-sponsor * {
    color: black !important;
}

.button-primary {
    display: inline-block;
    padding: 10px 20px;
    background-color: #E53E3E;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.button-primary:hover {
    background-color: #C53030;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .sponsors-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .become-sponsor {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .become-sponsor {
        padding: 20px;
    }
} 