@media screen and (max-width: 560px) {

    .sc_post_card{
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        .sc_post_card_metadata{
            padding: 0 !important;
            gap: 16px !important;
            .sc_post_card_title{
                margin: 0 !important;
            }
        }
    }

    /* Footer */
    #footer{
        padding-top: 48px !important;
    }

    #footer-section .ct-section-inner-wrap{
        padding: 16px 20px 0 !important;
        gap: 32px !important;
    }

    #div_block-4-15{
        order: 5;
        grid-column: span 3;
        #text_block-16-15{
            display: none;
        }
        #footer-lofo-wrapper{
            display: flex;
            transform: scale(0.6);
            left: -14px;
            position: relative;
        }
        
    }
    #div_block-5-15{
        grid-column-start: 2;
        grid-column-end: 12;
        .sc_nav_menu {
            gap: 28px;
        }
    }
    #div_block-21-15{
        grid-column-start: 2;
        grid-column-end: 12;
        .sc_nav_menu {
            gap: 24px;
        }
    }
    #div_block-17-15{
        height: 0px !important;
        grid-column: span 12;
        border-bottom-color: #707576;
        border-bottom-width: 1px;
        border-bottom-style: solid;
        order: 4;
        position: relative;
        bottom: -24px;
    }
    #div_block-6-15{
        grid-column: span 9;
        order: 6;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        height: 100%;
        .sc_footer_icons_wrapper{
            gap: 40px;
            a{
                display: flex;
                transform: scale(0.625);
            }
        }
    }
    #div_block-7-15{
        grid-column-start: 2;
        grid-column-end: 12;
        border-top-width: 0 !important;
        padding-top: 32px !important;
    }
}
@media screen and (max-width: 768px) {
    #section-34-5,
    #adds-section, 
    #code_block-74-5,
    #post-content-section .sc_section_grid_sidebar,
    .sc_info_page_icon_wrapper,
    .page #hero_title_section,
    .sc-slider-pagination,
    .sc_hero_prev,
    .sc_hero_next,
    .ksb-slider-container .swiper-button-next, 
    .ksb-slider-container .swiper-button-prev, 
    .swiper-button-prev,
    .swiper-button-next,
    .single-galerija-umetnika #section-12-26 .ct-section-inner-wrap .post-swiper-pagination,
    .single-galerija-umetnika #section-12-26 .ct-section-inner-wrap .post-swiper-button-prev,
    .single-galerija-umetnika #section-12-26 .ct-section-inner-wrap .post-swiper-button-next{
        display: none !important;
    }

    #section-49-5 #code_block-50-5 .sc_viewMore_wrapper{
        margin-top: -32px !important;
    }

    .hero_title_section_padding{
        padding: 16px 20px !important;
      }

      .sc_section_filters__filters {
        gap: 0 !important;
      }
      .search #pagination{
        padding-top: 0px !important;
      }
      #pagination{
       padding-top: 40px !important;
      }

    .sc_details_card {
        row-gap: 40px !important;
        .sc_details_card_item {
            .sc_details_card_item_content {
                flex-direction: column !important;
                gap: 32px;
                .sc_details_card_item_content_item {
                    &:after {
                        content: none !important;
                    }
                }
            }
        }
    }

    #post-share{
        padding-top: var(--padding-section-top);
        position: static !important;
        .sc_share_wrapper{
            flex-direction: row;
        }
    }

    #section-81-60 .ct-section-inner-wrap{
        padding: 48px 0px 0px !important;
    }
    #image-66-60,
    #sc-gut-page figure.alignwide img:first-of-type{
        position: relative;
        width: var(--bodyWidth) !important;
        left: -20px !important;
        max-width: none;
    }
    /* .sc_gc_span-8, .sc_gc_span-10{
        grid-column: span 12 !important;
    } */
    .ksb-slider-container{
        padding: 64px var(--padding-section-side) !important;
        .ksb-slide{
            max-width: 80% !important;
        }
    }

    .alignwide{
        width: 100% !important;
        left: 0 !important;
    }
    .alignfull{
        width: var(--bodyWidth) !important;
        left: -20px !important;
    }
    .wp-block-pullquote, .wp-block-quote{
        width: 100% !important;
        left: 0 !important;
    }
    .sc_section_grid:not(.ct-section):not(.oxy-easy-posts),
    .sc_section_grid.oxy-easy-posts .oxy-posts,
    .sc_section_grid.ct-section .ct-section-inner-wrap,
    .sc_section_grid_content:not(.ct-section):not(.oxy-easy-posts),
    .sc_section_grid_content.oxy-easy-posts .oxy-posts,
    .sc_section_grid_content.ct-section .ct-section-inner-wrap,
    .sc_section_inner_grid:not(.ct-section):not(.oxy-easy-posts),
    .sc_section_inner_grid.oxy-easy-posts .oxy-posts,
    .sc_section_inner_grid.ct-section .ct-section-inner-wrap,
    .sc_images_gallery_wrapper,
    .sc_artists_container,
    #post-content {
        display: flex !important;
        flex-direction: column;
    }
    #post-content-container {
        #details-card .sc_section_grid_content{
            padding: 0 32px;
        }
    }
    .ksb-slider-container .swiper-pagination{
        margin-bottom: 8px !important;
    }
    #post-header-section.sc_section_grid .ct-section-inner-wrap{
        gap: 24px !important;
    }
    .sc_post_details_wrapper .sc_section_grid_content{
        padding: 0 32px !important;
    }
    
    .sc_post_details_wrapper{
        order: 2;
    }
    .sc_section_grid_sidebar{
        order: 1;
        margin-bottom: 32px !important;
    }
    #section-5-26 .ct-section-inner-wrap #image-10-26{
        width: 100% !important;
    }
    #section-12-26 .ct-section-inner-wrap .sc_gallery_slider_card_metadata{
        margin-top: 16px !important;
    }

    #code_block-100-144{
        margin-top: 16px !important;
    }
    #section-3-144 .ct-section-inner-wrap:has(#code_block-117-144){
        gap: 0px !important;
    }
    .single-foto-galerija .single-gallery-archive,
    .single-foto-galerija #div_block-31-144{
        margin: 0 !important;
    }
    .single-foto-galerija #div_block-104-144{
        margin-top: 64px !important;
    }
    #div_block-31-144{
        margin-bottom: 32px !important;
    }
    
    
    #footer-section .ct-section-inner-wrap{
        display: grid !important;
    }
    .sc_related_cards_wrapper.sc_work_cards_wrapper{
        display: flex !important;
    }

    .sc_photo_galeries_container{
        display: flex !important;
        flex-direction: column !important;
    }
    #single-gallery-archive{
        order: 2;
        margin-top: 0 !important;
    }
    #div_block-31-144{
        margin-top: 0 !important;
        order: 2;
    }
    #code_block-117-144{
        order: 1;
    }
    #div_block-104-144{
        order: 3;
    }
    .sc_photo_header_data_wrapper .sc_card_location{
        width: 100%;
    }
    
    .sc_info_page_section_container .ct-section-inner-wrap{
        gap: 48px !important;
    }
    #sc-gut-page .ct-section-inner-wrap{
        gap: 32px !important;
    }
    

    #section-49-5 .sc_viewMore_wrapper{
        padding-top: 32px !important;
        justify-content: center !important;
    }
    .swiper-slide.sc_video_slide.sc_video_card{
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        .sc_video_card_metadata{
            background: unset !important;
            border: 1px solid transparent !important;
            gap: 16px !important;
            padding: 0 !important;
        }
        .embed-container.sc_video_card_video,
        .embed-container.sc_video_card_video iframe{
            width: 100% !important;
            height: 100% !important;
        }
    }
    
    #code_block-24-5 .sc_viewMore_wrapper.justify-center{
        margin-top: -16px !important;
    }

    #code_block-72-5 .sc_viewMore_wrapper.justify-start{
        padding-bottom: 32px !important;
    }

    #custom-mailchimp-form{
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .sc_subscribe_input{
        width: 100% !important;
    }

    .sc_home_slider .sc_search_empty.sc_events_empty{
        margin: 0 !important;
    }

    .sc_post_nav_btn_placeholder{
        display: none !important;
    }

    .sc_post_nav_btn_wrapper{
        width: calc(100% / 2 - var(--grid-gap) / 2) !important;
    }
    #code_block-25-209{
        flex-direction: row !important;
    }
    .single-dogadjaji #div_block-12-209{
        display: none !important;
    }
    .single-dogadjaji #div_block-8-209 {
        padding-bottom: 8px !important;
    }
    .single-dogadjaji #section-27-209 .ct-section-inner-wrap{
        padding-top: 40px;
    }
    
}

@media screen and (max-width: 991px) {
    .sc_info_page_section_container .sc_section_grid,
    #section-5-26 .ct-section-inner-wrap{
        display: flex !important;
        flex-direction: column !important;
        gap: 64px !important;
    }
    #section-5-26 .sc_post_details_wrapper{
        order: 2;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    #sc-gut-page .sc_section_grid_content{
        grid-column-end: 12 !important;
    }
    #sc-gut-page .alignwide{
        width: 100% !important;
        left: 0 !important;
    }
    .page-id-53 #div_block-53-53{
        flex-direction: row !important;
        #div_block-99-53{
            order: 2;
        }
    }
    .sc_post_card{
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        .sc_post_card_metadata{
            padding: 0 !important;
            gap: 16px !important;
            .sc_post_card_title{
                margin: 0 !important;
            }
        }
    }
    .sc_photo_card_single{
        grid-column: span 6 !important;
    }
}

@media screen and (min-width: 991px) and (max-width: 1140px) {
    .sc_photo_card_single{
        grid-column: span 4 !important;
    }
}

@media screen and (min-width: 768px){
    .ksb-slider-container{
        padding: 64px 0 !important;
    }
}