/* ==========================================================================
   Partners Marquee — logo rows scrolling in opposite directions.
   ========================================================================== */

.jcu-partners {
	--jcup-purple: #68267e;
	overflow: hidden;
}

.jcu-partners__head {
	max-width: 720px;
	margin-bottom: 2.5rem;
}

.jcu-partners__kicker {
	display: block;
	color: var(--jcup-purple);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	margin-bottom: 0.5rem;
}

.jcu-partners__title {
	margin: 0;
	font-size: clamp(1.7rem, 3.5vw, 2.5rem);
	font-weight: 800;
	line-height: 1.15;
	color: #1c1c1f;
}

/* Rows */

.jcu-partners__row {
	position: relative;
	overflow: hidden;
	padding: 1.1rem 0;
	/* Soft fade at both edges */
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.jcu-partners__track {
	display: flex;
	align-items: center;
	gap: 1.4rem;
	width: max-content;
	animation: jcu-marquee-left var(--jcu-marquee-dur, 35s) linear infinite;
}

.jcu-partners__row--reverse .jcu-partners__track {
	animation-name: jcu-marquee-right;
}

@keyframes jcu-marquee-left {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

@keyframes jcu-marquee-right {
	from { transform: translateX(-50%); }
	to   { transform: translateX(0); }
}

.jcu-partners--pausable .jcu-partners__row:hover .jcu-partners__track {
	animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
	.jcu-partners__track {
		animation: none;
	}
}

/* Items */

.jcu-partners__item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 190px;
	height: 92px;
	padding: 0 1.6rem;
	background: #fff;
	border: 1px solid rgba(30, 20, 35, 0.1);
	border-radius: 14px;
	transition: box-shadow 0.25s, transform 0.25s;
}

.jcu-partners__item:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(30, 10, 38, 0.14);
}

.jcu-partners__item img {
	max-height: 56px;
	max-width: 150px;
	width: auto;
	object-fit: contain;
	display: block;
	transition: filter 0.25s, opacity 0.25s;
}

.jcu-partners--gray .jcu-partners__item img {
	filter: grayscale(1);
	opacity: 0.72;
}

.jcu-partners--gray .jcu-partners__item:hover img {
	filter: none;
	opacity: 1;
}

/* Text tile while a partner has no logo yet */
.jcu-partners__name {
	font-size: 0.98rem;
	font-weight: 700;
	color: #3a3a40;
	white-space: nowrap;
}

/* Hover label: dark strip sliding up inside the tile (the row clips
   anything outside itself, so the label must live within the card) */

.jcu-partners__item {
	overflow: hidden;
}

.jcu-partners__label {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: rgba(29, 21, 34, 0.92);
	color: #fff;
	font-size: 0.74rem;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding: 0.4rem 0.7rem;
	border-radius: 0 0 13px 13px;
	transform: translateY(100%);
	transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
	z-index: 5;
}

.jcu-partners__item:hover .jcu-partners__label {
	transform: translateY(0);
}

.jcu-partners__chip {
	background: var(--jcup-purple);
	color: #fff;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
}

@media (max-width: 640px) {
	.jcu-partners__item {
		min-width: 150px;
		height: 76px;
		padding: 0 1.1rem;
	}

	.jcu-partners__item img {
		max-height: 44px;
		max-width: 118px;
	}
}

/* ==========================================================================
   Partner pages — archive directory + single profile.
   ========================================================================== */

.jcu-ptn {
	--jcup-purple: #68267e;
	--jcup-soft: rgba(104, 38, 126, 0.08);
	background: #fff;
}

.jcu-ptn__hero {
	background:
		radial-gradient(800px 400px at 85% -20%, rgba(104, 38, 126, 0.35), transparent),
		linear-gradient(160deg, rgba(10, 10, 11, 0.93), rgba(22, 18, 26, 0.88) 60%, rgba(29, 21, 34, 0.92)),
		#0a0a0b url("footer-bg.jpg") center / cover no-repeat;
	color: #fff;
	padding: 4rem 0 4.5rem;
}

.jcu-ptn__hero-inner {
	max-width: 1250px;
	margin: 0 auto;
	padding: 0 1.25rem;
}

.jcu-ptn__kicker {
	display: inline-block;
	color: #e3a3cd;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	margin-bottom: 0.8rem;
	text-decoration: none;
}

.jcu-ptn__hero h1 {
	margin: 0 0 0.7rem;
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	font-weight: 800;
	line-height: 1.08;
	color: #fff;
}

.jcu-ptn__hero p {
	margin: 0;
	max-width: 640px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 1.08rem;
	line-height: 1.65;
}

/* Sticky filter toolbar (search + group filter pills) */

