/* Project listing and detail layouts. Loaded after the site styles on project pages. */
.art-projects-body,
.art-projects-body .page_wapper,
.art-projects-body .art-projects-index { background: #fff !important; color: #858585; }
.art-projects-body .art-site-header,
.art-projects-body .art-site-header.is-scrolled { background: #fff !important; color: #666 !important; box-shadow: 0 8px 20px rgba(0,0,0,.035) !important; }
.art-projects-body .art-site-header .art-nav-left a,
.art-projects-body .art-site-header .art-nav-right a,
.art-projects-body .art-site-header .art-nav-right button,
.art-projects-body .art-site-header .art-products-trigger { color: #666 !important; }
.art-projects-body .art-site-header .art-nav-logo img { filter: none; }
.art-projects-index { padding: 0 !important; }
.art-projects-index > .art-container { width: min(1360px, calc(100% - 104px)) !important; padding: 54px 0 96px !important; }
.art-project-list-heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.art-project-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; align-items: start; margin: 0 0 27px; }
.art-project-category { display: block; width: 170px; color: #aaa !important; text-align: center; text-decoration: none !important; }
.art-project-category figure { width: 170px; height: 138px; margin: 0; overflow: hidden; background: #eee; }
.art-project-category img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.art-project-category:hover img { transform: scale(1.05); }
.art-project-category span { display: block; margin-top: 8px; font-size: 13px; font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.art-project-category:hover span,
.art-project-category.is-active span { color: var(--art-accent,#ae8059); }
.art-project-category.is-active figure { outline: 2px solid var(--art-accent,#ae8059); outline-offset: 3px; }
.art-project-filters { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 0 0 48px; padding: 11px 0 0; border-top: 1px solid #aaa; }
.art-project-count { color: #aaa; font-size: 12px; }
.art-project-filter-fields { display: flex; justify-content: flex-end; gap: 26px; }
.art-project-filter-fields select { width: 190px; max-width: 100%; padding: 5px 22px 5px 6px; border: 0; border-bottom: 1px solid #aaa; border-radius: 0; outline-offset: 3px; background: #fff; color: #888; font-size: 13px; }
.art-projects-index .art-project-grid { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 46px 42px !important; align-items: start; }
.art-projects-index .art-project-grid .art-project-card,
.art-projects-index .art-project-grid .art-project-card:nth-child(n) { display: block; position: relative; width: 100%; height: auto !important; min-height: 0 !important; aspect-ratio: 1.42 / 1 !important; overflow: hidden; border-radius: 26px 0 0 0 !important; background: #242424; text-decoration: none; }
.art-projects-index .art-project-grid .art-project-card[hidden] { display: none !important; }
.art-projects-index .art-project-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.50) 29%,rgba(0,0,0,.10) 72%,rgba(0,0,0,.04) 100%) !important; transition: background .25s ease; }
.art-projects-index .art-project-card:hover::before { background: linear-gradient(180deg,rgba(0,0,0,.9),rgba(0,0,0,.55) 40%,rgba(0,0,0,.12)) !important; }
.art-projects-index .art-project-card img { display: block; width: 100%; height: 100% !important; object-fit: cover; }
.art-projects-index .art-project-content { position: absolute !important; z-index: 2; top: 20px !important; right: 18px !important; bottom: auto !important; left: 24px !important; display: flex !important; flex-direction: column; align-items: flex-start; gap: 7px !important; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.8); }
.art-projects-index .art-project-content .art-project-title,
.art-projects-index .art-project-content .art-project-place,
.art-projects-index .art-project-content .art-project-button { position: static !important; inset: auto !important; margin: 0 !important; transform: none !important; color: #fff !important; line-height: 1.3 !important; }
.art-projects-index .art-project-content .art-project-title { font-size: clamp(15px,1.45vw,21px) !important; font-weight: 800 !important; }
.art-projects-index .art-project-content .art-project-place { font-size: 13px !important; }
.art-projects-index .art-project-content .art-project-button { display: inline-block; width: auto; margin-top: 3px !important; padding: 4px 12px !important; border: 1px solid rgba(255,255,255,.9); border-radius: 16px; font-size: 11px !important; text-transform: lowercase; }
.art-project-more { display: block; margin: 70px auto 0; padding: 0 36px 12px; border: 0; border-bottom: 1px solid #bbb; background: transparent; color: #999; font-size: 14px; font-weight: 700; cursor: pointer; }
.art-project-more:hover { color: #666; border-color: #777; }
.art-project-more[hidden], .art-project-no-results[hidden] { display: none !important; }
.art-projects-index .art-project-no-results { color: #999; }

.art-project-detail-body,
.art-project-detail-body .page_wapper,
.art-project-detail { background: #fff; }
.art-project-detail { padding: 0 !important; }
.art-project-detail > .art-container { width: min(1340px, calc(100% - 104px)) !important; padding: 158px 0 74px !important; }
.art-project-detail-category { display: flex; margin: 0 0 24px; }
.art-project-detail-category a { display: block; width: 180px; color: #8e8e8e; text-align: center; text-decoration: none; }
.art-project-detail-category figure { width: 180px; height: 142px; margin: 0; overflow: hidden; background: #eee; }
.art-project-detail-category img { display: block; width: 100%; height: 100%; object-fit: cover; }
.art-project-detail-category strong { display: block; margin-top: 8px; font-size: 15px; font-weight: 800; text-transform: uppercase; }
.art-project-detail-filterbar { display: flex; justify-content: flex-end; gap: 24px; margin: 0 0 34px; padding: 8px 0 0; border-top: 1px solid #999; }
.art-project-detail-filterbar select { width: 196px; padding: 5px 20px 5px 6px; border: 0; border-bottom: 1px solid #aaa; border-radius: 0; background: #fff; color: #999; font-size: 13px; }
.art-project-detail-title { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin: 0 0 34px; padding-left: 30px; }
.art-project-detail-title h1 { margin: 0 0 6px; color: #888; font-size: clamp(27px,3vw,36px); font-weight: 850; line-height: 1.18; text-transform: uppercase; }
.art-project-detail-title p { margin: 0; color: #999; font-size: clamp(20px,2.4vw,30px); font-weight: 300; line-height: 1.25; text-transform: uppercase; }
.art-project-neighbors { display: flex; gap: 10px; flex: 0 0 auto; }
.art-project-neighbors a { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #bbb; border-radius: 50%; color: #888; font-size: 30px; font-weight: 300; line-height: 1; text-decoration: none; }
.art-project-neighbors a:hover { border-color: var(--art-accent,#ae8059); color: var(--art-accent,#ae8059); }
.art-project-summary { max-width: 850px; margin: -12px 0 28px 30px; color: #999; font-size: 15px; line-height: 1.6; }
.art-project-detail-photos { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.art-project-photo { position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: #eee; }
.art-project-photo > a:first-child { display: block; width: 100%; height: 100%; }
.art-project-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.art-project-photo:hover img { transform: none; }
.art-project-photo .art-project-hotspot { z-index: 3; }
.art-project-hotspot { padding: 0; border: 1px solid #fff; background: #ffffff38; cursor: pointer; animation: art-project-point-pulse 2s ease-out infinite; }
.art-project-hotspot::after { inset: 7px; background: #fff; }
@keyframes art-project-point-pulse { 0%, 100% { box-shadow: 0 0 0 0 #ffffff70; } 70% { box-shadow: 0 0 0 10px #fff0; } }
.art-project-hotspot[hidden] { display: none !important; }
.art-project-hotspot:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
.art-project-dialog-open { overflow: hidden; }
.art-project-viewer { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; padding: 50px 48px; background: transparent; color: #fff; }
.art-project-viewer[open] { display: flex; align-items: center; justify-content: center; flex-direction: column; }
.art-project-viewer::backdrop { background: #000d; }
.art-project-viewer-stage { position: relative; flex: 0 1 auto; margin: 0; line-height: 0; }
.art-project-viewer-stage > img { display: block; width: auto; height: auto; max-width: min(1100px, calc(100vw - 96px)); max-height: calc(100dvh - 140px); object-fit: contain; }
.art-project-viewer-stage [data-project-hotspots] { position: absolute; inset: 0; pointer-events: none; }
.art-project-viewer-stage .art-project-hotspot { pointer-events: auto; }
.art-project-viewer-caption { margin: 14px 0 0; color: #fff; font-size: 13px; }
.art-project-dialog-close { position: absolute; top: 8px; right: 12px; z-index: 2; width: 40px; height: 40px; padding: 0; border: 0; background: transparent; color: inherit; font-size: 32px; cursor: pointer; }
.art-project-viewer-arrow { position: absolute; top: 50%; z-index: 2; width: 44px; height: 56px; padding: 0; border: 0; background: transparent; color: #fff; font-size: 48px; cursor: pointer; transform: translateY(-50%); }
.art-project-viewer-arrow.previous { left: 0; }
.art-project-viewer-arrow.next { right: 0; }
.art-project-product-preview { width: min(380px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); margin: auto; padding: 38px 24px 28px; border: 0; border-radius: 8px; background: #fff; color: #777; text-align: center; box-shadow: 0 12px 60px #0005; }
.art-project-product-preview::backdrop { background: #0006; }
.art-project-product-preview > img { display: block; width: 100%; height: 230px; object-fit: contain; }
.art-project-product-preview h2 { margin: 14px 0; font-size: 22px; }
.art-project-product-preview .art-text-link { display: inline-block; margin: 0; }
@media (prefers-reduced-motion: reduce) { .art-project-hotspot, .art-project-hotspot::after { animation: none !important; } }
.art-project-detail .art-project-story,
.art-project-detail .art-project-download,
.art-project-detail .art-project-products { margin-top: 58px; }
.art-project-back { display: table; margin: 112px auto 0; padding: 0 18px 12px; border-bottom: 1px solid #d1d1d1; color: #aaa; font-size: 14px; font-weight: 700; text-align: center; text-decoration: none; }
.art-project-back:hover { color: #777; border-color: #999; }

@media (max-width: 900px) {
    .art-projects-index > .art-container,
    .art-project-detail > .art-container { width: min(calc(100% - 48px), 760px) !important; }
    .art-projects-index .art-project-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 24px !important; }
    .art-project-detail-photos { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
    .art-projects-index > .art-container,
    .art-project-detail > .art-container { width: calc(100% - 32px) !important; padding-top: 118px !important; }
    .art-project-categories { flex-wrap: nowrap; justify-content: flex-start; gap: 16px; overflow-x: auto; padding: 3px 2px 14px; }
    .art-project-category:first-child { margin-left:auto; }
    .art-project-category:last-child { margin-right:auto; }
    .art-project-category { flex: 0 0 124px; width: 124px; }
    .art-project-category figure { width: 124px; height: 102px; }
    .art-project-filters { align-items: stretch; flex-direction: column; gap: 12px; }
    .art-project-filter-fields { gap: 12px; }
    .art-project-filter-fields label { flex: 1 1 0; min-width: 0; }
    .art-project-filter-fields select { width: 100%; min-width: 0; font-size: 12px; }
    .art-projects-index .art-project-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
    .art-project-detail-category a,
    .art-project-detail-category figure { width: 136px; }
    .art-project-detail-category figure { height: 108px; }
    .art-project-detail-filterbar { gap: 12px; }
    .art-project-detail-filterbar label { min-width: 0; flex: 1; }
    .art-project-detail-filterbar select { width: 100%; font-size: 11px; }
    .art-project-detail-title { padding-left: 0; align-items: flex-start; }
    .art-project-summary { margin-left: 0; }
    .art-project-neighbors a { width: 34px; height: 34px; font-size: 25px; }
    .art-project-detail-photos { gap: 8px; }
    .art-project-back { margin-top: 76px; }
}
