main>section.portfolio__section,
main>section.portfolio-archive__section{
  margin-top: 0;
  padding: 25px 0 35px 0;
}
.portfolio__breadcrumbs {
  margin-bottom: 20px
}
.portfolio__breadcrumbs li {
  font-family: var(--main-font-family);
  font-weight: 400;
  font-size: var(--main-font-size-small);
  color: var(--main-color-black);
  text-transform: none
}
.portfolio__breadcrumbs li a {
  color: var(--main-color-grey);
  text-decoration: none
}
.portfolio__title,
.portfolio-archive__title{
  font-family: var(--second-font-family);
  font-weight: 400;
  font-size: 28px;
  text-transform: uppercase;
  text-shadow: 0 4px 4px rgb(0 0 0 / 25%);
  color: var(--main-color-black);
  margin: 0 0 25px 0;
}
.portfolio__slider-wrap{
  width: 100vw;
  margin-left: -15px;
  margin-bottom: 40px;
}
.swiper-wrapper .portfolio__slide{
  height: 300px;  
}
.portfolio__slide--img{
  width: 100%;
  height: 300px;  
  object-fit: cover;
}
.portfolio__slider--nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px
}
.swiper-portfolio-prev,
.swiper-portfolio-next {
  background: none;
  opacity: .5;
  top: 60%
}
.swiper-portfolio-prev {
  left: 25px
}
.swiper-portfolio-next {
  right: 3px
}
.swiper-portfolio-prev svg,
.swiper-portfolio-next svg {
  min-width: 40px;
  height: 40px
}
.swiper-portfolio-prev:hover,
.swiper-portfolio-next:hover {
  opacity: 1
}
.portfolio__slider--nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #757777;
  background: #F3F3F3;
  text-align: center;
  padding: 15px 0;
  cursor: pointer
}
.portfolio__slider--nav-item span {
  color: #757777;
  font-family: Murecho;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase
}
.portfolio__slider--nav-item.active span {
  color: #000
}
.portfolio__slider--nav-item:hover {
  border-bottom: 1px solid #000
}
.portfolio__slider--nav-item:hover span {
  color: #000
}
.portfolio__slider--nav-item.active {
  border-bottom: 1px solid #000
}
.portfolio__subtitle {
  font-weight: 400;
  font-size: 20px;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 20px;
}
.portfolio__characteristics {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}
.characteristics__item {
  display: flex;
  justify-content: space-between;
  padding-left: 25px;
  font-weight: 400;
  font-size: 16px;
  color: #757777;
  border-bottom: 1px solid #757777;
  padding-bottom: 5px;
}
.characteristics__item--area{
  background: url(/wp-content/themes/child-komanda/assets/img/area.svg);
  background-repeat: no-repeat;
}
.characteristics__item--area .characteristics__item--title{
  text-transform: capitalize;
}
.house__header--buttons-installed {
  display: block;
  width: 100%;
  background: #000;
  border: 2px solid #000;
  padding: 18px 30px;
  color: #FFF;
  font-family: 'Mont', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
}
.house__header--buttons-installed:hover, 
.house__header--buttons-installed:focus {
  color: #000;
  border: 2px solid #000;
  background: none;
}
.portfolio__description {
  margin-top: 40px;
}
.portfolio__description p{
  font-family: 'Murecho', sans-serif;
  line-height: normal;
  letter-spacing: normal;
  color: #757777;
  margin-bottom: 10px;
  font-weight: 400;
  font-size: 16px;
}
.portfolio__description ul,
.portfolio__description ol {
    color: #757777;
    font-family: 'Murecho', sans-serif;
    line-height: normal;
    margin-bottom: 35px;
    margin-left: 35px;
}
.portfolio__description ul{
    list-style: none;
}
.portfolio__description ul li:before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50px;
    position: relative;
    top: -3px;
    left: -15px;
    background: #7acf55;
}
.portfolio__description a{
  font-family: 'Days One', sans-serif;
  color: #77d14d;
}
.portfolio__video{
  margin: 40px 0 0 0;
}
.video-embed {
  width: 100%;
  height: 100%;
}
.video-embed iframe {
  position: relative;
  width: 100%;
  height: 250px;
  border-radius: 8px;
}
.portfolio-tabs__items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px 15px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
}
.portfolio-tabs__item{
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #000;
  padding: 10px 15px;
  background: #f5f5f5;;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0 10px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  min-height: 40px;
  cursor: pointer;
}
.portfolio-tabs__item:first-child {
  flex-grow: 1;
  justify-content: space-between;
}
.portfolio-tabs__sort--form{
  display: flex;
  flex-direction: column;
  gap: 10px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
}
.portfolio-tabs__content--link {
  padding-left: 30px;
}
.portfolio-tabs__content--link a, 
.portfolio-tabs__content--link span, 
.portfolio-tabs__content--link label {
  font-family: var(--main-font-family);
  position: relative;
  text-decoration: none;
  font-size: .875rem;
  color: gray;
  padding-left: 0;
  padding-bottom: 0;
  outline: none;
  box-shadow: none;
  border: none;
  display: flex;
  align-items: center;
  cursor: pointer;
  width: fit-content;
}
.portfolio-tabs__content--link a::before,
.portfolio-tabs__content--link label::before  {
  border: solid 1px gray;
}
.portfolio-tabs__content--link a::before, 
.portfolio-tabs__content--link span::before, 
.portfolio-tabs__content--link label::before {
  content: '';
  clear: both;
  position: absolute;
  height: 11px;
  width: 11px;
  left: -22px;
  border-radius: 50%;
}
.portfolio-tabs__content--link span::before,
.portfolio-tabs__content--link input:checked + label::before {
  border: solid 1px var(--kmnd-body-background-accent);
  top: 2px;
}
.portfolio-tabs__content--link span::after, 
.portfolio-tabs__content--link input:checked + label::after {
  content: '';
  clear: both;
  position: absolute;
  background: var(--kmnd-body-background-accent);
  width: 7px;
  height: 7px;
  left: -20px;
  top: 4px;
  border-radius: 50%;
}
.portfolio-filter-form--reset{
  background: var(--kmnd-body-background-accent);
  width: 100vw;
  margin-left: -15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 50px;
  padding-left: 15px;
  padding-right: 15px;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #ffffff;
  font-size: .875rem;
}
.portfolio-filter-form--reset img {
  width: 24.52px;
  height: 24px
}
.portfolio-filter-form--reset:after {
  content: '';
  display: block;
  width: 24px;
  height: 24px
}
.portfolio_archive__items{
  display: grid;
  gap: 30px;
  margin: 30px 0;
  position: relative;
  z-index: 9;
}
.portfolio_archive__item {
  position: relative;
}
.portfolio-item__header {
  font-family: 'Days One', sans-serif;
  position: absolute;
  display: grid;
  grid-template-columns: 1fr 100px;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  width: 100%;
  z-index: 9;
}
.portfolio-item__title{
  font-weight: 400;
  font-size: 18px;
  color: #000;
  border-right: 1px solid #757777;
  padding: 5px 10px;
}
.portfolio-item__header span{
  font-size: 18px;
  color: #77d14d;
  padding: 5px 10px;
}
.portfolio-item__image img {
  width: 100%;
  height: 250px;
  min-height: 250px;
  object-fit: cover;
}
.portfolio-item__button{
  position: absolute;
  top: 0;
  background: #fff;
  padding: 15px 40px;
  text-transform: capitalize;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
  text-transform: uppercase;
  color: #000;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media (min-width: 500px) {
  .swiper-wrapper .portfolio__slide{
    height: auto;  
    max-height: 700px;
  }
  .portfolio__slide--img{
    height: auto;  
    max-height: 500px;
  }
  .video-embed iframe {
    height: 400px;
}
}
@media (min-width: 992px) {
  .portfolio__title{
    font-size: 45px;
    margin: 30px 0;
  }
  .portfolio__columns{
    display: grid;
    grid-template-columns: 555px 1fr;
    gap: 0 50px;
  }
  .portfolio__slider-wrap {
    width: 100%;
    margin-left: 0;
    margin-bottom: 0;
  }
  .portfolio__subtitle--video {
    font-family: "Days One", sans-serif;
    font-size: 28px;
    text-transform: uppercase;
    color: #000;
    margin: 0 0 30px 0;
    padding-left: 25px;
    border-left: 10px solid #77D14D;
    display: block;
  }        
  .video-embed iframe {
      height: 600px;
  }
  .portfolio-archive__title {
    font-size: 50px;
    margin: 30px 0;
  }
  .portfolio-tabs__item:first-child {
    flex-grow: initial;
   width: 200px;
  }
  .toggle__content{
    opacity: 0;
    pointer-events: none;
  }
  .toggle__content.active{
    pointer-events: all;
  }  
  .portfolio_archive__items {
    grid-template-columns: 1fr 1fr;
    gap: 45px;
  }
  .portfolio-item__button{
    opacity: 0;
    transition: opacity 0.3s ease-in-out; 
  }
  .portfolio-item__image img {
    height: 350px;
  }
  .portfolio-filter-form--reset{
    display: none!important;
  }
  .portfolio-item__button{
    background: none;
    border: 1px solid white;
    color: white;
  }
  .portfolio-item__title{
    font-size: 24px;
    padding: 10px;
  }
  .portfolio-item__header span{
    font-size: 24px;
    padding: 10px;
  }
  .portfolio-item__image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0; 
    transition: opacity 0.3s ease; 
    pointer-events: none; 
    height: 350px;
  }
  .portfolio-item__button:hover {
    opacity: 1;
    background: #fff;
    border: none;
    color: #000;
  }
  .portfolio_archive__item:hover .portfolio-item__image::after {
    opacity: 1;
  }
  .portfolio_archive__item:hover .portfolio-item__button{
    opacity: 1;
  }
  .portfolio-item__button:active{
    border: 1px solid white;
  }
}