/* مكتبة سياسات نايوش — ملف 03 */

.pol-page {
  padding: 24px 0 64px;
}

.pol-hero {
  background: linear-gradient(128deg, #1a0a00 0%, #3d1a05 40%, #7a2e0c 100%);
  color: #fff;
  border-radius: 22px;
  padding: 32px 28px;
  margin-bottom: 18px;
  box-shadow: 0 24px 60px rgba(60, 20, 0, 0.3);
}

.pol-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  color: #ffffff !important;
}

.pol-hero p {
  margin: 0;
  max-width: 72ch;
  line-height: 1.75;
  color: rgba(255, 245, 247, 0.96) !important;
  font-size: 15px;
  font-weight: 700;
}

.pol-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.pol-kpi {
  background: #fff;
  border: 1px solid #f0e6dc;
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
}

.pol-kpi strong {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: #9a3412;
}

.pol-kpi span {
  font-size: 12px;
  font-weight: 800;
  color: #78716c;
}

.pol-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.pol-toolbar input {
  min-height: 42px;
  border: 1px solid #e7ddd3;
  border-radius: 12px;
  padding: 0 14px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
}

.pol-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pol-cats button {
  border: 1px solid #e7ddd3;
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-family: inherit;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  color: #44403c;
}

.pol-cats button.is-active {
  background: #9a3412;
  border-color: #9a3412;
  color: #fff;
}

.pol-list {
  display: grid;
  gap: 12px;
}

.pol-card {
  background: #fff;
  border: 1px solid #f0e6dc;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 8px 22px rgba(28, 16, 8, 0.04);
}

.pol-card header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}

.pol-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  color: #1c1917;
  flex: 1 1 220px;
}

.pol-badge {
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffedd5;
  color: #9a3412;
}

.pol-card p {
  margin: 0 0 12px;
  color: #57534e;
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.7;
}

.pol-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pol-actions button,
.pol-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 800;
  font-size: 12.5px;
  text-decoration: none;
  border: 1px solid #e7ddd3;
  background: #fff;
  color: #1c1917;
  cursor: pointer;
}

.pol-actions button.primary {
  background: #9a3412;
  border-color: #9a3412;
  color: #fff;
}

.pol-empty {
  padding: 28px;
  text-align: center;
  color: #78716c;
  font-weight: 800;
  background: #fff;
  border-radius: 14px;
  border: 1px dashed #e7ddd3;
}

@media (max-width: 640px) {
  .pol-hero {
    padding: 22px 16px;
  }
}
