/* Baner zgody i osadzenia wstrzymane do momentu jej wyrażenia. */

/* --- Baner cookies --- */

/* Pas bezpieczeństwa: wygaszony baner nie może przechwytywać kliknięć przy dolnej
   krawędzi okna, nawet zanim skrypt domknie mu klasy. Widoczność gaśnie dopiero po
   animacji, więc płynne zniknięcie zostaje zachowane. */
#cookie-notice:not(.cookie-notice-visible):not(.cookie-revoke-visible) {
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s linear 0.5s;
}

#cookie-notice.cookie-notice-visible,
#cookie-notice.cookie-revoke-visible {
    pointer-events: auto;
    visibility: visible;
    transition: visibility 0s;
}

/* Zgoda i odmowa muszą wyglądać tak samo - jedna nie może być trudniejsza od drugiej. */
#cookie-notice .cn-button.cn-button-custom {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1;
    padding: 10px 22px;
    margin: 0 0 0 10px;
    border: 1px solid #fff;
    border-radius: 0;
    background: transparent;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

#cookie-notice .cn-button.cn-button-custom:hover,
#cookie-notice .cn-button.cn-button-custom:focus-visible {
    background: #d39a5a;
    border-color: #d39a5a;
    color: #000;
}

#cookie-notice .cn-text-container {
    max-width: 720px;
    margin: 0 10px 6px 0;
    text-align: left;
}

#cookie-notice .cn-notice-link {
    color: #d39a5a;
    text-decoration: underline;
}

.cookie-notice-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

@media all and (max-width: 900px) {
    #cookie-notice .cn-text-container {
        margin-right: 0;
        text-align: center;
    }

    #cookie-notice .cn-button.cn-button-custom {
        margin: 0 5px;
    }
}

/* --- Link „Ustawienia cookies" w stopce --- */

.site-legal-bar {
    padding: 18px 30px;
    background-color: #000;
    color: #fff;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 200;
    letter-spacing: 0.5px;
}

.site-legal-bar__link {
    color: #fff;
    text-decoration: underline;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.site-legal-bar__link:hover,
.site-legal-bar__link:focus-visible {
    color: #d39a5a;
}

.site-legal-bar__sep {
    margin: 0 10px;
    opacity: 0.45;
}

/* --- Osadzenia wstrzymane do zgody --- */

.consent-embed {
    position: relative;
    display: block;
    width: 100%;
    line-height: normal;
}

.consent-embed__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    height: 100%;
    min-height: inherit;
    padding: 30px 25px;
    background-color: #111;
    color: #fff;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-weight: 200;
}

.consent-embed--loaded .consent-embed__placeholder {
    display: none;
}

.consent-embed__text {
    max-width: 520px;
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.consent-embed__button {
    display: inline-block;
    padding: 11px 26px;
    border: 1px solid #d39a5a;
    background: transparent;
    color: #d39a5a;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.consent-embed__button:hover,
.consent-embed__button:focus-visible {
    background: #d39a5a;
    color: #000;
}

.consent-embed__fallback {
    margin: 0;
    font-size: 13px;
    opacity: 0.75;
}

.consent-embed__fallback a {
    color: #fff;
    text-decoration: underline;
}

/* Odtwarza wymiary i wygląd, które reguły Elementora nadawały pierwotnemu iframe'owi. */
.elementor-element-090651a .consent-embed,
.elementor-element-090651a .consent-embed__placeholder {
    min-height: 377px;
}

.elementor-element-090651a .consent-embed iframe {
    display: block;
    width: 100%;
    height: 377px;
    border: 0;
}
