:root {
  --bg: #fff;
  --ink: #272727;
  --muted: #777;
  --line: #e6e0d8;
  --soft: #f4f4f4;
  --accent: #d26e4b;
  --accent-dark: #bb5f40;
  --link: #d26e4b;
  --wrap: 1680px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.55;
}

.frontend-admin-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 28px;
  background: #172124;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #d9e3df;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  line-height: 1.2;
}

.frontend-admin-bar-inner {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.frontend-admin-bar-left,
.frontend-admin-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.frontend-admin-bar a,
.frontend-admin-bar span {
  color: #d9e3df;
}

.frontend-admin-bar a {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.frontend-admin-bar a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  text-decoration: none;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
}

button,
select,
input {
  font: inherit;
}

.wrap {
  width: min(var(--wrap), calc(100vw - 40px));
  margin: 0 auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.logo-row {
  min-height: 218px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 0 26px;
}

.site-logo {
  display: block;
  width: min(1180px, 92vw);
  text-decoration: none;
}

.site-logo:hover {
  text-decoration: none;
}

.site-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.nav-search-row {
  background: var(--soft);
  border-top: 1px solid #eee;
  border-bottom: 1px solid #e5e5e5;
}

.nav-search-inner {
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.main-nav {
  grid-column: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 17px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.main-nav a,
.nav-group > a {
  color: #666;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus,
.nav-group > a:hover,
.nav-group > a:focus {
  color: #555;
  text-decoration: none;
}

.main-nav a.is-active,
.nav-group > a.is-active {
  color: #111;
}

.nav-group {
  position: relative;
  padding: 26px 0;
}

.nav-dropdown {
  position: absolute;
  left: -16px;
  top: 100%;
  z-index: 30;
  display: none;
  min-width: 300px;
  max-height: min(72vh, 640px);
  overflow: auto;
  padding: 12px 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.13);
  text-transform: none;
  font-size: 14px;
  font-weight: 400;
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  display: block;
}

.nav-dropdown ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-dropdown a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 7px 16px;
  color: var(--ink);
}

.nav-dropdown a:hover {
  background: #f8f6f2;
  text-decoration: none;
}

.nav-dropdown em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.nav-dropdown ul ul {
  padding-left: 14px;
}

.header-search {
  grid-column: 3;
  justify-self: end;
  width: min(360px, 100%);
  display: flex;
  align-items: stretch;
  position: relative;
}

.header-search input,
.hero-search input,
.search-page-form input {
  width: 100%;
  height: 46px;
  border: 1px solid #d9d9d9;
  padding: 0 13px;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
}

.header-search input::placeholder,
.hero-search input::placeholder,
.search-page-form input::placeholder {
  color: #9b9b9b;
}

.header-search input {
  height: 40px;
  padding: 0 12px;
  font-size: 16px;
}

button,
.hero-search button,
.search-page-form button,
.filter-apply {
  min-height: 38px;
  border: 0;
  padding: 0 18px;
  color: #fff;
  background: var(--accent);
  font-weight: 700;
  cursor: pointer;
}

button:hover,
.hero-search button:hover,
.search-page-form button:hover,
.filter-apply:hover {
  background: var(--accent-dark);
}

.header-search button {
  width: 48px;
  flex: 0 0 48px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #d9d9d9;
  border-left: 0;
  background: #ededed;
  color: #777;
  font-size: 0;
}

.header-search button:hover,
.header-search button:focus {
  background: #e8e8e8;
  color: #666;
}

.header-search button::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7.5'/%3E%3Cpath d='m20 20-3.7-3.7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7.5'/%3E%3Cpath d='m20 20-3.7-3.7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 45;
  max-height: min(70vh, 420px);
  overflow: auto;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.search-suggestion {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 5px 10px;
  align-items: baseline;
  padding: 10px 12px;
  color: var(--ink);
  text-decoration: none;
}

.search-suggestion + .search-suggestion {
  border-top: 1px solid #eee;
}

.search-suggestion:hover,
.search-suggestion:focus {
  background: #f8f6f2;
  color: var(--ink);
  text-decoration: none;
}

.search-suggestion-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.search-suggestion strong {
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-suggestion-meta {
  grid-column: 2;
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-suggestions-empty {
  padding: 12px;
  color: var(--muted);
  font-size: 13px;
}

.hero {
  border-bottom: 1px solid var(--line);
  background: #faf9f6;
}

.hero-inner {
  min-height: 245px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 48px;
  align-items: center;
}

.eyebrow,
.accession,
.breadcrumb {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.breadcrumb {
  margin: 0 0 38px;
  color: #888;
  font-weight: 400;
  text-transform: none;
}

.breadcrumb a {
  color: #777;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  font-weight: 400;
}

.page-section h1,
.object-summary h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.12;
  font-weight: 400;
}

.hero-copy {
  max-width: 620px;
  color: #555;
  font-size: 18px;
}

.hero-search,
.search-page-form {
  display: flex;
  gap: 8px;
}

.home-slider {
  background: #f8f6f2;
  border-bottom: 1px solid var(--line);
}

.home-slider-stage {
  position: relative;
  width: 100%;
  height: min(41vw, 680px);
  min-height: 260px;
  overflow: hidden;
}

.home-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.home-slide.is-active {
  opacity: 1;
}

.home-intro {
  padding: 42px 0 34px;
  text-align: center;
}

.home-intro h1 {
  max-width: 980px;
  margin: 0 auto 20px;
  color: #333;
  font-size: 24px;
  line-height: 1.32;
  font-weight: 400;
}

.home-intro-copy {
  max-width: 920px;
  margin: 0 auto;
  color: #555;
  font-size: 17px;
  line-height: 1.55;
}

.home-intro-copy p {
  margin: 0 0 12px;
}

.home-intro-copy p:last-child {
  margin-bottom: 0;
}

.home-register {
  text-align: center;
}

.home-arrivals {
  padding: 8px 0 58px;
}

.home-arrival-section {
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
}

.home-arrival-section:first-child {
  border-top: 0;
  padding-top: 18px;
}

.home-section-heading {
  margin-bottom: 24px;
}

.home-section-heading h2 {
  color: #333;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 400;
}

.home-section-heading a {
  color: var(--accent);
  font-size: 14px;
  text-transform: uppercase;
}

.home-arrival-section .item-grid {
  gap: 42px 30px;
}

.page-section {
  padding: 44px 0 58px;
}

.archive-page-section {
  padding-top: 44px;
}

.mobile-archive-filter-bar {
  display: none;
}

.mobile-archive-filter-button {
  min-width: 132px;
  min-height: 42px;
  border: 1px solid #d8d8d8;
  border-radius: 0;
  padding: 0 24px;
  background: #fff;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
}

.mobile-archive-filter-button:hover,
.mobile-archive-filter-button:focus {
  border-color: var(--accent);
  background: #f8f3f0;
  color: var(--accent-dark);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin: 0 0 18px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2,
.additional-info h2,
.related-group h2,
.archive-strip h2 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 400;
}

.section-heading span,
.muted {
  color: var(--muted);
}

.archive-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.archive-sidebar {
  min-width: 0;
}

.archive-sidebar-dialog,
.archive-sidebar-content {
  min-width: 0;
}

.archive-sidebar-mobile-head {
  display: none;
}

.sidebar-widget {
  margin: 0 0 34px;
}

.sidebar-widget h2 {
  margin: 0 0 25px;
  color: #333;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.sidebar-widget h2::after {
  content: "";
  display: block;
  width: 38px;
  height: 4px;
  margin-top: 16px;
  background: #e2e2e2;
}

.archive-contributors-widget {
  display: none;
}

.sidebar-categories,
.sidebar-categories ul,
.sidebar-role-filters {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-categories li,
.sidebar-role-filters li {
  border-top: 1px solid #ececec;
}

.sidebar-categories li:last-child,
.sidebar-role-filters li:last-child {
  border-bottom: 1px solid #ececec;
}

.sidebar-categories a,
.sidebar-role-filters a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  color: var(--accent);
  font-size: 18px;
  line-height: 1.35;
}

.sidebar-categories a span,
.sidebar-role-filters a span {
  flex: 0 0 auto;
  margin-left: 0.35em;
  color: var(--muted);
  font-size: 13px;
}

.sidebar-categories a span::before,
.sidebar-role-filters a span::before {
  content: "(";
}

.sidebar-categories a span::after,
.sidebar-role-filters a span::after {
  content: ")";
}

.sidebar-categories summary a {
  flex: 1 1 auto;
}

.sidebar-categories .is-active > a,
.sidebar-categories .is-active > details > summary a,
.sidebar-role-filters .is-active > a {
  color: var(--ink);
  font-weight: 700;
}

.sidebar-categories details {
  padding: 0;
}

.sidebar-categories summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
}

.sidebar-categories summary::-webkit-details-marker {
  display: none;
}

.sidebar-categories summary::after {
  content: "+";
  color: #aaa;
  font-size: 22px;
  line-height: 1;
}

.sidebar-categories details[open] > summary::after {
  content: "-";
}

.sidebar-categories ul {
  padding: 0 0 8px 22px;
  border-left: 1px solid #ececec;
}

.sidebar-categories ul li {
  border: 0;
}

.sidebar-categories ul a {
  padding: 5px 0;
  font-size: 17px;
}

.filter-control {
  position: relative;
  display: block;
  margin: 0 0 14px;
}

.filter-control > label {
  display: none;
  margin-bottom: 5px;
  color: #555;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
}

.filter-control.has-active-filter .filter-combobox-button,
.filter-control.has-active-filter select {
  padding-right: 56px;
}

.filter-clear-one {
  position: absolute;
  top: 0;
  right: 32px;
  z-index: 5;
  width: 24px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
}

.filter-clear-one:hover,
.filter-clear-one:focus {
  color: #0b84bd;
  outline: 0;
}

.archive-filters select,
.sort-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #ddd;
  border-radius: 0;
  padding: 0 34px 0 12px;
  background: #fff;
  color: #555;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
}

.archive-filters.is-enhanced select[data-search-select] {
  display: none;
}

.archive-filters.is-enhanced .filter-apply {
  display: none;
}

.filter-combobox {
  position: relative;
  color: #666;
  font-family: var(--sans);
  font-size: 14px;
}

.filter-combobox-button {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #ddd;
  border-radius: 0;
  padding: 0 12px;
  background: #fff;
  color: #666;
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
}

.filter-combobox-button::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid #777;
  border-bottom: 2px solid #777;
  transform: rotate(45deg) translateY(-2px);
}

.filter-combobox-button:hover,
.filter-combobox-button:focus {
  border-color: #bdbdbd;
  background: #fff;
  color: #333;
}

.filter-combobox.is-open .filter-combobox-button {
  border-color: #aaa;
  box-shadow: 0 0 0 2px rgba(34, 126, 170, 0.16);
}

.filter-combobox-panel {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  z-index: 60;
  display: none;
  padding: 7px;
  background: #fff;
  border: 1px solid #cfcfcf;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.filter-combobox.is-open .filter-combobox-panel {
  display: block;
}

.filter-combobox-search {
  width: 100%;
  height: 38px;
  margin: 0 0 7px;
  border: 1px solid #ddd;
  border-radius: 0;
  padding: 0 10px;
  background: #fff;
  color: #333;
  font-family: var(--sans);
  font-size: 14px;
}

.filter-combobox-search:focus {
  border-color: #8ab6cf;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(34, 126, 170, 0.16);
}

.filter-combobox-options {
  max-height: min(320px, 44vh);
  overflow-y: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.filter-combobox-option {
  width: 100%;
  min-height: 0;
  display: block;
  border: 0;
  padding: 8px 9px;
  background: #fff;
  color: #444;
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
}

.filter-combobox-option:hover,
.filter-combobox-option:focus {
  background: #edf6fb;
  color: #333;
}

.filter-combobox-option[aria-selected="true"] {
  background: #0b84bd;
  color: #fff;
}

.filter-combobox-empty {
  padding: 9px;
  color: var(--muted);
  font-size: 14px;
}

.filter-apply {
  width: 100%;
  margin-top: 5px;
}

.clear-filters {
  display: block;
  margin-top: 11px;
  text-align: center;
  font-size: 13px;
}

.archive-toolbar {
  min-height: 48px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  margin: 0 0 70px;
}

.result-count {
  margin: 0;
  color: #666;
  font-size: 18px;
}

.sort-form {
  width: 146px;
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 56px 30px;
}

.archive-main .item-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 62px 30px;
}

.item-card {
  min-width: 0;
}

.item-thumb {
  position: relative;
  display: flex;
  width: 100%;
  aspect-ratio: 4 / 3;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  border: 0;
}

.archive-main .item-thumb {
  aspect-ratio: 4 / 3;
  background: #fff;
  border: 0;
}

.item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.item-label-row {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  max-width: calc(100% - 20px);
}

.item-badge,
.item-sale-badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: #fff;
  background: var(--accent);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.thumb-placeholder,
.object-placeholder {
  color: var(--muted);
  font-size: 13px;
}

.item-card-body {
  padding: 14px 0 0;
  text-align: center;
}

.item-card .accession {
  color: #777;
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
}

.archive-main .item-card .accession {
  font-size: 15px;
  font-weight: 700;
}

.item-card h2 {
  margin: 5px 0 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 400;
}

.item-card h2 a {
  color: var(--accent);
}

.archive-main .item-card h2 {
  margin-top: 5px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 400;
}

body:not(.is-age-verified) .item-card.is-age-restricted .item-thumb img,
body:not(.is-age-verified) .item-card.is-age-restricted .thumb-placeholder {
  filter: blur(9px);
  transform: scale(1.02);
}

body:not(.is-age-verified) .item-card.is-age-restricted .item-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.22);
}

