/* Autogramma 360 — styles.css */

:root {
  color-scheme: dark;

  --bg:             #101323;
  --surface:        #212121;
  --surface-inner:  #181818;
  --text:           #ffffff;
  --text-soft:      #989db8;
  --primary:        #bb86fc;
  --secondary:      #03dac5;
  --border:         rgba(255, 255, 255, 0.12);

  /* Fallback height when JS does not run */
  --doc-height:       min(920px, calc(100svh - 210px));
  --container-width:  1120px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0; padding: 0;
  min-width: 320px;
  overflow-x: hidden;
  overflow-y: scroll;
  background: var(--bg);
  color: var(--text-soft);
  font-family: "SF Pro Display","SF Text",-apple-system,system-ui,
               BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu !important;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

img    { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  padding: 2px 6px; border-radius: 4px; font-size: .87em;
}

/* Container */
.container {
  width: min(calc(100% - 82px), var(--container-width));
  margin: 0 auto;
}

/* Header */
.site-header { padding-top: 22px; }
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}

.brand {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--text); text-decoration: none;
}
.brand-logo {
  height: 45px; width: auto; object-fit: contain;
  transform: translateY(10%);
}
.brand-text {
  font-size: 26px; font-weight: 700;
  line-height: 1.15; letter-spacing: -0.02em; color: #fff;
}

/* Docs button */
.nav-button {
  border: 1px solid rgba(255,255,255,0.28);
  background: transparent; color: #fff;
  padding: 8px 22px; border-radius: 6px;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase;
  transition: background .15s, border-color .15s;
}
.nav-button:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.5);
}

/* Hero section */
.hero-section { padding-top: 80px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(360px,1fr);
  align-items: center; gap: 16px; padding: 0 4px;
}
.hero-copy { position: relative; }

/* Radial gradient background */
#heroRadialGradient {
  position: absolute;
  right: -80px; top: 50%; transform: translateY(-52%);
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle,
    rgba(225, 65,  25,  0.40)  0%,
    rgba(205, 40,  65,  0.24) 26%,
    rgba(155, 22,  88,  0.10) 52%,
    rgba(100, 12,  78,  0)    70%
  );
  filter: blur(30px);
  pointer-events: none; z-index: 0;
}

.hero-h2 {
  position: relative; z-index: 1;
  font-size: clamp(30px, 2.8vw, 44px);
  font-weight: 700; line-height: 1.13;
  letter-spacing: -0.01em; color: #fff;
  margin: 0 0 28px; max-width: 680px;
}
.hero-h3 {
  position: relative; z-index: 1;
  font-size: clamp(14px, 1.3vw, 19px);
  font-weight: 400; line-height: 1.6;
  color: var(--text-soft); margin: 0; max-width: 580px;
}

.hero-visual-wrap {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
}
.hero-visual { width: 100%; max-width: 620px; object-fit: contain; }

/* Sections */
.section-block { padding-top: 144px; }

