/* =========================================
   PLUGINHUB PRO - LIST LAYOUT STYLES
   ========================================= */

/* Main Container */
.ph-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* List Item Container */
.ph-item {
  background: var(--ph-bg-card);
  border-radius: 16px;
  border: 1px solid var(--ph-border);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 18px 45px var(--ph-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ph-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px var(--ph-shadow-lg);
}

/* --- LEFT SIDE (Image + Info) --- */
.ph-list-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

/* Thumbnail Wrapper */
.ph-list-thumb-wrap {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 8px;
  display: block;
}

.ph-list-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Content Wrapper (Title + Badge) */
.ph-item-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- TYPOGRAPHY --- */
.ph-title {
  font-size: 15px;
  margin: 0; 
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  line-height: 1.4;
}

.ph-title a {
  color: var(--ph-text-main);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
}

.ph-title a:hover {
  color: var(--ph-text-light);
}

.ph-version-tag {
  color: var(--ph-accent);
  font-weight: 400;
  margin-left: 6px;
  font-size: 12px;
}

/* --- RIGHT SIDE (Stats + Action) --- */
.ph-list-side {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Stats (Rating, Views, Downloads) */
.ph-card-stats {
  display: flex;
  gap: 15px;
  align-items: center;
}

/* --- BADGE WRAPPER (Visual styles in style.css) --- */
.ph-list-badges {
	display: flex;
	gap: 10px;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 600px) {
  .ph-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .ph-list-side {
    width: 100%;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--ph-border); 
  }
  
  .ph-list-left {
    width: 100%;
  }
}

/* --- CLEANED INLINE STYLES FOR LIST --- */
.ph-m0 {
    margin: 0 !important;
}
.ph-mt-6 {
    margin-top: 6px;
}