/* =============================================
   PORTFOLIO DETAIL SCREEN — DELTA STYLES
   (shared hero / column / thumbnail / CTA
   styles come from service-detail.css)
   ============================================= */

/* =============================================
   PROJECT META CARD (Client / Location / Date)
   ============================================= */
.portfolio-details-meta-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background-color: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 24px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-item > i {
  font-size: 15px;
  color: var(--primary-green);
  background-color: #e2f0e7;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.meta-item-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}

.meta-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.meta-value {
  font-size: 11px;
  font-weight: 700;
  color: var(--dark-charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =============================================
   DESCRIPTION SECTION SUB-HEADING
   ============================================= */
.detail-section-sub {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark-charcoal);
  margin-bottom: 10px;
}

/* =============================================
   EMPTY STATE
   ============================================= */
.empty-services-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 12px;
  color: var(--text-muted);
}

.empty-services-state i {
  font-size: 40px;
  color: var(--primary-green);
  opacity: 0.4;
}

.empty-services-state p {
  font-size: 14px;
}

/* =============================================
   DESKTOP OVERRIDES
   ============================================= */
@media (min-width: 768px) {
  /* Override wrapper to match portfolio page flow */
  .portfolio-detail-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 20px;
    box-sizing: border-box;
  }

  .portfolio-details-meta-box {
    gap: 20px;
    padding: 20px;
    margin-bottom: 28px;
  }

  .meta-item > i {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }

  .meta-value {
    font-size: 13px;
  }

  .detail-section-sub {
    font-size: 18px;
  }
}

/* =============================================
   MOBILE STICKY BAR — PORTFOLIO BOTTOM PADDING
   ============================================= */
@media (max-width: 767px) {
  .portfolio-details-meta-box {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .meta-item {
    align-items: flex-start;
  }

  .meta-value {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  /* push content above the sticky bar */
  .portfolio-detail-wrapper .detail-columns-wrapper {
    padding-bottom: 80px;
  }
}
