
.ImageCarousel__sidebar--wjzTz {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}
.ImageCarousel__sidebar--wjzTz h3 {
        color: var(--md-sys-color-primary);
        border-block-end: 2px solid var(--md-sys-color-outline-variant);
        padding-block-end: 0.5rem;
        margin: 0;
}

/* --- Slide viewport & track --- */
.ImageCarousel__viewport--CsEMg {
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
    cursor: grab;
    touch-action: pan-y pinch-zoom;
    -webkit-user-select: none;
            user-select: none;
    background: var(--md-sys-color-surface-container-low);
    aspect-ratio: 3 / 2;
}
.ImageCarousel__viewport--CsEMg:focus-visible {
    outline: 3px solid var(--md-sys-color-primary);
    outline-offset: 2px;
}
.ImageCarousel__viewportDragging--whdq6 {
    cursor: grabbing;
}
.ImageCarousel__track--KQ_yt {
    display: flex;
    height: 100%;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.ImageCarousel__trackDragging--tJZk8 {
    transition: none;
}
.ImageCarousel__slide--z0gBi {
    flex: 0 0 100%;
    min-width: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Prevent child images from intercepting pointer events or triggering native drag */
.ImageCarousel__slide--z0gBi img {
        pointer-events: none;
        -webkit-user-drag: none;
}

/* --- Title overlay on image --- */
.ImageCarousel__overlay--xLsh6 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 0.75rem 0.625rem;
    background: linear-gradient(to top, rgb(0, 0, 0, 0.65) 0%, rgb(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    pointer-events: none;
}
.ImageCarousel__overlayTitle--tfN1L {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgb(0, 0, 0, 0.4);
}
.ImageCarousel__overlayPhotographer--XCHdO {
    color: rgb(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-style: italic;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgb(0, 0, 0, 0.4);
}

/* --- Controls --- */
.ImageCarousel__controls--iemwZ {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.ImageCarousel__navButton--aUBL1 {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: 50%;
    /* AAA minimum touch target 44x44 */
    width: 2.75rem;
    height: 2.75rem;
    cursor: pointer;
    color: var(--md-sys-color-on-surface);
    padding: 0;
    transition: background-color 0.15s, border-color 0.15s;
}
.ImageCarousel__navButton--aUBL1:hover {
        background: var(--md-sys-color-surface-variant);
        border-color: var(--md-sys-color-outline);
}
.ImageCarousel__navButton--aUBL1:focus-visible {
        outline: 3px solid var(--md-sys-color-primary);
        outline-offset: 2px;
}
.ImageCarousel__indicators--Uu6h2 {
    display: flex;
    gap: 0.375rem;
    align-items: center;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    mask-image: linear-gradient(
        to right,
        transparent, black 1rem, black calc(100% - 1rem), transparent
    );
    padding-inline: 0.5rem;
}
.ImageCarousel__indicators--Uu6h2::-webkit-scrollbar {
        display: none;
}
.ImageCarousel__dot--P840T {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    min-width: 1rem;
    min-height: 1rem;
    box-sizing: border-box;
    padding: 0;
    border-radius: 50%;
    border: 2px solid var(--md-sys-color-outline);
    background: transparent;
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
}
.ImageCarousel__dot--P840T:hover {
        background: var(--md-sys-color-outline);
}
.ImageCarousel__dot--P840T:focus-visible {
        outline: 3px solid var(--md-sys-color-primary);
        outline-offset: 4px;
}
.ImageCarousel__dotActive--L1e7d {
    background: var(--md-sys-color-primary);
    border-color: var(--md-sys-color-primary);
}
.ImageCarousel__counter--MActE {
    text-align: center;
    font-size: 0.8rem;
    color: var(--md-sys-color-on-surface-variant);
    margin: 0;
}

/* --- Lightbox --- */
.ImageCarousel__lightbox--v50dS {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border: none;
    padding: 0;
    margin: 0;
    background: transparent;
    overflow: hidden;
}
.ImageCarousel__lightbox--v50dS::backdrop {
        background: rgb(0, 0, 0, 0.85);
        animation: ImageCarousel__lightboxFadeIn--FFDXf 0.2s ease-out;
}
.ImageCarousel__lightbox--v50dS[open] {
        display: flex;
        align-items: center;
        justify-content: center;
        animation: ImageCarousel__lightboxFadeIn--FFDXf 0.2s ease-out;
}
@keyframes ImageCarousel__lightboxFadeIn--FFDXf {
from { opacity: 0;
}
to { opacity: 1;
}
}
.ImageCarousel__lightboxContent--zcr6P {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 3rem 4rem 2rem;
    box-sizing: border-box;
}
.ImageCarousel__lightboxImageArea--B5Eam {
    flex: 1;
    min-height: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ImageCarousel__lightboxBottom--yuiOA {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding-block-start: 1rem;
    max-width: 600px;
}
.ImageCarousel__lightboxCaption--Z0DtJ {
    text-align: center;
    color: rgb(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.4;
}
.ImageCarousel__lightboxCaption--Z0DtJ p {
        margin: 0;
}
.ImageCarousel__lightboxCaptionTitle--Gp1e0 {
    font-weight: 600;
}
.ImageCarousel__lightboxCaptionPhotographer--Gyg1A {
    font-style: italic;
    color: rgb(255, 255, 255, 0.85);
}
.ImageCarousel__lightboxCounter--FHLdf {
    color: rgb(255, 255, 255, 0.85);
    font-size: 0.8rem;
    margin: 0;
}
.ImageCarousel__lightboxNav--i_Wzt {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgb(0, 0, 0, 0.5);
    border: 1px solid rgb(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.15s;
}
.ImageCarousel__lightboxNav--i_Wzt:hover {
        background: rgb(0, 0, 0, 0.7);
}
.ImageCarousel__lightboxNav--i_Wzt:focus-visible {
        outline: 3px solid white;
        outline-offset: 2px;
}
.ImageCarousel__lightboxNavPrev--C7e_g {
    left: 1rem;
}
.ImageCarousel__lightboxNavNext--vbdpS {
    right: 1rem;
}
.ImageCarousel__lightboxClose--ZiBAP {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgb(0, 0, 0, 0.5);
    border: 1px solid rgb(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.15s;
}
.ImageCarousel__lightboxClose--ZiBAP:hover {
        background: rgb(0, 0, 0, 0.7);
}
.ImageCarousel__lightboxClose--ZiBAP:focus-visible {
        outline: 3px solid white;
        outline-offset: 2px;
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
.ImageCarousel__track--KQ_yt {
        transition: none;
}
.ImageCarousel__lightbox--v50dS,
    .ImageCarousel__lightbox--v50dS::backdrop {
        animation: none;
}
}

/* --- Print --- */
@media print {
.ImageCarousel__sidebar--wjzTz {
        display: none;
}
}

/* --- Mobile --- */
@media screen and (width <= 768px) {
.ImageCarousel__lightboxContent--zcr6P {
        padding: 3rem 1rem 1.5rem;
}
.ImageCarousel__lightboxNav--i_Wzt {
        width: 2.5rem;
        height: 2.5rem;
}
.ImageCarousel__lightboxNavPrev--C7e_g {
        left: 0.5rem;
}
.ImageCarousel__lightboxNavNext--vbdpS {
        right: 0.5rem;
}
}

