/* Styling for FT Category Display Widget */

.ft_category_display_widget {
    max-width: 500px;
    margin: auto;
  }
  
  .ft_category_display_widget .popular-post {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background: #ffffff;
    padding: 15px;
    overflow: hidden;
  }
  
  .ft_category_display_widget .popular-post a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    color: #a2006e;
    width: 100%;
  }
  
  .ft_category_display_widget .post-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  .ft_category_display_widget .post-category {
    background: rgba(2, 85, 80, 0.08);
    border-radius: 16px;
    padding: 4px 16px;
    color: #1c1c1c;
    font-size: 12px;
    font-family: Archivo;
    font-weight: 500;
    line-height: 20px;
    white-space: nowrap; /* Ensure text does not break */
  }
  
  .ft_category_display_widget .post-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: #4c4c4c;
    font-size: 14px;
    font-family: Archivo;
    font-weight: 500;
    line-height: 20px;
    gap: 5px;
    flex-wrap: wrap;
  }
  
  .ft_category_display_widget .by-author,
  .ft_category_display_widget .author-name a {
    color: #4c4c4c;
    text-decoration: none;
  }
  
  .ft_category_display_widget .author-name {
    color: #a2006e;
    font-size: clamp(12px, 1vw, 16px);
  }
  
  .ft_category_display_widget .by-author {
    font-size: clamp(12px, 1vw, 16px);
    display: none;
    @media (min-width: 500px) {
    display: block;
    }
  }
  
  .ft_category_display_widget .author-name a {
    color: #a2006e;
  }
  
  .ft_category_display_widget .post-date {
    font-size: clamp(12px, 1vw, 16px);
  }
  
  .ft_category_display_widget .post-title {
    width: 100%;
    color: #232536;
    font-size: clamp(16px, 1vw, 24px);
    font-family: Archivo;
    font-weight: 700;
    line-height: 24px;
    margin-top: 8px;
  }
  
  @media (min-width: 1024px) {
      .ft_category_display_widget {
          max-width: 500px;
          margin: auto;
      }
    .ft_category_display_widget .popular-post {
      width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      background: #ffffff;
      padding-top: 40px;
      padding-left: 30px;
      padding: 15px;
      overflow: hidden;
      height: 181px;
    }
  
    .ft_category_display_widget .post-title {
      width: 100%;
      color: #232536;
      font-size: 24px;
      font-family: Archivo;
      font-weight: 700;
      line-height: 32px;
      margin-top: 8px;
    }
    .ft_category_display_widget .post-meta {
      display: flex;
      align-items: center;
      justify-content: end;
      width: 100%;
      color: #4c4c4c;
      font-size: 14px;
      font-family: Archivo;
      font-weight: 500;
      line-height: 20px;
    }
  
    .ft_category_display_widget .post-info {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
    }
  
    .ft_category_display_widget .popular-post a {
      text-decoration: none;
      color: inherit;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      color: #a2006e;
    }
  }
  