/* افزونه‌های قالب داینامیک */
.photo-featured, .photo-card, .vfx-card, .teaser-item, .bento-item { position: relative; }
.stretched-link::after { content: ""; position: absolute; inset: 0; z-index: 2; }

.teaser-player { display: block; width: 100%; height: 100%; min-height: 240px; object-fit: cover; background: #000; }
a.play-btn { display: grid; place-items: center; }
.work-video { display: block; width: 100%; margin-top: 1.5rem; border-radius: 12px; background: #000; max-height: 640px; }
.work-video-link { margin-top: 1.5rem; }

.empty-state { text-align: center; color: var(--color-text-muted); padding: 4rem 1rem; }

/* صفحه‌بندی */
.site-pagination { margin-top: 2.5rem; }
.site-pagination .pagination { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; list-style: none; padding: 0; margin: 0; }
.site-pagination .page-link { display: block; min-width: 2.4rem; padding: .5rem .8rem; text-align: center; border: 1px solid var(--color-border-strong); border-radius: 8px; color: var(--color-text-muted); }
.site-pagination .page-item.active .page-link { background: var(--color-primary); color: #111; border-color: var(--color-primary); }
.site-pagination .page-item.disabled .page-link { opacity: .4; }
.site-pagination a.page-link:hover { color: var(--color-primary); border-color: var(--color-primary); }

/* لوگوی تصویری (PNG) */
.logo-img { display: block; height: 44px; width: auto; max-width: 220px; object-fit: contain; }
.footer-brand .logo-img { height: 52px; }

/* آیکن‌ها */
.icon { display: block; flex-shrink: 0; }
.social-link .icon { width: 20px; height: 20px; }
.cta-actions .btn .icon { width: 22px; height: 22px; }

/* کلیک روی کل کارت (لایهٔ نامرئی روی تصویر) */
.card-cover-link { position: absolute; inset: 0; z-index: 2; }
.photo-featured figcaption { z-index: 1; }
.photo-featured figcaption h3 a { color: inherit; }
.link-arrow-top { position: relative; z-index: 3; }

/* عنوان کارت تیزر شاخص */
.teaser-title-link { color: inherit; }
.teaser-title-link:hover { color: var(--color-primary); }
