.ramp-directory,
.ramp-directory * {
	box-sizing: border-box;
}

.ramp-directory {
	--ramp-primary: #087ea4;
	--ramp-accent: #178b57;
	--ramp-warm: #e55245;
	--ramp-gold: #f1b434;
	--ramp-ink: #17324d;
	--ramp-muted: #657487;
	--ramp-border: #dce4ea;
	--ramp-surface: #ffffff;
	--ramp-soft: #f4f8fa;
	--ramp-shadow: 0 12px 34px rgba(23, 50, 77, 0.10);
	--ramp-map-height: 640px;
	width: 100%;
	color: var(--ramp-ink);
	font: inherit;
	line-height: 1.5;
}

.ramp-directory [hidden] {
	display: none !important;
}

.ramp-directory button,
.ramp-directory input,
.ramp-directory select {
	font: inherit;
}

.ramp-directory a {
	color: inherit;
}

.ramp-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.ramp-icon {
	flex: 0 0 auto;
	display: inline-block;
	vertical-align: middle;
}

.ramp-toolbar {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	padding: 18px;
	margin-bottom: 14px;
	background: var(--ramp-surface);
	border: 1px solid var(--ramp-border);
	border-radius: 18px;
	box-shadow: 0 8px 26px rgba(23, 50, 77, 0.07);
}

.ramp-toolbar__filters {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	min-width: 0;
	flex: 1 1 auto;
}

.ramp-search {
	position: relative;
	display: flex;
	align-items: center;
	min-width: min(100%, 290px);
	flex: 1 1 300px;
	margin: 0;
}

.ramp-search .ramp-icon {
	position: absolute;
	left: 14px;
	z-index: 1;
	color: var(--ramp-muted);
	pointer-events: none;
}

.ramp-search input,
.ramp-select-wrap select {
	appearance: none;
	-webkit-appearance: none;
	width: 100%;
	height: 44px;
	min-height: 44px;
	margin: 0;
	border: 1px solid var(--ramp-border);
	border-radius: 12px;
	background: #fff;
	color: var(--ramp-ink);
	font-size: 14px;
	line-height: 1.2;
	box-shadow: none;
	transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.ramp-search input {
	padding: 0 15px 0 43px;
}

.ramp-search input::placeholder {
	color: #7d8996;
	opacity: 1;
}

.ramp-select-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	flex: 0 1 190px;
	min-width: 150px;
	margin: 0;
}

.ramp-select-wrap select {
	padding: 0 36px 0 13px;
	cursor: pointer;
	text-overflow: ellipsis;
}

.ramp-select-wrap > .ramp-icon {
	position: absolute;
	right: 11px;
	pointer-events: none;
	color: var(--ramp-muted);
}

.ramp-search input:hover,
.ramp-select-wrap select:hover {
	border-color: var(--ramp-primary);
	border-color: color-mix(in srgb, var(--ramp-primary) 45%, var(--ramp-border));
}

.ramp-search input:focus,
.ramp-select-wrap select:focus {
	outline: none;
	border-color: var(--ramp-primary);
	box-shadow: 0 0 0 3px rgba(8, 126, 164, 0.18);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--ramp-primary) 18%, transparent);
}

