/*--------------------------------------------------------------
# Thẻ dự án dùng chung (trang chủ, danh sách dự án, mục "Dự án khác")
# Thẻ ảnh cùng tỉ lệ 4:3, cả thẻ bấm được, hiệu ứng nhẹ khi rê chuột
--------------------------------------------------------------*/
.project-more {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid rgba(54, 77, 89, 0.12);
}

.project-more .pm-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.project-more .pm-head h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-default, #364d59);
  position: relative;
  padding-bottom: 12px;
}

.project-more .pm-head h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: var(--color-primary, #154D7C);
}

.project-more .pm-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary, #154D7C);
}

.project-more .pm-all i {
  transition: transform 0.3s;
}

.project-more .pm-all:hover i {
  transform: translateX(4px);
}

.pm-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  color: inherit;
  box-shadow: 0 2px 6px rgba(13, 27, 38, 0.06), 0 12px 28px -18px rgba(13, 27, 38, 0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.pm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 10px rgba(13, 27, 38, 0.08), 0 24px 40px -20px rgba(13, 27, 38, 0.45);
}

.pm-card .pm-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e9eef2;
}

.pm-card .pm-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.pm-card:hover .pm-media img {
  transform: scale(1.06);
}

.pm-card .pm-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 27, 38, 0.35), rgba(13, 27, 38, 0) 45%);
  pointer-events: none;
}

.pm-card .pm-year {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(13, 27, 38, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.pm-card .pm-arrow {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  background: var(--color-primary, #154D7C);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s, transform 0.35s;
}

.pm-card:hover .pm-arrow {
  opacity: 1;
  transform: translateY(0);
}

.pm-card .pm-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
  flex: 1;
}

.pm-card .pm-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-default, #364d59);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
  transition: color 0.3s;
}

.pm-card:hover .pm-title {
  color: var(--color-primary, #154D7C);
}

.pm-card .pm-location {
  margin-top: auto;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #6c757d;
}

.pm-card .pm-location i {
  color: var(--color-primary, #154D7C);
  margin-top: 1px;
}

@media (max-width: 767px) {
  .project-more {
    margin-top: 48px;
    padding-top: 32px;
  }

  .project-more .pm-head h3 {
    font-size: 22px;
  }

  .pm-card .pm-arrow {
    opacity: 1;
    transform: none;
  }
}
