html {
    font-size: 18px;
}

body {
    color: #666;
    font-family: 'Kiro', sans-serif;
    font-weight: 400;
}

html, body {
    overflow-y: auto;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: #00539a;
    font-weight: normal;
    text-transform: uppercase;
}

/* Fixed modal bug */
body.modal-open {
    padding-right: 0px !important;
}

.modal {
    padding-right: 0px !important;
}

/* Header */
body > header {
    padding-top: 2rem;
    padding-bottom: 2rem;
    color: #4d4d4d;
}
    /* Logo */
    body > header .logo img {
        position: relative;
        max-width: 100%;
        height: auto;
    }

    body > header .logo img.white {
        display: none;
    }

    /* List items */
    body > header li {
        line-height: 55px;
    }

    /* Searchbox */
    body > header li.vyhledavani form {
        position: relative;
    }

    body > header li.vyhledavani form .search-box {
        width: 0px;
        overflow: hidden;
        position: absolute;
        right: 0px;
        z-index: 12;
        top: 7px;
    }

    header ul li.vyhledavani form [type="button"] {
        color: #666;
        background: none;
    }

    header ul li.vyhledavani form [type="submit"] {
        border-radius: 0 .25rem .25rem 0;
    }

    body > header button.nav {
        background: #00539a;
        border: 0;
        padding: 10px;
        position: relative;
        z-index: 1001;
    }

    body > header button.nav:hover {
        background: #003564;
    }

    /* Menu */
    body > header nav a {
        color: #00539a;
    }


    body > header nav > ul {
        display: flex;
    }

        body > header nav > ul > li {
            z-index: 11;
        }

            body > header nav > ul > li > a {
                text-align: center;
                display: block;
                text-decoration: none;
                text-transform: uppercase;
            }

            body > header nav > ul > li:hover > a  {
                text-decoration: underline;
            }

/* Header */
body > header > .container {
    position: relative;
}

body > header .christmas::before {
    content: "";
    background: url('/assets/img/christmas-left.jpg') no-repeat;
    position: absolute;
    top: -2rem;
    left: -743px;
    width: 743px;
    height: 635px;
}

body > header .christmas::after {
    content: "";
    background: url('/assets/img/christmas-right.jpg') no-repeat;
    position: absolute;
    top: -2rem;
    right: -726px;
    width: 726px;
    height: 676px;
}

body.home section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

    body.home section h2 {
        margin-bottom: 4rem;
    }

    body.home section.novinky {
        padding-top: 0;
        padding-bottom: 0;
        min-height: 500px;
    }

    body.home section.novinky .sy-box {
        margin-left: auto;
        margin-right: auto;
        max-width: 670px;
        height: 520px;
        position: relative;
    }

        body.home section.novinky .sy-box .sy-caption-wrap {
            left: 0;
            width: 100%;
            bottom: 20px;
            z-index: 4;
        }

        body.home section.novinky .sy-box .sy-slides-wrap .sy-slide > a > img {
            height: 520px;
            width: 670px;
        }

        body.home section.novinky .sy-box .sy-caption-wrap .sy-caption {
            text-align: right;
            left: 0;
            padding: 0 20px 0 0;
            background: none;
            border-radius: 0;
        }

            body.home section.novinky .sy-box .sy-slides-wrap .sy-caption > * {
                text-align: left;
                border-top-left-radius: 50px;
                border-bottom-right-radius: 50px;
                background: rgba(0, 83, 154, 0.8);
                padding: 20px 40px;
                display: inline-block;
                max-width: 95%;
                color: #fff;
                font-weight: normal;
                font-size: 2rem;
                text-decoration: none;
            }
        
        body.home section.novinky .sy-box .sy-slides-wrap .sy-caption a:hover {
            background: rgba(0, 82, 153, 1);
        }

        body.home section.novinky .sy-box .sy-controls li {
            z-index: 3;
        }
        
        body.home section.novinky .sy-box .sy-controls li a {
            opacity: 0.8;
        }

        body.home section.novinky .sy-box .sy-controls li a:hover {
            opacity: 1;
        }
        
        body.home section.novinky .sy-box .sy-controls li a:after {
            /*color: rgba(0, 82, 153, 1);*/
            color: #fff;
            content: "\f104";
            font-family: "Font Awesome 5 Pro";
            font-size: 6rem;
            font-weight: 100;
            background: none;
        }

        body.home section.novinky .sy-box .sy-controls li.sy-next a:after{
            content: "\f105";
        }

    body.home section.novinky .articles {
        width: 620px;
    }

        body.home section.novinky .articles .article {
            width: 290px;
            height: 250px;
            background-position: center center;
            background-size: cover;
            position: relative;
        }
        
        body.home section.novinky .articles .article:nth-child(1) {
            margin-left: 20px;
            margin-right: 20px;
            margin-bottom: 20px;
        }

        body.home section.novinky .articles .article:nth-child(3) {
            margin-left: 20px;
            margin-right: 20px;
        }


        body.home section.novinky .articles .article:after {
            content: "";
            width: 100%;
            height: 150px;
            position: absolute;
            bottom: 0;
            background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 70%);
            z-index: 1;
        }

            body.home section.novinky .articles .article a {
                position: relative;
                z-index: 2;
            }

                body.home section.novinky .articles .article a h5 {
                    color: #fff;
                    font-weight: normal;
                    text-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
                    margin-bottom: 0;
                    text-transform: none;
                    line-height: 1.1;
                }

                body.home section.novinky .articles .article a > span {
                    position: absolute;
                    top: 0;
                    left: 0;
                    bottom: 0;
                    right: 0;
                    z-index: 2;
                }

                    body.home section.novinky .articles .article a > span > span {
                        display: none;
                        padding: 15px 20px;
                        color: #fff;
                        border: 1px solid #fff;
                        border-top-left-radius: 30px;
                        border-bottom-right-radius: 30px;
                    }

            body.home section.novinky .articles .article a:hover {
                background: rgba(0, 82, 153, 0.8);
                text-decoration: none;
            }

                body.home section.novinky .articles .article a:hover > span > span {
                    display: block;
                }

                body.home section.novinky .articles .article a:hover h5 {
                    text-shadow: none;
                }

    /* Home - ambulance a poradny */
    body.home section.quick-links {
        padding-bottom: 0;
    }
        body.home section.quick-links ul li {
            text-transform: uppercase;
        }

        body.home section.quick-links ul li a h5 {
            color: #00539a;
        }

        body.home section.quick-links ul li a:hover h5 {
            text-decoration: underline;
        }

            body.home section.quick-links ul li a figure img {
                height: 90px;
            }

