
/* single reference */
.single-reference-post {
    position: relative;
}
.single-reference-post img {
    max-height: 60dvh;
    width: 100%;
    object-fit: cover;  
}


.single-reference-post:after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    content: "";
    /*background: rgba(0, 0, 0, 0.5);*/
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0) 15%, rgba(0, 0, 0, 0) 85%, rgba(0, 0, 0, 0.5) 100%);
    background-color: rgba(33, 37, 41, 0.3);
    z-index: 1;
}

 .entry-title {
    font-size: 34px;
}

.single-reference-post  .reference-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    flex-direction: row;
    padding-bottom: 40px;
    z-index: 3;
    flex-wrap: nowrap;
    padding-right: 8.333333%;
    padding-left: 8.333333%;
}

.single-reference-post .reference-content-wrapper .subwrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

@media (min-width: 1300px) {
    .single-reference-post .reference-content-wrapper .subwrapper {
        align-items: flex-end;
        margin-bottom: 40px;
    }
}

.reference-post.gallery-holder .gallery-list {
    gap: 8px;
}


@media (min-width: 767px) and (max-width: 1299.9px) {

    .reference-post.gallery-holder .gallery-list {
        justify-content: center;
    }
    .reference-post.gallery-holder h4 {
        text-align: center;
    }
    .reference-post.gallery-holder .gallery-list:after {
       display: none;
    }
}

@media (min-width: 992px) {
    .indicator-mobile {
        display: none;
    }
}

@media (max-width: 991.9px) {


    .related .flickity-slider {
        margin-left: 30px;
        margin-right: 30px;
    }
    body .related .related-list .item {
        margin-right: 15px;
    }


    .indicator-mobile {
        position: absolute;
        bottom: 10px;
        right: 20px;
        color: #fff;
        font-size: 32px;
        pointer-events: none;
    }

}
@media (max-width: 767.9px) {
    .single-reference-post img {
        max-height: calc(100dvh - 79px);
        height: calc(100dvh - 79px);
    }
    .single-reference-post .reference-content-wrapper {
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 32px;
    }
    .single-reference-post .reference-content-wrapper .subwrapper {
        gap: 8px;
        height: 80dvh;
        align-items: flex-end;
        justify-content: center;
    }

    .single-reference-post.product-banner  .entry-title {
        margin-top: 12px;
        margin-bottom: 20px;
        font-size: 34px;
        text-align: center;
    }

    .single-reference-post.product-banner .date {
        font-size: 14px;
    }

    .single-reference-post .hero-content-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-wrap: nowrap;
        width: 100%;
    }
    .main-banner.single-reference-post:after {
        background-color: rgba(33, 37, 41, 0.5);
    }  
}




@media (min-width: 575px) {
    .reference-post.gallery-holder .gallery-list li a {
        width: 240px;
        height: 240px;
        border-radius: 8px;
    }
    .reference-post.gallery-holder .gallery-list li a img {
        transform: scale(100%);
        transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: transform;
    }

    .reference-post.gallery-holder .gallery-list li a:hover img {
        transform: scale(110%);
    }
}

@media (min-width: 768px) and (max-width: 1299.9px) {
    .reference-post.gallery-holder .gallery-list li a {
        width: 180px;
        height: 180px;
        border-radius: 8px;
    }
}


.reference-content-wrapper .taxonomies {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    align-content: center;
    flex-direction: row;
    gap: 12px;
}


.text-light {
    color: #fff;
}
small {
    font-size: 14px;
}

.hero-content-right .icon-arrow-down-lines {
    color: #9a1c1f;
}

.single-reference-content .the-content {
    margin-top: 30px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;

}

@media (min-width: 1300px) {
    .single-reference-content .the-content {
        font-size: 20px;
    }
}


.wide-container {
    padding-right: 8.333333%;
    padding-left: 8.333333%;
}

.content-area .related {
    border-top: none;
    margin-top: 0;
}
.content-area .banner {
    margin-bottom:12px;
}
.related .heading-5{
    margin-bottom: 0;
    font-size: 20px;
}

.related .post-thumbnail{
    margin-bottom: 0;
}

#galerija-kuhinj {
    scroll-margin-top: 100px;
    position:relative;
}
@media (max-width: 1299.9px) {
    #galerija {
        margin-bottom: 30px;
        
    }
}
@media (min-width: 1300px) {
    #galerija {
        display: flex;
        gap: 64px;
    }
    .gallery-holder {
        width: 500px;
        flex-shrink: 0;
    }
    .gallery-holder:has(:nth-child(5)) {
        width: 750px;
    }
    .hide-on-desktop {
        display: none;
    }
    .reference-post.gallery-holder .gallery-list {
        margin-bottom: 64px;
        padding-top: 64px;
        margin-top: -128px;
        z-index: 8;
        position: relative;
    }
    .scroll-link {
        pointer-events: none;
    }
    .single-reference-post .reference-content-wrapper {
        padding-bottom: 32px;
    }
    .single-reference-post.main-banner .entry-title {
        margin-bottom: 12px;
    }



}

@media (min-width: 1300px) {
    .reference-post.gallery-holder .gallery-list li a {
     border: 1px solid #fff;
    }
}

@media (min-width: 1300px) and (max-width: 1499.9px) {
    .reference-post.gallery-holder .gallery-list li a {
        width: 180px;
        height: 180px;
    }
    .gallery-holder {
        width: 380px;
        flex-shrink: 0;
    }
    .gallery-holder:has(:nth-child(5)) {
        width: 570px;
    }


}
@media (min-width: 1500px) and (max-width: 1919.9px) {
    .reference-post.gallery-holder .gallery-list li a {
        width: 200px;
        height: 200px;
    }
    .gallery-holder {
        width: 415px;
        flex-shrink: 0;
    }
    .gallery-holder:has(:nth-child(5)) {
        width: 630px;
    }
}

@media (min-width: 1920px) {
    .gallery-holder:has(:nth-child(10)) {
        width: 1000px;
    }

    .single-reference-post.main-banner .entry-title {
        font-size: 60px;
    }

}


.banner-3d:before {
    display: none;
}


.overlay:after {
    background-color: rgba(33, 37, 41, 0.44)!important;
}


.entry-content.single-reference-content > .row {
    margin-left: 0;
    margin-right: 0;
}

#galerija.wide-container {
    width: 100%;
}
