/* ==========================================================================
   نمونه‌کارها (پروژه‌ها) — فهرست و صفحهٔ هر پروژه
   همان طراحی ویترین: کارت پروژه = .vt-pj صفحه اصلی؛ رنگ‌ها از store-vitrine.css
   پیشوند: vpf-
   ========================================================================== */

/* شبکهٔ کارت‌ها */
.vpf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 22px; }
.vpf-grid--feature .vpf-card--big { grid-column: span 2; grid-row: span 2; height: auto; min-height: 520px; }
.vpf-card { display: block; height: 340px; text-decoration: none; }
.vpf-card:focus-visible { outline: 3px solid var(--vt-sky); outline-offset: 3px; }
.vpf-card .vt-pj__t b { font-size: 18px; }
.vpf-card--big .vt-pj__t b { font-size: clamp(20px, 2.2vw, 26px); }
.vpf-card__ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 46px; color: rgba(255,255,255,.25);
  background: radial-gradient(circle at 30% 20%, var(--vt-navy2), var(--vt-navy)); }

/* هیرو: مشخصات پروژه */
.vpf-facts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.vpf-facts li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; min-width: 0; }
.vpf-facts i { font-size: 18px; color: var(--vt-sky); }
.vpf-facts small { display: block; font-size: 11px; color: #9FB0CF; }
.vpf-facts b { display: block; font-size: 13.5px; font-weight: 800; overflow-wrap: anywhere; }
.vpf-draft { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; padding: 8px 14px; border-radius: 12px;
  background: rgba(255,176,32,.16); color: #FFD27A; font-size: 13px; font-weight: 800; }

.vpf-cover img { max-height: 600px; }

/* کارهای انجام‌شده */
.vpf-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vpf-checks li { padding-inline-start: 30px !important; font-weight: 700; }
.vpf-checks li::before { content: "✓" !important; width: 20px !important; height: 20px !important; top: 4px !important; transform: none !important;
  border-radius: 50% !important; background: var(--vt-green) !important; color: #fff; font-size: 11px; line-height: 20px; text-align: center; font-weight: 900; }

/* گالری */
.vpf-count { font-size: 13px; color: var(--vt-mut); font-weight: 700; }
.vpf-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.vpf-gallery__item { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--vt-bg); cursor: zoom-in; }
.vpf-gallery--many .vpf-gallery__item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.vpf-gallery:not(.vpf-gallery--many) { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.vpf-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; display: block; }
.vpf-gallery__item:hover img { transform: scale(1.05); }

/* ستون کناری: مشخصات */
.vpf-spec { margin: 0; display: grid; gap: 2px; }
.vpf-spec > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--vt-line); font-size: 13.5px; }
.vpf-spec > div:last-child { border-bottom: 0; }
.vpf-spec dt { color: var(--vt-mut); font-weight: 600; white-space: nowrap; }
.vpf-spec dt i { color: var(--vt-blue); margin-inline-end: 4px; }
.vpf-spec dd { margin: 0; font-weight: 800; text-align: left; overflow-wrap: anywhere; }
.vpf-web { width: 100%; justify-content: center; margin-top: 12px; }

/* فراخوان پایین فهرست */
.vpf-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding: 30px 34px;
  border-radius: var(--vt-r); color: #fff; background: radial-gradient(circle at 10% 0%, rgba(59,139,255,.35), transparent 50%), linear-gradient(135deg, var(--vt-navy), var(--vt-navy2)); }
.vpf-cta > div:first-child { display: flex; gap: 16px; align-items: center; }
.vpf-cta h2 { font-size: clamp(19px, 2vw, 24px); font-weight: 900; margin: 0 0 6px; color: #fff; }
.vpf-cta p { margin: 0; color: #C4CFE4; font-size: 14px; line-height: 1.9; }
.vpf-cta__acts { display: flex; gap: 10px; flex-wrap: wrap; }

/* نمایش بزرگ تصویر */
.vpf-lb { position: fixed; inset: 0; z-index: 10060; display: flex; align-items: center; justify-content: center; background: rgba(4,12,30,.94); backdrop-filter: blur(6px); }
.vpf-lb[hidden] { display: none; }
.vpf-lb img { max-width: min(92vw, 1400px); max-height: 84vh; border-radius: 14px; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.vpf-lb button { position: absolute; border: 0; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 20px; cursor: pointer; display: grid; place-items: center; }
.vpf-lb button:hover { background: rgba(255,255,255,.22); }
.vpf-lb__x { top: 18px; left: 18px; }
.vpf-lb__prev { right: 18px; top: 50%; transform: translateY(-50%); }
.vpf-lb__next { left: 18px; top: 50%; transform: translateY(-50%); }
.vpf-lb__n { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #C4CFE4; font-size: 13px; font-weight: 700; }

@media (max-width: 1100px) {
  .vpf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vpf-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .vpf-grid, .vpf-grid--feature { grid-template-columns: 1fr; gap: 14px; }
  .vpf-grid--feature .vpf-card--big { grid-column: auto; grid-row: auto; min-height: 340px; }
  .vpf-card { height: 290px; }
  .vpf-checks { grid-template-columns: 1fr; }
  .vpf-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .vpf-facts li { flex: 1 1 calc(50% - 10px); padding: 9px 11px; }
  .vpf-cta { padding: 24px 20px; }
  .vpf-lb button.vpf-lb__nav { top: auto; bottom: 14px; transform: none; }
}
.vp-tagcloud a small { margin-inline-start: 4px; opacity: .7; }