/* Docs panel */
.docs-panel {
  background: var(--surface);
  border-radius: 4px; overflow: hidden;
  border: 1px solid var(--border);
}
.docs-panel-title-row {
  min-height: 52px;
  display: flex; align-items: center; padding: 0 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
.docs-panel-title {
  margin: 0; font-size: 16px; font-weight: 400;
  line-height: 1.2; color: #fff;
}

/* Presentation frame */
.docs-panel-body {
  position: relative;
  width: 100%;
  height: var(--doc-height);
  min-height: var(--doc-height);
  background: var(--surface-inner);
  overflow: hidden;
}
.presentation-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: var(--doc-height);
  border: 0;
  background: var(--surface-inner);
}
.presentation-fallback {
  position: absolute; inset: 0;
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.presentation-fallback.is-visible { display: flex; }
.presentation-fallback-inner {
  width: min(100%,560px); border: 1px solid rgba(255,255,255,.10);
  border-radius: 8px; padding: 28px; background: rgba(255,255,255,.03);
}
.fallback-title {
  font-size: 21px; font-weight: 600; color: #fff; margin: 0 0 12px;
}
.presentation-fallback p { margin: 0 0 10px; line-height: 1.65; color: var(--text-soft); }
.fallback-small { margin-bottom: 0 !important; }

/* 3D Viewer */
.scene-block { padding-bottom: 0; }
.scene-shell { width: 100%; display: flex; justify-content: center; }
.section-heading {
  width: min(100%, 1414px);
  margin: 0 auto 20px;
  color: #f5f7ff;
  font-family: Verdana, Geneva, sans-serif;
  font-size: clamp(22px, 2.1vw, 32px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-align: left;
}
#documentation .section-heading {
  margin-bottom: 42px;
}
.scene-stage {
  --screen-left: 8.8%;
  --screen-right: 8.8%;
  --screen-top: 13.6%;
  --screen-bottom: 17.8%;
  position: relative;
  width: min(100%, 1414px);
  aspect-ratio: 1414 / 1080;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
}
.scene-viewport {
  --top-split-panel-width: 0px;
  --top-split-bottom-offset: 0px;
  position: absolute;
  left: var(--screen-left);
  right: var(--screen-right);
  top: var(--screen-top);
  bottom: var(--screen-bottom);
  overflow: hidden;
  background: #0c0c0c;
  z-index: 1;
}
.scene-launch {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background:
    radial-gradient(circle at 50% 42%, rgba(56,104,237,0.12), rgba(12,12,12,0) 34%),
    linear-gradient(180deg, rgba(12,12,12,0.96), rgba(12,12,12,0.98));
  transition: opacity .18s ease, visibility .18s ease;
}
.scene-viewport.is-scene-loading .scene-launch,
.scene-viewport.is-scene-active .scene-launch {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.scene-viewport.is-scene-inactive .scene-launch {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.scene-launch-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: min(100%, 420px);
  padding: 30px 34px 32px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  box-shadow: 0 24px 48px rgba(0,0,0,0.34);
  text-align: center;
  backdrop-filter: blur(10px);
}
.scene-launch-title {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  font-family: Verdana, Geneva, sans-serif;
  color: #f4f7ff;
}
.scene-launch-button {
  min-width: 180px;
  height: 52px;
  padding: 0 26px;
  border: 1px solid rgba(56,104,237,0.38);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(56,104,237,1), rgba(38,79,191,1));
  color: #fff;
  font: inherit;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(19,45,116,0.34);
  transition: transform .14s, box-shadow .14s, border-color .14s, filter .14s;
}
.scene-launch-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(19,45,116,0.42);
  filter: brightness(1.04);
}
.scene-launch-button:focus-visible {
  outline: 2px solid rgba(255,255,255,0.88);
  outline-offset: 3px;
}
#sceneCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%; display: block;
}
.scene-top-panel-hitbox {
  position: absolute;
  top: 0;
  right: 0;
  bottom: var(--top-split-bottom-offset);
  width: var(--top-split-panel-width);
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  border-left: 1px solid transparent;
  background: linear-gradient(270deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
  transition: opacity .18s, border-color .18s;
}
.scene-viewport.is-top-split .scene-top-panel-hitbox {
  opacity: 1;
  pointer-events: auto;
  border-left-color: rgba(255,255,255,0.16);
}
.monitor-frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none; z-index: 4;
}

/* Scene UI controls */
.scene-ui {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 10px;
  min-height: 104px;
  padding: 10px !important;
  box-sizing: border-box;
  background: rgba(0,0,0,0.94);
  border-top: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
  overflow: hidden;
  pointer-events: auto;
}
.scene-ui-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-inline: 10px;
  box-sizing: border-box;
  width: max-content;
  max-width: 100%;
}
.scene-ui-inner > .scene-btn:first-child {
  margin-inline-start: 0;
}
.scene-ui-inner > .scene-ui-brand {
  margin-inline-end: 0;
}
.scene-ui-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}
.scene-ui-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.22);
  margin: 0;
  flex-shrink: 0;
}
.scene-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 74px;
  min-width: 74px;
  height: 74px;
  padding: 10px;
  flex: 0 0 74px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--text-soft);
  transition: background .14s, border-color .14s, color .14s, transform .14s;
}
.scene-btn :is(img, .scene-btn-icon) {
  width: 40px;
  height: 40px;
  object-fit: contain;
  object-position: center;
  display: block;
  opacity: 0.92;
  transform: scale(1.14);
  transform-origin: center;
  transition: opacity .14s, transform .14s;
}
.scene-btn:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
  color: #fff;
}
.scene-btn:hover :is(img, .scene-btn-icon) {
  opacity: 1;
  transform: scale(1.2);
}
.scene-btn.is-selected {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.32);
  color: #fff;
}
.scene-btn.is-selected :is(img, .scene-btn-icon) {
  opacity: 1;
  transform: scale(1.2);
}
.scene-btn.is-active {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.22);
  color: #fff;
}
.scene-btn.is-active :is(img, .scene-btn-icon) {
  opacity: 1;
  transform: scale(1.2);
}
.scene-btn-icon--top {
  background-color: #d9d9d9;
  -webkit-mask: url("./assets/icons/cam-top.svg") center / contain no-repeat;
  mask: url("./assets/icons/cam-top.svg") center / contain no-repeat;
}
.scene-btn[data-cam="top"].is-selected .scene-btn-icon--top {
  background-color: #3868ed;
}
.scene-ui-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  min-width: 90px;
  height: 74px;
  flex: 0 0 90px;
}
.scene-ui-brand img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  object-position: center;
  opacity: 0.92;
  transform: scale(1.14);
  transform-origin: center;
}