.ramp-reset {
	align-self: center;
	min-height: 42px;
	padding: 7px 8px;
	border: 0;
	background: transparent;
	color: var(--ramp-primary);
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ramp-reset:hover {
	color: var(--ramp-ink);
}

.ramp-view-switch {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	padding: 4px;
	background: var(--ramp-soft);
	border: 1px solid var(--ramp-border);
	border-radius: 13px;
}

.ramp-view-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	height: 38px;
	min-width: 82px;
	padding: 0 13px;
	margin: 0;
	border: 0;
	border-radius: 9px;
	background: transparent;
	color: var(--ramp-muted);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
	transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ramp-view-button:hover:not(:disabled) {
	color: var(--ramp-primary);
}

.ramp-view-button.is-active,
.ramp-view-button[aria-pressed="true"] {
	background: #fff;
	color: var(--ramp-primary);
	box-shadow: 0 3px 10px rgba(23, 50, 77, 0.11);
}

.ramp-view-button:focus-visible,
.ramp-reset:focus-visible,
.ramp-map-link:focus-visible,
.ramp-link:focus-visible {
	outline: 3px solid var(--ramp-primary);
	outline: 3px solid color-mix(in srgb, var(--ramp-primary) 35%, transparent);
	outline-offset: 2px;
}

.ramp-view-button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.ramp-results-bar {
	display: flex;
	align-items: baseline;
	gap: 5px;
	padding: 0 5px;
	margin: 0 0 12px;
	color: var(--ramp-muted);
	font-size: 14px;
}

.ramp-results-count {
	color: var(--ramp-ink);
	font-size: 18px;
	font-weight: 800;
}

.ramp-results-label {
	color: var(--ramp-ink);
	font-weight: 700;
}

.ramp-results-context::before {
	content: "·";
	margin-right: 5px;
}

.ramp-view {
	position: relative;
}

.ramp-map-view {
	overflow: hidden;
	min-height: min(var(--ramp-map-height), 85vh);
	border: 1px solid var(--ramp-border);
	border-radius: 20px;
	background: #eaf1f4;
	box-shadow: var(--ramp-shadow);
}

.ramp-map {
	width: 100%;
	height: var(--ramp-map-height);
	min-height: 390px;
	max-height: 85vh;
	z-index: 1;
	background: #eaf1f4;
}

.ramp-map-message {
	position: absolute;
	z-index: 500;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	max-width: min(90%, 420px);
	padding: 14px 18px;
	border: 1px solid var(--ramp-border);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.96);
	color: var(--ramp-ink);
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	box-shadow: var(--ramp-shadow);
}

.ramp-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.ramp-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--ramp-border);
	border-radius: 18px;
	background: var(--ramp-surface);
	box-shadow: 0 8px 24px rgba(23, 50, 77, 0.07);
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ramp-card:hover {
	transform: translateY(-3px);
	border-color: var(--ramp-primary);
	border-color: color-mix(in srgb, var(--ramp-primary) 28%, var(--ramp-border));
	box-shadow: 0 17px 38px rgba(23, 50, 77, 0.13);
}

.ramp-card__media {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: linear-gradient(135deg, var(--ramp-primary), var(--ramp-accent));
	background:
		radial-gradient(circle at 16% 20%, color-mix(in srgb, var(--ramp-gold) 42%, transparent), transparent 34%),
		linear-gradient(135deg, color-mix(in srgb, var(--ramp-primary) 84%, #fff), color-mix(in srgb, var(--ramp-accent) 78%, #fff));
}

.ramp-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 300ms ease;
}

.ramp-card:hover .ramp-card__media:not(.ramp-card__image--logo) img {
	transform: scale(1.025);
}

.ramp-card__media.ramp-card__image--logo {
	padding: 28px;
	background: #f8fafb;
}

.ramp-card__media.ramp-card__image--logo img {
	object-fit: contain;
	max-width: 72%;
	max-height: 72%;
}

.ramp-card__initial {
	display: grid;
	place-items: center;
	width: 76px;
	height: 76px;
	border: 2px solid rgba(255, 255, 255, 0.66);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 34px;
	font-weight: 800;
	text-transform: uppercase;
	backdrop-filter: blur(6px);
}

.ramp-status {
	position: absolute;
	top: 13px;
	right: 13px;
	display: inline-flex;
	align-items: center;
	min-height: 27px;
	padding: 4px 9px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: var(--ramp-ink);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.02em;
	box-shadow: 0 4px 14px rgba(23, 50, 77, 0.16);
}

.ramp-status::before {
	content: "";
	width: 7px;
	height: 7px;
	margin-right: 6px;
	border-radius: 50%;
	background: var(--ramp-primary);
}

.ramp-status--active::before { background: var(--ramp-accent); }
.ramp-status--planned::before { background: var(--ramp-primary); }
.ramp-status--completed::before { background: var(--ramp-gold); }
.ramp-status--paused::before { background: var(--ramp-warm); }

.ramp-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 20px 20px 16px;
}

.ramp-card__member {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	margin-bottom: 9px;
	color: var(--ramp-primary);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.015em;
	text-transform: uppercase;
}

