/* ============================================================
   PARTNERS & PROJECTS PAGE
   ============================================================ */

/* ── Layout ───────────────────────────────────────────────── */

.partners-projects-page .uw-content {
	padding-top: 0;
}

.pp-layout {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	gap: 48px;
	padding: 40px 0 60px;
}

.pp-col-left {
	-webkit-box-flex: 1;
	    -ms-flex: 1 1 0%;
	        flex: 1 1 0%;
	min-width: 0;
}

.pp-col-right {
	width: 420px;
	-ms-flex-negative: 0;
	    flex-shrink: 0;
}

/* ── Page title / intro ───────────────────────────────────── */

.pp-page-title {
	font-family: "Encode Sans Bold 700", sans-serif;
	color: #1a1250;
	font-size: 2.4em;
	font-weight: 800;
	margin: 0 0 12px 0;
}

.pp-page-intro {
	color: #3d3d3d;
	font-size: .95em;
	line-height: 1.6;
	margin: 0 0 32px 0;
	max-width: 480px;
}

.pp-section-title {
	font-family: "Encode Sans Bold 700", sans-serif;
	color: #1a1250;
	font-size: 1.3em;
	font-weight: 800;
	margin: 0 0 16px 0;
}

/* ── Tabs ─────────────────────────────────────────────────── */

.pp-tabs {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	border-bottom: 2px solid #e2e2e2;
	margin-bottom: 24px;
	overflow-x: auto;
	-ms-overflow-style: none;
	scrollbar-width: none;
	gap: 0;
	-ms-flex-wrap: nowrap;
	    flex-wrap: nowrap;
}

.pp-tabs::-webkit-scrollbar { display: none; }

.pp-tab {
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	padding: 10px 18px 10px 0;
	font-family: "Encode Sans Normal 400", sans-serif;
	font-size: .9em;
	color: #555;
	cursor: pointer;
	white-space: nowrap;
	-webkit-transition: color .15s, border-color .15s;
	        transition: color .15s, border-color .15s;
	outline-offset: 2px;
}

.pp-tab:hover {
	color: #4b2e83;
}

.pp-tab.is-active {
	color: #4b2e83;
	border-bottom-color: #4b2e83;
	font-family: "Encode Sans Semibold 600", sans-serif;
	font-weight: 600;
}

/* ── Card grid ────────────────────────────────────────────── */

.pp-card-panel {
	display: none;
}

.pp-card-panel.is-active {
	display: block;
}

.pp-card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

/* ── Flip card ────────────────────────────────────────────── */

.pp-card {
	-webkit-perspective: 900px;
	        perspective: 900px;
	height: 170px;
	outline: none;
}

.pp-card-inner {
	position: relative;
	width: 100%;
	height: 100%;
	-webkit-transform-style: preserve-3d;
	        transform-style: preserve-3d;
	-webkit-transition: -webkit-transform .45s cubic-bezier(.4,0,.2,1);
	        transition: transform .45s cubic-bezier(.4,0,.2,1);
}

/* Hover (non-touch) and keyboard focus flip */
body:not(.pp-touch) .pp-card:hover .pp-card-inner,
.pp-card:focus-within .pp-card-inner,
.pp-card.is-flipped .pp-card-inner {
	-webkit-transform: rotateY(180deg);
	        transform: rotateY(180deg);
}

.pp-card-face {
	position: absolute;
	inset: 0;
	-webkit-backface-visibility: hidden;
	        backface-visibility: hidden;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	background: #fff;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	padding: 14px 10px;
	overflow: hidden;
}

/* Front */

.pp-card-front {}

.pp-card-logo-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 90px;
	overflow: hidden;
}

.pp-card-logo-wrap--dark {
	width: 72%;
	height: 56px;
	padding: 8px 14px;
	border-radius: 4px;
	background: #2b1548;
}

.pp-card-logo {
	max-width: 100%;
	max-height: 80px;
	width: auto;
	height: auto;
	-o-object-fit: contain;
	   object-fit: contain;
	display: block;
}

