/*mobile*/
.ft_popular_posts_widget {
  max-width: 500px;
}

.ft_popular_posts_widget .view-all {
  color: #a2006e;
  font-size: clamp(16px, 1vw + 1rem, 24px);
  font-family: Archivo;
  font-weight: 400;
  line-height: 28px;
  text-decoration: none;
  display: none;
}

.ft_popular_posts_widget .view-all:hover {
  text-decoration: underline;
}

.ft_popular_posts_widget .popular-post {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: #ffffff;
  padding: 15px;
  overflow: hidden;
  transition: background-color 0.3s, color 0.3s;
}

.ft_popular_posts_widget .popular-post:hover {
  background-color: #025550;
}

.ft_popular_posts_widget .popular-post:hover a {
  color: white;
}

.ft_popular_posts_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_popular_posts_widget .by-author {
  display: none;
  @media (min-width: 1100px) {
    display: block;
  }
}
.ft_popular_posts_widget .post-info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.ft_popular_posts_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_popular_posts_widget .popular-post:hover .post-category {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.ft_popular_posts_widget .post-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  color: #4c4c4c;
  font-size: 14px;
  font-family: Archivo;
  font-weight: 500;
  line-height: 20px;
  gap: 5px;

  @media (min-width: 782px) {
    flex-direction: column;
  }
  @media (min-width: 1024px) {
    flex-direction: row;
  }
}

.ft_popular_posts_widget .popular-post:hover .post-meta {
  color: rgba(255, 255, 255, 0.5);
}

.ft_popular_posts_widget .by-author,
.ft_popular_posts_widget .author-name a {
  color: #4c4c4c;
  text-decoration: none;
  font-size: clamp(12px, 1vw, 16px);
}

.ft_popular_posts_widget .author-name {
  color: #a2006e;
  font-size: clamp(12px, 1vw, 16px);
}
.ft_popular_posts_widget .popular-post:hover .author-name {
  color: white;
}

.ft_popular_posts_widget .popular-post:hover .by-author,
.ft_popular_posts_widget .popular-post:hover .author-name a {
  color: rgba(255, 255, 255, 0.5);
}

.ft_popular_posts_widget .author-name a {
  color: #a2006e;
}

.ft_popular_posts_widget .popular-post:hover .author-name a {
  color: white;
}

.ft_popular_posts_widget .post-date {
  font-size: clamp(12px, 1vw, 16px);
  text-align: center;
}

.ft_popular_posts_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;
}

.ft_popular_posts_widget .popular-post:hover .post-title {
  color: white;
}

@media (min-width: 1024px) {
    .ft_popular_posts_widget {
        max-width: 500px;
        margin:auto;
      }
  .ft_popular_posts_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;
    transition: background-color 0.3s, color 0.3s;
    height: 181px;
  }

  .ft_popular_posts_widget .post-title {
    width: 100%;
    color: #232536;
    font-size: 24px;
    font-family: Archivo;
    font-weight: 700;
    line-height: 32px;
    margin-top: 8px;
  }
  .ft_popular_posts_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;
    flex-direction: row;
    gap: 5px;
  }

  .ft_popular_posts_widget .post-info {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
  }

  .ft_popular_posts_widget .popular-post a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    color: #a2006e;
  }
  
.ft_popular_posts_widget h2.widgettitle {
	font-family: Archivo;
	font-weight: normal;
}

}