/* Home - ambulance a poradny */
section.ambulance-a-poradny {
    padding-bottom: 0;
}
    section.ambulance-a-poradny ul li {
        flex: 0 0 20%;
        max-width: 20%;
        padding-right: 15px;
        padding-left: 15px;
        text-transform: uppercase;
    }

    body.ambulance section.ambulance-a-poradny ul li {
        flex: 0 0 33%;
        max-width: 33%;
    }

    body.oddeleni section.ambulance-a-poradny ul li {
        flex: 0 0 50%;
        max-width: 50%;
    }

    section.ambulance-a-poradny ul li.kardiologie a h5 {
        color: #d03076;
    }

    section.ambulance-a-poradny ul li.chirurgicka a h5 {
        color: #f19425;
    }

    section.ambulance-a-poradny ul li.gastroenterologie a h5 {
        color: #f1c345;
    }

    section.ambulance-a-poradny ul li.hepatogastroenterologie a h5 {
        color: #b5975b;
    }

    section.ambulance-a-poradny ul li.interni a h5 {
        color: #eb7989;
    }

    section.ambulance-a-poradny ul li.ambulantni-centrum-pro-choroby-plicni a h5 {
        color: #89b44f;
    }

    section.ambulance-a-poradny ul li.nutricni-poradna a h5{
        color: #6dbda6;
    }

    section.ambulance-a-poradny ul li.radiologie-a-sonograficke-pracoviste a h5 {
        color: #5587a2;
    }

    section.ambulance-a-poradny ul li.odbery-krve a h5 {
        color: #976697;
    }

    section.ambulance-a-poradny ul li.ockovaci-centrum a h5 {
        color: #e5b738;
    }

    section.ambulance-a-poradny ul li.lekarna a h5 {
        color: #007ca0;
    }

    section.ambulance-a-poradny ul li.stomicka-poradna a h5{
        color: #29abe2;
    }

    section.ambulance-a-poradny ul li.dlouhodoba-intenzivni-osetrovatelska-pece a h5 {
        color: #5587a2;
    }

    section.ambulance-a-poradny ul li.nasledna-a-rehabilitacni-pece a h5 {
        color: #5587a2;
    }

    section.ambulance-a-poradny ul li a:hover h5 {
        text-decoration: underline;
    }

        section.ambulance-a-poradny ul li a figure {
            height: 90px;
        }

body.home section.plan-nemocnice {
    display: none;
    padding-top: 8rem;
    padding-bottom: 0;
    margin-bottom: 4rem;
    background-color: #e2f2ed;
    position: relative;
}

    body.home section.plan-nemocnice::before {
        background: url('../img/plan-nemocnice/bg-top.svg') no-repeat top center;
        background-size: cover;
        z-index: 1;
        position: absolute;
        content: "";
        width: 100%;
        height: 4rem;
        top: 0;
    }

    body.home section.plan-nemocnice::after {
        background: url('../img/plan-nemocnice/bg-bottom.svg') no-repeat top center;
        background-size: cover;
        z-index: 1;
        position: absolute;
        content: "";
        width: 100%;
        height: 4rem;
        bottom: -4rem;
    }

    body.home section.plan-nemocnice h2 {
        margin-bottom: 2rem;
    }

        body.home section.plan-nemocnice .map {
            position: relative;
            height: 590px;
        }

        body.home section.plan-nemocnice .container-fluid {
            overflow: hidden;
        }

        body.home section.plan-nemocnice .map .title {
            display: none;
            position: absolute;
            font-size: 2rem;
            color: #00539a;
            text-shadow: 0px 0px 20px #fff;
            text-transform: uppercase;
        }


body.home section.banner {
    padding-top: 4rem;
    padding-bottom: 0;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    background-image: url('/pics/home/banner/pripojte-se-do-naseho-zdravotnickeho-tymu.jpg?20231222'); 
    height: 1038px;
}

    body.home section.banner img {
        display: none;
    }
    
    
    @media (max-width: 991px) {
        body.home section.banner {
            background: none;
            height: auto;   
        }
    
        body.home section.banner img {
            display: inherit;
        }
        
        body.home section.banner::before,
        body.home section.banner::after {
            display: none;
        }
    }

    body.home section.banner::before {
        background: url('/assets/img/home/banner/bg-top.svg') no-repeat top center;
        background-size: cover;
        z-index: 1;
        position: absolute;
        content: "";
        width: 100%;
        height: 4rem;
        top: 0;
    }

    body.home section.banner::after {
        background: url('/assets/img/home/banner/bg-bottom.svg') no-repeat top center;
        background-size: cover;
        z-index: 1;
        position: absolute;
        content: "";
        width: 100%;
        height: 4rem;
        bottom: 0;
    }
    
    body.home section.banner a {
        position: relative;
        z-index: 2;
        display: block;
        width: 100%;
        height: 100%;
    }

body.home section.dulezite-informace ul li {
    text-transform: uppercase;
}

    body.home section.dulezite-informace ul li.jak-se-k-nam-dostat a h5 {
        color: #b6985c;
    }

    body.home section.dulezite-informace ul li.duchovni-pece a h5 {
        color: #37a971;
    }

    body.home section.dulezite-informace ul li.navstevni-hodiny a h5 {
        color: #29abe1;
    }

    body.home section.dulezite-informace ul li.cenik a h5 {
        color: #966696;
    }

    body.home section.dulezite-informace ul li a:hover h5 {
        text-decoration: underline;
    }

        body.home section.dulezite-informace ul li a figure img {
            height: 90px;
        }


body.home section.smluvni-pojistovny {
    padding-top: 0;
    margin-top: 4rem;
    background-color: #f2f2f2;
    position: relative;
}
    body.home section.smluvni-pojistovny::before {
        background: url('../img/smluvni-pojistovny/bg-top.svg') no-repeat top center;
        background-size: cover;
        z-index: 1;
        position: absolute;
        content: "";
        width: 100%;
        height: 4rem;
        top: -4rem;
    }

    @media (max-width: 991px) {
        body.home section.smluvni-pojistovny {
            padding-top: 4rem;
            margin-top: 0;
        }
        
        body.home section.smluvni-pojistovny::before {
            display: none;
        }
    }


    body.home section.smluvni-pojistovny .container {
        position: relative;
        z-index: 2;
    }

    body.home section.smluvni-pojistovny ul li {
        flex: 0 0 20%;
        max-width: 20%;
        padding-right: 15px;
        padding-left: 15px;
    }

        body.home section.smluvni-pojistovny ul li a figure {
            height: 90px;
        }

        body.home section.smluvni-pojistovny ul li a {
            color: #000;
        }


footer {
    background: #00539a;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    color: #fff;
}

    footer a {
        color: #fff;
    }

    footer a:hover {
        color: #80a9cd;
    }

    footer .copyright {
        color: #80a9cd;
    }

main > article header {
    border-radius: 5px;
    color: #fff
}
    main > article header h1 {
        color: #fff;
    }

    main > article header > .top {
        position: relative;
    }

    main > article header > .top > :first-child  {
        background: #b5975b;
        border-radius: 5px 0 100px 5px;
        padding: 2rem;
        z-index: 2;
    }

    main > article header > .top > :last-child {
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        background: url('../img/top/default.jpg') center top no-repeat;
        background-size: cover;
        border-radius: 0px 5px 5px 0px;
    }

    main > article header .breadcrumb {
        font-size: 0.7777777777777778rem;
        background: none;
        margin: 1.5rem 0;
        padding: 0;
        color: #a2a2a2;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
    }
        main > article header .breadcrumb ul li a {
            color: #808080;
        }

        main > article header .breadcrumb ul li:after {
            content: "/";
            margin-left: 0.5rem;
            margin-right: 0.5rem;
        }

        main > article header .breadcrumb ul li:last-child:after {
            display: none;
        }

/* Sidebar */
main > article aside.sidebar nav {
    background: #f4f5f5;
    border-radius: 5px;
    font-size: 0.8888888888888888rem;
}

    main > article aside.sidebar nav h4 {
        padding: 1.5rem;
        margin-bottom: 0;
    }

    main > article aside.sidebar nav ul li a {
        color: #000;
        padding: 0.5rem 1.5rem;
        display: block;
        border-bottom: 1px solid #ebecec;
    }

    main > article aside.sidebar nav a:hover {
        color: #00539a !important;
        text-decoration: none;
    }

    main > article aside.sidebar nav > ul > li:last-child > a {
        border-bottom: 0;
    }

    main > article aside.sidebar nav ul li.active,
    main > article aside.sidebar nav ul li:hover {
        background: #dbe4ec;
    }
        main > article aside.sidebar nav ul li.active > a {
            color: #00539a;
        }

        main > article aside.sidebar nav ul li ul li a {
            display: flex;
            color: #666;
            padding-left: 3rem;
            border-bottom: 1px solid #f4f5f5;
        }

        main > article aside.sidebar nav ul li ul li a:before {
            padding-right: 0.5rem;
            content: "•";
        }

    main > article aside.sidebar nav ul {
        margin: 0;
    }

        main > article aside.sidebar nav ul li ul {
            display: none;
        }

    main > article aside.sidebar nav ul li.active ul {
        display: block;
    }

