/* HR Webdesign — home portfolio cards ([hr_home_work]) — same look as the phase-1 static cards */
.elementor-widget.hr-hwork-w,.hr-hwork-w>.elementor-widget-container,.hr-hwork-w .elementor-shortcode{display:contents}
.hr-hwork-card{width:min(78vw,560px,calc((100vh - 300px)*1.6));flex:none;display:flex;flex-direction:column;gap:18px;color:var(--hr-ink);text-decoration:none}
.hr-hwork-card:hover,.hr-hwork-card:focus{color:var(--hr-ink)}
.hr-hwork-img{display:block;height:auto}
.hr-hwork-card .hr-shot,.hr-hwork-img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:24px;border:1px solid rgba(var(--hr-ink-rgb),.08);transition:transform .6s cubic-bezier(.22,.61,.36,1),border-color .4s}
.hr-hwork-card:hover .hr-shot,.hr-hwork-card:hover .hr-hwork-img{border-color:rgba(var(--hr-gold-rgb),.45)}
.hr-hwork-meta{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.hr-hwork-cat{font-family:IRANSans,IRANSansX,Vazirmatn,sans-serif;font-size:13px;line-height:1.9;color:var(--hr-muted)}
.hr-hwork-title{margin:6px 0 0;font-family:Doran,IRANSans,sans-serif;font-size:24px;font-weight:800;line-height:1.6;color:var(--hr-ink)}
.hr-hwork-pill{flex:none;display:inline-block;padding:8px 14px;border-radius:999px;background:rgba(var(--hr-gold-rgb),.1);color:var(--hr-gold);font-family:IRANSans,IRANSansX,Vazirmatn,sans-serif;font-size:13px;font-weight:700;line-height:1.6;white-space:nowrap}
@media (max-width:767px){.hr-hwork-title{font-size:20px}}
