.sponsorship-grid {
    margin: 0 auto;
    padding: 20px;
}

.sponsorship-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 5px;
}

.filter-section {
    margin: 0;
}

.filter-section h4 {
    margin: 0 0 5px;
}

.filter-section select {
    width: 100%;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background-color: white;
    height: auto;
}

.filter-section select:focus {
    outline: 2px solid #2c5282;
    border-color: #2c5282;
}

.sponsorship-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* Change the .sponsorship-items to not be a grid on small screens */
@media (max-width: 480px) {
    .sponsorship-items {
        display: block;
    }

    .sponsorship-card {
        margin-bottom: 20px;
    }
}

.sponsorship-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s;
}

.sponsorship-card:hover {
    transform: translateY(-5px);
}

.sponsorship-card a {
    text-decoration: none;
    color: inherit;
}

.sponsorship-card .sponsorship-image a {
    display: block;
}

.sponsorship-card h3 a:hover {
    color: #2c5282;
    text-decoration: underline;
}

.sponsorship-image {
    position: relative;
}

.sponsorship-image img {
    width: 100%;
    object-fit: cover;
}

.sponsorship-content {
    padding: 15px;
}

.sponsorship-content h3.sponsorship-title {
    margin-bottom: 0;
}

.sponsorship-price {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 10px 0;
}

/* Slighly small font size for price in the card */
.sponsorship-card .sponsorship-price {
    font-size: 1.2rem;
    margin-top: 0px;
}

.sponsorship-price.sold {
    color: #718096;
}

.sponsorship-price.sold s {
    text-decoration-thickness: 3px;
    text-decoration-color: #f00;
}

.sponsorship-price .sold-label {
    color: #f00;
    font-weight: 700;
    margin-left: 8px;
}

.objective-tag {
    display: inline-block;
    padding: 4px 8px;
    margin: 2px;
    background: #e2e8f0;
    border-radius: 4px;
    font-size: 0.9em;
    cursor: pointer;
    transition: background-color 0.2s;
}

.objective-tag:hover {
    background: #cbd5e0;
}

.objective-tag:focus {
    outline: 2px solid #2c5282;
    outline-offset: 2px;
}

.sponsorship-sold-to {
    margin: 20px 0;
    display: block;
}

.sold-to-label {
    display: block;
    font-weight: 700;
}

.sold-to-company-logo {
    width: auto;
}

/*
.sponsorship-sort {
    width: 100%;
    height: auto;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
}

.sponsorship-sort:focus {
    outline: 2px solid #2c5282;
    border-color: #2c5282;
}
    */

.sold-indicator {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #f00;
    color: #fff;
    padding: 5px 15px;
    font-weight: 700;
    border-radius: 4px;
    z-index: 1;
}

.sponsorship-excerpt {
    font-size: 0.9em;
    color: #4a5568;
    margin: 10px 0 5px;
}

.no-sponsorships-message {
    width: 100%;
    text-align: center;
    padding: 40px 20px;
    background: #f7fafc;
    border-radius: 8px;
}

.no-sponsorships-message p {
    color: #4a5568;
    font-size: 1.1em;
    margin: 0;
}
