/* "Tell Us Your Story" — additions to the daily signup's theme.
   Enqueued by mu-plugins/tlig-story-form.php after daily-signup.css, which
   supplies the look: the form's wrapper carries `.tlig-daily-signup` as well
   as `.tlig-story-form`. This sheet only covers what the signup has no field
   for — multiple choice, long answers, section headings, a photo upload — and
   the heading and introduction, styled like the podcast page's signup section
   (.tligpp-gift in podcast.css).

   The `div.wpforms-container` prefixes are there for the reason daily-signup.css
   gives: WPForms' frontend sheet is printed after this one. */

.tlig-story-form {
	padding-top: 1rem;
}

.tlig-story-form h2 {
	color: #482020;
	text-align: center;
	margin: 0 0 0.75rem;
}

.tlig-story-form p.tlig-story-form-intro {
	color: #574a44;
	text-align: center;
	margin: 0 0 1.75rem;
}

.tlig-story-form .wpforms-container {
	/* The signup's #8390a4 is too faint for the photo's consent sentence,
	   which is something a reader agrees to. */
	--wpforms-label-sublabel-color: #574a44;
}

/* Long answers fill the column like the short ones. */
.tlig-story-form div.wpforms-container textarea.wpforms-field-small,
.tlig-story-form div.wpforms-container textarea.wpforms-field-medium,
.tlig-story-form div.wpforms-container textarea.wpforms-field-large {
	max-width: 100%;
	width: 100%;
	min-height: 140px;
	font-family: Lato, 'Trebuchet MS', Helvetica, sans-serif;
	font-size: 16px;
	resize: vertical;
}

/* Choices read as answers, not labels: regular weight, the field text colour. */
.tlig-story-form div.wpforms-container .wpforms-field-radio li label.wpforms-field-label-inline {
	font-family: Lato, 'Trebuchet MS', Helvetica, sans-serif;
	font-weight: 400;
	font-size: 16px;
	color: #3c4858;
}

.tlig-story-form div.wpforms-container .wpforms-field-description {
	font-family: Lato, 'Trebuchet MS', Helvetica, sans-serif;
	font-size: 15px;
}

/* Section headings: the page's burgundy, with the podcast page's border colour
   as the rule that starts each section. */
.tlig-story-form div.wpforms-container .wpforms-field-divider {
	border-top: 1px solid #c7b8a6;
	margin-top: 1.25rem;
	padding-top: 1.25rem;
}

.tlig-story-form div.wpforms-container .wpforms-field-divider h3 {
	color: #482020;
	font-size: 20px;
	line-height: 1.3;
	text-align: left;
	margin: 0;
}

/* The photo drop zone: white like the inputs, the page's border colour, dashed
   so it reads as a place to drop something. */
.tlig-story-form div.wpforms-container .wpforms-uploader {
	background: #ffffff;
	border: 1px dashed #c7b8a6;
	border-radius: 3px;
}

.tlig-story-form div.wpforms-container .wpforms-uploader .modern-title {
	font-family: Lato, 'Trebuchet MS', Helvetica, sans-serif;
	color: #574a44;
}

.tlig-story-form div.wpforms-container .wpforms-uploader .modern-title span {
	color: #491f20;
}
