@import url("./consultation-service.css?v=20260724-1");

.lm-news-index,
.lm-news-index * {
  box-sizing: border-box;
}

.lm-news-index .lm-service-intro {
  max-width: 920px;
  margin-bottom: 28px;
  border-bottom: 0;
}

.lm-news-index .lm-service-intro > p {
  max-width: 760px;
}

.lm-news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin: 0 0 64px;
}

.lm-news-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d7e5e8;
  border-radius: 8px;
  background: #fff;
}

.lm-news-item--featured {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  min-height: 390px;
}

.lm-news-item__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #edf4f5;
}

.lm-news-item--featured .lm-news-item__media {
  height: 100%;
  aspect-ratio: auto;
}

.lm-news-item__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lm-news-item__media:hover img {
  transform: scale(1.015);
}

.lm-news-item__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
}

.lm-news-item--featured .lm-news-item__body {
  justify-content: center;
  padding: 38px;
}

.lm-news-item__meta {
  margin: 0 0 12px;
  color: #60757b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.lm-news-item h2 {
  margin: 0;
  color: #1f343b;
  font-family: var(--wd-title-font, "Ubuntu Sans", Arial, sans-serif);
  font-size: 25px;
  line-height: 1.2;
  text-wrap: balance;
}

.lm-news-item--featured h2 {
  font-size: 32px;
}

.lm-news-item h2 a {
  color: inherit;
  text-decoration: none;
}

.lm-news-item h2 a:hover {
  color: #fa6334;
}

.lm-news-item__excerpt {
  margin: 15px 0 0;
  color: #526a71;
  font-size: 15px;
  line-height: 1.65;
  text-wrap: pretty;
}

.lm-news-item__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 0;
  padding: 9px 17px;
  border-radius: 7px;
  background: #2d4e57;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.lm-news-item__actions {
  margin-top: auto;
  padding-top: 24px;
}

.lm-news-item--featured .lm-news-item__actions {
  margin-top: 0;
}

.lm-news-item__link:hover {
  background: #fa6334;
  color: #fff;
}

@media (max-width: 900px) {
  .lm-news-item--featured {
    grid-template-columns: 1fr;
  }

  .lm-news-item--featured .lm-news-item__media {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 767px) {
  .lm-news-index .lm-service-intro {
    margin-bottom: 24px;
  }

  .lm-news-list {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 44px;
  }

  .lm-news-item--featured {
    grid-column: auto;
    min-height: 0;
  }

  .lm-news-item__body,
  .lm-news-item--featured .lm-news-item__body {
    padding: 22px;
  }

  .lm-news-item h2,
  .lm-news-item--featured h2 {
    font-size: 25px;
  }

  .lm-news-item__link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lm-news-item__media img,
  .lm-news-item__link {
    transition: none;
  }
}
