/* IPNA PHOTO EXPERIENCE v1 — isolated, editorial, accessible image gallery. */
body.ipna-v2 .ipna-gallery-story {
  --ipnap-ink: #0e2850;
  --ipnap-night: #061326;
  --ipnap-navy: #0c1f3b;
  --ipnap-blue: #2269d1;
  --ipnap-red: #e73950;
  --ipnap-muted: #60728d;
  --ipnap-border: #dce5f2;
  --ipnap-ease: cubic-bezier(.2,.72,.23,1);
  display: block;
  background: #f5f8fe;
  color: var(--ipnap-ink);
  min-height: 60vh;
  font-family: var(--ipna-font-family), Tahoma, sans-serif;
  direction: rtl;
  isolation: isolate;
}
body.ipna-v2 .ipna-gallery-story *,
body.ipna-v2 .ipna-gallery-story *::before,
body.ipna-v2 .ipna-gallery-story *::after { box-sizing: border-box; }
body.ipna-v2 .ipna-gallery-story button { font: inherit; cursor: pointer; }
body.ipna-v2 .ipna-gallery-story button:disabled { cursor: not-allowed; opacity: .4; }
body.ipna-v2 .ipna-gallery-story a { text-decoration: none; }
body.ipna-v2 .ipna-gallery-story a:focus-visible,
body.ipna-v2 .ipna-gallery-story button:focus-visible,
body.ipna-v2 .ipna-gallery-story [tabindex]:focus-visible {
  outline: 3px solid #e73950; outline-offset: 4px;
}
body.ipna-v2 .ipna-gallery-story__wrap {
  width: min(1390px, calc(100% - 48px));
  margin-inline: auto;
}
body.ipna-v2 .ipna-gallery-story svg {
  width: 20px; height: 20px; flex: 0 0 20px;
}
/* Editorial title + museum ticket metadata. */
body.ipna-v2 .ipna-gallery-story__masthead {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 56% 110% at 90% -14%, #e5efff, transparent 72%), #fff;
  border-bottom: 1px solid #dfe8f5;
  padding: 19px 0 30px;
}
body.ipna-v2 .ipna-gallery-story__masthead::after {
  content: ''; position: absolute; left: -120px; top: -135px;
  height: 340px; width: 340px; border: 46px solid rgba(29, 105, 212, .035);
  border-radius: 50%; pointer-events: none;
}
body.ipna-v2 .ipna-gallery-story__breadcrumbs {
  display: flex; align-items: center; flex-wrap: wrap; gap: 9px;
  color: #8190a6; font-size: 12px; font-weight: 700;
  margin-bottom: 23px;
}
body.ipna-v2 .ipna-gallery-story__breadcrumbs a { color: #3f5f8b; }
body.ipna-v2 .ipna-gallery-story__breadcrumbs a:hover { color: #155abe; }
body.ipna-v2 .ipna-gallery-story__intro {
  display: flex; align-items: end; justify-content: space-between; gap: 24px;
}
body.ipna-v2 .ipna-gallery-story__identity { min-width: 0; max-width: 970px; }
body.ipna-v2 .ipna-gallery-story__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 900; color: #c62d46;
  letter-spacing: .01em;
}
body.ipna-v2 .ipna-gallery-story__eyebrow svg { width: 18px; height: 18px; }
body.ipna-v2 .ipna-gallery-story__eyebrow-line {
  display: inline-block; height: 16px; width: 1px; margin-inline: 5px;
  background: #d8deea;
}
body.ipna-v2 .ipna-gallery-story__identity h1 {
  color: #102d59; font-size: clamp(25px, 2.55vw, 38px);
  font-weight: 900; line-height: 1.46; letter-spacing: -.022em;
  margin: 11px 0 15px; overflow-wrap: anywhere;
}
body.ipna-v2 .ipna-gallery-story__facts {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 9px 19px; color: #637694; font-size: 12px; font-weight: 700;
}
body.ipna-v2 .ipna-gallery-story__facts span,
body.ipna-v2 .ipna-gallery-story__facts time {
  display: inline-flex; align-items: center; gap: 6px;
}
body.ipna-v2 .ipna-gallery-story__facts svg {
  height: 16px; width: 16px; flex-basis: 16px; color: #3467ac;
}
body.ipna-v2 .ipna-gallery-story__credit { color: #233d68; }
body.ipna-v2 .ipna-gallery-story__actions { display: flex; flex-wrap: wrap; gap: 9px; flex: none; }
body.ipna-v2 .ipna-gallery-story__action {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  color: #fff; background: #155cc4; border: 1px solid #155cc4;
  padding: 11px 16px; min-height: 43px; border-radius: 11px;
  font-weight: 800; font-size: 12px; white-space: nowrap;
  box-shadow: 0 5px 12px rgba(21,92,196,.13);
  transition: box-shadow .25s var(--ipnap-ease), transform .25s var(--ipnap-ease), background .2s ease;
}
body.ipna-v2 .ipna-gallery-story__action svg { height: 16px; width: 16px; flex-basis: 16px; }
body.ipna-v2 .ipna-gallery-story__action--quiet { color: #1e4c8d; background: #eef4ff; border-color: #d8e5f8; box-shadow: none; }
body.ipna-v2 .ipna-gallery-story__action:hover { transform: translateY(-2px); box-shadow: 0 11px 19px rgba(21,92,196,.18); }
body.ipna-v2 .ipna-gallery-story__action--quiet:hover { background: #dfeeff; }
/* The immersive gallery hall. */
body.ipna-v2 .ipna-gallery-story__theater {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 72% 43% at 50% 22%, #142d50 0%, transparent 83%),
              linear-gradient(130deg, #0a1c37 0%, #061427 60%, #091729 100%);
  padding: 25px 0 37px; color: #fff;
}
body.ipna-v2 .ipna-gallery-story__theater::before {
  content: ''; position: absolute; inset: 0;
  opacity: .17; pointer-events: none;
  background-image: radial-gradient(#b0c8e5 0.65px, transparent 0.65px);
  background-size: 14px 14px;
  mask-image: linear-gradient(180deg, #000, transparent 62%);
}
body.ipna-v2 .ipna-gallery-story__theater-glow {
  position: absolute; z-index: -1; inset: -140px 3% auto;
  height: 440px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(47,123,222,.19), transparent 70%);
  filter: blur(22px);
}
body.ipna-v2 .ipna-gallery-story__theater-top {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 12px; margin-bottom: 15px;
}
body.ipna-v2 .ipna-gallery-story__theater-label {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 12px; color: #bfd2ee; font-weight: 700;
  display: flex; align-items: center; gap: 9px;
}
body.ipna-v2 .ipna-gallery-story__live-dot {
  height: 8px; width: 8px; flex: 0 0 8px; border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(236,60,79,.10), 0 0 18px rgba(239,74,95,.44);
  background: var(--ipnap-red);
}
body.ipna-v2 .ipna-gallery-story__theater-divider {
  height: 15px; width: 1px; margin-inline: 3px;
  background: rgba(228,238,251,.28);
}
body.ipna-v2 .ipna-gallery-story__theater-buttons { display: flex; align-items: center; gap: 10px; flex: none; }
body.ipna-v2 .ipna-gallery-story__counter {
  min-width: 87px; text-align: center;
  padding: 8px 13px; border: 1px solid rgba(157,187,228,.22);
  background: rgba(255,255,255,.07); border-radius: 10px;
  font-size: 14px; font-weight: 850; color: #fff;
  font-variant-numeric: tabular-nums;
}
body.ipna-v2 .ipna-gallery-story__fullscreen {
  display: flex; align-items: center; gap: 7px; color: #eff6ff;
  padding: 9px 13px; border-radius: 10px;
  border: 1px solid rgba(162,192,231,.32);
  background: rgba(195,211,237,.08);
  font-size: 12px; font-weight: 800;
  backdrop-filter: blur(9px);
  transition: background .2s ease, border-color .2s ease;
}
body.ipna-v2 .ipna-gallery-story__fullscreen svg { height: 17px; width: 17px; flex-basis: 17px; }
body.ipna-v2 .ipna-gallery-story__fullscreen:hover {
  background: rgba(232,240,255,.16); border-color: rgba(209,228,255,.6);
}
body.ipna-v2 .ipna-gallery-story__stage {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 62px minmax(0,1fr) 62px;
  align-items: center; gap: 8px;
  padding: 18px 8px;
  border-radius: 22px;
  border: 1px solid rgba(175,203,239,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(4,13,25,.51)), #0a192e;
  box-shadow: 0 20px 60px rgba(0,0,0,.27), inset 0 1px rgba(255,255,255,.075);
}
body.ipna-v2 .ipna-gallery-story__stage-decoration {
  position: absolute; inset: 12px; border: 1px solid rgba(215,231,252,.045); pointer-events: none; border-radius: 15px;
}
body.ipna-v2 .ipna-gallery-story__stage-corner {
  position: absolute; width: 18px; height: 18px; border-color: rgba(223,236,255,.26);
  pointer-events: none;
}
body.ipna-v2 .ipna-gallery-story__stage-corner--tl { top: 13px; right: 13px; border-top: 2px solid; border-right: 2px solid; }
body.ipna-v2 .ipna-gallery-story__stage-corner--br { bottom: 13px; left: 13px; border-bottom: 2px solid; border-left: 2px solid; }
body.ipna-v2 .ipna-gallery-story__main-figure {
  margin: 0; min-width: 0; width: 100%;
  display: grid; place-items: center; height: min(59vw, 630px); min-height: 340px;
  overflow: hidden; border-radius: 8px;
  background: radial-gradient(ellipse at center, rgba(52,89,129,.28), rgba(7,17,33,.65));
}
body.ipna-v2 .ipna-gallery-story__main-figure img {
  display: block; max-width: 100%; max-height: 100%; width: 100%; height: 100%;
  object-fit: contain; filter: saturate(1.06) contrast(1.015);
  box-shadow: 0 15px 55px rgba(0,0,0,.18);
  transform: scale(1); opacity: 1;
  transition: transform .65s var(--ipnap-ease), opacity .23s ease;
}
body.ipna-v2 .ipna-gallery-story__main-figure img.is-changing {
  opacity: .32; transform: scale(.982);
}
body.ipna-v2 .ipna-gallery-story__nav {
  position: relative; z-index: 3;
  display: grid; place-items: center; margin-inline: auto;
  height: 45px; width: 45px; border-radius: 50%;
  color: #f1f7ff; border: 1px solid rgba(236,243,255,.24);
  background: rgba(255,255,255,.085);
  backdrop-filter: blur(10px);
  transition: border-color .2s ease, background .2s ease, transform .2s var(--ipnap-ease), box-shadow .2s ease;
}
body.ipna-v2 .ipna-gallery-story__nav:hover:not(:disabled) {
  background: #fff; color: #0e2c58; border-color: #fff;
  transform: scale(1.09); box-shadow: 0 7px 20px rgba(0,0,0,.27);
}
body.ipna-v2 .ipna-gallery-story__below-stage {
  display: flex; align-items: start; justify-content: space-between; gap: 12px;
  min-height: 38px; padding: 11px 4px 7px;
}
body.ipna-v2 .ipna-gallery-story__caption {
  font-size: 12px; font-weight: 650; color: #dae6f7; line-height: 1.75; max-width: 80%;
}
body.ipna-v2 .ipna-gallery-story__caption:empty { display: none; }
body.ipna-v2 .ipna-gallery-story__keys { white-space: nowrap; color: #7e99bd; font-size: 11px; }
body.ipna-v2 .ipna-gallery-story__keys kbd {
  border: 1px solid #355273; background: #102940; color: #c7ddf7;
  padding: 2px 5px; border-radius: 4px;
}
body.ipna-v2 .ipna-gallery-story__progress {
  height: 3px; width: 100%; overflow: hidden; border-radius: 9px;
  background: rgba(202,220,249,.14); margin: 0 0 21px;
}
body.ipna-v2 .ipna-gallery-story__progress > div {
  height: 100%; background: linear-gradient(90deg,#e93f57,#eb6c63);
  border-radius: inherit; transition: width .35s var(--ipnap-ease);
}
/* Filmstrip mimics a cinema contact-sheet. */
body.ipna-v2 .ipna-gallery-story__filmbar {
  padding: 12px 14px 14px; border: 1px solid rgba(137,178,222,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.048), rgba(255,255,255,.024));
  border-radius: 15px;
}
body.ipna-v2 .ipna-gallery-story__filmbar-header {
  display: flex; justify-content: space-between; align-items: center;
  color: #93accd; gap: 12px; font-size: 11px; margin: 0 3px 12px;
}
body.ipna-v2 .ipna-gallery-story__filmbar-header span:first-child {
  display: flex; align-items: center; gap: 8px; color: #e2edfc; font-size: 12px; font-weight: 800;
}
body.ipna-v2 .ipna-gallery-story__filmbar-header svg { height: 17px; width: 17px; flex-basis: 17px; }
body.ipna-v2 .ipna-gallery-story__filmstrip {
  display: flex; align-items: stretch; gap: 10px;
  overflow-x: auto; padding: 5px 2px 10px;
  scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #35557d transparent;
}
body.ipna-v2 .ipna-gallery-story__filmstrip::-webkit-scrollbar { height: 4px; }
body.ipna-v2 .ipna-gallery-story__filmstrip::-webkit-scrollbar-thumb { background: #375879; border-radius: 4px; }
body.ipna-v2 .ipna-gallery-story__thumb {
  position: relative; flex: 0 0 116px; width: 116px; height: 76px;
  border-radius: 8px; padding: 0; margin: 0;
  scroll-snap-align: center; border: 2px solid transparent;
  background: #102b4c; overflow: hidden;
  opacity: .66; transform: translateY(0);
  transition: opacity .28s ease, transform .28s var(--ipnap-ease), box-shadow .28s ease, border-color .28s ease;
}
body.ipna-v2 .ipna-gallery-story__thumb:hover { opacity: 1; transform: translateY(-3px); }
body.ipna-v2 .ipna-gallery-story__thumb.is-active {
  border-color: #f24d62; opacity: 1;
  box-shadow: 0 0 0 3px rgba(237,55,79,.22), 0 9px 23px rgba(0,0,0,.2);
}
body.ipna-v2 .ipna-gallery-story__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.ipna-v2 .ipna-gallery-story__thumb-number {
  position: absolute; bottom: 4px; left: 5px; color: white;
  font-weight: 900; font-size: 10px; padding: 2px 5px;
  background: rgba(5,14,26,.65); border-radius: 4px;
}
body.ipna-v2 .ipna-gallery-story__empty {
  text-align: center; padding: 70px 20px; color: #c9dbf3;
}
body.ipna-v2 .ipna-gallery-story__empty svg { width: 58px; height: 58px; color: #7da0cf; }
body.ipna-v2 .ipna-gallery-story__empty h2 { font-size: 22px; }
/* Documentary notes and photo credits. */
body.ipna-v2 .ipna-gallery-story__content-area { padding: 35px 0 62px; }
body.ipna-v2 .ipna-gallery-story__details-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 345px;
  gap: 22px; align-items: start;
}
body.ipna-v2 .ipna-gallery-story__about,
body.ipna-v2 .ipna-gallery-story__information {
  border: 1px solid var(--ipnap-border); border-radius: 18px;
  background: #fff; box-shadow: 0 10px 24px rgba(19,49,87,.035);
}
body.ipna-v2 .ipna-gallery-story__about { padding: 29px 30px 31px; }
body.ipna-v2 .ipna-gallery-story__section-kicker {
  color: #d83d52; font-size: 11px; font-weight: 900;
  margin-bottom: 8px;
}
body.ipna-v2 .ipna-gallery-story__about h2,
body.ipna-v2 .ipna-gallery-story__contact-heading h2,
body.ipna-v2 .ipna-gallery-story__related-heading h2 {
  font-size: clamp(20px, 2.1vw, 27px); line-height: 1.4;
  color: #122f5b; margin: 0 0 18px; font-weight: 900;
}
body.ipna-v2 .ipna-gallery-story__about h2 span,
body.ipna-v2 .ipna-gallery-story__contact-heading h2 span,
body.ipna-v2 .ipna-gallery-story__related-heading h2 span {
  display: inline-block; vertical-align: middle; width: 21px; height: 4px;
  background: var(--ipnap-red); border-radius: 5px; margin-inline-start: 6px;
}
body.ipna-v2 .ipna-gallery-story__narrative {
  color: #50647e; font-size: 14px; line-height: 2.08;
  margin: 0; overflow-wrap: anywhere;
}
body.ipna-v2 .ipna-gallery-story__narrative p { margin: 0 0 11px; }
body.ipna-v2 .ipna-gallery-story__narrative a { color: #165fc4; text-decoration: underline; }
body.ipna-v2 .ipna-gallery-story__categories {
  display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px;
}
body.ipna-v2 .ipna-gallery-story__categories a {
  display: inline-block; padding: 8px 11px; border-radius: 9px;
  background: #eef4ff; color: #2b5e9b; font-size: 12px; font-weight: 800;
  transition: background .2s ease;
}
body.ipna-v2 .ipna-gallery-story__categories a:hover { background: #e1edfc; }
body.ipna-v2 .ipna-gallery-story__information { padding: 24px 21px 20px; }
body.ipna-v2 .ipna-gallery-story__information h3 {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 900; margin: 0 0 15px;
  color: #193866;
}
body.ipna-v2 .ipna-gallery-story__information h3 svg { color: #df3c55; height: 18px; width: 18px; flex-basis: 18px; }
body.ipna-v2 .ipna-gallery-story__information dl { padding: 0; margin: 0; }
body.ipna-v2 .ipna-gallery-story__information dl > div {
  display: flex; justify-content: space-between; align-items: start; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid #edf1f7;
}
body.ipna-v2 .ipna-gallery-story__information dt { color: #7689a3; flex: 0 0 auto; font-size: 12px; }
body.ipna-v2 .ipna-gallery-story__information dd { margin: 0; text-align: left; color: #19345f; font-size: 12px; font-weight: 800; line-height: 1.65; overflow-wrap: anywhere; }
body.ipna-v2 .ipna-gallery-story__return {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 19px; padding: 12px 15px;
  border: 1px solid #c9dcf4; border-radius: 10px;
  background: #f0f6ff; color: #1958a8; font-size: 12px; font-weight: 850;
}
body.ipna-v2 .ipna-gallery-story__return svg { width: 16px; height: 16px; flex-basis: 16px; }
/* Twelve curated thumbnails, all full photos remain in upper viewer. */
body.ipna-v2 .ipna-gallery-story__contact,
body.ipna-v2 .ipna-gallery-story__related { margin-top: 46px; }
body.ipna-v2 .ipna-gallery-story__contact-heading,
body.ipna-v2 .ipna-gallery-story__related-heading {
  display: flex; align-items: center; justify-content: space-between; gap: 13px; margin-bottom: 12px;
}
body.ipna-v2 .ipna-gallery-story__contact-heading h2,
body.ipna-v2 .ipna-gallery-story__related-heading h2 { margin-bottom: 0; }
body.ipna-v2 .ipna-gallery-story__contact-heading > span { color: #7a8fa9; font-size: 12px; }
body.ipna-v2 .ipna-gallery-story__contact-grid {
  display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 11px;
}
body.ipna-v2 .ipna-gallery-story__contact-photo {
  position: relative; height: 136px; overflow: hidden;
  display: block; padding: 0; border-radius: 13px;
  border: 1px solid #e0e7f3; background: #e1e9f3;
  box-shadow: 0 6px 15px rgba(14,43,81,.045);
  transition: transform .4s var(--ipnap-ease), box-shadow .4s var(--ipnap-ease);
}
body.ipna-v2 .ipna-gallery-story__contact-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .65s var(--ipnap-ease), filter .65s var(--ipnap-ease);
}
body.ipna-v2 .ipna-gallery-story__contact-photo:hover {
  transform: translateY(-5px); box-shadow: 0 13px 26px rgba(21,58,104,.13);
}
body.ipna-v2 .ipna-gallery-story__contact-photo:hover img {
  transform: scale(1.075); filter: saturate(1.15);
}
body.ipna-v2 .ipna-gallery-story__contact-photo span {
  position: absolute; right: 9px; bottom: 8px; display: grid; place-items: center;
  height: 25px; min-width: 25px; padding: 3px 7px;
  border-radius: 7px; background: rgba(8,22,40,.72);
  color: #fff; font-size: 11px; font-weight: 800;
}
body.ipna-v2 .ipna-gallery-story__contact-note { color: #7587a0; font-size: 12px; margin: 12px 0 0; }
body.ipna-v2 .ipna-gallery-story__related-heading a { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #1d5db3; font-weight: 850; }
body.ipna-v2 .ipna-gallery-story__related-heading a svg { width: 15px; height: 15px; flex-basis: 15px; }
body.ipna-v2 .ipna-gallery-story__related-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
body.ipna-v2 .ipna-gallery-story__related-card {
  overflow: hidden; background: #fff; border: 1px solid #dce5f1;
  border-radius: 16px; box-shadow: 0 7px 20px rgba(14,43,81,.055);
  transition: box-shadow .3s var(--ipnap-ease), transform .3s var(--ipnap-ease);
}
body.ipna-v2 .ipna-gallery-story__related-card:hover { transform: translateY(-5px); box-shadow: 0 18px 33px rgba(14,43,81,.11); }
body.ipna-v2 .ipna-gallery-story__related-image { display: block; position: relative; overflow: hidden; background: #dce8f6; }
body.ipna-v2 .ipna-gallery-story__related-image img,
body.ipna-v2 .ipna-gallery-story__related-placeholder { display: grid; place-items: center; width: 100%; height: 205px; object-fit: cover; }
body.ipna-v2 .ipna-gallery-story__related-image img { transition: transform .6s var(--ipnap-ease); }
body.ipna-v2 .ipna-gallery-story__related-card:hover .ipna-gallery-story__related-image img { transform: scale(1.06); }
body.ipna-v2 .ipna-gallery-story__related-placeholder { color: #5273a0; font-weight: 900; font-size: 28px; }
body.ipna-v2 .ipna-gallery-story__related-image > span:not(.ipna-gallery-story__related-placeholder) {
  position: absolute; top: 11px; right: 12px;
  color: #fff; background: rgba(7,21,42,.73); border-radius: 9px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 9px; font-size: 10px; font-weight: 800;
  backdrop-filter: blur(8px);
}
body.ipna-v2 .ipna-gallery-story__related-image > span svg { width: 14px; height: 14px; flex-basis: 14px; }
body.ipna-v2 .ipna-gallery-story__related-copy { padding: 15px 16px 17px; }
body.ipna-v2 .ipna-gallery-story__related-copy h3 { font-size: 15px; line-height: 1.7; margin: 0 0 10px; font-weight: 900; }
body.ipna-v2 .ipna-gallery-story__related-copy h3 a { color: #193662; }
body.ipna-v2 .ipna-gallery-story__related-copy time { color: #7b8da7; font-size: 11px; }
/* Dialog inside the main element for consistent typography and focus semantics. */
body.ipna-v2 .ipna-photo-lightbox {
  position: fixed; inset: 2vh 2vw; width: 96vw; height: 96vh; max-width: 1640px; max-height: 96vh;
  border: 1px solid #24446d; border-radius: 15px;
  padding: 0; margin: auto; overflow: hidden;
  color: #fff; background: #071426; box-shadow: 0 30px 100px rgba(0,0,0,.7);
}
body.ipna-v2 .ipna-photo-lightbox::backdrop { background: rgba(2,8,19,.93); backdrop-filter: blur(8px); }
body.ipna-v2 .ipna-photo-lightbox__toolbar {
  height: 58px; display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px 8px 20px; border-bottom: 1px solid #1d3554;
}
body.ipna-v2 .ipna-photo-lightbox__toolbar strong { font-size: 17px; letter-spacing: .05em; }
body.ipna-v2 .ipna-photo-lightbox__toolbar strong span { color: #ee4a61; }
body.ipna-v2 .ipna-photo-lightbox__toolbar > span { color: #d7e8ff; font-weight: 900; font-size: 14px; }
body.ipna-v2 .ipna-photo-lightbox__toolbar > div { display: flex; gap: 9px; }
body.ipna-v2 .ipna-photo-lightbox__toolbar button {
  display: grid; place-items: center; width: 39px; height: 39px;
  color: #fff; border: 1px solid #365274; border-radius: 10px;
  background: #142c49; transition: background .2s ease;
}
body.ipna-v2 .ipna-photo-lightbox__toolbar button:hover { background: #294b79; }
body.ipna-v2 .ipna-photo-lightbox__toolbar svg { width: 19px; height: 19px; }
body.ipna-v2 .ipna-photo-lightbox__body {
  height: calc(100% - 98px); display: grid; grid-template-columns: 56px minmax(0,1fr) 56px;
  align-items: center; gap: 10px; padding: 12px;
}
body.ipna-v2 .ipna-photo-lightbox__body > button {
  display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%;
  border: 1px solid #38577c; background: #1d3759; color: #fff;
}
body.ipna-v2 .ipna-photo-lightbox__frame {
  min-width: 0; height: 100%; display: grid; place-items: center;
  overflow: auto; background: #050e1c; border-radius: 8px;
}
body.ipna-v2 .ipna-photo-lightbox__frame img {
  display: block; max-height: 100%; max-width: 100%; width: auto; height: auto;
  object-fit: contain; transition: transform .22s ease;
  transform: scale(1); cursor: zoom-in;
}
body.ipna-v2 .ipna-photo-lightbox__frame.is-zoomed img { transform: scale(1.8); cursor: zoom-out; }
body.ipna-v2 .ipna-photo-lightbox__caption {
  height: 40px; display: flex; align-items: center; justify-content: center;
  text-align: center; color: #b6c8e4; font-size: 12px;
}
/* Subtle appearance animation without trapping offscreen elements. */
@keyframes ipnaPhotoFadeUp { from { opacity: .45; transform: translateY(13px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  body.ipna-v2 .ipna-gallery-story__masthead .ipna-gallery-story__intro,
  body.ipna-v2 .ipna-gallery-story__theater .ipna-gallery-story__stage,
  body.ipna-v2 .ipna-gallery-story__filmbar {
    animation: ipnaPhotoFadeUp .65s cubic-bezier(.2,.72,.23,1) both;
  }
  body.ipna-v2 .ipna-gallery-story__filmbar { animation-delay: .16s; }
}
@media (max-width: 1090px) {
  body.ipna-v2 .ipna-gallery-story__details-row { grid-template-columns: minmax(0,1fr) 285px; }
  body.ipna-v2 .ipna-gallery-story__contact-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  body.ipna-v2 .ipna-gallery-story__main-figure { height: min(67vw, 540px); }
}
@media (max-width: 810px) {
  body.ipna-v2 .ipna-gallery-story__wrap { width: min(100% - 28px, 1390px); }
  body.ipna-v2 .ipna-gallery-story__intro { align-items: start; flex-direction: column; gap: 14px; }
  body.ipna-v2 .ipna-gallery-story__identity h1 { font-size: 28px; }
  body.ipna-v2 .ipna-gallery-story__stage { grid-template-columns: 45px minmax(0,1fr) 45px; gap: 0; padding: 10px 5px; }
  body.ipna-v2 .ipna-gallery-story__nav { width: 37px; height: 37px; }
  body.ipna-v2 .ipna-gallery-story__nav svg { width: 17px; height: 17px; }
  body.ipna-v2 .ipna-gallery-story__main-figure { height: 55vw; min-height: 270px; }
  body.ipna-v2 .ipna-gallery-story__details-row { grid-template-columns: 1fr; }
  body.ipna-v2 .ipna-gallery-story__related-image img,
  body.ipna-v2 .ipna-gallery-story__related-placeholder { height: 165px; }
}
@media (max-width: 620px) {
  body.ipna-v2 .ipna-gallery-story__wrap { width: calc(100% - 22px); }
  body.ipna-v2 .ipna-gallery-story__masthead { padding: 13px 0 19px; }
  body.ipna-v2 .ipna-gallery-story__breadcrumbs { gap: 6px; margin-bottom: 15px; font-size: 11px; }
  body.ipna-v2 .ipna-gallery-story__identity h1 { font-size: 22px; margin: 9px 0 14px; }
  body.ipna-v2 .ipna-gallery-story__facts { gap: 6px 13px; font-size: 11px; }
  body.ipna-v2 .ipna-gallery-story__action { font-size: 11px; padding: 9px 12px; min-height: 38px; }
  body.ipna-v2 .ipna-gallery-story__theater { padding: 16px 0 25px; }
  body.ipna-v2 .ipna-gallery-story__theater-top { gap: 8px; }
  body.ipna-v2 .ipna-gallery-story__theater-label { max-width: 50%; font-size: 10px; }
  body.ipna-v2 .ipna-gallery-story__theater-divider { display: none; }
  body.ipna-v2 .ipna-gallery-story__fullscreen { font-size: 0; padding: 9px; min-width: 34px; }
  body.ipna-v2 .ipna-gallery-story__fullscreen svg { height: 17px; width: 17px; }
  body.ipna-v2 .ipna-gallery-story__counter { padding: 8px; font-size: 12px; min-width: 75px; }
  body.ipna-v2 .ipna-gallery-story__stage { grid-template-columns: 30px minmax(0,1fr) 30px; gap: 2px; padding: 7px 2px; border-radius: 13px; }
  body.ipna-v2 .ipna-gallery-story__nav { width: 29px; height: 35px; border-radius: 9px; }
  body.ipna-v2 .ipna-gallery-story__nav svg { width: 15px; height: 15px; }
  body.ipna-v2 .ipna-gallery-story__main-figure { height: min(78vw, 365px); min-height: 190px; }
  body.ipna-v2 .ipna-gallery-story__keys { display: none; }
  body.ipna-v2 .ipna-gallery-story__caption { max-width: 100%; font-size: 11px; }
  body.ipna-v2 .ipna-gallery-story__filmbar { padding: 11px 9px; }
  body.ipna-v2 .ipna-gallery-story__thumb { flex-basis: 86px; width: 86px; height: 60px; }
  body.ipna-v2 .ipna-gallery-story__filmbar-header { font-size: 10px; }
  body.ipna-v2 .ipna-gallery-story__about { padding: 23px 18px; }
  body.ipna-v2 .ipna-gallery-story__information { padding: 20px 17px; }
  body.ipna-v2 .ipna-gallery-story__content-area { padding-top: 21px; }
  body.ipna-v2 .ipna-gallery-story__contact, body.ipna-v2 .ipna-gallery-story__related { margin-top: 32px; }
  body.ipna-v2 .ipna-gallery-story__contact-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
  body.ipna-v2 .ipna-gallery-story__contact-photo { height: 91px; }
  body.ipna-v2 .ipna-gallery-story__contact-heading > span { display: none; }
  body.ipna-v2 .ipna-gallery-story__related-grid { grid-template-columns: 1fr; gap: 12px; }
  body.ipna-v2 .ipna-gallery-story__related-image img,
  body.ipna-v2 .ipna-gallery-story__related-placeholder { height: 200px; }
  body.ipna-v2 .ipna-photo-lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; inset: 0; border: 0; border-radius: 0; }
  body.ipna-v2 .ipna-photo-lightbox__toolbar { height: 56px; }
  body.ipna-v2 .ipna-photo-lightbox__body { height: calc(100% - 96px); grid-template-columns: 29px minmax(0,1fr) 29px; gap: 3px; padding: 7px 3px; }
  body.ipna-v2 .ipna-photo-lightbox__body > button { width: 29px; height: 40px; border-radius: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  body.ipna-v2 .ipna-gallery-story *, body.ipna-v2 .ipna-gallery-story *::before,
  body.ipna-v2 .ipna-gallery-story *::after,
  body.ipna-v2 .ipna-photo-lightbox * { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