/* Loading spinner */
.scene-loading {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  background: #0c0c0c;
  transition: opacity .4s;
}
.scene-loading.hidden { opacity: 0; pointer-events: none; }
.scene-loading-spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--primary);
  animation: spin .8s linear infinite;
}
.scene-loading-text { font-size: 13px; color: var(--text-soft); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Gallery */
.gallery-block { padding-bottom: 40px; }
.gallery-body {
  background: var(--surface-inner);
  padding: 20px 20px 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.gallery-frame-wrap {
  position: relative; width: 100%;
  aspect-ratio: 1300 / 490;
  background: #0f0f0f; border-radius: 8px; overflow: hidden;
}
.carousel { position: absolute; inset: 0; overflow: hidden; }
.carousel-track {
  display: flex; height: 100%; will-change: transform;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.carousel-slide { flex: 0 0 100%; height: 100%; }
.carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover; background: #0f0f0f; display: block;
}
.gallery-frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  pointer-events: none; z-index: 2;
}
.carousel-controls {
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.carousel-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border); background: transparent;
  color: var(--text-soft); transition: background .14s, color .14s;
  flex-shrink: 0;
}
.carousel-arrow:hover { background: rgba(255,255,255,.07); color: #fff; }
.carousel-dots { display: flex; gap: 6px; align-items: center; }
.carousel-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.22); border: 0; padding: 0;
  transition: background .2s, transform .2s;
}
.carousel-dot.is-active { background: var(--primary); transform: scale(1.4); }

/* Footer */
.site-footer { padding: 28px 0 36px; margin-top: 144px; }
.footer-inner { display: flex; justify-content: flex-end; }
.site-footer p { margin: 0; color: var(--text-soft); font-size: 14px; }

/* Responsive visibility */
.desktop-only { display: block; }
.mobile-only  { display: none;  }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-h2   { margin-bottom: 20px; }
  .hero-visual { max-width: 500px; }
  #heroRadialGradient { right: auto; left: 50%; transform: translateX(-50%); top: 0; }

  :root { --doc-height: min(700px, calc(100svh - 190px)); }
}

@media (max-width: 1024px) {
  .desktop-only { display: none !important; }
  .mobile-only  { display: block !important; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 32px), var(--container-width)); }
  .site-header { padding-top: 16px; }
  .header-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .brand { justify-content: center; }
  .nav-button { align-self: center; }
  .brand-text { font-size: 22px; }
  .hero-section { padding-top: 36px; }
  .section-block { padding-top: 84px; }
  .hero-grid {
    gap: 24px;
    padding: 0;
  }
  .hero-copy { text-align: center; }
  .hero-h2,
  .hero-h3 {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .section-heading {
    margin-bottom: 16px;
    text-align: center;
  }
  .docs-panel-title-row {
    justify-content: center;
    text-align: center;
  }
  .docs-panel-title {
    width: 100%;
    text-align: center;
  }
  .footer-inner {
    justify-content: center;
    text-align: center;
  }

  :root { --doc-height: min(420px, calc(100svh - 130px)); }
}

