/* Land plan overlay — shared by the admin editor and the public project page. */
.lp-stage { position: relative; line-height: 0; user-select: none; -webkit-user-select: none; }
.lp-stage > img { width: 100%; height: auto; display: block; border-radius: 8px; }
.lp-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.lp-poly {
  fill: color-mix(in srgb, var(--lp-boundary, #ffc107) 24%, transparent); stroke: var(--lp-boundary, #ffc107); stroke-width: 2.5;
  vector-effect: non-scaling-stroke; stroke-linejoin: round;
}

/* Boundary corner handle */
.lp-pt {
  position: absolute; width: 14px; height: 14px; translate: -50% -50%;
  border-radius: 50%; background: #fff; border: 3px solid var(--lp-boundary, #ffc107);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .45);
  transition: scale .15s ease, box-shadow .15s ease;
}
.lp-editing .lp-pt { cursor: grab; }
.lp-editing .lp-pt:hover { scale: 1.3; }

/* Dimension chip (div on the public page, input in the editor) */
.lp-dim {
  position: absolute; translate: -50% -50%; font: 600 12px/1 system-ui, sans-serif;
  background: rgba(0, 0, 0, .75); color: #fff; padding: 4px 7px; border-radius: 4px;
  white-space: nowrap; border: 0; text-align: center;
  transition: background .2s ease, box-shadow .2s ease;
}
input.lp-dim { width: 5.5em; line-height: 1.2; }
input.lp-dim::placeholder { color: rgba(255, 255, 255, .55); }
input.lp-dim:focus { outline: 0; background: #000; box-shadow: 0 0 0 2px #ffc107; }

/* Location pin */
.lp-pin { position: absolute; translate: -50% -100%; display: flex; flex-direction: column; align-items: center; }
.lp-pin-icon {
  font-size: calc(28px * var(--lp-pin-size, 1)); line-height: 1; color: var(--lp-pin, #dc3545); transform-origin: bottom center;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .45)); transition: scale .15s ease;
}
.lp-editing .lp-pin-icon { cursor: grab; }
.lp-editing .lp-pin-icon:hover { scale: 1.15; }
.lp-pin-label {
  order: -1; margin-bottom: 3px; font: 600 12px/1 system-ui, sans-serif; background: #fff; color: #222;
  padding: 4px 8px; border-radius: 4px; border: 0; white-space: nowrap; text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .35); transition: width .15s ease, box-shadow .2s ease;
}
input.lp-pin-label:focus { outline: 0; box-shadow: 0 0 0 2px #dc3545; }

/* While dragging: lift the handle, no easing on position (it follows the pointer 1:1) */
.lp-dragging { z-index: 5; }
.lp-dragging.lp-pt { scale: 1.45; box-shadow: 0 4px 10px rgba(0, 0, 0, .5); }
.lp-dragging .lp-pin-icon { scale: 1.2; }
.lp-dragging { cursor: grabbing !important; }

/* Enter / exit animations */
.lp-in { animation: lp-pop .38s cubic-bezier(.34, 1.56, .64, 1) both; }
.lp-out { animation: lp-out .18s ease-in forwards; pointer-events: none; }
@keyframes lp-pop { from { opacity: 0; transform: translateY(-14px) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes lp-out { to { opacity: 0; transform: scale(.4); } }
@keyframes lp-fade { from { opacity: 0; } to { opacity: 1; } }

/* Public view: polygon fades in, then corners/labels/pins pop in one after another */
.lp-view .lp-poly { animation: lp-fade .6s ease both; }
.lp-view .lp-in { animation-delay: calc(var(--i, 0) * 80ms + .25s); }

/* Editor chrome */
.lp-editor { max-width: none; }
.lp-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.lp-btn {
  padding: 6px 14px; border: 1px solid #c8c8c8; border-radius: 6px; background: #fff; color: #333;
  font: 600 13px system-ui, sans-serif; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .1s ease;
}
.lp-btn:hover { border-color: #888; }
.lp-btn:active { transform: scale(.96); }
.lp-btn.is-active { background: #007d7e; border-color: #007d7e; color: #fff; }
.lp-empty { color: #666; font-style: italic; }
.lp-editing { cursor: crosshair; touch-action: none; }

@media (prefers-reduced-motion: reduce) {
  .lp-stage *, .lp-btn { transition: none !important; animation: none !important; }
}

/* Editor inputs: reset Wagtail's admin input styling, then restyle as compact chips */
.lp-stage input.lp-dim, .lp-stage input.lp-pin-label {
  all: unset; box-sizing: content-box; position: absolute; font: 600 12px/1.2 system-ui, sans-serif;
  padding: 4px 7px; border-radius: 4px; text-align: center; max-width: 16em; cursor: text;
  transition: background .2s ease, box-shadow .2s ease, opacity .2s ease, width .15s ease;
}
.lp-stage input.lp-dim { translate: -50% -50%; background: rgba(0, 0, 0, .75); color: #fff; }
.lp-stage input.lp-dim::placeholder { color: rgba(255, 255, 255, .7); }
/* Empty edge boxes stay quiet until hovered/focused so they don't hide the photo */
.lp-stage input.lp-dim:placeholder-shown { background: rgba(0, 0, 0, .4); opacity: .75; }
.lp-stage input.lp-dim:placeholder-shown:hover, .lp-stage input.lp-dim:focus { background: #000; opacity: 1; }
.lp-stage input.lp-pin-label { position: static; background: #fff; color: #222; margin-bottom: 3px; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.lp-stage input.lp-pin-label::placeholder { color: #777; }
.lp-stage input.lp-dim:focus-visible, .lp-stage input.lp-pin-label:focus-visible,
.lp-btn:focus-visible, .lp-pt:focus-visible, .lp-pin-icon:focus-visible { outline: 2px solid #ffc107; outline-offset: 2px; box-shadow: 0 0 0 4px rgba(0, 0, 0, .55); }

/* Whole pin is the drag target in the editor; lifts while held, settles when dropped */
.lp-editing .lp-pin { cursor: grab; }
.lp-pin-icon { transition: scale .15s ease, translate .15s ease; }
.lp-dragging .lp-pin-icon { translate: 0 -8px; filter: drop-shadow(0 8px 5px rgba(0, 0, 0, .35)); }
.lp-pin.lp-drop .lp-pin-icon { animation: lp-settle .4s cubic-bezier(.34, 1.56, .64, 1); }
.lp-pt.lp-drop { animation: lp-pulse .35s ease-out; }
@keyframes lp-settle { 0% { transform: translateY(-8px); } 55% { transform: translateY(2px) scaleY(.92); } 100% { transform: none; } }
@keyframes lp-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, .6); } 100% { box-shadow: 0 0 0 12px rgba(255, 193, 7, 0); } }

/* Colour swatches */
.lp-swatches { display: inline-flex; gap: 6px; align-items: center; }
.lp-swatch {
  width: 22px; height: 22px; padding: 0; border-radius: 50%; background: var(--sw); cursor: pointer;
  border: 2px solid rgba(0, 0, 0, .25); transition: transform .15s ease, box-shadow .15s ease;
}
.lp-swatch:hover { transform: scale(1.15); }
.lp-swatch[aria-checked="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #333; transform: scale(1.1); }
.lp-swatch:focus-visible { outline: 2px solid #007d7e; outline-offset: 3px; }

/* Right-click menu */
.lp-menu {
  position: absolute; z-index: 10; min-width: 180px; padding: 6px; line-height: 1.2;
  background: #fff; border-radius: 8px; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); transform-origin: top left;
}
.lp-menu .lp-swatches { padding: 6px 6px 8px; flex-wrap: wrap; }
.lp-menu-item {
  display: block; width: 100%; padding: 8px 10px; border: 0; border-radius: 5px; background: transparent;
  color: #b02a37; font: 600 13px system-ui, sans-serif; text-align: left; cursor: pointer; transition: background .15s ease;
}
.lp-menu-item:hover, .lp-menu-item:focus-visible { background: #fbe9eb; outline: 0; }
.lp-menu.lp-in { animation: lp-menu-in .14s ease-out both; }
@keyframes lp-menu-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }

.lp-btn:disabled { opacity: .45; cursor: not-allowed; }
.lp-btn:disabled:hover { border-color: #c8c8c8; }
.lp-btn:disabled:active { transform: none; }

/* Customer page: JS arms the stage, then plays the sequence once it scrolls into view */
.lp-armed .lp-poly { animation: none; }
.lp-armed:not(.lp-play) .lp-poly { opacity: 0; }
.lp-armed .lp-in { animation-delay: var(--d, 0s); }
.lp-armed:not(.lp-play) .lp-in { animation-play-state: paused; }

.lp-box[hidden] { display: none; }

/* Autosave status: quiet text that fades in/out; never blocks the page */
.lp-status { flex: none; min-height: 1.2em; font: 600 12px system-ui, sans-serif; color: #666; opacity: 1; transition: opacity .4s ease, color .2s ease; }
.lp-status.is-hidden { opacity: 0; }
.lp-status-saving::before, .lp-status-pending::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%;
  background: #007d7e; animation: lp-pulse-dot 1s ease-in-out infinite;
}
.lp-status-pending::before { background: #999; animation: none; }
.lp-status-saved { color: #1a7f4b; }
.lp-status-saved::before { content: "✓ "; }
.lp-status-offline, .lp-status-retry, .lp-status-local { color: #9a6700; }
.lp-status-error, .lp-status-conflict { color: #b02a37; }
.lp-status-btn {
  margin-left: 8px; padding: 2px 8px; border: 1px solid currentColor; border-radius: 4px; background: transparent;
  color: inherit; font: inherit; cursor: pointer; transition: background .15s ease;
}
.lp-status-btn:hover { background: rgba(0, 0, 0, .06); }
@keyframes lp-pulse-dot { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }

@media (prefers-reduced-motion: reduce) { .lp-status, .lp-status::before { transition: none !important; animation: none !important; } }

/* Pin size control (editor, in the pin's right-click menu) */
.lp-size-row { display: flex; align-items: center; gap: 8px; padding: 4px 6px 8px; font: 600 12px system-ui, sans-serif; color: #333; }
.lp-size-row input[type="range"] { flex: 1; min-width: 90px; accent-color: #007d7e; cursor: pointer; }
.lp-size-row output { min-width: 2.6em; text-align: right; color: #666; font-weight: 500; }

/* Listing cards: a quiet, static version of the overlay (no labels, no animation) */
.lp-card { position: absolute; pointer-events: none; line-height: 0; transition: transform .3s ease; }
.lp-card .lp-poly { stroke-width: 2; }
.lp-card .lp-pt { width: 8px; height: 8px; border-width: 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.lp-card .lp-pin-icon { font-size: calc(17px * var(--lp-pin-size, 1)); }
.project-card:hover .lp-card { transform: scale(1.03); }   /* stays in step with the photo's hover zoom */

/* ═════════════ Photos panel redesign: photo cards | sticky annotation workspace ═════════════ */

/* Wagtail caps form width at 840px, which left the right half of the Photos panel empty. */
.w-form-width.lp-wide { max-width: none; }
.lp-photos-host { container-type: inline-size; container-name: lp-photos; }

/* Narrow (tablet portrait): photo cards form a grid on top, the workspace sits full-width below */
.lp-photos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; align-items: start; }
.lp-photos-grid > .lp-workspace { grid-column: 1 / -1; order: 2; }

/* Wide (desktop, tablet landscape): cards stack on the left, the workspace follows you on the right */
@container lp-photos (min-width: 860px) {
  .lp-photos-grid { grid-template-columns: minmax(270px, 330px) minmax(0, 1fr); column-gap: 28px; }
  .lp-photos-grid > .lp-slot { grid-column: 1; }
  .lp-photos-grid > .lp-workspace { grid-column: 2; grid-row: 1 / span 8; order: 0; position: sticky; top: 72px; align-self: start; }
}

/* Photo cards */
.lp-slot {
  background: #fff; border: 1px solid #e1e6ea; border-radius: 12px; padding: 12px 14px 14px;
  transition: border-color .2s ease, box-shadow .25s ease, transform .15s ease;
}
.lp-slot:hover { box-shadow: 0 4px 14px rgba(16, 40, 60, .08); }
.lp-slot.is-annotating { border-color: #007d7e; box-shadow: 0 0 0 3px rgba(0, 125, 126, .18), 0 6px 18px rgba(0, 125, 126, .12); }
.lp-slot .chooser__image { width: 100%; max-width: none; height: 120px; object-fit: cover; border-radius: 8px; }
.lp-slot-actions { margin-top: 10px; }
.lp-annotate {
  width: 100%; padding: 9px 12px; border: 1.5px solid #007d7e; border-radius: 9px; background: #fff; color: #007d7e;
  font: 600 13px system-ui, sans-serif; cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .1s ease;
}
.lp-annotate[hidden] { display: none; }
.lp-annotate:hover { background: #eaf6f6; }
.lp-annotate:active { transform: scale(.98); }
.lp-annotate:focus-visible { outline: 2px solid #007d7e; outline-offset: 2px; }
.lp-slot.is-annotated .lp-annotate { background: #e3f3f3; }
.lp-slot .lp-annotate[aria-pressed="true"] { background: #007d7e; color: #fff; }   /* more specific than .is-annotated, which tints the button */

/* Workspace card */
.lp-workspace .w-field__label, .lp-workspace label[for] { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* the card has its own heading */
.lp-workspace .lp-editor {
  background: #fff; border: 1px solid #e1e6ea; border-radius: 16px; padding: 16px 18px 18px;
  box-shadow: 0 2px 10px rgba(16, 40, 60, .06);
}
.lp-ws-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; min-height: 32px; }
.lp-ws-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lp-ws-title h4 { margin: 0; font: 700 16px system-ui, sans-serif; color: #1c2a33; }
.lp-ws-icon { color: #007d7e; font-size: 16px; }
.lp-ws-sub { padding: 3px 10px; border-radius: 99px; background: #e3f3f3; color: #00696a; font: 600 12px system-ui, sans-serif; animation: lp-pop .3s cubic-bezier(.34, 1.56, .64, 1) both; }
.lp-ws-sub[hidden] { display: none; }
.lp-ws-right { display: flex; align-items: center; gap: 12px; flex: none; }
.lp-btn-quiet { border-color: transparent; background: transparent; color: #596872; }
.lp-btn-quiet:hover { background: #f0f3f5; border-color: transparent; }
.lp-btn-quiet[hidden] { display: none; }
.lp-btn-danger { color: #b02a37; }
.lp-btn-danger:hover { background: #fdecee; border-color: #e5a3aa; }
.lp-btn:disabled { opacity: .4; cursor: not-allowed; }
.lp-btn:focus-visible { outline: 2px solid #007d7e; outline-offset: 2px; }

/* Empty state */
.lp-empty-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px;
  min-height: 340px; padding: 28px 24px; border: 2px dashed #cdd8de; border-radius: 14px; background: linear-gradient(180deg, #fafcfd, #f3f7f9);
  animation: lp-box-in .35s ease both;
}
.lp-empty-state[hidden] { display: none; }
.lp-empty-art { width: 170px; height: auto; margin-bottom: 8px; }
.lp-art-frame { fill: #fff; stroke: #cdd8de; stroke-width: 2; }
.lp-art-poly { fill: rgba(255, 193, 7, .2); stroke: #ffc107; stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 6 5; animation: lp-art-march 1.6s linear infinite; }
.lp-art-pt { fill: #fff; stroke: #ffc107; stroke-width: 2.5; }
.lp-art-pin { fill: #dc3545; transform-origin: 82px 62px; animation: lp-art-bob 2.2s ease-in-out infinite; }
.lp-art-pin circle { fill: #fff; }
.lp-empty-title { margin: 0; font: 700 17px system-ui, sans-serif; color: #1c2a33; }
.lp-empty-text { margin: 0; max-width: 360px; font: 14px/1.5 system-ui, sans-serif; color: #5a6a74; }
.lp-empty-state.is-loading .lp-art-poly { animation-duration: .8s; }
@keyframes lp-art-march { to { stroke-dashoffset: -22; } }
@keyframes lp-art-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes lp-box-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Toolbar: grouped controls */
.lp-box { animation: lp-box-in .3s ease both; }
.lp-toolbar { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-bottom: 14px; }
.lp-group { display: flex; align-items: center; gap: 8px; }
.lp-group + .lp-group { padding-left: 18px; border-left: 1px solid #e6ebee; }
.lp-group-label { font: 600 12px system-ui, sans-serif; color: #5a6a74; }

/* The photo is sized to fit the screen height (aspect set from JS), centred in the workspace */
.lp-box .lp-stage {
  width: min(100%, max(360px, calc((100vh - 270px) * var(--lp-aspect, 1.5)))); margin: 0 auto;
  border-radius: 10px; box-shadow: 0 10px 30px rgba(16, 40, 60, .22);
}
.lp-hint { margin: 14px 2px 0; font: 13px/1.5 system-ui, sans-serif; color: #5a6a74; }
.lp-hint i { color: #007d7e; margin-right: 4px; }

/* Tablets and other touch screens: bigger targets, and a tap replaces right-click */
@media (pointer: coarse) {
  .lp-pt { width: 24px; height: 24px; border-width: 4px; }
  .lp-pin-icon { font-size: calc(36px * var(--lp-pin-size, 1)); }
  .lp-swatch { width: 32px; height: 32px; }
  .lp-btn { padding: 11px 16px; font-size: 14px; }
  .lp-annotate { padding: 13px 12px; font-size: 14px; }
  .lp-menu-item { padding: 14px 14px; font-size: 15px; }
  .lp-size-row { padding: 8px 8px 12px; }
  .lp-size-row input[type="range"] { height: 32px; }
  .lp-stage input.lp-dim, .lp-stage input.lp-pin-label { font-size: 14px; padding: 7px 10px; }
}
/* Narrow containers: let the toolbar groups wrap cleanly without divider lines hugging the edge */
@container lp-photos (max-width: 600px) { .lp-group + .lp-group { padding-left: 0; border-left: 0; } .lp-ws-title h4 { font-size: 15px; } }

@media (prefers-reduced-motion: reduce) {
  .lp-art-poly, .lp-art-pin, .lp-box, .lp-empty-state, .lp-ws-sub { animation: none !important; }
  .lp-slot, .lp-annotate { transition: none !important; }
}
.lp-slot .w-field__wrapper, .lp-slot .w-field, .lp-slot .w-field__input { margin-bottom: 0; padding-bottom: 0; }   /* Wagtail's default spacing left a blank strip at the bottom of empty slots */
.lp-slot .chooser.blank { padding-bottom: 2px; }

/* ═════════════ Project page: main image, gallery thumbnails, lightbox ═════════════ */
.pg-main { position: relative; cursor: zoom-in; }
.pg-main .lp-stage { border-radius: 8px; overflow: hidden; }
.pg-main .lp-stage > img { border-radius: 0; }
.pg-expand {
  position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border: 0; border-radius: 50%; z-index: 3;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 15px; cursor: pointer; line-height: 1;
  opacity: 0; transform: scale(.9); transition: opacity .2s ease, transform .2s ease, background .2s ease;
}
.pg-main:hover .pg-expand, .pg-expand:focus-visible { opacity: 1; transform: none; }
.pg-expand:hover { background: rgba(0, 0, 0, .8); }
.pg-expand:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (hover: none) { .pg-expand { opacity: 1; transform: none; } }   /* touch screens have no hover */

.pg-thumb { display: block; position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 6px; background: #e9eef1; }
.pg-thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.pg-thumb:hover > img, .pg-thumb:focus-visible > img { transform: scale(1.04); }
.pg-thumb:hover .lp-card, .pg-thumb:focus-visible .lp-card { transform: scale(1.04); }   /* the overlay zooms with the photo */
.pg-thumb:focus-visible { outline: 2px solid #007d7e; outline-offset: 2px; }
.pg-thumb .lp-card .lp-pt { width: 7px; height: 7px; border-width: 2px; }
.pg-thumb .lp-card .lp-pin-icon { font-size: calc(15px * var(--lp-pin-size, 1)); }

html.pg-lb-open { overflow: hidden; }
.pg-lb { position: fixed; inset: 0; z-index: 2000; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transition: opacity .18s ease; }
.pg-lb[hidden] { display: none; }
.pg-lb.is-open { opacity: 1; }
.pg-lb-backdrop { position: absolute; inset: 0; background: rgba(8, 14, 20, .92); backdrop-filter: blur(4px); }
.pg-lb-holder { position: relative; display: flex; align-items: center; justify-content: center; max-width: 100vw; transition: opacity .18s ease, transform .25s ease; }
.pg-lb-holder.is-swapping { opacity: .35; }
.pg-lb.is-open .pg-lb-holder { animation: pg-lb-in .28s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes pg-lb-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
/* The photo is sized to fit the screen; the stage hugs it exactly so the overlay lines up */
.pg-lb-stage { width: min(94vw, max(280px, calc((100vh - 150px) * var(--lp-aspect, 1.5)))); border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.pg-lb-stage > img { border-radius: 8px; }
.pg-lb-btn {
  position: absolute; z-index: 2; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff;
  font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s ease, transform .15s ease;
}
.pg-lb-btn:hover { background: rgba(255, 255, 255, .28); }
.pg-lb-btn:active { transform: scale(.94); }
.pg-lb-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.pg-lb-btn[hidden] { display: none; }
.pg-lb-close { top: 18px; right: 18px; font-size: 30px; }
.pg-lb-prev { left: 18px; top: 50%; margin-top: -23px; }
.pg-lb-next { right: 18px; top: 50%; margin-top: -23px; }
.pg-lb-caption { position: relative; z-index: 2; margin-top: 14px; padding: 0 70px; max-width: 900px; text-align: center; color: #dfe6ea; font: 14px/1.5 system-ui, sans-serif; display: flex; flex-direction: column; gap: 2px; }
.pg-lb-count { font-weight: 700; letter-spacing: .04em; color: #fff; }
.pg-lb-note { font-size: 12.5px; color: #aab6bd; }
@media (max-width: 820px) { .pg-lb-prev { left: 8px; } .pg-lb-next { right: 8px; } .pg-lb-close { top: 10px; right: 10px; } .pg-lb-caption { padding: 0 20px; } .pg-lb-btn { width: 52px; height: 52px; } }
@media (prefers-reduced-motion: reduce) { .pg-lb, .pg-lb-holder, .pg-thumb > img, .pg-expand { transition: none !important; animation: none !important; } }
