h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 5vw, 46px);
  color: #172554;
  line-height: 1.1;
}

.container > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.post-form-section {
  margin-top: 0;
}

.post-form-header h1,
.post-form-header h2 {
  margin: 0 0 8px;
  font-size: clamp(30px, 5vw, 46px);
  color: #172554;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.post-form-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.post-form {
  margin-top: 30px;
  padding: 30px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.post-form label {
  display: block;
  margin-bottom: 22px;
  font-weight: 900;
  color: #374151;
}

.post-form input,
.post-form select,
.post-form textarea {
  width: 100%;
  margin-top: 9px;
  padding: 14px 15px;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  font-size: 16px;
  background: #fbfdff;
  color: var(--text);
  outline: none;
  transition: 0.18s;
}

.post-form select {
  cursor: pointer;
}

.post-form input:focus,
.post-form select:focus,
.post-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(59, 91, 219, 0.12);
  background: white;
}

.post-form textarea {
  resize: vertical;
  min-height: 210px;
  line-height: 1.7;
}

.post-form button {
  width: 100%;
  min-height: 50px;
  padding: 15px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 15px;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(59, 91, 219, 0.22);
}

.post-form button:hover {
  background: var(--primary-dark);
}

.error-box {
  margin-top: 20px;
  padding: 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 14px;
  color: #b91c1c;
  font-weight: 800;
}

.success-box {
  margin-top: 20px;
  padding: 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  color: #15803d;
  font-weight: 800;
}

/* ==============================
   Mobile
============================== */
@media (max-width: 600px) {
  h1,
  .post-form-header h1,
  .post-form-header h2 {
    font-size: clamp(30px, 10vw, 40px);
  }

  .container > p,
  .post-form-header p {
    font-size: 15px;
  }

  .post-form {
    margin-top: 24px;
    padding: 24px;
    border-radius: 22px;
  }

  .post-form label {
    margin-bottom: 20px;
    font-size: 15px;
  }

  .post-form input,
  .post-form select,
  .post-form textarea {
    padding: 14px;
    border-radius: 14px;
  }

  .post-form textarea {
    min-height: 180px;
  }
}

@media (max-width: 430px) {
  .post-form {
    padding: 20px;
  }
}

/* ==============================
   v1.2.1 Mobile Form Redesign
============================== */
@media (max-width: 600px) {
  h1,
  .post-form-header h1,
  .post-form-header h2 {
    font-size: clamp(29px, 9vw, 38px);
  }

  .post-form {
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 7px 18px rgba(15, 23, 42, 0.045);
  }

  .post-form input,
  .post-form select,
  .post-form textarea {
    border-radius: 15px;
    background: white;
  }

  .post-form button {
    border-radius: 16px;
    box-shadow: none;
    background: #2563eb;
  }
}