.stramu-artist-overview {
	--stramu-primary: rgb(51, 102, 153);
	--stramu-secondary: rgb(102, 204, 204);
	--stramu-text: #333;
	--stramu-text-secondary: #666;
	--stramu-bg: #fff;
	--stramu-border: #eee;

	font-family: inherit;
	color: var(--stramu-text);
}

/* Toolbar: search + filter toggle */
.stramu-artist-overview__toolbar {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.stramu-artist-overview__search {
	position: relative;
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
}

.stramu-artist-overview__search-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--stramu-text-secondary);
	pointer-events: none;
}

.stramu-artist-overview .stramu-artist-overview__search-input {
	width: 100%;
	padding: 10px 16px 10px 42px !important;
	border: 2px solid var(--stramu-secondary);
	border-radius: 24px;
	font-size: 1rem;
	line-height: 1.3;
	color: var(--stramu-text);
	background: var(--stramu-bg);
	outline: none;
	box-sizing: border-box;
}

.stramu-artist-overview__search-input:focus {
	border-color: var(--stramu-primary);
}

/* Filter panel */
.stramu-artist-overview__filters {
	position: relative;
	padding: 12px 0 16px;
	border-bottom: 1px solid var(--stramu-border);
	margin-bottom: 16px;
}

.stramu-artist-overview__filters-inner {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Collapsed: fixed-height window, overflow hidden. Click removes this. */
.stramu-artist-overview__filters--collapsed .stramu-artist-overview__filters-inner {
	max-height: 50px;
	overflow: hidden;
}

.stramu-artist-overview__filter-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.stramu-artist-overview__filter-label {
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--stramu-text-secondary);
}

.stramu-artist-overview__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.stramu-artist-overview .stramu-artist-overview__chip {
	cursor: pointer;
	background-color: var(--stramu-secondary) !important;
	color: #fff !important;
	border: 2px solid var(--stramu-secondary) !important;
	text-transform: uppercase !important;
	transform: none !important;
	transition: background-color 0.2s, color 0.2s !important;
}

.stramu-artist-overview .stramu-artist-overview__chip:hover,
.stramu-artist-overview .stramu-artist-overview__chip.stramu-artist-overview__chip--active {
	background-color: #fff !important;
	color: var(--stramu-secondary) !important;
	border-color: var(--stramu-secondary) !important;
}

/* "Show more / less" toggle: a full-width line with a centered chevron.
   When collapsed it is absolutely placed over the bottom edge of the
   fixed-height window; when expanded it flows below the content. */
.stramu-artist-overview .stramu-artist-overview__more {
	position: relative;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 8px;
	padding: 6px 0 !important;
	border: none !important;
	background: none !important;
	box-shadow: none !important;
	cursor: pointer;
	color: var(--stramu-secondary) !important;
	transform: none !important;
	transition: none !important;
}

.stramu-artist-overview__filters--collapsed .stramu-artist-overview__more {
	position: absolute;
	left: 0;
	right: 0;
	/* Sit centered over the bottom edge of the 50px window. */
	top: calc(12px + 50px);
	margin-top: 0;
	transform: translateY(-50%) !important;
}

.stramu-artist-overview .stramu-artist-overview__more:hover {
	background: none !important;
	color: var(--stramu-primary) !important;
}

.stramu-artist-overview__more::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 1px;
	background: var(--stramu-secondary);
}

.stramu-artist-overview__more-icon {
	position: relative;
	box-sizing: content-box;
	width: 22px;
	height: 22px;
	padding: 4px;
	border-radius: 50%;
	border: 2px solid var(--stramu-secondary);
	background: var(--stramu-bg);
	color: var(--stramu-secondary);
	transition: transform 0.2s, color 0.2s, border-color 0.2s;
}

.stramu-artist-overview .stramu-artist-overview__more:hover .stramu-artist-overview__more-icon {
	color: var(--stramu-primary);
	border-color: var(--stramu-primary);
}

.stramu-artist-overview__more[aria-expanded="true"] .stramu-artist-overview__more-icon {
	transform: rotate(180deg);
}

.stramu-artist-overview__more[hidden] {
	display: none;
}

/* Sections + headers */
.stramu-artist-overview__section {
	margin-bottom: 24px;
}

.stramu-artist-overview__section-header {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	margin-bottom: 12px;
	background: var(--stramu-primary);
	color: #fff;
	font-size: 0.95rem;
	font-weight: 600;
	border-radius: 16px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Grid */
.stramu-artist-overview__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
}

/* Card */
.stramu-artist-overview__card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	text-decoration: none;
	color: inherit;
}

.stramu-artist-overview__card:hover {
	text-decoration: none;
	color: inherit;
}

.stramu-artist-overview__card:not(.stramu-artist-overview__card--static):hover
	.stramu-artist-overview__image {
	transform: scale(1.02);
}

.stramu-artist-overview__card--static {
	cursor: default;
}

.stramu-artist-overview__image {
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 8px;
	overflow: hidden;
	background: #f0f0f0;
	transition: transform 0.2s;
}

.stramu-artist-overview__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.stramu-artist-overview__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.stramu-artist-overview__name {
	font-size: 0.85rem;
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* No results / error / empty states */
.stramu-artist-overview__no-results,
.stramu-artist-overview--error,
.stramu-artist-overview--empty {
	padding: 32px 16px;
	text-align: center;
	color: var(--stramu-text-secondary);
}

/* Responsive: step down the column count on narrower screens */
@media (max-width: 1024px) {
	.stramu-artist-overview__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 768px) {
	.stramu-artist-overview__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 600px) {
	.stramu-artist-overview__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
}
