@use '../abstracts/variables' as SRC;

.FeedWhatsNew {
  font-weight: bold;
}
.FeedSubscribe {
  .FeedSubscribeToNewsLink {
    color: #404B63;
    margin-right: 15px;
    &:hover {
      color: #404B63;
      cursor: pointer;
    }
  }
  .MailchimpSubscribeContainer {
    max-width: 600px;
    padding: 0px 30px;
    margin: 0 auto;
    input {
      width: 100%;
      max-width: 570px;
      height: 45px;
      margin-top: 10px;
      padding-left: 8px;
    }
    button {
      display: block;
      margin-top: 20px;
      padding: 6px 25px;
      cursor: pointer;
      border: 1px solid transparent;
      border-radius: 24px;
      background-color: SRC.$primary-action-color;
      color: white;
    }
  }
}
.Feed {
  padding: 15px 0px;

  @media (min-width: 801px) {
  .FeedItems {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    .FeedItem {
      width: 30%;
    }
  }}  
  @media (max-width: 800px) {
    .FeedItems {
      display: block;
      .FeedItem {
        width: 100%;
      }
    }}  
    
  .FeedItems {
    .FeedItem {      
      border: 1px solid #DDDDDF;
      padding: 20px;
      margin: 10px;
      background-color: white;
      .FeedItemCategories {
        display: flex;
        flex-direction: row;
        margin-bottom: 25px;
        justify-content: flex-start;
        flex-wrap: wrap;
        .FeedItemCategory {
          border: 1px solid SRC.$primary-action-color;
          display: inline-flex;
          align-content: flex-start;
          border-radius: 100px;
          padding: 5px 20px;
          text-transform: uppercase;
          color: SRC.$primary-action-color;
          margin-right: 5px;
          margin-bottom: 5px;
          font-size: 12px;
          white-space: nowrap;
        }
      }
      .FeedItemDate {
        color: #ABABAC;
        margin-bottom: 0px;
      }
      .FeedItemTitle {
        font-size: 16px;
        line-height: 144%;
        color: #1A1C29;
        font-weight: bold;
        margin-bottom: 5px;
      }
      .FeedItemDescription {
        overflow: hidden;
        text-overflow: ellipsis;
        color: #515359;
        margin-bottom: 10px;
      }
    }

  }
  .FeedViewAllNewsButtonContainer {
    padding-top: 20px;
    text-align: center;
  }
}
