body.post-type-archive-negozio {

}

.negozio-teaser {
  margin-bottom: 5rem;
  border: 2px solid $primary-color;
  transition: all .4s $easing;
  position: relative;
  @media screen and($bp-larger-than-tablet) {
    &:hover {
      border-color: transparent;
  
      figure {
        opacity: 1;
  
        img {
          opacity: .5;
        }
      }
  
      .open-map {
        opacity: 1;
      }
  
      header,
      .custom-underline {
        opacity: 0;
      }
    }
  }
  figure {
    height: 0;
    padding-bottom: 60%;
    position: relative;
    width: 100%;
    overflow: hidden;
    transition: all .4s $easing;
    opacity: 0;
    background-color: $primary-color;
    @media screen and(max-width: $bp-phablet) {
      max-width: 35rem;
    }
    @media screen and(max-width: $bp-mobile) {
      max-width: 100%;
    }
    img {
      width: 100%;
      height: 100%;
      @extend .centered;
      font-family: 'object-fit:cover';
      object-fit: cover;
      margin: 0 auto 2rem;
      transition: all .4s $easing;
      opacity: 0;
    }
  }
  .open-map {
    color: $white;
    text-transform: uppercase;
    opacity: 0;
    transition: all .4s $easing;
    @extend .centered;
    font-size: 1.2em;
    font-weight: 600;
    letter-spacing: .05em;
  }
  .content {
    @extend .centered;
    text-align: center;
    width: 75%;
    header {
      transition: all .4s $easing;
        h3, h5 {
          font-family: $font-family-sans-serif;
          font-size: 1.25em;
          letter-spacing: 1px;
          color: $black;
          font-weight: 400;
          margin-bottom: .5rem;
          display: inline-block;
          width: 100%;
        }
        h5 {
          color: $primary-color;
        }
      // }
    }
    .custom-underline {
      font-size: .975em;
      margin-top: 3rem;
      display: inline-block;
    }
  }
  &:hover {
    figure {
      img {
        transform: translate(-50%, -50%) scale(1.05);
      }
    }
  }
}

body.single-negozio {
  .btn.desktop {
    display: none;
    @media screen and($bp-larger-than-phablet) {
      display: block;
    }
  }
  .btn.phablet {
    display: block;
    margin: 0rem auto 4rem;
    @media screen and($bp-larger-than-phablet) {
      display: none;
    }
  }
  .single-standard {
    padding-top: 0;
  }
  .back-to {
    color: $black;
    font-size: 1em;
    font-weight: 400;
    letter-spacing: 1px;
    display: inline-block;
    transition: all .4s $easing;
    margin-top: 3.5rem;
    @media screen and($bp-larger-than-phablet) {
      // padding-left: 10rem;
    }
    i {
      display: inline-block;
      vertical-align: middle;
      font-size: 1.5em;
      margin-right: .5rem;
      // transition: all .4s $easing;
    }
    &:hover {
      color: $primary-color;
    }
  }
  .page-header {
    text-align: left;
    // padding-bottom: .5rem;
    padding-left: 1.5rem;
    @media screen and($bp-larger-than-phablet) {
      // padding-left: 10rem;
    }
  }
  .map-container {
    margin-bottom: 5rem;
  }
  .info-blocks {
    margin-bottom: 5rem;
    @media screen and($bp-larger-than-phablet) {
      // margin-bottom: 15rem;
    }
    .contact-block, .timing-block {
      .info-title {
        font-family: $font-family-sans-serif;
        letter-spacing: .05rem;
        font-weight: 400;
        font-size: 1.35em;
        margin-bottom: 0;
        & + hr {
          margin-top: 1rem;
        }
      }
      p {
        font-size: 1.1em;
        strong, b, a {
          font-weight: 500;
          color: $black;
        }
        a {
          @extend .custom-underline;
        }
      }
      .timing {
        width: 100%;
        margin-bottom: 2.5rem;
        font-size: 1.1em;
        @media screen and($bp-larger-than-phablet) {
          display: table;
          .time-el {
            display: table-cell;
          }
        }
        .time-el {
          list-style: none;
          h6 {
            font-family: $font-family-sans-serif;
            font-weight: 400;
            letter-spacing: .05rem;
            margin-bottom: 0;
            font-size: 1.1em;
          }
        }
      }
    }
  }
  .link-wrapper {
    .btn {
      margin: 0 0 10rem;
      max-width: 40rem;
    }
  }
}
