body.in-blog,
body.in-novinky {
    --color-yellow: #fdc50e;
    --color-brown: #4a2e20;
    --color-dark-brown: #3a1c0e;
    --color-orange: #ff8400;

    font-family: "Roboto";
    color: #4a2e20;
    font-size: 18px;
    font-weight: 500;
}

body.in-blog .cta-btn,
body.in-novinky .cta-btn {
    background-color: var(--color-orange);
    color: var(--color-dark-brown);
    font-family: 'Knofedt', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 2.8rem;
    padding: 0px 35px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
body.in-blog .cta-btn:hover,
body.in-novinky .cta-btn:hover {
    background-color: #e67300;
}

body.in-blog .top-image.desktop,
body.in-novinky .top-image.desktop {
    display: none;
}

body.in-blog #newsWrapper,
body.in-novinky #newsWrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px 50px;
    margin-top: -80px;
}

body.in-blog #newsWrapper .news-item,
body.in-novinky #newsWrapper .news-item {
    padding: 0;
    margin: 0;
}

body.in-blog .news-item h2,
body.in-novinky .news-item h2 {
    /*text-align: center;*/
    /*font-family: 'Knofedt', sans-serif;*/
    /*font-size: 36px;*/
    /*font-weight: 100;*/
    /*text-transform: uppercase;*/
    /*margin-bottom: 10px;*/
    display: none;
}

body.in-blog .news-item .description img,
body.in-novinky .news-item .description img {
    border-radius: 20px;
}

body.in-blog .news-item .description p:nth-of-type(n+2),
body.in-blog .news-item .description h2,
body.in-blog .news-item .description,
body.in-blog .news-item .description .responsive-table,
body.in-blog .news-item .description .lichy-blok,
body.in-blog .news-item .description .sudy-blok,
body.in-blog .news-item .description .lichy-produkt,
body.in-blog .news-item .description .sudy-produkt,
body.in-blog .news-item .description .jeden-pruh,

body.in-novinky .news-item .description p:nth-of-type(n+2),
body.in-novinky .news-item .description h2,
body.in-novinky .news-item .description,
body.in-novinky .news-item .description .responsive-table,
body.in-novinky .news-item .description .lichy-blok,
body.in-novinky .news-item .description .sudy-blok,
body.in-novinky .news-item .description .lichy-produkt,
body.in-novinky .news-item .description .sudy-produkt,
body.in-novinky .news-item .description .jeden-pruh{
    display: none;
}

body.in-blog .listingControls .itemsTotal,
body.in-novinky .listingControls .itemsTotal  {
    display: none;
}

body.in-blog .news-item-link-img img,
body.in-novinky .news-item-link-img img {
    border-radius: 20px;
    /*width: 100%;*/
    /*height: 100%;*/
    /*object-fit: cover !important;*/
}


/** BLOG ITEM **/
body.in-blog.type-post h1,
body.in-novinky.type-post h1 {
    font-family: "Knofedt", sans-serif;
    font-size: 50px;
    color: #51282b;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 30px;
}

body.in-blog.type-post article img,
body.in-novinky.type-post article img  {
    border-radius: 20px;
}

body.in-blog .next-prev a,
body.in-novinky .next-prev a {
    background-color: var(--color-orange);
    color: #fff;
    font-family: 'Knofedt', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 2.8rem;
    padding: 5px 35px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
body.in-blog .next-prev a:hover,
body.in-novinky .next-prev a:hover {
    background-color: #e67300;
}

body.in-blog .cta-btn,
body.in-novinky .cta-btn {
    color: #fff;
}

body.in-blog.type-post #beforeFooterBanners,
body.in-novinky.type-post #beforeFooterBanners {
    margin-top: 300px;
}

body.in-blog.type-posts-listing #action-stripe,
body.in-novinky.type-posts-listing #action-stripe {
    margin-top: 50px !important;
}

body.in-blog.type-posts-listing #beforeFooterBanners,
body.in-novinky.type-posts-listing #beforeFooterBanners {
    margin-top: 260px;
}

/** NOVINKY **/
body.in-novinky.type-post article,
body.in-novinky.type-post article .color-lila {
    --background-color: #caa7f9;
    --h2-border-color: #ae77f8;
    --text-color: #fff;
    --btn-background-color: #f10250;
    --btn-text-color: #fff;
}

