@charset "UTF-8";

button {
    outline: 0 none !important;
}

.header-top {
    svg.icon {
        fill: currentColor;
    }
}

article {
    img {
        width: max-content;
    }
}

.column-with-avatar {
    .avatar {
        a:hover {
            picture {
                scale: unset !important;
            }
        }
    }
}

.gallery-hidden {
    display: none;
}

.is-layout-flow.mw-100 {
    max-width: 100%;
}

.block-separator.mw-100 { max-width: 100%;}

.article-headline .avatar {margin: 0 auto;}

.column-top-posts h2 { white-space: nowrap;}

.alignwide-hr {
    max-width: 1080px;
}

.alignwide-menu {
    max-width: 1144px;
}

textarea,
input:where([type=email], [type=number], [type=password], [type=search], [type=text], [type=tel], [type=url]) {
    padding-right: 1.3em;
    padding-left: 1.3em;
}

dialog {
    input:where([type=email], [type=number], [type=password], [type=search], [type=text], [type=tel], [type=url]) {
        padding-top: 1.45em;
        padding-bottom: 1.45em;
    }

    button.has-10-font-size {
        color: var(--color--black);
    }
}

.align722 {
    form.form-search {
        margin-block-start: 1.8lh;
        margin-block-end: 2.8lh;
    }
}

#panel-account-login {
    .place-center {
        margin-left: auto;
        margin-right: auto;
        display: table;
        margin-block-end: var(--spacing--1);
    }

    .block-start-2+p {
        margin-block-start: var(--spacing--1);
        margin-block-end: -5px;
    }
}

.column-layout-1-1 {
    .align928 {
        .article {
            >.link-category {
                display: none;
            }
        }
    }
}

aside[role="alert"] {
    svg {
        fill: #fff;
    }
}

.mobile-menu {
    .mobile-menu-ul {
        >li.is-page-link {
            border-bottom: 0 none;
            font-size: 14px;
            margin-top: 15px;

            ~li.is-page-link {
                margin-top: 0;
            }

            &:last-child {
                border-top: 0 none;
            }
        }
    }
}

#mobile-menu {
    form {
        padding: 21% 0 10%;
    }

    .header-subscription {
        display: none;
    }
}

@layer layout {
    header {

        @media screen and (min-width: 768px) {
            .header-logo {
                justify-content: center;
                text-align: center;
                width: 345px;
            }

            .header-logo a {
                width: 345px;
            }
        }

        .header-logo img {
            margin: 0 auto;
            aspect-ratio: unset !important;
            place-content: unset !important;
        }
    }
}