.jcu-ptn__toolbar {
	position: sticky;
	top: 56px;
	z-index: 20;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	background: #fff;
	border-bottom: 1px solid #eee;
	padding: 0.85rem 1.25rem;
	max-width: 1250px;
	margin: 0 auto;
}

.jcu-ptn__search {
	flex: 0 1 300px;
	min-width: 190px;
	border: 1px solid #d9d9d9;
	border-radius: 999px;
	padding: 0.55rem 1.2rem;
	font-family: inherit;
	font-size: 0.92rem;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.jcu-ptn__search:focus {
	border-color: var(--jcup-purple);
	box-shadow: 0 0 0 3px var(--jcup-soft);
}

/* Single-line pill strip: scrolls sideways when categories overflow,
   with an edge fade as the affordance. Keeps the sticky bar slim
   no matter how many groups exist. */
.jcu-ptn__filters {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.45rem;
	flex: 1;
	min-width: 0;
	overflow-x: auto;
	padding-bottom: 2px;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent);
	mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent);
}

.jcu-ptn__filters::-webkit-scrollbar {
	display: none;
}

.jcu-ptn__filters .jcu-ptn__filter {
	flex-shrink: 0;
	white-space: nowrap;
}

.jcu-ptn__filters .jcu-ptn__filter,
.jcu-ptn__filters .jcu-ptn__filter:focus {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: var(--jcup-soft);
	border: 0;
	color: var(--jcup-purple);
	font-family: inherit;
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: none;
	padding: 0.4rem 0.95rem;
	border-radius: 999px;
	box-shadow: none;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}

.jcu-ptn__filters .jcu-ptn__filter small {
	font-size: 0.7rem;
	font-weight: 600;
	opacity: 0.65;
}

.jcu-ptn__filters .jcu-ptn__filter:hover,
.jcu-ptn__filters .jcu-ptn__filter.is-active,
.jcu-ptn__filters .jcu-ptn__filter.is-active:hover {
	background: var(--jcup-purple);
	color: #fff;
}

/* Listings grid — image-top cards */

.jcu-ptn__listings {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.25rem;
}

.jcu-ptn-lcard {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #eee5f1;
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.22s, box-shadow 0.22s;
}

.jcu-ptn-lcard:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 34px rgba(30, 10, 38, 0.14);
}

.jcu-ptn-lcard__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 10;
	background: #f4f0f6;
	overflow: hidden;
}

/* Hover overlay with the profile button (washington.org card pattern) */

.jcu-ptn-lcard__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(170deg, rgba(40, 12, 45, 0.55), rgba(40, 12, 45, 0.82));
	opacity: 0;
	transition: opacity 0.25s;
}

.jcu-ptn-lcard:hover .jcu-ptn-lcard__overlay,
.jcu-ptn-lcard:focus-visible .jcu-ptn-lcard__overlay {
	opacity: 1;
}

.jcu-ptn-lcard__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: #fff;
	color: #40173a;
	font-size: 0.86rem;
	font-weight: 800;
	padding: 0.6rem 1.4rem;
	border-radius: 999px;
	transform: translateY(8px);
	transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.jcu-ptn-lcard:hover .jcu-ptn-lcard__btn {
	transform: translateY(0);
}

.jcu-ptn-lcard__btn svg {
	width: 15px;
	height: 15px;
	transition: transform 0.2s;
}

.jcu-ptn-lcard:hover .jcu-ptn-lcard__btn svg {
	transform: translateX(3px);
}

.jcu-ptn-lcard__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.jcu-ptn-lcard:hover .jcu-ptn-lcard__media img {
	transform: scale(1.04);
}

/* Logos sit contained on the light backdrop, not cropped */
.jcu-ptn-lcard__media--logo img {
	width: auto;
	height: auto;
	max-width: 70%;
	max-height: 62%;
	object-fit: contain;
}

.jcu-ptn-lcard__media .jcu-ptn-card__mono {
	width: 84px;
	height: 84px;
	font-size: 1.8rem;
	border-radius: 18px;
}

.jcu-ptn-lcard__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.4rem;
	padding: 1.1rem 1.25rem 1.25rem;
}

.jcu-ptn-lcard__chip {
	background: var(--jcup-soft);
	color: var(--jcup-purple);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	padding: 0.22rem 0.7rem;
	border-radius: 999px;
}

.jcu-ptn-lcard__name {
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.3;
	color: #1c1c1f;
}

.jcu-ptn-lcard:hover .jcu-ptn-lcard__name {
	color: var(--jcup-purple);
}

/* Excerpt reveals on hover (collapsed by default) */

