img.acia-clickable,
img[data-acia-id][data-acia-context="embed"] {
	cursor: zoom-in;
}

.acia-public-detail {
	padding: 48px 20px 72px;
	background: #f5f6f7;
	color: #1f2937;
}

.acia-public-detail__inner {
	width: min(1040px, 100%);
	margin: 0 auto;
}

.acia-public-detail__kicker {
	margin: 0 0 8px;
	color: #5b6470;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
}

.acia-public-detail h1 {
	margin: 0 0 24px;
	font-size: clamp(28px, 4vw, 46px);
	line-height: 1.1;
}

.acia-public-detail__figure {
	margin: 0 auto;
	padding: 16px;
	background: #151a21;
	color: #f8fafc;
}

.acia-public-detail__figure img {
	display: block;
	width: 100%;
	max-height: 72vh;
	object-fit: contain;
	margin: 0 auto;
}

.acia-public-detail__figure figcaption {
	padding: 14px 4px 0;
	line-height: 1.5;
}

.acia-public-detail__edit {
	display: inline-block;
	padding: 9px 14px;
	border: 0;
	background: #0b6e8e;
	color: #fff;
	cursor: pointer;
	text-decoration: none;
}

.acia-source-block-editor {
	padding: 20px;
	border: 1px solid #c3c4c7;
	background: #f6f7f7;
}

.acia-source-block-editor p {
	margin: 8px 0 14px;
}

.acia-credit-card {
	max-width: 960px;
	margin: 32px auto;
	padding: 24px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #fff;
	color: #1f2937;
}

.acia-credit-card h2 {
	margin-top: 0;
}

.acia-credit-card table {
	width: 100%;
	border-collapse: collapse;
}

.acia-credit-card th,
.acia-credit-card td {
	padding: 10px 0;
	border-top: 1px solid #e5e7eb;
	text-align: left;
	vertical-align: top;
}

.acia-credit-card th {
	width: 34%;
	padding-right: 16px;
	font-weight: 700;
}

.acia-modal[hidden] {
	display: none;
}

.acia-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: grid;
	place-items: center;
	padding: 24px;
}

.acia-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(17 24 39 / 72%);
}

.acia-modal__dialog {
	position: relative;
	width: min(1100px, 100%);
	max-height: calc(100vh - 48px);
	overflow: auto;
	margin: 0;
	background: #151a21;
	color: #f8fafc;
	border-radius: 4px;
	box-shadow: 0 8px 24px rgb(0 0 0 / 40%);
}

.acia-modal__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 1;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #111827;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.acia-modal__body {
	min-height: 240px;
}

.acia-modal__image {
	display: block;
	width: 100%;
	max-height: calc(100vh - 176px);
	min-height: 240px;
	object-fit: contain;
	background: #0c1015;
}

.acia-modal__caption {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 18px;
	background: #f8fafc;
	color: #1f2937;
	font-size: 14px;
	line-height: 1.5;
}

.acia-modal__credit p {
	margin: 0;
}

.acia-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	flex: 0 0 auto;
}

.acia-modal__details,
.acia-modal__edit {
	font-weight: 700;
	text-decoration: none;
}

.acia-modal__edit {
	color: #38475a;
}

.acia-modal__error {
	padding: 24px;
}

.acia-public-edit-form {
	padding: 24px;
	background: #f8fafc;
	color: #1f2937;
}

.acia-public-edit__intro {
	margin-top: 0;
}

.acia-public-edit-form fieldset {
	margin: 0 0 18px;
	padding: 14px;
	border: 1px solid #d1d5db;
}

.acia-public-edit-form legend {
	padding: 0 6px;
	font-weight: 700;
}

.acia-public-edit-form label {
	display: block;
	margin: 10px 0;
	font-weight: 600;
}

.acia-public-edit-form input:not([type="checkbox"]),
.acia-public-edit-form select,
.acia-public-edit-form textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin-top: 5px;
	padding: 8px;
	border: 1px solid #9ca3af;
	background: #fff;
	color: #1f2937;
}

.acia-public-edit__save {
	padding: 10px 14px;
	border: 0;
	background: #0b6e8e;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.acia-public-edit__status {
	margin-left: 8px;
	font-weight: 600;
}

.acia-modal__notes {
	padding-top: 14px;
	border-top: 1px solid #e5e7eb;
	color: #4b5563;
}

.acia-modal__full {
	display: inline-block;
	margin-top: 12px;
	font-weight: 700;
}

.acia-modal-open {
	overflow: hidden;
}

.acia-artist-page {
	width: min(1180px, calc(100vw - 48px));
	margin: 0 auto;
	padding: 36px 0 56px;
	color: #1f2937;
}

.acia-artist-hero {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	gap: 28px;
	align-items: center;
	padding-bottom: 28px;
	border-bottom: 1px solid #d1d5db;
}

.acia-artist-initials {
	display: grid;
	width: 132px;
	aspect-ratio: 1;
	place-items: center;
	border: 1px solid #cbd5e1;
	border-radius: 50%;
	background: #f8fafc;
	color: #334155;
	font-size: 44px;
	font-weight: 800;
	line-height: 1;
}

.acia-artist-kicker {
	margin: 0 0 6px;
	color: #64748b;
	font-size: 13px;
	font-weight: 750;
	text-transform: uppercase;
	letter-spacing: 0;
}

.acia-artist-intro h1 {
	margin: 0;
	font-size: clamp(32px, 5vw, 56px);
	line-height: 1.05;
	letter-spacing: 0;
}

.acia-artist-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
	margin-top: 14px;
	font-weight: 650;
}

.acia-artist-description {
	max-width: 72ch;
	margin-top: 14px;
	color: #475569;
	line-height: 1.65;
}

.acia-artist-gallery {
	padding-top: 28px;
}

.acia-artist-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
	gap: 18px;
}

.acia-artist-card {
	min-width: 0;
}

.acia-artist-card img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: #f3f4f6;
}

.acia-artist-card h2 {
	margin: 10px 0 4px;
	font-size: 16px;
	line-height: 1.25;
	letter-spacing: 0;
}

.acia-artist-card p {
	margin: 0;
	color: #4b5563;
	font-size: 14px;
	line-height: 1.45;
}

.acia-artist-pagination {
	margin-top: 28px;
}

@media (max-width: 760px) {
	.acia-modal {
		padding: 12px;
	}

	.acia-modal__image {
		max-height: calc(100vh - 220px);
	}

	.acia-modal__caption {
		display: block;
	}

	.acia-modal__actions {
		margin-top: 8px;
	}

	.acia-credit-card th,
	.acia-credit-card td {
		display: block;
		width: 100%;
		padding-right: 0;
	}

	.acia-artist-page {
		width: calc(100vw - 28px);
		padding-top: 24px;
	}

	.acia-artist-hero {
		grid-template-columns: 84px minmax(0, 1fr);
		gap: 16px;
		align-items: start;
	}

	.acia-artist-initials {
		width: 84px;
		font-size: 30px;
	}
}
