$e-kit-library-sticky-search-z-index: 2;

.e-kit-library {
	&__index-layout-container {
		flex-grow: 1;
		overflow-y: auto;
		display: flex;
		flex-direction: column;
	}

	&__index-layout-heading {
		padding: spacing(30) spacing(44);
		position: sticky;
		top: -1px;
		width: 100%;
		z-index: $e-kit-library-sticky-search-z-index;
		background-color: var(--app-background-color);
		gap: spacing( 24 );

		&-search, &-sort {
			min-width: 265px;
		}

		&-search {
			flex: 1;
		}
	}

	&__index-layout-main {
		padding-block-start: spacing(0);
		padding-block-end: spacing(24);
		overflow-y: hidden;
		height: auto;
		flex: 1 0 auto;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}
}
