/* Main list container */
.leagues-latest-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Each list item */
.leagues-latest-posts-list li {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid #34373c;
}

.leagues-latest-posts-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* 1. Logo container */
.leagues-latest-posts-list .post-logo-container {
  flex-shrink: 0;
}

.leagues-latest-posts-list .category-logo {
  width: 25px;
  height: 25px;
  object-fit: contain;
  display: block;
}

/* 2. Post time (NEW) */
.leagues-latest-posts-list .post-time {
  font-size: 12px;
  color: #777;
  font-weight: bold;
  background-color: #f0f0f0; /* distinct background color for the time badge */
  padding: 2px 6px;
  border-radius: 12px;
  margin: 0 2px; /* 10px spacing on left and right */
  flex-shrink: 0; /* prevent the time badge from shrinking */
  white-space: nowrap; /* prevent the time from wrapping to a new line */
}

/* 3. Post details container (title) */
.leagues-latest-posts-list .post-details {
  flex-grow: 1;
  min-width: 0; /* required for ellipsis to work */
}

/* Post title */
.leagues-latest-posts-list .post-title {
  font-size: 12px;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.leagues-latest-posts-list .post-title a {
  text-decoration: none;
  color: #FFFFFF;
  transition: color 0.2s;
}

.leagues-latest-posts-list .post-title a:hover {
  color: #0073aa;
}
