/**
 * Plik: 5-schedule.css
 * Oparty na 1:1 architekturze do page-terminarz.php 
 * PRO-Comment: Synchronizacja RWD (992px) + Full Bleed Layout dla Mobile
 */    
    .post-main-container header, .entry-header, .post-header, .header-visual, .archive-header { display: none !important; }
    #primary, .content-area, .site-main, .post-main-container, article.post, article.page { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; padding: 0 !important; margin: 0 !important; }
    #secondary, aside#sidebar, .sidebar, .widget-area:not(.ckm-sidebar-area) { display: none !important; }

    /* Globalna ochrona RWD przed poziomym scrollem */
    body { overflow-x: hidden !important; }

    .ckm-sched-wrapper, .ckm-sched-wrapper * { box-sizing: border-box !important; }

    .ckm-sched-wrapper { display: flex; gap: 40px; width: 100%; max-width: 1300px; margin: 40px auto; padding: 0 20px; align-items: start; }
    .ckm-sched-main { flex: 1; min-width: 0; }
    .ckm-sidebar-area { width: 340px; flex-shrink: 0; }

    .ckm-season-selector-wrap { margin-bottom: 30px; display: flex; justify-content: flex-start; }
    .ckm-season-select { 
        appearance: none; -webkit-appearance: none; 
        background: #fff url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2300a859%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E") no-repeat right 15px top 50%;
        background-size: 12px auto;
        border: 2px solid #00a859; border-radius: 8px; padding: 10px 45px 10px 20px;
        font-size: 14px; font-weight: 700; color: #333; 
        cursor: pointer; outline: none; transition: 0.2s; box-shadow: 0 4px 6px rgba(0,168,89,0.05);
        max-width: 100%;
    }
    .ckm-season-select:hover { background-color: #fcfdfc; }

    .ckm-sched-list { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; width: 100%; }

    .ckm-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid #f3f4f6; text-decoration: none !important; color: #111; transition: background 0.2s; }
    .ckm-row:hover { background: #f9fafb; }
    
    .ckm-sparing-row { background-color: #f8f9fa; border-bottom: 1px solid #e9ecef; }
    .ckm-sparing-row:hover { background-color: #f1f3f5; }
    .ckm-sparing-row .ckm-row-team { color: #868e96 !important; font-weight: 600 !important; }
    .ckm-sparing-row .ckm-row-score { background-color: #adb5bd !important; color: #fff !important; font-weight: 600; }
    .ckm-sparing-row .ckm-row-date { color: #6c757d; font-weight: 600; }
    .ckm-sparing-row .ckm-meta-type { color: #868e96; font-weight: 600; }
    .ckm-sparing-row .ckm-row-logo { filter: grayscale(50%) opacity(80%); }

    .ckm-col-left { width: 160px; flex-shrink: 0; display: flex; flex-direction: column; justify-content: center; }
    .ckm-row-date { font-size: 14px; font-weight: 600; color: #333; letter-spacing: -0.2px; }
    .ckm-row-date span { font-size: 11px; color: #888; font-weight: 500; text-transform: uppercase; margin-left: 5px; }
    
    .ckm-row-meta { font-size: 10px; font-weight: 500; color: #6b7280; text-transform: uppercase; letter-spacing: 0.3px; margin-top: 4px; }
    .ckm-meta-type { color: #00a859; font-weight: 700; margin-right: 3px; }

    .ckm-col-center { flex: 1; display: flex; align-items: center; justify-content: center; gap: 15px; }
    
    .ckm-row-team { flex: 1; font-weight: 600; font-size: 13px; text-transform: uppercase; color: #333; letter-spacing: -0.1px; line-height: 1.3; }
    .ckm-row-team.home { text-align: right; }
    .ckm-row-team.away { text-align: left; }

    .ckm-col-right { width: 160px; flex-shrink: 0; }

    .ckm-row-logo { 
        width: 36px !important; height: 36px !important; min-width: 36px !important; max-width: 36px !important;
        object-fit: contain !important; object-position: center !important; 
        display: block; box-sizing: border-box; padding: 2px;
    }
    
    .ckm-row-score { background: #111; color: #fff; padding: 4px 12px; border-radius: 6px; font-weight: 700; font-size: 15px; min-width: 55px; text-align: center; }
    .ckm-row-score.future { background: #f3f4f6; color: #9ca3af; font-size: 12px; border: 1px solid #e5e7eb; font-weight: 600; }

    .ckm-expand-section { display: none; }
    .ckm-toggle-btn { display: block; width: 100%; padding: 14px; background: #fff; border-bottom: 1px solid #f3f4f6; text-align: center; font-size: 11px; font-weight: 600; color: #00a859; text-transform: uppercase; cursor: pointer; }

    .ckm-divider-now { position: relative; text-align: center; background: #fff; padding: 25px 0; margin: 0; }
    .ckm-divider-now::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; border-top: 1px dashed #e5e7eb; z-index: 1; }
    .ckm-divider-label { display: inline-block; background: #fff; color: #9ca3af; padding: 0 15px; font-size: 10px; font-weight: 600; text-transform: uppercase; position: relative; z-index: 2; }

    .ckm-schedule-disclaimer { margin-top: 15px; text-align: right; font-size: 11px; color: #9ca3af; font-style: italic; }

    /* RWD - TABLETY I MAŁE EKRANY (992px) - Znikająca dziura i Full Bleed */
    @media (max-width: 992px) {
        .ckm-sched-wrapper { 
            flex-direction: column; 
            padding: 0; /* Full Bleed - Dociągamy do krawędzi */
            margin-top: 20px; 
        }
        .ckm-sched-main { 
            width: 100%; 
        }
        .ckm-sidebar-area { 
            width: 100%; 
            padding: 0 20px; 
            box-sizing: border-box; 
            margin-top: 40px; 
        }
        
        /* Full Bleed dla listy meczów (ostre rogi, brak bocznych obramowań) */
        .ckm-sched-list {
            border-radius: 0;
            border-left: none;
            border-right: none;
        }
        
        /* Zabezpieczenie odstępów dla selektora i stopki (bo wrapper nie ma już marginesów) */
        .ckm-season-selector-wrap,
        .ckm-schedule-disclaimer {
            padding: 0 20px;
        }
    }

    /* RWD - SMARTFONY (768px) - Ciaśniejszy układ elementów wiersza */
    @media (max-width: 768px) {
        .ckm-row { flex-direction: column; padding: 12px 10px; }
        .ckm-col-left { width: 100%; text-align: center; margin-bottom: 8px; align-items: center; }
        .ckm-col-right { display: none; }
        .ckm-col-center { width: 100%; gap: 6px; }
        
        .ckm-row-team { font-size: 11px; word-break: break-word; }
        .ckm-row-logo { width: 28px !important; height: 28px !important; min-width: 28px !important; max-width: 28px !important; }
        .ckm-row-score { font-size: 13px; min-width: 45px; padding: 4px 6px; }
        
        .ckm-season-selector-wrap { justify-content: center; }
    }