main > article h1 {
    font-size: 2rem;
}


main > article h4,
main > article h5,
main > article h6 {
    color: #b5975b;
}

main > article .btn {
    padding: .5rem 1rem;
    border-radius: 30px 0px;
}

main > article ul.files {
    margin-bottom: 0;
    display: inline-block;
}

    main > article ul.files li {
        padding-left: 0.5rem;
        margin-bottom: 0.5rem;
    }

    main > article ul.files li a {
        display: flex;
        align-items: center;
        color: #666;
    }
        main > article ul.files li a:hover:before {
            text-decoration: none;
        }

        main > article ul.files li a:before {
            font-size: 2rem;
            margin-right: 1rem;
            content: "\f15b";
            font-family: "Font Awesome 5 Pro";
        }

        main > article ul.files li a.pdf:before {
            content: "\f1c1";
            color: #da4a54;
        }

        main > article ul.files li a.doc:before,
        main > article ul.files li a.docx:before {
            content: "\f1c2";
            color: #1d87e4;
        }

        main > article ul.files li a.xls:before,
        main > article ul.files li a.xlsx:before {
            content: "\f1c3";
            color: #38a692;
        }

        main > article ul.files li a.jpg:before,
        main > article ul.files li a.png:before {
            content: "\f1c5";
            color: #b5975b;
        }

main > article {
    padding-bottom: 4rem;
}

main > article section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

    main > article section:first-child {
        padding-top: 0;
    }

    main > article section:last-child {
        padding-bottom: 0;
    }

    main > article section h2 {
        text-align: center;
        margin-bottom: 4rem;
    }

    main > article section:not(:first-child) h2::after {
        content: "";
        box-shadow: 0px 0px 200px #ccc;
        width: 300px;
        height: 200px;
        display: block;
        border-radius: 50%;
        position: absolute;
        top: -200px;
        left: calc(50% - 300px/2);
    }

    main > article .table,
    main > article .table a {
        color: #666;
    }
        main > article .table caption {
            padding: 0px 1rem 1rem 1rem;
            caption-side: top;
        }

        main > article .table caption h5 {
            text-transform: none;
        }

        main > article .table th {
            font-weight: normal;
        }

        main > article .table th,
        main > article .table td {
            padding: 1rem;
            border: 0;
            font-weight: normal;
        }

        main > article .table table {
            padding: 0;
            margin: -.75rem;
        }
        
        main > article .table > thead tr {
            background: #00539a;
            color: #fff;
        }
        
            main > article .table > thead > tr > :first-child {
                border-radius: 5px 0px 0px 5px;
            }
            
            main > article .table > thead > tr > :last-child {
                border-radius: 0px 5px 5px 0px;
            }                    
        
            main > article .table > thead > tr > :not(:first-child) {
                text-align: right;
            }        
        
        main > article .table > tbody > tr:nth-child(odd) {
            background: #eef3f6;
            border-radius: 5px;
        }

            main > article .table > tbody > tr:nth-child(odd) > :first-child {
                border-radius: 5px 0px 0px 5px;
            }

            main > article .table > tbody > tr:nth-child(odd) > :last-child {
                border-radius: 0px 5px 5px 0px;
            }

            main > article .table > tbody > tr td:not(:first-child) {
                text-align: right;
            }
            
            main > article .table > tbody > tr:last-child:nth-child(even) {
                border-bottom: 1px solid #eef3f6;
            }


main > article ul.styled > li {
    display: flex;
}

    main > article ul.styled > li:before {
        padding-left: 2px;
        margin-right: 10px;
        content: "\f00c";
        font-family: "Font Awesome 5 Pro";
    }
        main > article ul.styled.dash > li:before {
            content: "\f86c";            
        }

        main > article ul.styled.circle > li:before {
            content: "•";
        }


main > article section.nase-sluzby ul li:last-child,
main > article section.co-pro-vas-muzeme-udelat ul li:last-child {
    margin-bottom: 0;
}

main > article section.kontakt > .quick, 
main > article .kontakt__quick {
    background: #eef3f6;
    border-radius: 5px;
    padding: 1.5rem;
}

    main > article section.kontakt > ul.quick,
    main > article section.kontakt > .quick ul,
    main > article .kontakt__quick, 
    main > article .kontakt__quick ul{
        margin-bottom: 0;        
    }

    main > article section.kontakt > .quick li,
    main > article .kontakt__quick li {
        text-align: center;
    }

    main > article section.kontakt > .quick li a,
    main > article .kontakt__quick li a {
        color: #666;
    }

main > article .contacts {
    margin-left: -30px;
    margin-right: -30px;
}

    main > article .contacts .contact {
        padding-left: 30px;
        padding-right: 30px;
        margin-top: 60px;
    }

        main > article .contacts .contact h4 {
            color: #00539a;
        }

        main > article .contacts .contact h5 {
            text-transform: none;
        }

        main > article .contacts .contact ul {
            margin-top: 1.5rem;
            margin-bottom: 0;
        }

            main > article .contacts .contact ul li {
                padding-bottom: 0.5rem;
            }

            main > article .contacts .contact ul li:last-child {
                padding-bottom: 0;
            }

                main > article .contacts .contact ul li a {
                    color: #666;
                }

/* Ambulance - Interna s kardilogickou poradnou */
body.interni-s-kardiologickou-poradnou main > article header > .top > :first-child  {
    background: #f39325;
}

body.interni-s-kardiologickou-poradnou main > article h4,
body.interni-s-kardiologickou-poradnou main > article h5,
body.interni-s-kardiologickou-poradnou main > article h6 {
    color: #f39325;
}

section.ambulance-a-poradny ul li.interni-s-kardiologickou-poradnou a h5 {
    color: #f39325;
}

/* Ambulance - Interna */
body.interni main > article header > .top > :last-child {
    background-image: url('../img/top/interni.jpg');
}

body.interni main > article header > .top > :first-child  {
    background: #eb7989;
}

body.interni main > article h4,
body.interni main > article h5,
body.interni main > article h6 {
    color: #eb7989;
}

/* Ambulance - Radiologie a sonografické pracoviště */
body.radiologie-a-sonograficke-pracoviste main > article header > .top > :last-child {
    background-image: url('../img/top/radiologie-a-sonograficke-pracoviste.jpg');
}

body.radiologie-a-sonograficke-pracoviste main > article header > .top > :first-child  {
    background: #5587a2;
}

body.radiologie-a-sonograficke-pracoviste main > article h4,
body.radiologie-a-sonograficke-pracoviste main > article h5,
body.radiologie-a-sonograficke-pracoviste main > article h6 {
    color: #5587a2;
}

/* Ambulance: Ambulantní centrum pro choroby plicní */
body.ambulantni-centrum-pro-choroby-plicni main > article header > .top > :last-child {
    background-image: url('../img/top/ambulantni-centrum-pro-choroby-plicni.jpg');
}
body.ambulantni-centrum-pro-choroby-plicni main > article header > .top > :first-child  {
    background: #89b44f;
}

body.ambulantni-centrum-pro-choroby-plicni main > article h4,
body.ambulantni-centrum-pro-choroby-plicni main > article h5,
body.ambulantni-centrum-pro-choroby-plicni main > article h6 {
    color: #89b44f;
}

/* Ambulance: Gastroenterologie */
body.gastroenterologie main > article header > .top > :first-child  {
    background: #f1c345;
}