body.in-novinky.type-post article .color-black {
    --background-color: #000;
    --h2-border-color: #222;
    --text-color: #fff;
    --btn-background-color: #f10250;
    --btn-text-color: #fff;
}

body.in-novinky.type-post article .color-red {
    --background-color: #C6090F;
    --h2-border-color: #96090b;
    --text-color: #fff;
    --btn-background-color: #f10250;
    --btn-text-color: #fff;
}

body.in-novinky.type-post article .color-green {
    --background-color: #b1db67;
    --h2-border-color: #87b13c;
    --text-color: #fff;
    --btn-background-color: #f10250;
    --btn-text-color: #fff;
}

body.in-novinky.type-post article .color-yellow {
    --background-color: #f7d147;
    --h2-border-color: #d1a919;
    --text-color: #fff;
    --btn-background-color: #f10250;
    --btn-text-color: #fff;
}

body.in-novinky.type-post article .color-blue {
    --background-color: #4FC7F3;
    --h2-border-color: #2a98c0;
    --text-color: #fff;
    --btn-background-color: #f10250;
    --btn-text-color: #fff;
}

body.in-novinky.type-post article .color-brown {
    --background-color: #A36742;
    --h2-border-color: #955832;
    --text-color: #fff;
    --btn-background-color: #f10250;
    --btn-text-color: #fff;
}

body.in-novinky.type-post article .color-pink {
    --background-color: #FA67EC;
    --h2-border-color: #d831c8;
    --text-color: #fff;
    --btn-background-color: #f10250;
    --btn-text-color: #fff;
}

body.in-novinky.type-post article .color-orange {
    --background-color: #EE7D31;
    --h2-border-color: #b75b1c;
    --text-color: #fff;
    --btn-background-color: #f10250;
    --btn-text-color: #fff;
}

body.in-novinky.type-post article .news-item {
    background-color: var(--background-color);
    color: var(--text-color);

    border-radius: 30px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;

    margin: 0 auto;
}

body.in-novinky.type-post article .news-item .left {
    order: 2;
    padding: 20px;
}

body.in-novinky.type-post article .news-item .right {
    order: 1;
    padding: 20px;
}

body.in-novinky.type-post article header {
    display: none;
}

body.in-novinky.type-post article h2 {
    display: block;
    text-align: center;
    font-family: "Knofedt", sans-serif;
    font-size: 50px;
    text-transform: uppercase;
    font-weight: 100;
    color: var(--text-color);
    padding-bottom: 10px;
    padding-top: 0;
    margin-top: 0;
    border-bottom: 2px solid var(--h2-border-color);
}

body.in-novinky.type-post .left .btn {
    background-color: var(--btn-background-color);
    color: var(--btn-text-color);
    border-radius: 999px;
    border: none;
    font-family: 'Knofedt', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 30px;
}

body.in-novinky.type-post article .news-prev,
body.in-novinky.type-post article .news-next {
    border: 0 !important;
}

body.in-novinky.type-post article .news-prev::before, body.in-novinky.type-post article .news-next::before {
    font-size: 40px;
}

body.in-blog.type-post .next-prev,
body.in-novinky.type-post .next-prev {
    display: none;
}

body.in-blog.type-post article img:first-of-type {
    max-width: 100% !important;
}

body.in-blog.type-post article h1 {
    display: none;
}

body.in-blog.type-post article h2 {
    font-family: 'Knofedt', sans-serif;
    font-size: 50px;
    text-transform: uppercase;
    font-weight: 100;

}

/** BLOG ITEM **/
body.in-blog.type-post .blog-page {
    font-family: "Knopfedt";
    background-color: #ffcb00;
    color: #4d2c1d;
    padding: 40px 20px;
    text-align: center;
    border-radius: 20px;
}

body.in-blog.type-post .blog-page h2 {
    font-size: 32px;
    color: #4d2c1d;
    text-transform: uppercase;
    margin: 20px 0;
}

body.in-blog.type-post .blog-page p {
    font-size: 18px;
    line-height: 1.6;
    margin: 10px 0;
}

body.in-blog.type-post .blog-page img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    margin: 0 auto;
}

/* --- BLOKY --- */
body.in-blog.type-post .blok {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin: 50px auto;
    max-width: 1000px;
    flex-wrap: wrap;

    flex-direction: column;
    text-align: center;
}

body.in-blog.type-post .blok-text {
    flex: 1 1 45%;
    text-align: center;
}

