/* Shared photo gallery + lightbox (/painting/, /stained-glass/, /piano/, /arts-and-crafts/, /clothing-designs/). */
.pt-wrap { max-width: var(--grid); margin: 0 auto; padding: 40px 24px 64px; }
.pt-wrap h1 { text-align: center; }
.pt-lede { max-width: 720px; margin: 16px auto 40px; text-align: center; color: rgb(70, 70, 70); }
.pt-year { margin-top: 40px; }
.pt-year h2 { border-bottom: 1px solid #e6e6e6; padding-bottom: 8px; margin-bottom: 20px; }
.pt-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.pt-card { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; }
.pt-card:focus-visible { outline: 2px solid #000; outline-offset: 4px; }
.pt-img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #f2f2f0; transition: transform .25s ease; }
.pt-card picture { display: block; overflow: hidden; }
.pt-card:hover .pt-img { transform: scale(1.03); }
.pt-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 10px; }
.pt-t { font-size: 18px; }
.pt-more { font-size: 13px; color: rgb(90, 90, 90); border: 1px solid #ccc; border-radius: 999px; padding: 1px 8px; white-space: nowrap; }

.pt-dlg { border: 0; padding: 0; width: min(1200px, 96vw); max-height: 94vh; background: #fff; color: var(--text); }
.pt-dlg::backdrop { background: rgba(0, 0, 0, .82); }
.pt-dlg-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px; max-height: 94vh; }
.pt-stage { position: relative; background: #111; display: flex; align-items: center; justify-content: center; min-height: 50vh; }
.pt-stage img { max-width: 100%; max-height: 94vh; object-fit: contain; }
.pt-info { padding: 56px 24px 24px; overflow-y: auto; }
.pt-info h2 { font-size: 28px; }
.pt-y { color: rgb(90, 90, 90); margin: 4px 0 12px; }
.pt-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pt-thumbs button { all: unset; cursor: pointer; width: 76px; height: 76px; border: 2px solid transparent; }
.pt-thumbs button[aria-current="true"] { border-color: #000; }
.pt-thumbs button:focus-visible { outline: 2px solid #000; }
.pt-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pt-x { position: absolute; top: 8px; right: 12px; z-index: 2; border: 0; background: none; font: 400 36px/1 var(--font); cursor: pointer; color: #000; }
.pt-nav { position: absolute; top: 50%; transform: translateY(-50%); border: 0; background: rgba(255, 255, 255, .85); color: #000; width: 44px; height: 44px; border-radius: 50%; font: 400 28px/1 var(--font); cursor: pointer; }
.pt-prev { left: 12px; } .pt-next { right: 12px; }

@media (max-width: 760px) {
  .pt-wrap { padding: 24px 16px 48px; }
  .pt-wrap h1 { font-size: 40px; }
  .pt-lede { margin-bottom: 24px; font-size: 16px; }
  .pt-grid { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .pt-t { font-size: 15px; }
  .pt-cap { flex-direction: column; gap: 4px; }
  .pt-dlg { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; }
  .pt-dlg-in { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: 100dvh; max-height: 100dvh; }
  .pt-stage { min-height: 0; height: 62dvh; }
  .pt-stage img { max-height: 62dvh; }
  .pt-info { padding: 16px; }
  .pt-x { color: #fff; background: rgba(0,0,0,.5); width: 40px; height: 40px; border-radius: 50%; font-size: 28px; }
}

/* section heading inside existing builder pages, and workshop clips */
.pt-sec { max-width: var(--grid); margin: 0 auto; padding: 24px 24px 48px; }
.pt-sec > h2 { border-bottom: 1px solid #e6e6e6; padding-bottom: 8px; margin-bottom: 8px; }
.pt-sec > p { color: rgb(70, 70, 70); margin-bottom: 20px; max-width: 760px; }
.pt-clips { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.pt-clips video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #111; }
.pt-clips p { margin-top: 8px; }
@media (max-width: 760px) { .pt-sec { padding: 16px 16px 40px; } }
.pt-gintro { color: rgb(70, 70, 70); margin: -8px 0 20px; max-width: 760px; }
.pt-embed { padding: 0 0 48px; }
@media (max-width: 760px) { .pt-embed { padding: 0 16px 40px; } }
.pt-audio { width: 100%; max-width: 520px; }
.pt-films { list-style: none; padding: 0; margin: 8px 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 24px; }
.pt-films video { width: 100%; aspect-ratio: 16 / 9; background: #111; }
.pt-films h3 { font-size: 24px; margin: 12px 0 6px; }
@media (max-width: 760px) { .pt-films { grid-template-columns: 1fr; } }
.pt-ideas { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.pt-ideas h3 { font-size: 20px; margin-bottom: 8px; }
