@import '../../scss/variables.scss';

.insight-container {
  .category-insight {
    .category-title {
      border-left: 4px solid $color-secondary;
      padding-left: 10px;
    }

    .single-insight-wrapper {
      text-decoration: none;
      transition: background-color 0.3s;
      width: 100%;

      &:hover {

        .single_insight-title {
          text-decoration: underline;
        }
      }

      .single-insight {
        .image-wrapper {
          padding-top: 56.25%;
          position: relative;
          width: 100%;

          img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
        }

        .single-insight-details {
          color: #000;
        }
      }

    }
  }
}