//============================================================
// Well
//============================================================

.#{$prefix}well {
	display: block;
	border-radius: $theme-border-radius;
	width: auto;
	padding: $theme-padding;
	margin-bottom: 1rem;
	background-color: $well-bg;
}

.#{$prefix}well-heading {
	display: none; // temporarily hide headings. content authors seem to just leave it blank
	text-transform: uppercase;
	font-size: 1em;
	font-weight: bold;
	color: darken($well-bg,45%);
	margin: 0;
	margin-bottom: 0.5rem;

	&::empty {
		display: none;
	}
}

.#{$prefix}well-body {
	font-size: 1rem;
	font-weight: 300;
	font-family: $theme-font-family;
	line-height: $theme-line-height;

	> * {
		color: #505050;
	}

	p {
		margin-top: 0;
		margin-bottom: 1rem;

		&:last-child {
			margin-bottom: 0;
		}
	}

	> ul {
		padding-left: 1.2rem;
	}
}