.lm-all-articles {
  background: #f5f1ed;
  padding: clamp(30px, 6vw, 30px) 0;
  color: #2c1810;
}

.lm-all-articles__inner {
  width: min(1320px, 94vw);
  margin: 0 auto;
}

.lm-all-articles__title {
  margin: 0 0 28px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  color: #2c1810;
}

.lm-all-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.lm-all-articles-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(44, 24, 16, 0.12);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lm-all-articles-card.is-hidden {
  display: none;
}

.lm-all-articles-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  padding-top: 56%;
}

.lm-all-articles-card__image,
.lm-all-articles-card__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.lm-all-articles-card__placeholder {
  background: linear-gradient(135deg, rgba(184, 149, 106, 0.35), rgba(245, 241, 237, 0.9));
}

.lm-all-articles-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: #2c1810;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lm-all-articles-card__body {
  padding: 20px 22px 24px;
}

.lm-all-articles-card__title {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.35;
}

.lm-all-articles-card__title a {
  color: inherit;
  text-decoration: none;
}

.lm-all-articles-card__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(44, 24, 16, 0.65);
  margin-bottom: 12px;
}

.lm-all-articles-card__excerpt {
  margin: 0 0 16px;
  color: rgba(44, 24, 16, 0.72);
  line-height: 1.6;
}

.lm-all-articles-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #b8956a;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.lm-all-articles-card__link:hover {
  transform: translateX(4px);
  color: #8f6a44;
}

.lm-all-articles-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(44, 24, 16, 0.18);
}

.lm-all-articles-card:hover .lm-all-articles-card__image,
.lm-all-articles-card:hover .lm-all-articles-card__placeholder {
  transform: scale(1.04);
}

@media (max-width: 1024px) {
  .lm-all-articles__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .lm-all-articles {
    padding: 5px 0;
  }

  .lm-all-articles__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .lm-all-articles-card__body {
    padding: 16px;
  }

  .lm-all-articles-card__title {
    font-size: 16px;
  }

  .lm-all-articles-card__excerpt {
    display: none;
  }
}

.lm-all-articles__actions {
  margin-top: 26px;
  display: flex;
  justify-content: center;
}

.lm-all-articles__more {
  border: none;
  background: #ffffff;
  color: #b8956a;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(44, 24, 16, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.lm-all-articles__more:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(44, 24, 16, 0.18);
  color: #8f6a44;
}