@media (max-width: 560px) {
  :root { --doc-height: min(380px, calc(100svh - 100px)); }

  .docs-panel-title { font-size: 14px; }
  .docs-panel-title-row { min-height: 44px; padding: 0 16px; }
  .hero-h2 { font-size: clamp(26px, 8.5vw, 34px); }
  .hero-h3 { font-size: 15px; }
  .gallery-frame-wrap { border-radius: 6px; }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .section-heading {
    margin-bottom: 18px;
    font-size: clamp(20px, 2vw, 28px);
  }

  .scene-stage {
    --screen-left: 8.5%;
    --screen-right: 8.5%;
    --screen-top: 13.4%;
    --screen-bottom: 17.2%;
  }

  .scene-launch {
    padding: 26px;
  }

  .scene-launch-card {
    width: min(100%, 360px);
    padding: 24px 26px 28px;
    gap: 16px;
  }

  .scene-launch-title {
    font-size: 24px;
  }

  .scene-launch-button {
    min-width: 164px;
    height: 48px;
    font-size: 14px;
  }

  .scene-ui {
    min-height: 94px;
    padding-left: 64px !important;
    padding-right: 64px !important;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .scene-ui-inner {
    gap: 12px;
    padding-inline: 26px;
  }

  .scene-ui-group { gap: 8px; }

  .scene-btn {
    width: 66px;
    min-width: 66px;
    height: 66px;
    padding: 8px;
    flex-basis: 66px;
  }

  .scene-btn :is(img, .scene-btn-icon) {
    width: 34px;
    height: 34px;
  }

  .scene-ui-brand {
    width: 80px;
    min-width: 80px;
    height: 66px;
    flex-basis: 80px;
  }

  .scene-ui-brand img {
    width: 34px;
    height: 34px;
  }
}

/* Force scene UI layout override — compact & visible */
.scene-ui {
  padding: 12px 8px 12px 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.scene-ui-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
}

.scene-ui-inner > .scene-btn {
  flex: 0 0 auto !important;
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  padding: 8px !important;
}

.scene-ui-inner > .scene-btn img,
.scene-ui-inner > .scene-btn .scene-btn-icon {
  width: 32px !important;
  height: 32px !important;
}

.scene-ui-inner > .scene-btn.scene-btn--utility {
  margin: 0 !important;
}

.scene-ui-inner > .scene-ui-divider {
  margin: 0 2px !important;
  height: 40px !important;
}

.scene-ui-inner > .scene-ui-group {
  flex: 0 0 auto !important;
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
}

.scene-ui-brand {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
}

.scene-ui-brand img {
  width: 32px !important;
  height: 32px !important;
}



/* ===== Gallery override ===== */
.gallery-shell {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: visible;
}
.gallery-stage {
  --gallery-screen-left: 8.25%;
  --gallery-screen-right: 8.25%;
  --gallery-screen-top: 18.9%;
  --gallery-screen-bottom: 18.9%;
  position: relative;
  width: min(100%, 1414px);
  flex: 0 0 auto;
  aspect-ratio: 5612 / 2818;
  background: transparent;
  overflow: hidden;
}
.gallery-viewport {
  position: absolute;
  left: var(--gallery-screen-left);
  right: var(--gallery-screen-right);
  top: var(--gallery-screen-top);
  bottom: var(--gallery-screen-bottom);
  overflow: hidden;
  background: transparent !important;
  z-index: 1;
}
.gallery-monitor-frame {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.gallery-viewport .carousel,
.gallery-viewport .carousel-track,
.gallery-viewport .carousel-slide {
  background: transparent !important;
}
.gallery-viewport .carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.gallery-viewport .carousel-track {
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.gallery-viewport.is-dragging .carousel-track {
  cursor: grabbing;
}
.gallery-viewport .carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5%;
  box-sizing: border-box;
  user-select: none;
  overflow: hidden;
}
.gallery-viewport .carousel-slide img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transform-origin: center;
  user-select: none;
  pointer-events: none;
  background: transparent !important;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 56px;
  height: 56px;
  margin: 0;
  border: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(141, 146, 198, 0.78);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  transform: translateY(-50%) scale(0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, background .18s ease;
}
.gallery-nav--prev { left: 3.35%; }
.gallery-nav--next { right: 3.35%; }
.gallery-stage:hover .gallery-nav,
.gallery-stage:focus-within .gallery-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}
.gallery-nav:hover {
  background: rgba(141, 146, 198, 0.94);
}
.gallery-nav svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 1280px) {
  .gallery-stage {
    aspect-ratio: 5612 / 2818;
  }
}

@media (min-width: 1025px) {
  .gallery-stage {
    width: min(calc(100vw - 32px), 1224px);
  }
}

@media (max-width: 900px) {
  .gallery-stage {
    --gallery-screen-left: 8.25%;
    --gallery-screen-right: 8.25%;
    --gallery-screen-top: 18.9%;
    --gallery-screen-bottom: 18.9%;
  }

  .gallery-nav {
    width: 48px;
    height: 48px;
  }

  .gallery-nav svg {
    width: 24px;
    height: 24px;
  }

  .gallery-viewport .carousel-slide {
    padding: 0.8%;
  }
}