@layer article {
    .column-layout-1-1 {
        h2.has-red-color {
            margin-bottom: 1.8em;
        }
    }

    .column-with-avatar-btn {
        article.align928 {
            max-width: 910px;
        }
    }

    .newsletter-slogan {
        line-height: 24px;
        font-size: 16px;
    }

    .article-headline {
        .content {
            padding-block: var(--spacing--1-5);
        }
        .title-tag {
            padding-block-start: 0;
            padding-inline: var(--spacing--2);
        }
        .media+.content {
            .perex {
                /* margin-left: -1rem !important; */
                /* margin-right: -1rem !important; */
                /* max-width: inherit !important; */
            }
        }
    }

    .event-registrations {
        .table > div{
        grid-auto-columns: 5% minmax(20%, auto) minmax(25%, auto) minmax(15%, auto) minmax(15%, auto) minmax(20%, auto);
    }
        .table > div select { margin: 0; padding: 0; text-align: left;}
}

    section {
        &.column-layout-2-1 {
            .article-headline {
                .content {
                    padding-block: var(--spacing--1);
                }

                .media+.content {
                    margin-block-start: calc(-1 * var(--spacing--4));
                }
            }
        }

        .article-headline {
            .media+.content {
                /* max-width: calc(33rem - var(--spacing--4)); */
            }
        }
    }

    .article {
        & .title-tag {
            .title-link {
                margin: 0;
            }
        }
    }

    .article {
        .title-tag {
            .title-link {
                line-height: 1.1em;

                &.serif {
                    line-height: 1.25em;
                }
            }

            &.has-38-font-size {
                /* padding-top: 0; */
            }

            &.has-56-font-size {
                .title-link {
                    line-height: 1.08em;
                }
            }

            &.serif.has-24-font-size {
                .title-link {
                    margin: 5px -12px;
                }
            }
        }
    }

    .slider {
        .article {
            .content {
                margin-top: -10px;
                -webkit-backface-visibility: hidden;
                backface-visibility: hidden;
            }

            .title-tag {
                padding-top: 0;
            }
        }
    }

    .column-layout-3 {
        figure {
            margin-bottom: var(--spacing--0-5);
        }

        .article {
            .title-tag {
                .title-link {
                    line-height: 1.25em;
                }
            }
        }
    }

    .column-layout-4,
    .column-layout-row {
        .article {
            .title-tag {
                .title-link {
                    font-size: 1.1em;
                    line-height: 1.25em;
                }
            }
        }
    }

    article {
        .article-headline {
            .media+.content {
                /* max-width: calc(40.5rem - var(--spacing--4)); */
                /* margin-block-start: calc(-1 * var(--spacing--5-5)); */
                /* padding-top: 1.5em; */
                /* padding-block: var(--spacing--1);*/






                h1 {
                    font-size: 2.375rem;
                    line-height: 1.05em;
                    padding: 0 0.5em;
                }

                .perex {
                    line-height: 1.25em;
                }
            }
        }
    }

    .content,
    .main-article {
        figure:has(img) {
            max-width: 722px;
            margin-block-start: 2lh;
            margin-block-end: 2lh;
        }

        .article-headline figure:has(img) {
            max-width: unset;
        }

        figure.block-embed:not(.block-embed-youtube) {
            max-width: var(--style--global--content-size);
            margin-block-start: 1.5lh;
            margin-block-end: -2lh;

            iframe { width: 100% !important;}

        }

    }

    .main-article {
        h2 {
            line-height: 1.275em;
            font-size: 1.222em;
        }
    }

    .red-stripe {
        &.double {
            height: var(--spacing--5);
            margin-block-end: calc(var(--spacing--1) * -1);
        }
    }

    .column-layout-2-1 {
        @media (min-width: 768px) {
            .article-headline {
                max-width: 33.5rem;
            }
        }
    }

    @media screen and (max-width: 767.5px) {
        .column-layout-2-1-2 {
            .article:not(.article-headline) {
                display: grid;
                grid-template-columns: 78px 1fr;
                gap: var(--spacing--1);
                align-items: start;
                text-align: left;

                .media {
                    figure {
                        margin-bottom: 0;
                    }

                    picture {
                        aspect-ratio: 1;
                    }

                    img {
                        aspect-ratio: 1;
                        object-fit: cover;
                        width: 78px;
                        height: 78px;
                    }

                    .badges {
                        display: none;
                    }
                }

                .content {
                    padding: 0;

                    .link-category {
                        display: none;
                    }

                    h3.title-tag {
                        margin-bottom: 0.3em;
                        padding: 0 0 0 8px;
                    }

                    .details {
                        padding-left: 8px;
                    }

                    .perex {
                        display: none;
                    }
                }
            }
        }
    }

}

@media screen and (max-width: 1152px) {
    .header-top {
        padding-right: var(--style--root--padding-right);
        padding-left: var(--style--root--padding-left);
    }
}

@media screen and (max-width: 839.5px) {
    .footer-left-menu {
        padding: 1em 0;
    }
}

.header-top {
    .left {
        .burger {
            margin-top: -3px;
        }
    }
}