body.gastroenterologie main > article h4,
body.gastroenterologie main > article h5,
body.gastroenterologie main > article h6 {
    color: #f1c345;
}

/* Ambulance: Chirurgie */
body.chirurgicka main > article header > .top > :first-child  {
    background: #f19425;
}

body.chirurgicka main > article h4,
body.chirurgicka main > article h5,
body.chirurgicka main > article h6 {
    color: #f19425;
}

/* Ambulance: Kardiologie */
body.kardiologie main > article header > .top > :last-child {
    background-image: url('../img/top/kardiologie.jpg');
}

body.kardiologie main > article header > .top > :first-child  {
    background: #d03076;
}

body.kardiologie main > article h4,
body.kardiologie main > article h5,
body.kardiologie main > article h6 {
    color: #d03076;
}

/* Ambulance: Nutriční poradna */
body.nutricni-poradna main > article header > .top > :first-child  {
    background: #6dbda6;
}

body.nutricni-poradna main > article h4,
body.nutricni-poradna main > article h5,
body.nutricni-poradna main > article h6 {
    color: #6dbda6;
}

/* Ambulance: Odběry krve */
body.odbery-krve main > article header > .top > :first-child  {
    background: #976697;
}

body.odbery-krve main > article header > .top > :last-child {
    background-image: url('../img/top/odbery-krve.jpg');
}

body.odbery-krve main > article h4,
body.odbery-krve main > article h5,
body.odbery-krve main > article h6 {
    color: #976697;
}

/* Ambulance: Stomická poradna */
body.stomicka-poradna main > article header > .top > :first-child  {
    background: #29abe2;
}

body.stomicka-poradna main > article h4,
body.stomicka-poradna main > article h5,
body.stomicka-poradna main > article h6 {
    color: #29abe2;
}

/* Oddělení */
body.oddeleni main > article header > .top > :first-child  {
    background: #5587a2;
}

body.oddeleni main > article h4,
body.oddeleni main > article h5,
body.oddeleni main > article h6 {
    color: #5587a2;
}

/* Oddělení: Následná a rehabilitační péče - 2. patro */
body.nasledna-a-rehabilitacni-pece-2-patro main > article header > .top > :last-child {
    background-image: url('../img/top/nasledna-a-rehabilitacni-pece-2-patro.jpg');
}

body.nasledna-a-rehabilitacni-pece-2-patro main > article header > .top > :first-child  {
    background: #5587a2;
}

body.nasledna-a-rehabilitacni-pece-2-patro main > article h4,
body.nasledna-a-rehabilitacni-pece-2-patro main > article h5,
body.nasledna-a-rehabilitacni-pece-2-patro main > article h6 {
    color: #5587a2;
}

body.nasledna-a-rehabilitacni-pece-4-patro main > article header > .top > :last-child {
    background-image: url('../img/top/nasledna-a-rehabilitacni-pece-4-patro.jpg');
}

/* Oddělení: Následná a rehabilitační péče - 4. patro */
body.nasledna-a-rehabilitacni-pece-4-patro main > article header > .top > :first-child  {
    background: #5587a2;
}

body.nasledna-a-rehabilitacni-pece-4-patro main > article h4,
body.nasledna-a-rehabilitacni-pece-4-patro main > article h5,
body.nasledna-a-rehabilitacni-pece-4-patro main > article h6 {
    color: #5587a2;
}

/* Oddělení: Následná a rehabilitační péče - 5. patro */
body.nasledna-a-rehabilitacni-pece-5-patro main > article header > .top > :last-child {
    background-image: url('../img/top/nasledna-a-rehabilitacni-pece-5-patro.jpg');
}

body.nasledna-a-rehabilitacni-pece-5-patro main > article header > .top > :first-child  {
    background: #5587a2;
}

body.nasledna-a-rehabilitacni-pece-5-patro main > article h4,
body.nasledna-a-rehabilitacni-pece-5-patro main > article h5,
body.nasledna-a-rehabilitacni-pece-5-patro main > article h6 {
    color: #5587a2;
}


/* Oddělení: Dlouhodobá intenzivní ošetřovatelská péče */
body.dlouhodoba-intenzivni-osetrovatelska-pece main > article header > .top > :last-child {
    background-image: url('../img/top/dlouhodoba-intenzivni-osetrovatelska-pece.jpg');
}

body.dlouhodoba-intenzivni-osetrovatelska-pece main > article header > .top > :first-child  {
    background: #5587a2;
}

body.dlouhodoba-intenzivni-osetrovatelska-pece main > article h4,
body.dlouhodoba-intenzivni-osetrovatelska-pece main > article h5,
body.dlouhodoba-intenzivni-osetrovatelska-pece main > article h6 {
    color: #5587a2;
}



/* Ambulance */
body.ambulance main > article header > .top > :first-child  {
    background: #00539a;
}

body.ambulance main > article h4,
body.ambulance main > article h5,
body.ambulance main > article h6 {
    color: #00539a;
}

/* Lékárna */
body.lekarna main > article header > .top > :last-child {
    background-image: url('../img/top/lekarna.jpg');
}

body.lekarna main > article header > .top > :first-child  {
    background: #007ca0;
}

body.lekarna main > article h4,
body.lekarna main > article h5,
body.lekarna main > article h6 {
    color: #007ca0;
}

body.lekarna main > article #rezervace-z-ereceptu {
    padding-top: 50px;
}

body.lekarna main > article #rezervace-z-ereceptu h2 {
    padding: 40px;
    color: #fff;
    background: #00539a;
    text-align: right;
    margin: 0;
    position: relative;
    text-transform: none;
}

body.lekarna main > article #rezervace-z-ereceptu h2::after {
    display: none;
}

body.lekarna main > article #rezervace-z-ereceptu h2 img {
    position: absolute;
    left: 0;
}

body.lekarna main > article #rezervace-z-ereceptu iframe {
    width: 100%;
    min-height: 650px; 
    border: 0;
}


body.lekarna main > article #formular-rezervace-ereceptu iframe {
    width: 100%;
    min-height: 650px; 
    border: 0;
}
body.lekarna main > article .akce h2 {
    background: #00539a;
    color: #fff;
    padding: 30px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    margin-bottom: 3rem;
}

body.lekarna main > article .akce .campaign-products {
    margin-bottom: -3rem;
}

body.lekarna main > article .akce .campaign-products .campaign-products__product-inner {
    position: relative;
    padding-top: 40px;
    padding-bottom: 3rem;
}

body.lekarna main > article .akce .campaign-products .campaign-products__product-discount {
    background: #b5975b;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    height: 80px;
    color: #fff;
    line-height: 1;
    text-transform: uppercase;
}

body.lekarna main > article .akce .campaign-products .campaign-products__product-discount-percent {
    font-size: 1.5rem;
}

body.lekarna main > article .akce .campaign-products .campaign-products__product-picture {
    height: 160px;
}

body.lekarna main > article .akce .campaign-products .campaign-products__product-picture img {
    max-height: 160px;
}

body.lekarna main > article .akce .campaign-products .campaign-products__product-price {
    padding-top: 10px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    background: url('/assets/img/lekarna/campaing-price-shadow.png') no-repeat;
    width: 176px;
    height: 116px;
    text-align: center;
}

body.lekarna main > article .akce .campaign-products .campaign-products__product-price-before {
    font-size: 1.125rem; 
    color: #222;    
    line-height: 1;
    text-decoration: line-through;
}

body.lekarna main > article .akce .campaign-products .campaign-products__product-price-after {
    font-size: 1.875rem;
    color: #00539a;
    line-height: 1;
}

body.lekarna main > article .akce .campaign-products .campaign-products__product-title {
    font-size: 1.5rem;
    color: #222;
}

body.lekarna main > article .akce .campaign-products .campaign-products__product-description {
    line-height: 1.2;
}

