/* [jofa_partner_map]: list and search on the left, map on the right; stacks on phones. */
.jpm {
	--jpm-green: var(--green, #076459);
	--jpm-gold: var(--gold, #A49365);
	--jpm-dark: #0b2622;
	--jpm-line: #e6e1d4;
	display: grid; grid-template-columns: 360px 1fr; height: 600px; border: 1px solid var(--jpm-line); border-radius: 4px;
	overflow: hidden; background: #fff; font-family: var(--dmsans, "DM Sans", sans-serif); box-shadow: 0 24px 50px -34px rgba(0, 0, 0, .4);
}
.jpm *, .jpm *::before, .jpm *::after { box-sizing: border-box; }
.jpm-side { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--jpm-line); }
.jpm-search { display: flex; gap: 8px; padding: 14px; background: var(--jpm-dark); }
.jpm-search input {
	flex: 1; min-width: 0; border: 0; border-radius: 3px; padding: 11px 12px; font: inherit; font-size: 15px; background: #fff; color: #1c1c1c;
}
.jpm-search input:focus { outline: 2px solid var(--jpm-gold); outline-offset: 1px; }
.jpm-locate {
	border: 1px solid rgba(164, 147, 101, .7); background: transparent; color: #fff; border-radius: 3px; padding: 0 12px;
	font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .04em; cursor: pointer; white-space: nowrap;
}
.jpm-locate:hover, .jpm-locate:focus-visible { background: rgba(164, 147, 101, .2); outline: none; }
.jpm-filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px 4px; }
.jpm-filters button {
	display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--jpm-line); background: #fff; border-radius: 999px;
	padding: 6px 11px; font: inherit; font-size: 13px; font-weight: 600; color: #333; cursor: pointer;
}
.jpm-filters button[aria-pressed="false"] { opacity: .5; }
.jpm-filters button:focus-visible { outline: 2px solid var(--jpm-green); outline-offset: 1px; }
.jpm-filters i, .jpm-list i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; flex: none; }
.jpm-filters em { font-style: normal; color: #777; font-weight: 500; }
.jpm-count { font-size: 13px; color: #6b6b6b; margin: 0; padding: 4px 14px 8px; }
.jpm-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; min-height: 0; }
.jpm-list li { margin: 0; border-top: 1px solid #f0ece2; }
.jpm-list button {
	display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 13px 14px; font: inherit; cursor: pointer; color: inherit;
}
.jpm-list button:hover, .jpm-list button:focus-visible, .jpm-list li.is-active button { background: #f6f4ee; outline: none; }
.jpm-list b { display: flex; align-items: center; gap: 8px; color: #1c1c1c; font-size: 15px; }
.jpm-list span { display: block; font-size: 13px; color: #6b6b6b; margin: 2px 0 0 19px; }
.jpm-empty { padding: 18px 14px; font-size: 14px; color: #555; }
.jpm-empty a { font-weight: 700; color: var(--jpm-green); }
.jpm-map { min-height: 0; z-index: 0; }
.jpm-pin { width: 22px; height: 22px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.jpm-pin.is-jofa { width: 28px; height: 28px; }
.jpm-hex { filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .4)); }
.jpm-pop { font-family: var(--dmsans, "DM Sans", sans-serif); font-size: 14px; line-height: 1.45; min-width: 200px; }
.jpm-pop b { display: block; font-size: 15px; color: #1c1c1c; }
.jpm-pop small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6f5f37; margin-bottom: 6px; }
.jpm-pop p { margin: 0 0 6px; }
.jpm-pop a { color: var(--jpm-green); font-weight: 600; }
@media (max-width: 900px) {
	.jpm { grid-template-columns: 1fr; grid-template-rows: 380px auto; height: auto; }
	.jpm-side { order: 2; border-right: 0; border-top: 1px solid var(--jpm-line); }
	.jpm-list { max-height: 340px; }
	.jpm-map { order: 1; height: 380px; }
}
