﻿/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ABOUT â€” RECOGNITION & PARTNERS  (rp-*)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.rp-hero {
	position: relative;
	min-height: 55vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	color: #fff;
}

.rp-hero-bg {
	position: absolute;
	inset: 0;
	background: url('https://uigreenmetric.com/wp-content/uploads/2024/01/banner-about.jpg') center / cover;
	opacity: 0.3;
}

.rp-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, rgba(8,30,16,.85), rgba(16,73,35,.65));
}

.rp-hero-content {
	position: relative;
	text-align: left;
	max-width: 720px;
}

.rp-hero-content h1 {
	font-size: clamp(1.8rem, 3.5vw, 2.8rem);
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 1rem;
}

.rp-hero-content p {
	font-size: 1rem;
	line-height: 1.7;
	color: rgba(255,255,255,.85);
	max-width: 600px;
}

/* â”€â”€ Shared section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.rp-section {
	padding: 5rem 0;
}

.rp-section--light {
	background: #f9faf9;
}

.rp-section-label {
	font-size: clamp(1.4rem, 3vw, 2rem);
	font-weight: 800;
	text-align: center;
	color: var(--gray-900);
	margin-bottom: 2.5rem;
}

.rp-count {
	font-size: .85rem;
	font-weight: 500;
	color: var(--gray-700);
}

/* â”€â”€ Flagship Host Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.rp-hosts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.rp-host-card {
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(0,0,0,.08);
	transition: transform .3s ease, box-shadow .3s ease;
}

.rp-host-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 50px rgba(0,0,0,.14);
}

.rp-host-img {
	position: relative;
	height: 280px;
	overflow: hidden;
}

.rp-host-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
}

.rp-host-card:hover .rp-host-img img {
	transform: scale(1.06);
}

.rp-host-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 1.5rem;
	background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
	color: #fff;
}

.rp-host-overlay strong {
	display: block;
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: .2rem;
}

.rp-host-overlay span {
	font-size: .82rem;
	color: rgba(255,255,255,.8);
}

/* â”€â”€ Network header + Region tabs â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.rp-network-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 2rem;
}

.rp-network-header .rp-section-label {
	margin-bottom: 0;
	text-align: left;
}

.rp-region-tabs {
	display: flex;
	gap: .5rem;
	flex-wrap: wrap;
}

.rp-tab {
	padding: .45rem 1rem;
	border: 1.5px solid rgba(0,0,0,.12);
	border-radius: 20px;
	background: transparent;
	font-size: .82rem;
	font-weight: 600;
	color: var(--gray-700);
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s;
}

.rp-tab:hover,
.rp-tab.is-active {
	background: var(--green-600);
	color: #fff;
	border-color: var(--green-600);
}

/* â”€â”€ University / Sponsor Grid â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.rp-network-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.25rem;
	align-items: stretch;
}

.rp-uni-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem;
	background: #fff;
	border-radius: 12px;
	border: 1.5px solid rgba(0,0,0,.06);
	text-decoration: none;
	color: inherit;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
	min-width: 0;
}

.rp-uni-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(0,0,0,.08);
	border-color: var(--green-500);
}

.rp-uni-logo {
	width: 60px;
	height: 60px;
	flex-shrink: 0;
	border-radius: 10px;
	overflow: hidden;
	background: #f5f7f5;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rp-uni-logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.rp-uni-logo-placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--green-700);
	font-size: .9rem;
	font-weight: 800;
	letter-spacing: .04em;
	background: #eef6f0;
}

.rp-uni-info {
	flex: 1;
	min-width: 0;
}

.rp-uni-name {
	display: block;
	font-size: .88rem;
	font-weight: 600;
	color: var(--gray-900);
	line-height: 1.3;
	margin-bottom: .3rem;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.rp-uni-badge {
	display: inline-block;
	font-size: .68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: .2rem .55rem;
	border-radius: 6px;
}

.rp-uni-badge--gold {
	background: rgba(200,169,81,.12);
	color: #a8872e;
}

.rp-uni-badge--silver {
	background: rgba(138,138,138,.1);
	color: #6b6b6b;
}

.rp-uni-badge--platinum {
	background: rgba(37,99,235,.08);
	color: #2563eb;
}

.rp-uni-badge--bronze {
	background: rgba(180,120,60,.1);
	color: #9a6530;
}

/* â”€â”€ Recognition & Partners Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 900px) {
	.rp-hosts-grid {
		grid-template-columns: 1fr 1fr;
	}
	.rp-hosts-grid .rp-host-card:last-child {
		grid-column: 1 / -1;
		max-width: 400px;
		margin: 0 auto;
	}
	.rp-host-img {
		height: 220px;
	}
	.rp-network-header {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 600px) {
	.rp-hero {
		min-height: 45vh;
	}
	.rp-hero-content h1 {
		font-size: 1.5rem;
	}
	.rp-section {
		padding: 3rem 0;
	}
	.rp-hosts-grid {
		grid-template-columns: 1fr;
	}
	.rp-hosts-grid .rp-host-card:last-child {
		grid-column: auto;
		max-width: none;
	}
	.rp-host-img {
		height: 200px;
	}
	.rp-network-grid {
		grid-template-columns: 1fr;
	}
	.rp-region-tabs {
		gap: .35rem;
	}
	.rp-tab {
		padding: .35rem .7rem;
		font-size: .78rem;
	}
}
