.c-feed {
  .c-centered-header {
    position: relative;
    z-index: 1;
  }

  .c-centered-header__title {
    font-size: var(--font-size-large);
    font-weight: normal;
    margin: 28px 0;
  }

  .c-stacked-block__title a {
    color: var(--color-neutral-gray-70);
    font-size: var(--font-size-med-1);
  }
}

.c-feed__item {
  margin-bottom: 2rem;

  @media all and (min-width: 47em) {
    margin-bottom: 3rem;
  }

  &:hover,
  &:focus {
    .c-feed__img {
      box-shadow: 3px 3px 6px rgba(var(--color-neutral-black), .2);
      transform: translateY(-6px);
    }

    .c-feed__title a {
      color: var(--color-feed-link);
    }
  }
}

.c-feed__img {
  display: block;
  height: 0;
  margin: 0;
  overflow: hidden;
  position: relative;
  transform: translateY(0);
  transition: transform .2s ease-in, box-shadow .2s ease-in, opacity .4s, opacity 400ms !important;

  &:not(:empty) {
    padding-top: 55.5%;
    padding-bottom: 3px;
    margin: 0 auto 0px;
  }

  img {
    left: 50%;
    max-height: none;
    max-width: none;
    min-height: 100%;
    min-width: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

@supports (object-fit: cover) {
  .c-feed__img img {
    max-height: 100%;
    max-width: 100%;
  }
}

.c-feed__meta {
  line-height: 1.2;
  margin-bottom: .5rem;

  a {
    color: var(--color-brand-blue);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;

    &:hover,
    &:focus {
      text-decoration: underline;
    }
  }
}

.c-feed__meta-spacer:last-child {
  display: none;
}

.c-feed__title {
  color: var(--color-neutral-gray-70);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;

  a {
    color: var(--color-neutral-gray-70);
    text-decoration: none;
  }

  + .c-feed__meta,
  + .c-feed__excerpt {
    margin-top: .5rem;
  }
}

.c-feed__date {
  font-weight: 700;
  margin: 0;

  + .c-feed__title {
    margin-top: .25rem;
  }
}

.c-feed__date {
  display: block;
  font-weight: 700;
}

.c-blog-feed .c-feed,
.c-events-listing .c-feed {
  @media all and (max-width: 751px) {
    margin-left: auto;
    margin-right: auto;
    max-width: 448px;
  }
}

.c-feed__clinicians {
  .c-feed__item {
    border-bottom: 1px solid var(--color-neutral-gray-17);
  }
}

.c-feed--disclaimer {
  border-top: 1px solid var(--color-neutral-gray-17);
  font-size: 12px;
  padding-top: 1rem;

  h3 {
    font-size: 14px;
    margin-bottom: .5rem;
  }
}

/* Blog banner */
.c-blog-subscribe {
  display: flex;
  background: var(--color-brand-blue-dark);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding: 35px 0 !important;
  position: fixed;
  bottom: 0px;
  z-index: 100;
  width: 100%;

  &.hidden {
    display: none;
  }

  .l-container--lg {
    display: flex;

    .subscribe-wrapper {
      display: flex;
      margin: auto;
      color: white;
      font-size: 26px;
      font-weight: 700;

      @media all and (max-width: 47em) {
        display: block;

        p {
          display: block;
          width: 80%;
          margin: auto;
          text-align: center;
        }

        button {
          display: block;
          /*width: 80%; */
          margin: 20px auto 50px;
        }
      }
    }
  }

  p {
    margin-right: 50px;
    margin-bottom: 0;
  }

  button.subscribe {
    border: 2px solid #FFFFFF;
    background: transparent;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    padding: 0 2rem;
    font-size: 14px;
    border-radius: 3rem;
    height: 42px;
    letter-spacing: 1px;

    &:hover {
      border: 2px solid var(--color-brand-blue);
      color: var(--color-brand-blue);
    }
  }

  button.close {
    position: absolute;
    right: 50px;
    border: 0;
    background: transparent;
    margin: 20px auto;
    padding: 0;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: white;

    &::after{
      content: '';
      background-repeat: no-repeat;
      background-size: 100% auto;
      display: inline-block;
      width: 20px;
      height: 20px;
      top: -7px;
      position: relative;

      top: -35px;
      right: -25px;
    }

    &:hover {
      &::after{

      }
    }

    @media all and (max-width: 47em) {
      right: 20px;
      top: 0;

      &::after {
        top: 0;
        right: 0;
      }
    }
  }
}

.category .c-footer-post {
  padding-bottom: 147px;

  .c-footer-post {
    border-top: 0;
  }
}

.c-feed.row a, .c-feed__title a, .c-feed__img {
    background: none;
}