/* Styles for the pieces the original site rendered with JavaScript. */
.lc-body {
  padding: 1.5em 1.75em;
  background: var(--card-background-color, #f9f6f0);
  border: 1px solid var(--card-border-color, #e5e0df);
  border-radius: var(--card-border-radius, 0.125em);
  box-shadow: var(--md-shadow, 0 2px 8px rgba(0, 0, 0, 0.08));
  text-align: left;
}
.lc-body[hidden], [data-collapsed-card][hidden] { display: none !important; }
.lc-grid { display: grid; gap: 1.25em; }
.lc-grid + .lc-grid { margin-top: 1.25em; }
.lc-cell { min-width: 0; }
.lc-cell > * + * { margin-top: 0.75em; }
.lc-img { display: block; max-width: 100%; height: auto; border-radius: 0.125em; }
.lc-quote { margin: 0; padding-left: 1em; border-left: 0.2em solid var(--accent-color, #7a5c45); }
.lc-quote > * + * { margin-top: 0.6em; }
.lc-bullet { position: relative; margin: 0; padding-left: 1.4em; }
.lc-bullet::before { content: "•"; position: absolute; left: 0.4em; }
[data-collapsed-card] { cursor: pointer; }
@media (max-width: 700px) {
  .lc-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .lc-body { padding: 1em; }
}

/* Click-to-enlarge image viewer */
.lc-img, [data-zoomable] { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 4vmin; background: rgba(20, 16, 12, 0.88);
  cursor: zoom-out; opacity: 0; transition: opacity 0.2s ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  border-radius: 4px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transform: scale(0.96); transition: transform 0.2s ease;
}
.lightbox.is-open img { transform: none; }
.lightbox button {
  position: absolute; top: 12px; right: 16px; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.15);
  color: #fff; font: 24px/1 sans-serif; cursor: pointer;
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.3); }
