.latest-characters-section {
  padding: 56px 0;
  background: #f7f2ec;
}

.latest-characters-header {
  max-width: 1180px;
  margin: 0 auto 28px auto;
  padding: 0 24px;
  text-align: center;
}

.latest-characters-header h2 {
  margin: 0 0 10px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.08;
  color: #31241d;
}

.latest-characters-header p {
  max-width: 960px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
  color: #6c5a4d;
}

.latest-characters-widget {
  max-width: 1760px;
  margin: 0 auto;
  padding: 0 24px;
}

.lc-carousel-shell {
  position: relative;
}

.lc-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 22px 4px;
  scrollbar-width: thin;
}

.lc-card {
  scroll-snap-align: start;
  background: #fffaf4;
  border: 1px solid rgba(74, 54, 39, 0.16);
  border-radius: 22px;
  overflow: hidden;
  /* box-shadow: 0 18px 44px rgba(49, 36, 29, 0.08); */
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.lc-card-image-link {
  display: block;
  background: #eadfd2;
}

.lc-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 3.6;
  object-fit: unset;
}

.lc-card-body {
  padding: 22px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lc-card-title {
  margin: 0 0 10px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 500;
  color: #31241d;
}

.lc-card-text {
  margin: 0 0 20px 0;
  color: #6c5a4d;
  font-size: 0.96rem;
  line-height: 1.6;
  flex: 1;
}

.lc-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  text-decoration: none!important;
  border: 1px solid rgba(116, 77, 43, 0.35);
  border-radius: 999px;
  padding: 9px 16px;
  color: #6f4324;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	
}

.lc-card-link:hover,
.lc-card-link:focus {
  background: #6f4324;
  color: #fffaf4;
  border-color: #6f4324;
}

.lc-nav {
  position: absolute;
  top: 100px;
  z-index: 2;
  width: unset;
  height: unset;
  transform: translateY(-50%);
  border: 1px solid rgba(74, 54, 39, 0.18);
  border-radius: 10px;
  background: #fffaf4;
  color: #31241d;
  font-size: 32px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(49, 36, 29, 0.16);
  padding: 3px 16px;
}

.lc-nav:hover,
.lc-nav:focus {
  background: #31241d;
  color: #fffaf4;
}

.lc-nav-prev {
  left: 20px;
}

.lc-nav-next {
  right: 20px;
}

.lc-error,
.lc-empty {
  text-align: center;
  color: #6c5a4d;
  padding: 24px;
}

/* Tablet: 3 cards */
@media (min-width: 768px) {
  .lc-track {
    grid-auto-columns: calc((100% - 44px) / 4);
  }
}

/* Desktop below 1600px: 4 cards */
@media (min-width: 1100px) {
  .lc-track {
    grid-auto-columns: calc((100% - 66px) / 5);
  }
}

/* 1600px to 1920px: 5 cards */
@media (min-width: 1600px) {
  .lc-track {
    grid-auto-columns: calc((100% - 88px) / 6);
  }
}

/* Larger than 1920px: 6 cards */
@media (min-width: 1921px) {
  .lc-track {
    grid-auto-columns: calc((100% - 110px) / 7);
  }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .latest-characters-section {
    padding: 42px 0;
  }

  .latest-characters-widget {
    padding: 0 18px;
  }

  .lc-nav {
    width: 38px;
    height: 38px;
    font-size: 28px;
  }

  .lc-nav-prev {
    left: 2px;
  }

  .lc-nav-next {
    right: 2px;
  }

  .lc-card-body {
    padding: 20px;
  }
}