.age-restricted-label {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  min-height: 34px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 8px 18px rgba(187, 95, 64, 0.22);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
}

.age-restricted-label:hover {
  background: var(--accent-dark);
}

body:not(.is-age-verified) .item-card.is-age-restricted .age-restricted-label {
  display: inline-flex;
}

.archive-infinite {
  min-height: 260px;
}

.archive-infinite-status {
  display: none;
  margin: 46px 0 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.archive-infinite-status.is-visible {
  display: block;
}

.archive-load-more {
  display: block;
  margin: 42px auto 0;
}

.archive-load-more[hidden] {
  display: none;
}

.archive-infinite-sentinel {
  height: 1px;
}

.archive-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.archive-groups h3 {
  margin: 0 0 8px;
  font-size: 14px;
  text-transform: uppercase;
}

.archive-groups ul,
.person-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.archive-groups li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.archive-groups li span {
  color: var(--muted);
}

.object-page {
  padding: 30px 0 60px;
}

.object-layout {
  display: grid;
  grid-template-columns: minmax(360px, 49.5%) minmax(320px, 1fr);
  gap: 48px;
  align-items: start;
}

.primary-image {
  margin: 0;
  background: #fff;
}

.primary-image img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.primary-image figcaption {
  padding: 9px 12px;
  color: var(--muted);
  font-size: 13px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.primary-image a,
.gallery-carousel-item {
  cursor: zoom-in;
}

.object-image-carousel {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  gap: 18px;
  align-items: center;
  margin: 58px 0 34px;
}

.gallery-carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  min-width: 0;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.gallery-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.gallery-carousel-track {
  display: flex;
  gap: 28px;
  width: max-content;
  min-width: 100%;
}

.gallery-carousel-item {
  flex: 0 0 clamp(145px, 12.6vw, 210px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.gallery-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-arrow {
  min-height: 0;
  width: 54px;
  height: 72px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #333;
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
}

.gallery-arrow:hover,
.gallery-arrow:focus {
  background: transparent;
  color: var(--accent);
}

.gallery-arrow:disabled {
  color: #c9c9c9;
  cursor: default;
}

.site-lightbox {
  --lightbox-panel-max-width: calc(100vw - 184px);
  --lightbox-panel-max-height: calc(100vh - 56px);
  --lightbox-caption-space: 0px;
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  grid-template-rows: 1fr;
  align-items: center;
  gap: 12px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.96);
}

.site-lightbox[hidden] {
  display: none;
}

.site-lightbox.has-caption {
  --lightbox-caption-space: 52px;
}

body.is-lightbox-open {
  overflow: hidden;
}

body.is-archive-filter-open {
  overflow: hidden;
}

.site-lightbox-panel {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: fit-content;
  min-width: 0;
  max-width: var(--lightbox-panel-max-width);
  max-height: var(--lightbox-panel-max-height);
  display: grid;
  grid-template-rows: minmax(0, auto) auto;
  margin: 0 auto;
  padding: clamp(10px, 1vw, 16px);
  padding-top: clamp(46px, 4vh, 56px);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
}

.site-lightbox-image-wrap {
  position: relative;
  width: fit-content;
  max-width: calc(var(--lightbox-panel-max-width) - 32px);
  max-height: calc(var(--lightbox-panel-max-height) - var(--lightbox-caption-space) - 72px);
  min-width: min(420px, calc(var(--lightbox-panel-max-width) - 32px));
  min-height: min(320px, calc(var(--lightbox-panel-max-height) - var(--lightbox-caption-space) - 72px));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #fff;
}

.site-lightbox:not(.is-loading):not(.has-error) .site-lightbox-image-wrap {
  min-width: 0;
  min-height: 0;
}

.site-lightbox-loading {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 14px;
  font-style: italic;
  line-height: 1.4;
  pointer-events: none;
  text-align: center;
}

.site-lightbox.is-loading .site-lightbox-loading,
.site-lightbox.has-error .site-lightbox-loading {
  display: flex;
}

.site-lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(var(--lightbox-panel-max-width) - 32px);
  max-height: calc(var(--lightbox-panel-max-height) - var(--lightbox-caption-space) - 72px);
  object-fit: contain;
}

.site-lightbox-image[hidden] {
  display: none;
}

.site-lightbox-caption {
  max-width: min(980px, calc(var(--lightbox-panel-max-width) - 40px));
  margin: 10px auto 0;
  padding: 0 4px;
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
  line-height: 1.35;
  text-align: center;
}

.site-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  min-height: 0;
  width: 42px;
  height: 42px;
  border: 1px solid var(--accent);
  outline: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
}

.site-lightbox-close:hover,
.site-lightbox-close:focus {
  outline: 0;
  background: #fff;
  border-color: var(--accent-dark);
  color: var(--accent-dark);
}

.site-lightbox-close:focus-visible {
  box-shadow: 0 0 0 3px rgba(210, 110, 75, 0.24);
}

.site-lightbox-nav {
  min-height: 0;
  width: 56px;
  height: 84px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #333;
  font-size: 64px;
  font-weight: 400;
  line-height: 1;
}

.site-lightbox-prev {
  grid-column: 1;
  grid-row: 1;
}

.site-lightbox-next {
  grid-column: 3;
  grid-row: 1;
}

.site-lightbox-nav:hover,
.site-lightbox-nav:focus {
  background: transparent;
  color: var(--accent);
}

.object-placeholder {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f6f2;
  border: 1px solid var(--line);
}

.object-summary h1,
.person-header h1 {
  font-size: clamp(23px, 2.2vw, 31px);
}

.object-alternative-titles {
  margin: -6px 0 18px;
  color: #555;
  font-size: 17px;
  line-height: 1.35;
}

.object-alternative-titles p {
  margin: 0 0 5px;
}

.object-alternative-titles p:last-child {
  margin-bottom: 0;
}

.contributors {
  margin: 22px 0 14px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--line);
}

