.hk-format-hub {
	box-sizing: border-box;
	width: min(100%, var(--wp--style--global--wide-size, 1180px));
	margin: 0 auto;
	padding: clamp(0.85rem, 2vw, 1.25rem);
}

.hk-format-hub *,
.hk-format-hub *::before,
.hk-format-hub *::after {
	box-sizing: border-box;
}

.hk-format-hub__hero {
	margin-bottom: clamp(0.9rem, 2vw, 1.4rem);
	padding: clamp(1rem, 3vw, 2rem);
	border-radius: 24px;
	background:
		linear-gradient(135deg, rgba(13, 16, 20, 0.96), rgba(22, 97, 179, 0.84)),
		#0d1014;
	color: #fff;
	box-shadow: 0 22px 55px rgba(16, 21, 27, 0.16);
}

.hk-format-hub__hero .hk-kicker,
.hk-format-hub__hero .hk-section-title,
.hk-format-hub__hero p {
	color: #fff;
}

.hk-format-hub__hero .hk-section-title {
	max-width: 14ch;
	margin: 0;
}

.hk-format-hub__hero p:last-child {
	max-width: 58ch;
	margin-bottom: 0;
	font-size: clamp(1rem, 1.5vw, 1.12rem);
	line-height: 1.55;
}

.hk-format-hub__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.55fr);
	gap: clamp(0.85rem, 1.8vw, 1.2rem);
	align-items: start;
}

.hk-format-hub__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(0.75rem, 1.6vw, 1rem);
}

.hk-format-card {
	overflow: hidden;
	padding: 0;
	border: 1px solid rgba(141, 178, 211, 0.65);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 16px 40px rgba(16, 21, 27, 0.1);
}

.hk-format-card__image {
	display: block;
	padding: 0.65rem 0.65rem 0;
	background: #0d1014;
}

.hk-format-card__image img {
	display: block;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 14px 14px 0 0;
}

.hk-format-card__body {
	display: grid;
	gap: 0.45rem;
	padding: 0.85rem;
}

.hk-format-card--feature .hk-format-card__body {
	padding: clamp(1rem, 2vw, 1.25rem);
}

.hk-format-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	font-size: 0.82rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.045em;
}

.hk-format-card__meta a {
	color: #1661b3;
	text-decoration: none;
}

.hk-format-card h2 {
	margin: 0;
	font-size: clamp(1.1rem, 2vw, 1.55rem);
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.hk-format-card--feature h2 {
	font-size: clamp(1.55rem, 3.2vw, 2.55rem);
}

.hk-format-card h2 a {
	color: #10151b;
	text-decoration: none;
}

.hk-format-card p {
	margin: 0;
	color: #4d6072;
	line-height: 1.55;
}

.hk-format-hub__empty {
	padding: clamp(1rem, 2.5vw, 1.5rem);
	border-radius: 20px;
	background: #fff;
}

.hk-format-hub__empty h2 {
	margin-top: 0;
}

.hk-format-hub__admin-note {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	align-items: center;
	margin: 1rem 0 0;
	padding: 0.75rem 0.85rem;
	border: 1px dashed rgba(22, 97, 179, 0.45);
	border-radius: 14px;
	background: rgba(123, 203, 255, 0.16);
	color: #10151b;
}

.hk-format-hub__admin-note a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: #0d1014;
	color: #fff;
	padding: 0.5rem 0.72rem;
	font-weight: 800;
	text-decoration: none;
}

@media (max-width: 900px) {
	.hk-format-hub__layout,
	.hk-format-hub__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 640px) {
	.hk-format-hub {
		padding: 0.75rem;
	}

	.hk-format-hub__hero {
		border-radius: 20px;
	}

	.hk-format-card__body {
		padding: 0.78rem;
	}
}
