
@media (max-width: 768px) {

  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .home-portfolio {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding: 12px !important;
  }

  .portfolio-wrapper {
    display: block;
    position: relative;
    overflow: hidden;
  }

  .home-portfolio img {
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .portfolio-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.65);
    text-align: left;
  }

  .portfolio-caption h3 {
    font-size: 15px !important;
    line-height: 1.3;
    margin: 0;
    color: #fff;
  }

  .clearfix {
    display: none !important;
  }

  body {
    padding-bottom: 80px;
  }

  .block-title h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {

  .home-portfolio {
    width: 50% !important;
    float: left !important;
  }

  .portfolio-caption h3 {
    font-size: 17px;
  }
}

@media (max-width: 768px) {

  .slider {
    position: relative !important;
    height: auto !important;
    min-height: 480px;
    overflow: hidden;
  }

  .home-slides {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 70vh;

    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;

    z-index: 1;
  }
  
  .slider .home-slides {
    min-height: 75vh !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    transform: none !important;   /* 🔥 KILLS ZOOM */
  }

  /* Disable slideshow animation zoom */
  .slideshow,
  .slideshow animation,
  .home-slides {
    animation: none !important;
  }

  .slider-text {
    position: relative !important;
    z-index: 2;
    padding: 30px 20px;
    background: rgba(255,255,255,0.85);
  }
  
  .pic-1 {
    background-size: contain !important;
  }

  .pic-2 {
    background-size: cover !important;
    background-position: center top !important;
  }
  
  .slider div[class^="pic-"] {
    transform: scale(1) !important;
  }

}

