/**
 * Plik: 1-reset.css
 * Pełen standard CKM - zero starych prefiksów (cnc, concordia).
 */

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.woff2') format('woff2'); 
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

* {
    font-family: 'Inter', sans-serif !important;
    box-sizing: border-box !important;
}

body {
    margin: 0;
    padding: 0;
    background: var(--ckm-bg-gray); 
    overflow-x: hidden;
    color: var(--ckm-text-main);    
}

/* * GŁÓWNA LINIATURA 1200px 
 * (Tylko nowe klasy CKM oraz natywne, wbudowane klasy WordPressa/SportsPressa,
 * których nie możemy zmienić, bo generuje je system: sp-template, entry-content itp.)
 */
.ckm-header-inner,
.ckm-container,
.ckm-main-content-wrapper > *:not(.ckm-hero-section),
.site-main > article,
.entry-content,
.post-content,
.sp-template,
main#primary > *:not(.ckm-hero-section) {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px;
    padding-right: 20px;
}


    /* Podstawowe style dla treści wpisu dodane bezpośrednio do pliku */
    .ckm-entry-content p {
        margin-bottom: 1.5em;
        line-height: 1.6;
    }
    .ckm-entry-content h1, .ckm-entry-content h2, 
    .ckm-entry-content h3, .ckm-entry-content h4 {
        margin-top: 1.5em;
        margin-bottom: 0.75em;
        font-weight: bold;
    }
    .ckm-entry-content ul, .ckm-entry-content ol {
        margin-bottom: 1.5em;
        padding-left: 2em;
    }
    .ckm-entry-content ul li {
        list-style-type: disc;
        margin-bottom: 0.5em;
    }
    .ckm-entry-content ol li {
        list-style-type: decimal;
        margin-bottom: 0.5em;
    }
    .ckm-entry-content img {
        max-width: 100%;
        height: auto;
        border-radius: 4px;
    }
    .ckm-entry-content b, .ckm-entry-content strong {
        font-weight: bold;
    }
    .ckm-entry-content i, .ckm-entry-content em {
        font-style: italic;
    }
    .ckm-entry-content blockquote {
        border-left: 4px solid #333;
        padding-left: 1em;
        margin-left: 0;
        font-style: italic;
        color: #555;
    }
    /* Klasy wyrównujące obrazki z edytora WordPressa */
    .ckm-entry-content figure {
        margin: 1.5em 0;
    }
    .ckm-entry-content figcaption {
        font-size: 0.85em;
        color: #777;
        text-align: center;
        margin-top: 0.5em;
    }
    .ckm-entry-content .aligncenter {
        display: block;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .ckm-entry-content .alignleft {
        float: left;
        margin-right: 1.5em;
        margin-bottom: 1.5em;
    }
    .ckm-entry-content .alignright {
        float: right;
        margin-left: 1.5em;
        margin-bottom: 1.5em;
    }
    /* Czyszczenie opływania po obrazkach */
    .ckm-entry-content::after {
        content: "";
        display: table;
        clear: both;
    }
