/* Úpravy pro mobily a úzká okna; nad 920 px zůstává původní vzhled. */
#consent-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    padding: 12px 16px;
    background: #000000;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

#consent-bar p {
    margin: 0 0 8px 0;
}

#consent-bar a {
    color: #FFFFFF;
}

#consent-bar button {
    min-width: 120px;
    margin: 0 4px;
    padding: 10px 16px;
    border: 1px solid #FFFFFF;
    border-radius: 5px;
    background: #FFFFFF;
    color: #000000;
    font-size: 15px;
    cursor: pointer;
}

@media (max-width: 920px) {
    body {
        font-size: 15px;
        text-align: left;
    }

    #header, #headerbg, #page, #footer, #sidebar {
        width: auto;
    }

    #header {
        height: auto;
        padding: 0 16px;
    }

    #header:after {
        content: "";
        display: block;
        clear: both;
    }

    #logo, #logo .logotop {
        float: none;
        margin-top: 16px;
        text-align: left;
    }

    #logo:after, #menu ul:after {
        content: "";
        display: block;
        clear: both;
    }

    #menu {
        float: none;
        margin-top: 8px;
    }

    #menu a, #menu a[href] {
        padding: 10px 10px;
        font-size: 14px;
    }

    #menu a:hover, #menu .current_page_item a {
        background: none;
        text-decoration: underline;
    }

    #headerbg {
        height: auto;
        aspect-ratio: 900 / 186;
        margin-top: 8px;
        background-size: cover !important;
    }

    #latest-post {
        float: none;
        width: auto;
        padding: 0 16px;
        font-size: 15px;
        line-height: 1.6;
    }

    #latest-post h1 {
        font-size: 1.6em;
        line-height: 1.2;
    }

    .button {
        width: auto;
        max-width: 500px;
        font-size: 18px;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    #latest-post table, #latest-post tbody, #latest-post tr {
        display: block;
        width: 100%;
    }

    #latest-post td {
        display: inline-block;
        width: 46%;
        vertical-align: top;
        font-size: 13px;
    }

    .sloupec-levy, .sloupec-pravy, .obrazek-doleva, .obrazek-doprava, .galeriefoto-left {
        float: none;
        width: auto;
        padding: 0 0 10px 0;
    }

    #footer {
        height: auto;
        margin-bottom: 0;
        background: #000000;
    }

    #legal, #links {
        float: none;
    }

    #paticka {
        padding: 16px;
    }
}
