/* ============================================
   Sponsor Page Styles
   Import common styles first
   ============================================ */
@import url('style.css?v=1');

.sponsor-section {
    background: #fff;
    padding: 80px 0;
}

.sponsor-tier {
    text-align: center;
    margin-bottom: 40px;
    padding: 35px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    border-left: 5px solid #204198;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sponsor-tier::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(32, 65, 152, 0.02) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.sponsor-tier:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(32, 65, 152, 0.15);
    border-left-color: #2d5bb8;
}

.sponsor-tier:hover::before {
    opacity: 1;
}

.sponsor-tier h3 {
    font-size: 24px;
    color: #204198;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e0e0;
    position: relative;
    z-index: 1;
}

.sponsor-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding: 20px 0;
}

.sponsor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.sponsor-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 16px;
    box-sizing: border-box;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sponsor-item a:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 18px rgba(32, 65, 152, 0.12);
}

.sponsor-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Uniform tile size per tier — every logo fills the same box,
   centered via object-fit so differing aspect ratios stay tidy. */
.sponsor-title .sponsor-item a {
    width: 340px;
    height: 150px;
}

.sponsor-diamond .sponsor-item a {
    width: 300px;
    height: 140px;
}

.sponsor-platinum .sponsor-item a {
    width: 260px;
    height: 120px;
}

.sponsor-gold .sponsor-item a {
    width: 220px;
    height: 110px;
}

.sponsor-silver .sponsor-item a {
    width: 190px;
    height: 95px;
}

.sponsor-tba {
    font-size: 15px;
    color: #999;
    font-style: italic;
    font-weight: 500;
    margin: 0;
}

.sponsor-name {
    font-size: 14px;
    color: #555;
    font-weight: 500;
    margin: 0;
}

.sponsor-type {
    font-size: 12px;
    color: #888;
    font-weight: 400;
    margin: -4px 0 0 0;
    line-height: 1.3;
    letter-spacing: 0.2px;
}

@media (max-width: 768px) {
    .sponsor-grid {
        gap: 30px;
    }

    .sponsor-title .sponsor-item a {
        width: 280px;
        height: 120px;
    }

    .sponsor-diamond .sponsor-item a {
        width: 250px;
        height: 110px;
    }

    .sponsor-platinum .sponsor-item a {
        width: 220px;
        height: 100px;
    }

    .sponsor-gold .sponsor-item a {
        width: 180px;
        height: 90px;
    }

    .sponsor-silver .sponsor-item a {
        width: 160px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .sponsor-grid {
        gap: 25px;
    }

    .sponsor-tier h3 {
        font-size: 20px;
    }

    .sponsor-tier {
        padding: 25px 20px;
    }
}
