/* sponsors-page.css — sponsorernas presentationssida */

.sponsor-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-3);
}

.sponsor-showcase-card--featured {
    grid-column: span 2;
    max-width: 560px;
    border: 1px solid rgba(240, 180, 60, .4);
    box-shadow: 0 16px 40px rgba(240, 180, 60, .1);
}
.sponsor-showcase-card--featured .sponsor-showcase-photo { width: 108px; height: 108px; }
.sponsor-showcase-card--featured h3 { font-size: 1.3rem; }
@media (max-width: 700px) {
    .sponsor-showcase-card--featured { grid-column: span 1; max-width: none; }
}

.sponsor-showcase-card {
    padding: var(--space-4) var(--space-3) var(--space-3);
    min-height: 280px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.sponsor-showcase-tier {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: .25rem .6rem;
    border-radius: var(--radius-pill);
    z-index: 2;
}
.sponsor-showcase-tier--partner { background: rgba(90,200,140,.18); color: #5ac88c; }

/* Bidragssumman flyttar ner under tier-badgen (samma hörn, staplat)
   istället för motsatt hörn — annars skulle den krocka med
   huvudsponsor-ribbonen som äger vänster hörn på featured-kortet. */
.sponsor-showcase-contribution {
    position: absolute;
    top: 46px;
    right: 14px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .02em;
    padding: .25rem .6rem;
    border-radius: var(--radius-pill);
    background: rgba(240, 180, 60, .16);
    color: #f0b43c;
    border: 1px solid rgba(240, 180, 60, .35);
    white-space: nowrap;
}
.sponsor-showcase-tier--platinum { background: rgba(230,230,240,.2); color: #e6e6f0; }
.sponsor-showcase-tier--gold { background: rgba(240,180,60,.2); color: #f0b43c; }
.sponsor-showcase-tier--silver { background: rgba(200,200,200,.2); color: #c8c8c8; }
.sponsor-showcase-tier--bronze { background: rgba(200,140,90,.2); color: #c88c5a; }
.sponsor-showcase-tier--individual { background: rgba(124,110,242,.2); color: #a8a0f5; }
.sponsor-showcase-tier--contest_winner { background: rgba(90,200,140,.2); color: #5ac88c; }

.sponsor-showcase-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin: var(--space-2) auto var(--space-2);
    background: var(--color-bg-alt);
    border: 2px solid var(--color-surface-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.sponsor-showcase-photo img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.sponsor-showcase-initial { font-size: 2rem; font-weight: 700; color: var(--color-text-muted); }

.sponsor-showcase-bio {
    font-size: .85rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-2);
    flex-grow: 1;
}

.sponsor-showcase-card .btn-secondary { margin-top: auto; }