@media screen and (max-width: 767.5px) {
    .header-subscription {
        display: none;
    }

    #mobile-menu {
        .header-subscription {
            display: block;
        }

        form {
            padding: 10% 0 5%;
        }
    }

    .column-layout-1-1 {
        .align928 {
            .article {
                >.content {
                    h2.link-category {
                        display: none;
                    }
                }

                >.link-category {
                    display: block;
                }
            }
        }

        &.block-start-4 {
            margin-block-start: var(--spacing--2);
        }

        article {
            gap: var(--spacing--2);
        }
    }

    .column-top-posts {
        .articles {
            display: grid;
            padding-block: var(--spacing--3) var(--spacing--2);
        }
    }

    .column-layout-4 {
        .article {
            border-bottom: 1px solid var(--color--grey);

            .title-tag {
                padding-bottom: 0;
            }

            .details {
                margin-block-start: var(--spacing--0-5);
                line-height: 1;
                margin-block-end: var(--spacing--3);
            }
        }
    }

    header {
        >.alignwide {
            max-width: 100%;
            padding-right: var(--style--root--padding-right) !important;
            padding-left: var(--style--root--padding-left) !important;
        }
    }

    .dialog {
        &.dialog-from-left {
            width: 300px;

            >.wrapper {
                width: 100%;
            }
        }
    }

    .header-top {

        .left,
        .right {
            gap: 0.75rem;
        }

        .left {
            margin-left: -0.7rem;
        }
    }

    section.column-with-avatar.has-global-padding {
        margin-top: 115px;
    }

    .content,
    .main-article {
        figure:has(img) {
            max-width: var(--style--global--content-size);
            width: 100% !important;
        }
    }

     .sliva {
        svg {
            position: absolute;
            left: 50%;
            bottom: unset;
            aspect-ratio: 35 / 32;
            width: 100%;
            translate: -50% 0;
            z-index: -1;
            max-width: 171px;
            top: -9rem;
        }

        .wrapper {
            margin-top: 9rem;
            max-width: 70vw;
            margin-bottom: 2rem;
        }
    }
}


#cc-main {
    .cm__body {
        flex-wrap: wrap;
        flex: 0 0 100%;
    }

    .cm__btns {
        flex: 0 0 100%;
    }
}


.packeta-widget-place {
    margin-block: var(--spacing--1);
    text-align: center;
    margin-bottom: 5px !important;
}

.packeta-widget-info {
    text-align: center;
    font-weight: normal;
}

.thankyou-page {
    .cart-title {
        margin-bottom: var(--spacing--2);
    }
}

.cart-product-name {
    font-weight: bold;
}

.order-details {
    h2 {
        margin-bottom: var(--spacing--1);
    }

    .cart-footer {
        padding-top: 1rem;
    }

    .cart-footer-item {
        padding: 0.5rem 0.75rem;
    }

    .woocommerce-table--order-details {
        width: 100%;
        text-align: left;

        th,
        td {
            vertical-align: top;
        }

        td {
            padding-bottom: 10px;
        }

        a {
            text-decoration: underline;
            color: var(--color--primary);
        }
    }

    .order-again {
        display: none !important;
    }
}

.customer-details {
    h2 {
        margin-bottom: var(--spacing--1);
    }

    address {
        font-style: normal;
    }
}


/* BREAKFAST ponechat navíc */
.logaBreak img, .logaBreak picture { max-width: 200px;}

/* LOGA PARTNERI */
.loga-partneri {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    align-items: center;
}

.loga-partneri .block-image {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loga-partneri picture,
.loga-partneri img {
    width: 100%;
    max-width: 180px;
    height: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .loga-partneri {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 2rem;
    }

    .loga-partneri picture,
    .loga-partneri img {
        max-width: 220px;
    }
}

@media (min-width: 1024px) {
    .loga-partneri {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .loga-partneri picture,
    .loga-partneri img {
        max-width: 240px;
    }
}
