.gallery-page {
  overflow-x: clip;
}

.gallery-hero {
  position: relative;
  overflow: hidden;
  padding-block: 88px 96px;
  background:
    radial-gradient(ellipse at 86% 17%, rgba(17, 181, 174, 0.13), transparent 30%),
    radial-gradient(ellipse at 12% 95%, rgba(255, 159, 67, 0.1), transparent 25%),
    linear-gradient(135deg, #f5f9ff 0%, #edf5ff 56%, #f5fbfa 100%);
}

.gallery-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.gallery-eyebrow-mark {
  display: inline-grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 8px;
  background: var(--fresh-mint);
  color: #078e89;
  font-size: 15px;
}

.gallery-hero .eyebrow {
  justify-content: center;
}

.gallery-hero h1 {
  margin-bottom: 14px;
  color: var(--deep-navy);
  font-size: clamp(46px, 7vw, 76px);
  font-weight: 800;
  letter-spacing: -4px;
  line-height: 1.08;
}

.gallery-hero h1 span {
  color: var(--royal-blue);
}

.gallery-hero-inner > p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(15px, 2vw, 18px);
}

.gallery-hero-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 25px;
  padding: 9px 14px;
  border: 1px solid rgba(17, 181, 174, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.78);
  color: #526b7e;
  font-size: 11px;
  font-weight: 600;
}

.gallery-hero-note span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vibrant-teal);
}

.gallery-hero-shape {
  position: absolute;
  border: 1px solid rgba(23, 70, 162, 0.09);
  border-radius: 50%;
  pointer-events: none;
}

.gallery-hero-shape-one {
  top: 12%;
  left: -95px;
  width: 260px;
  height: 260px;
  box-shadow: 0 0 0 24px rgba(23, 70, 162, 0.025), 0 0 0 49px rgba(23, 70, 162, 0.02);
}

.gallery-hero-shape-two {
  right: 7%;
  bottom: -150px;
  width: 280px;
  height: 280px;
  border-color: rgba(17, 181, 174, 0.15);
  box-shadow: 0 0 0 24px rgba(17, 181, 174, 0.025);
}

.gallery-hero-wave {
  position: absolute;
  right: -5%;
  bottom: -41px;
  left: -5%;
  height: 70px;
  border-radius: 50% 50% 0 0;
  background: var(--white);
}

.gallery-content {
  padding-top: 76px;
}

.gallery-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 31px;
}

.gallery-heading .eyebrow {
  margin-bottom: 12px;
}

.gallery-heading .section-heading {
  max-width: 630px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 44px);
}

.gallery-heading .section-heading span {
  color: var(--royal-blue);
}

.gallery-intro {
  max-width: 355px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
}

.gallery-filter {
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid #8295ad;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: #405570;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.gallery-filter:hover {
  transform: translateY(-1px);
  border-color: #1746a2;
  background: #edf3fb;
  color: #102a56;
}

.gallery-filter.is-active {
  border-color: #102a56;
  background: #1746a2;
  box-shadow: 0 7px 17px rgba(23, 70, 162, 0.17);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  align-items: start;
  gap: 22px;
  grid-auto-flow: dense;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e8eef6;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(16, 42, 86, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
  border-color: #d6e2f1;
  box-shadow: 0 20px 42px rgba(16, 42, 86, 0.12);
}

.gallery-card[hidden] {
  display: none;
}

.gallery-card-wide {
  grid-column: span 2;
}

.gallery-card-tall .gallery-art {
  min-height: 286px;
}

.gallery-preview {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--ice-white);
  cursor: zoom-in;
  text-align: left;
}

