.nomas-axon-board {
    position: relative;
    aspect-ratio: 14998 / 3400;
    overflow: hidden;
    background: var(--background);
}

.interior-project-gallery .nomas-axon-board img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    mix-blend-mode: multiply;
    clip-path: inset(1px);
}

.nomas-axon-caption__labels:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    text-align: center;
    overflow-wrap: anywhere;
}

.nomas-section-switch__toggle {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    line-height: 0;
    touch-action: pan-y pinch-zoom;
}

.nomas-section-switch[data-enhanced] .nomas-section-switch__toggle {
    position: relative;
    display: grid;
    aspect-ratio: 5100 / 3300;
}

.nomas-section-switch[data-enhanced] img {
    grid-area: 1 / 1;
    transition: opacity 180ms ease;
}

.nomas-section-switch[data-enhanced] img[aria-hidden="true"] {
    opacity: 0;
    pointer-events: none;
}

.nomas-section-switch__toggle:not(:disabled) {
    cursor: pointer;
}

.nomas-section-switch__hint {
    display: none;
    position: absolute;
    bottom: 3%;
    left: 50%;
    z-index: 1;
    width: 46px;
    height: 46px;
    transform: translateX(-50%);
}

.nomas-section-switch[data-enhanced="ready"] .nomas-section-switch__hint {
    display: flex;
    justify-content: space-between;
}

.nomas-section-switch__hint .nomas-section-switch__arrow {
    position: relative;
    inset: auto;
    transform: none;
}

.nomas-final-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 760px) {
    .nomas-section-switch__hint {
        width: 32px;
        height: 36px;
    }

    .nomas-section-switch__hint .nomas-section-switch__arrow {
        width: 32px;
        height: 36px;
    }

    .nomas-section-switch__hint .home-scroll-arrow.nomas-section-switch__arrow::before {
        width: 20px;
        height: 20px;
    }

    .nomas-final-row {
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nomas-section-switch[data-enhanced] img {
        transition: none;
    }

    .nomas-section-switch__hint .home-scroll-arrow.nomas-section-switch__arrow::before {
        animation: none;
        transition: none;
    }
}
