.logo--portrait {
	padding-top: 14px;
	padding-bottom: 6px;
}
.logo--portrait .logo__link {
	display: flex;
	align-items: center;
	gap: 18px;
}
.logo__portrait {
	height: 120px;
	width: auto;
	flex: 0 0 auto;
}
@media (max-width: 767px) {
	.logo--portrait .logo__link {
		justify-content: center;
		gap: 12px;
	}
	.logo__portrait {
		height: 84px;
	}
}

/* Post lists (Tekstovi, categories, tags): on phones the theme shrinks the
   thumbnail to 80px; show it full width above the title instead. */
@media screen and (max-width: 620px) {
	.list__thumbnail {
		float: none;
		max-width: none;
		margin: 0 0 12px;
	}
	.list__thumbnail img {
		display: block;
		width: 100%;
		max-width: none;
		aspect-ratio: 16 / 9;
		object-fit: cover;
	}
}
.list__excerpt > :last-child {
	margin-bottom: 0;
}
.list__more {
	margin: 0.4rem 0 0;
}

.homepage__top {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5rem;
	margin-bottom: 2.5rem;
}
.homepage__portrait {
	flex: 0 0 auto;
	width: 280px;
	max-width: 100%;
}
.homepage__portrait img {
	width: 100%;
	height: auto;
	display: block;
}
.homepage__portrait-caption {
	font-size: 0.8rem;
	opacity: 0.65;
	margin-top: 0.5rem;
}
.homepage__intro {
	flex: 1 1 320px;
	min-width: 280px;
}
.homepage__bio {
	margin-bottom: 1.8rem;
}
.homepage__releases h2 {
	margin-top: 0;
}
.homepage__release {
	margin-bottom: 1.3rem;
	padding-bottom: 1.3rem;
	border-bottom: 1px solid #ebebeb;
}
.homepage__release:last-child {
	border-bottom: none;
}
.homepage__release-title {
	font-weight: 700;
	margin-bottom: 0.2rem;
}
.homepage__release-year {
	font-weight: 400;
	opacity: 0.6;
}
.homepage__release-note {
	margin: 0.3rem 0 0;
}
.homepage__release--with-image {
	display: flex;
	gap: 1rem;
}
.homepage__release-cover {
	flex: 0 0 auto;
	width: 90px;
	height: auto;
	align-self: flex-start;
}
.homepage__release-body {
	flex: 1 1 auto;
	min-width: 0;
}
/* Photo floated beside the text on content pages (O Vedrani), sized like the homepage portrait */
.page-portrait {
	float: right;
	width: 280px;
	max-width: 45%;
	margin: 0.3rem 0 1.2rem 1.8rem;
}
.page-portrait img {
	width: 100%;
	height: auto;
	display: block;
}
.page-portrait__caption {
	font-size: 0.8rem;
	opacity: 0.65;
	margin-top: 0.5rem;
}
.content h2 {
	clear: both;
}

@media (max-width: 480px) {
	.page-portrait {
		float: none;
		width: 200px;
		max-width: 100%;
		margin: 0 auto 1.2rem;
	}
	.homepage__portrait {
		width: 200px;
		margin: 0 auto;
	}
	.homepage__top {
		justify-content: center;
	}
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 0.8rem;
	margin-top: 1.5rem;
}
.gallery-grid a {
	display: block;
	overflow: hidden;
}
.gallery-grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 3 / 4;
	display: block;
	transition: transform 0.2s ease;
}
.gallery-grid a:hover img {
	transform: scale(1.04);
}
/* post galleries: square tiles suit a mix of landscape and portrait shots */
.gallery-grid--square img {
	aspect-ratio: 1 / 1;
}
/* book cover / book pages: never crop */
.gallery-grid--whole {
	align-items: start;
}
.gallery-grid--whole img {
	aspect-ratio: auto;
	height: auto;
}

.book-nav {
	display: flex;
	gap: 1.2rem;
	flex-wrap: wrap;
	margin: 1.2rem 0 2rem;
	padding: 0.9rem 1.1rem;
	background: #faf9f7;
	border: 1px solid #ebebeb;
}
.book-nav a {
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.85rem;
	letter-spacing: 0.02em;
}
.book-section-title {
	margin-top: 2.6rem;
	padding-bottom: 0.4rem;
	border-bottom: 2px solid #ebebeb;
}
.book-entry {
	display: flex;
	gap: 1.3rem;
	margin: 1.6rem 0;
	padding-bottom: 1.6rem;
	border-bottom: 1px solid #ebebeb;
	scroll-margin-top: 1rem;
}
.book-entry:last-child {
	border-bottom: none;
}
.book-entry__cover {
	flex: 0 0 auto;
	width: 110px;
	height: auto;
	align-self: flex-start;
}
.book-entry__body {
	flex: 1 1 auto;
	min-width: 0;
}
.book-entry__title {
	margin: 0 0 0.4rem;
}
.book-entry__note {
	font-size: 0.85rem;
	opacity: 0.7;
	margin: 0.5rem 0 0;
}
.book-entry__more {
	margin: 0.4rem 0 0;
}
.book-entry__oop {
	color: #888;
	white-space: nowrap;
}
@media (max-width: 480px) {
	.book-entry {
		flex-direction: column;
	}
	.book-entry__cover {
		width: 130px;
	}
}

/* Mobile menu button: a three-line icon instead of the word "Meni",
   readable for visitors from every ex-Yu country. */
.menu__btn-icon {
	display: inline-block;
	vertical-align: top;
}

/* "O tekstu" box under an article: where and when the text first appeared,
   and which book it was collected in. Deliberately unlike the article body. */
.source-note {
	display: flex;
	align-items: flex-start;
	gap: 1.1rem;
	margin: 1.5rem 0;
	padding: 1rem 1.2rem;
	background: #f4f1ec;
	border-left: 4px solid #b0a38c;
	font-size: 0.9rem;
	line-height: 1.5;
}
.source-note__cover {
	flex: 0 0 auto;
}
.source-note__cover img {
	display: block;
	width: 64px;
	height: auto;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
.source-note__label {
	margin: 0 0 0.25rem;
	line-height: 1;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #7a6f5c;
}
.source-note__text {
	margin: 0;
}
