.ak-shot { margin: 0 0 34px; cursor: zoom-in; }
.ak-shot img { display: block; width: 100%; height: auto; }
.ak-shot__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 9px 12px; border: 1px solid var(--rule); border-top: 0; background: var(--surface); color: var(--ink-muted); }
.ak-shot:hover .ak-shot__bar { background: var(--surface-alt); }
.ak-shot__cap { min-width: 0; font: 400 10.5px/1.5 var(--font-mono); }
.ak-shot__count { flex: none; color: var(--ink-quiet); font: 500 10.5px/1.5 var(--font-mono); letter-spacing: .06em; }
.ak-shot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
body.single-review .elementor-location-single .elementor-widget-theme-post-content .wp-block-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
body.single-review .elementor-location-single .elementor-widget-theme-post-content .wp-block-gallery .ak-shot { margin: 0; }
body.single-review .elementor-location-single .elementor-widget-theme-post-content .wp-block-gallery > .ak-shot:first-child:nth-last-child(3) { grid-column: 1 / -1; }
body.single-portfolio .elementor-location-single .elementor-widget-theme-post-content .ak-portfolio-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 44px 0; }
body.single-portfolio .elementor-location-single .elementor-widget-theme-post-content .ak-portfolio-gallery .ak-shot { margin: 0; }
body.single-portfolio .elementor-location-single .elementor-widget-theme-post-content .ak-portfolio-gallery .ak-shot img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
body.single-portfolio .elementor-location-single .elementor-widget-theme-post-content .ak-portfolio-gallery > .ak-shot:first-child:nth-last-child(3) { grid-column: 1 / -1; }
body.single-portfolio .elementor-location-single .elementor-widget-theme-post-content .wp-block-gallery { display: grid; gap: 20px; margin: 44px 0; }
body.single-portfolio .elementor-location-single .elementor-widget-theme-post-content .wp-block-gallery.columns-1 { grid-template-columns: 1fr; }
body.single-portfolio .elementor-location-single .elementor-widget-theme-post-content .wp-block-gallery.columns-default { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.single-portfolio .elementor-location-single .elementor-widget-theme-post-content .wp-block-gallery.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.single-portfolio .elementor-location-single .elementor-widget-theme-post-content .wp-block-gallery.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.single-portfolio .elementor-location-single .elementor-widget-theme-post-content .wp-block-gallery.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.single-portfolio .elementor-location-single .elementor-widget-theme-post-content .wp-block-gallery.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
body.single-portfolio .elementor-location-single .elementor-widget-theme-post-content .wp-block-gallery.columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
body.single-portfolio .elementor-location-single .elementor-widget-theme-post-content .wp-block-gallery .ak-shot { margin: 0; }
body.single-portfolio .elementor-location-single .elementor-widget-theme-post-content .wp-block-gallery .ak-shot img { width: 100%; height: auto !important; aspect-ratio: auto !important; object-fit: contain !important; }
.ak-youtube { position: relative; display: block; width: 100%; margin: 44px 0; padding: 0; overflow: hidden; border: 0; border-radius: 0; background: var(--surface-alt); cursor: pointer; }
.ak-youtube img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.ak-youtube__play { position: absolute; top: 50%; left: 50%; width: 72px; height: 72px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--paper); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.ak-youtube__play::after { content: ''; position: absolute; top: 50%; left: 53%; transform: translate(-50%, -50%); border-top: 11px solid transparent; border-bottom: 11px solid transparent; border-left: 17px solid var(--ink); }
.ak-youtube:hover .ak-youtube__play, .ak-youtube:focus-visible .ak-youtube__play { transform: translate(-50%, -50%) scale(1.06); }
.ak-youtube:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ak-video-lightbox[hidden] { display: none; }
.ak-video-lightbox { position: fixed; z-index: 95; inset: 0; display: flex; align-items: center; justify-content: center; padding: 32px; opacity: 0; background: rgba(10, 13, 17, .96); transition: opacity .16s var(--ease); }
.ak-video-lightbox.is-open { opacity: 1; }
.ak-video-lightbox__frame { width: min(1200px, 100%); aspect-ratio: 16 / 9; background: #000; }
.ak-video-lightbox__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.ak-video-lightbox__close { position: absolute; top: 18px; right: 24px; width: 42px; height: 42px; border: 1px solid #2e353f; border-radius: 50%; background: transparent; color: #e4e7ec; font: 400 28px/1 var(--font-ui); }
.ak-video-lightbox__close:hover, .ak-video-lightbox__close:focus-visible { border-color: #5c6470; background: rgba(255,255,255,.06); }
.ak-lightbox[hidden] { display: none; }
.ak-lightbox { position: fixed; z-index: 90; inset: 0; display: flex; flex-direction: column; opacity: 0; background: rgba(10, 13, 17, .97); backdrop-filter: blur(3px); transition: opacity .16s var(--ease); }
.ak-lightbox.is-open { opacity: 1; }
.ak-lightbox__top, .ak-lightbox__foot { flex: none; padding: 18px 24px; }
.ak-lightbox__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #949ca8; font: 500 11px/1.5 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.ak-lightbox__counter { color: #e4e7ec; }
.ak-lightbox__close { width: 42px; height: 42px; padding: 0; border: 1px solid #2e353f; border-radius: 50%; background: transparent; color: #949ca8; font-size: 0; }
.ak-lightbox__close::before { content: '×'; font: 400 28px/1 var(--font-ui); }
.ak-lightbox__close:hover, .ak-lightbox__close:focus-visible { border-color: #5c6470; color: #e4e7ec; }
.ak-lightbox__stage { position: relative; display: flex; flex: 1; align-items: center; justify-content: center; min-height: 0; padding: 0 76px; }
.ak-lightbox__image { max-width: 100%; max-height: 100%; width: auto !important; object-fit: contain; }
.ak-lightbox__nav { position: absolute; top: 50%; width: 44px; height: 44px; transform: translateY(-50%); border: 1px solid #2e353f; border-radius: 50%; background: transparent; color: #c9cfd8; font: 400 16px/1 var(--font-mono); }
.ak-lightbox__nav:hover, .ak-lightbox__nav:focus-visible { border-color: #5c6470; background: rgba(255,255,255,.06); }
.ak-lightbox__prev { left: 18px; }
.ak-lightbox__next { right: 18px; }
.ak-lightbox__foot { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-bottom: 22px; }
.ak-lightbox__caption { max-width: 60ch; color: #d4d9e0; font: 400 15px/1.6 var(--font-body); text-align: center; text-wrap: pretty; }
.ak-lightbox__thumbs { display: flex; justify-content: center; gap: 8px; max-width: 100%; overflow-x: auto; }
.ak-lightbox__thumb { flex: 0 0 84px; padding: 0; border: 0; outline: 1px solid rgba(255,255,255,.14); outline-offset: -1px; opacity: .5; background: transparent; }
.ak-lightbox__thumb.is-active { outline-color: #e4e7ec; opacity: 1; }
.ak-lightbox__thumb img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  body.single-portfolio .elementor-location-single .elementor-widget-theme-post-content .ak-portfolio-gallery { grid-template-columns: 1fr; gap: 16px; margin: 34px 0; }
  body.single-portfolio .elementor-location-single .elementor-widget-theme-post-content .wp-block-gallery { grid-template-columns: 1fr; gap: 16px; margin: 34px 0; }
  .ak-youtube { margin: 34px 0; }
  .ak-video-lightbox { padding: 16px; }
  .ak-video-lightbox__close { top: 12px; right: 12px; }
  .ak-lightbox__top, .ak-lightbox__foot { padding-inline: 16px; }
  .ak-lightbox__stage { padding-inline: 62px; }
}
@media (prefers-reduced-motion: reduce) {
  .ak-lightbox, .ak-lightbox__thumb { transition: none; }
}
