.pw-carousel {
  width: 100%;
  position: relative;
}

.pw-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.pw-heading {
  margin: 0;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.05;
}

.pw-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pw-all-link {
  font-size: 18px;
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}

.pw-arrow { margin-left: 6px; }

.pw-nav-btn {
  border: 0;
  padding: 18px 26px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  border-radius: 0;
  background: #0A7B7B;
  color: #FFFFFF;
  transition: opacity 0.2s;
}
.pw-nav-btn:hover { opacity: 0.9; }

.pw-divider {
  height: 2px;
  margin: 18px 0 34px;
  background: #E26B3F;
}
.pw-divider-bottom { margin-top: 34px; }

.pw-swiper-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.pw-swiper-wrapper {
  display: flex;
  width: 100%;
  height: auto;
}

.pw-slide-item {
  width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
  display: block !important;
  position: relative;
  /* ✅ ارتفاع اسلاید بر اساس محتوا تنظیم شود */
  height: auto !important;
}

.pw-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ✅ کانتینر تصویر - ارتفاع توسط المنتور کنترل می‌شود */
.pw-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px; /* پیش‌فرض، توسط المنتور قابل تغییر */
  text-decoration: none;
  overflow: hidden;
  width: 100%;
  position: relative;
}

/* ✅ تصویر - تنظیمات جدید برای نمایش صحیح */
.pw-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* پیش‌فرض، توسط المنتور قابل تغییر */
  display: block;
  transition: transform 0.3s;
}

.pw-thumb:hover img { 
  transform: scale(1.03); 
}

.pw-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: rgba(0,0,0,0.06);
}

.pw-type-label {
  margin-top: 22px;
  font-size: 18px;
  font-weight: 600;
}

.pw-item-title {
  margin: 10px 0 0;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
}
.pw-item-title a { 
  text-decoration: none; 
  color: inherit;
}
.pw-item-title a:hover { text-decoration: underline; }

.pw-empty { padding: 30px 0; text-align: center; }

@media (max-width: 1024px){
  .pw-heading { font-size: 44px; }
  .pw-nav-btn { padding: 16px 22px; font-size: 22px; }
  .pw-item-title { font-size: 26px; }
}
@media (max-width: 768px){
  .pw-header { flex-direction: column; align-items: flex-start; }
  .pw-controls { width: 100%; justify-content: flex-start; }
  .pw-heading { font-size: 36px; }
}