/* COOKIE LIŠTA – barvy webu (modrá #153974, žlutá #FFDD00), kompaktní, kontrastní */
.cc-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    background: #153974;
    color: #fff;
    border-top: 3px solid #FFDD00;
    padding: .85rem 0;
    font-size: .95rem;
    line-height: 1.5;
}
.cc-banner[hidden] { display: none; }
.cc-banner__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 2rem;
    align-items: center;
    justify-content: space-between;
}
.cc-banner__text { flex: 1 1 460px; }
.cc-banner .cc-banner__title {
    display: inline;
    font-size: inherit;
    line-height: inherit;
    font-weight: 700;
    color: #FFDD00;
    margin: 0 .35rem 0 0;
    letter-spacing: 0;
    text-transform: none;
}
.cc-banner__text p { display: inline; margin: 0; color: #fff; }
.cc-banner__text a { color: #FFDD00; font-weight: 600; text-decoration: underline; }
.cc-banner__text a:hover { color: #fff; }
.cc-banner__actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* Tlačítka – použitelná i mimo lištu (stránka cookies.php) */
.cc-btn {
    min-height: 44px;
    padding: .55rem 1.3rem;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.2;
    border-radius: 4px;
    border: 2px solid #153974;
    cursor: pointer;
    text-transform: none;
    transition: background-color .15s, color .15s, border-color .15s;
}
.cc-btn--primary { background: #153974; color: #fff; }
.cc-btn--primary:hover { background: #0f2b58; border-color: #0f2b58; }
.cc-btn--secondary { background: transparent; color: #153974; }
.cc-btn--secondary:hover { background: #153974; color: #fff; }

/* Varianta tlačítek na modré liště */
.cc-banner .cc-btn--primary { background: #FFDD00; border-color: #FFDD00; color: #153974; }
.cc-banner .cc-btn--primary:hover { background: #fff; border-color: #fff; }
.cc-banner .cc-btn--secondary { border-color: #fff; color: #fff; }
.cc-banner .cc-btn--secondary:hover { background: #fff; color: #153974; }

.cc-btn:focus-visible,
.cc-link-btn:focus-visible {
    outline: 3px solid #153974;
    outline-offset: 3px;
}
/* na modré liště a v tmavé patičce žlutý rámeček */
.cc-banner .cc-btn:focus-visible,
.cc-banner a:focus-visible,
#footer .cc-link-btn:focus-visible {
    outline-color: #FFDD00;
}
.cc-banner a:focus-visible { outline: 3px solid #FFDD00; outline-offset: 3px; }
/* nadpis dostává fokus jen kvůli čtečce obrazovky – bez rámečku */
.cc-banner__title:focus { outline: none; }

.cc-link-btn {
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
}

@media (max-width: 575px) {
    .cc-banner { font-size: .9rem; }
    .cc-banner__actions { width: 100%; }
    .cc-btn { flex: 1 1 0; padding-left: .75rem; padding-right: .75rem; }
}
