.list-manage__site-card {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 0 24px;

	.button {
		align-self: center;
		margin-left: auto;
	}

	.list-item__name {
		font-size: $font-title-small;
	}

	.list-item__url {
		font-size: 0.875rem;
	}

	.follow-button {
		cursor: default;
		margin-right: 1em;
	}
}

.list-item {
	box-sizing: border-box;
	display: flex;
	flex: 1 0 auto;
	justify-content: space-between;
	padding: 0;
	position: relative;
}

.list-item__content {
	display: flex;
	justify-content: space-between;
	overflow: hidden;
	padding: 16px 16px 16px 0;
	position: relative;
	width: 100%;
}

.list-item__icon {
	width: 32px;
	height: 32px;
	line-height: 32px;
	font-size: $font-title-large;
	position: relative;
	overflow: hidden;
	align-self: flex-start;
	margin-right: 8px;
	flex: 0 0 auto;
}

.list-item__img {
	background: color-mix(in srgb, var(--color-surface) 0%, transparent);
}

.list-item__info {
	width: 0;
	flex: 1 0 auto;
}

.list-item__title,
.list-item__domain {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.list-item__title {
	color: var(--color-text);
	display: block;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.3;
}

.list-item__domain {
	color: var(--color-text-subtle);
	display: block;
	max-width: 95%;
	font-size: 0.75rem;
	line-height: 1.4;
	margin-top: 2px;
}

.list-item.is-error .list-item__title {
	font-style: italic;
	font-size: 1rem;
	/* stylelint-disable-next-line declaration-property-unit-allowed-list */
	line-height: 2rem;
}

.list-manage__dialog-item-title {
	margin-bottom: 1em;
}

.list-manage__dialog-item-title-icon {
	margin-bottom: 2px;
	margin-right: 0.5em;
	vertical-align: middle;
}

.list-manage__subscriptions-header {
	margin: 1em 0.5em;
	font-weight: 500;
	font-size: 1.25rem;

	.button {
		margin-left: 1em;
		vertical-align: middle;
	}
}

.list-manage__item-adder {
	.list-manage__query-input {
		@media (min-width: 480px) {
			padding: 12px;
		}
	}
	.search {
		margin: 0;
	}

	.list-manage__url-follow {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: 13px 0 10px;
		position: relative;
		z-index: 1;
	}
}