.contributor-row {
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr);
  gap: 18px;
  padding: 8px 0;
}

.contributor-row h2 {
  margin: 0;
  color: #444;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.contributor-row h2::after {
  content: ":";
}

.contributor-row p {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
}

.contributor-people {
  display: grid;
  gap: 2px;
}

.contributor-person {
  display: block;
}

.contributor-row a,
.object-meta-line a,
.additional-info a {
  color: var(--accent);
}

.object-meta-line {
  margin: 9px 0 0;
  color: #555;
  font-size: 15px;
  line-height: 1.45;
}

.object-meta-line:first-of-type {
  margin-top: 14px;
}

.object-sale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.object-sale-price {
  margin: 0;
  color: #252525;
  font-size: 25px;
  line-height: 1.1;
}

.object-sale-status {
  margin: 5px 0 0;
  color: var(--accent);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.object-sale-sold .object-sale-status {
  color: var(--accent);
}

.purchase-item-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #fff;
  background: var(--accent);
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.purchase-item-button:hover {
  color: #fff;
  background: var(--accent-dark);
  text-decoration: none;
}

.object-long-content {
  width: 100%;
  margin-top: 44px;
}

.description {
  margin: 28px 0;
  padding: 0 clamp(14px, 1.6vw, 28px);
  color: #333;
  font-size: 17px;
  line-height: 1.5;
}

.description p {
  margin: 0 0 1.1em;
}

.description blockquote {
  margin: 18px 0 28px;
  padding: 0 0 0 30px;
  border-left: 2px solid var(--accent);
  color: #444;
  font-style: italic;
}

.description blockquote p {
  margin: 0 0 1.35em;
}

.description blockquote p:last-child {
  margin-bottom: 0;
}

.description table {
  width: 100%;
  margin: 24px 0 28px;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.35;
  table-layout: fixed;
}

.description th,
.description td {
  padding: 7px 22px 7px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: break-word;
  vertical-align: top;
}

.description th:first-child,
.description td:first-child {
  width: 270px;
  min-width: 220px;
}

.description th:first-child,
.description td:first-child strong {
  color: #555;
  font-weight: 700;
}

.description img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 28px 0;
}

