/* Uudet lemmikit — modern page (website-src) */

.me-arrivals-hero {
  position: relative;
  min-height: min(52vh, 28rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.me-arrivals-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.me-arrivals-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.me-arrivals-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(12, 20, 28, 0.88) 0%, rgba(12, 20, 28, 0.48) 58%, rgba(12, 20, 28, 0.28) 100%),
    linear-gradient(180deg, rgba(12, 20, 28, 0.1) 0%, rgba(12, 20, 28, 0.72) 100%);
}

.me-arrivals-hero__content {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 6vh, 3.25rem) 0;
}

.me-arrivals-hero__kicker {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b8cf7c;
}

.me-arrivals-hero__title {
  font-family: var(--me-font-display);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 0.7rem;
}

.me-arrivals-hero__lede {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.me-arrivals {
  background: #f7faf3;
}

.me-arrivals__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.me-arrival {
  background: #fff;
  border: 1px solid rgba(111, 143, 58, 0.18);
  border-radius: 1.35rem;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(19, 32, 24, 0.05);
}

.me-arrival__link {
  display: grid;
  color: inherit;
  text-decoration: none;
  min-height: 100%;
}

@media (min-width: 760px) {
  .me-arrival__link {
    grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
  }
}

.me-arrival__media {
  margin: 0;
  aspect-ratio: 4 / 3;
  background: #eef5e6;
  overflow: hidden;
}

.me-arrival__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.me-arrival__link:hover .me-arrival__media img {
  transform: scale(1.04);
}

.me-arrival__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.15rem 1.25rem 1.25rem;
}

.me-arrival__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5c6f60;
}

.me-arrival__badge {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #eef5e6;
  color: #3f6212;
}

.me-arrival__body h2 {
  margin: 0;
  font-family: var(--me-font-display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.15;
  color: #132018;
}

.me-arrival__body p {
  margin: 0;
  color: #5c6f60;
  line-height: 1.55;
}

.me-arrival__cta {
  margin-top: auto;
  padding-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: #132018;
}

.me-arrival__link:hover .me-arrival__cta {
  color: #6f8f3a;
}

.me-arrivals__empty {
  text-align: center;
  padding: 2.5rem 1.25rem;
  border-radius: 1.35rem;
  background: #fff;
  border: 1px solid rgba(111, 143, 58, 0.18);
}

.me-arrivals__empty p {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: #132018;
}

.me-arrivals__empty span {
  color: #5c6f60;
}

.me-arrivals__pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.me-arrivals__page {
  font-weight: 700;
  color: #2a3d30;
  min-width: 4.5rem;
  text-align: center;
}

.me-arrivals__pager .is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .me-arrival__media img {
    transition: none;
  }
}
