/* Sports Stats Display Block Styles */
.sports-stats-display {
    width: 100%;
    background: var(--sports-stats-bg-color, #1a1a1a);
    padding: 24px;
}

.sports-stats-display__grid {
    display: grid;
    grid-template-columns: repeat(var(--sports-stats-grid-columns, 3), 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.sports-stats-display__card {
    background: var(--sports-stats-card-bg, #ffffff);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.sports-stats-display__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Card Header */
.sports-stats-display__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.sports-stats-display__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sports-stats-display__icon svg {
    width: 16px;
    height: 16px;
}

.sports-stats-display__title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.4;
}

/* Card Content */
.sports-stats-display__content {
    margin-bottom: 16px;
    flex: 1;
}

.sports-stats-display__stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sports-stats-display__stat:last-child {
    border-bottom: none;
}

.sports-stats-display__stat-label {
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
}

.sports-stats-display__stat-value {
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 700;
}

/* Team Injuries */
.sports-stats-display__team-injuries {
    margin-bottom: 16px;
}

.sports-stats-display__team-injuries:last-child {
    margin-bottom: 0;
}

.sports-stats-display__team-name {
    color: #dc3545;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.sports-stats-display__injuries-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sports-stats-display__injury {
    color: #1a1a1a;
    font-size: 13px;
    margin-bottom: 4px;
    padding-left: 12px;
    position: relative;
}

.sports-stats-display__injury:before {
    content: "•";
    color: #dc3545;
    position: absolute;
    left: 0;
}

.sports-stats-display__injury-status {
    color: #6c757d;
    font-weight: 500;
}

/* Card Footer */
.sports-stats-display__footer {
    margin-top: auto;
    padding-top: 16px;
}

.sports-stats-display__divider {
    height: 1px;
    background: #e9ecef;
    margin-bottom: 12px;
}

.sports-stats-display__footer-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--sports-stats-link-color, #007bff);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.sports-stats-display__footer-link:hover {
    color: #0056b3;
    text-decoration: none;
}

.sports-stats-display__footer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sports-stats-display__footer-icon svg {
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
}

.sports-stats-display__footer-arrow {
    font-size: 12px;
    font-weight: bold;
}

/* Dynamic Grid Columns */
.sports-stats-display__grid[style*="--sports-stats-grid-columns: 1"] {
    grid-template-columns: 1fr;
}

.sports-stats-display__grid[style*="--sports-stats-grid-columns: 2"] {
    grid-template-columns: repeat(2, 1fr);
}

.sports-stats-display__grid[style*="--sports-stats-grid-columns: 3"] {
    grid-template-columns: repeat(3, 1fr);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sports-stats-display__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sports-stats-display {
        padding: 16px;
    }
    
    .sports-stats-display__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .sports-stats-display__card {
        padding: 16px;
        min-height: 180px;
    }
    
    .sports-stats-display__title {
        font-size: 15px;
    }
    
    .sports-stats-display__stat-label,
    .sports-stats-display__stat-value {
        font-size: 13px;
    }
    
    .sports-stats-display__team-name {
        font-size: 13px;
    }
    
    .sports-stats-display__injury {
        font-size: 12px;
    }
    
    .sports-stats-display__footer-link {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .sports-stats-display {
        padding: 12px;
    }
    
    .sports-stats-display__card {
        padding: 12px;
        min-height: 160px;
    }
    
    .sports-stats-display__header {
        gap: 6px;
        margin-bottom: 12px;
    }
    
    .sports-stats-display__icon svg {
        width: 14px;
        height: 14px;
    }
    
    .sports-stats-display__title {
        font-size: 14px;
    }
    
    .sports-stats-display__stat {
        padding: 6px 0;
    }
    
    .sports-stats-display__stat-label,
    .sports-stats-display__stat-value {
        font-size: 12px;
    }
    
    .sports-stats-display__team-name {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .sports-stats-display__injury {
        font-size: 11px;
        margin-bottom: 3px;
    }
    
    .sports-stats-display__footer-link {
        font-size: 12px;
        gap: 4px;
    }
    
    .sports-stats-display__footer-icon svg {
        width: 12px;
        height: 12px;
    }
}

/* Special responsive behavior for different card counts */
@media (max-width: 1024px) {
    .sports-stats-display__grid[style*="--sports-stats-grid-columns: 3"] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sports-stats-display__grid[style*="--sports-stats-grid-columns: 2"],
    .sports-stats-display__grid[style*="--sports-stats-grid-columns: 3"] {
        grid-template-columns: 1fr;
    }
}