.description img.aligncenter {
  margin-right: auto;
  margin-left: auto;
}

.description img.alignright {
  float: right;
  margin: 4px 0 20px 28px;
}

.description img.alignleft {
  float: left;
  margin: 4px 28px 20px 0;
}

.description figure {
  max-width: 100%;
  margin: 24px 0;
}

.description figure img {
  margin: 0;
}

.description .wp-caption {
  display: inline-block;
}

.description .wp-caption img {
  margin: 0;
}

.description figcaption {
  padding: 7px 10px;
  background: #f4f3ef;
  color: var(--accent);
  font-size: 15px;
  font-style: italic;
  line-height: 1.35;
  text-align: center;
}

.description figcaption a {
  color: var(--accent);
}

.description .video-embed {
  display: block;
  width: min(100%, 960px);
  margin: 30px 0;
  aspect-ratio: 16 / 9;
  background: #171717;
}

.description .video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.additional-info {
  margin-top: 28px;
  padding: 0 clamp(14px, 1.6vw, 28px);
}

.additional-info h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.editor-view-badge,
.editor-hidden-term em {
  display: inline-flex;
  align-items: center;
  border: 1px solid #b9b3a7;
  padding: 2px 6px;
  color: #746d62;
  font-family: var(--sans);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.editor-hidden-term {
  color: #6f665a;
}

.editor-hidden-term em {
  margin-left: 4px;
}

.additional-info table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
}

