/* =========================================================
   JAYHENGE PUBLISHING
   About the Contributors pages
   ========================================================= */


/* =========================================================
   MAIN CONTENT
   ========================================================= */

#wide_column {
	width: min(760px, 90%);
	position: relative;
	margin: 400px auto 40px auto;
	padding: 30px;

	background-color: rgba(255,255,255,0.5);

	box-sizing: border-box;
	z-index: 2;
}


/* =========================================================
   MAIN TITLES
   ========================================================= */

.page-title,
.section-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;

	margin: 0;

	text-align: center;

	font-family: "Montserrat", Verdana, Geneva, sans-serif;
	font-weight: normal;

	color: #505050;
}

.page-title {
	margin-bottom: 28px;
	font-size: clamp(24px, 2.6vw, 36px);
}

.section-title {
	margin: 55px 0 38px 0;
	font-size: clamp(18px, 1.8vw, 25px);
}

.page-title-text {
	display: inline-block;
}

.page-subtitle {
	font-size: .9em !important;
}


/* Decorative title lines */

.page-title:before,
.page-title:after,
.section-title:before,
.section-title:after {
	content: "";
	height: 1px;
	background-color: #aaa;
}

.page-title:before,
.page-title:after {
	width: 55px;
}

.section-title:before,
.section-title:after {
	width: 42px;
}


/* =========================================================
   COVER
   ========================================================= */

.cover {
	margin: 0 auto 45px auto;
	text-align: center;
}

.cover img {
	display: block;
	width: 300px;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}


/* =========================================================
   CONTRIBUTOR ENTRIES
   ========================================================= */

.contributor-entry {
	margin: 0;
	padding: 0 0 28px 0;
}

.contributor-entry + .contributor-entry {
	padding-top: 28px;
	border-top: 1px solid rgba(80,80,80,0.22);
}


/* Contributor name */

.contributor-name {
	margin: 0 0 11px 0;

	text-align: center;

	font-family: "Montserrat", Verdana, Geneva, sans-serif;
	font-size: clamp(17px, 1.35vw, 20px);
	font-weight: bold;
	line-height: 1.4;

	color: #505050;
}


/* Optional role / descriptor */

.contributor-role {
	margin: -5px 0 13px 0;

	text-align: center;

	font-family: "Montserrat", Verdana, Geneva, sans-serif;
	font-size: .78rem;
	font-style: italic;

	color: #888;
}


/* Biography text */

.contributor-bio {
	margin: 0;

	text-align: justify;

	font-family: "Montserrat", Verdana, Geneva, sans-serif;
	font-size: clamp(14px, 1vw, 16px);
	line-height: 1.8;

	color: #505050;
}

.contributor-bio a {
	overflow-wrap: anywhere;
}


/* =========================================================
   OPTIONAL BINARY / MONOSPACE MESSAGE
   ========================================================= */

.binary {
	display: block;

	margin-top: 18px;

	text-align: left;
	word-break: break-all;

	font-family: monospace;
	font-size: .78rem;
	line-height: 1.7;

	color: #666;
}


/* =========================================================
   FOOTER
   ========================================================= */

.page-footer {
	margin: 55px auto 15px auto;
	text-align: center;
}

.page-footer img {
	max-width: 280px;
	height: auto;
	opacity: 0.8;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

	#wide_column {
		width: calc(100% - 30px);
		max-width: none;

		margin: 35px auto 40px auto;
		padding: 20px;
	}


	/* Shorter decorative lines around headings */

	.page-title:before,
	.page-title:after {
		width: 30px;
	}

	.section-title:before,
	.section-title:after {
		width: 22px;
	}


	/* Left alignment is easier to read on narrow screens */

	.contributor-bio {
		text-align: left;
		overflow-wrap: anywhere;
	}

}