.jcu-ptn-lcard__tag {
	font-size: 0.85rem;
	line-height: 1.5;
	color: #777;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transform: translateY(4px);
	transition: max-height 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s, transform 0.3s;
}

.jcu-ptn-lcard:hover .jcu-ptn-lcard__tag,
.jcu-ptn-lcard:focus-visible .jcu-ptn-lcard__tag {
	max-height: 5em;
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce), (hover: none) {
	/* Touch screens and reduced motion: excerpt always visible */
	.jcu-ptn-lcard__tag {
		max-height: none;
		opacity: 1;
		transform: none;
	}
}

.jcu-ptn__none {
	margin-top: 2rem;
	color: #777;
}

/* Grouped directory */

.jcu-ptn__inner {
	max-width: 1250px;
	margin: 0 auto;
	padding: 2.5rem 1.25rem 4.5rem;
}

.jcu-ptn__group {
	margin-bottom: 3rem;
	scroll-margin-top: 90px;
}

.jcu-ptn__group-title {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0 0 1.25rem;
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--jcup-purple);
}

.jcu-ptn__group-title::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #eee2f0;
}

.jcu-ptn__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.1rem;
}

.jcu-ptn-card {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	align-items: center;
	gap: 1rem;
	background: #fff;
	border: 1px solid #eee5f1;
	border-radius: 14px;
	padding: 1rem 1.2rem;
	text-decoration: none;
	transition: transform 0.2s, box-shadow 0.2s;
}

.jcu-ptn-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 30px rgba(30, 10, 38, 0.13);
}

.jcu-ptn-card__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 12px;
	background: #faf8fb;
	overflow: hidden;
}

.jcu-ptn-card__logo img {
	max-width: 52px;
	max-height: 52px;
	object-fit: contain;
}