.additional-info th,
.additional-info td {
  padding: 11px 0;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.additional-info th {
  width: 34%;
  padding-right: 18px;
  color: #555;
  text-align: left;
  font-size: 15px;
  text-transform: uppercase;
}

.person-header {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin-bottom: 46px;
}

.person-header.no-image {
  display: block;
}

.person-portrait {
  margin: 0;
}

.person-portrait img {
  width: 180px;
  max-height: 280px;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--line);
  background: #f8f6f2;
}

.person-header h1 {
  max-width: 1180px;
}

.related-group {
  margin-top: 42px;
}

.person-related-heading {
  justify-content: flex-start;
  gap: 14px;
}

.person-related-heading h2 {
  margin-bottom: 10px;
}

.person-related-count {
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
}

.person-page .item-grid {
  gap: 56px 30px;
}

.person-page .item-thumb {
  aspect-ratio: 4 / 3;
  background: #fff;
}

.person-page .item-card-body {
  text-align: center;
}

.person-page .item-card .accession {
  font-size: 15px;
  font-weight: 700;
}

.person-page .item-card h2 {
  margin-top: 5px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 400;
}

.blog-index {
  max-width: 980px;
}

.blog-timeline {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.blog-year {
  margin: 28px 0 2px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
}

.blog-list-entry {
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.blog-list-entry:not(.has-image) {
  grid-template-columns: 1fr;
}

.blog-list-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.blog-list-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-list-body time,
.blog-post-header time {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 14px;
}

.blog-list-body h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.blog-list-body h2 a {
  color: var(--ink);
}

.blog-list-body p {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.blog-post-page {
  max-width: 1040px;
}

.blog-post-header {
  max-width: 780px;
  margin-bottom: 28px;
}

.blog-post-header h1 {
  margin-bottom: 12px;
}

.blog-post-header p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}

.blog-featured-image {
  margin: 0 0 34px;
  border: 1px solid var(--line);
  background: #fff;
}

.blog-featured-image img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
}

.blog-featured-image figcaption {
  border-top: 1px solid var(--line);
  padding: 9px 12px;
  color: var(--muted);
  font-size: 13px;
}

.blog-post-body {
  max-width: 780px;
}

.blog-related-items {
  margin-top: 46px;
}

.related-items {
  margin-top: 54px;
}

.related-items > .section-heading {
  margin-right: clamp(14px, 1.6vw, 28px);
  margin-left: clamp(14px, 1.6vw, 28px);
}

.related-carousel {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  gap: 18px;
  align-items: center;
}

.related-carousel-track {
  display: flex;
  gap: 30px;
}

.related-carousel .item-card {
  flex: 0 0 clamp(210px, 21vw, 286px);
  min-width: 0;
}

.related-items .item-thumb {
  aspect-ratio: 4 / 3;
  background: #fff;
}

.related-items .item-card-body {
  text-align: center;
}

.related-items .item-card .accession {
  font-size: 15px;
  font-weight: 700;
}

.related-items .item-card h2 {
  margin-top: 5px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 400;
}

.pagination {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 50px;
}

.pagination a {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 2px solid var(--accent);
  border-radius: 1px;
  color: #fff;
  background: var(--accent);
  font-weight: 700;
}

.pagination a:hover {
  background: #808080;
  border-color: #808080;
  color: #fff;
  text-decoration: none;
}

.pagination a.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.people-results {
  margin-top: 36px;
}

.person-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.site-footer {
  margin-top: 34px;
  padding: 42px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  text-align: left;
}

.footer-copyright {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  margin: 0;
  text-align: right;
}

.footer-links {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.footer-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  padding: 0 28px;
  color: #fff;
  background: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  background: var(--accent-dark);
  text-decoration: none;
}

.cookie-consent {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 900;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: min(780px, calc(100vw - 40px));
  margin: 0 auto;
  border: 1px solid var(--line);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.13);
}

