* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: #f4f4f4;
	color: #222;
	font-family: Arial, sans-serif;
}

header {
	padding: 32px 20px;
	background: #243b53;
	color: white;
	text-align: center;
}

header h1 {
	margin: 0 0 8px;
	font-family: "Bangers", cursive;
	font-size: 42px;
}

header p {
	margin: 0;
}

main {
	width: min(100% - 32px, 1000px);
	margin: 32px auto;
}

.filters {
	display: flex;
	align-items: end;
	gap: 12px;
}

.filters label {
	flex: 1;
	display: block;
	margin-bottom: 8px;
	font-weight: bold;
}

#search-input,
#publisher-filter {
	width: 100%;
	margin-top: 8px;
	padding: 12px;
	border: 1px solid #aaa;
	border-radius: 4px;
	background: white;
	font: inherit;
}

#status {
	margin: 16px 0;
	color: #555;
}

.hero-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
}

.hero-card {
	overflow: hidden;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: white;
}

.hero-card img {
	display: block;
	width: 100%;
	 aspect-ratio: 1;
	object-fit: cover;
}

.hero-card h2,
.hero-card p {
	margin: 10px 12px;
}

.hero-card h2 {
	font-size: 18px;
	font-family: "Bangers", cursive;
	font-weight: 400;
}

.hero-card p {
	color: #555;
	font-size: 14px;
}

.api-note {
	margin-top: 28px;
	color: #555;
	font-size: 14px;
}

@media (max-width: 600px) {
	.filters {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
	}
}