/* ===============================
   Project List – G.Empire UI
================================ */

.page-wrapper {
  padding-bottom: 100px;
  padding-top: 30px;
}

.ge-project-list {
  margin-top: 32px;
}

.ge-project-list:has(.ge-project-empty) {
  margin-top: 0px;
}

.ge-project-grid {
  display: grid;
  gap: 28px;
}

.ge-project-grid:has(.ge-project-empty) {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ge-project-grid.ge-cols-1 {
  grid-template-columns: 1fr;
}
.ge-project-grid.ge-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ge-project-grid.ge-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ge-project-grid.ge-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ge-project-card {
  display: block;
  text-decoration: none !important;
  background: #fff;
  border-radius: 18px;
  box-shadow:
    0 10px 28px rgba(15, 23, 42, 0.08),
    0 4px 12px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.ge-project-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 34px rgba(15, 23, 42, 0.1),
    0 6px 16px rgba(15, 23, 42, 0.06);
}

.ge-project-card__media {
  position: relative;
  overflow: hidden;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.ge-project-card__img {
  display: block;
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.ge-project-card__img--placeholder {
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.08),
    rgba(59, 130, 246, 0.08)
  );
}

/* Accent line dưới ảnh (giống ảnh bạn gửi) */
.ge-project-card__accent {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 6px;
  width: 100%;
  background: #1d4ed8; /* blue-700 */
  opacity: 0.95;
}

/* Body */
.ge-project-card__body {
  padding: 18px 18px 16px;
  text-align: center;
}

.ge-project-card__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  color: #0f172a;
  font-weight: 700;
}

.ge-project-card__divider {
  width: 48px;
  height: 3px;
  margin: 10px auto 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  opacity: 0.35;
}

.ge-project-card__desc {
  margin: 0 auto;
  max-width: 100%;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(15, 23, 42, 0.62);
  min-height: 44px;
  text-align: justify;
}

.ge-project-card__cta {
  margin-top: 10px;
}

.ge-project-card__link {
  font-size: 14px;
  font-weight: 700;
  color: #1d4ed8;
}

/* Empty */
.ge-project-empty {
  border-radius: 14px;
  color: rgba(15, 23, 42, 0.7);
}

/* Pagination */
.ge-project-pagination ul {
  display: flex;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.ge-project-pagination li a,
.ge-project-pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  /* padding: 0 12px; */
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: rgba(15, 23, 42, 0.72);
  background: #fff;
  text-decoration: none !important;
  transition: all 180ms ease;
}

.ge-project-pagination li a:hover {
  border-color: rgba(29, 78, 216, 0.35);
  color: #1d4ed8;
}

.ge-project-pagination li .current {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
}

.ge-project-list {
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  animation: geFadeIn 220ms ease both;
}

.ge-project-list.is-loading {
  opacity: 0.55;
  transform: translateY(6px);
  pointer-events: none;
}

.ux-relay.is-loading {
  opacity: 0.65;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

@keyframes geFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes geFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-lead-wrapper > .col-inner {
  border-radius: 2rem;
}
.form-lead-wrapper > .col-inner {
  background: rgba(255, 255, 255, 0.34) !important;
  backdrop-filter: blur(0px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.form-lead-wrapper .ge-modal-form .ge-label {
  font-size: 16px;
  color: black;
}

@media screen and (min-width: 90em) {
  .section_project-lead .col {
    padding: 0 !important;
  }
}

@media screen and (max-width: 90em) {
  .ge-project-list {
    margin: 1rem;
  }
}

@media (max-width: 64em) {
  .ge-project-grid.ge-cols-3,
  .ge-project-grid.ge-cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 48em) {
  .ge-project-card__img {
    height: 220px;
  }

  .ge-project-grid {
    grid-template-columns: 1fr !important;
  }

  .ge-btn {
    width: 100%;
    max-width: 260px;
  }

  .misc-title {
    font-size: 1.2rem;
  }

  .title-mb h2 {
    font-size: 1.2rem !important;
  }
}
