/* arc.css — styles for the CMS-driven pages (exhibit index + detail + nav).
   Layered on top of the HTML5 UP "Story" main.css / extra.css. */

/* --- Tame the template's viewport-scaling type ----------------------------
   Story sets a large root font-size that grows with the viewport, so every
   em/rem-based heading and gap balloons on wide screens. Pin it to a fixed,
   conventional size instead (loaded after main.css, so this wins everywhere). */
html { font-size: 18px; }
@media screen and (max-width: 480px) { html { font-size: 16px; } }

/* --- Top navigation bar --------------------------------------------------- */
.arc-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.75em 1.5em;
	background: #000;
	color: #fff;
	position: sticky;
	top: 0;
	z-index: 1000;
}
.arc-nav .arc-brand {
	font-size: 1.4em;
	color: #fff;
	border: 0;
	text-decoration: none;
}
.arc-nav nav a {
	color: #fff;
	margin-left: 1.25em;
	border-bottom: 1px solid transparent;
	text-decoration: none;
}
.arc-nav nav a:hover { border-bottom-color: #fff; }

/* --- Exhibit index: search + grid ---------------------------------------- */
.arc-search-wrap { max-width: 40em; margin: 0 auto 2em auto; }
.arc-search {
	width: 100%;
	border: 1px solid #bbb;
	border-radius: 8px;
	padding: 0.65em 0.9em;
	font-size: 1.1em;
}
.arc-count { text-align: center; color: #777; margin: -1em 0 2em; }

.arc-year-heading {
	width: 100%;
	margin: 1.5em 0 0.5em;
	text-align: left;
	border-bottom: 2px solid #000;
	padding-bottom: 0.2em;
}
.arc-year-heading .beeb { font-size: 1.5em; }

.arc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1.25em;
	margin-bottom: 2em;
}
.arc-card {
	display: flex;
	flex-direction: column;
	border: 1px solid #e4e4e4;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	text-decoration: none;
	color: inherit;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.arc-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,0.12); }
.arc-card .arc-card-img {
	aspect-ratio: 4 / 3;
	background: #f4f4f4 center/cover no-repeat;
}
.arc-card .arc-card-body { padding: 0.75em 0.9em; }
.arc-card .arc-card-title { font-weight: 600; line-height: 1.25; }
.arc-card .arc-card-meta { color: #888; font-size: 0.85em; margin-top: 0.25em; }
.arc-noresults { text-align: center; color: #888; padding: 2em 0; display: none; }

/* --- Exhibit detail page (lead image on top, write-up + specs below) ------ */
/* px (not rem): the Story template scales the root font-size with the viewport,
   so rem-based widths balloon on wide screens. */
.arc-exhibit { max-width: 800px; margin: 0 auto; padding: 0 1.25em; text-align: left; }
.arc-exhibit h1 { margin-bottom: 0.1em; }
.arc-exhibit-meta { color: #888; font-style: italic; margin: 0 0 1.3em; }

.arc-lead-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 0 0 1.7em;
}

.arc-description { max-width: 640px; }
.arc-description p { margin: 0 0 1em; line-height: 1.65; }
.arc-description > :last-child { margin-bottom: 0; }

.arc-specs { width: 100%; max-width: 640px; border-collapse: collapse; margin: 1.6em 0; }
.arc-specs th, .arc-specs td {
	text-align: left;
	padding: 0.5em 0.75em;
	border-bottom: 1px solid #eaeaea;
	vertical-align: top;
}
.arc-specs th { width: 32%; white-space: nowrap; color: #555; }

.arc-back { display: inline-block; margin-top: 1.6em; font-weight: 600; }

@media screen and (max-width: 480px) {
	.arc-nav { padding: 0.6em 1em; }
	.arc-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
