.art-header {
	padding: var(--padding-vert) var(--padding-oriz);
	background: var(--scuro);
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 15px;
	a {
		color: inherit;
		text-decoration: none;
		&:hover {
			color: var(--accent);
		}
	}
	.site-title {
		font-family: Homenaje;
		font-size: 30px;
	}
}
.art-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 25px;
	.art-card {
		display: flex;
		flex-direction: column;
		background: white;
		border-radius: 5px;
		overflow: hidden;
		text-decoration: none;
		color: inherit;
		transition: transform .2s;
		&:hover {
			transform: translateY(-3px);
		}
		img {
			width: 100%;
			aspect-ratio: 1 / 1;
			object-fit: cover;
		}
		.art-card-info {
			padding: 12px 15px;
			display: flex;
			justify-content: space-between;
			align-items: center;
			gap: 10px;
			h2 {
				margin: 0;
				font-size: 24px;
				line-height: 28px;
			}
			.badge {
				font-size: 12px;
				padding: 2px 8px;
				border-radius: 10px;
				background: var(--scuro);
				white-space: nowrap;
			}
		}
	}
}
.work-detail {
	.work-images {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 20px;
		margin-bottom: 25px;
		img {
			max-width: 100%;
			border-radius: 5px;
		}
	}
	.work-caption {
		max-width: 720px;
		margin: 0 auto 35px;
	}
	.work-comments {
		max-width: 720px;
		margin: 0 auto;
		padding-top: 20px;
		border-top: 2px solid black;
		form {
			display: flex;
			flex-direction: column;
			gap: 10px;
			margin-bottom: 25px;
			input, textarea, button {
				border: 0;
				border-radius: 2px;
				padding: 10px 15px;
				font-family: Inter, sans-serif;
				font-size: 16px;
			}
			textarea {
				height: 50px;
				resize: vertical;
			}
			.hp-field {
				display: none;
			}
			button {
				display: none;
				background: var(--accent);
				color: white;
				cursor: pointer;
				&:disabled {
					background: gray;
					cursor: progress;
				}
			}
			&.active button {
				display: inline-block;
			}
		}
		.comment-item {
			border-top: 1px solid #ccc;
			padding: 15px 0;
			header {
				display: flex;
				justify-content: space-between;
				font-size: 14px;
				margin-bottom: 6px;
				time {
					color: #666;
				}
			}
			p {
				margin: 0;
				white-space: pre-line;
			}
		}
	}
}