.ramp-card__member img {
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	object-fit: contain;
	border: 1px solid var(--ramp-border);
	border-radius: 6px;
	background: #fff;
}

.ramp-card__member span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ramp-card__title {
	margin: 0 0 9px !important;
	padding: 0 !important;
	color: var(--ramp-ink);
	font-size: clamp(18px, 1.3vw, 22px) !important;
	font-weight: 800 !important;
	line-height: 1.25 !important;
	letter-spacing: -0.015em;
}

.ramp-card__title a {
	color: inherit !important;
	text-decoration: none !important;
}

.ramp-card__title a:hover {
	color: var(--ramp-primary) !important;
}

.ramp-card__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px 13px;
	margin-bottom: 12px;
	color: var(--ramp-muted);
	font-size: 12px;
}

.ramp-card__meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.ramp-card__meta .ramp-icon {
	width: 15px;
	height: 15px;
	color: var(--ramp-primary);
}

.ramp-card__description {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	margin: 0 0 15px !important;
	color: #4e6072;
	font-size: 14px;
	line-height: 1.58;
}

.ramp-card__metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: auto 0 14px;
}

.ramp-metric {
	min-width: 0;
	padding: 9px 8px;
	border-radius: 10px;
	background: var(--ramp-soft);
	text-align: center;
}

.ramp-metric strong {
	display: block;
	overflow: hidden;
	color: var(--ramp-ink);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ramp-metric span {
	display: -webkit-box;
	overflow: hidden;
	min-height: 2.5em;
	margin-top: 3px;
	color: var(--ramp-muted);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.25;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	text-transform: uppercase;
	white-space: normal;
}

.ramp-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.ramp-card__tags span {
	display: inline-flex;
	align-items: center;
	min-height: 25px;
	padding: 3px 9px;
	border: 1px solid var(--ramp-border);
	border: 1px solid color-mix(in srgb, var(--ramp-primary) 22%, var(--ramp-border));
	border-radius: 999px;
	background: #f5fafc;
	background: color-mix(in srgb, var(--ramp-primary) 6%, #fff);
	color: var(--ramp-primary);
	font-size: 10px;
	font-weight: 700;
}

.ramp-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 13px 20px;
	border-top: 1px solid var(--ramp-border);
	background: #fbfcfd;
}

.ramp-link,
.ramp-map-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ramp-primary) !important;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none !important;
	cursor: pointer;
}

.ramp-link:hover,
.ramp-map-link:hover {
	color: var(--ramp-ink) !important;
}

.ramp-link .ramp-icon,
.ramp-map-link .ramp-icon {
	width: 15px;
	height: 15px;
}

.ramp-empty-state {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 8px;
	min-height: 280px;
	padding: 40px 24px;
	border: 1px dashed var(--ramp-border);
	border-radius: 18px;
	background: var(--ramp-soft);
	color: var(--ramp-muted);
	text-align: center;
}

.ramp-empty-state .ramp-icon {
	width: 34px;
	height: 34px;
	color: var(--ramp-primary);
}

.ramp-empty-state strong {
	color: var(--ramp-ink);
	font-size: 18px;
}

/* Leaflet map controls and markers. */
.ramp-directory .leaflet-container {
	font-family: inherit;
}

.ramp-directory .leaflet-control-zoom {
	overflow: hidden;
	border: 1px solid var(--ramp-border) !important;
	border-radius: 11px !important;
	box-shadow: 0 7px 20px rgba(23, 50, 77, 0.16) !important;
}

.ramp-directory .leaflet-control-zoom a {
	color: var(--ramp-ink) !important;
	background: #fff !important;
	border-bottom-color: var(--ramp-border) !important;
}

.ramp-directory .leaflet-control-zoom a:hover {
	color: var(--ramp-primary) !important;
	background: var(--ramp-soft) !important;
}

.ramp-directory .leaflet-control-attribution {
	padding: 3px 7px !important;
	background: rgba(255, 255, 255, 0.88) !important;
	font-size: 9px !important;
}

.ramp-marker-shell {
	background: transparent !important;
	border: 0 !important;
}

