@import "@css[shared]/page/category/_subsections";

.subsections {
   margin-top: 20px;
   z-index: 0;

   .subsection-item {
      .subsection-item-inner {
         background-color: #f7f7f7;
         border: none;
         border-radius: 5px;

         &:hover {
            background-color: $gray-light;
            box-shadow: unset;
         }
      }

      .subsection-item-image {
         border: none;
         padding: 10px;

         img {
            border-radius: 0;
         }
      }

      .img {
         position: relative;

         &::before {
            background-color: rgba(0, 0, 0, .03);
            content: "";
            display: block;
            opacity: 1;
            pointer-events: none;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            transition: background-color $transition-speed ease;
            z-index: 2;
         }
      }
   }

   @media screen and (max-width: $lg - 1) {
      margin-top: 0;

      .subsection-item {
         margin-bottom: 10px;
      }
   }
}

.subsection-item-title {
   font-size: 13px;
   text-transform: uppercase;
}

