.homepage__featured-post {
  position: relative;
  margin-bottom: 10px;
  .hovered {
    color: #ff6200 !important;
  }
  .feature__post-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    .featured__post-grid-item {
      &:first-child {
        flex-basis: calc(100% - 238px);
      }
      &:last-child {
        flex-basis: 228px;
        img {
          height: 100%;
          width: 100%;
        }
      }
      .featured__post {
        display: flex;
        height: 100%;
        .featured__post-item {
          &:last-child {
            background-color: #111111;
            padding: 30px 20px 30px 30px;
          }
          .featured__image {
            img {
              max-height: 230px;
              width: auto;
            }
          }
          h1 {
            color: #fff;
            font-family: "Roboto", sans-serif;
            font-size: 20px;
            font-weight: bold;
            line-height: normal;
            letter-spacing: 0.21px;
            margin: 0 0 5px 0;
            &:hover,
            &.hovered {
              color: #ff6200 !important;
            }
          }
          .feature__post-date {
            color: #a1a1a1;
            font-family: "Roboto Slab", serif;
            font-size: 14px;
            font-weight: normal;
            line-height: normal;
            letter-spacing: 0.15px;
            margin-bottom: 20px;
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            align-items: center;
            .feature__divider {
              height: 15px;
              border-right: 1px solid #a1a1a1;
              margin: 0px 2px;
            }
            a {
              font-family: "Roboto", sans-serif;
              color: #a1a1a1;
              border: solid 1px #444444;
              padding: 0px 12px;
              border-radius: 500px;
              &:hover {
                text-decoration: underline;
              }
            }
          }
          p {
            color: #fff;
            font-family: "Roboto", sans-serif;
            font-size: 16px;
            font-weight: normal;
            line-height: normal;
            letter-spacing: 0.17px;
            margin: 0 0 24px 0;
          }
          .featured__post-author {
            font-family: "Roboto", sans-serif;
            font-size: 14px;
            font-weight: 500;
            line-height: normal;
            letter-spacing: 0.15px;
            color: #ffffff;
            a {
              color: #00c8dc;
              text-decoration: underline;
              &:hover {
                text-decoration-thickness: 2px;
              }
            }
          }
        }
      }
    }
  }
}

@media screen and (min-width: 991px) and (max-width: 1150px) {
  .homepage__featured-post {
    position: relative;
    margin-bottom: 10px;
    .feature__post-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      .featured__post-grid-item {
        &:first-child {
          flex-basis: calc(100% - 250px);
        }
        &:last-child {
          flex-basis: 240px;
        }
        .featured__post {
          .featured__post-item {
            .featured__image {
              img {
                max-height: 240px;
              }
            }
            h1 {
              font-size: 16px;
            }
            .feature__post-date {
              font-size: 12px;
            }
            p {
              font-size: 14px;
            }
            .featured__post-author {
              font-size: 12px;
            }
          }
        }
      }
    }
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .homepage__featured-post {
    .feature__post-grid {
      .featured__post-grid-item {
        &:first-child {
          flex-basis: auto;
        }
        &:last-child {
          display: none;
        }
        .featured__post {
          .featured__post-item {
            flex-basis: auto;
            .featured__image {
              img {
                max-height: 240px;
              }
            }
            h1 {
              font-size: 16px;
            }
            .feature__post-date {
              font-size: 12px;
            }
            p {
              font-size: 14px;
            }
            .featured__post-author {
              font-size: 12px;
            }
          }
        }
      }
    }
  }
}

@media screen and (max-width: 768px) {
  .homepage__featured-post {
    .feature__post-grid {
      .featured__post-grid-item {
        &:first-child {
          flex-basis: 100%;
        }
        &:last-child {
          display: none;
        }
        .featured__post {
          flex-wrap: wrap;
          .featured__post-item {
            flex-basis: 100%;
            .featured__image {
              img {
                height: auto;
                max-height: 100%;
                width: 100%;
              }
            }
            h1 {
              font-size: 16px;
            }
            .feature__post-date {
              font-size: 12px;
            }
            p {
              font-size: 14px;
              &.post__excerpt {
                display: none;
              }
            }
            .featured__post-author {
              font-size: 12px;
            }
          }
        }
      }
    }
  }
}