.jcu-ptn-card__mono {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(150deg, #5a2148, var(--jcup-purple));
	color: #fff;
	font-size: 1.3rem;
	font-weight: 800;
	border-radius: 12px;
}

.jcu-ptn-card__name {
	display: block;
	font-size: 1.02rem;
	font-weight: 700;
	color: #1c1c1f;
	line-height: 1.3;
}

.jcu-ptn-card__tag {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.83rem;
	color: #777;
}

.jcu-ptn-card__arrow {
	width: 18px;
	height: 18px;
	color: var(--jcup-purple);
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity 0.2s, transform 0.2s;
}

.jcu-ptn-card:hover .jcu-ptn-card__arrow {
	opacity: 1;
	transform: translateX(0);
}

/* Archive / aside CTA */

/* Flat ink card, typography-led — no gradients, no pill buttons */

.jcu-ptn__cta {
	background:
		linear-gradient(rgba(31, 14, 33, 0.94), rgba(31, 14, 33, 0.94)),
		#221024 url("footer-bg.jpg") center / cover no-repeat;
	border-radius: 16px;
	padding: 1.5rem 1.6rem 1.3rem;
	color: #fff;
	margin-top: 1.5rem;
}

.jcu-ptn__cta-kicker {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #cf9ec2;
	padding-bottom: 0.7rem;
	margin-bottom: 0.9rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.jcu-ptn__cta p {
	margin: 0 0 1rem;
	font-weight: 600;
	font-size: 1.02rem;
	line-height: 1.5;
}

.jcu-ptn__cta-btn {
	display: inline-block;
	color: #fff !important;
	font-size: 0.95rem;
	font-weight: 800;
	text-decoration: none;
	border-bottom: 2px solid #cf9ec2;
	padding-bottom: 0.2rem;
	transition: border-color 0.2s;
}

.jcu-ptn__cta-btn:hover {
	border-color: #fff;
}

/* Single profile */

.jcu-ptn-single__hero-inner {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.jcu-ptn-single__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 120px;
	height: 120px;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
	overflow: hidden;
}

.jcu-ptn-single__logo img {
	max-width: 96px;
	max-height: 96px;
	object-fit: contain;
}

.jcu-ptn-single__logo .jcu-ptn-card__mono {
	font-size: 2.2rem;
	border-radius: 20px;
}

.jcu-ptn-single__back:hover {
	color: #fff !important;
}

.jcu-ptn-single__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin-top: 0.9rem;
}

.jcu-ptn-single__chip {
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #fff;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.3rem 0.85rem;
	border-radius: 999px;
}

.jcu-ptn-single__site {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: #e3a3cd !important;
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
}

.jcu-ptn-single__site:hover {
	text-decoration: underline;
}

.jcu-ptn-single__site svg {
	width: 15px;
	height: 15px;
}

.jcu-ptn-single__layout {
	max-width: 1200px;
	margin: 0 auto;
	padding: 3rem 1.25rem 4rem;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 3.5rem;
	align-items: start;
}

.jcu-ptn-single__content {
	font-size: 1.08rem;
	line-height: 1.8;
	color: #333;
}

.jcu-ptn-single__content h2,
.jcu-ptn-single__content h3 {
	color: #1c1c1f;
	font-weight: 700;
	line-height: 1.3;
	margin: 2.2rem 0 0.8rem;
}

.jcu-ptn-single__content h2 {
	font-size: 1.3rem;
}

.jcu-ptn-single__content h3 {
	font-size: 1.12rem;
}

.jcu-ptn-single__content > p:first-of-type {
	font-size: 1.28rem;
	line-height: 1.65;
	color: #1f1f23;
	border-left: 4px solid;
	border-image: linear-gradient(180deg, #68267e, #a8468d) 1;
	padding-left: 1.3rem;
	margin-bottom: 2rem;
}

.jcu-ptn-single__aside {
	position: sticky;
	top: 90px;
	display: flex;
	flex-direction: column;
	gap: 1.4rem;
}

.jcu-ptn-single__peers {
	background: #faf8fb;
	border: 1px solid #eee5f1;
	border-radius: 16px;
	padding: 1.4rem 1.5rem;
}

.jcu-ptn-single__peers h2 {
	margin: 0 0 0.9rem;
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--jcup-purple);
}

.jcu-ptn-single__peers ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.jcu-ptn-single__peers a {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	color: #2a2a2e !important;
	font-size: 0.93rem;
	font-weight: 600;
	text-decoration: none;
	padding: 0.45rem 0.6rem;
	border-radius: 10px;
	transition: background 0.15s, color 0.15s;
}

.jcu-ptn-single__peers a:hover {
	background: var(--jcup-soft);
	color: var(--jcup-purple) !important;
}

.jcu-ptn-single__peer-mono {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: linear-gradient(150deg, #5a2148, var(--jcup-purple));
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
}

@media (max-width: 1000px) {
	.jcu-ptn-single__layout {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.jcu-ptn-single__aside {
		position: static;
	}
}

@media (max-width: 640px) {
	.jcu-ptn-single__hero-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.25rem;
	}
}

/* ---------- Profile: areas of operation map ---------- */

.jcu-ptn-map {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid #e8e2ec;
}

.jcu-ptn-map__title {
	margin: 0 0 1rem;
	font-size: 1.35rem;
	font-weight: 700;
	color: #221024;
}

.jcu-ptn-map__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0 0 1.1rem;
	padding: 0;
	list-style: none;
}

.jcu-ptn-map__chip {
	padding: 0.28rem 0.75rem;
	border: 1px solid #d9cfe0;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 600;
	color: #4c2a56;
	background: #faf7fb;
}

.jcu-ptn-map__chip--nopin {
	color: #8a7f90;
	border-style: dashed;
	background: transparent;
}

.jcu-ptn-map__canvas {
	display: block !important;
	width: 100%;
	height: 340px;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid #e8e2ec;
	z-index: 0;
}

@media (max-width: 640px) {
	.jcu-ptn-map__canvas {
		height: 280px;
	}
}

/* Purple CSS pin + popup (offices.css is not loaded on partner pages) */

.jcu-map-pin {
	display: block;
	width: 22px;
	height: 22px;
	background: #68267e;
	border: 3px solid #fff;
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	box-shadow: 0 3px 10px rgba(30, 10, 38, 0.4);
}

.jcu-map-pin-wrap:hover .jcu-map-pin {
	background: #7d3269;
}

.jcu-map-pop {
	font-family: "Google Sans Flex", -apple-system, sans-serif;
	font-size: 0.85rem;
}

.jcu-map-pop strong {
	font-size: 0.95rem;
	color: #1c1c1f;
}

.leaflet-popup-content-wrapper {
	border-radius: 12px;
}

/* ---------- Profile: public contact details card ---------- */

.jcu-ptn-single__contacts {
	background: #faf8fb;
	border: 1px solid #eee5f1;
	border-radius: 16px;
	padding: 1.4rem 1.5rem;
}

.jcu-ptn-single__contacts h2 {
	margin: 0 0 0.9rem;
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--jcup-purple);
}

.jcu-ptn-single__contacts ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	max-height: 420px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #d9cfe0 transparent;
}

.jcu-ptn-single__contacts li {
	font-size: 0.88rem;
	line-height: 1.5;
	color: #46374d;
	padding-left: 0.9rem;
	border-left: 2px solid #e3d5ea;
	overflow-wrap: anywhere;
}

