

/* --- news-slider --- */

.news__item:not(.news__item.slider){
  max-width: 440px;
  width: 33%;
}
.news__item--img{
  width: 100%;
  max-height: 200px;
  object-fit: cover;
}
.news__item--content{
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: solid 1px var(--c-gray);


  align-items: center;
}
.news__item--time{
  font-size: 1.4rem;
  font-weight: 500;
  color: #686868;
}
.news__item--category{
  font-size: 1.4rem;
  font-weight: 400;
  padding: 4px 25px 2px 25px;
  background-color: var(--c-gray);
  color: #fff;
}
.news__item--title{
  font-size: 1.2rem;
  font-weight: 500;
  display: block;
  width: 100%;
  min-height: 30px;
  color: #444444;
  padding-top:0.8em;
  padding-bottom:1em;
  line-height: 27px;
}
.news__item--content hr {
    margin: 0.5rem 0;

}
.news_swiper{
  margin-top: 60px;
}
.swiper__header{
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  position: relative;
  justify-content: space-between;
}
.swiper__header--tittle{
  font-size: 3.6rem;
  color: #444444;
}
.swiper__header--arrow{
  margin-top: 1px;
}
.swiper__header--arrow{
  position: relative;
  margin-left: 25px;
  width: 60px;
  display: flex;
  height: 33px;
  justify-content: space-between;
}
.swiper__header--wrap{
  display: flex;
  align-items: center;
}
.swiper__header--link-more{
  font-size: 2rem;
  color: var(--c-orange);
  position: relative;
  min-height: 34px;
}
.swiper__header--link-more::before{
  content: "";
  width: 100%;
  height: 1px;
  background-color: var(--c-orange);
  position: absolute;
  bottom: 0px;
}
.swiper__header--link-more:hover{
  color: #686868;
}
.swiper__header--link-more:hover::before{
  background-color: #686868;
}
.swiper__header--arrow .swiper-button-prev{
  transform: rotate(180deg);
}
.news_swiper .swiper-button-next, .news_swiper .swiper-button-prev{
  position: relative;
}
.news_swiper .swiper-button-next:after, .news_swiper .swiper-button-prev:after{
  content: none;
  position: none;
}
.news_swiper .swiper-button-next svg, .news_swiper .swiper-button-prev svg{
  width: auto;
  height: auto;
}
.news_swiper .swiper-button-prev{
  left: 0;
  justify-content: end;
}
.news_swiper .swiper-button-next{
  right: 0;
  justify-content: right;
}
.news_swiper .swiper-slide{
  background-color: transparent;
  text-align: start;
}
@media screen and (max-width: 767px){
  .news__item--title{
    font-size: 1rem;
  }
}
@media screen and (max-width: 576px){
  .swiper__header{
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 400px){
  .news__item--img{
    max-height: 220px;
  }
}


/* --- news detail --- */

.news-text-wrap{
  font-size: 1.1rem;
  line-height: 1.6rem;
  margin-top: 35px;
}
.news-img-wrap img{
  width: 100%;
  height: 550px;
  object-fit: cover;
}
.news-single .article-d-header{
   font-size: 2rem;
    color:var(--color-primary);
  font-weight: 600;
  margin-bottom: 25px;
}
.news-single .under-header{
  font-size: 1.4rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  column-gap: 20px;
  row-gap: 15px;
}
.news-single .news-list-category{
  background-color: #d9d9d9;
  padding: 7px 20px 3px 20px;
  border-radius: 5px;
}
.article__teaser{
      margin: 1em 0em 1.5em 0em;
    font-size: 1.4rem;
  display: block;
  color: #2c2c2c;
  line-height: 34px;
}
@media screen and (max-width: 992px){
  .news-single{
    margin-top: 10px;
  }
  .news-single .article-d-header{
    font-size: 1.8rem;
  }
  .news-text-wrap{
    font-size: 1.8rem;
  }
  .article__teaser{
    font-size: 2rem;
  }
  .news-img-wrap img{
    height: 350px;
  }

}
@media screen and (max-width: 576px){
  .news-img-wrap img{
    height: 250px;
    object-fit: cover;
  }
  .image-wrapper img{
    max-width: 100%; 
display: block; 
height: auto;
  }
}

 /* --- news list page --- */

 .news{
  margin-bottom: 80px;
 }
 .news__wrap{
  display: flex;
  flex-wrap: wrap;
  column-gap: 40px;
  row-gap: 40px;
  justify-content: space-between;
 }
 .news__wrap > header{
  display: block;
  width: 100%;
 }
 .news__wrap > header *{
  font-size: 3.6rem;
  color: #444444;
  margin-bottom: 0px;
 }
 .news__wrap > a{
  display: none;
  content-visibility: hidden;
 }
 .news__wrap .news__item{
    max-width: 33%;
    width: calc(33% - 40px) !important;
 }
 .news__wrap .f3-widget-paginator{
  display: block;
  content-visibility: visible;
  width: 100%;
  list-style: none;
  padding: 0px;
  display: flex;
  row-gap: 10px;
  column-gap: 10px;
  justify-content: end;
  font-size: 1.5rem;
  line-height: 17px;
 }

 .news__wrap .f3-widget-paginator .current,
 .news__wrap .f3-widget-paginator li a{
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
 }
 .news__wrap .f3-widget-paginator .current,
 .news__wrap .f3-widget-paginator .current:hover,
 .news__wrap .f3-widget-paginator li a:hover{
  color: #fff;
  background-color: var(--c-orange);
 }
 @media screen and (max-width: 1199px){
  .news__wrap{
    column-gap: 40px;
  }
  .news__item:not(.news__item.slider){
    width: calc(50% - 20px) !important;
    max-width: 100% !important;
  }
  .news__item--content{
    margin-bottom: 0px;
  }
 }

 @media screen and (max-width: 1199px){
  .news__item:not(.news__item.slider){
    width: 100% !important;
  }
 }

 .blog .image-wrapper {
    padding:15px;
    text-align: center;
 }
 .blog .card {
    border-radius: 0;
 }
 .blog .text-box {
    padding:2em 1em 1.5em 1em;
    text-align: left;
 }
 .blog .heading {
    font-size:1.2rem;
    font-weight: 600;
    min-height: 2.7em;
 }

 .blog .button_belt {
    top:0px;
    text-align: center;
        font-size: 1.1rem;
        font-weight: 600;
 }

 .blog .border-top {
    border-top:1px solid #D3D3D3 !important;
    padding-top:1.7em;
    margin-top:1em;
    text-align: center;
 }
 .blog .button_belt .bt {
    width:28px;
    height: 28px;
        line-height: 19px;
        top:-5px;
        margin-left: 10px;
 }
 .blog .button_belt .bt img {
    width:15px;
    height: 15px;
    top:2px;
 }


.image-wrapper img.img-fluid{

    object-fit: cover;
    min-height: 230px;
}

.news .ce-bodytext {
  padding-top:2.7em;
}
.news .ce-gallery {
    margin-top: 30px;
    margin-bottom: 30px;
}
.news .accordion {
  color:#000;
}
.news .highlight {
    color:var(--bg-gray-primary);
    font-size: 1.8rem;
    margin-right: 0;
    position: relative;
    top:0;
}
.news .accordion-header .accordion-button{
      color:var(--bg-gray-primary) !important;
    font-size: 1.8rem;
}

.news .accordion-button::after, .news .accordion-button:not(.collapsed)::after {
    filter: brightness(1) invert(0);
}

.news .accordion .ce-bodytext, .news .accordion .ce-bodytext p{
    color:#000 !important
}
.news .accordion .ce-bodytext {
  padding-top:1.5em;
}



.news-text-wrap .ce-column {
    margin-right: 20px;
} 
.section.section-default.blog .card{
  margin-bottom:3em;
}
figcaption.image-caption {
  font-size:0.9rem;
  margin-top:8px;
  padding: 3px;
  text-align: center;
}





.f3-widget-paginator {
    display: flex;
    list-style: none;
    margin-top: 1.5rem;
    align-items: center;
    justify-content: center;
}

.f3-widget-paginator .current {
    color: #f26523;
        font-weight: 600;
}

.f3-widget-paginator li {
    padding: 0 5px;
}
.f3-widget-paginator a {
    color: #000;
    font-weight: 600;
}

.blog .button_belt {
  font-size:0.9rem;
}


.blog {
  padding-bottom:8em;
}

.blog .col-md-7 img {
  width:100%;
}

.blog .button_white, .news__item--content .button_white, .news-single .button_white{
  color:#000;
  background-color: #fff;
    display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff url(../Icons/arrow-min-black.svg)
    no-repeat calc(100% - 1rem) center / 1.25rem;
  border: none;
  padding: 0.55rem 3rem 0.55rem 1rem; 
  border-radius: 8px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background-color 0.2s;
   border:2px solid #fff;
}

.blog span {
  text-transform: uppercase;
  font-weight: 600;
  font-size:0.8rem;
  padding-bottom:1em;
  display: block;
}
.blog hr {
  margin-top:0rem;
}

.blog .txt {
  margin-left:3em;
  margin-right: 3em;
}
.blog .txt:first-child {
  margin-top:4.5em;
}

.blog .col-md-5 .row > div:nth-last-child(1) .txt {
    margin-bottom: 3em;
}

.blog .col-md-7 {
    min-height: 100%;  
    display: flex;
    flex-direction: column;
}

.blog .col-md-7 img {
    width: 100%;
  
    object-fit: cover; 
    object-position: center;
    flex-grow: 1;    

}

/* Dla Bootstrap 3 - kompatybilność */
.blog .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch; 
}

.blog .col-md-5 {
    display: flex;
    flex-direction: column;
}

.blog.mt-5.bg-light-gray .gallery-style-one img{
  display:none;
}
.frame-type-news_pi1 img {
  width:100%;
  height: auto;
}
.news-single .button_white {
  font-weight: 500;
}

.blog .col-md-12.col-xs-12:last-of-type hr{
  display: none;
}

.blog-container {
    overflow: hidden;
}

.blog-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}
