@import url(lower.css);

.kv {
  background: url(../img/line-build.svg) right bottom/50% no-repeat;
}

.property {
  width: min(100%, 1300px);
  margin-inline: auto;
  padding: max(8vw, 60px) 5vw max(8vw, 60px);
  ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: max(4vw, 2em) max(3vw, 1.6em);
  }
  li {
    box-shadow: 8px 8px 20px -4px rgba(0, 0, 0, 0.4);
    border-radius: 1em;
    overflow: hidden;
    &:hover img {
      filter: brightness(0.8);
      scale: 1.06;
    }
  }
}
.box {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
  }
}
.body {
  padding: clamp(1em, 1.6vw, 1.6em);
}
.body h2 {
  font: 600 1.1em var(--weight-variable);
  margin-bottom: 0.4em;
}
.body p {
  padding-top: 0.2em;
}

/* ---------- pagination ---------- */

.pagination {
  padding-bottom: max(8vw, 60px);
}
.pagination .inner {
  display: flex;
  justify-content: center;
  gap: 1.2em;
  font-size: 2em;
  font-weight: 300;
}
.page-numbers {
  width: 2.6em;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
a.page-numbers {
  transition: 0.5s;
  perspective: 800px;
}
a.page-numbers:hover {
  translate: 0 -10px;
  color: #fff;
  background-color: var(--primary-c);
}
a.page-numbers::before {
  position: absolute;
  content: "";
  inset: 0;
  border-radius: 50%;
  background-color: var(--primary-c);
  filter: blur(20px);
  opacity: 0;
  z-index: -1;
  transition: 0.5s;
}
a.page-numbers:hover::before {
  opacity: 0.6;
  translate: 0 26px;
  scale: 0.5;
  transform-origin: bottom;
  transform: rotate3d(1, 0, 0, -60deg);
}
.pagination .current {
  background-color: #ccc;
}
.pagination .material-symbols-outlined {
  font-size: 50px;
  font-variation-settings: "wght" 200;
  vertical-align: sub;
}

@media (width < 768px) {
  .pagination .inner {
    gap: 0.4em;
    font-size: 1.5em;
  }
}