.jcu-ptn-single__contacts li a {
	color: var(--jcup-purple);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.jcu-ptn-single__contacts li a:hover {
	text-decoration: underline;
}

/* Pin popup contact lists */

.jcu-map-pop__contacts {
	margin: 0.5rem 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.jcu-map-pop__contacts li {
	font-size: 0.8rem;
	line-height: 1.45;
	color: #46374d;
	padding-left: 0.7rem;
	border-left: 2px solid #e3d5ea;
}

.jcu-map-pop__contacts a {
	color: #68267e !important;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.jcu-map-pop__contacts a:hover {
	text-decoration: underline;
}

/* Filter strip arrows (desktop affordance for the scrollable pills) */

.jcu-ptn__filters-wrap {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	flex: 1;
	min-width: 0;
}

.jcu-ptn__filters-wrap .jcu-ptn__filters {
	flex: 1;
	min-width: 0;
	scroll-behavior: smooth;
}

.jcu-ptn__filters-wrap .jcu-ptn__filters-arrow,
.jcu-ptn__filters-wrap .jcu-ptn__filters-arrow:focus {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	background: #fff;
	border: 1px solid #d9cfe0;
	border-radius: 50%;
	color: #68267e;
	box-shadow: none;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.jcu-ptn__filters-wrap .jcu-ptn__filters-arrow:hover {
	background: #68267e;
	border-color: #68267e;
	color: #fff;
}

.jcu-ptn__filters-wrap .jcu-ptn__filters-arrow svg {
	width: 16px;
	height: 16px;
}

.jcu-ptn__filters-wrap .jcu-ptn__filters-arrow[hidden] {
	display: none;
}

/* ==========================================================================
   Partners widget — group directory design.
   ========================================================================== */

.jcu-ptnw {
	--jcupw-purple: #68267e;
	--jcupw-ink: #221024;
	--jcupw-line: #e8e2ec;
}

.jcu-ptnw__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.jcu-ptnw__kicker {
	display: block;
	color: var(--jcupw-purple);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	margin-bottom: 0.5rem;
}

.jcu-ptnw .jcu-ptnw__title {
	margin: 0 0 0.6rem;
	font-size: clamp(1.7rem, 3.5vw, 2.4rem);
	font-weight: 800;
	line-height: 1.12;
	color: var(--jcupw-ink);
}

.jcu-ptnw__intro {
	margin: 0;
	max-width: 56ch;
	color: #5c4f63;
	line-height: 1.65;
}

.jcu-ptnw__figure {
	text-align: right;
	flex-shrink: 0;
}

.jcu-ptnw__figure strong {
	display: block;
	font-size: clamp(3rem, 6vw, 4.6rem);
	font-weight: 800;
	line-height: 0.95;
	color: transparent;
	-webkit-text-stroke: 2px var(--jcupw-purple);
	text-stroke: 2px var(--jcupw-purple);
}

.jcu-ptnw__figure span {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #7c6f83;
}

/* Group rows — two ruled columns on desktop */

.jcu-ptnw__groups {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 3rem;
	border-top: 2px solid var(--jcupw-ink);
}

.jcu-ptnw__groups li {
	margin: 0;
	border-bottom: 1px solid var(--jcupw-line);
}

.jcu-ptnw .jcu-ptnw__groups a,
.jcu-ptnw .jcu-ptnw__groups a:visited {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 0.7rem;
	text-decoration: none;
	color: var(--jcupw-ink);
}

.jcu-ptnw .jcu-ptnw__groups a::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--jcupw-purple);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
	z-index: -1;
}

.jcu-ptnw__group-name {
	display: block;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.3;
}

.jcu-ptnw__group-name small {
	font-size: 0.78rem;
	font-weight: 800;
	color: var(--jcupw-purple);
	margin-left: 0.35rem;
}

.jcu-ptnw__group-sample {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.8rem;
	color: #7c6f83;
	line-height: 1.45;
}

.jcu-ptnw__group-go {
	font-weight: 800;
	color: #b9a6c4;
	transition: transform 0.2s, color 0.15s;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.jcu-ptnw .jcu-ptnw__groups a:hover::before {
		transform: scaleX(1);
	}

	.jcu-ptnw .jcu-ptnw__groups a:hover,
	.jcu-ptnw .jcu-ptnw__groups a:hover .jcu-ptnw__group-name small,
	.jcu-ptnw .jcu-ptnw__groups a:hover .jcu-ptnw__group-go {
		color: #fff;
	}

	.jcu-ptnw .jcu-ptnw__groups a:hover .jcu-ptnw__group-sample {
		color: rgba(255, 255, 255, 0.75);
	}

	.jcu-ptnw .jcu-ptnw__groups a:hover .jcu-ptnw__group-go {
		transform: translateX(3px);
	}
}

/* Footer row: CTA + remainder note */

.jcu-ptnw__foot {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1.5rem;
	margin-top: 1.6rem;
	flex-wrap: wrap;
}

.jcu-ptnw a.jcu-ptnw__cta,
.jcu-ptnw a.jcu-ptnw__cta:visited {
	color: var(--jcupw-ink);
	font-weight: 800;
	text-decoration: none;
	border-bottom: 2px solid var(--jcupw-purple);
	padding-bottom: 2px;
	transition: color 0.15s;
}

.jcu-ptnw a.jcu-ptnw__cta:hover {
	color: var(--jcupw-purple);
}

.jcu-ptnw__more {
	font-size: 0.84rem;
	color: #7c6f83;
	font-weight: 600;
}

/* Slim scrolling names strip */

.jcu-ptnw__ticker {
	margin-top: 2.4rem;
	padding-top: 1.1rem;
	border-top: 1px solid var(--jcupw-line);
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.jcu-ptnw__ticker-track {
	display: flex;
	width: max-content;
	animation: jcu-marquee-left 55s linear infinite;
}

.jcu-ptnw__ticker-track span {
	white-space: nowrap;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #9c8fa3;
}

.jcu-ptnw__ticker-track span::after {
	content: "\25C6";
	font-size: 0.5em;
	color: var(--jcupw-purple);
	margin: 0 1.4em;
	vertical-align: middle;
}

@media (prefers-reduced-motion: reduce) {
	.jcu-ptnw__ticker-track {
		animation: none;
		flex-wrap: wrap;
	}
}

@media (max-width: 767px) {
	.jcu-ptnw__groups {
		grid-template-columns: 1fr;
	}

	.jcu-ptnw__figure {
		text-align: left;
	}
}

/* ==========================================================================
   Partners widget — interactive group explorer.
   ========================================================================== */

.jcu-ptnx__body {
	display: grid;
	grid-template-columns: minmax(240px, 1.1fr) 2fr;
	gap: 2.5rem;
	align-items: start;
	border-top: 2px solid var(--jcupw-ink);
	padding-top: 1.6rem;
}

/* Group list */

.jcu-ptnx__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.jcu-ptnx__list li {
	margin: 0;
	border-bottom: 1px solid var(--jcupw-line);
}

.jcu-ptnx .jcu-ptnx__item,
.jcu-ptnx .jcu-ptnx__item:focus {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 0.85rem 0.7rem;
	font-family: inherit;
	font-size: 0.98rem;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: none;
	text-align: left;
	color: var(--jcupw-ink);
	cursor: pointer;
	position: relative;
	isolation: isolate;
	transition: color 0.15s, padding-left 0.2s;
}

.jcu-ptnx .jcu-ptnx__item small {
	font-size: 0.76rem;
	font-weight: 800;
	color: #b9a6c4;
}

.jcu-ptnx .jcu-ptnx__item::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--jcupw-purple);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
	z-index: -1;
}

