.lala-new-listings {
  /* Fallback defaults — overridden per-instance by the Elementor
     widget's Colours/Typography panels. These only apply if the
     widget is used without those controls set (e.g. via shortcode). */
  --nl-cassis: #2b1521;
  --nl-burgundy: #5c1a2b;
  --nl-cream: #f4ede1;
  --nl-gold: #c8a15c;
  --nl-muted: #9a958c;
  font-family: 'Jost', sans-serif;
}

.lala-new-listings * {
  box-sizing: border-box;
}

.lala-new-listings .nl-heading {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nl-muted);
  margin: 0 0 18px 4px;
}

.lala-new-listings .nl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 760px) {
  .lala-new-listings .nl-grid {
    grid-template-columns: 1fr;
  }
}

.lala-new-listings .nl-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: var(--nl-cassis);
  display: block;
  text-decoration: none;
  color: var(--nl-cream);
  isolation: isolate;
}

.lala-new-listings .nl-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
  z-index: 0;
}

.lala-new-listings .nl-card:hover img {
  transform: scale(1.045);
}

.lala-new-listings .nl-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43,21,33,0) 40%, rgba(43,21,33,0.25) 60%, rgba(43,21,33,0.85) 100%);
  z-index: 1;
}

.lala-new-listings .nl-card-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 22px 22px 24px;
}

.lala-new-listings .nl-card-category {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nl-gold);
  margin: 0 0 8px;
}

.lala-new-listings .nl-card-title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 21px;
  line-height: 1.28;
  margin: 0;
  color: var(--nl-cream);
  max-width: 92%;
}

.lala-new-listings .nl-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--nl-cassis) 30%, var(--nl-burgundy) 50%, var(--nl-cassis) 70%);
  background-size: 200% 100%;
  animation: nl-shimmer 1.4s infinite;
}

@keyframes nl-shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

.lala-new-listings .nl-empty {
  grid-column: 1 / -1;
  color: var(--nl-muted);
}

.lala-new-listings .nl-error {
  grid-column: 1 / -1;
  color: #d9534f;
}

.lala-new-listings .nl-debug-output {
  grid-column: 1 / -1;
  white-space: pre-wrap;
  word-break: break-word;
  background: var(--nl-cassis);
  color: var(--nl-cream);
  padding: 20px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.5;
  font-family: monospace;
}