body.lekarna main > article .akce .campaign-products .campaign-products__product-validity {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #c0c0c0;
    color: #979797;
    font-size: 80%;
}


/* Návštěvní hodiny */
body.navstevni-hodiny main > article header > .top > :first-child  {
    background: #29abe1;
}

body.navstevni-hodiny main > article h4,
body.navstevni-hodiny main > article h5,
body.navstevni-hodiny main > article h6 {
    color: #29abe1;
}

/* Kontakty */
body.kontakty main > article header > .top > :first-child  {
    background: #b5975b;
}

body.kontakty main > article h3,
body.kontakty main > article h3 a {
    color: #b5975b;
}

main > article .accordion .card {
    border-color: #eef3f6;
}

    main > article .accordion .card .card-header {
        padding: 0;
        border: 0;
        background: none;
        box-shadow: none;
    }

        main > article .accordion .card .card-header > * {
            background: #eef3f6;
            padding: 1rem 1.5rem;
            border: 0;
            width: 100%;
            color: #666;
        }

        main > article .accordion .card:nth-child(even) .card-header > * {
            border-bottom: 1px solid #eef3f6;
            background: none;
        }

        main > article .accordion .card:nth-child(even) .card-body {
            border-top: 1px solid #eef3f6;
        }

    main > article .accordion .card .card-body {
        padding: 1.5rem;
    }

        main > article .accordion .card .card-body h5 {
            margin-top: 3rem;
        }

        main > article .accordion .card .card-body h5:first-child {
            margin-top: 0;
        }

/* Kariéra */
/*
body > header nav > ul > li.kariera > div > div {
    background-image: url('../img/nav/kariera.jpg?20200817');
}
*/

body.kariera main > article header > .top > :last-child {
    background-image: url('../img/top/kariera.jpg?20200817');
}

body.kariera main > article header > .top > :first-child  {
    background: #52b9ad;
}

body.kariera main > article h3,
body.kariera main > article h4,
body.kariera main > article h5,
body.kariera main > article h6,
body.kariera main > article .volna-mista .card-header button i,
body.kariera main > article ul.styled li:before {
    color: #52b9ad;
}

body.kariera main > article .volna-mista h3 {
    margin-top: 4rem;
}

body.kariera main > article .volna-mista .contacts h6 {
    color: #4d4d4d;
}
body.kariera main > article .volna-mista .contacts ul {
    margin-top: 1rem;
}

body.kariera main > article .volna-mista .contacts li {
    padding-bottom: 0.5rem;
}

body.kariera main > article .volna-mista .contacts li:last-child {
    padding-bottom: 0;
}

body.kariera main > article .contacts .contact {
    margin-top: 0;
}

/* Fotogalerie */
main > article .fotogalerie .row > div {
    padding-top: 30px;
}

main > article .fotogalerie .row > div:nth-child(-n+3) {
    padding-top: 0;
}

    main > article .fotogalerie .row > div > a {
        width: 100%;
        height: 250px;
        background-size: cover;
        background-position: center center;
        border-radius: 5px;
        display: block;
    }

    main > article .fotogalerie .row div > .title {
        margin-top: 0px;
        text-align: center;
    }

/* Aktuality */
/*
body > header nav > ul > li.aktuality > div > div {
    background-image: url('../img/nav/aktuality.jpg');
}
*/

/*
body.aktuality main > article header > .top > :last-child {
    background-image: url('../img/top/aktuality.jpg');
}
*/

body.aktuality main > article section.items article,
body.pripravte-me-o-praci main > article section.items article {
    margin-top: 4rem;
}

body.aktuality main > article section.items article:first-child,
body.pripravte-me-o-praci main > article section.items article:first-child {
    margin-top: 0;
}

    body.aktuality main > article section.items article > div:first-child:hover,
    body.pripravte-me-o-praci main > article section.items article > div:first-child:hover {
        opacity: 0.8;
    }

        body.aktuality main > article section.items article > div:first-child a,
        body.pripravte-me-o-praci main > article section.items article > div:first-child a {
            background-repeat: no-repeat;
            background-position: center center;
            background-size: cover;
            border-radius: 50px 5px 50px 5px;
        }
        
        body.aktuality main > article section.item .header {
            margin-bottom: 4rem;
        }
            body.aktuality main > article section.item .header h2 {
                margin: 0;
            }
        
        body.aktuality main > article section.item .preview img {
            max-height: 150px;
            border-radius: 50px 5px 50px 5px;
        }
        
        body.aktuality main > article section.item * {
            text-align: left;
        }

/* Aktuality: filtr rubrik a odkazy zpět na výpis (bez závislosti na body.*) */
.news-filter {
    margin: 0 0 3rem;
    padding: 1.25rem 1.5rem;
    background: #f4f5f5;
    border-radius: 5px;
}

    /* přebíjí main > article section h2 (centrování, odsazení, ::after) i body.home section h2 */
    .news-filter .lbl {
        margin: 0 0 0.75rem;
        font-size: 0.85rem;
        font-weight: bold;
        letter-spacing: 0.08em;
        text-align: left;
        color: #86692a;
    }

    .news-filter .lbl::after {
        content: none;
    }

    .news-filter ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

        .news-filter li a {
            display: inline-flex;
            align-items: center;
            padding: 0.4rem 0.95rem;
            border: 1px solid #00539a;
            border-radius: 15px 0;
            background: #fff;
            color: #00539a;
            font-size: 0.9rem;
            line-height: 1.2;
            text-decoration: none;
            transition: background-color 0.2s, color 0.2s;
        }

        .news-filter li a:hover {
            background: #dbe4ec;
            text-decoration: none;
        }

        /* za :hover, aby aktivní rubrika zůstala modrá i při najetí */
        .news-filter li a.active {
            background: #00539a;
            color: #fff;
        }

        .news-filter li a.active:hover {
            background: #003564;
        }

        .news-filter li a:focus-visible {
            outline: 2px solid #00539a;
            outline-offset: 2px;
        }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #00539a;
    text-decoration: none;
}

    .back-link span {
        text-decoration: underline;
    }

    .back-link:hover {
        color: #003564;
        text-decoration: none;
    }

    .back-link:hover span {
        text-decoration: none;
    }

    .back-link:focus-visible {
        outline: 2px solid #00539a;
        outline-offset: 2px;
    }

.back-link.bottom {
    margin: 2.5rem 0 0;
}

/* Blok "Přečtěte si" (www/inc/aktuality-radky.inc.php): vkládá se na libovolnou stránku, proto bez body.* */
.news-read {
    margin-top: 1.75rem;
}

    /* přebíjí main > article section h2 (centrování, odsazení, ::after) i body.home section h2 */
    .news-read .lbl,
    .news-cards .lbl {
        margin: 0 0 0.6rem;
        font-size: 0.85rem;
        font-weight: bold;
        letter-spacing: 0.08em;
        text-align: left;
        color: #86692a;
    }

    .news-read .lbl::after,
    .news-cards .lbl::after {
        content: none;
    }

    .news-read ul {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.6rem;
        margin: 0;
        padding: 0;
    }

        .news-read li a {
            display: flex;
            align-items: center;
            gap: 1rem;
            height: 100%;
            padding: 0.9rem 1.1rem;
            border-radius: 5px;
            background: #fff;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
            color: #00539a;
            text-decoration: none;
            transition: background-color 0.2s;
        }

        .news-read li a:hover {
            background: #dbe4ec;
            text-decoration: none;
        }

        .news-read li a:focus-visible {
            outline: 2px solid #00539a;
            outline-offset: 2px;
        }

            .news-read li a .fa-newspaper {
                flex: 0 0 1.6rem;
                font-size: 1.4rem;
                text-align: center;
                color: #b5975b;
            }

            .news-read li a .title {
                flex: 1;
                min-width: 0;
                font-size: 0.95rem;
                line-height: 1.3;
                overflow-wrap: break-word;
            }

            .news-read li a .fa-long-arrow-right {
                flex: 0 0 auto;
                color: #00539a;
            }

    .news-read .more,
    .news-cards .all .more {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        margin-top: 0.9rem;
        font-size: 0.85rem;
        font-weight: bold;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #00539a;
        text-decoration: none;
    }

        .news-read .more span,
        .news-cards .all .more span {
            text-decoration: underline;
        }

        .news-read .more:hover,
        .news-cards .all .more:hover {
            color: #003564;
            text-decoration: none;
        }

        .news-read .more:hover span,
        .news-cards .all .more:hover span {
            text-decoration: none;
        }

        .news-read .more:focus-visible,
        .news-cards .all .more:focus-visible {
            outline: 2px solid #00539a;
            outline-offset: 2px;
        }