.ramp-marker {
	position: relative;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	margin: 1px 0 0 3px;
	border: 3px solid #fff;
	border-radius: 50% 50% 50% 8px;
	background: var(--ramp-primary);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	transform: rotate(-45deg);
	box-shadow: 0 7px 18px rgba(23, 50, 77, 0.36);
	transition: transform 160ms ease, background-color 160ms ease;
}

.ramp-marker > span {
	transform: rotate(45deg);
}

.ramp-marker:not(.ramp-marker--group) > span::before {
	content: "";
	display: block;
	width: 9px;
	height: 9px;
	border: 2px solid #fff;
	border-radius: 50%;
}

.ramp-marker--group {
	background: var(--ramp-accent);
}

.leaflet-marker-icon:hover .ramp-marker,
.leaflet-marker-icon:focus .ramp-marker {
	background: var(--ramp-warm);
	transform: rotate(-45deg) scale(1.08);
}

.ramp-leaflet-popup .leaflet-popup-content-wrapper {
	padding: 0;
	border-radius: 16px;
	box-shadow: 0 15px 44px rgba(23, 50, 77, 0.22);
}

.ramp-leaflet-popup .leaflet-popup-content {
	width: auto !important;
	margin: 0;
	font: inherit;
}

.ramp-leaflet-popup .leaflet-popup-tip {
	box-shadow: 5px 5px 11px rgba(23, 50, 77, 0.08);
}

.ramp-leaflet-popup .leaflet-popup-close-button {
	top: 8px !important;
	right: 8px !important;
	display: grid !important;
	place-items: center;
	width: 29px !important;
	height: 29px !important;
	padding: 0 !important;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95) !important;
	color: var(--ramp-ink) !important;
	font-size: 20px !important;
	box-shadow: 0 4px 12px rgba(23, 50, 77, 0.13);
}

.ramp-popup {
	min-width: 280px;
	padding: 19px;
	color: var(--ramp-ink);
}

.ramp-popup__member {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	padding-right: 28px;
	margin-bottom: 10px;
	color: var(--ramp-primary);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.025em;
	text-transform: uppercase;
}

.ramp-popup__member img {
	width: 27px;
	height: 27px;
	object-fit: contain;
	border: 1px solid var(--ramp-border);
	border-radius: 6px;
	background: #fff;
}

.ramp-popup__title-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}

.ramp-popup__title,
.ramp-popup__group-title,
.ramp-popup__group-item h4 {
	margin: 0 !important;
	padding: 0 !important;
	color: var(--ramp-ink) !important;
	font-family: inherit !important;
	font-weight: 800 !important;
	line-height: 1.25 !important;
}

.ramp-popup__title {
	font-size: 18px !important;
}

.ramp-popup__status {
	flex: 0 0 auto;
	padding: 4px 7px;
	border-radius: 999px;
	background: var(--ramp-soft);
	color: var(--ramp-primary);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.ramp-popup__meta,
.ramp-popup__location {
	margin: 7px 0 0 !important;
	color: var(--ramp-muted);
	font-size: 11px;
}

.ramp-popup__description {
	margin: 12px 0 0 !important;
	color: #4e6072;
	font-size: 12px;
	line-height: 1.55;
}

.ramp-popup__metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 7px;
	margin-top: 13px;
}

.ramp-popup__metric {
	min-width: 0;
	padding: 8px 6px;
	border-radius: 9px;
	background: var(--ramp-soft);
	text-align: center;
}

.ramp-popup__metric strong {
	display: block;
	overflow: hidden;
	font-size: 13px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ramp-popup__metric span {
	display: -webkit-box;
	overflow: hidden;
	min-height: 2.5em;
	margin-top: 2px;
	color: var(--ramp-muted);
	font-size: 8px;
	font-weight: 700;
	line-height: 1.25;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	text-transform: uppercase;
	white-space: normal;
}

.ramp-popup__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 12px;
}

