/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Hanlding Updates
-----------------------------------------------------------------*/

/* ── Apple Design System: typography, text colors, backgrounds ── */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif !important;
  background: #f5f5f7 !important;
  color: #1d1d1f !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #1d1d1f;
}

.text-dark {
  color: #1d1d1f !important;
}

.bg-light {
  background-color: #f5f5f7 !important;
}

/* ── Portfolio: uniform thumbnail aspect ratio ── */
.portfolio .portfolio-box .portfolio-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.portfolio .portfolio-box .portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ── Portfolio: card caption below thumbnail ── */
.portfolio-card-caption {
  background: #fff;
  border-top: 1px solid #e9ecef;
}

.portfolio-card-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1d1d1f;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-card-meta {
  font-size: 0.75rem;
  color: #6e6e73;
}

/* ── Portfolio: overlay is affordance-only, not a text container ── */
.portfolio .portfolio-box .portfolio-overlay {
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio .portfolio-box:hover .portfolio-overlay {
  opacity: 1;
}
