/* Base resets for plugin-rendered lists */
.widget_links ul.xoxo.blogroll > li:before,
.widget_links .xoxo.blogroll > li:before,
.lpdp-list .lpdp-ul li::before { content: none !important; }

.lpdp-list .lpdp-ul { list-style: none; margin: 0; padding: 0; }
.lpdp-list .lpdp-ul li { margin: 0 0 16px 0; }

/* Card (media) layout */
.lpdp-layout-media .lpdp-card {
  display: flex; gap: 12px; text-decoration: none; align-items: flex-start;
}
.lpdp-layout-media .lpdp-thumb img { display:block; height:auto; border-radius:6px; max-width:100%; object-fit:contain; }
.lpdp-layout-media .lpdp-title { display:block; font-weight:600; }
.lpdp-layout-media .lpdp-subtitle { display:block; opacity:.8; font-size:12px; margin-top:2px; }

/* Stacked layout (plugin shortcodes): title above image, centered */
.lpdp-layout-stacked { overflow: hidden; }
.lpdp-layout-stacked .lpdp-title-link { text-decoration: none; display: block; text-align: center; }
.lpdp-layout-stacked .lpdp-title { font-weight: 700; }
.lpdp-layout-stacked .lpdp-title-below { margin-top: 8px; }
.lpdp-layout-stacked .lpdp-subtitle { margin-top: 2px; opacity: .9; text-align:center; }

.lpdp-layout-stacked .lpdp-figure { text-align: center; margin: 8px 0 10px; }
.lpdp-layout-stacked .lpdp-figure img {
  display: block;
  height: auto;
  margin: 6px auto 0;
  width: min(var(--lpdp-mobile,255px), 100%);
  object-fit: contain;
}
@media (min-width: 768px) {
  .lpdp-layout-stacked .lpdp-figure img {
    width: min(var(--lpdp-desktop,350px), 100%);
  }
}

/* Debug helper */
.lpdp-debug { margin: 6px 0 8px; opacity: .7; font-size: 12px; }
