.hkscp-home-main {
	overflow: hidden;
	background: #fff;
}

.hkscp-home-container {
	width: min(calc(100% - 40px), 1500px);
	margin-inline: auto;
}

.hkscp-slider {
	position: relative;
	height: 621px;
	background: #fff url("../reference/wrap_bg.png") center / cover no-repeat;
	overflow: hidden;
}

.hkscp-slider-track,
.hkscp-slide {
	position: absolute;
	inset: 0;
	height: 100%;
}

.hkscp-slide {
	display: block;
	min-height: 0;
	background: #fff;
	opacity: 0;
	pointer-events: none;
	transition: opacity 6000ms ease;
}

.hkscp-slide-image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.hkscp-slide.is-active {
	z-index: 1;
	opacity: 1;
	pointer-events: auto;
}

.hkscp-slider-pagination {
	position: absolute;
	z-index: 3;
	left: 50%;
	bottom: 12px;
	display: flex;
	gap: 6px;
	transform: translateX(-50%);
}

.hkscp-slider-dot {
	width: 10px;
	height: 10px;
	min-width: 10px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #a9a9a9;
	cursor: pointer;
}

.hkscp-slider-dot.is-active {
	background: #165392;
}

.hkscp-slider-dot:focus-visible {
	outline: 2px solid #165392;
	outline-offset: 3px;
}

.hkscp-members {
	margin-top: 40px;
	padding: 0 0 40px;
}

.hkscp-members > h2 {
	margin: 0 0 26px;
	color: #165392;
	font: 700 33px/1.25 "Source Sans Pro", "Open Sans", Arial, sans-serif;
	text-align: center;
}

.hkscp-member-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 15px;
}

.hkscp-member-card {
	display: flex;
	min-width: 0;
	padding: 30px;
	flex-direction: column;
	align-items: center;
	background: #fff;
	text-align: center;
}

.hkscp-member-grid .hkscp-member-card a {
	gap: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.hkscp-member-image-link {
	display: block;
	width: 30%;
	margin: 30px;
}

.hkscp-member-image-link img {
	display: block;
	width: 100%;
	height: auto;
	transition: opacity 300ms ease;
}

.hkscp-member-image-link:hover img {
	opacity: .82;
}

.hkscp-member-card h3 {
	width: 100%;
	margin: 0 0 15px;
	padding-bottom: 15px;
	border-bottom: 2px solid #ddd;
	font: 800 30px/1.2 "Open Sans", Arial, sans-serif;
}

.hkscp-member-card h3 a {
	display: inline;
	color: #25468b;
	text-decoration: none;
}

.hkscp-member-card h3 a:hover {
	color: #1a356e;
}

.hkscp-member-card p {
	margin: 0;
	color: #000;
	font: 400 14px/1.5 "Open Sans", Arial, sans-serif;
}

.hkscp-events-section {
	padding: 0 30px 50px;
	background: #e9e9e9;
}

.hkscp-events-inner {
	width: min(100%, 1500px);
}

.hkscp-events-section .hkscp-section-heading {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 30px;
	margin-bottom: 35px;
}

.hkscp-events-section .hkscp-section-heading::before {
	content: "";
	width: 3px;
	height: 80px;
	margin-left: 9px;
	background: #165392;
	grid-column: 1 / -1;
}

.hkscp-events-section h2 {
	margin: 0;
	color: #165392;
	font: 700 45px/1.2 "Source Sans Pro", "Open Sans", Arial, sans-serif;
}

.hkscp-all-events {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 0;
	border: 0;
	border-radius: 0;
	background: #e9e9e9;
	color: #165392;
	font: 600 16px/1.2 "Open Sans", Arial, sans-serif;
	letter-spacing: .3px;
	text-decoration: none;
}

.hkscp-all-events:hover {
	background: #e9e9e9;
	color: #1a356e;
}

.hkscp-all-events [aria-hidden="true"] {
	font-size: 24px;
	line-height: 1;
}

.hkscp-event-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 7px 94px;
}

.hkscp-home-event-card {
	min-width: 0;
	padding: 0 7px;
	background: #e9e9e9;
}

.hkscp-home-event-image {
	position: relative;
	display: block;
	width: 100%;
	padding-bottom: 66%;
	overflow: hidden;
	background: #fff;
}

.hkscp-home-event-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 0;
}

.hkscp-home-event-card h3 {
	margin: 0;
	font: 400 18px/1.35 "hksc", "Open Sans", Arial, sans-serif;
}

.hkscp-home-event-card h3 a {
	color: #000;
	text-decoration: underline;
}

.hkscp-events-empty {
	grid-column: 1 / -1;
	margin: 0;
	padding: 28px 7px;
	color: #000;
	font-size: 17px;
}

@media (max-width: 1024px) {
	.hkscp-slider {
		height: 275px;
	}

	.hkscp-member-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hkscp-events-section {
		padding-right: 15px;
		padding-bottom: 50px;
		padding-left: 15px;
	}

	.hkscp-event-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 50px;
	}

	.hkscp-events-section h2 {
		font-size: 35px;
	}
}

@media (max-width: 767px) {
	.hkscp-home-container {
		width: min(calc(100% - 30px), 1500px);
	}

	.hkscp-slider {
		height: 137px;
	}

	.hkscp-slider-pagination {
		bottom: 8px;
	}

	.hkscp-members {
		padding-bottom: 30px;
	}

	.hkscp-member-grid,
	.hkscp-event-grid {
		grid-template-columns: 1fr;
	}

	.hkscp-member-card {
		padding: 30px;
	}

	.hkscp-member-image-link {
		margin-bottom: 15px;
	}

	.hkscp-events-section .hkscp-section-heading {
		grid-template-columns: 1fr auto;
	}

	.hkscp-events-section h2 {
		font-size: 30px;
	}

	.hkscp-home-event-image {
		padding-bottom: 50%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hkscp-slide,
	.hkscp-member-image-link img {
		transition: none;
	}
}
