/* Partners & Supporters Archive — Layout, Filters, Grid, Load More */

.psc-wrap {
	display: flex;
	align-items: flex-start;
	gap: 32px;
	font-family: 'Inter', sans-serif;
	max-width: 1280px;
	margin: 0 auto;
	padding: 32px 16px;
	box-sizing: border-box;
}

.psc-wrap *,
.psc-wrap *::before,
.psc-wrap *::after {
	box-sizing: border-box;
}

/* Sidebar */
.psc-sidebar {
	flex: 0 0 270px;
	width: 270px;
	background: #F4F2F2;
	border-radius: 8px !important;
	padding: 28px 24px;
	box-shadow: 0 4px 16px rgba(11, 31, 58, 0.03);
}

.psc-filter-heading {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 16px;
	margin-bottom: 18px;
	border-bottom: 1px solid rgba(11, 31, 58, 0.1);
}

.psc-filter-heading h3 {
	font-family: 'Cormorant', serif;
	font-size: 24px;
	font-weight: 600;
	color: #0b1f3a;
	margin: 0;
	letter-spacing: 0.01em;
}

.psc-filter-icon svg {
	display: block;
}

.psc-filter-group {
	border-bottom: 1px solid rgba(11, 31, 58, 0.08);
	padding-bottom: 14px;
	margin-bottom: 14px;
}

.psc-filter-group:last-of-type {
	border-bottom: none;
	margin-bottom: 6px;
	padding-bottom: 4px;
}

.psc-filter-group-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: #0b1f3a;
	padding: 4px 0 12px;
	user-select: none;
}

.psc-toggle-arrow {
	font-size: 9px;
	color: rgba(11, 31, 58, 0.55);
	transition: transform 0.25s ease;
}

.psc-filter-group.psc-collapsed .psc-toggle-arrow {
	transform: rotate(180deg);
}

.psc-filter-group.psc-collapsed .psc-filter-list {
	display: none;
}

.psc-filter-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 260px;
	overflow-y: auto;
}

.psc-filter-list::-webkit-scrollbar {
	width: 5px;
}

.psc-filter-list::-webkit-scrollbar-thumb {
	background: rgba(11, 31, 58, 0.2);
	border-radius: 4px;
}

.psc-filter-item {
	margin-bottom: 2px;
}

/* Custom checkbox */
.psc-filter-item label {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 6px 7px 30px;
	border-radius: 7px;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.psc-filter-item label:hover {
	background-color: rgba(11, 31, 58, 0.05);
}

.psc-filter-item input[type='checkbox'] {
	position: absolute !important;
	inset: 0 !important;
	opacity: 0 !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	margin: 0 !important;
	width: 100% !important;
	height: 100% !important;
	cursor: pointer !important;
	z-index: 2 !important;
}

.psc-checkbox-ui {
	position: absolute !important;
	left: 6px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px !important;
	height: 16px !important;
	border: 1.5px solid rgba(11, 31, 58, 0.28) !important;
	border-radius: 3px !important;
	background: #ffffff !important;
	transition: background-color 0.2s ease, border-color 0.2s ease;
	z-index: 1;
	flex-shrink: 0;
	pointer-events: none;
	display: block !important;
}

.psc-filter-item input:checked ~ .psc-checkbox-ui {
	background: #0b1f3a !important;
	border-color: #0b1f3a !important;
}

.psc-checkbox-ui::after {
	content: '' !important;
	position: absolute !important;
	left: 4.5px;
	top: 1px;
	width: 4px;
	height: 8px;
	border: solid #ffffff !important;
	border-width: 0 2px 2px 0 !important;
	transform: rotate(45deg) scale(0);
	transition: transform 0.15s ease;
	display: block !important;
}

.psc-filter-item input:checked ~ .psc-checkbox-ui::after {
	transform: rotate(45deg) scale(1) !important;
}

.psc-checkbox-label {
	position: relative;
	z-index: 1;
	font-size: 14px;
	font-weight: 400;
	color: #0b1f3a;
	line-height: 1.3;
}

/* Clear filters button */
.psc-clear-filters {
	display: inline-flex !important;
	align-items: center !important;
	gap: 7px !important;
	background: transparent !important;
	border: 1.5px solid #0b1f3a !important;
	border-radius: 5px !important;
	padding: 9px 20px !important;
	margin-top: 10px !important;
	font-family: 'Inter', sans-serif !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	color: #0b1f3a !important;
	cursor: pointer !important;
	text-decoration: none !important;
	transition: background-color 0.25s ease, color 0.25s ease !important;
}

.psc-clear-filters:hover {
	background: #be9047 !important;
	border-color: #be9047 !important;
	color: #ffffff !important;
}

.psc-clear-icon {
	font-size: 14px;
	display: inline-block;
	transition: transform 0.4s ease;
}

.psc-clear-filters:hover .psc-clear-icon {
	transform: rotate(-180deg);
}

/* Content area / top bar */
.psc-content {
	flex: 1 1 auto;
	min-width: 0;
}

.psc-top-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 16px;
	margin-bottom: 22px;
}