/* Blok "Karty aktualit" (www/inc/aktuality-karty.inc.php): nadpis a odkaz na výpis sdílí vzhled s blokem "Přečtěte si" */
.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    text-decoration: none;
}

    .news-card:hover {
        text-decoration: none;
    }

    .news-card:hover .title {
        text-decoration: underline;
    }

    .news-card:focus-visible {
        outline: 2px solid #00539a;
        outline-offset: 2px;
    }

    .news-card .photo {
        display: block;
        aspect-ratio: 4 / 3;
        overflow: hidden;
    }

        .news-card .photo img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .news-card .body {
        display: block;
        padding: 1.5rem;
    }

    .news-card .title {
        font-size: 1.2rem;
        color: #00539a;
        text-transform: uppercase;
    }

    /* margin-top: auto drží odkaz u spodního okraje, i když mají karty různě dlouhé názvy */
    .news-card .more {
        margin-top: auto;
        padding: 0 1.5rem 1.5rem;
        font-size: 0.9rem;
        text-transform: uppercase;
        color: #00539a;
    }

        .news-card .more .fa-long-arrow-right {
            margin-left: 0.5rem;
        }

.news-cards .all {
    text-align: center;
}

/* Modal */
.bootbox .modal-dialog .modal-content {
    border: 0;
}

    .bootbox .modal-dialog .modal-content .modal-body {
        padding: 2rem;
    }

    .bootbox .modal-dialog .modal-content .modal-header {
        border: 0;
        background: #00539a;
        color: #fff;
    }

    .bootbox .modal-dialog .modal-content .modal-header .modal-title {
        color: #fff;
        font-size: 2rem;
    }

    .bootbox .modal-dialog .modal-content .modal-header .close {
        color: #fff;
        text-shadow: none;
    }

    .bootbox .modal-dialog .modal-content .modal-header .close:hover {
        opacity: 1;
    }


/* Vyhledávání */
body.vyhledavani article h2 {
    margin-top: 4rem;
}

body.vyhledavani article h3 {
    border-bottom: 1px solid;
    margin: 0;
    color: #b5975b;
    line-height: normal;
}
    body.vyhledavani article h3 span {
        background: #b5975b;
        padding: 1rem 2rem;
        border-radius: 5px 0px 50px 0px;
        color: #fff;
    }

body.vyhledavani article .items .item {
    margin-top: 2rem;
}

/* O nás */
body > header nav > ul > li.o-nas > div > div {
    background-image: url('../img/nav/o-nas.jpg');
}

body.o-nas main > article header > .top > :last-child {
    background-image: url('../img/top/o-nas.jpg');
}

/* Duchovní péče */
body.duchovni-pece main > article header > .top > :last-child {
    background-image: url('../img/top/duchovni-pece.jpg');
}

/* Hepatogastroenterologie */
body.hepatogastroenterologie main > article header > .top > :last-child {
    background-image: url('../img/top/hepatogastroenterologie.jpg');
}

/* Ambulance: Očkovací centrum */
body.ockovaci-centrum main > article header > .top > :first-child  {
    background: #e5b738;
}

body.ockovaci-centrum main > article h4,
body.ockovaci-centrum main > article h5,
body.ockovaci-centrum main > article h6 {
    color: #e5b738;
}

main > article section.formular form {
    background: #eef3f6; 
    padding: 30px;
}

main > article section.formular form .form-control {
    border-color: #d8e0e5;
}

main > article section.formular form .req {
    color: #cc0d1f;
}

/* Promo: Matásek */
body > header nav > ul > li > div > div {
    background-image: url('../img/nav/tradicni-moderni-privetiva-pomahajici.png') !important;
    min-height: 308px;
}

main > article header > .top > :first-child {
    background: #b5975b !important;
}
/*
main > article header > .top > :last-child {
    background-image: url('../img/top/tradicni-moderni-privetiva-pomahajici.png') !important;
    background-position:  right center !important;
    background-size: initial;
}
*/

/* Promo */
main > article header > .top > :last-child {
    background-image: url('../img/top/jsme-tu-pro-vas-na-zizkove.png') !important;
    background-position:  right center !important;
    background-size: initial;
}

    
    
body.prakticke-informace main > article #jidelnicek iframe {
    background: #eef3f6;
    padding: 20px;
    width: 100%;
    min-height: 550px; 
    border: 0;
}

/* Fakt boží péče (www/pages/fakt-bozi-pece.php, doména faktbozipece.cz) */
body.fakt-bozi-pece {
    background: #fff;
}

body.fakt-bozi-pece .fbp {
    color: #666;
}

    body.fakt-bozi-pece .fbp img {
        display: block;
        max-width: 100%;
    }

    body.fakt-bozi-pece .fbp h2 {
        font-size: 2rem;
        line-height: 1.15;
        margin-bottom: 1.5rem;
    }

    body.fakt-bozi-pece .fbp .eyebrow {
        color: #b5975b;
        text-transform: uppercase;
        font-size: 0.85rem;
        letter-spacing: 0.08em;
        font-weight: 700;
        margin-bottom: 0.75rem;
    }

    body.fakt-bozi-pece .fbp .lead-text {
        font-size: 1.2rem;
        color: #00539a;
        margin-bottom: 1.5rem;
    }

    /* Tlačítka ve tvaru lístku (stejný tvar jako na zbytku webu) */
    body.fakt-bozi-pece .fbp .btn {
        padding: 0.6rem 1.4rem;
        border-radius: 30px 0;
        text-transform: uppercase;
        font-size: 0.95rem;
        letter-spacing: 0.03em;
    }

        body.fakt-bozi-pece .fbp .btn i {
            margin-left: 0.5rem;
        }

    body.fakt-bozi-pece .fbp .fbp-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    body.fakt-bozi-pece .fbp .btn-white {
        background: #fff;
        color: #00539a;
        border-color: #fff;
        transition: background-color 0.2s, color 0.2s;
    }

    body.fakt-bozi-pece .fbp .btn-white:hover,
    body.fakt-bozi-pece .fbp .btn-white:focus-visible {
        background: #00539a;
        color: #fff;
        border-color: #00539a;
    }

    body.fakt-bozi-pece .fbp .btn-outline-white {
        border: 1px solid #fff;
        color: #fff;
        background: transparent;
    }

    body.fakt-bozi-pece .fbp .btn-outline-white:hover {
        background: rgba(255, 255, 255, 0.12);
    }

    body.fakt-bozi-pece .fbp .photo {
        position: relative;
        border-radius: 5px;
        overflow: hidden;
    }

        body.fakt-bozi-pece .fbp .photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    body.fakt-bozi-pece .fbp .photo.ratio-1x1 {
        aspect-ratio: 1 / 1;
    }

    body.fakt-bozi-pece .fbp .photo.ratio-4x3 {
        aspect-ratio: 4 / 3;
    }

    body.fakt-bozi-pece .fbp .play {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 72px;
        height: 72px;
        padding-left: 4px;
        border-radius: 50%;
        background: rgba(0, 83, 154, 0.85);
        color: #fff;
        font-size: 1.4rem;
        transition: background-color 0.2s;
    }

    body.fakt-bozi-pece .fbp a:hover .play {
        background: #00539a;
    }

