/* CSS pro dekorativní nadpisy s linkami - POUZE homepage, silnější pravidla */

/* Všechny nadpisy na homepage */
#content-wrapper .top-category-block .h4.homepage-group-title,
#content-wrapper .homepage-group-title.h4,
.content-wrapper-in > .top-category-block .h4,
.products-block .homepage-products-heading.h4,
.content-wrapper .homepage-group-title[class*="homepage-products-heading"],
.products-group .homepage-group-title.h4,
body.is-loaded .h4.homepage-group-title,
body.is-loaded .homepage-group-title[class*="homepage-products-heading"] {
    text-align: center !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    margin-top: 50px !important;
    margin-bottom: 30px !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: calc(100% + 30px) !important;
    max-width: none !important;
    opacity: 1 !important;
}

#content-wrapper .top-category-block .h4.homepage-group-title::before,
#content-wrapper .top-category-block .h4.homepage-group-title::after,
#content-wrapper .homepage-group-title.h4::before,
#content-wrapper .homepage-group-title.h4::after,
.content-wrapper-in > .top-category-block .h4::before,
.content-wrapper-in > .top-category-block .h4::after,
.products-block .homepage-products-heading.h4::before,
.products-block .homepage-products-heading.h4::after,
.content-wrapper .homepage-group-title[class*="homepage-products-heading"]::before,
.content-wrapper .homepage-group-title[class*="homepage-products-heading"]::after,
.products-group .homepage-group-title.h4::before,
.products-group .homepage-group-title.h4::after,
body.is-loaded .h4.homepage-group-title::before,
body.is-loaded .h4.homepage-group-title::after,
body.is-loaded .homepage-group-title[class*="homepage-products-heading"]::before,
body.is-loaded .homepage-group-title[class*="homepage-products-heading"]::after {
    content: '' !important;
    flex: 1 !important;
    height: 3px !important;
    background: linear-gradient(to right, transparent, #333333, transparent) !important;
    margin: 0 30px !important;
    max-width: 250px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Responzivní úpravy */
@media (max-width: 768px) {
    #content-wrapper .top-category-block .h4.homepage-group-title,
    #content-wrapper .homepage-group-title.h4,
    .content-wrapper-in > .top-category-block .h4,
    .products-block .homepage-products-heading.h4,
    .content-wrapper .homepage-group-title[class*="homepage-products-heading"],
    .products-group .homepage-group-title.h4,
    body.is-loaded .h4.homepage-group-title,
    body.is-loaded .homepage-group-title[class*="homepage-products-heading"] {
        font-size: 28px !important;
        margin-top: 30px !important;
        margin-bottom: 20px !important;
    }

    #content-wrapper .top-category-block .h4.homepage-group-title::before,
    #content-wrapper .top-category-block .h4.homepage-group-title::after,
    #content-wrapper .homepage-group-title.h4::before,
    #content-wrapper .homepage-group-title.h4::after,
    .content-wrapper-in > .top-category-block .h4::before,
    .content-wrapper-in > .top-category-block .h4::after,
    .products-block .homepage-products-heading.h4::before,
    .products-block .homepage-products-heading.h4::after,
    .content-wrapper .homepage-group-title[class*="homepage-products-heading"]::before,
    .content-wrapper .homepage-group-title[class*="homepage-products-heading"]::after,
    .products-group .homepage-group-title.h4::before,
    .products-group .homepage-group-title.h4::after,
    body.is-loaded .h4.homepage-group-title::before,
    body.is-loaded .h4.homepage-group-title::after,
    body.is-loaded .homepage-group-title[class*="homepage-products-heading"]::before,
    body.is-loaded .homepage-group-title[class*="homepage-products-heading"]::after {
        margin: 0 15px !important;
        max-width: 100px !important;
    }
}

@media (max-width: 480px) {
    #content-wrapper .top-category-block .h4.homepage-group-title,
    #content-wrapper .homepage-group-title.h4,
    .content-wrapper-in > .top-category-block .h4,
    .products-block .homepage-products-heading.h4,
    .content-wrapper .homepage-group-title[class*="homepage-products-heading"],
    .products-group .homepage-group-title.h4,
    body.is-loaded .h4.homepage-group-title,
    body.is-loaded .homepage-group-title[class*="homepage-products-heading"] {
        font-size: 24px !important;
    }

    #content-wrapper .top-category-block .h4.homepage-group-title::before,
    #content-wrapper .top-category-block .h4.homepage-group-title::after,
    #content-wrapper .homepage-group-title.h4::before,
    #content-wrapper .homepage-group-title.h4::after,
    .content-wrapper-in > .top-category-block .h4::before,
    .content-wrapper-in > .top-category-block .h4::after,
    .products-block .homepage-products-heading.h4::before,
    .products-block .homepage-products-heading.h4::after,
    .content-wrapper .homepage-group-title[class*="homepage-products-heading"]::before,
    .content-wrapper .homepage-group-title[class*="homepage-products-heading"]::after,
    .products-group .homepage-group-title.h4::before,
    .products-group .homepage-group-title.h4::after,
    body.is-loaded .h4.homepage-group-title::before,
    body.is-loaded .h4.homepage-group-title::after,
    body.is-loaded .homepage-group-title[class*="homepage-products-heading"]::before,
    body.is-loaded .homepage-group-title[class*="homepage-products-heading"]::after {
        margin: 0 10px !important;
        max-width: 50px !important;
    }
}