.lpc-carousel {
  --lpc-gap: 24px;
  --lpc-accent: #163b2d;
  --lpc-surface: #f5f0e7;
  --lpc-text: #13251d;
  --lpc-muted: #66736c;
  --lpc-radius: 24px;
  --lpc-aspect-ratio: 4 / 3;
  --lpc-max-width: 100%;
  --lpc-media-height: 420px;
  --lpc-title-size: 14px;
  --lpc-arrow-size: 20px;
  --lpc-arrow-bg: #163b2d;
  --lpc-arrow-icon: #ffffff;
  --lpc-dot-color: #c7d0cb;
  --lpc-dot-active: #163b2d;
  width: 100%;
  max-width: var(--lpc-max-width);
  color: var(--lpc-text);
}

.lpc-shell {
  background: var(--lpc-surface);
  border: 1px solid rgba(19, 37, 29, 0.08);
  border-radius: calc(var(--lpc-radius) + 2px);
  padding: 14px;
  box-shadow: 0 10px 28px rgba(19, 37, 29, 0.07);
}

.lpc-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.lpc-heading-wrap {
  min-width: 0;
}

.lpc-kicker {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lpc-muted);
}

.lpc-heading {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  line-height: 1.1;
  color: var(--lpc-accent);
}

.lpc-stage {
  position: relative;
}

.lpc-viewport {
  overflow: hidden;
}

.lpc-track {
  display: flex;
  gap: var(--lpc-gap);
  transition: transform 340ms ease;
  will-change: transform;
}

.lpc-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.lpc-card {
  display: grid;
  grid-template-columns: 1fr;
  background: #ffffff;
  border-radius: var(--lpc-radius);
  overflow: hidden;
  border: 1px solid rgba(19, 37, 29, 0.08);
}

.lpc-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  height: var(--lpc-media-height);
  min-height: var(--lpc-media-height);
  background: rgba(22, 59, 45, 0.08);
}

.lpc-image {
  width: 100%;
  height: 100%;
  max-height: 100%;
  min-height: var(--lpc-media-height);
  object-fit: contain;
  display: block;
}

.lpc-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 20px 20px 22px;
}

.lpc-taxonomy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lpc-taxonomy span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(22, 59, 45, 0.08);
  color: var(--lpc-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lpc-title {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: var(--lpc-title-size);
  line-height: 1.14;
}

.lpc-title a {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: var(--lpc-text);
  text-decoration: none;
}

.lpc-title a:hover {
  color: var(--lpc-accent);
}

.lpc-meta {
  margin: 0;
  color: var(--lpc-muted);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lpc-excerpt {
  margin: 0;
  color: var(--lpc-text);
  max-width: 64ch;
  font-size: 0.88rem;
  line-height: 1.5;
}

.lpc-readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 4px;
  color: var(--lpc-accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.lpc-readmore::after {
  content: "\2192";
}

.lpc-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.lpc-arrow {
  width: var(--lpc-arrow-size);
  height: var(--lpc-arrow-size);
  min-width: var(--lpc-arrow-size);
  min-height: var(--lpc-arrow-size);
  padding: 0 !important;
  border: 0;
  border-radius: 999px;
  background: var(--lpc-arrow-bg);
  color: var(--lpc-arrow-icon);
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
  cursor: pointer;
  font-size: calc(var(--lpc-arrow-size) / 2.6);
  line-height: 1;
}

.lpc-arrow[disabled] {
  opacity: 0.35;
  cursor: default;
}

.lpc-nav-top .lpc-nav {
  margin-bottom: 14px;
}

.lpc-nav-overlay .lpc-stage > .lpc-nav {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
}

.lpc-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.lpc-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.lpc-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--lpc-dot-color);
  cursor: pointer;
}

.lpc-dot.is-active {
  background: var(--lpc-dot-active);
}

.lpc-empty {
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--lpc-surface);
  color: var(--lpc-text);
}

@media (max-width: 860px) {
  .lpc-media {
    height: min(var(--lpc-media-height), 360px);
    min-height: min(var(--lpc-media-height), 360px);
  }

  .lpc-image {
    max-height: min(var(--lpc-media-height), 360px);
    min-height: min(var(--lpc-media-height), 360px);
  }

  .lpc-content {
    padding: 22px;
  }
}

@media (max-width: 640px) {
  .lpc-shell {
    padding: 14px;
  }

  .lpc-content {
    padding: 18px;
  }

  .lpc-title {
    font-size: min(var(--lpc-title-size), 24px);
  }

  .lpc-footer {
    justify-content: center;
    flex-wrap: wrap;
  }
}