.pp-card-initials {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background-color: #4b2e83;
	color: #fff;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	font-family: "Encode Sans Bold 700", sans-serif;
	font-size: .75em;
	font-weight: 800;
	letter-spacing: .03em;
}

.pp-card-name {
	margin: 8px 0 0 0;
	font-size: .78em;
	color: #1a1250;
	text-align: center;
	line-height: 1.3;
	font-weight: 600;
}

/* Back */

.pp-card-back {
	-webkit-transform: rotateY(180deg);
	        transform: rotateY(180deg);
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	padding: 12px;
	overflow-y: auto;
	background: #f9f7ff;
}

.pp-card-back-inner {
	width: 100%;
}

.pp-card-back-org {
	font-size: .72em;
	font-weight: 700;
	color: #4b2e83;
	margin: 0 0 6px 0;
	line-height: 1.25;
}

.pp-card-back-label {
	font-size: .68em;
	font-weight: 600;
	color: #666;
	margin: 0 0 4px 0;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.pp-card-back-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pp-card-back-list li {
	font-size: .72em;
	border-bottom: 1px solid #e8e2f5;
	padding: 2px 0;
	line-height: 1.3;
	color: #2d2d2d;
}

.pp-card-back-list li:last-child {
	border-bottom: none;
}

.pp-project-btn {
	background: none;
	border: none;
	padding: 0;
	color: #4b2e83;
	font-size: inherit;
	font-family: inherit;
	cursor: pointer;
	text-align: left;
	text-decoration: underline;
	text-decoration-color: rgba(75,46,131,.3);
	-webkit-transition: text-decoration-color .15s;
	        transition: text-decoration-color .15s;
	line-height: 1.3;
}

.pp-project-btn:hover,
.pp-project-btn:focus {
	text-decoration-color: #4b2e83;
	outline: none;
}

.pp-project-btn:focus-visible {
	outline: 2px solid #4b2e83;
	outline-offset: 2px;
	border-radius: 2px;
}

/* Card hint */

.pp-card-hint {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	gap: 6px;
	margin-top: 16px;
	font-size: .82em;
	color: #666;
	font-style: italic;
}

.pp-hint-icon {
	width: 16px;
	height: 16px;
	-ms-flex-negative: 0;
	    flex-shrink: 0;
}

/* ── Right column ─────────────────────────────────────────── */

.pp-projects-title {
	font-family: "Encode Sans Bold 700", sans-serif;
	color: #1a1250;
	font-size: 1.3em;
	font-weight: 800;
	margin: 0 0 10px 0;
}

.pp-projects-intro {
	font-size: .9em;
	color: #555;
	line-height: 1.55;
	margin: 0 0 20px 0;
}

/* ── Accordion ────────────────────────────────────────────── */

.pp-accordion {
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	overflow: hidden;
}

.pp-acc-item + .pp-acc-item {
	border-top: 1px solid #e2e2e2;
}

.pp-acc-extra .pp-acc-item:first-child {
	border-top: 1px solid #e2e2e2;
}

.pp-acc-trigger {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	gap: 12px;
	width: 100%;
	background: #fff;
	border: none;
	padding: 14px 16px;
	cursor: pointer;
	text-align: left;
	-webkit-transition: background .15s;
	        transition: background .15s;
}

.pp-acc-trigger:hover {
	background: #faf9ff;
}

.pp-acc-trigger:focus-visible {
	outline: 2px solid #4b2e83;
	outline-offset: -2px;
}

.pp-acc-num {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background-color: #4b2e83;
	color: #fff;
	font-size: .78em;
	font-weight: 700;
	-ms-flex-negative: 0;
	    flex-shrink: 0;
	font-family: "Encode Sans Bold 700", sans-serif;
}

.pp-acc-title {
	-webkit-box-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
	font-size: .88em;
	color: #1a1250;
	font-weight: 500;
	line-height: 1.35;
}

.pp-acc-icon {
	-ms-flex-negative: 0;
	    flex-shrink: 0;
	width: 18px;
	height: 18px;
	color: #4b2e83;
}

.pp-acc-icon svg {
	width: 18px;
	height: 18px;
	display: block;
}

.pp-acc-icon .pp-icon-minus { display: none; }

.pp-acc-trigger[aria-expanded="true"] .pp-acc-icon .pp-icon-plus  { display: none; }
.pp-acc-trigger[aria-expanded="true"] .pp-acc-icon .pp-icon-minus { display: block; }

.pp-acc-body {
	background: #fff;
	overflow: hidden;
}

.pp-acc-content {
	padding: 4px 16px 16px 56px;
	border-top: 1px solid #f0edf8;
}

.pp-acc-desc {
	font-size: .85em;
	color: #3d3d3d;
	line-height: 1.6;
	margin: 0 0 12px 0;
}

.pp-acc-meta {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 4px 12px;
	margin: 0;
}

.pp-acc-meta dt {
	font-size: .8em;
	font-weight: 700;
	color: #555;
	white-space: nowrap;
}

.pp-acc-meta dd {
	font-size: .8em;
	color: #2d2d2d;
	margin: 0;
}

/* View all */

.pp-view-all-wrap {
	text-align: center;
	padding: 14px 0 4px;
}

.pp-view-all-btn {
	background: none;
	border: none;
	cursor: pointer;
	color: #4b2e83;
	font-family: "Encode Sans Normal 400", sans-serif;
	font-size: .88em;
	font-weight: 600;
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	gap: 8px;
	padding: 4px 8px;
	border-radius: 4px;
	-webkit-transition: background .15s;
	        transition: background .15s;
}

.pp-view-all-btn:hover {
	background: #f0edf8;
}

.pp-view-all-btn:focus-visible {
	outline: 2px solid #4b2e83;
}

.pp-view-all-dots {
	letter-spacing: 2px;
	font-size: .9em;
}

/* ── Modal ────────────────────────────────────────────────── */

.pp-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 9000;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	background: rgba(10,5,30,.5);
	-webkit-backdrop-filter: blur(3px);
	        backdrop-filter: blur(3px);
	padding: 20px;
}

