/* ===== ACADEMIC CALENDAR PAGE ===== */

/* --- Page Banner --- */
.page-banner {
	position: relative;
	background: linear-gradient(135deg, var(--color-primary-bg) 0%, #5c1a18 100%);
	padding: 120px 0 60px;
	color: #fff;
	overflow: hidden;
}

.page-banner::before {
	content: "";
	position: absolute;
	top: -50%;
	right: -10%;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(244, 197, 66, 0.12) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

.page-banner::after {
	content: "";
	position: absolute;
	bottom: -30%;
	left: -5%;
	width: 350px;
	height: 350px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

.banner-content {
	position: relative;
	z-index: 2;
}

.banner-content h1 {
	font-size: clamp(32px, 5vw, 52px);
	font-weight: 800;
	margin: 12px 0 16px;
	line-height: 1.15;
}

.banner-tagline {
	font-size: clamp(16px, 2.2vw, 22px);
	font-weight: 300;
	opacity: 0.9;
	max-width: 650px;
	line-height: 1.5;
}

/* --- Breadcrumb --- */
.breadcrumb-list {
	gap: 8px;
	flex-wrap: wrap;
	font-size: 14px;
}

.breadcrumb-list li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.breadcrumb-list li + li::before {
	content: "/";
	opacity: 0.5;
}

.breadcrumb-list li a {
	color: rgba(255, 255, 255, 0.75);
	transition: color 0.2s;
}

.breadcrumb-list li a:hover {
	color: var(--color-cta-bg);
}

.breadcrumb-list li.active span {
	color: #fff;
	font-weight: 500;
}

/* ===== UNIVERSITY SECTION ===== */
.uni-section {
	background: #f7f5f3;
}

#sdsuv-section {
	background: #f3f5f7;
}

/* --- University Header Card --- */
.uni-header-card {
	position: relative;
	background: #fff;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 6px 30px rgba(0, 0, 0, 0.07);
	margin-bottom: 36px;
	border: 1px solid rgba(139, 46, 43, 0.08);
}

.uni-header-accent {
	height: 6px;
	background: linear-gradient(90deg, var(--color-primary-bg) 0%, var(--color-cta-bg) 50%, var(--color-primary-bg) 100%);
	background-size: 200% 100%;
	animation: accentShimmer 4s ease infinite;
}

@keyframes accentShimmer {
	0%, 100% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
}

.sdsuv-card .uni-header-accent {
	background: linear-gradient(90deg, #1a5276 0%, #48c9b0 50%, #1a5276 100%);
	background-size: 200% 100%;
	animation: accentShimmer 4s ease infinite;
}

.uni-header-body {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	padding: 32px 36px;
}

.uni-emblem {
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--color-primary-bg) 0%, #a63a34 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 16px rgba(139, 46, 43, 0.25);
}

.sdsuv-emblem {
	background: linear-gradient(135deg, #1a5276 0%, #2471a3 100%);
	box-shadow: 0 4px 16px rgba(26, 82, 118, 0.25);
}

.uni-header-text h2 {
	font-size: clamp(20px, 3vw, 28px);
	font-weight: 800;
	color: var(--color-primary-bg);
	margin-bottom: 12px;
	line-height: 1.3;
}

.sdsuv-card .uni-header-text h2 {
	color: #1a5276;
}

.uni-meta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 14px;
}

.uni-meta-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12.5px;
	font-weight: 500;
	color: #555;
	background: #f4f1ee;
	padding: 5px 12px;
	border-radius: 20px;
	letter-spacing: 0.2px;
}

.sdsuv-card .uni-meta-chip {
	background: #e8f0f6;
}

.uni-desc {
	font-size: 14.5px;
	color: #555;
	line-height: 1.65;
	margin-bottom: 12px;
	max-width: 680px;
}

.uni-website-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--color-primary-bg);
	transition: color 0.2s;
}

.sdsuv-card .uni-website-link {
	color: #1a5276;
}

.uni-website-link:hover {
	color: var(--color-cta-bg);
}

/* --- Calendar Wrapper --- */
.uni-calendar-wrap {
	background: #fff;
	border-radius: 18px;
	padding: 32px 36px 36px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
	border: 1px solid #eee;
}

