/* Portals listing page — extends shared home-platform styles */

.eh-portals-platform {
	font-family: var(--eh-home-font, "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
	color: #0a0a0a;
	background: #fff;
	min-height: 100vh;
}

.eh-portals-page__hero .eh-home-hero__h1g {
	margin-bottom: 26px;
}

.eh-portals-hero__chips {
	display: flex;
	gap: 6px;
	justify-content: center;
	flex-wrap: wrap;
	margin: 0 0 6px;
}

.eh-portals-hero__chips-label {
	font-size: 10px;
	color: rgba(255, 255, 255, 0.5);
	align-self: center;
	margin-right: 4px;
}

.eh-portals-hero__chip {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: rgba(255, 255, 255, 0.88);
	font-size: 11px;
	padding: 4px 11px;
	border-radius: 2px;
	cursor: pointer;
	font-weight: 400;
	font-family: inherit;
	line-height: 1.3;
}

.eh-portals-hero__chip:hover {
	border-color: #5fc9c2;
	color: #5fc9c2;
}

.eh-portals-hero__chip--active {
	border-color: #5fc9c2;
	color: #5fc9c2;
	font-weight: 700;
}

.eh-portals-hero__search-input::-webkit-search-cancel-button,
.eh-portals-hero__search-input::-webkit-search-decoration {
	display: none;
}

.eh-portals-page__search-empty {
	font-size: 14px;
	font-weight: 600;
	color: #5b656d;
	margin: 0 0 12px;
	padding: 14px 16px;
	background: #f2f8f6;
	border: 1px solid rgba(15, 20, 25, 0.12);
	border-radius: 3px;
	text-align: center;
}

.eh-portals-page__search-empty[hidden] {
	display: none !important;
}

.eh-portals-page__card {
	border-radius: 3px;
	padding: 13px 8px;
	text-align: center;
	cursor: pointer;
	display: block;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
	scroll-margin-top: 72px;
}

.eh-portals-page__card--hidden {
	display: none !important;
}

.eh-portals-page__card--highlight {
	border-color: #2e7c7e !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(46, 124, 126, 0.18);
}

.eh-portals-page__card-label {
	font-size: 12px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: -0.2px;
}

.eh-portals-page__grid-section {
	padding-bottom: 36px;
}

@media (max-width: 640px) {
	.eh-portals-hero__search {
		flex-wrap: wrap;
		padding: 8px 10px 8px 14px;
	}

	.eh-portals-hero__search .eh-home-hero__search-btn {
		width: 100%;
		margin-top: 4px;
	}

	.eh-portals-hero__chip {
		font-size: 10px;
		padding: 4px 9px;
	}
}
