#results-count {
	display: none;
	padding: 12px var(--gutter);
}
#results-count.filter-active {
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: space-between;
	background: var(--base-light);
	z-index: 9;
	position: relative;
}
#results-count.filter-active:has(.filter-clear--favorites) {
	background: var(--accent-dark);
	color: white;
}
.menu-lower:has(.filter-clear--favorites) .redaktionella-listor-wrapper,
.menu-lower:has(.filter-clear--favorites) .ordbok-az-navigation {
	display: none;
}
.filter-clear--favorites path {
	fill: white;
}

#results-count .filter-clear {
	cursor: pointer;
}
.dictionary-entry {
	border-bottom: var(--border-m);
	padding: 15px var(--gutter);
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	touch-action: manipulation;
	position: relative;
	background: transparent;
	transition: all 0.5s ease-out;
}

.dictionary-entry__content {
	overflow: hidden;
	transition: height 1s ease;
	position: relative;
}

.dictionary-entry__translation {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	line-clamp: 1;
	overflow: hidden;
	margin: 0;
	padding: 0;
	white-space: break-spaces;
	max-width: calc(100% - (30px + 20px));
}

.dictionary-entry__word {
	font-weight: var(--bold);
}
.dictionary-entry.expanded .dictionary-entry__word {
	padding-right: 4px;
}

.dictionary-entry__jfr {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	line-clamp: 1;
	overflow: hidden;
	margin: 0;
	padding: 0;
	white-space: break-spaces;
	font-weight: var(--bold);
}

.dictionary-entry.expanded {
	background-color: var(--primary-dark-trans);
}
.dictionary-entry.expanded .dictionary-entry__translation,
.dictionary-entry.expanded .dictionary-entry__jfr {
	-webkit-line-clamp: unset;
	line-clamp: unset;
}

.dictionary-entry__copy {
	position: absolute;
	left: -15px;
	color: var(--base-ultra-dark);
	pointer-events: auto;
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 15px;
}

.dictionary-entry__copy img {
	pointer-events: none;
	margin-right: 6px;
}
@media screen and (min-width: 1026px) {
	.dictionary-entry__copy:hover {
		text-decoration: underline;
	}
}

.dictionary-entry__favorite {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	align-items: center;
	width: 30px;
	height: 30px;
	justify-content: center;
}

.dictionary-entry__favorite img {
	position: absolute;
	top: 0;
	right: 0;
}

.dictionary-entry__favorite.active .dictionary-entry__favorite-icon--empty {
	opacity: 0;
}
.dictionary-entry__favorite-icon--filled {
	opacity: 0;
}
.dictionary-entry__favorite.active .dictionary-entry__favorite-icon--filled {
	opacity: 1;
}
nav.menu {
	display: flex;
	flex-direction: column;
}
/* Desktop Menu */
@media screen and (min-width: 1026px) {
	body nav.menu {
		width: 20% !important;
		transform: unset !important;
		position: fixed;
	}

	header {
		width: 80% !important;
		right: 0;
	}
	main {
		width: 80%;
		margin-left: auto;
	}
	header .nav-toggle,
	header .logo-link,
	nav.menu .menu__close {
		display: none !important;
	}
	/* Favorite icon */
	.menu-upper__logo-wrapper.menu-upper__logo-wrapper {
		justify-content: flex-end;
	}
}