.ramp-popup__tags span {
	padding: 3px 7px;
	border-radius: 999px;
	background: #f2f8fb;
	background: color-mix(in srgb, var(--ramp-primary) 8%, #fff);
	color: var(--ramp-primary);
	font-size: 9px;
	font-weight: 700;
}

.ramp-popup__contact {
	display: grid;
	gap: 2px;
	padding: 10px 12px;
	margin-top: 12px;
	border-left: 3px solid var(--ramp-accent);
	border-radius: 0 9px 9px 0;
	background: #f4faf7;
	background: color-mix(in srgb, var(--ramp-accent) 6%, #fff);
	font-size: 10px;
}

.ramp-popup__contact strong {
	margin-bottom: 2px;
	font-size: 9px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.ramp-popup__contact a {
	color: var(--ramp-primary) !important;
	text-decoration: none !important;
}

.ramp-popup__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 13px;
}

.ramp-popup__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 7px 11px;
	border: 1px solid var(--ramp-primary);
	border-radius: 9px;
	background: var(--ramp-primary);
	color: #fff !important;
	font-size: 10px;
	font-weight: 800;
	text-decoration: none !important;
}

.ramp-popup__button:hover {
	filter: brightness(0.93);
}

.ramp-popup__button--secondary {
	background: #fff;
	color: var(--ramp-primary) !important;
}

.ramp-popup--group {
	max-height: 420px;
	overflow: auto;
}

.ramp-popup__group-title {
	padding-right: 28px !important;
	margin-bottom: 10px !important;
	font-size: 17px !important;
}

.ramp-popup__group-list {
	display: grid;
	gap: 9px;
}

.ramp-popup__group-item {
	padding: 11px;
	border: 1px solid var(--ramp-border);
	border-radius: 11px;
	background: #fff;
}

.ramp-popup__group-item h4 {
	font-size: 13px !important;
}

.ramp-popup__group-item .ramp-popup__actions {
	margin-top: 7px;
}

.ramp-popup__eyebrow {
	display: block;
	margin-bottom: 3px;
	color: var(--ramp-primary);
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.025em;
	text-transform: uppercase;
}

@media (max-width: 1100px) {
	.ramp-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ramp-select-wrap {
		flex-basis: 170px;
	}
}

@media (max-width: 820px) {
	.ramp-toolbar {
		flex-direction: column;
		align-items: stretch;
		padding: 14px;
		border-radius: 15px;
	}

	.ramp-toolbar__filters {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
	}

	.ramp-search {
		grid-column: 1 / -1;
		width: 100%;
		min-width: 0;
	}

	.ramp-select-wrap {
		width: 100%;
		min-width: 0;
	}

	.ramp-view-switch {
		align-self: flex-end;
	}

	.ramp-map,
	.ramp-map-view {
		min-height: 500px;
	}
}

@media (max-width: 620px) {
	.ramp-toolbar__filters {
		grid-template-columns: 1fr;
	}

	.ramp-search {
		grid-column: auto;
	}

	.ramp-view-switch {
		align-self: stretch;
	}

	.ramp-view-button {
		flex: 1 1 50%;
	}

	.ramp-results-context {
		display: none;
	}

	.ramp-card-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.ramp-card__media {
		aspect-ratio: 16 / 8.6;
	}

	.ramp-map,
	.ramp-map-view {
		height: min(var(--ramp-map-height), 72vh);
		min-height: 430px;
		border-radius: 15px;
	}

	.ramp-card__footer {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ramp-directory *,
	.ramp-directory *::before,
	.ramp-directory *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* Version 1.2: member identity and external destination enhancements. */
.ramp-card__logo-badge {
	position: absolute;
	left: 11px;
	bottom: 11px;
	display: grid;
	place-items: center;
	width: 43px;
	height: 43px;
	padding: 5px;
	border: 1px solid rgba(23, 50, 77, 0.12);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 5px 14px rgba(23, 50, 77, 0.18);
}

.ramp-card__logo-badge img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
	transform: none !important;
}

.ramp-popup__member {
	min-height: 44px;
	padding: 4px 32px 4px 4px;
	margin: -3px 0 12px;
	border-radius: 10px;
	text-decoration: none !important;
	transition: background-color 160ms ease;
}

.ramp-popup__member[href]:hover {
	background: var(--ramp-soft);
	color: var(--ramp-ink);
}

.ramp-popup__member:focus-visible {
	outline: 3px solid var(--ramp-primary);
	outline: 3px solid color-mix(in srgb, var(--ramp-primary) 35%, transparent);
	outline-offset: 2px;
}

.ramp-popup__member img {
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	padding: 3px;
	border-radius: 9px;
}

.ramp-popup__member--compact {
	min-height: 31px;
	padding: 2px 2px 2px 0;
	margin: 0 0 6px;
	font-size: 8px;
}

.ramp-popup__member--compact img {
	width: 30px;
	height: 30px;
	flex-basis: 30px;
	border-radius: 7px;
}

/* Version 2.0: TOR-aligned introduction, privacy and evidence treatments. */
.ramp-directory__intro {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
	padding: 22px 24px;
	margin-bottom: 16px;
	border: 1px solid var(--ramp-border);
	border-radius: 18px;
	background: linear-gradient(120deg, color-mix(in srgb, var(--ramp-primary) 6%, #fff), #fff 55%, color-mix(in srgb, var(--ramp-accent) 5%, #fff));
	overflow: hidden;
}

.ramp-directory__intro::before {
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: linear-gradient(90deg, var(--ramp-primary) 0 25%, var(--ramp-accent) 25% 50%, var(--ramp-warm) 50% 75%, var(--ramp-gold) 75% 100%);
	content: "";
}

.ramp-directory__intro > div {
	max-width: 760px;
}

.ramp-directory__intro .ramp-kicker {
	display: block;
	margin-bottom: 5px;
	color: var(--ramp-primary);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.ramp-directory__intro h2 {
	margin: 0 0 7px;
	color: var(--ramp-ink);
	font-size: clamp(23px, 3vw, 34px);
	font-weight: 780;
	letter-spacing: -.035em;
	line-height: 1.1;
}

.ramp-directory__intro p {
	margin: 0;
	color: var(--ramp-muted);
	font-size: 13px;
	line-height: 1.55;
}

.ramp-map-note {
	position: absolute;
	z-index: 500;
	left: 14px;
	bottom: 14px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 310px;
	padding: 9px 12px;
	border: 1px solid color-mix(in srgb, var(--ramp-primary) 18%, var(--ramp-border));
	border-radius: 12px;
	background: rgba(255,255,255,.82);
	color: var(--ramp-muted);
	font-size: 10px;
	font-weight: 650;
	line-height: 1.35;
}

.ramp-map-note .ramp-icon {
	flex: 0 0 auto;
	color: var(--ramp-primary);
}

.ramp-practice-badge,
.ramp-popup__practice {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	background: color-mix(in srgb, var(--ramp-gold) 24%, #fff);
	color: color-mix(in srgb, var(--ramp-ink) 85%, #000);
	font-weight: 850;
	letter-spacing: .015em;
}

.ramp-practice-badge {
	position: absolute;
	right: 11px;
	bottom: 11px;
	padding: 6px 9px;
	box-shadow: 0 4px 12px rgba(23,50,77,.12);
	font-size: 9px;
}

.ramp-popup__practice {
	padding: 4px 7px;
	font-size: 8px;
	white-space: nowrap;
}

.ramp-link--secondary {
	color: var(--ramp-muted) !important;
	font-weight: 700;
}

.ramp-link--secondary:hover {
	color: var(--ramp-primary) !important;
}

.ramp-popup__secondary-link {
	display: inline-flex;
	margin-top: 7px;
	color: var(--ramp-primary) !important;
	font-size: 9px;
	font-weight: 800;
	text-decoration: underline !important;
	text-underline-offset: 2px;
}

.ramp-policy-links {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	padding: 12px 4px 0;
	color: var(--ramp-muted);
	font-size: 10px;
}

.ramp-policy-links a {
	color: inherit !important;
	text-decoration: underline !important;
	text-underline-offset: 2px;
}

@media (max-width: 720px) {
	.ramp-directory__intro {
		align-items: stretch;
		flex-direction: column;
		padding: 19px;
	}

	.ramp-map-note {
		right: 12px;
		left: 12px;
		bottom: 36px;
		max-width: none;
	}
}
