/* Scrimmages Page Styles */

.scrimmages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 20px;
}

.scrimmage-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scrimmage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.scrimmage-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--hub-primary) 0%, var(--hub-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.scrimmage-image-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.coming-soon-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--hub-accent);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.scrimmage-info {
    padding: 2rem;
    padding-bottom: 3rem; /* Extra padding at bottom */
    display: flex;
    flex-direction: column;
    height: 500px; /* Further increased height */
    justify-content: space-between;
}

.scrimmage-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    min-height: 2.5rem; /* Space for two lines of title */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.location-section {
    margin-bottom: 1.5rem;
    min-height: 70px; /* Fixed height for location section */
}

.location-label {
    color: var(--medium-grey);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.location-name {
    font-size: 1.125rem;
    color: var(--text-dark);
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.scrimmage-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    min-height: 160px; /* Minimum height for details section */
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px; /* Fixed height for each detail item */
    list-style: none;
}

.detail-icon {
    font-size: 1.25rem;
    color: var(--hub-primary);
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.detail-item p {
    margin: 0;
    font-size: 1rem;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.scrimmage-action {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-grey);
}

.scrimmage-action .btn {
    display: inline-block;
    width: 100%;
    padding: 14px 28px;
    background-color: var(--hub-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.scrimmage-action .btn:hover {
    background-color: var(--hub-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(50, 78, 138, 0.3);
}

.btn-secondary {
    background-color: transparent !important;
    color: var(--hub-primary) !important;
    border: 2px solid var(--hub-primary);
}

.btn-secondary:hover {
    background-color: var(--hub-primary) !important;
    color: var(--white) !important;
}

/* Mobile Styles */
@media (max-width: 992px) {
    .scrimmages-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 30px 20px;
    }

    .card-header h3 {
        font-size: 24px;
    }

    .scrimmage-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-content {
        padding: 25px;
    }
}
