/* ── Active filter chips ─────────────────────────────────────────────────── */
.active-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 12px;
}
.active-filter-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	background: #eef2ff;
	border: 1px solid #c7d2fe;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	color: #3730a3;
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
}
.active-filter-chip:hover {
	background: #c7d2fe;
	color: #1e1b4b;
}
.active-filter-chip--clear {
	background: #f3f4f6;
	border-color: #d1d5db;
	color: #6b7280;
}
.active-filter-chip--clear:hover {
	background: #e5e7eb;
	color: #374151;
}

/* ── 4-column featured grid ──────────────────────────────────────────────── */
.card-grid--four {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1100px) {
	.card-grid--four {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 600px) {
	.card-grid--four {
		grid-template-columns: 1fr;
	}
}

/* ── Verified badge ──────────────────────────────────────────────────────── */
.fund-card__verified {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(47, 107, 255, 0.09);
	color: var(--ivc-blue);
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	white-space: nowrap;
	margin: 0 0 0 auto;
}
.fund-card__verified svg {
	color: var(--ivc-blue-bright);
	flex-shrink: 0;
}

.fund-card {
	position: relative;
}

.fund-card.is-claim-verified::before {
	content: "✓ Verified by fund";
	position: absolute;
	top: 18px;
	right: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px 12px;
	border-radius: 999px;
	background: linear-gradient(180deg, #123b87 0%, #0d2f6b 100%);
	border: 1px solid rgba(13, 47, 107, 0.98);
	color: #f8fbff;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	white-space: nowrap;
	box-shadow: 0 10px 24px rgba(13, 47, 107, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.14);
	z-index: 2;
}

.fund-card.is-claim-verified .fund-card__verified {
	display: none;
}

/* ── Fund card meta icons ────────────────────────────────────────────────── */
.fund-card__meta-item svg {
	opacity: 0.55;
	flex-shrink: 0;
}
.fund-card__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.fund-card__meta-item::before {
	display: none; /* remove old dot, we use SVG icons now */
}

/* ── Filter: details/summary collapsible ────────────────────────────────── */
.filter-block {
	border: none;
}
.filter-block summary {
	list-style: none;
	cursor: pointer;
	user-select: none;
}
.filter-block summary::-webkit-details-marker {
	display: none;
}
.filter-block__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 2px 0 14px;
}
.filter-block__head h3 {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
}
.filter-chevron {
	color: var(--ivc-text-muted);
	transition: transform 0.2s ease;
	flex-shrink: 0;
}
details[open] .filter-chevron {
	transform: rotate(180deg);
}

/* ── Toggle switch (Verified Only) ──────────────────────────────────────── */
.filter-block--verified .filter-block__head {
	padding-bottom: 10px;
}
.filter-toggle-switch {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	padding: 6px 0 14px;
}
.filter-toggle-switch input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	margin: 0;
	padding: 0;
}
.filter-toggle-switch__track {
	position: relative;
	display: inline-flex;
	align-items: center;
	width: 44px;
	height: 24px;
	border-radius: 999px;
	background: var(--ivc-border);
	transition: background 0.2s ease;
	flex-shrink: 0;
}
.filter-toggle-switch input:checked ~ .filter-toggle-switch__track {
	background: var(--ivc-blue-bright);
}
.filter-toggle-switch__thumb {
	position: absolute;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0,0,0,0.18);
	transition: transform 0.2s ease;
}
.filter-toggle-switch input:checked ~ .filter-toggle-switch__track .filter-toggle-switch__thumb {
	transform: translateX(20px);
}
.filter-toggle-switch__label {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--ivc-black);
}

/* ── Principle card icon ─────────────────────────────────────────────────── */
.principle-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: rgba(47, 107, 255, 0.08);
	color: var(--ivc-blue);
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 12px;
}

/* ── Directory search button icon alignment ──────────────────────────────── */
.directory-searchbar .button--blue {
	padding: 14px 18px;
	display: inline-flex;
	align-items: center;
}

/* ── Sort select default label ───────────────────────────────────────────── */
.directory-sort select option[value="recently-added"] {
	font-weight: 600;
}
/* v1.6 */

