/* ==========================================================================
   School Archive
   ========================================================================== */

.school-archive {
	padding: 48px 20px 80px;
}

.school-archive-inner {
	max-width: 1280px;
	margin: 0 auto;
}

.school-archive-title {
	font-size: 32px;
	font-weight: 800;
	color: var(--color-secondary);
	text-align: center;
	margin-bottom: 40px;
}

.school-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 24px;
}

.school-card a {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	background: #fff;
	border-radius: 16px;
	padding: 24px 16px;
	text-align: center;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.school-card a:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.school-card-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1 / 1;
	margin-bottom: 16px;
}

.school-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.school-card-thumb .dp-icon-logo {
	width: 60%;
	height: 60%;
}

.school-card-name {
	font-size: 14px;
	font-weight: 600;
	color: var(--color-secondary);
	line-height: 1.4;
}

.school-archive-empty {
	text-align: center;
	color: var(--color-secondary);
}

@media (max-width: 600px) {
	.school-grid {
		grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
		gap: 16px;
	}

	.school-card a {
		padding: 16px 10px;
	}
}