.gallery-art {
  position: relative;
  display: block;
  min-height: 208px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 82% 18%, rgba(255, 255, 255, 0.8), transparent 29%),
    linear-gradient(135deg, #e6f5f3 0%, #eaf0ff 55%, #f8f4ed 100%);
  transition: transform 480ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gallery-photo-art {
  min-height: 0;
  aspect-ratio: 1.35;
  background: #edf3f8;
}

.gallery-video-art {
  display: grid;
  min-height: 0;
  aspect-ratio: 1.35;
  place-items: center;
  background: #102a56;
}

.gallery-video-art video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-video-badge {
  position: absolute;
  z-index: 1;
  bottom: 12px;
  left: 12px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  background: rgba(16, 42, 86, 0.88);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
}

.gallery-card-wide .gallery-photo-art {
  aspect-ratio: 1.8;
}

.gallery-photo-art > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.gallery-photo-face-priority > img {
  object-position: left 12%;
}

.gallery-photo-full-frame > img {
  object-fit: contain;
  object-position: center 12%;
}

.gallery-photo-portrait {
  background: #ffffff;
}

.gallery-photo-portrait > img {
  object-fit: contain;
  object-position: center bottom;
}

.gallery-preview:hover .gallery-art {
  transform: scale(1.045);
}

.gallery-preview::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 49%, rgba(16, 42, 86, 0.45) 100%);
  content: "";
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.gallery-preview:hover::after,
.gallery-preview:focus-visible::after {
  opacity: 1;
}

