/* ============================================================
   PORTOFOLIU — project index + individual project pages
   Extends blog.css; only what blog.css does not already cover.
============================================================ */

/* Industrial category badge (blog.css has residential/commercial/safety) */
.blog-category--industrial {
  background: rgba(255, 138, 0, 0.12);
  color: #ff8a00;
  border: 1px solid rgba(255, 138, 0, 0.28);
}

/* Fact chips on the portfolio index cards */
.portfolio-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.portfolio-fact {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.portfolio-fact i {
  font-size: 0.72rem;
  opacity: 0.7;
}

/* Hero image on an individual project page */
.project-hero-img {
  width: 100%;
  height: clamp(220px, 42vw, 460px);
  border-radius: 16px;
  margin-top: -2rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
}

/* Key-facts strip: reuses .modal-chip from style.css */
.project-meta {
  margin: 0 0 2.4rem;
}

.project-services {
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.project-services h2 {
  margin-top: 0;
}

.project-services .article-list li a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}

.project-services .article-list li a:hover {
  text-decoration-color: currentColor;
}

.blog-more-hint a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 768px) {
  .project-hero-img {
    margin-top: -1rem;
    border-radius: 12px;
  }
  .portfolio-fact {
    font-size: 0.72rem;
  }
}

/* CTA heading is an h3 (not h4) to keep heading order valid; styled as .article-cta h4 */
.article-cta .article-cta-title {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

/* Callout box used in article bodies (referenced in blog posts but never styled) */
.callout {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--accent, #ff8a00);
}

.callout p { margin: 0; }
