/* =========================================
   HBTU Alumni Governance — Frontend CSS
   ========================================= */

.hbtu-gov-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	color: var(--text-color, #2C3E50);
	line-height: 1.6;
}

.hbtu-gov-section {
	margin-bottom: 60px;
}

.hbtu-gov-container {
	max-width: 100%;
	margin: 0 auto;
	padding: 0;
}

.hbtu-gov-section-title {
	font-size: 2rem;
	font-weight: 700;
	font-family: 'Merriweather', serif;
	color: var(--primary-color, #153A5B);
	margin-bottom: 12px;
	text-align: center;
	position: relative;
	padding-bottom: 16px;
}

.hbtu-gov-section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 3px;
	background: var(--accent-color, #D4A017);
	border-radius: 2px;
}

.hbtu-gov-section-intro {
	font-size: 1.05rem;
	color: var(--muted-text, #5D6D7E);
	text-align: center;
	max-width: 800px;
	margin: 0 auto 40px;
}

.hbtu-gov-subtitle {
	font-size: 1.3rem;
	font-weight: 600;
	font-family: 'Merriweather', serif;
	color: var(--primary-color, #153A5B);
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--border-color, #D9E2EC);
}

.hbtu-gov-cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
	margin-bottom: 40px;
}

.hbtu-gov-cards--office {
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.hbtu-gov-card {
	background: #fff;
	border: 1px solid var(--border-color, #D9E2EC);
	border-radius: 1rem;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	overflow: hidden;
	transition: all 0.5s ease;
	display: flex;
	flex-direction: column;
}

.hbtu-gov-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hbtu-gov-card-photo {
	width: 100%;
	height: 315px;
	overflow: hidden;
	background: linear-gradient(135deg, var(--primary-color, #153A5B) 0%, var(--secondary-color, #2E6FB6) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.hbtu-gov-card-photo::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
	opacity: 0;
	transition: opacity 0.5s ease;
}

.hbtu-gov-card:hover .hbtu-gov-card-photo::after {
	opacity: 1;
}

.hbtu-gov-card-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	box-sizing: border-box;
	transition: transform 0.7s ease;
}

.hbtu-gov-card:hover .hbtu-gov-card-photo img {
	transform: scale(1.1);
}

.hbtu-gov-photo-placeholder {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.5rem;
	font-weight: 600;
	border: 3px solid rgba(255, 255, 255, 0.3);
}

.hbtu-gov-card-body {
	padding: 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.hbtu-gov-card-name {
	font-size: 1.1rem;
	font-weight: 600;
	font-family: 'Merriweather', serif;
	color: var(--primary-color, #153A5B);
	margin-bottom: 6px;
}

.hbtu-gov-card-designation {
	font-size: 0.9rem;
	color: var(--secondary-color, #2E6FB6);
	font-weight: 500;
	margin-bottom: 8px;
}

.hbtu-gov-card-batch,
.hbtu-gov-card-course {
	font-size: 0.85rem;
	color: var(--muted-text, #5D6D7E);
	margin-bottom: 4px;
}

.hbtu-gov-card-bio {
	font-size: 0.9rem;
	color: #555;
	margin-top: 10px;
	line-height: 1.5;
	flex: 1;
}

.hbtu-gov-member-only-notice {
	font-size: 0.85rem;
	color: var(--secondary-color, #2E6FB6);
	margin-top: 10px;
	padding: 8px 12px;
	background: rgba(46, 111, 182, 0.1);
	border-radius: 8px;
}

.hbtu-gov-member-only-notice a {
	color: var(--secondary-color, #2E6FB6);
	text-decoration: underline;
	font-weight: 500;
}

.hbtu-gov-tenure {
	margin-bottom: 50px;
	padding-bottom: 30px;
	border-bottom: 1px solid var(--border-color, #D9E2EC);
}

.hbtu-gov-tenure:last-child {
	border-bottom: none;
}

.hbtu-gov-tenure-title {
	font-size: 1.5rem;
	font-weight: 700;
	font-family: 'Merriweather', serif;
	color: var(--primary-color, #153A5B);
	margin-bottom: 20px;
}

.hbtu-gov-no-data,
.hbtu-gov-no-members {
	text-align: center;
	color: var(--muted-text, #5D6D7E);
	font-size: 1rem;
	padding: 40px 0;
}

/* Documents */
.hbtu-gov-documents-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 24px;
}

.hbtu-gov-document-card {
	background: #fff;
	border: 1px solid var(--border-color, #D9E2EC);
	border-radius: 1rem;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	padding: 24px;
	display: flex;
	gap: 16px;
	transition: all 0.5s ease;
}

.hbtu-gov-document-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.hbtu-gov-document-icon {
	color: var(--secondary-color, #2E6FB6);
	flex-shrink: 0;
	display: flex;
	align-items: flex-start;
	padding-top: 4px;
}

.hbtu-gov-document-body {
	flex: 1;
}

.hbtu-gov-document-title {
	font-size: 1.05rem;
	font-weight: 600;
	font-family: 'Merriweather', serif;
	color: var(--primary-color, #153A5B);
	margin-bottom: 8px;
}

.hbtu-gov-document-description {
	font-size: 0.9rem;
	color: var(--muted-text, #5D6D7E);
	margin-bottom: 8px;
	line-height: 1.5;
}

.hbtu-gov-document-date {
	font-size: 0.8rem;
	color: #888;
	margin-bottom: 12px;
}

.hbtu-gov-download-btn {
	display: inline-block;
	background: linear-gradient(135deg, var(--primary-color, #153A5B) 0%, var(--secondary-color, #2E6FB6) 100%);
	color: #fff;
	padding: 10px 20px;
	border-radius: 10px;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: all 0.3s ease;
}

.hbtu-gov-download-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
	color: #fff;
}

.hbtu-gov-no-file {
	font-size: 0.85rem;
	color: #888;
	font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
	.hbtu-gov-wrapper {
		padding: 20px 16px;
	}

	.hbtu-gov-section-title {
		font-size: 1.5rem;
	}

	.hbtu-gov-cards-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.hbtu-gov-documents-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	

	.hbtu-gov-document-card {
		flex-direction: column;
		text-align: center;
	}

	.hbtu-gov-document-icon {
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.hbtu-gov-section-title {
		font-size: 1.3rem;
	}

	.hbtu-gov-tenure-title {
		font-size: 1.2rem;
	}

	.hbtu-gov-card-body {
		padding: 16px;
	}
}