.calendar-label {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.calendar-badge {
	display: inline-block;
	background: linear-gradient(135deg, var(--color-primary-bg), #a63a34);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 5px 14px;
	border-radius: 20px;
	text-transform: uppercase;
	letter-spacing: 0.8px;
}

.sdsuv-badge {
	background: linear-gradient(135deg, #1a5276, #2471a3);
}

.calendar-label h3 {
	font-size: clamp(20px, 3vw, 26px);
	font-weight: 700;
	color: #222;
}

/* --- Scrollable Table --- */
.table-scroll-wrapper {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-bottom: 28px;
	border-radius: 12px;
	border: 1px solid #e8e8e8;
}

.uni-ac-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
	min-width: 640px;
}

.uni-ac-table thead th {
	text-align: left;
	padding: 14px 18px;
	background: var(--color-primary-bg);
	color: #fff;
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	position: sticky;
	top: 0;
	z-index: 1;
}

.sdsuv-table thead th {
	background: #1a5276;
}

.uni-ac-table thead th:first-child {
	border-radius: 11px 0 0 0;
}

.uni-ac-table thead th:last-child {
	border-radius: 0 11px 0 0;
}

.uni-ac-table tbody td {
	padding: 13px 18px;
	border-bottom: 1px solid #f0f0f0;
	color: #333;
	vertical-align: middle;
}

.uni-ac-table tbody tr:last-child td {
	border-bottom: none;
}

.uni-ac-table tbody tr:nth-child(even) {
	background: #faf8f6;
}

.sdsuv-table tbody tr:nth-child(even) {
	background: #f5f8fb;
}

.uni-ac-table tbody tr {
	transition: background 0.2s;
}

.uni-ac-table tbody tr:hover {
	background: rgba(244, 197, 66, 0.1);
}

.sdsuv-table tbody tr:hover {
	background: rgba(72, 201, 176, 0.1);
}

.uni-ac-table tbody td:first-child {
	font-weight: 500;
	color: #222;
}

.uni-ac-table tbody td:nth-child(2),
.uni-ac-table tbody td:nth-child(3) {
	font-weight: 500;
	color: var(--color-primary-bg);
	white-space: nowrap;
}

.sdsuv-table tbody td:nth-child(2),
.sdsuv-table tbody td:nth-child(3) {
	color: #1a5276;
}

/* --- Download Action Buttons --- */
.uni-download-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
}

.btn-download,
.btn-official {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 28px;
	border-radius: 50px;
	font-size: 14.5px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	cursor: pointer;
}

.btn-download {
	background: linear-gradient(135deg, var(--color-primary-bg), #a63a34);
	color: #fff;
	box-shadow: 0 4px 16px rgba(139, 46, 43, 0.25);
}

.btn-download:hover {
	box-shadow: 0 6px 24px rgba(139, 46, 43, 0.4);
	transform: translateY(-2px);
}

.btn-official {
	background: #fff;
	color: var(--color-primary-bg);
	border: 2px solid var(--color-primary-bg);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.btn-official:hover {
	background: var(--color-primary-bg);
	color: #fff;
	box-shadow: 0 4px 18px rgba(139, 46, 43, 0.3);
	transform: translateY(-2px);
}

/* SDSUV Download Buttons */
.sdsuv-btn {
	background: linear-gradient(135deg, #1a5276, #2471a3);
	box-shadow: 0 4px 16px rgba(26, 82, 118, 0.25);
}

.sdsuv-btn:hover {
	box-shadow: 0 6px 24px rgba(26, 82, 118, 0.4);
}

.sdsuv-btn-off {
	color: #1a5276;
	border-color: #1a5276;
}

.sdsuv-btn-off:hover {
	background: #1a5276;
	color: #fff;
	box-shadow: 0 4px 18px rgba(26, 82, 118, 0.3);
}

/* --- Section Divider --- */
.uni-divider {
	padding: 0;
}

.divider-line {
	height: 2px;
	background: linear-gradient(90deg, transparent 0%, var(--color-cta-bg) 50%, transparent 100%);
	border-radius: 2px;
	margin: 0 auto;
	max-width: 400px;
}

/* --- CTA Section --- */
.ac-cta {
	background: linear-gradient(135deg, var(--color-primary-bg) 0%, #5c1a18 100%);
}

.ac-cta .cta-block {
	padding: 60px 40px;
	border-radius: 20px;
}

.ac-cta .cta-block h2 {
	font-size: clamp(26px, 3.5vw, 38px);
	font-weight: 800;
	color: #fff;
	margin-bottom: 16px;
}

.ac-cta .cta-block p {
	font-size: 18px;
	color: rgba(255, 255, 255, 0.85);
	max-width: 600px;
	margin: 0 auto 30px;
	line-height: 1.6;
}

.ac-cta .cta-block .cta-btn {
	display: inline-block;
	background: var(--color-cta-bg);
	color: #1a1a1a;
	padding: 14px 40px;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 700;
	transition: background 0.3s ease, transform 0.3s ease;
	text-decoration: none;
}

.ac-cta .cta-block .cta-btn:hover {
	background: var(--color-cta-hover);
	transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
	.page-banner {
		padding: 100px 0 40px;
	}

	.uni-header-body {
		flex-direction: column;
		padding: 24px 20px;
	}

	.uni-emblem {
		width: 56px;
		height: 56px;
		border-radius: 12px;
	}

	.uni-emblem svg {
		width: 36px;
		height: 36px;
	}

	.uni-calendar-wrap {
		padding: 24px 18px 28px;
	}

	.uni-ac-table {
		font-size: 13px;
	}

	.uni-ac-table thead th,
	.uni-ac-table tbody td {
		padding: 10px 12px;
	}

	.btn-download, .btn-official {
		padding: 11px 22px;
		font-size: 13.5px;
	}

	.ac-cta .cta-block {
		padding: 40px 20px;
	}

	.ac-cta .cta-block h2 {
		font-size: 24px;
	}

	.ac-cta .cta-block p {
		font-size: 16px;
	}
}

@media (max-width: 480px) {
	.uni-header-body {
		padding: 18px 14px;
		gap: 16px;
	}

	.uni-header-text h2 {
		font-size: 18px;
	}

	.uni-meta-row {
		gap: 6px;
	}

	.uni-meta-chip {
		font-size: 11px;
		padding: 4px 9px;
	}

	.uni-calendar-wrap {
		padding: 18px 12px 24px;
	}

	.calendar-label h3 {
		font-size: 18px;
	}

	.uni-ac-table thead th,
	.uni-ac-table tbody td {
		padding: 8px 8px;
		font-size: 12px;
	}

	.uni-download-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.btn-download, .btn-official {
		justify-content: center;
		padding: 12px 18px;
		font-size: 13px;
		border-radius: 12px;
	}

	.ac-cta .cta-block {
		padding: 40px 16px;
	}

	.ac-cta .cta-block .cta-btn {
		padding: 12px 32px;
		font-size: 15px;
	}
}