.jcu-ptnx .jcu-ptnx__item.is-active {
	color: #fff;
	padding-left: 1.1rem;
}

.jcu-ptnx .jcu-ptnx__item.is-active::before {
	transform: scaleX(1);
}

.jcu-ptnx .jcu-ptnx__item.is-active small {
	color: rgba(255, 255, 255, 0.8);
}

/* Preview panel */

.jcu-ptnx__panels {
	position: relative;
	min-height: 320px;
}

.jcu-ptnx__panel {
	display: none;
	background: #faf8fb;
	border: 1px solid var(--jcupw-line);
	border-radius: 4px;
	padding: 1.6rem 1.8rem 1.8rem;
	animation: jcu-ptnx-fade 0.3s ease;
}

.jcu-ptnx__panel.is-active {
	display: block;
}

@keyframes jcu-ptnx-fade {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.jcu-ptnx__panel {
		animation: none;
	}
}

.jcu-ptnx__panel-head {
	display: flex;
	align-items: baseline;
	gap: 1rem;
	margin-bottom: 1.2rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--jcupw-line);
}

.jcu-ptnx__panel-count {
	font-size: 2.4rem;
	font-weight: 800;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1.8px var(--jcupw-purple);
	text-stroke: 1.8px var(--jcupw-purple);
}

.jcu-ptnx__panel-name {
	flex: 1;
	font-size: 1.12rem;
	font-weight: 800;
	color: var(--jcupw-ink);
}

.jcu-ptnx .jcu-ptnx__panel-all,
.jcu-ptnx .jcu-ptnx__panel-all:visited {
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--jcupw-purple);
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
	transition: border-color 0.15s;
}

.jcu-ptnx .jcu-ptnx__panel-all:hover {
	border-bottom-color: var(--jcupw-purple);
}

