﻿:root {
    --h1: 48px;
    --h2: 36px;
    --h3: 32px;
    --h4: 24px;
    --lead: 24px;
    --body: 20px;
    --small: 18px;
    --extra-small: 16px;
    --granat-color: #151B32;
    --primary-color: #0075BF;
    --cms-przycisk-promien: 8px;
    --text-light: #727588;
}
body {
    margin: 0;
    padding: 0;
}
@media (max-width: 767px){
    :root {
        --h1: 36px;
        --h2: 28px;
        --h3: 24px;
        --h4: 20px;
        --lead: 20px;
        --body: 18px;
        --small: 14px;
        --extra-small: 12px;
    }
}
@media (max-width: 640px) {
    :root {
        --h1: 28px;
        --h2: 24px;
        --h3: 20px;
        --h4: 18px;
        --lead: 18px;
        --body: 16px;
        --small: 14px;
        --extra-small: 12px;
    }
}
@media (max-width: 767px) {
    body {
        margin: 0 5px;
    }
}
    /* =========================================================
   HEADINGS 1
   ========================================================= */
    .cms-h1 {
        font-size: var(--h1);
        font-weight: 700;
        line-height: 1.2;
    }

    .cms-h2 {
        font-size: var(--h2);
        font-weight: 700;
        line-height: 1.2;
    }

    .cms-h3 {
        font-size: var(--h3);
        font-weight: 700;
        line-height: 1.2;
    }

    .cms-h4 {
        font-size: var(--h4);
        font-weight: 700;
        line-height: 1.4;
    }


    /* =========================================================
   LEAD
   ========================================================= */

    .cms-lead {
        font-size: var(--lead);
        font-weight: 700;
        line-height: 1.4;
        letter-spacing: 0;
    }


    /* =========================================================
   BODY
   ========================================================= */

    .cms-body {
        font-size: var(--body);
        font-weight: 300;
        line-height: 1.4;
        letter-spacing: 0;
    }

    .cms-text {
        font-size: var(--body);
        font-weight: 300;
        line-height: 1.4;
        letter-spacing: 0;
    }

    .cms-body-italic {
        font-size: var(--body);
        font-weight: 300;
        font-style: italic;
        line-height: 1.4;
    }

    .cms-body-bold {
        font-size: var(--body);
        font-weight: 700;
        line-height: 1.4;
    }

    .cms-body-bold-italic {
        font-size: var(--body);
        font-weight: 700;
        font-style: italic;
        line-height: 1.4;
    }


    /* =========================================================
   LINK
   ========================================================= */

    .cms-link {
        font-size: var(--body);
        font-weight: 300;
        line-height: 1.4;
        text-decoration: underline;
        color: var(--primary-color);
    }


    /* =========================================================
   SMALL
   ========================================================= */

    .cms-small {
        font-size: var(--small);
        font-weight: 300;
        line-height: 1.2;
    }

    .cms-small-bold {
        font-size: var(--small);
        font-weight: 700;
        line-height: 1.2;
    }


    /* =========================================================
   EXTRA SMALL
   ========================================================= */

    .cms-extra-small {
        font-size: 16px;
        font-weight: 300;
        line-height: 1.2;
    }

    .cms-extra-small-bold {
        font-size: 16px;
        font-weight: 700;
        line-height: 1.2;
    }


    /* =========================================================
   LABEL
   ========================================================= */

    .cms-label {
        font-size: 14px;
        font-weight: 700;
    }


    /* =========================================================
   BUTTON
   ========================================================= */

    .cms-button {
        font-size: 20px;
        font-weight: 400;
    }

    .public-page {
        width: 100%;
        max-width: var(--page-max-width, 1296px);
        margin-inline: auto;
        box-sizing: border-box;
    }
    /*//brakujace style//*/
    .cms-komponent--image {
        position: relative;
        width: 100%;
    }

        .cms-komponent--image section {
            width: 100%;
        }

    .komponent-obraz img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .komponent-obraz__figure {
        margin: 0;
    }

        .komponent-obraz__figure img {
            display: block;
            width: 100%;
            height: auto;
            max-width: 100%;
        }

    .komponent-obraz__caption {
        margin-top: 6px;
    }

    .komponent-obraz__media--circle {
        width: 100%;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        border-radius: 50%;
    }

    .komponent-obraz__figure .komponent-obraz__media--circle img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .cms-list {
        font-size: 20px;
    }

    .main-layout__fab {
        position: fixed;
        /*right: max(24px, calc((100vw - 1296px) / 2 - 28px));*/
        right: max(24px, calc((100vw - 1296px) / 2 - 230px));
        /*bottom: 160px;*/
        bottom: 20px;
        z-index: 9999;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 56px;
        padding: 10px 16px;
        border-radius: 10px;
        background: #0075BF;
        color: #fff;
        text-decoration: none;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.2;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
        transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    }

        .main-layout__fab:hover,
        .main-layout__fab:focus {
            color: #fff;
            text-decoration: none;
            transform: translateY(-1px);
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
            background: #005D99;
        }

    a {
        color: var(--cms-primary);
    }

    .programme-breadcrumb {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0 0 16px;
        font-size: 18px;
        line-height: 22px;
        color: #727588;
        background-color: #ffffff;
        width: 100%;
    }

    .programme-breadcrumb {
        background-color: #ffffff; /* Wymuszenie białego tła, by zakryć obrazek */
        position: relative;
        z-index: 2; /* Wyżej niż z-index: 1 kontenera content */
        margin-top: 0;
        padding-top: 10px; /* Ewentualny odstęp wewnętrzny zamiast marginesu */
        padding-bottom: 10px;
    }

        .programme-breadcrumb a {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: #1d1d1f;
            text-decoration: none;
        }

    .programme-breadcrumb__icon {
        display: block;
        flex: 0 0 auto;
    }

    .programme-breadcrumb__current {
        color: #727588;
    }