/* Home */

.welcome
{
	background-color: #ddeeff;
	font-style: italic;
}

.welcome > div.text p
{
	text-align: center;
	text-indent: 0;
}

.news-entry > .text img
{
	float: right;
	margin-left: 1em;
	max-width: min(160px, 25%);
	max-height: 256px;
}



/* Books */

.book-entry
{
	display: grid;
	grid-template-columns: 1fr min(160px, 25%);
}

.book-entry > .title { grid-area: 1 / 1; }
.book-entry > .credits { grid-area: 2 / 1; }
.book-entry > .extra { grid-area: 3 / 1; }
.book-entry > .cover { grid-area: 1 / 2 / 5 / 3; }
.book-entry > .tags { grid-area: 4 / 1 / 5 / 3; }
.book-entry > .description { grid-area: 5 / 1 / 6 / 3; }
.book-entry > .blurb { grid-area: 6 / 1 / 7 / 3; }
.book-entry > .links { grid-area: 7 / 1 / 8 / 3; }

.book-entry > .title
{
	font-size: 2em;
	line-height: 1.2em;
}

.book-entry > .title p span
{
	display: inline-block;
	text-indent: 0;
}

.book-entry > .credits
{
	display: flex;
	flex-direction: column;
	gap: 0.25em;
	line-height: 1.25em;
}

.book-entry > .credits > p > span
{
	display: inline-block;
}

.book-entry > .extra
{
	display: flex;
	flex-direction: column;
	gap: 0.25em;
	line-height: 1.25em;
}

.book-entry > .cover img
{
	max-width: min(160px, 100%);
	max-height: min(256px, 100%);
}

.book-entry > .links
{
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 2em;
}

.book-entry > .links > a
{
	text-align: center;
	text-decoration: none;
}

.book-entry > .links > a > span
{
	display: inline-block;
}



/* About */

.about-entry > .text > img
{
	float: right;
	margin: 2em;
	margin-right: 0;
	max-width: min(200px, 25%);
	max-height: 200px;
}



/* Contact */

.contact-entry > div.link
{
	text-align: center;
}

.contact-entry > div.link > a
{
	text-decoration: none;
}
