/* =================================
   Pretty HTML Course – Artis Theme
   ================================= */

.phc-course {
  max-width: 860px;
  margin: auto;
  font-family: inherit;
  line-height: 1.85;
  color: #1f2933;
  padding-bottom: 60px;
}

/* כותרות */

.phc-course h1 {
  font-size: 34px;
  margin-bottom: 20px;
  color: #0f172a;
}

.phc-course h2 {
  font-size: 26px;
  margin-top: 60px;
  margin-bottom: 16px;
  color: #0f766e;
}

.phc-course h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #334155;
}

/* פס התקדמות */

.phc-progress {
  height: 6px;
  background: #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  margin: 30px 0 50px;
}

.phc-bar {
  height: 100%;
  width: 0;
  background: #0f766e;
  transition: width .4s ease;
}

/* אזור שיעור */

.phc-lesson {
  background: #f9fafb;
  padding: 32px 36px;
  margin: 40px 0;
  border-right: 4px solid #0f766e;
}

.phc-lesson p {
  margin-bottom: 16px;
}

/* אזור תרגול */

.phc-ex {
  background: #f0f9ff;
  padding: 28px 32px;
  margin: 36px 0;
  border-right: 4px solid #0284c7;
  position: relative;
}

.phc-ex p {
  font-weight: 500;
  margin-bottom: 14px;
}

/* textarea */

.phc-ex textarea {
  width: 100%;
  min-height: 120px;
  padding: 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 4px;
  font-size: 16px;
  background: #ffffff;
  transition: border-color .25s ease, background .25s ease;
}

.phc-ex textarea:focus {
  outline: none;
  border-color: #0284c7;
  background: #f8fafc;
}

.phc-ex textarea.saved {
  background: #f0fdf4;
  border-color: #16a34a;
}

/* כפתור השלמה */

.phc-btn {
  background: transparent;
  color: #0284c7;
  border: 1.5px solid #0284c7;
  padding: 8px 18px;
  margin-top: 14px;
  border-radius: 20px;
  font-size: 15px;
  cursor: pointer;
  transition: all .25s ease;
}

.phc-btn:hover {
  background: #0284c7;
  color: #ffffff;
}

.phc-btn.done {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}

/* רספונסיביות */

@media (max-width: 768px) {
  .phc-course {
    padding: 0 16px;
  }

  .phc-lesson,
  .phc-ex {
    padding: 24px;
  }

  .phc-course h1 {
    font-size: 28px;
  }
}
