.bro-author-index {
	border-top: 1px solid #d8d2c7;
	color: #28241f;
	margin: 2rem 0;
	padding-top: 1.5rem;
}

.bro-author-index *,
.bro-author-index *::before,
.bro-author-index *::after {
	box-sizing: border-box;
}

.bro-author-index__header {
	margin-bottom: 1.25rem;
}

.bro-author-index__header h2,
.bro-author-index__genres h2 {
	font-size: 1.5rem;
	line-height: 1.25;
	margin: 0 0 0.35rem;
}

.bro-author-index__header p,
.bro-author-index__count,
.bro-author-index__noscript,
.bro-author-index__admin-note {
	color: #5d564d;
	margin: 0;
}

.bro-author-index__controls {
	align-items: end;
	display: grid;
	gap: 0.45rem;
	grid-template-columns: minmax(0, 1fr);
	margin-bottom: 1rem;
	max-width: 42rem;
}

.bro-author-index__controls label {
	font-weight: 700;
}

.bro-author-index__search-row {
	display: grid;
	gap: 0.5rem;
	grid-template-columns: minmax(0, 1fr) auto;
}

.bro-author-index__search {
	border: 1px solid #bcb4a8;
	border-radius: 4px;
	color: #28241f;
	font: inherit;
	min-height: 2.75rem;
	padding: 0.65rem 0.75rem;
	width: 100%;
}

.bro-author-index__search:focus {
	border-color: #5f6f52;
	box-shadow: 0 0 0 2px rgba(95, 111, 82, 0.18);
	outline: none;
}

.bro-author-index__search-row button {
	background: #2f5e4f;
	border: 1px solid #2f5e4f;
	border-radius: 4px;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	min-height: 2.75rem;
	padding: 0.55rem 1rem;
}

.bro-author-index__search-row button:hover,
.bro-author-index__search-row button:focus {
	background: #1f463b;
	border-color: #1f463b;
}

.bro-author-index__letters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 1rem 0 1.35rem;
}

.bro-author-index__letters a {
	align-items: center;
	border: 1px solid #d8d2c7;
	border-radius: 4px;
	color: #2f5e4f;
	display: inline-flex;
	font-weight: 700;
	justify-content: center;
	line-height: 1;
	min-height: 2rem;
	min-width: 2rem;
	padding: 0.45rem;
	text-decoration: none;
}

.bro-author-index__letters a:hover,
.bro-author-index__letters a:focus {
	background: #f2efe8;
	color: #1f463b;
}

.bro-author-index__sections {
	column-gap: 2rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	row-gap: 1.5rem;
}

.bro-author-index__section {
	break-inside: avoid;
}

.bro-author-index__section h3 {
	border-bottom: 1px solid #d8d2c7;
	color: #5f6f52;
	font-size: 1.15rem;
	line-height: 1.25;
	margin: 0 0 0.5rem;
	padding-bottom: 0.25rem;
}

.bro-author-index__section ul,
.bro-author-index__genres ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bro-author-index__section li {
	line-height: 1.35;
	margin: 0.35rem 0;
}

.bro-author-index__section a,
.bro-author-index__genres a {
	color: #2f5e4f;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}

.bro-author-index__section a:hover,
.bro-author-index__section a:focus,
.bro-author-index__genres a:hover,
.bro-author-index__genres a:focus {
	color: #1f463b;
}

.bro-author-index__section-toggle {
	align-items: center;
	background: #fff;
	border: 1px solid #d8d2c7;
	border-radius: 4px;
	color: #2f5e4f;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 700;
	justify-content: center;
	line-height: 1.1;
	margin-top: 0.35rem;
	min-height: 2rem;
	padding: 0.4rem 0.65rem;
}

.bro-author-index__section-toggle[hidden] {
	display: none;
}

.bro-author-index__section-toggle:hover,
.bro-author-index__section-toggle:focus {
	background: #f2efe8;
	color: #1f463b;
}

.bro-author-index__empty {
	background: #f6f3ed;
	border: 1px solid #d8d2c7;
	border-radius: 4px;
	margin: 1rem 0;
	padding: 0.85rem 1rem;
}

.bro-author-index__genres {
	border-top: 1px solid #d8d2c7;
	margin-top: 2rem;
	padding-top: 1.25rem;
}

.bro-author-index__genres ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
}

.bro-author-index__review {
	background: #fff3cd;
	border-radius: 3px;
	color: #755d00;
	display: inline-block;
	font-size: 0.78rem;
	line-height: 1;
	margin-left: 0.35rem;
	padding: 0.2rem 0.3rem;
	vertical-align: middle;
}

.bro-author-index__admin-note {
	background: #fff8e5;
	border-left: 4px solid #b98300;
	margin-bottom: 1rem;
	padding: 0.75rem 1rem;
}

.bro-author-index--empty {
	background: #f6f3ed;
	border: 1px solid #d8d2c7;
	border-radius: 4px;
	padding: 1rem;
}

@media (max-width: 640px) {
	.bro-author-index {
		margin: 1.5rem 0;
	}

	.bro-author-index__sections {
		grid-template-columns: 1fr;
	}

	.bro-author-index__search-row {
		grid-template-columns: 1fr;
	}
}