/* Member chips */

.jcu-ptnx__members {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.jcu-ptnx__members li {
	margin: 0;
}

.jcu-ptnx .jcu-ptnx__members a,
.jcu-ptnx .jcu-ptnx__members a:visited {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.42rem 0.9rem;
	background: #fff;
	border: 1px solid #d9cfe0;
	border-radius: 999px;
	font-size: 0.86rem;
	font-weight: 700;
	color: #4c2a56;
	text-decoration: none;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.jcu-ptnx .jcu-ptnx__members a:hover {
	background: var(--jcupw-purple);
	border-color: var(--jcupw-purple);
	color: #fff;
}

.jcu-ptnx__members img {
	width: 20px;
	height: 20px;
	object-fit: contain;
	border-radius: 3px;
}

.jcu-ptnx .jcu-ptnx__members a.jcu-ptnx__more {
	background: var(--jcupw-soft, rgba(104, 38, 126, 0.08));
	border-color: transparent;
	color: var(--jcupw-purple);
}

.jcu-ptnx .jcu-ptnx__members a.jcu-ptnx__more:hover {
	background: var(--jcupw-purple);
	color: #fff;
}

/* Mobile: group list becomes a scrollable pill strip above the panel */

@media (max-width: 900px) {
	.jcu-ptnx__body {
		grid-template-columns: 1fr;
		gap: 1.4rem;
	}

	.jcu-ptnx__list {
		flex-direction: row;
		overflow-x: auto;
		scrollbar-width: none;
		gap: 0.45rem;
		padding-bottom: 4px;
		-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
		mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
	}

	.jcu-ptnx__list::-webkit-scrollbar {
		display: none;
	}

	.jcu-ptnx__list li {
		border-bottom: 0;
		flex-shrink: 0;
	}

	.jcu-ptnx .jcu-ptnx__item {
		border-radius: 999px;
		background: var(--jcupw-soft, rgba(104, 38, 126, 0.08));
		color: var(--jcupw-purple);
		padding: 0.45rem 1rem;
		font-size: 0.84rem;
		white-space: nowrap;
	}

	.jcu-ptnx .jcu-ptnx__item::before {
		display: none;
	}

	.jcu-ptnx .jcu-ptnx__item.is-active {
		background: var(--jcupw-purple);
		color: #fff;
		padding-left: 1rem;
	}

	.jcu-ptnx__panels {
		min-height: 0;
	}
}

/* Explorer refinement: no counts, members as a flowing editorial index */

.jcu-ptnx__members {
	row-gap: 0.85rem;
	column-gap: 0;
	align-items: baseline;
}

.jcu-ptnx__members li {
	display: inline-flex;
	align-items: baseline;
}

.jcu-ptnx__members li:not(:last-child)::after {
	content: "\25C6";
	font-size: 0.45em;
	color: #c9b3d4;
	margin: 0 0.9em;
	align-self: center;
}

.jcu-ptnx .jcu-ptnx__members a,
.jcu-ptnx .jcu-ptnx__members a:visited {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--jcupw-ink);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	padding-bottom: 2px;
	transition: color 0.15s, border-color 0.15s;
}

.jcu-ptnx .jcu-ptnx__members a:hover {
	background: transparent;
	color: var(--jcupw-purple);
	border-bottom-color: var(--jcupw-purple);
}

.jcu-ptnx .jcu-ptnx__members a.jcu-ptnx__more,
.jcu-ptnx .jcu-ptnx__members a.jcu-ptnx__more:hover {
	background: transparent;
	border-radius: 0;
	color: var(--jcupw-purple);
	font-weight: 800;
}

.jcu-ptnx .jcu-ptnx__members a.jcu-ptnx__more:hover {
	border-bottom-color: var(--jcupw-purple);
}

.jcu-ptnx__panel-name {
	font-size: 1.2rem;
}

/* Collapsible group list */

.jcu-ptnx__list li[hidden] {
	display: none;
}

.jcu-ptnx__toggle-row {
	border-bottom: 0 !important;
}

.jcu-ptnx .jcu-ptnx__toggle,
.jcu-ptnx .jcu-ptnx__toggle:focus {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 0.9rem 0.7rem;
	font-family: inherit;
	font-size: 0.88rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: none;
	color: var(--jcupw-purple);
	cursor: pointer;
	transition: color 0.15s;
}

.jcu-ptnx .jcu-ptnx__toggle:hover {
	background: transparent;
	color: var(--jcupw-ink);
}

.jcu-ptnx__toggle svg {
	width: 16px;
	height: 16px;
	transition: transform 0.25s;
}

.jcu-ptnx__toggle.is-open svg {
	transform: rotate(180deg);
}

@media (max-width: 900px) {
	/* The pill strip scrolls sideways — no need to fold there */
	.jcu-ptnx__list li[hidden] {
		display: list-item;
	}

	.jcu-ptnx__toggle-row {
		display: none;
	}
}

/* Group intro (term description) shown when a directory filter is active —
   editorial panel: identity column left, essay right */

.jcu-ptn__groupintro {
	display: grid;
	grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
	gap: 2.5rem;
	margin: 2.4rem 0 0.6rem;
	padding: 2.1rem 2.4rem;
	background: #faf8fb;
	border: 1px solid #eee5f1;
	border-left: 4px solid var(--jcup-purple, #68267e);
	border-radius: 4px;
	animation: jcu-ptn-intro-in 0.3s ease;
}

@keyframes jcu-ptn-intro-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.jcu-ptn__groupintro {
		animation: none;
	}
}

.jcu-ptn__groupintro-kicker {
	display: block;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--jcup-purple, #68267e);
	margin-bottom: 0.5rem;
}

.jcu-ptn .jcu-ptn__groupintro h2 {
	margin: 0 0 0.7rem;
	font-size: clamp(1.35rem, 2.2vw, 1.8rem);
	font-weight: 800;
	line-height: 1.18;
	color: #221024;
}

.jcu-ptn__groupintro-count {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 700;
	color: #7c6f83;
	border-top: 2px solid #221024;
	padding-top: 0.6rem;
}

.jcu-ptn__groupintro-body p {
	margin: 0 0 0.85rem;
	color: #46374d;
	font-size: 0.98rem;
	line-height: 1.75;
}

.jcu-ptn__groupintro-body p:first-child {
	font-size: 1.08rem;
	color: #221024;
	font-weight: 500;
	line-height: 1.65;
}

.jcu-ptn__groupintro-body > *:last-child {
	margin-bottom: 0;
}

/* Lists as diamond-ruled rows, matching the site's editorial lists */

.jcu-ptn__groupintro-body ul {
	list-style: none;
	margin: 0.4rem 0 1rem;
	padding: 0;
}

.jcu-ptn__groupintro-body li {
	display: flex;
	align-items: baseline;
	gap: 0.7rem;
	padding: 0.55rem 0.1rem;
	border-bottom: 1px solid #e8e2ec;
	color: #46374d;
	font-size: 0.94rem;
	font-weight: 600;
	line-height: 1.55;
}

.jcu-ptn__groupintro-body li::before {
	content: "\25C6";
	font-size: 0.5em;
	color: var(--jcup-purple, #68267e);
	flex-shrink: 0;
}

@media (max-width: 900px) {
	.jcu-ptn__groupintro {
		grid-template-columns: 1fr;
		gap: 1.2rem;
		padding: 1.5rem 1.4rem;
	}
}

/* Explorer panel blurb */

.jcu-ptnx__desc {
	margin: -0.4rem 0 1.2rem;
	color: #5c4f63;
	font-size: 0.92rem;
	line-height: 1.6;
	max-width: 64ch;
}

/* Small screens: the inline diamond index congests once names wrap, so the
   member list becomes a ruled column — one partner per line, roomier type. */

@media (max-width: 640px) {
	.jcu-ptnx__panel {
		padding: 1.3rem 1.2rem 1.4rem;
	}

	.jcu-ptnx__panel-head {
		gap: 0.75rem;
		margin-bottom: 0.4rem;
		padding-bottom: 0.85rem;
	}

	.jcu-ptnx__panel-name {
		font-size: 1.05rem;
		line-height: 1.35;
	}

	.jcu-ptnx__desc {
		font-size: 0.92rem;
		line-height: 1.65;
	}

	.jcu-ptnx__members {
		display: block;
	}

	.jcu-ptnx__members li {
		display: block;
	}

	.jcu-ptnx__members li:not(:last-child)::after {
		content: none;
	}

	.jcu-ptnx .jcu-ptnx__members a,
	.jcu-ptnx .jcu-ptnx__members a:visited {
		display: block;
		padding: 0.7rem 0;
		border-bottom: 1px solid rgba(104, 38, 126, 0.12);
		font-size: 0.95rem;
		font-weight: 600;
		line-height: 1.45;
		letter-spacing: 0;
	}

	.jcu-ptnx__members li:last-child a {
		border-bottom: 0;
	}

	.jcu-ptnx .jcu-ptnx__members a:hover {
		border-bottom-color: rgba(104, 38, 126, 0.12);
	}

	.jcu-ptnx .jcu-ptnx__members a.jcu-ptnx__more {
		font-weight: 800;
		border-bottom: 0;
		padding-top: 0.9rem;
	}
}