.cookie-consent p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
}

.cookie-consent button,
.age-gate-confirm,
.age-gate-cancel {
  min-height: 38px;
  border: 0;
  border-radius: 0;
  padding: 0 16px;
  font: inherit;
  font-family: Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
}

.cookie-consent button,
.age-gate-confirm {
  color: #fff;
  background: var(--accent);
}

.cookie-consent button:hover,
.age-gate-confirm:hover {
  background: var(--accent-dark);
}

.age-gate-dialog {
  width: min(520px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
}

.age-gate-dialog::backdrop {
  background: rgba(32, 28, 24, 0.46);
}

.age-gate-content {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.age-gate-content h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
}

.age-gate-content p {
  margin: 0;
  color: #555;
}

.age-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.age-gate-cancel {
  border: 1px solid var(--line);
  color: #555;
  background: #f8f6f2;
}

.age-gate-cancel:hover {
  color: var(--ink);
  background: #f4f4f4;
}

@media (max-width: 1220px) {
  .archive-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 30px;
  }

  .archive-main .item-grid {
    gap: 44px 24px;
  }

  .site-logo {
    width: min(1040px, 92vw);
  }
}

@media (max-width: 980px) {
  .nav-search-inner,
  .hero-inner,
  .object-layout,
  .person-header,
  .archive-layout {
    grid-template-columns: 1fr;
  }

  .main-nav {
    grid-column: 1;
    justify-content: center;
    flex-wrap: wrap;
  }

  .header-search {
    grid-column: 1;
    justify-self: stretch;
    width: 100%;
  }

  .nav-group {
    padding: 0;
  }

  .nav-dropdown {
    left: 0;
    max-width: calc(100vw - 40px);
  }

  .mobile-archive-filter-bar {
    display: flex;
    justify-content: center;
    margin: 16px 0 28px;
  }

  .archive-sidebar {
    position: fixed;
    inset: 0;
    z-index: 560;
    display: none;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: max(18px, env(safe-area-inset-top)) 14px max(18px, env(safe-area-inset-bottom));
    overflow-y: auto;
    background: rgba(32, 28, 24, 0.46);
  }

  .archive-sidebar.is-open {
    display: flex;
  }

  .archive-sidebar-dialog {
    width: min(430px, 100%);
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 22px 22px 26px;
    background: #fff;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24);
  }

  .archive-sidebar-mobile-head {
    position: sticky;
    top: -22px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: -22px -22px 22px;
    padding: 16px 18px;
    border-bottom: 1px solid #ececec;
    background: #fff;
  }

  .archive-sidebar-mobile-head h2 {
    margin: 0;
    color: #333;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .archive-sidebar-close {
    width: 38px;
    height: 38px;
    min-height: 0;
    border: 0;
    padding: 0;
    background: transparent;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
  }

  .archive-sidebar-close:hover,
  .archive-sidebar-close:focus {
    background: transparent;
    color: var(--accent);
  }

  .archive-sidebar .sidebar-widget:last-child {
    margin-bottom: 0;
  }

  .archive-sidebar .filter-combobox-panel {
    z-index: 570;
  }

  .archive-main {
    order: 1;
  }

  .archive-main .item-grid,
  .item-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archive-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archive-toolbar {
    justify-content: space-between;
    margin-bottom: 34px;
  }

  .home-arrival-section .item-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-list-entry {
    grid-template-columns: 136px minmax(0, 1fr);
    gap: 18px;
  }

  .object-image-carousel {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 10px;
  }

  .related-carousel {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 10px;
  }

  .gallery-arrow {
    width: 40px;
    font-size: 42px;
  }

  .site-lightbox {
    --lightbox-panel-max-width: calc(100vw - 140px);
    --lightbox-panel-max-height: calc(100vh - 36px);
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
    padding: 18px;
  }

  .site-lightbox-nav {
    width: 44px;
    font-size: 46px;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(var(--wrap), calc(100vw - 24px));
  }

  .logo-row {
    min-height: 0;
    padding: 22px 0;
  }

  .site-logo {
    width: min(100%, 92vw);
  }

  .site-logo img {
    width: 100%;
  }

  .blog-list-entry,
  .blog-list-entry.has-image {
    grid-template-columns: 1fr;
  }

  .blog-list-image {
    max-width: 260px;
  }

  .blog-list-body h2 {
    font-size: 22px;
  }

  .nav-search-inner {
    gap: 18px;
    padding: 16px 0;
  }

  .header-search input {
    font-size: 17px;
  }

  .archive-main .item-grid,
  .item-grid,
  .archive-groups {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .archive-toolbar {
    display: block;
  }

  .sort-form {
    width: 100%;
    margin-top: 12px;
  }

  .hero-inner {
    min-height: auto;
    padding: 34px 0;
  }

  .hero-search,
  .search-page-form {
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    text-align: center;
  }

  .footer-copyright {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
    text-align: center;
  }

  .footer-links {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
    justify-content: center;
  }

  .cookie-consent {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .cookie-consent button {
    width: 100%;
  }

  .object-sale {
    align-items: stretch;
    flex-direction: column;
  }

  .purchase-item-button {
    width: 100%;
  }

  .home-slider-stage {
    height: 54vw;
    min-height: 190px;
  }

  .home-intro {
    padding: 30px 0 24px;
  }

  .home-intro h1 {
    font-size: 21px;
  }

  .home-intro-copy {
    font-size: 16px;
  }

  .home-section-heading {
    display: block;
  }

  .home-section-heading a {
    display: inline-block;
    margin-bottom: 11px;
  }

  .home-arrival-section {
    padding: 28px 0 36px;
  }

  .home-arrival-section .item-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .contributor-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .object-image-carousel {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    gap: 6px;
    margin: 34px 0 22px;
  }

  .related-carousel {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    gap: 6px;
  }

  .gallery-carousel-track {
    gap: 14px;
  }

  .related-carousel-track {
    gap: 18px;
  }

  .gallery-carousel-item {
    flex-basis: 42vw;
  }

  .related-carousel .item-card {
    flex-basis: min(76vw, 280px);
  }

  .gallery-arrow {
    width: 32px;
    height: 54px;
    font-size: 34px;
  }

  .site-lightbox {
    --lightbox-panel-max-width: calc(100vw - 20px);
    --lightbox-panel-max-height: calc(100vh - 24px);
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    gap: 10px;
    padding: 10px;
  }

  .site-lightbox.has-caption {
    --lightbox-caption-space: 64px;
  }

  .site-lightbox-panel {
    grid-column: 1;
    grid-row: 1;
    width: fit-content;
    max-width: var(--lightbox-panel-max-width);
    max-height: var(--lightbox-panel-max-height);
    padding: 10px;
    padding-top: 46px;
  }

  .site-lightbox-image-wrap {
    max-width: calc(var(--lightbox-panel-max-width) - 20px);
    max-height: calc(var(--lightbox-panel-max-height) - var(--lightbox-caption-space) - 66px);
    min-width: min(280px, calc(var(--lightbox-panel-max-width) - 20px));
    min-height: min(240px, calc(var(--lightbox-panel-max-height) - var(--lightbox-caption-space) - 66px));
    padding: 0;
  }

  .site-lightbox-image {
    max-width: calc(var(--lightbox-panel-max-width) - 20px);
    max-height: calc(var(--lightbox-panel-max-height) - var(--lightbox-caption-space) - 66px);
  }

  .site-lightbox-nav {
    display: none;
  }

  .site-lightbox-close {
    width: 38px;
    height: 38px;
    font-size: 28px;
  }

  body.object .object-long-content .description table,
  body.object .object-long-content .description tbody,
  body.object .object-long-content .description thead,
  body.object .object-long-content .description tr,
  body.object .object-long-content .description th,
  body.object .object-long-content .description td {
    display: block;
    width: 100%;
  }

  body.object .object-long-content .description table {
    table-layout: auto;
    border-top: 1px solid var(--line);
  }

  body.object .object-long-content .description tr {
    padding: 14px 0 16px;
    border-bottom: 1px solid var(--line);
  }

  body.object .object-long-content .description th,
  body.object .object-long-content .description td {
    min-width: 0;
    padding: 0;
    border-bottom: 0;
    overflow-wrap: break-word;
  }

  body.object .object-long-content .description th:first-child,
  body.object .object-long-content .description td:first-child {
    width: 100%;
    min-width: 0;
    margin-bottom: 5px;
  }

  body.object .object-long-content .description th + td,
  body.object .object-long-content .description td + td {
    margin-top: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-slide {
    transition: none;
  }
}