/* ── Hero panel: stack map above social ──────────────────────────────────── */
.hero__map-panel {
	flex-direction: column !important;
	align-items: stretch !important;
}
.hero-map {
	flex: 1;
	min-height: 300px !important; /* reduced to leave room for social */
}

/* ── Hero map: SVG absolutely positioned like the original art ───────────── */
.hero-map__svg {
	position: absolute;
	inset: 18px 12px 12px 24px;
	width: calc(100% - 36px);
	height: calc(100% - 30px);
}
/* Hide old img if theme still outputs it */
.hero-map__art { display: none !important; }

/* ── Hero social follow strip ────────────────────────────────────────────── */
.hero-social {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 18px 24px 20px;
	border-top: 1px solid var(--ivc-border, #e5e7eb);
	background: linear-gradient(180deg, rgba(250,252,255,0.96), rgba(255,255,255,1));
}
.hero-social__label {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ivc-text-muted, #6b7280);
	margin: 0;
}
.hero-social__links {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: center;
}
.hero-social__btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1.5px solid var(--ivc-border, #e5e7eb);
	background: #fff;
	color: var(--ivc-black, #111);
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: none;
	transition: border-color 0.15s, background 0.15s, color 0.15s;
	white-space: nowrap;
}
.hero-social__btn:hover {
	border-color: var(--ivc-black, #111);
	background: var(--ivc-black, #111);
	color: #fff;
}
.hero-social__btn svg { flex-shrink: 0; }
.hero-launch-badge {
	display: grid;
	justify-items: center;
	gap: 10px;
	width: 100%;
	padding-top: 8px;
}
.hero-launch-badge__label {
	margin: 0;
	font-size: 0.74rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ivc-blue-bright, #2f6bff);
}
.hero-launch-badge a {
	display: inline-flex;
	text-decoration: none;
	border-radius: 999px;
	overflow: hidden;
	box-shadow: 0 12px 28px rgba(13,59,142,0.08);
}
.hero-launch-badge img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* ── Ecosystem section (homepage) ────────────────────────────────────────── */
.ecosystem-section {
	background: var(--ivc-bg, #fff);
}
.section-heading--center {
	text-align: center;
	align-items: center;
}
.ecosystem-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 40px;
}
@media (max-width: 900px) {
	.ecosystem-cards {
		grid-template-columns: 1fr;
		max-width: 480px;
		margin-left: auto;
		margin-right: auto;
	}
}
.ecosystem-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px 28px 24px;
	border: 1px solid var(--ivc-border, #e5e7eb);
	border-radius: 14px;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.ecosystem-card:hover {
	border-color: var(--ivc-blue, #2f6bff);
	box-shadow: 0 4px 20px rgba(47,107,255,0.10);
	transform: translateY(-2px);
}
.ecosystem-card__logo {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
}
.ecosystem-card__logo img {
	display: block;
	max-width: 130px;
	object-fit: contain;
}
.ecosystem-firgun-mark {
	font-size: 1.25rem;
	font-weight: 900;
	letter-spacing: -0.02em;
	color: #0a66c2; /* LinkedIn blue */
}
.ecosystem-remagine-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: #1a1a1a;
	color: #fff;
	font-size: 1.2rem;
	font-weight: 900;
	letter-spacing: -0.04em;
	flex-shrink: 0;
}
.ecosystem-remagine-text {
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	line-height: 1.3;
	color: var(--ivc-black, #111);
}
.ecosystem-card__desc {
	font-size: 0.88rem;
	color: var(--ivc-text-muted, #6b7280);
	line-height: 1.65;
	margin: 0;
	flex: 1;
}
.ecosystem-card__cta {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--ivc-blue, #2f6bff);
	margin-top: auto;
}

/* ── Footer ecosystem strip ──────────────────────────────────────────────── */
.footer-ecosystem {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px 16px;
	padding: 14px 24px;
	background: var(--ivc-bg-subtle, #f8f9fb);
	border-top: 1px solid var(--ivc-border, #e5e7eb);
	font-size: 0.82rem;
}
.footer-ecosystem__label {
	color: var(--ivc-text-muted, #6b7280);
	font-weight: 500;
}
.footer-ecosystem__sep {
	color: var(--ivc-border, #d1d5db);
}
.footer-ecosystem__link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	text-decoration: none;
	color: var(--ivc-black, #111);
	font-weight: 600;
	transition: color 0.15s ease;
}
.footer-ecosystem__link:hover {
	color: var(--ivc-blue, #2f6bff);
}
.footer-ecosystem__link img {
	display: block;
	opacity: 0.85;
	transition: opacity 0.15s ease;
}
.footer-ecosystem__link:hover img {
	opacity: 1;
}
.footer-ecosystem__link--firgun {
	color: #0a66c2;
}
.footer-ecosystem__link--firgun:hover {
	color: #004182;
}
.footer-ecosystem__link--remagine {
	color: var(--ivc-black, #111);
	letter-spacing: 0.02em;
}

/* ── Fund page: Partners & Team ──────────────────────────────────────────── */
.ivce-team-section { margin-top: 32px; }
.ivce-team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 12px;
	margin-top: 16px;
}
.ivce-team-card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px;
	border: 1px solid var(--ivc-border, #e5e7eb);
	border-radius: 10px;
	background: var(--ivc-bg-soft, #f5f8fc);
}
.ivce-team-card__name {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--ivc-black, #111);
}
.ivce-team-card__title {
	font-size: 0.78rem;
	color: var(--ivc-text-muted, #6b7280);
}

/* ── Fund page: Portfolio Companies ──────────────────────────────────────── */
.ivce-portfolio-section { margin-top: 32px; }
.ivce-portfolio-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}
.ivce-portfolio-chip {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	border-radius: 999px;
	border: 1px solid var(--ivc-border, #e5e7eb);
	background: #fff;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--ivc-black, #111);
	text-decoration: none;
	transition: border-color 0.15s, background 0.15s;
}
a.ivce-portfolio-chip:hover {
	border-color: var(--ivc-blue, #0d3b8e);
	background: var(--ivc-bg-soft, #f5f8fc);
}

/* ── Fund logo placeholder ───────────────────────────────────────────────── */
.ivce-logo-placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 10px;
	flex-shrink: 0;
}
.ivce-logo-placeholder span {
	font-size: 1.15rem;
	font-weight: 800;
	color: #fff;
	letter-spacing: -0.02em;
	line-height: 1;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Header nav search toggle ────────────────────────────────────────────── */
.ivce-nav-search-item {
	list-style: none;
	display: flex !important;
	align-items: center;
}
.ivce-nav-search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: none;
	background: transparent;
	cursor: pointer;
	border-radius: 8px;
	color: var(--ivc-black, #111);
	padding: 0;
	transition: background 0.15s, color 0.15s;
}
.ivce-nav-search-toggle:hover,
.ivce-nav-search-toggle[aria-expanded="true"] {
	background: var(--ivc-bg-soft, #f0f4ff);
	color: var(--ivc-blue, #2f6bff);
}

/* ── Search overlay ──────────────────────────────────────────────────────── */
.ivce-search-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 72px;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.18s ease;
}
.ivce-search-overlay.is-open {
	opacity: 1;
	pointer-events: auto;
}
.ivce-search-overlay__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 10, 30, 0.45);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
}
.ivce-search-overlay__panel {
	position: relative;
	width: 100%;
	max-width: 620px;
	margin: 0 16px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
	transform: translateY(-10px) scale(0.98);
	transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
	overflow: visible;
	isolation: isolate;
}
.ivce-search-overlay.is-open .ivce-search-overlay__panel {
	transform: translateY(0) scale(1);
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22), 0 4px 16px rgba(0, 0, 0, 0.08);
}
.ivce-search-overlay__form {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 6px 12px 6px 20px;
	border-bottom: 1px solid var(--ivc-border, #e5e7eb);
	position: relative;
	z-index: 3;
}
.ivce-search-overlay__icon {
	color: var(--ivc-text-muted, #9ca3af);
	display: inline-flex;
	flex-shrink: 0;
}
.ivce-search-overlay__input {
	flex: 1;
	border: none;
	outline: none;
	font-size: 1.1rem;
	font-weight: 500;
	color: var(--ivc-black, #111);
	background: transparent;
	padding: 18px 0;
	min-width: 0;
}
.ivce-search-overlay__input::placeholder {
	color: var(--ivc-text-muted, #9ca3af);
	font-weight: 400;
}
.ivce-search-overlay__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1.5px solid var(--ivc-border, #e5e7eb);
	background: transparent;
	border-radius: 7px;
	cursor: pointer;
	color: var(--ivc-text-muted, #6b7280);
	flex-shrink: 0;
	transition: border-color 0.15s, background 0.15s, color 0.15s;
	padding: 0;
}
.ivce-search-overlay__close:hover {
	border-color: var(--ivc-black, #111);
	background: var(--ivc-black, #111);
	color: #fff;
}
.ivce-search-overlay__hint {
	padding: 9px 20px 11px;
	font-size: 0.75rem;
	color: var(--ivc-text-muted, #9ca3af);
	margin: 0;
	line-height: 1.5;
	position: relative;
	z-index: 1;
}
.ivce-search-overlay__hint kbd {
	display: inline-flex;
	align-items: center;
	padding: 1px 5px;
	border: 1px solid var(--ivc-border, #d1d5db);
	border-radius: 4px;
	font-family: inherit;
	font-size: 0.7rem;
	background: var(--ivc-bg-soft, #f8f9fb);
	color: var(--ivc-black, #111);
}
body.ivce-search-active {
	overflow: hidden;
}

.directory-searchbar,
.ivce-autocomplete-host {
	position: relative;
}

.ivce-autocomplete {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid rgba(215, 224, 238, 0.95);
	border-radius: 16px;
	box-shadow: 0 18px 50px rgba(15, 23, 42, 0.14);
	overflow: hidden;
	z-index: 40;
}

.ivce-search-overlay__form .ivce-autocomplete {
	top: calc(100% + 10px);
	left: 14px;
	right: 14px;
}

.ivce-autocomplete__items {
	display: grid;
}

.ivce-autocomplete__label {
	padding: 10px 14px 8px;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ivc-text-muted, #6b7280);
	background: linear-gradient(180deg, rgba(248, 250, 255, 0.96), rgba(255, 255, 255, 0.96));
	border-bottom: 1px solid rgba(215, 224, 238, 0.8);
}

.ivce-autocomplete__item {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	text-decoration: none;
	color: var(--ivc-black, #111);
	border-bottom: 1px solid rgba(215, 224, 238, 0.8);
	transition: background 0.14s ease, color 0.14s ease;
}

.ivce-autocomplete__item:last-child {
	border-bottom: 0;
}

.ivce-autocomplete__item:hover,
.ivce-autocomplete__item.is-active {
	background: #f7faff;
}

.ivce-autocomplete__logo {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	object-fit: cover;
	background: #fff;
	border: 1px solid rgba(215, 224, 238, 0.9);
}

.ivce-autocomplete__logo--fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	color: var(--ivc-blue, #2f6bff);
	background: rgba(47, 107, 255, 0.08);
}

.ivce-autocomplete__copy {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.ivce-autocomplete__title {
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.2;
}

.ivce-autocomplete__meta {
	font-size: 0.78rem;
	line-height: 1.35;
	color: var(--ivc-text-muted, #6b7280);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ivce-autocomplete__arrow {
	font-size: 0.88rem;
	color: var(--ivc-text-muted, #6b7280);
}

.ivce-autocomplete__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 14px;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--ivc-blue, #2f6bff);
	background: rgba(47, 107, 255, 0.04);
	border-top: 1px solid rgba(215, 224, 238, 0.85);
	transition: background 0.14s ease, color 0.14s ease;
}

.ivce-autocomplete__footer:hover,
.ivce-autocomplete__footer.is-active {
	background: rgba(47, 107, 255, 0.1);
}

.ivce-autocomplete__footer strong {
	font-weight: 800;
	color: var(--ivc-black, #111);
}

.ivce-autocomplete__empty {
	padding: 14px;
	font-size: 0.88rem;
	line-height: 1.5;
	color: var(--ivc-text-muted, #6b7280);
}

@media (max-width: 600px) {
	.ivce-search-overlay {
		padding-top: 0;
		align-items: flex-end;
	}
	.ivce-search-overlay__panel {
		border-radius: 16px 16px 0 0;
		margin: 0;
		max-width: 100%;
	}

	.ivce-search-overlay__form .ivce-autocomplete {
		left: 10px;
		right: 10px;
	}

	.ivce-autocomplete__item {
		grid-template-columns: 36px minmax(0, 1fr) auto;
		padding: 11px 12px;
	}

	.ivce-autocomplete__logo {
		width: 36px;
		height: 36px;
	}
}
/* v2.1 */

/* ── Fund card: investor type badge ─────────────────────────────────────── */
.fund-card__type {
	display: inline-block;
	font-size: 0.68rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ivc-text-muted, #6b7280);
	margin-top: 2px;
}

/* ── Fund card: partners strip ───────────────────────────────────────────── */
.fund-card__partners {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	padding: 8px 20px 0;
	border-top: 1px solid var(--ivc-border, #f0f0f0);
	margin-top: 10px;
}
.fund-card__partner {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 500;
	color: var(--ivc-text-muted, #6b7280);
	background: var(--ivc-bg-soft, #f8f9fb);
	border-radius: 4px;
	padding: 2px 7px;
	white-space: nowrap;
	cursor: default;
}
.fund-card__partner:hover {
	color: var(--ivc-blue, #2f6bff);
	background: rgba(47, 107, 255, 0.07);
}

/* ── Single fund: team grid ──────────────────────────────────────────────── */
.ivce-team-section,
.ivce-portfolio-section {
	margin-top: 40px;
}
.ivce-team-section h2,
.ivce-portfolio-section h2 {
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--ivc-border, #e5e7eb);
}
.ivce-team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 12px;
}
.ivce-team-card {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 14px 16px;
	background: var(--ivc-bg-soft, #f8f9fb);
	border: 1px solid var(--ivc-border, #e5e7eb);
	border-radius: 10px;
}
.ivce-team-card__name {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--ivc-black, #111);
	line-height: 1.3;
}
.ivce-team-card__title {
	font-size: 0.75rem;
	color: var(--ivc-text-muted, #6b7280);
	line-height: 1.4;
}

/* ── Single fund: portfolio chips ────────────────────────────────────────── */
.ivce-portfolio-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.ivce-portfolio-chip {
	display: inline-block;
	padding: 5px 12px;
	background: var(--ivc-bg-soft, #f8f9fb);
	border: 1px solid var(--ivc-border, #e5e7eb);
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--ivc-black, #111);
	text-decoration: none;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}
a.ivce-portfolio-chip:hover {
	background: var(--ivc-blue, #2f6bff);
	border-color: var(--ivc-blue, #2f6bff);
	color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE  (v4.1)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Mobile filter toggle button (hidden on desktop) ────────────────────── */
.ivce-filter-toggle {
	display: none;
}
@media (max-width: 768px) {
	.ivce-filter-toggle {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		padding: 10px 16px;
		margin-bottom: 16px;
		background: #fff;
		border: 1.5px solid var(--ivc-border, #e5e7eb);
		border-radius: 8px;
		font-size: 0.9rem;
		font-weight: 600;
		color: var(--ivc-black, #111);
		cursor: pointer;
		width: 100%;
		justify-content: center;
	}
	.ivce-filter-toggle__badge {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 20px;
		height: 20px;
		padding: 0 6px;
		border-radius: 999px;
		background: var(--ivc-blue, #2f6bff);
		color: #fff;
		font-size: 0.72rem;
		font-weight: 700;
	}
}

/* ── Directory layout: sidebar collapses on mobile ──────────────────────── */
@media (max-width: 768px) {
	.directory-layout,
	.directory-layout--refined {
		display: block !important;
		grid-template-columns: unset !important;
	}
	.filters-panel {
		display: none;
		margin-bottom: 20px;
	}
	.filters-panel.is-open {
		display: block;
	}
	.filter-block {
		border-bottom: 1px solid var(--ivc-border, #e5e7eb);
	}
}

/* ── Directory toolbar: stack on mobile ─────────────────────────────────── */
@media (max-width: 600px) {
	.directory-toolbar {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 10px !important;
	}
	.directory-toolbar__actions {
		width: 100%;
		display: flex;
		gap: 8px;
		flex-wrap: wrap;
	}
	.directory-sort {
		flex: 1;
	}
	.directory-sort select {
		width: 100%;
	}
}

/* ── Hero grid: stack on mobile ─────────────────────────────────────────── */
@media (max-width: 900px) {
	.hero__grid {
		grid-template-columns: 1fr !important;
		gap: 32px !important;
	}
	.hero__map-panel,
	.hero__panel {
		display: none !important;
	}
	.hero__copy {
		max-width: 100% !important;
	}
}

/* ── Hero signup form: stack on mobile ──────────────────────────────────── */
@media (max-width: 600px) {
	.hero-signup {
		flex-direction: column !important;
		gap: 16px !important;
	}
	.hero-stage-strip {
		gap: 6px !important;
		flex-wrap: wrap !important;
	}
	.hero-stage-pill {
		font-size: 0.78rem !important;
	}
	.hero__actions {
		flex-direction: column !important;
		gap: 10px !important;
	}
	.hero__actions .button {
		width: 100%;
		text-align: center;
		justify-content: center;
	}
}

/* ── Page hero (directory page): responsive ─────────────────────────────── */
@media (max-width: 600px) {
	.page-hero--directory .directory-searchbar {
		flex-direction: column !important;
		gap: 8px !important;
	}
	.page-hero--directory .directory-searchbar .button--blue {
		width: 100%;
		justify-content: center;
	}
	.page-hero--directory .directory-searchbar input[type="search"] {
		width: 100%;
	}
}

/* ── Suggest/Add fund modal: responsive ─────────────────────────────────── */
@media (max-width: 540px) {
	/* Collapse 2-col name+email grid to single column */
	.ivce-form-grid {
		grid-template-columns: 1fr !important;
	}
	/* Tighter modal padding on small screens */
	#ivce-suggest-overlay > div {
		padding: 20px 16px !important;
		margin: 0 !important;
		border-radius: 16px 16px 0 0 !important;
		max-height: 92vh !important;
	}
	#ivce-suggest-overlay {
		align-items: flex-end !important;
	}
}

/* ── Card grid: single column on mobile ─────────────────────────────────── */
@media (max-width: 600px) {
	.card-grid,
	.card-grid--two {
		grid-template-columns: 1fr !important;
	}
}

/* ── Ecosystem cards: already has 900px breakpoint, reinforce ───────────── */
@media (max-width: 600px) {
	.ecosystem-cards {
		gap: 14px !important;
	}
}

/* ── Why-block principles: stack on mobile ──────────────────────────────── */
@media (max-width: 600px) {
	.principles,
	.principles--compact {
		grid-template-columns: 1fr !important;
	}
}

/* ── Enrichment meta grid (stage, sector, check size, etc.) ─────────────── */
.ivce-meta-section { margin: 28px 0; }

.ivce-meta-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
	margin-bottom: 16px;
}
.ivce-meta-item {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.ivce-meta-label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--ct-content-color, #6b7280);
	opacity: .7;
}
.ivce-meta-value {
	font-size: 15px;
	font-weight: 600;
	color: var(--ct-heading-color, #111827);
}

/* Tag pills */
.ivce-tag-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 12px;
}
.ivce-tag {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 99px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
}
.ivce-tag--stage {
	background: rgba(47,107,255,.1);
	color: #2f6bff;
	border: 1px solid rgba(47,107,255,.25);
}
.ivce-tag--sector {
	background: rgba(13,148,136,.08);
	color: #0d9488;
	border: 1px solid rgba(13,148,136,.2);
}
.ivce-linkedin-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 5px 12px;
	border-radius: 6px;
	background: #0a66c2;
	color: #fff !important;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none !important;
	margin-top: 4px;
}
.ivce-linkedin-btn:hover { background: #004182; }

/* ── Autocomplete: allow dropdown to escape overflow:hidden hero ──────────── */
/* .page-hero has overflow:hidden which clips the autocomplete panel.         */
/* Override for the directory page where the searchbar lives inside the hero. */
.page-hero--directory {
	overflow: visible;
}
/* The dot-grid ::before pseudo is position:absolute so it's fine; but the    */
/* background clip from the theme ::before pseudo needs to stay contained.    */
/* Restore overflow on the wrap so the grid pattern still looks right.        */
.page-hero--directory .wrap {
	position: relative;
}

/* When the autocomplete panel is portalled to <body> it needs fixed coords   */
.ivce-autocomplete--portal {
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 0; /* sized via JS */
}
