@import '../../_global/styles/mixins';
@import '../../_global/styles/vars';

.participation-teaser {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: white;
  overflow: hidden;
  width: 100%;
  border-radius: var(--border-radius-lg);
  padding: 24px;
  transition: 0.25s ease;
  text-decoration: none;
  font-size: var(--font-size-small);

  @media(max-width: 999px) {
    padding: 14px;
  }

  @media(max-width: 767px) {
    font-size: 16px;
    min-height: 84px;
    border-radius: 8px;
  }

  &::before {
    content: "";
    position: relative;
    display: block;
    height: 80px;
    background-color: var(--theme-color-primary);
    margin: -24px -24px 10px;
    background-image: url('./topic-meinung.svg');
    background-repeat: no-repeat;
    background-position: center 65%;
    background-size: 60px;

    @media(max-width: 567px) {
      font-size: 50px;
      margin-top: -14px;
    }
  }

  .like-h4, p, .buttons {
    margin: 0.5em 0;
  }

  .buttons {
    display: flex;
    justify-content: space-between;
    padding-top: 0.4em;

    .btn {
      &:last-child {
        margin-left: auto;
      }
    }
  }
}