.pp-modal-overlay[hidden] {
	display: none;
}

.pp-modal-card {
	background: #fff;
	border-radius: 8px;
	padding: 32px 28px 28px;
	max-width: 520px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	-webkit-box-shadow: 0 8px 32px rgba(0,0,0,.2);
	        box-shadow: 0 8px 32px rgba(0,0,0,.2);
}

.pp-modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	color: #555;
	border-radius: 4px;
	line-height: 0;
	-webkit-transition: background .15s;
	        transition: background .15s;
}

.pp-modal-close:hover { background: #f0edf8; }

.pp-modal-close svg {
	width: 18px;
	height: 18px;
	display: block;
}

.pp-modal-close:focus-visible {
	outline: 2px solid #4b2e83;
}

.pp-modal-title {
	font-family: "Encode Sans Bold 700", sans-serif;
	font-size: 1.15em;
	color: #1a1250;
	margin: 0 28px 10px 0;
	line-height: 1.35;
}

.pp-modal-desc {
	font-size: .9em;
	color: #3d3d3d;
	line-height: 1.6;
	margin: 0 0 18px 0;
}

.pp-modal-meta {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 6px 14px;
	margin: 0;
	border-top: 1px solid #e8e2f5;
	padding-top: 14px;
}

.pp-modal-meta dt {
	font-size: .85em;
	font-weight: 700;
	color: #4b2e83;
	white-space: nowrap;
}

.pp-modal-meta dd {
	font-size: .85em;
	color: #2d2d2d;
	margin: 0;
}

/* ── Responsive ───────────────────────────────────────────── */

@media only screen and (max-width: 991px) {
	.pp-layout {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		gap: 40px;
	}
	.pp-col-right {
		width: 100%;
	}
}

@media only screen and (max-width: 767px) {
	.pp-card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.pp-page-title {
		font-size: 1.9em;
	}
}

@media only screen and (max-width: 480px) {
	.pp-card-grid {
		grid-template-columns: 1fr;
	}
	.pp-card {
		height: 155px;
	}
}
