.reader-recommended-follows-dialog {
	--feed-height: 90px;
	border-radius: 6px; /* stylelint-disable scales/radii */

	overflow-y: hidden;
	.dialog__action-buttons-close {
		padding: 28px 28px 5px 5px;
	}
	.dialog__content {
		padding: 0;
		padding: 24px 0 0 0;
		overflow-y: hidden;
	}
	&.is-loading {
		padding: 0 24px 0 24px;
	}
}

.reader-recommended-follows-dialog__header {
	padding: 0 32px 10px 32px;
}

;
.reader-recommended-follows-dialog__body {
	scrollbar-width: thin;
	scrollbar-gutter: stable;
	padding: 0 32px;
	overflow-y: auto;
	max-height: calc(var(--feed-height) * 5 + 16px);
}

.reader-recommended-follows-dialog__content {
	width: 534px;
	overflow-y: hidden;
	display: flex;
	flex-direction: column;

	&.has-scrolled-content {
		.reader-recommended-follows-dialog__header {
			position: sticky;
			top: 0;
			border-bottom-color:var(--color-neutral-5);
		}
	}
	&:not(.has-scrolled-content) {
		.reader-recommended-follows-dialog__header {
			position: relative;
			border-bottom-color: transparent;
		}
	}

	.reader-recommended-follows-dialog__header {
		border-bottom: 1px solid transparent;
		transition: border-bottom-color 0.3s ease-in-out;
		h2 {
			color: var(--color-neutral-70);
			font-size: $font-title-large;
			font-weight: 600;
			margin-bottom: 9px;
		}
	}

	.reader-recommended-follows-dialog__description {
		color: var(--color-neutral-50);
		font-size: $font-body;
		font-weight: 400;
	}

	.reader-recommended-follows-dialog__follow-list {
		margin: 0;
		width: 100%;
		list-style: none;
		padding-bottom: 12px;

		.reader-suggested-follow-item {
			display: flex;
			flex-direction: row;
			justify-content: space-between;
		}

		.reader-suggested-follow-item_link {
			align-items: flex-start;
			display: flex;
			flex-wrap: nowrap;
			gap: 11px;
			justify-content: flex-start;

			.count {
				position: relative;
				top: 2px;
			}

			img {
				border-radius: 100%;
			}
		}

		.reader-suggested-follow-item_siteicon {
			height: 48px;
			width: 48px;
			min-width: 48px;
		}

		.reader-suggested-follow-item_sitename {
			color: var(--color-neutral-100);
			font-weight: 600;
			font-size: $font-body;
			display: flex;
			flex-direction: column;

			&:hover {
				color: var(--color-text-subtle);
			}
		}

		.reader-suggested-follow-item_description {
			color: var(--color-text-subtle);
			font-weight: 400;
			font-size: $font-body-small;
			line-height: 18px;
			overflow: hidden;
			width: auto;
			-webkit-line-clamp: 1;
			-webkit-box-orient: vertical;
			display: -webkit-box;
		}

		.reader-suggested-follow-item_nameurl {
			margin-bottom: 3px;
		}
		.reader-suggested-follow-item_nameurl::after {
			content: "";
			background-image: url("data:image/svg+xml,%3Csvg fill='none' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23101517' stroke-linecap='square' stroke-width='1.5'%3E%3Cpath d='m5.8335 14.1666 7.3333-7.33335' stroke-linejoin='round'/%3E%3Cpath d='m6.8335 5.83325h7.3333v7.33335'/%3E%3C/g%3E%3C/svg%3E"); /* stylelint-disable function-url-quotes */
			background-repeat: no-repeat;
			background-size: 20px 20px;
			display: inline-block;
			height: 20px;
			margin-left: 3px;
			position: relative;
			top: 5px;
			width: 20px;
		}
	}

	.reader-recommended-follows-dialog__follow-item {
		padding: 20px 0;
		border-bottom: 1px solid var(--color-neutral-5);

		.reader-related-card__meta {
			display: flex;
			gap: 20px;
			flex-direction: row;
			overflow: hidden;
			margin-bottom: 20px;
		}

		//last child has no border
		&:last-child {
			border-bottom: none;
			margin-bottom: 0;

			.reader-related-card__meta {
				margin-bottom: 0;
			}
		}
	}

	.reader-recommended-follows-dialog__loading-placeholder {
		display: flex;
		flex-direction: column;
		gap: 10px;
		width: 100%;
		padding-bottom: 20px;

		.is-placeholder {
			@include placeholder();
			background-color: var(--color-neutral-0);
			height: 60px;
			border-radius: 6px;
		}

		.is-placeholder.placeholder-title {
			width: 50%;
			height: 48
		}
		.is-placeholder.placeholder-description {
			height: 24px;
		}
	}
}
@media only screen and (max-width: 600px) {
	.reader-recommended-follows-dialog__content {
		width: 100%;
	}
}

.dialog__backdrop,
.dialog__backdrop.card {
	background-color: color-mix(in srgb, var(--color-neutral-70) 80%, transparent) !important;
}
