.poetry-curator-poets-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
}

.poetry-curator-poet-card {
	text-align: center;
	padding: 1rem;
	border-radius: .05rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
	transition: transform .2s ease, box-shadow .2s ease;
}

.poetry-curator-poet-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

.poetry-curator-poet-card a {
	text-decoration: none;
}

.poetry-curator-poet-card h2 {
	margin: .75rem 0 .5rem;
}

.poetry-curator-poet-card p {
	margin: .5rem 0;
}

.poetry-curator-poet-link:hover {
	text-decoration: underline;
}


/*
 * Poet detail
 */

.poetry-curator-poet-detail {
	padding-top: 2rem;
	padding-bottom: 3rem;
}

.poetry-curator-poet-header {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5rem;
	align-items: flex-start;
	margin: 0 0 3rem;
}

.poetry-curator-poet-portrait {
	flex: 0 0 280px;
	width: 280px;
}

.poetry-curator-poet-portrait-image {
	display: block;
	width: 280px;
	max-width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: .05rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.poetry-curator-poet-meta {
	flex: 1 1 400px;
	max-width: 70ch;
}

.poetry-curator-poet-meta h1 {
	margin: 0 0 1rem;
}

.poetry-curator-poet-biography {
	margin: 0;
}


/*
 * Curated poems
 */

.poetry-curator-poems-section {
	margin-top: 3rem;
}

.poetry-curator-poems-section h2 {
	margin: 0 0 1.5rem;
}

.poetry-curator-poems-list {
	display: grid;
	gap: 1rem;
}

.poetry-curator-poem-card {
	padding: 1rem 1.25rem;
	border-radius: .05rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
	transition: transform .2s ease, box-shadow .2s ease;
	position: relative;
}

.poetry-curator-poem-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

.poetry-curator-poem-card h2 {
	margin: 0;
}

.poetry-curator-poem-card a {
	text-decoration: none;
}

.poetry-curator-poem-card a:hover {
	text-decoration: underline;
}

.poetry-curator-poem-card a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.poetry-curator-poem-date {
	margin: .35rem 0 0;
	opacity: .7;
}


/*
 * Mobile
 */

@media (max-width: 640px) {

	.poetry-curator-poet-header {
		display: block;
	}

	.poetry-curator-poet-portrait {
		width: 100%;
		max-width: 280px;
		margin-bottom: 2rem;
	}

	.poetry-curator-poet-portrait-image {
		width: 100%;
	}

	.poetry-curator-poet-meta {
		max-width: none;
	}

}
