/* ===========================
   SUBMIT A STORY PAGE
   =========================== */

.story-main {
  padding-top: 2.1rem;
}

.story-hero {
  padding-bottom: 1.8rem;
}

.story-wrap {
  width: min(920px, 100%);
  margin: 0 auto;
}

.story-head {
  margin-bottom: 1.2rem;
}

.story-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.79rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.story-title {
  margin: 0 0 0.6rem;
  font-family: "Lora", "Times New Roman", serif;
  font-size: clamp(1.8rem, 2vw + 1.2rem, 2.35rem);
  line-height: 1.14;
  color: var(--color-text-main);
}

.story-sub {
  margin: 0;
  color: var(--color-text-soft);
  max-width: 48rem;
}

.story-card {
  margin-top: 1.4rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: 24px;
  padding: 1.45rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.story-field {
  display: grid;
  gap: 0.45rem;
}

.story-field.full {
  grid-column: 1 / -1;
}

.story-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.story-input,
.story-select,
.story-textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0.82rem 0.9rem;
  font: inherit;
  background: #fff;
  color: var(--color-text-main);
  transition: border-color 140ms ease-out, box-shadow 140ms ease-out;
}

.story-textarea {
  min-height: 230px;
  resize: vertical;
  line-height: 1.55;
}

.story-input:focus,
.story-select:focus,
.story-textarea:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.24);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
}

.story-consent {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.65rem;
  color: var(--color-text-soft);
  font-size: 0.93rem;
}

.story-consent input {
  margin-top: 0.2rem;
}

.story-actions {
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.story-fine {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  max-width: 36rem;
}

.story-submit {
  width: auto;
}

@media (max-width: 860px) {
  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-actions {
    align-items: stretch;
  }

  .story-submit {
    width: 100%;
    justify-content: center;
  }
}