/* Úvod a závěr: zvětšený zlatý panel z hlaviček podstránek (main > article header > .top) */
body.fakt-bozi-pece .fbp-hero {
    position: relative;
    display: flex;
    min-height: 520px;
    border-radius: 5px;
    overflow: hidden;
}

    body.fakt-bozi-pece .fbp-hero .panel {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 52%;
        padding: 3.5rem 3rem;
        border-radius: 5px 0 160px 5px;
        background: #b5975b;
        color: #fff;
    }

        body.fakt-bozi-pece .fbp-hero .panel h1 {
            margin: 0 0 0.6rem;
            font-size: 3.2rem;
            font-weight: 700;
            line-height: 1;
            color: #fff;
        }

        body.fakt-bozi-pece .fbp-hero .panel .claim {
            margin-bottom: 1.4rem;
            font-size: 1.45rem;
        }

        body.fakt-bozi-pece .fbp-hero .panel p {
            margin-bottom: 1rem;
        }

        body.fakt-bozi-pece .fbp-hero .panel .eyebrow {
            color: #f3e7cc;
        }

        body.fakt-bozi-pece .fbp-hero .panel .choose {
            margin: 0.5rem 0 0.6rem;
            font-size: 0.85rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #f3e7cc;
        }

    /* .visual, ne .picture: na a.picture se v global.js váže galerie. 64 % sahá pod zaoblený roh panelu (52 % + oblouk). */
    body.fakt-bozi-pece .fbp-hero .visual {
        position: absolute;
        top: 0;
        right: 0;
        width: 64%;
        height: 100%;
    }

    body.fakt-bozi-pece .fbp-hero a.visual {
        display: block;
    }

        body.fakt-bozi-pece .fbp-hero .visual img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    /* Tlačítko přehrání v rohu fotky, uprostřed zakrývalo lidi */
    body.fakt-bozi-pece .fbp-hero .play {
        left: auto;
        top: 1.5rem;
        right: 1.5rem;
        transform: none;
    }

    body.fakt-bozi-pece .fbp-hero:not(.reverse) .visual img {
        object-position: left center;
    }

    /* Odkaz na video je jen podtržený text, ikona zůstane bez podtržení */
    body.fakt-bozi-pece .fbp-hero .hero-video {
        display: inline-flex;
        align-items: center;
        align-self: flex-start;
        gap: 0.6rem;
        margin-top: 1.25rem;
        color: #fff;
        text-decoration: none;
    }

        body.fakt-bozi-pece .fbp-hero .hero-video .txt {
            text-decoration: underline;
        }

        body.fakt-bozi-pece .fbp-hero .hero-video:hover .txt,
        body.fakt-bozi-pece .fbp-hero .hero-video:focus-visible .txt {
            text-decoration: none;
        }

        body.fakt-bozi-pece .fbp-hero .hero-video:focus-visible {
            outline: 2px solid #fff;
            outline-offset: 2px;
        }

        body.fakt-bozi-pece .fbp-hero .hero-video .ico {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            padding-left: 3px;
            border: 1px solid #fff;
            border-radius: 50%;
            font-size: 0.75rem;
        }

        body.fakt-bozi-pece .fbp-hero .hero-video:hover .ico {
            background: rgba(255, 255, 255, 0.15);
        }

/* Závěr: stejný panel zrcadlově, fotka vlevo */
body.fakt-bozi-pece .fbp-hero.reverse .panel {
    margin-left: auto;
    padding-left: 5rem;
    border-radius: 0 5px 5px 160px;
}

body.fakt-bozi-pece .fbp-hero.reverse .visual {
    right: auto;
    left: 0;
}

body.fakt-bozi-pece .fbp-closing .panel h2 {
    color: #fff;
}

/* odkazy jsou v HTML bez mezer a nowrap, proto se zalamují jako flex položky */
body.fakt-bozi-pece .fbp-closing .links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.5rem;
}

body.fakt-bozi-pece .fbp-closing .links a {
    font-size: 1rem;
    color: #fff;
    text-decoration: underline;
    white-space: nowrap;
}

body.fakt-bozi-pece .fbp-closing .links a:hover,
body.fakt-bozi-pece .fbp-closing .links a:focus-visible {
    color: #f3e7cc;
    text-decoration: none;
}

body.fakt-bozi-pece .fbp-closing .links a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

body.fakt-bozi-pece .fbp-closing .sign {
    margin-top: 2rem;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}

    body.fakt-bozi-pece .fbp-closing .sign span {
        display: block;
        margin-top: 0.3rem;
        font-size: 1.1rem;
        font-weight: 400;
        color: #f3e7cc;
        text-transform: none;
    }

/* Oddíly stránky */
body.fakt-bozi-pece .fbp-section {
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

    body.fakt-bozi-pece .fbp-section.grey {
        background: #f2f2f2;
    }

    body.fakt-bozi-pece .fbp-section.light {
        background: #eef3f6;
    }

    body.fakt-bozi-pece .fbp-section .center {
        max-width: 760px;
        margin: 0 auto 3rem;
        text-align: center;
    }

/* Oblouky oddílů (jako banner na úvodní stránce): .arch vyklenutí nahoru, .arch.down průhyb dolů, oddíly se střídají.
   Horní i spodní okraj mají stejnou křivku, odsazení vyrovnává obsah uprostřed. */
body.fakt-bozi-pece .fbp-section.arch::before,
body.fakt-bozi-pece .fbp-section.arch::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 4rem;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
}

body.fakt-bozi-pece .fbp-section.arch:not(.down) {
    margin-top: 4rem;
    padding-top: 3rem;
    padding-bottom: 9rem;
}

body.fakt-bozi-pece .fbp-section.arch:not(.down)::before {
    top: -4rem;
}

body.fakt-bozi-pece .fbp-section.arch:not(.down)::after {
    bottom: -1px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 75' preserveAspectRatio='none'%3E%3Cpath d='M0,75C480,-25,1440,-25,1920,75Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

body.fakt-bozi-pece .fbp-section.arch.down {
    margin-bottom: 4rem;
    padding-top: 9rem;
    padding-bottom: 3rem;
}

body.fakt-bozi-pece .fbp-section.arch.down::before {
    top: -1px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 75' preserveAspectRatio='none'%3E%3Cpath d='M0,0C480,100,1440,100,1920,0Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

body.fakt-bozi-pece .fbp-section.arch.down::after {
    bottom: -4rem;
}

body.fakt-bozi-pece .fbp-section.arch.grey:not(.down)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 75' preserveAspectRatio='none'%3E%3Cpath d='M0,75C480,-25,1440,-25,1920,75Z' fill='%23f2f2f2'/%3E%3C/svg%3E");
}

body.fakt-bozi-pece .fbp-section.arch.down.grey::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 75' preserveAspectRatio='none'%3E%3Cpath d='M0,0C480,100,1440,100,1920,0Z' fill='%23f2f2f2'/%3E%3C/svg%3E");
}

body.fakt-bozi-pece .fbp-section.arch.light:not(.down)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 75' preserveAspectRatio='none'%3E%3Cpath d='M0,75C480,-25,1440,-25,1920,75Z' fill='%23eef3f6'/%3E%3C/svg%3E");
}

body.fakt-bozi-pece .fbp-section.arch.down.light::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 75' preserveAspectRatio='none'%3E%3Cpath d='M0,0C480,100,1440,100,1920,0Z' fill='%23eef3f6'/%3E%3C/svg%3E");
}

