/* Literary Spotlight + Hall of Fame (page-scoped). */

.yws-misc-page {
	padding: 4px 2px 24px;
	font-size: 13px;
	line-height: 1.5;
	color: #334155;
}

.yws-misc-page h1,
.yws-misc-page h2,
.yws-misc-page h3 {
	color: #2f3f4f;
}

.yws-misc-header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(100px, 132px);
	gap: 16px 20px;
	align-items: center;
	margin-bottom: 18px;
	padding-bottom: 18px;
	border-bottom: 1px solid color-mix(in srgb, #3b6aa0 24%, #dfe3e8);
}

.yws-misc-header__copy {
	min-width: 0;
}

.yws-misc-header__eyebrow {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #b8860b;
}

.hof-page .yws-misc-header__eyebrow {
	color: #2c5f94;
}

.yws-misc-header__title {
	margin: 0 0 6px;
	padding: 0;
	border: 0;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
	color: #1f2d3d;
}

.yws-misc-header__lead {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: #64748b;
}

.yws-misc-header__art {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 120px;
	height: 120px;
	margin: 0 auto;
	border-radius: 50%;
	overflow: hidden;
	background: linear-gradient(145deg, #fff4d6 0%, #f7e6b8 100%);
	box-shadow: inset 0 0 0 1px rgba(200, 146, 46, 0.18);
	box-sizing: border-box;
}

.hof-page .yws-misc-header__art {
	background: linear-gradient(145deg, #e8f1fb 0%, #d4e4f5 100%);
	box-shadow: inset 0 0 0 1px rgba(59, 106, 160, 0.18);
}

.yws-misc-header__art img {
	display: block;
	width: 78%;
	height: 78%;
	object-fit: contain;
}

.yws-misc-panel {
	padding: 18px 20px;
	margin-bottom: 16px;
	border-radius: 10px;
	box-sizing: border-box;
	background: #fff;
}

.yws-misc-panel--filter {
	background: linear-gradient(135deg, #fff9eb 0%, #f7fafc 55%, #fff 100%);
	border: 1px solid rgba(200, 168, 92, 0.28);
}

.yws-misc-panel__title {
	margin: 0 0 4px;
	padding: 0;
	border: 0;
	font-size: 16px;
	font-weight: 700;
}

.yws-misc-panel__sub {
	margin: 0 0 14px;
	font-size: 12px;
	color: #64748b;
}

.spotlight-filter__fields {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.spotlight-filter__fields--four {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 720px) {
	.spotlight-filter__fields--four {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.spotlight-filter__field {
	margin: 0;
}

.spotlight-filter__actions {
	margin-top: 14px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
}

.spotlight-filter__hint {
	margin: 0;
	font-size: 12px;
	color: #64748b;
}

.spotlight-type-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 16px;
}

.spotlight-type-tabs__tab {
	display: inline-flex;
	align-items: center;
	padding: 6px 11px;
	border: 1px solid #c5d0de;
	border-radius: 999px;
	background: #fff;
	color: #3b6aa0;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: 0 1px 2px rgba(31, 45, 61, 0.06);
}

.spotlight-type-tabs__tab:hover,
.spotlight-type-tabs__tab:focus {
	border-color: #3b6aa0;
	background: #f3f7fc;
	color: #2c5f94;
	text-decoration: none;
}

.spotlight-type-tabs__tab.is-active {
	background: #3b6aa0;
	border-color: #3b6aa0;
	color: #fff;
	box-shadow: none;
}

.spotlight-type-tabs__tab.is-active:hover,
.spotlight-type-tabs__tab.is-active:focus {
	background: #345f90;
	border-color: #345f90;
	color: #fff;
}

.spotlight-error {
	padding: 14px 16px;
	margin-bottom: 16px;
	border-radius: 10px;
	background: #fff5f5;
	border: 1px solid #f0c9c9;
	color: #9b2c2c;
	font-size: 13px;
}

.spotlight-error img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 12px auto 0;
	border-radius: 6px;
}

.yws-misc-section {
	margin-bottom: 18px;
}

.yws-misc-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.yws-misc-section__title {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 16px;
	font-weight: 700;
}

.yws-misc-section__meta {
	margin: 0;
	font-size: 12px;
	color: #64748b;
	white-space: nowrap;
}

.spotlight-list,
.hof-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.spotlight-item {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	padding: 14px 16px;
	border-radius: 10px;
	box-sizing: border-box;
	background: #fff;
}

.spotlight-item--has-cover {
	grid-template-columns: 40px 52px minmax(0, 1fr);
}

.spotlight-item__rank {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-size: 14px;
	font-weight: 700;
	color: #8a6118;
	background: #fcefd7;
	box-sizing: border-box;
}

.spotlight-item:nth-child(-n+3) .spotlight-item__rank {
	color: #fff;
	background: linear-gradient(145deg, #e8a838 0%, #c9891f 100%);
}

.spotlight-item__cover {
	display: block;
	width: 52px;
	height: 72px;
	border-radius: 4px;
	overflow: hidden;
	background: #e8eef5;
	box-shadow: inset 0 0 0 1px rgba(59, 106, 160, 0.12);
	text-decoration: none;
	flex-shrink: 0;
}

.spotlight-item__cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.spotlight-item__body {
	min-width: 0;
}

.spotlight-item__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 2px;
}

.spotlight-item__title {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.spotlight-item__title a {
	color: #17316d;
	text-decoration: none;
}

.spotlight-item__title a:hover {
	text-decoration: underline;
}

.spotlight-item__ratings {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	flex-shrink: 0;
}

.spotlight-item__meta {
	margin: 0 0 6px;
	font-size: 12px;
	color: #64748b;
}

.spotlight-item__desc {
	margin: 0 0 8px;
	font-size: 13px;
	line-height: 1.45;
	color: #475569;
}

.spotlight-item__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 12px;
	color: #64748b;
}

.spotlight-item__stats strong {
	color: #1e3a5f;
	font-weight: 700;
}

.spotlight-item__type {
	color: #2c5f94;
	font-weight: 600;
}

.hof-toolbar {
	margin: 0 0 10px;
}

.hof-toolbar__total {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: #475569;
}

.hof-page .browse-list-pagination {
	width: 100%;
	box-sizing: border-box;
}

.hof-page .browse-list-pagination--top {
	padding: 0 0 12px;
}

.hof-page .browse-list-pagination--bottom {
	padding: 14px 0 0;
}

.hof-page .browse-list-pagination .nova-pagination {
	display: flex;
	justify-content: center;
	width: 100%;
}

.hof-page .browse-list-pagination .nova-pagination__list {
	display: inline-flex;
	flex-wrap: wrap;
	width: auto;
	max-width: 100%;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border: 0;
	border-radius: 0;
	overflow: visible;
	background: transparent;
	font-size: 12px;
	line-height: 1;
	box-shadow: none;
}

.hof-page .browse-list-pagination .nova-pagination__item {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	min-height: 32px;
	padding: 6px 10px;
	border: 1px solid #c5d0de;
	border-radius: 999px;
	border-left: 1px solid #c5d0de;
	color: #3b6aa0;
	text-decoration: none;
	background: #fff;
	font-weight: 600;
	box-shadow:
		0 3px 8px rgba(31, 45, 61, 0.12),
		0 1px 2px rgba(31, 45, 61, 0.06);
}

.hof-page .browse-list-pagination .nova-pagination__list > :first-child {
	border-left: 1px solid #c5d0de;
}

.hof-page .browse-list-pagination .nova-pagination__item.is-active {
	background: #3b6aa0;
	border-color: #3b6aa0;
	color: #fff;
	font-weight: 700;
	box-shadow: none;
}

.hof-page .browse-list-pagination .nova-pagination__item.is-disabled {
	color: #8a97a8;
	background: #f3f6fa;
	border-color: #d9e1ea;
	box-shadow: none;
	cursor: default;
}

.hof-page .browse-list-pagination .nova-pagination__item.is-ellipsis {
	flex: 0 0 auto;
	min-width: 24px;
	padding: 6px 2px;
	border-color: transparent;
	color: #687c97;
	background: transparent;
	box-shadow: none;
}

.hof-page .browse-list-pagination .nova-pagination__item:not(.is-disabled):not(.is-active):not(.is-ellipsis):hover {
	background: #f3f7fc;
	border-color: #3b6aa0;
	color: #2c5f94;
	text-decoration: none;
}

.hof-roster {
	margin: 0;
	padding: 0;
	list-style: none;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
}

.hof-row {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 12px 14px;
	align-items: start;
	padding: 14px 16px;
	border-bottom: 1px solid #e8eef4;
	box-sizing: border-box;
	transition: background 0.12s ease;
}

.hof-row:last-child {
	border-bottom: 0;
}

.hof-row:hover {
	background: #f7f9fc;
}

.hof-row--present {
	background: linear-gradient(90deg, rgba(232, 168, 56, 0.1) 0%, #fff 42%);
	border-left: 3px solid #e8a838;
	padding-left: 13px;
}

.hof-row--present:hover {
	background: linear-gradient(90deg, rgba(232, 168, 56, 0.14) 0%, #f7f9fc 42%);
}

.hof-row__avatar {
	display: block;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	overflow: hidden;
	background: #e8eef5;
	box-shadow: inset 0 0 0 1px rgba(59, 106, 160, 0.15);
	text-decoration: none;
	flex-shrink: 0;
}

.hof-row__avatar img {
	display: block;
	width: 56px !important;
	height: 56px !important;
	max-width: 56px;
	object-fit: cover;
	border-radius: 50%;
}

.hof-row__main {
	min-width: 0;
}

.hof-row__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 10px;
	margin-bottom: 2px;
}

.hof-row__name {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.hof-row__name a {
	color: #17316d;
	text-decoration: none;
}

.hof-row__name a:hover {
	text-decoration: underline;
}

.hof-row__badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #7a5718;
	background: #fcefd7;
}

.hof-row__dates {
	margin: 0 0 4px;
	font-size: 12px;
	font-weight: 600;
	color: #64748b;
}

.hof-row--present .hof-row__dates {
	color: #92702a;
}

.hof-row__bio {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: #64748b;
	overflow-wrap: anywhere;
}

@media (max-width: 640px) {
	.yws-misc-header {
		grid-template-columns: minmax(0, 1fr);
	}

	.yws-misc-header__art {
		width: 100px;
		height: 100px;
	}

	.spotlight-filter__fields,
	.spotlight-filter__fields--four {
		grid-template-columns: minmax(0, 1fr);
	}

	.spotlight-item {
		grid-template-columns: 36px minmax(0, 1fr);
		padding: 12px 12px;
	}

	.spotlight-item--has-cover {
		grid-template-columns: 34px 44px minmax(0, 1fr);
		gap: 10px;
	}

	.spotlight-item__rank {
		width: 34px;
		height: 34px;
		font-size: 12px;
	}

	.spotlight-item__cover {
		width: 44px;
		height: 60px;
	}

	.spotlight-item__top {
		flex-direction: column;
		gap: 6px;
	}

	.hof-row {
		grid-template-columns: 48px minmax(0, 1fr);
		padding: 12px 12px;
		gap: 10px 12px;
	}

	.hof-row--present {
		padding-left: 9px;
	}

	.hof-row__avatar,
	.hof-row__avatar img {
		width: 48px !important;
		height: 48px !important;
		max-width: 48px;
	}
}
