                        .news-teaser-wrapper {
  padding: 30px 0;
  border-radius: 50px;
  margin-bottom: 50px;

  h2 {
    padding-bottom: 30px;
  }

  img {
      border-radius: 50px;
      width: 100%;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  &.green {
    background-color: $light_green;
  }

  &.m_green {
    background-color: $medium_green;
  }

  &.orange {
    background-color: $light_orange;
  }

  &.m_orange {
    background-color: $medium_orange;
  }

  &.blue {
    background-color: $light_blue;
  }

  &.m_blue {
    background-color: $medium_blue;
  }
  
  .arrow {
    background-image: url("/static/svg/cms_plugins/arrow.svg");
    margin: 30px 0;
    width: 52.4px;
    height: 30px;
  }

  .btn-filled {
    background: $dark_green;
    color: $white;
  
    &:hover {
      background: none;
      color: $dark_green;
    }
  }
  
  .badge {
    margin: 30px 0 20px 0;    
  }
  
  button {
    margin: 30px 0 20px 0;    
  }
  
  @media (min-width: $breakpoint_lg) {
      border-radius: 80px;
  }
  
  .filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  
}

.image-wrapper {
    position: relative;
    width: 100%;
    justify-content: flex-start;
    padding-top: 56.25%; 
    overflow: hidden;
    border-radius: 50px;
    
    @media (min-width: $breakpoint_lg) {
        border-radius: 80px;
    }
}


.image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease-in-out; 
    will-change: transform;
}

.news-post:hover .image-wrapper::before {
    transform: scale(1.1); 
}

.news-post {
    background-color: $white;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    padding: 30px;

    &.full {
        .image-wrapper {
          min-height: 250px;
        }
    }

    @media (min-width: $breakpoint_lg) {
        border-radius: 80px;
        padding: 40px;
    }
    
    .arrow {
        background-image: url("/static/svg/cms_plugins/arrow.svg");
        width: 0;
        height: 0;
        opacity: 0; 
        transition: opacity 0.3s ease, transform 0.3s ease; 
        margin-top: 10px; 
        opacity: 0;
        transform: translateX(-10px);
    }
    
    &:hover .arrow {
        opacity: 1;
        transform: translateX(0); 
        width: 52.4px;
        height: 30px;
        transition: transform 0.3s ease-in-out; 
        will-change: transform; 
    }

    &:hover {
        transition: transform 0.3s ease-in-out; 
        will-change: transform; 
    }

    &:hover .image-wrapper {
        background-size: 110%; 
    }   
    
    a {
      display: block;
    }
    
    button {
      z-index: 99;
    }
    
}

.newspost {
  padding: 0 0 50px 0;
  
  h1 {
    padding: 20px 0 20px 0;
    text-align: center;
  }
  
  .date {
    padding: 0 0 20px 0;
    text-align: center;
  }
  
  .lead {
    padding: 10px 0 30px 0;
    font-weight: bold;
  }
  
  .newspost-content {
    padding: 30px 0 0 0;
  }
  
}





