* {
	box-sizing: border-box;
	user-select: none;
	-webkit-user-select: none;
}

body {
	margin: 0;
	background: #f4f6f8;
	color: #182230;
	font:
		16px / 1.5 system-ui,
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		sans-serif;
}

main {
	max-width: 1000px;
	margin: auto;
	padding: 1.25rem;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	align-content: start;
}

.news-detail {
	max-width: 760px;
}

.news-detail figure {
	margin: 0 0 1rem;
	width: 100%;
}

.news-detail .wp-block-gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

article {
	background: #fff;
	border: 1px solid #dce2e8;
	border-radius: 12px;
	box-shadow: 0 2px 8px #18223012;
	padding: 1rem 1.1rem;
	margin-bottom: 1rem;
	overflow: hidden;
}

article:last-child {
	margin-bottom: 0;
}

.news-grid article {
	margin-bottom: 0;
}

h1 {
	font-size: 1.35rem;
	line-height: 1.25;
	margin: 0.2rem 0 0.35rem;
	color: #102a43;
}

h2 {
	font-size: 1.1rem;
}

time {
	display: block;
	color: #697586;
	font-size: 0.85rem;
	margin-bottom: 0.7rem;
}

p {
	margin: 0.6rem 0 0;
}

img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: -0.1rem 0 0.8rem;
	-webkit-user-drag: none;
}

.news-detail figure img {
	width: 100%;
	height: auto;
	margin: 0;
	border-radius: 8px;
}

.news-detail img.icon {
	display: inline-block;
	width: 32px;
	height: 32px;
	object-fit: contain;
	margin: 0 0.5rem 0 0;
	vertical-align: middle;
}

a {
	color: #109cd9;
	text-decoration: none;
}

a:hover,
a:focus {
	text-decoration: underline;
}

article > h1 > a {
	color: #102a43;
}

article > h1 > a::after {
	content: "  ›";
	color: #109cd9;
}

.back-link {
	display: inline-block;
	margin-bottom: 1rem;
	font-weight: 600;
}

@media (max-width: 700px) {
	.news-grid,
	.news-detail .wp-block-gallery {
		grid-template-columns: 1fr;
	}
}
