/* 소개 01 Background: 연혁 단계별 '당시 실제 화면' 썸네일 + 크게 보기 (about.html 의 abShots 스위치로 켜고 끔) */
.ahx--shots li { grid-template-columns: 6.2em minmax(0, 1fr) auto; align-items: center; }
.ahx--shots li > strong, .ahx--shots li > span { grid-column: 2; }
.ahx--shots li > b { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
.art-history--shots .ax-k small { display: block; margin-top: 4px; font-size: 12px; font-weight: 500; color: var(--text-2); }

.ahx-shots { grid-column: 3; grid-row: 1 / span 2; display: flex; align-items: center; margin: 0 0 0 10px; padding: 4px; border: 0; border-radius: 10px; background: none; cursor: zoom-in; }
.ahx-shots img { display: block; width: 64px; height: 43px; object-fit: cover; border-radius: 6px; margin-left: -26px; background: var(--surface); box-shadow: 0 0 0 2px var(--surface), 0 3px 8px rgba(15, 23, 42, .18); transition: margin .25s ease, transform .25s ease; }
.ahx-shots img:first-child { margin-left: 0; transform: rotate(-4deg); }
.ahx-shots img:nth-child(2) { transform: translateY(-2px); position: relative; z-index: 1; }
.ahx-shots img:nth-child(3) { transform: rotate(4deg); position: relative; z-index: 2; }
.ahx-shots:hover img, .ahx-shots:focus-visible img { margin-left: 4px; transform: none; }
.ahx-shots:hover img:first-child, .ahx-shots:focus-visible img:first-child { margin-left: 0; }
.ahx-shots:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@container (max-width: 460px) {
  .ahx--shots li { grid-template-columns: 6.2em minmax(0, 1fr); }
  .ahx-shots { grid-column: 2; grid-row: auto; margin: 8px 0 0; padding: 0; justify-self: start; }
}
@container (max-width: 360px) {
  .ahx--shots li { grid-template-columns: 1fr; }
  .ahx--shots li > b, .ahx--shots li > strong, .ahx--shots li > span, .ahx-shots { grid-column: 1; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) { .ahx-shots img { transition: none; } }

/* 크게 보기 창 */
.shot-dlg { width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 16px; background: var(--surface); color: var(--text); box-shadow: 0 24px 70px rgba(0, 0, 0, .35); overflow: auto; }
.shot-dlg::backdrop { background: rgba(10, 12, 24, .62); backdrop-filter: blur(3px); }
.shot-dlg figure { margin: 0; }
.shot-dlg img { display: block; width: 100%; height: auto; background: #fff; }
.shot-dlg figcaption { padding: 14px 56px 16px 18px; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.shot-dlg figcaption small { display: block; margin-top: 2px; font-size: 12px; opacity: .8; }
.shot-dlg .shot-x { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--text); font-size: 20px; line-height: 1; cursor: pointer; }
.shot-dlg .shot-x:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
