/* ============================================================
   HotNews — become-writer.css
   ============================================================ */

.bw-shell {
  padding: 12px 0 40px;
  max-width: 900px;
  margin: 0 auto;
}
.bw-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Hero */
.bw-hero {
  padding: 32px 36px;
  text-align: center;
}
.bw-title {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}
.bw-lead {
  margin: 0;
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 600px;
  margin-inline: auto;
}

/* Section heads */
.bw-content .section-head {
  border-bottom: 1px solid var(--border-color);
  padding: 18px 24px;
}
.bw-content .section-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
}

/* Benefits */
.bw-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 20px;
}
.bw-benefit-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}
.bw-benefit-icon { font-size: 24px; }
.bw-benefit-item strong {
  font-size: 15px;
  color: var(--text-main);
}
.bw-benefit-item p {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}

/* Form */
.bw-form-panel .bw-error {
  margin: 14px 20px 0;
  padding: 12px 16px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  color: #991b1b;
  font-weight: 600;
}
.bw-form {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bw-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.bw-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bw-form label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}
.bw-required { color: var(--brand-primary); }
.bw-form input[type="text"],
.bw-form input[type="email"],
.bw-form input[type="tel"],
.bw-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-main);
  background: var(--bg-surface);
}
.bw-form textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.6;
}
.bw-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Agreement */
.bw-agreement-box {
  background: var(--bg-muted);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.bw-agreement-box h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
}
.bw-agreement-text {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  max-height: 280px;
  overflow-y: auto;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.7;
}
.bw-agreement-text ol {
  padding-right: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0;
}
.bw-agreement-text strong { color: var(--text-main); }
.bw-agreement-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}
.bw-agreement-check input { margin-top: 3px; }

/* Submit */
.bw-submit {
  align-self: flex-start;
  padding: 13px 32px;
  font-size: 16px;
  font-weight: 800;
}

/* Success */
.bw-success {
  padding: 40px 32px;
  text-align: center;
}
.bw-success-icon {
  font-size: 56px;
  margin-bottom: 14px;
}
.bw-success h2 {
  margin: 0 0 10px;
  font-size: 24px;
  color: var(--text-main);
}
.bw-success p {
  margin: 0 0 22px;
  color: var(--text-soft);
}

/* Responsive */
@media (max-width: 720px) {
  .bw-hero { padding: 24px 18px; }
  .bw-benefits { grid-template-columns: 1fr; padding: 14px; }
  .bw-form-grid { grid-template-columns: 1fr; }
  .bw-form { padding: 16px; }
  .bw-submit { width: 100%; }
}

/* ─── avatar upload ─── */
.bw-avatar-upload {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  background: var(--bg-muted);
  max-width: 220px;
}
.bw-upload-btn {
  background: var(--brand-primary);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.bw-upload-btn:hover { background: var(--brand-primary-dark); }
