/* iris-works — «Наши работы». База — штатные .issec/.icpop/.icpcard (iris-header.css);
   здесь только своё. Отдельный файл: iris-header.css пересобирается билдом хаба. */
.iwk-card__media { position: relative; cursor: zoom-in; }
.iwk-card__n { position: absolute; right: 10px; bottom: 10px; background: rgba(30, 24, 44, .62);
  color: #fff; font: 600 11.5px/1 Montserrat, sans-serif; padding: 6px 9px; border-radius: 20px;
  backdrop-filter: blur(4px); pointer-events: none; }
.iwk-tag-salon { background: #fdf1e6 !important; color: #8a5a2b !important; }
.iwk-card__date { display: block; margin-top: 6px; font-size: 11.5px; color: #a49db0; }
.iwk .icpcard__mname { white-space: normal; line-height: 1.25; }
.iwk--grid.issec { padding: 6px 0 10px; }
.iwk-mname { text-decoration: none !important; }
.iwk-mname:hover { color: var(--ih-accent, #8163c4); }
.iwk-ini { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #efe8fb, #e3d8f6); color: #7a5fb8; font: 700 12px/1 Montserrat, sans-serif; }
.iwk-headr { display: flex; align-items: center; gap: 18px; }

/* сетка раздела «Наши работы» */
.iwk--grid { padding-top: 30px; }
.iwk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.iwk-grid .icpcard { flex: none; min-width: 0; }
.iwk-card.iwk-off { display: none; }
@media (max-width: 1100px) { .iwk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px)  { .iwk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 480px)  { .iwk-grid { grid-template-columns: minmax(0, 1fr); } }
.iwk-filters { display: flex; flex-direction: column; gap: 10px; margin: 0 0 22px; }
.iwk-filters__row { display: flex; flex-wrap: wrap; gap: 8px; }
.iwk-chip { border: 1.5px solid #e6def4; background: #fff; color: #6b6480; border-radius: 22px;
  padding: 8px 15px; font: 600 13px/1 Montserrat, sans-serif; cursor: pointer; transition: .15s; }
.iwk-chip:hover { border-color: var(--ih-accent, #8163c4); color: var(--ih-accent, #8163c4); }
.iwk-chip.on { background: var(--ih-accent, #8163c4); border-color: var(--ih-accent, #8163c4); color: #fff; }
.iwk-none, .iwk-empty { color: #948da3; font-size: 14px; padding: 20px 0; }

/* просмотр фото крупно */
.iwk-lb { position: fixed; inset: 0; z-index: 10000; background: rgba(18, 14, 28, .92);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; }
.iwk-lb[hidden] { display: none; }
.iwk-lb__img { max-width: 92vw; max-height: 80vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.iwk-lb__cap { color: #e9e4f3; font: 500 14px/1.4 Montserrat, sans-serif; text-align: center; max-width: 80vw; }
.iwk-lb__cnt { color: #a99fbf; font: 600 12px/1 Montserrat, sans-serif; }
.iwk-lb__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px;
  border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 26px;
  cursor: pointer; display: flex; align-items: center; justify-content: center; }
.iwk-lb__btn:hover { background: rgba(255, 255, 255, .26); }
.iwk-lb__prev { left: 18px; } .iwk-lb__next { right: 18px; }
.iwk-lb__x { position: absolute; top: 16px; right: 18px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 24px; cursor: pointer; }
@media (max-width: 640px) { .iwk-lb__btn { width: 40px; height: 40px; } .iwk-lb__prev { left: 6px; } .iwk-lb__next { right: 6px; } }