.gallery-art-label {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 13px;
  left: 16px;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.gallery-preview:hover .gallery-art-label,
.gallery-preview:focus-visible .gallery-art-label {
  opacity: 1;
}

.gallery-preview-icon {
  position: absolute;
  z-index: 2;
  top: 13px;
  right: 13px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  transform: translateY(4px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 6px 16px rgba(16, 42, 86, 0.1);
  color: var(--royal-blue);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.gallery-preview-icon svg {
  width: 20px;
  height: 20px;
}

.gallery-preview:hover .gallery-preview-icon,
.gallery-preview:focus-visible .gallery-preview-icon {
  transform: translateY(0);
  opacity: 1;
}

.gallery-card-copy {
  padding: 17px 19px 19px;
}

.gallery-card-category {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: #edf3ff;
  color: var(--royal-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.55px;
  text-transform: uppercase;
}

.gallery-card:nth-child(3n) .gallery-card-category {
  background: var(--fresh-mint);
  color: #087f7a;
}

.gallery-card:nth-child(3n + 2) .gallery-card-category {
  background: #fff2e3;
  color: #a75a11;
}

.gallery-card-copy h3 {
  margin: 0 0 5px;
  color: var(--deep-navy);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.gallery-card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.gallery-empty {
  margin: 14px 0 0;
  padding: 25px;
  border: 1px dashed #cad7e9;
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
}

.gallery-empty[hidden] {
  display: none;
}

/* Abstract CSS artwork keeps the gallery honest until real, approved photos are supplied. */
.gallery-art-clinic {
  background: linear-gradient(140deg, #dff4ef 0%, #eff8f5 42%, #dbe7f8 100%);
}

.art-window {
  position: absolute;
  top: 12%;
  right: 13%;
  width: 28%;
  height: 59%;
  border: 7px solid rgba(255, 255, 255, 0.86);
  border-radius: 45% 45% 9px 9px;
  background: linear-gradient(145deg, #badde8, #e9f5f7 60%, #badfda);
  box-shadow: 0 9px 27px rgba(29, 81, 113, 0.09);
}

.art-window::before,
.art-window::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.8);
}

.art-window::before {
  top: 0;
  bottom: 0;
  left: 49%;
  width: 2px;
}

.art-window::after {
  top: 51%;
  right: 0;
  left: 0;
  height: 2px;
}

.art-seat {
  position: absolute;
  bottom: 15%;
  left: 25%;
  width: 31%;
  height: 24%;
  border-radius: 12px 12px 5px 5px;
  background: #fff;
  box-shadow: inset 0 -12px #dce8f8, 0 16px 20px rgba(20, 53, 92, 0.1);
}

.art-seat::before,
.art-seat::after {
  position: absolute;
  bottom: -18px;
  width: 5px;
  height: 20px;
  border-radius: 4px;
  background: #7185a2;
  content: "";
}

.art-seat::before { left: 12%; }
.art-seat::after { right: 12%; }

.art-plant {
  position: absolute;
  bottom: 11%;
  left: 12%;
  width: 26px;
  height: 49px;
  border-bottom: 8px solid #c87645;
}

.art-plant::before,
.art-plant::after {
  position: absolute;
  bottom: 15px;
  left: 11px;
  width: 14px;
  height: 27px;
  border-radius: 100% 0 100% 0;
  background: #39a89a;
  content: "";
}

.art-plant::after {
  left: 0;
  transform: rotate(-44deg);
  background: #63c1aa;
}

.art-sun {
  position: absolute;
  top: 16%;
  left: 16%;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.64);
}

.gallery-art-equipment {
  background: linear-gradient(145deg, #e5efff 0%, #f1f7ff 54%, #dff6f1 100%);
}

.art-equipment-frame {
  position: absolute;
  top: 20%;
  left: 44%;
  width: 4px;
  height: 54%;
  transform: rotate(18deg);
  border-radius: 4px;
  background: #5277b4;
}

.art-equipment-frame::before,
.art-equipment-frame::after {
  position: absolute;
  left: -19px;
  width: 42px;
  height: 4px;
  border-radius: 4px;
  background: #5277b4;
  content: "";
}

.art-equipment-frame::before { top: 0; }
.art-equipment-frame::after { bottom: 0; }

.art-equipment-seat {
  position: absolute;
  top: 30%;
  left: 31%;
  width: 31%;
  height: 10px;
  transform: rotate(-9deg);
  border-radius: 8px;
  background: #11b5ae;
}

.art-equipment-weight {
  position: absolute;
  top: 35%;
  right: 24%;
  width: 38px;
  height: 38px;
  border: 8px solid #ffb568;
  border-radius: 50%;
  background: #fff7ed;
}

.art-equipment-line {
  position: absolute;
  right: 24%;
  bottom: 23%;
  width: 54%;
  height: 3px;
  transform: rotate(-7deg);
  border-radius: 4px;
  background: #9eafd1;
}

.gallery-art-therapy {
  background: radial-gradient(circle at 52% 46%, #fff 0 19%, transparent 20%), linear-gradient(145deg, #ddf8f0, #f2f7ff 68%, #fff0df);
}

.art-therapy-disc,
.art-therapy-ring,
.art-therapy-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.art-therapy-disc {
  width: 76px;
  height: 76px;
  background: linear-gradient(145deg, #16b5ab, #77d7c4);
  box-shadow: 0 18px 35px rgba(17, 145, 139, 0.23);
}

.art-therapy-ring {
  width: 124px;
  height: 124px;
  border: 2px solid rgba(23, 70, 162, 0.2);
}

.art-therapy-dot {
  top: 31%;
  left: 71%;
  width: 17px;
  height: 17px;
  background: var(--warm-orange);
}

.gallery-art-rehabilitation {
  min-height: 286px;
  background: linear-gradient(150deg, #e2f4f0, #eef2ff 56%, #fff0df);
}

.art-rehab-path {
  position: absolute;
  top: 20%;
  bottom: 20%;
  left: 50%;
  width: 3px;
  transform: rotate(34deg);
  border-radius: 4px;
  background: rgba(23, 70, 162, 0.23);
}

.art-rehab-step {
  position: absolute;
  left: 32%;
  width: 37%;
  height: 21%;
  border: 1px solid rgba(23, 70, 162, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 28px rgba(16, 42, 86, 0.09);
}

.step-one { top: 15%; transform: rotate(-7deg); }
.step-two { top: 39%; left: 43%; transform: rotate(6deg); }
.step-three { top: 64%; left: 29%; transform: rotate(-5deg); }

.gallery-art-detail {
  background: linear-gradient(135deg, #f0f5ff 0%, #ddf8f0 100%);
}

.art-detail-arch {
  position: absolute;
  top: 17%;
  left: 37%;
  width: 26%;
  height: 69%;
  border: 8px solid rgba(255, 255, 255, 0.92);
  border-bottom: 0;
  border-radius: 100px 100px 0 0;
  box-shadow: 0 10px 30px rgba(23, 70, 162, 0.09);
}

.art-detail-orb {
  position: absolute;
  top: 27%;
  left: 44%;
  width: 12%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--warm-orange);
  box-shadow: 0 0 0 12px rgba(255, 159, 67, 0.12);
}

.art-detail-line {
  position: absolute;
  right: 15%;
  bottom: 17%;
  left: 15%;
  height: 2px;
  background: rgba(23, 70, 162, 0.2);
}

.gallery-art-mobility {
  background: linear-gradient(135deg, #edf3ff 0%, #e1f7f0 58%, #fff3e5 100%);
}

.art-mobility-bar {
  position: absolute;
  top: 28%;
  right: 20%;
  left: 20%;
  height: 10px;
  border-radius: 8px;
  background: #1746a2;
}

.art-mobility-bar::before,
.art-mobility-bar::after {
  position: absolute;
  top: -12px;
  width: 5px;
  height: 34px;
  border-radius: 5px;
  background: #11b5ae;
  content: "";
}

.art-mobility-bar::before { left: 8%; }
.art-mobility-bar::after { right: 8%; }

.art-mobility-joint {
  position: absolute;
  top: 47%;
  left: 48%;
  width: 32px;
  aspect-ratio: 1;
  border: 7px solid #ffad5b;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 0 12px rgba(255, 159, 67, 0.13);
}

.art-mobility-wheel {
  position: absolute;
  right: 29%;
  bottom: 17%;
  width: 20px;
  aspect-ratio: 1;
  border: 5px solid #6e86b5;
  border-radius: 50%;
  background: var(--white);
}

.art-mobility-base {
  position: absolute;
  bottom: 20%;
  left: 25%;
  width: 34%;
  height: 4px;
  border-radius: 5px;
  background: #6e86b5;
}

.gallery-art-moment {
  background: radial-gradient(circle at 74% 22%, rgba(255, 255, 255, 0.9), transparent 24%), linear-gradient(145deg, #e0f4ef, #edf1ff 65%, #fff1e1);
}

.art-moment-card {
  position: absolute;
  top: 21%;
  left: 24%;
  width: 52%;
  height: 58%;
  transform: rotate(-6deg);
  border: 8px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  background: linear-gradient(145deg, #d5f0e9, #e5ecfb);
  box-shadow: 0 17px 32px rgba(16, 42, 86, 0.12);
}

.art-moment-circle {
  position: absolute;
  top: 33%;
  left: 38%;
  width: 31px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #11b5ae;
  box-shadow: 0 0 0 9px rgba(17, 181, 174, 0.13);
}

.art-moment-accent {
  position: absolute;
  right: 25%;
  bottom: 29%;
  width: 22%;
  height: 7px;
  border-radius: 5px;
  background: #ffab55;
}

.gallery-cta-section {
  padding-block: 12px 88px;
}

.gallery-cta {
  position: relative;
  display: flex;
  min-height: 260px;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  overflow: hidden;
  padding: 43px 50px;
  border-radius: 30px;
  background: linear-gradient(118deg, #1746a2 0%, #1959b8 49%, #0e9f9e 100%);
  box-shadow: 0 22px 50px rgba(23, 70, 162, 0.2);
  color: var(--white);
}

.gallery-cta-copy,
.gallery-cta-actions {
  position: relative;
  z-index: 1;
}

.gallery-cta-copy {
  max-width: 590px;
}

.gallery-cta-copy .eyebrow {
  margin-bottom: 11px;
  color: #d7fff6;
}

.gallery-cta-copy h2 {
  max-width: 590px;
  margin-bottom: 11px;
  font-size: clamp(27px, 4vw, 39px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.2;
}

.gallery-cta-copy > p:last-child {
  max-width: 495px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.gallery-cta-actions {
  display: grid;
  flex: 0 0 auto;
  gap: 10px;
}

.gallery-cta-actions .button {
  width: 100%;
  white-space: nowrap;
}

.gallery-cta-secondary {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.gallery-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.gallery-cta-orbit {
  position: absolute;
  top: -148px;
  right: 22%;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(255, 255, 255, 0.035), 0 0 0 45px rgba(255, 255, 255, 0.025);
  pointer-events: none;
}

.gallery-lightbox {
  width: min(900px, calc(100% - 32px));
  max-width: none;
  max-height: min(90dvh, 760px);
  overflow: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 30px 100px rgba(6, 22, 50, 0.34);
  color: var(--text);
}

.gallery-lightbox::backdrop {
  background: rgba(9, 24, 49, 0.76);
  backdrop-filter: blur(5px);
}

.gallery-lightbox[open] {
  animation: gallery-dialog-enter 180ms ease-out both;
}

.gallery-lightbox-panel {
  position: relative;
  padding: 15px 15px 19px;
}

.gallery-lightbox-close {
  position: absolute;
  z-index: 2;
  top: 25px;
  right: 25px;
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 22px rgba(16, 42, 86, 0.13);
  color: var(--deep-navy);
  cursor: pointer;
}

.gallery-lightbox-close svg {
  width: 20px;
  height: 20px;
}

.gallery-lightbox-art .gallery-art {
  min-height: 0;
  height: min(58dvh, 530px);
  border-radius: 16px;
}

.gallery-lightbox-art .gallery-photo-art {
  aspect-ratio: auto;
  background: #eef3f8;
}

.gallery-lightbox-art .gallery-photo-art > img {
  object-fit: contain;
  object-position: center;
}

.gallery-lightbox-art .gallery-video-art {
  height: min(58dvh, 530px);
  aspect-ratio: auto;
  background: #071426;
}

.gallery-lightbox-art .gallery-video-art video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-lightbox-label {
  margin: 13px 2px 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.gallery-lightbox-caption {
  margin: 0 2px;
  color: var(--deep-navy);
  font-size: 17px;
  font-weight: 800;
}

body.gallery-lightbox-open {
  overflow: hidden;
}

@keyframes gallery-dialog-enter {
  from { opacity: 0; transform: translateY(8px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 900px) {
  .gallery-content {
    padding-top: 60px;
  }

  .gallery-grid {
    gap: 17px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-card-wide {
    grid-column: span 1;
  }

  .gallery-card-tall .gallery-art {
    min-height: 208px;
  }

  .gallery-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    padding: 38px;
  }

  .gallery-cta-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .gallery-cta-actions .button {
    width: auto;
  }
}

@media (max-width: 600px) {
  .gallery-hero {
    padding-block: 68px 76px;
  }

  .gallery-hero h1 {
    font-size: clamp(44px, 12vw, 62px);
    letter-spacing: -2.8px;
  }

  .gallery-content {
    padding-top: 50px;
  }

  .gallery-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 23px;
  }

  .gallery-intro {
    max-width: 470px;
  }

  .gallery-filters {
    gap: 7px;
    margin-bottom: 20px;
  }

  .gallery-filter {
    min-height: 39px;
    padding-inline: 13px;
    font-size: 11px;
  }

  .gallery-grid {
    gap: 13px;
    grid-template-columns: 1fr;
  }

  .gallery-card-wide {
    grid-column: auto;
  }

  .gallery-art,
  .gallery-card-tall .gallery-art {
    min-height: 215px;
  }

  .gallery-video-art {
    min-height: 0;
  }

  .gallery-preview-icon {
    transform: none;
    opacity: 1;
  }

  .gallery-cta-section {
    padding-bottom: 64px;
  }

  .gallery-cta {
    gap: 19px;
    padding: 29px 24px;
    border-radius: 25px;
  }

  .gallery-cta-copy h2 {
    font-size: 29px;
    letter-spacing: -1px;
  }

  .gallery-cta-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .gallery-cta-actions .button {
    width: 100%;
  }

  .gallery-lightbox {
    width: calc(100% - 20px);
    max-height: 88dvh;
    border-radius: 18px;
  }

  .gallery-lightbox-panel {
    padding: 10px 10px 15px;
  }

  .gallery-lightbox-close {
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
  }

  .gallery-lightbox-art .gallery-art {
    height: min(52dvh, 430px);
    border-radius: 12px;
  }

  .gallery-lightbox-art .gallery-video-art {
    height: min(52dvh, 430px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-page *,
  .gallery-page *::before,
  .gallery-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
