/* =========================================================================
   Chi tiết trải nghiệm — Dự án tiêu biểu (grid + popup)
   ========================================================================= */

.exp-dprojects {
  padding: 72px 0;
}

.exp-dprojects .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* --- H2 ------------------------------------------------------------------ */
.exp-dprojects__title {
  margin: 0;
  color: #293948;
  font-family: var(--font-hn);
  font-weight: 700;
  font-size: 30px;
  line-height: 136%;
  letter-spacing: 0.01em;
  text-align: center;
}

/* --- Grid ---------------------------------------------------------------- */
.exp-dprojects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1070px;
  width: 100%;
}

.exp-dprojects__item--hidden {
  display: none;
}

/* --- Card ---------------------------------------------------------------- */
.exp-dprojects__card {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.exp-dprojects__card:hover {
  transform: scale(1.04);
}

.exp-dprojects__img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
}

/* --- Actions (buttons) --------------------------------------------------- */
.exp-dprojects__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* "Xem thêm" button — outline style */
.exp-dprojects__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 40px;
  border: 1px solid #293948;
  background: transparent;
  color: #293948;
  font-family: var(--font-hn);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.exp-dprojects__more:hover {
  background: #293948;
  color: #FFFFFF;
}

.exp-dprojects__more:hover svg path {
  stroke: #FFFFFF;
}

.exp-dprojects__more svg {
  flex-shrink: 0;
}

/* CTA button — filled style */
.exp-dprojects__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 40px;
  background: #293948;
  color: #FFFFFF;
  font-family: var(--font-hn);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.25s ease;
}

.exp-dprojects__cta:hover {
  background: #1e2d3a;
  color: #FFFFFF;
}

/* --- Responsive ---------------------------------------------------------- */
@media screen and (max-width: 1024px) {
  .exp-dprojects {
    padding: 60px 0;
  }

  .exp-dprojects .container {
    gap: 32px;
  }

  .exp-dprojects__title {
    font-size: 26px;
  }

  .exp-dprojects__grid {
    gap: 24px;
  }
}

@media screen and (max-width: 767px) {
  .exp-dprojects {
    padding: 48px 0;
  }

  .exp-dprojects .container {
    gap: 24px;
  }

  .exp-dprojects__title {
    font-size: 22px;
  }

  .exp-dprojects__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .exp-dprojects__img {
    border-radius: 16px;
  }

  .exp-dprojects__card {
    border-radius: 16px;
  }

  .exp-dprojects__more,
  .exp-dprojects__cta {
    padding: 10px 20px;
    font-size: 14px;
  }
}
