/* The original BTS gallery, isolated as a project page. Native typography, frame and buttons are reused. */
.quantum-page { background: var(--neutral-color--n-900, #070707); }
.quantum-page .border-horizontal,
.quantum-page .border-block { transform: none !important; }
.quantum-page .border-text-1,
.quantum-page .border-line-horizontal,
.quantum-page .border-line-vertical { opacity: 1 !important; }
.quantum-gallery-scroll { position: relative; min-height: 360vh; }
.quantum-page .bts-section { position: sticky; top: 0; }
.quantum-page .bts-inner-block { will-change: transform; }
.quantum-page .bts-image { object-fit: contain; }
.quantum-page .bts-image-block { text-decoration: none; }
.quantum-introduction {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    max-width: min(680px, 80%);
    text-align: center;
    pointer-events: none;
}
.quantum-introduction .single-heading { margin: 0; }
.quantum-introduction .sg-text-block { max-width: 520px; margin: 0; }
.quantum-introduction a { pointer-events: auto; }
.quantum-exit { position: fixed; right: var(--_sizes---section--padding-section); top: 70px; z-index: 10; }
.quantum-content { padding: 100px var(--_sizes---section--padding-section); background: var(--neutral-color--n-900, #070707); position: relative; }
.quantum-content .single-container { max-width: 905px; }
.quantum-chapter { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; margin-bottom: 100px; scroll-margin-top: 100px; }
.quantum-chapter .single-heading { margin: 0; overflow-wrap: anywhere; }
.quantum-chapter .single-value,
.quantum-chapter .sg-text-block { width: 100%; }
.quantum-qr { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; margin: 0; max-width: 100%; }
.quantum-qr img { display: block; width: 340px; max-width: 100%; height: auto; object-fit: contain; }
.quantum-video-links,
.quantum-footer { display: flex; flex-wrap: wrap; gap: 16px; width: 100%; }
.quantum-video-links .button-primary-text { white-space: normal; }
.quantum-footer { padding-bottom: 40px; }
.quantum-page a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.quantum-lightbox:not([open]) { display: none; }
.quantum-lightbox[open] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 50px 40px;
    border: 0;
    opacity: 1;
}
.quantum-lightbox .w-lightbox-figure { display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 0; max-width: 100%; }
.quantum-lightbox .w-lightbox-image { width: auto; height: auto; max-width: 90vw; max-height: calc(100vh - 150px); object-fit: contain; }
.quantum-lightbox .w-lightbox-caption { position: static; color: #fff; font: inherit; font-size: 14px; text-align: center; white-space: normal; max-width: 90vw; }
.quantum-lightbox .w-lightbox-control { border: 0; background-color: transparent; }
.quantum-lightbox .w-lightbox-left,
.quantum-lightbox .w-lightbox-right { display: block; }
.quantum-lightbox .w-lightbox-close { z-index: 1; }
.quantum-lightbox::backdrop { background: #000e; }
@media (max-width: 767px) {
    .quantum-exit { position: absolute; top: 60px; }
    .quantum-introduction { max-width: 85%; gap: 12px; }
    .quantum-introduction .single-heading { font-size: clamp(30px, 9vw, 52px); }
    .quantum-content { padding-top: 80px; }
    .quantum-chapter { margin-bottom: 70px; gap: 24px; }
    .quantum-chapter .single-heading { font-size: clamp(28px, 8vw, 44px); }
    .quantum-chapter .w-richtext h2,
    .quantum-chapter .w-richtext h3 { font-size: clamp(24px, 7vw, 36px); line-height: 1.3; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
    .quantum-gallery-scroll { min-height: 0; height: auto !important; }
    .quantum-page .bts-section { position: relative; height: auto; min-height: 100vh; overflow: visible; }
    .quantum-page .bts-block { height: auto; }
    .quantum-page .bts-inner-block { position: relative; transform: none !important; order: 2; gap: 60px; margin-top: 60px; }
    .quantum-page .bts-image-block { transform: none !important; }
    .quantum-introduction { order: 1; padding-top: 70px; }
}
