.button-blog-normal {
    margin-top:20px;
    margin-bottom:20px;
    overflow: hidden;
}

.button-blog-normal a {
    display: block;
    width: max-content;
}

.ybc-blog-wrapper .page-heading {
    margin-top: 0px; 
    background: #d4dcc6;
    padding: 20px 10px;
    margin-bottom: 20px;
}

.ybc-blog-tags a {
background: #e9e9e9;
padding: 6px;
line-height: 35px;
}

.button-line {
display: flex;
flex-direction: column;
margin-bottom: 50px;
    margin-top: 50px;
align-items: center;
}

.button-line button a {
background-color: #e26e4a;
    color: white;
    padding: 10px 30px;
    font-size: 20px;
    border-radius: 15px 0px;
    border: 0px;

}
.button-line button {
    background: transparent;
    border: 0px;
}

@media (max-width:1199px) {
.ybc_blog_content_block_item.col-xs-12, .ajax_block_product.col-xs-12.col-sm-4.col-lg-3 {
    width:50%;
}
.ybc_blog_content_block_item .blog_description {
        display:none;
    }
.ybc_blog_content_block_item  .ybc_title_block {
        font-size: 13px;
    }    
}

@media (max-width:480px) {

#ybc-blog-related-products {
    background:white;
}
#ybc-blog-related-products .content_price span {
    display:block;
}

.ybc-blog-wrapper-detail {
    padding: 0px 5px;
    background:transparent;
}
.ybc_blog_content_block_item.ybc-blog-related-posts-list-li.col-xs-12.col-sm-4.col-lg-4.thumbnail-container, .ajax_block_product.col-xs-12.col-sm-4.col-lg-3 {
   padding-left:5px;
   padding-right: 5px; 
}
.ybc-blog-related-posts, #ybc-blog-related-products {
    padding: 10px;
}
}

@media (max-width:767px) {
#content-wrapper .col-sm-8 {
    float: left;
    width: 100%;
}
.blog_one-boxes-layout .blog_text-content {
    padding-bottom:20px;
}
.blog_two-boxes-text .blog_text-content, .blog_one-boxes-layout .blog_text-content {
    width:100%;
    max-width:100%;
}
.blog_one-boxes-layout .blog_text-content {
    padding-left:0px;
    padding-right: 0px;
}
.blog_two-boxes-text .blog_text-content {
    padding: 20px 0px;
}
.blog_two-boxes-layout {
    padding:0px;
}
}

.be-categories>a, .ybc-blog-tags a, .be-categories {
    color: #797673;
}

a.ybc_title_block {
    height: 65px;
    overflow: hidden;
}

.ybc_indexing.index_h3 {
    padding-left:0px;
}

.gallery-inspiracje {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.gallery-inspiracje img.lazy-img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s;
}

.gallery-inspiracje img.lazy-img:hover {
  transform: scale(1.05);
}

.gallery-inspiracje {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-inspiracje.loaded {
  opacity: 1;
}

.gallery-produkty {
  column-gap: 16px; /* odstęp między kolumnami */
  column-count: 4;   /* domyślnie 4 kolumny */
}

@media (max-width: 1600px) { .gallery-produkty { column-count: 3; } }
@media (max-width: 800px)  { .gallery-produkty { column-count: 2; } }
@media (max-width: 500px)  { .gallery-produkty { column-count: 1; } }

.gallery-produkty img {
  width: 100%;
  display: block;
  margin-bottom: 16px;
  break-inside: avoid; /* ważne, żeby elementy nie łamały się w kolumnie */
}



@media (min-width:768px) and (max-width:991px) {
#ybc_blog_page #content-wrapper .col-md-3 {
    display:none;
}

#ybc_blog_page #content-wrapper .col-md-9, .blog_two-boxes-text .blog_text-content, .blog_one-boxes-layout .blog_text-content {
    width: 100%;
    max-width:100%;

}
}

@media (min-width:991px) and (max-width:1600px) {
#left-column .ybc_block_categories a::before {
    display:none;
   }
}

@media (min-width:768px) {
.blog_description p {
    font-size:13px!important;
}
#ybc_blog_page #wrapper {
    background-color: #303030;
    background-image: none!important;
}
#ybc_blog_page .breadcrumb, #ybc_blog_page .breadcrumb a {
color:white!important;
}
}

@media (max-width:991px) {
#left-column .ybc_block_popular, #left-column .ybc_block_rss {
    display:none;
}

#header .header-top>.container>.row:first-of-type {
    display:none;
}

#header .header-top {
    padding:0px;
}

}

@media (max-width:767px) {

    #left-column .ybc_block_categories a::before {
    content: "";
    margin-right: 0;
    border-right: 0;
    border-top: 1px solid;
    width: 0;
    height: 0;
    display: inline-block;
    transform: rotate(45deg);
    vertical-align: 2px;
}

    .blog-category-desc {
        font-size:14px;
    }

    .post-wrapper .blog_description p {
    font-size: 12px !important;
}

.page-content.page-cms ul, p {
    font-size: 13px;
}

#ybc_blog_page .ybc-blog-list li {
    padding: 0 5px;
}
#ybc_blog_page .post-wrapper .blog_description {
    font-size: 14px;
    line-height: 20px;
    height: 80px;
    overflow: hidden;
}
#ybc_blog_page .ybc_title_block {
    font-size: 14px;
    margin-bottom: 15px;
}
#ybc_blog_page #content-wrapper .ybc-blog-wrapper {
    background:transparent;
    padding:5px;
}
#ybc_blog_page .blog-category {
    background: transparent;
}
.blog-paggination .results {
    margin-top:10px;
}
.blog-paggination .links a, .blog-paggination .links>b {
    font-size: 14px;
    height: 40px;
    width: 40px;
    line-height: 40px;
}
#ybc_slider .nivo-caption {
    display:none!important;
}
ul.ybc-blog-list.row.blog-main-page {
    padding:5px;
}
.blog-paggination .links {
    max-width: 100%;
}

.ybc-navigation-blog {
   background:#819c28;
   color: white;
    }

 .ybc-navigation-blog::before {
   border-bottom: 1px solid white;
   border-left: 1px solid white;
   }

}

#left-column a.ybc_title_block {
    margin-bottom:10px;
}

.page_html_box video {
width: 100%;
    height: auto;
}

#left-column .page_html_box {
-webkit-box-shadow: 0px 0px 0px 0 rgba(0, 0, 0, .1)!important;
background:transparent!important;
padding:0px 15px!important;

}

.read_more {
padding: 8px 10px!important;
}

button.slick-prev.slick-arrow, button.slick-next.slick-arrow {
    display: flex;
    align-content: center;
    justify-self: center;
    padding: 5px;
}

#left-column a.ybc_title_block {
        height: 100px;
    overflow: hidden;
    display: flex;
    
    align-items: center;
}

#left-column button.slick-prev.slick-arrow {
margin-bottom:25px;
}

.blog-paggination .results {
    display:none;
}

@media (min-width: 1200px) and (max-width: 1600px) {
.ybc-blog-wrapper-content-main .blog_description p {
    font-size: 13px !important;
    max-height: 54px;
    overflow: hidden;
}

.podobne_sg .blog_description {
    max-height: 120px;
    overflow: hidden;
    min-height: 120px;
}

a.ybc_title_block {
    display: flex;
    align-items: center;
}
    #wrapper .breadcrumb {
        margin-bottom: 15px;
    }
}

@media (max-width: 767px) and (min-width: 360px) {
#ybc_blog_page .ybc-blog-list li {
    float: left;
    padding: 0 5px;
    width: 50%;
}
}









