@import "@/styles/mixins.scss";
@import "@/styles/variables.scss";

.communityResources {
  background: $grey-light;
  padding: $hl-3 0;

  h2 {
    text-align: center;
    color: $black;
    margin-bottom: $hl-6;
  }
}

.inner {
  display: flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: $radius;
  height: 6.25rem;
  padding: 0 $hl-8;
  transition: all 0.2s linear;

  &:hover {
    border-color: rgba($black, 15%);
    background: $white;
    box-shadow: $shadow-long;
  }

  i {
    color: $blue;
    font-size: 2.5rem;
    margin-right: $hl-9;
  }

  span {
    @include h4();
    word-break: keep-all;
    color: $black;
  }
}

.isClosedText {
  opacity: 0.4;
}