.psc-showing-count {
	font-size: 14px;
	color: rgba(11, 31, 58, 0.65);
	white-space: nowrap;
}

.psc-sort-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #0b1f3a;
	flex-shrink: 0;
	white-space: nowrap;
}

.psc-sort-wrap label {
	white-space: nowrap;
}

.psc-sort-wrap select {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	color: #0b1f3a;
	border: 1px solid rgba(11, 31, 58, 0.18);
	border-radius: 6px;
	padding: 7px 12px;
	background: #ffffff;
	cursor: pointer;
	white-space: nowrap;
}

/* Grid */
.psc-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
	transition: opacity 0.2s ease;
}

.psc-grid.psc-loading {
	opacity: 0.4;
	pointer-events: none;
}

.psc-no-results {
	grid-column: 1 / -1;
	text-align: center;
	color: rgba(11, 31, 58, 0.6);
	font-size: 15px;
	padding: 50px 0;
}

/* Load more */
.psc-load-more-wrap {
	text-align: center;
	margin-top: 36px;
}

.psc-load-more-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	min-width: 160px;
	border: none !important;
	border-radius: 5px !important;
	background: #0b1f3a !important;
	color: #ffffff !important;
	font-family: 'Inter', sans-serif !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
	padding: 13px 28px !important;
	cursor: pointer !important;
	transition: background-color 0.25s ease, opacity 0.2s ease !important;
}

.psc-load-more-btn:hover {
	background: #be9047 !important;
	opacity: 1 !important;
}

.psc-load-more-btn:disabled {
	cursor: not-allowed !important;
	opacity: 0.75 !important;
}

.psc-spinner {
	display: none;
	width: 15px;
	height: 15px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: psc-spin 0.7s linear infinite;
}

@keyframes psc-spin {
	to {
		transform: rotate(360deg);
	}
}

/* -----------------------------------------------------------
 * Partner Card
 * -------------------------------------------------------- */
.psc-card {
	background: #ffffff;
	border-radius: 7px !important;
	border: 1px solid rgba(11, 31, 58, 0.08);
	overflow: hidden;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
	display: flex;
	flex-direction: column;
}

.psc-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 40px rgba(11, 31, 58, 0.08);
}


.psc-card-image {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 200px;
	padding: 24px;
	background: #f9f9f7;
	border-bottom: 1px solid rgba(11, 31, 58, 0.06);
	text-decoration: none !important;
	transition: background-color 0.35s ease;
}

.psc-card:hover .psc-card-image {
	background: #f4f1ec;
}

.psc-card-image img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
}

.psc-card-image-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(180deg, #eef1f5 0%, #e6e9ee 100%);
	border-radius: 4px;
}

.psc-card-content {
	padding: 18px !important;
	display: flex !important;
	flex-direction: column !important;
	flex-grow: 1 !important;
	text-align: left !important;
	align-items: flex-start !important;
	border-top: 3px solid #be9047 !important;
}

.psc-card-title {
	color: #0b1f3a !important;
	font-family: 'Cormorant', serif !important;
	font-size: 22px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	text-align: left !important;
	margin: 0 0 6px !important;
	width: 100% !important;
}

/* partner-type label — #be9047, uppercase, as requested */
.psc-card-type {
	color: #be9047 !important;
	font-family: 'Inter', sans-serif !important;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	text-align: left !important;
	margin: 0 0 10px !important;
	width: 100% !important;
}

.psc-icon {
	color: rgba(11, 31, 58, 0.5) !important;
	font-size: 14px !important;
	flex-shrink: 0 !important;
}

.psc-card-link {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 6px !important;
	color: #0b1f3a !important;
	font-family: 'Inter', sans-serif !important;
	font-weight: 600 !important;
	font-size: 13px !important;
	letter-spacing: 0.5px !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	text-align: left !important;
	position: relative !important;
	width: fit-content !important;
	margin: auto 0 0 !important;
}

a.psc-card-link,
a .psc-card-link {
	color: #0b1f3a !important;
}

.psc-arrow {
	transition: transform 0.3s ease !important;
}

.psc-card:hover .psc-arrow {
	transform: translateX(5px) !important;
}

.psc-card-link::after {
	content: '' !important;
	position: absolute !important;
	left: 0 !important;
	right: auto !important;
	margin: 0 !important;
	bottom: -4px !important;
	width: 0 !important;
	height: 2px !important;
	background: #be9047 !important;
	transition: width 0.3s ease !important;
}

.psc-card:hover .psc-card-link::after {
	width: 32px;
}

/* Responsive */
@media (max-width: 1024px) {
	.psc-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.psc-sidebar {
		flex: 0 0 230px;
		width: 230px;
	}
}

@media (max-width: 768px) {
	.psc-wrap {
		flex-direction: column;
		padding: 20px 12px;
	}

	.psc-sidebar {
		width: 100%;
		flex: 1 1 auto;
	}

	.psc-grid {
		grid-template-columns: 1fr;
	}

	.psc-top-bar {
		flex-wrap: wrap;
		align-items: flex-start;
		gap: 10px;
	}
}