/* Karty pilířů (stejné zaoblení a stín jako dlaždice webu) */
body.fakt-bozi-pece .fbp-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

    body.fakt-bozi-pece .fbp-card .photo {
        aspect-ratio: 4 / 3;
        border-radius: 0;
    }

    body.fakt-bozi-pece .fbp-card .body {
        padding: 1.5rem;
    }

    body.fakt-bozi-pece .fbp-card h3 {
        margin-bottom: 0.5rem;
        font-size: 1.2rem;
    }

    body.fakt-bozi-pece .fbp-card p {
        margin-bottom: 0;
        font-size: 0.95rem;
    }

/* Mapka dostupnosti (oddíl 3): čárové schéma bez pozadí, barvy linek jako mapa v Kontaktech */
body.fakt-bozi-pece .fbp-minimap {
    margin: 1.75rem 0 0;
}

    body.fakt-bozi-pece .fbp-minimap svg {
        display: block;
        width: 100%;
        height: auto;
        overflow: visible;
    }

    body.fakt-bozi-pece .fbp-minimap text {
        font-family: 'Kiro', sans-serif;
    }

    body.fakt-bozi-pece .fbp-minimap .t-stop {
        font-size: 17px;
        font-weight: 700;
    }

    body.fakt-bozi-pece .fbp-minimap .t-small {
        font-size: 14px;
        fill: #808080;
    }

    body.fakt-bozi-pece .fbp-minimap .t-tram {
        fill: #00539a;
    }

    body.fakt-bozi-pece .fbp-minimap .t-bus {
        fill: #9c8049;
    }

    body.fakt-bozi-pece .fbp-minimap .t-metro {
        fill: #2e9b5f;
    }

    body.fakt-bozi-pece .fbp-minimap figcaption a {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        margin-top: 0.5rem;
        font-size: 0.85rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #00539a;
        text-decoration: none;
    }

        body.fakt-bozi-pece .fbp-minimap figcaption a span {
            text-decoration: underline;
        }

        body.fakt-bozi-pece .fbp-minimap figcaption a:hover span {
            text-decoration: none;
        }

/* Oddíl 4: dva sloupce oddělené linkou, na mobilu pod sebou */
body.fakt-bozi-pece .fbp-divider {
    border-left: 1px solid #e4e4e4;
}

/* Zvýrazněné číslo (DIOP) */
body.fakt-bozi-pece .fbp-fact {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin: 1.5rem 0 0;
    padding-left: 1.25rem;
    border-left: 3px solid #b5975b;
}

    body.fakt-bozi-pece .fbp-fact b {
        font-size: 2.6rem;
        font-weight: 700;
        line-height: 1;
        color: #00539a;
        white-space: nowrap;
    }

    body.fakt-bozi-pece .fbp-fact span {
        font-size: 0.95rem;
    }

/* Seznam investic */
body.fakt-bozi-pece .fbp-invest {
    list-style: none;
    margin: 0;
    padding: 0;
}

    body.fakt-bozi-pece .fbp-invest li {
        display: flex;
        gap: 1rem;
        padding: 1rem 0;
        border-bottom: 1px solid #e4e4e4;
    }

    body.fakt-bozi-pece .fbp-invest li:last-child {
        border-bottom: 0;
    }

    body.fakt-bozi-pece .fbp-invest i {
        flex: 0 0 2rem;
        width: 2rem;
        margin-top: 0.15rem;
        font-size: 1.5rem;
        text-align: center;
        color: #b5975b;
    }

    body.fakt-bozi-pece .fbp-invest h3 {
        margin-bottom: 0.2rem;
        font-size: 1.1rem;
    }

    body.fakt-bozi-pece .fbp-invest p {
        margin: 0;
        font-size: 0.95rem;
    }

    body.fakt-bozi-pece .fbp-invest .more-link {
        display: inline-block;
        margin-top: 0.4rem;
        font-size: 0.9rem;
    }

    /* Kvalitnější strava: zvýrazněná přes celou šířku s fotkou */
    body.fakt-bozi-pece .fbp-invest li.highlight {
        align-items: center;
        margin-top: 1rem;
        padding: 1.25rem;
        border-bottom: 0;
        border-radius: 5px;
        background: #f4f5f5;
    }

        body.fakt-bozi-pece .fbp-invest li.highlight > div:not(.thumb) {
            flex: 1;
        }

        body.fakt-bozi-pece .fbp-invest li.highlight .thumb {
            flex: 0 0 160px;
            aspect-ratio: 4 / 3;
        }

        /* fotka je na výšku, ořez od horního okraje nechá hlavu celou */
        body.fakt-bozi-pece .fbp-invest li.highlight .thumb img {
            object-position: center top;
        }

/* Videa zaměstnanců (na výšku 9:16), přehrávají se přímo na stránce */
body.fakt-bozi-pece .fbp-videos {
    padding: 2.5rem 2rem 2rem;
    border-radius: 5px;
    background: #eef3f6;
}

    body.fakt-bozi-pece .fbp-videos .head {
        max-width: 640px;
        margin: 0 auto 2rem;
        text-align: center;
    }

    body.fakt-bozi-pece .fbp-videos h3 {
        margin-bottom: 0.75rem;
        font-size: 1.6rem;
    }

    body.fakt-bozi-pece .fbp-videos .head p:last-child {
        margin-bottom: 0;
    }

body.fakt-bozi-pece .fbp-video {
    position: relative;
    aspect-ratio: 9 / 16;
    border-radius: 5px;
    background: #dbe4ec;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

    body.fakt-bozi-pece .fbp-video video {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    body.fakt-bozi-pece .fbp-video .start {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 0;
        border: 0;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 45%);
        cursor: pointer;
    }

        body.fakt-bozi-pece .fbp-video .start i {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 56px;
            height: 56px;
            padding-left: 4px;
            border-radius: 50%;
            background: rgba(0, 83, 154, 0.85);
            color: #fff;
            font-size: 1.1rem;
            transition: background-color 0.2s;
        }

        body.fakt-bozi-pece .fbp-video .start:hover i,
        body.fakt-bozi-pece .fbp-video .start:focus-visible i {
            background: #00539a;
        }

    /* po spuštění zůstane jen video s nativním ovládáním */
    body.fakt-bozi-pece .fbp-video.playing .start {
        display: none;
    }

/* Modální okno s hero videem: tlačítko Zavřít nad videem, aby nezabíralo místo v rámečku */
body.fakt-bozi-pece .fbp .modal-content {
    border: 0;
    background: #000;
}

    body.fakt-bozi-pece .fbp .modal-content .close {
        position: absolute;
        top: -2.5rem;
        right: 0;
        font-size: 2rem;
        color: #fff;
        text-shadow: none;
        opacity: 1;
    }

/* Lokální úpravy bloků aktualit jen pro tuto stránku */
/* přebíjí body.fakt-bozi-pece .fbp h2, protože nadpis bloku je h2 */
body.fakt-bozi-pece .fbp .news-read .lbl {
    margin: 0 0 0.6rem;
    font-size: 0.85rem;
    line-height: normal;
    color: #b5975b;
}

/* fotka v kartě příběhu nemá mít vlastní zaoblení z .photo, rohy řeší karta */
body.fakt-bozi-pece .fbp .news-card .photo {
    border-radius: 0;
}

/* v bílých oddílech světle šedé řádky, aby se nepotřebovaly stíny */
body.fakt-bozi-pece .fbp-section:not(.grey):not(.light) .news-read li a {
    background: #f4f5f5;
    box-shadow: none;
}

body.fakt-bozi-pece .fbp-section:not(.grey):not(.light) .news-read li a:hover {
    background: #dbe4ec;
}