.malinex-cf-archive--fund .malinex-cf-results-inner,
.malinex-cf-page--invest-fund .malinex-cf-results-inner {
	display: block;
}

.malinex-fund-results {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.malinex-fund-filters-panel {
	border: 1px solid #dfe9f5;
	border-radius: 20px;
	background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
	box-shadow: 0 16px 40px rgba(16, 45, 90, 0.05);
	overflow: hidden;
	margin-bottom: 1rem;
}

.malinex-fund-archive-layout,
.malinex-fund-archive-layout__primary,
.malinex-cf-archive--fund .malinex-cf-primary,
.malinex-cf-page--invest-fund .malinex-cf-primary {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.malinex-fund-archive-layout__primary,
.malinex-cf-archive--fund .malinex-cf-primary,
.malinex-cf-page--invest-fund .malinex-cf-primary {
	gap: 1rem;
}

.malinex-fund-filters-panel__summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.15rem;
	cursor: pointer;
	user-select: none;
}

.malinex-fund-filters-panel__summary::-webkit-details-marker {
	display: none;
}

.malinex-fund-filters-panel__summary-copy {
	display: flex;
	flex-direction: column;
	gap: 0.22rem;
}

.malinex-fund-filters-panel__summary-copy strong {
	color: #17345f;
	font-size: 0.98rem;
}

.malinex-fund-filters-panel__summary-copy small {
	color: #6c7f96;
	font-size: 0.78rem;
}

.malinex-fund-filters-panel__summary-icon {
	width: 34px;
	height: 34px;
	border-radius: 12px;
	background: #edf5ff;
	position: relative;
	flex: 0 0 34px;
}

.malinex-fund-filters-panel__summary-icon::before,
.malinex-fund-filters-panel__summary-icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	background: #1b5dbf;
	border-radius: 999px;
	transform: translate(-50%, -50%);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.malinex-fund-filters-panel__summary-icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.malinex-fund-filters-panel[open] .malinex-fund-filters-panel__summary-icon::after {
	opacity: 0;
	transform: translate(-50%, -50%) rotate(0deg);
}

.malinex-fund-filters-panel__body {
	padding: 0 1.15rem 1.15rem;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.85rem;
	border-top: 1px solid #e8eef6;
}

.malinex-fund-filters-panel__body .malinex-cf-filter-binary-group,
.malinex-fund-filters-panel__body .malinex-cf-acc,
.malinex-fund-filters-panel__body .malinex-cf-percent-slider {
	margin: 0;
}

.malinex-fund-filters-panel__body .malinex-cf-acc {
	background: #fff;
	border: 1px solid #e8eef6;
	border-radius: 16px;
	padding: 0;
}

.malinex-fund-filters-panel__body .malinex-cf-acc > summary {
	padding: 0.85rem 0.95rem;
	font-weight: 700;
}

.malinex-fund-filters-panel__body .malinex-cf-acc__checks {
	padding: 0 0.95rem 0.95rem;
}

.malinex-fund-table-wrap {
	overflow-x: auto;
	background: #fff;
	border: 1px solid #e6edf5;
	border-radius: 18px;
	box-shadow: 0 14px 40px rgba(16, 45, 90, 0.06);
}

.malinex-fund-table {
	width: 100%;
	min-width: 1500px;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
}

.malinex-fund-table thead th {
	position: sticky;
	top: 0;
	z-index: 2;
	background: #f7fbff;
	color: #1d3e6e;
	font-weight: 800;
	font-size: 0.82rem;
	padding: 1rem 0.85rem;
	border-bottom: 1px solid #dfe9f5;
	text-align: center;
	white-space: nowrap;
}

.malinex-fund-table__head--name, .malinex-fund-table__cell--name {
    position: sticky;
    right: 0;
    z-index: 3;
    background: #f4f4f400 !important;
    backdrop-filter: blur(51px);
}

.malinex-fund-table__head--name {
	background: #eef6ff !important;
	z-index: 4 !important;
}

.malinex-fund-table__row:nth-child(even) .malinex-fund-table__cell {
	background: #fbfdff;
}

.malinex-fund-table__cell {
	padding: 0.9rem 0.8rem;
	border-bottom: 1px solid #eef3f8;
	text-align: center;
	vertical-align: middle;
	font-size: 0.88rem;
	line-height: 1.65;
	color: #243244;
	white-space: nowrap;
}

.malinex-fund-table__row:last-child .malinex-fund-table__cell {
	border-bottom: none;
}

.malinex-fund-name {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 290px;
	text-align: right;
}

.malinex-fund-name__thumb {
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	overflow: hidden;
	background: #eef4fb;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.malinex-fund-name__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.malinex-fund-name__thumb-placeholder {
	width: 22px;
	height: 22px;
	border-radius: 8px;
	background: linear-gradient(135deg, #d8e5f6, #b7d2f3);
	display: block;
}

.malinex-fund-name__content {
	display: flex;
	flex-direction: column;
	gap: 0.22rem;
	min-width: 0;
}

.malinex-fund-name__title {
	font-size: 0.92rem;
	font-weight: 800;
	color: #1e2e43;
	white-space: normal;
}

.malinex-fund-name__meta {
	font-size: 0.74rem;
	color: #68809d;
	white-space: normal;
}

.malinex-fund-symbol {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.26rem 0.55rem;
	background: #e8f7f4;
	color: #14806d;
	border-radius: 999px;
	font-size: 0.76rem;
	font-weight: 800;
}

.malinex-fund-table__cell.is-positive {
	color: #117a45;
	font-weight: 700;
}

.malinex-fund-table__cell.is-negative {
	color: #c03b2b;
	font-weight: 700;
}

.malinex-fund-rating {
	display: inline-flex;
	align-items: center;
	gap: 0.28rem;
	font-weight: 800;
	color: #1e2e43;
}

.malinex-fund-rating__star {
	color: #f4b400;
	font-size: 0.95rem;
}

.malinex-fund-actions {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
}

.malinex-fund-actions__btn {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: #edf5ff;
	color: #1873d9;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.malinex-fund-actions__btn:hover,
.malinex-fund-actions__btn:focus {
	background: #1873d9;
	color: #fff;
	transform: translateY(-1px);
}

.malinex-fund-actions__btn.is-disabled {
	background: #f1f4f7;
	color: #a3b2c2;
}

@media (max-width: 900px) {
	.malinex-fund-table-wrap {
		margin-inline: -0.5rem;
		border-radius: 14px;
	}

	.malinex-fund-filters-panel__body {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.malinex-fund-filters-panel__summary {
		padding: 0.9rem 0.95rem;
	}

	.malinex-fund-filters-panel__body {
		grid-template-columns: 1fr;
		padding: 0 0.95rem 0.95rem;
	}
}
