/* CSS halaman blog. */

.hero.bl h1 {
	font-size: clamp(34px, 5vw, 54px);
	max-width: 22ch;
}

.hero.bl p {
	font-size: 18px;
	color: var(--muted);
	max-width: 58ch;
	margin-top: 16px;
}

/* Pencarian. */
.bl-search {
	display: flex;
	gap: 10px;
	margin-top: 28px;
	max-width: 480px;
	flex-wrap: wrap;
}

.bl-search input {
	flex: 1;
	min-width: 200px;
	padding: 13px 20px;
	border-radius: 999px;
	border: 2px solid var(--line);
	background: var(--card);
	color: var(--fg);
	font: inherit;
}

.bl-search input:focus {
	outline: 2px solid var(--sl);
	outline-offset: 1px;
}

.bl-search .btn svg {
	width: 18px;
	vertical-align: -4px;
	margin-right: 6px;
}

/* Grid artikel + chip aktif. */
.ar {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 32px;
}

.chips .chip.is-active,
.chips button.is-active {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}

.more {
	margin-top: 40px;
	text-align: center;
}

.more button {
	cursor: pointer;
}

/* Paginasi WP. */
.navigation.pagination {
	margin-top: 36px;
}

.nav-links {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
}

.nav-links .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1.5px solid var(--line);
	font-weight: 700;
	font-size: 15px;
	color: var(--fg);
	text-decoration: none;
}

.nav-links .page-numbers.current {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}

/* Band ajakan. */
.cta-band {
	background: var(--navy);
	color: #fff;
}

.cta-band .cb {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 28px;
	flex-wrap: wrap;
	padding: 0;
	flex: none;
}

.cta-band .cb h2 {
	font-size: clamp(24px, 3.2vw, 34px);
	margin-bottom: 8px;
}

.cta-band .cb p {
	margin: 0;
	color: #C5D3E8;
	font-size: 16.5px;
}

.cta-band .cb .btn.b1 {
	background: var(--sun);
	color: #17253D;
	flex-shrink: 0;
}

/* Newsletter (2 kolom seperti CTA). */
.newsletter {
	background: var(--bg2);
}

.newsletter .nl-cb {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 28px;
	flex-wrap: wrap;
}

.newsletter .nl-cb > div {
	flex: 1;
	min-width: 280px;
}

.newsletter .lead {
	margin-left: 0;
	margin-right: 0;
	max-width: 560px;
}

.newsletter .btn {
	margin-top: 0;
	flex-shrink: 0;
}

/* Kartu kosong. */
.none {
	grid-column: 1 / -1;
	text-align: center;
	padding: 60px 20px;
	color: var(--muted);
	font-size: 17px;
}

/* Halaman generik & 404. */
.narrow {
	max-width: 760px;
}

.err-code {
	font: 400 clamp(64px, 12vw, 120px)/1 "Young Serif", Georgia, serif;
	color: var(--sl);
	margin: 0;
}

@media (max-width: 900px) {
	.ar {
		grid-template-columns: 1fr 1fr;
	}

	.cta-band .cb,
	.newsletter .nl-cb {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 520px) {
	.ar {
		grid-template-columns: 1fr;
	}
}
