/* NBL Design - Team Profile */
.nbl-team-profile {
    font-family: 'Inter', sans-serif;
    color: #1a1e23;
    background-color: #f8f9fa;
    min-height: 100vh;
}

/* NBL Hero Section */
.nbl-team-hero {
    background: linear-gradient(135deg, #101216 0%, #1e252d 100%);
    color: #ffffff;
    padding: 60px 0;
    margin-bottom: 40px;
}

.nbl-hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.nbl-hero-logo-wrapper {
    flex: 0 0 200px;
    height: 200px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nbl-hero-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.nbl-hero-info {
    flex: 1;
    min-width: 300px;
}

.nbl-team-meta {
    margin-bottom: 15px;
}

.nbl-league-badge,
.nbl-season-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 10px;
}

.nbl-team-name {
    font-size: 4rem;
    font-weight: 900;
    margin: 0 0 25px 0;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -2px;
    color: #ffffff !important;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5) !important;
}

/* Stats / Info Blocks in Hero */
.nbl-team-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.nbl-stat-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 10px;
    min-width: 150px;
    backdrop-filter: blur(5px);
}

.nbl-stat-box.dark {
    background: rgba(0, 0, 0, 0.3);
}

.nbl-stat-val {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 5px;
}

.nbl-stat-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Page Content & Layout */
.nbl-team-content {
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.nbl-two-cols {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.nbl-col-main {
    flex: 1;
    min-width: 60%;
}

.nbl-col-sidebar {
    width: 320px;
}

.nbl-section-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
    text-transform: uppercase;
    color: #2d3748;
}

/* Custom Roster Grid (Collectible Cards) */
.nbl-custom-roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.nbl-player-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: #1a1e23;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    position: relative;
    border: 1px solid #edf2f7;
}

.nbl-player-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.nbl-card-photo {
    height: 250px;
    background-size: cover;
    background-position: top center;
    background-color: #edf2f7;
    position: relative;
    border-bottom: 3px solid #e2272e;
}

.nbl-card-number {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #111111;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.2rem;
    padding: 4px 10px;
    border-radius: 6px;
}

.nbl-card-info {
    padding: 15px;
    text-align: center;
}

.nbl-card-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

/* Sidebar Override */
.nbl-sidebar-widget {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.nbl-widget-title {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2272e;
}

/* Bio */
.nbl-bio-text {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    line-height: 1.8;
    color: #4a5568;
    font-size: 1.05rem;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 900px) {
    .nbl-col-sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nbl-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .nbl-team-name {
        font-size: 2.5rem;
    }
}
/* Sidebar Match List (sp-event-list) Override */
.nbl-sp-sidebar-override .sp-event-list { width: 100% !important; border: none !important; margin: 0 !important; }
.nbl-sp-sidebar-override .sp-event-list thead { display: none; }
.nbl-sp-sidebar-override .sp-event-list tr { display: flex; flex-direction: column; padding: 15px 0; border-bottom: 1px solid #edf2f7; position: relative; }
.nbl-sp-sidebar-override .sp-event-list tr:last-child { border-bottom: none; }
.nbl-sp-sidebar-override .sp-event-list td { padding: 0 !important; border: none !important; background: transparent !important; }

.nbl-sp-sidebar-override .data-date { font-size: 0.75rem; color: #a0aec0 !important; font-weight: 700; text-transform: uppercase; margin-bottom: 5px; }
.nbl-sp-sidebar-override .data-event { font-weight: 800; color: #1a202c !important; font-size: 1rem; margin-bottom: 8px; line-height: 1.2; }
.nbl-sp-sidebar-override .data-results, .nbl-sp-sidebar-override .data-time { 
    display: inline-block; 
    padding: 6px 12px; 
    background: #f1f5f9; 
    border-radius: 6px; 
    font-size: 0.9rem; 
    font-weight: 700; 
    color: #e2272e !important;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
}
.nbl-sp-sidebar-override a { text-decoration: none; color: inherit; }