body.in-blog.type-post .blok-img {
    flex: 1 1 45%;
    text-align: center;
}

@media (min-width: 768px) {
    .blok {
        flex-direction: row;
        text-align: left;
    }
    .blok-text {
        text-align: left;
    }

    body.in-blog.type-post .blok-lichy {
        flex-direction: row;
    }

    body.in-blog.type-post .blok-sudy {
        flex-direction: row-reverse;
    }
}

body.in-blog.type-post .btn-tochci {
    display: inline-block;
    background-color: #ff9000;
    color: #ffffff;
    font-family: "Knopfedt", sans-serif;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    padding: 14px 40px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}

body.in-blog.type-post .btn-tochci:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}


@media (min-width: 768px) {
    body.in-blog .top-image.desktop,
    body.in-novinky .top-image.desktop {
        display: block;
    }

    body.in-blog .top-image.mobile,
    body.in-novinky .top-image.mobile {
        display: none;
    }

    body.in-blog #newsWrapper,
    body.in-novinky #newsWrapper {
        grid-template-columns: 1fr 1fr;
    }

    body.in-blog .bottom-row .col.center-text,
    body.in-novinky .bottom-row .col.center-text {
        margin-top: -30px;
    }

    body.in-blog .news-wrapper .news-item h2 a,
    body.in-novinky .news-wrapper .news-item h2 a {
        color: #4a2e20;
    }

    body.in-blog .news-wrapper .news-item h2 a:hover,
    body.in-novinky .news-wrapper .news-item h2 a:hover {
        color: #3a1c0e;
    }

    /** BLOG ITEM **/
    body.in-blog.type-post article,
    body.in-novinky.type-post article {
        margin-bottom: 100px;
    }

    body.in-novinky.type-post .news-item {
        max-width: 600px;
    }

    body.in-blog.type-post article .text img,
    body.in-novinky.type-post article .text img {
        max-width: 600px;
        margin: auto;
    }

    body.in-blog.type-post article .text p:first-child,
    body.in-novinky.type-post article .text p:first-child {
        text-align: center;
    }

    article {
        position: relative;
    }

    body.in-novinky.type-post .next-prev {
        display: block;
    }

    body.in-novinky.type-post article .news-next,
    body.in-novinky.type-post article .news-prev {
        display: block !important;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: transparent !important;
        border: 0;
        border-radius: 50% !important;
        width: 40px;
        height: 53px;
        cursor: pointer;
        z-index: 10;
        font-size: 0px;
        line-height: 46px;
        overflow: hidden;
        transition: none !important;
    }

    body.in-novinky.type-post article .news-prev {
        left: -18px;
    }

    body.in-novinky.type-post article .news-next {
        right: -18px;
    }

    body.in-novinky.type-post article .news-prev::before,
    body.in-novinky.type-post article .news-next::before {
        align-items: center;
        display: flex;
        justify-content: center;
        font-family: "shoptet";
        font-size: 40px;
        font-weight: 100;
        color: #51282b;
    }

    body.in-novinky.type-post article .news-prev::before {
        content: "\e90f";
        margin-left: -3px;
    }

    body.in-novinky.type-post article .news-next::before {
        content: "\e910";
        margin-right: -3px;
    }
}

@media (min-width: 992px) {
    body.in-blog #newsWrapper,
    body.in-novinky #newsWrapper {
        grid-template-columns: 1fr 1fr 1fr;
        max-width: 1138px;
        margin: -80px auto 0;
    }

    body.in-blog .news-wrapper .news-item,
    body.in-novinky .news-wrapper .news-item {
        width: 100%;
    }

    /** NOVINKY **/
    body.in-novinky.type-post article .news-item {
        flex-direction: row;
        overflow-x: hidden;
        align-items: center;
        justify-content: space-between;

        max-width: 800px;
    }

    body.in-novinky.type-post article .news-item .left {
        order: 1;
        flex: 0 0 60%;
        text-align: left;
    }

    body.in-novinky.type-post article .news-item .right {
        order: 2;
        flex: 0 0 40%;
    }

    body.in-novinky.type-post h2 {
        font-size: 70px;
        text-align: left;
    }
}

@media (min-width: 1200px) {
    body.in-novinky.type-post article .news-item {
        max-width: 900px;
    }
}

@media (min-width: 1440px) {
    body.in-novinky.type-post article .news-item {
        max-width: 1000px;
    }
}