.property-rooms{
  margin: 110px 0 95px;
}

  .property-rooms h2{
    font-size: 2.5rem;
    line-height: 1.3em;
    font-weight: 400;
  }

.property-rooms__gallery{
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  gap: 30px;
  padding: 0;
  margin: 40px 0 0;
  list-style: none;
}

  @media screen and (min-width: 64em){
    .property-rooms__gallery{
      grid-template-columns: 1fr 1fr;
      grid-template-rows: repeat(2, 1fr);
    }

    .property-room:nth-child(6n+1){
      grid-column: 1 / 2 !important;
      grid-row: span 2;
    }

    .property-room:nth-child(5n){
      grid-column: 2 / 3;
      grid-row: span 2;
    }
  }

.property-room{
  min-height: 320px;
}

  .property-room__gallery{
    border: none;
    padding: 0;
  }

    .property-room__gallery::backdrop{
      background-color: rgba(255,255,255, 0.5);
      backdrop-filter: blur(5px);
    }

  .property-room__btn{
    border: none;
    background-color: var(--blue);
    color: var(--white);
    text-align: left;
    border-radius: 20px;
    height: 100%;
    flex-direction: column;
    padding: 35px;
    overflow: hidden;
    position: relative;
    display: flex;
    width: 100%;
    text-decoration: none;
  }

    .property-room__btn:hover{
      cursor: pointer;
    }

      .property-room__btn:hover::after{
        background-size: 100% 100%;
      }

      .property-room__btn:hover .property-room__bg{
        transform: scale(1.35);
      }

    .property-room__bg{
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center center;
      z-index: 1;
      transition: all 0.25s ease-in-out;
    }

    .property-room__btn::after{
      content: '';
      display: block;
      width: 100%;
      height: 100%;
      position: absolute;
      z-index: 1;
      /*background-image: linear-gradient(transparent, var(--blue));*/
      background-size: 100% 50%;
      background-repeat: no-repeat;
      background-position: bottom center;
      transition: .4s;
      top: 0;
      left: 0;
    }

    .property-room__btn h3{
      margin-top: auto;
      position: relative;
      z-index: 5;
    }

    .property-room__btn p{
      position: relative;
      z-index: 5;
      margin-bottom: 0;
    }

  .property-room__gallery-close{
    position: absolute;
    z-index: 10;
    top: 10px;
    right: 10px;
    border: none;
    color: var(--white);
    background-color: transparent;
    font-size: 3rem;
    padding: 0;
    line-height: 0.5em;
  }

    .property-room__gallery-close:hover, .property-room__gallery-close:focus{
      color: var(--blue);
      cursor: pointer;
    }

  .property-room_gallery-images{
    position: relative;
    z-index: 1;
  }

    .property-room__gallery-item{
      opacity: 0;
      width: 100%;
      height: auto;
      max-width: 1200px;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1;
      display: block;
      object-fit: contain;
    }

    .property-room__gallery-item.active{
      opacity: 1;
      position: relative;
      top: 0;
      left: 0;
      z-index: 5;
    }

  .property-room__gallery-nav{
    position: absolute;
    z-index: 5;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }

    .property-room__gallery-nav-btn{
      position: absolute;
      top: 50%;
      transform: translate(0, -50%);
      background-color: transparent;
      color: var(--white);
      font-size: 5rem;
      border: none;
      font-weight: bold;
      text-shadow: var(--blue) 0px 0 2px;
    }

      .property-room__gallery-nav-btn:hover, .property-room__gallery-nav-btn:focus{
        text-shadow: var(--gold) 0px 0 2px;
        cursor: pointer;
      }

      .property-room__gallery-nav-btn--previous{
        left: 15px;
      }

      .property-room__gallery-nav-btn--next{
        right: 15px;
      }