/* v0.9.43 Public exhibition design: gallery and officially confirmed awards only. */
/* All selectors deliberately target the plugin's standalone template, not the school site. */
body.dp-standalone .dps-inner .dp-gallery-panel.dp-exhibit-venue-dark,
body.dp-standalone .dps-inner .dp-hall.dp-exhibit-venue-dark > section {
  --dp-venue-foreground:#eff4f8;
  --dp-venue-muted:#b4c1d0;
  --dp-venue-border:rgba(231,239,246,.12);
  background:
    radial-gradient(ellipse 95% 100% at 48% -30%,rgba(125,145,165,.125),transparent 83%),
    linear-gradient(150deg,#253341 0%,#1c2836 63%,#17232f 100%);
  color:var(--dp-venue-foreground);
  border:0;border-radius:17px;
  box-shadow:0 16px 35px rgba(16,34,55,.12);
  padding:clamp(16px,2.5vw,32px);
}
body.dp-standalone .dps-inner .dp-gallery-panel.dp-exhibit-venue-light,
body.dp-standalone .dps-inner .dp-hall.dp-exhibit-venue-light > section {
  --dp-venue-foreground:#182b3d;
  --dp-venue-muted:#586b7b;
  background:#f5f7f9;color:var(--dp-venue-foreground);
  border:0;border-radius:16px;box-shadow:none;
  padding:clamp(16px,2.5vw,32px);
}
/* Category/year controls and public page headings always sit outside the dark venue. */
body.dp-standalone .dps-inner .dp-gallery-heading,
body.dp-standalone .dps-inner .dp-gallery-years,
body.dp-standalone .dps-public-heading {
  background:transparent;color:#22384d;
}
/* Artwork floats on the exhibition wall; no individual lamps, mats or thick per-work frames. */
body.dp-standalone .dps-inner .dp-gallery-panel .dp-gallery-grid > .dp-art {
  min-width:0;overflow:visible;background:transparent;border:0;box-shadow:none;border-radius:0;
}
body.dp-standalone .dps-inner .dp-gallery-panel .dp-gallery-grid .dp-art .dp-art-cover {
  display:flex;align-items:center;justify-content:center;
  box-sizing:border-box;aspect-ratio:var(--dp-poster-ratio,3/4);
  width:100%;height:auto;padding:8px 8px 17px;
  background:transparent;border:0;border-radius:0;box-shadow:none;
  overflow:visible;
}
body.dp-standalone .dps-inner .dp-gallery-panel .dp-gallery-grid .dp-art .dp-art-cover img {
  display:block;box-sizing:border-box;width:auto;height:auto;
  max-width:100%;max-height:100%;object-fit:contain;object-position:center;
  border:0;border-radius:2px;
  box-shadow:0 2px 4px rgba(3,12,26,.2),0 11px 23px rgba(3,12,26,.24),0 24px 35px rgba(3,12,26,.12);
  transition:transform .18s ease,box-shadow .18s ease;
}
body.dp-standalone .dps-inner .dp-gallery-panel .dp-gallery-grid .dp-art .dp-art-cover:hover img {
  transform:translateY(-2px);
  box-shadow:0 4px 7px rgba(3,12,26,.21),0 15px 28px rgba(3,12,26,.3),0 26px 45px rgba(3,12,26,.14);
}
body.dp-standalone .dps-inner .dp-gallery-panel .dp-gallery-grid .dp-art .dp-art-info {
  padding:4px 8px 0;margin:0;background:transparent;border:0;border-radius:0;
  color:var(--dp-venue-foreground);
}
body.dp-standalone .dps-inner .dp-gallery-panel .dp-art .dp-art-info .dp-art-category {
  display:inline-block;margin:0 0 5px;padding:0;background:none;
  color:var(--dp-venue-muted);font-size:11px;font-weight:600;line-height:1.45;
}
body.dp-standalone .dps-inner .dp-gallery-panel .dp-art .dp-art-info h3 {
  color:var(--dp-venue-foreground);font-size:15px;line-height:1.4;margin:0 0 5px;
}
body.dp-standalone .dps-inner .dp-gallery-panel .dp-art .dp-art-info h3 a {color:inherit;text-decoration:none;}
body.dp-standalone .dps-inner .dp-gallery-panel .dp-art .dp-art-info h3 a:hover {text-decoration:underline;text-underline-offset:3px;}
body.dp-standalone .dps-inner .dp-gallery-panel .dp-art .dp-art-info p {
  font-size:12px;line-height:1.45;margin:2px 0 0;color:var(--dp-venue-muted);
  overflow-wrap:anywhere;
}
body.dp-standalone .dps-inner .dp-gallery-panel .dp-no-results {color:var(--dp-venue-foreground);}
/* The official award hall uses the SAME image / metadata rhythm, never white cards on the dark wall. */
body.dp-standalone .dps-inner .dp-hall > section {margin:18px 0 26px;}
body.dp-standalone .dps-inner .dp-hall > section > h2 {
  color:var(--dp-venue-foreground);font-size:19px;line-height:1.35;margin:0 0 22px;
  padding-bottom:12px;border-bottom:1px solid var(--dp-venue-border,rgba(25,45,65,.11));
}
body.dp-standalone .dps-inner .dp-hall-grid {gap:clamp(12px,1.6vw,22px);}
body.dp-standalone .dps-inner .dp-hall-card {
  background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible;
  min-width:0;
}
body.dp-standalone .dps-inner .dp-hall-card a {
  display:flex;flex-direction:column;gap:0;width:100%;height:100%;padding:0;color:var(--dp-venue-foreground);
  text-decoration:none;
}
body.dp-standalone .dps-inner .dp-hall-card .dp-hall-cover {
  display:flex;align-items:center;justify-content:center;
  box-sizing:border-box;aspect-ratio:var(--dp-poster-ratio,3/4);
  width:100%;padding:8px 8px 17px;background:transparent;
}
body.dp-standalone .dps-inner .dp-hall-card .dp-hall-cover img {
  display:block;width:auto;height:auto;max-width:100%;max-height:100%;
  aspect-ratio:auto;object-fit:contain;object-position:center;
  background:transparent;border:0;border-radius:2px;
  box-shadow:0 2px 4px rgba(3,12,26,.20),0 11px 24px rgba(3,12,26,.26);
  transition:transform .18s ease,box-shadow .18s ease;
}
body.dp-standalone .dps-inner .dp-hall-card a:hover .dp-hall-cover img {
  transform:translateY(-2px);box-shadow:0 4px 7px rgba(3,12,26,.22),0 17px 30px rgba(3,12,26,.28);
}
body.dp-standalone .dps-inner .dp-hall-card .dp-hall-meta {padding:4px 8px 0;min-width:0;}
body.dp-standalone .dps-inner .dp-hall-card .dp-hall-award {
  display:inline-block;padding:3px 8px;margin:0 0 8px;
  border-radius:999px;background:rgba(213,172,102,.16);border:1px solid rgba(219,184,119,.26);
  color:#f2d4a5;font-size:11px;font-weight:750;line-height:1.4;
}
body.dp-standalone .dps-inner .dp-exhibit-venue-light .dp-hall-card .dp-hall-award {color:#8c5b23;background:#f6e7cb;border-color:#e8cfaa;}
body.dp-standalone .dps-inner .dp-hall-card h3 {
  color:var(--dp-venue-foreground);font-size:15px;line-height:1.4;margin:0 0 5px;overflow-wrap:anywhere;
}
body.dp-standalone .dps-inner .dp-hall-card p {
  margin:3px 0 0;color:var(--dp-venue-muted);font-size:12px;line-height:1.45;overflow-wrap:anywhere;
}
body.dp-standalone .dps-inner .dp-gallery-panel.dp-exhibit-venue-light .dp-art .dp-art-cover img,
body.dp-standalone .dps-inner .dp-hall.dp-exhibit-venue-light .dp-hall-cover img {
  box-shadow:0 2px 6px rgba(16,35,55,.11),0 12px 26px rgba(16,35,55,.12);
}
@media(max-width:760px){
  body.dp-standalone .dps-inner .dp-gallery-panel.dp-exhibit-venue-dark,
  body.dp-standalone .dps-inner .dp-gallery-panel.dp-exhibit-venue-light,
  body.dp-standalone .dps-inner .dp-hall.dp-exhibit-venue-dark > section,
  body.dp-standalone .dps-inner .dp-hall.dp-exhibit-venue-light > section {padding:14px 9px;border-radius:10px;}
  body.dp-standalone .dps-inner .dp-gallery-panel .dp-gallery-grid .dp-art .dp-art-cover,
  body.dp-standalone .dps-inner .dp-hall-card .dp-hall-cover {padding:3px 4px 12px;}
  body.dp-standalone .dps-inner .dp-gallery-panel .dp-gallery-grid .dp-art .dp-art-info,
  body.dp-standalone .dps-inner .dp-hall-card .dp-hall-meta {padding:4px 3px 0;}
  body.dp-standalone .dps-inner .dp-gallery-panel .dp-art .dp-art-info h3,
  body.dp-standalone .dps-inner .dp-hall-card h3 {font-size:13px;}
  body.dp-standalone .dps-inner .dp-gallery-panel .dp-art .dp-art-info p,
  body.dp-standalone .dps-inner .dp-hall-card p {font-size:11px;}
}
@media(prefers-reduced-motion:reduce){
  body.dp-standalone .dps-inner .dp-gallery-panel .dp-art .dp-art-cover img,
  body.dp-standalone .dps-inner .dp-hall-card .dp-hall-cover img {transition:none;}
  body.dp-standalone .dps-inner .dp-gallery-panel .dp-art .dp-art-cover:hover img,
  body.dp-standalone .dps-inner .dp-hall-card a:hover .dp-hall-cover img {transform:none;}
}
@media print {
  body.dp-standalone .dps-inner .dp-gallery-panel.dp-exhibit-venue-dark,
  body.dp-standalone .dps-inner .dp-hall.dp-exhibit-venue-dark > section {
    background:#fff;color:#000;box-shadow:none;
  }
  body.dp-standalone .dps-inner .dp-gallery-panel .dp-art .dp-art-cover img,
  body.dp-standalone .dps-inner .dp-hall-card .dp-hall-cover img {box-shadow:none;}
}
