/* Mobile Studio only. Above 767px there are no candidate style declarations. */
@media (max-width: 767px) {
    .cg-h-studio[data-cg-studio-mobile="true"] > .cg-h-studio-gallery {
        display: none; /* Empty original container stays available for exact DOM restoration. */
    }
    .cg-h-studio[data-cg-studio-mobile="true"] > .cg-h-studio-mobile {
        position: relative;
        grid-column: 1 / -1;
        grid-row: 2;
        min-width: 0;
        width: 100%;
    }
    .cg-h-studio[data-cg-studio-mobile="true"] .cg-h-studio-mobile__track {
        display: flex;
        align-items: flex-start;
        gap: .75rem;
        width: 100%;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        touch-action: auto;
        -webkit-overflow-scrolling: touch;
    }
    .cg-h-studio[data-cg-studio-mobile="true"] .cg-h-studio-mobile__track::-webkit-scrollbar {
        display: none;
    }
    .cg-h-studio[data-cg-studio-mobile="true"] .cg-h-studio-mobile__track::after {
        content: "";
        flex: 0 0 2rem; /* Last slide can align at the same start position as the first. */
    }
    .cg-h-studio[data-cg-studio-mobile="true"] .cg-h-studio-mobile__track > figure {
        flex: 0 0 calc(100% - 2.75rem);
        width: calc(100% - 2.75rem);
        max-width: none;
        min-width: 0;
        margin: 0;
        grid-row: auto;
        scroll-snap-align: start;
    }
    .cg-h-studio[data-cg-studio-mobile="true"] .cg-h-studio-mobile__track > figure > img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        object-fit: cover; /* Original inline focal point, src and alt remain untouched. */
    }
    .cg-h-studio[data-cg-studio-mobile="true"] .cg-h-studio-mobile__track > figure > figcaption {
        display: none;
    }
    .cg-h-studio[data-cg-studio-mobile="true"] .cg-h-studio-mobile__caption[hidden] {
        display: none;
    }
    .cg-h-studio[data-cg-studio-mobile="true"] .cg-h-studio-mobile__caption figcaption {
        display: grid;
        gap: .2rem;
        margin: 0;
        padding-top: .7rem;
    }
    .cg-h-studio[data-cg-studio-mobile="true"] .cg-h-studio-mobile__controls {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0;
        margin-top: .35rem;
    }
    .cg-h-studio[data-cg-studio-mobile="true"] .cg-h-studio-mobile__dot,
    .cg-h-studio[data-cg-studio-mobile="true"] .cg-h-studio-mobile__next {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        font: inherit;
        line-height: 1;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .cg-h-studio[data-cg-studio-mobile="true"] .cg-h-studio-mobile__dot {
        background: transparent;
    }
    .cg-h-studio[data-cg-studio-mobile="true"] .cg-h-studio-mobile__dot::before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #a2adb5;
        transition: background-color .15s ease;
    }
    .cg-h-studio[data-cg-studio-mobile="true"] .cg-h-studio-mobile__dot[aria-current="true"]::before {
        background: var(--cg-h-blue, #1768b1);
    }
    .cg-h-studio[data-cg-studio-mobile="true"] .cg-h-studio-mobile__next {
        position: absolute;
        inset-inline-end: 3rem;
        top: clamp(.75rem, 12vw, 4rem);
        color: var(--cg-h-ink, #10263b);
        background: rgba(255, 255, 255, .92);
        box-shadow: 0 2px 10px rgba(16, 38, 59, .12);
        font-size: 1.25rem;
    }
    .cg-h-studio[data-cg-studio-mobile="true"] .cg-h-studio-mobile__next:hover {
        background: #fff;
    }
    .cg-h-studio[data-cg-studio-mobile="true"] .cg-h-studio-mobile__track:focus-visible,
    .cg-h-studio[data-cg-studio-mobile="true"] .cg-h-studio-mobile__dot:focus-visible,
    .cg-h-studio[data-cg-studio-mobile="true"] .cg-h-studio-mobile__next:focus-visible {
        outline: 3px solid #e6a928;
        outline-offset: 3px;
    }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
    .cg-h-studio[data-cg-studio-mobile="true"] .cg-h-studio-mobile__track {
        scroll-behavior: auto;
    }
    .cg-h-studio[data-cg-studio-mobile="true"] .cg-h-studio-mobile__dot::before {
        transition: none;
    }
}
