/* The gallery owns the slide dimensions. Cover that frame at any screen width. */
#home-gallery .Index-gallery-item-inner > figure.Index-gallery-item-image {
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
}

#home-gallery .Index-gallery-item-inner > figure.Index-gallery-item-image > img {
    display: block;
    position: static !important;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: var(--muskoka-slide-position, center);
}

/* Retain the off-center composition from the source photographs. */
#home-gallery .Index-gallery-item-image > img.wp-image-7 {
    --muskoka-slide-position: clamp(100%, calc(55.57% - 5.57vw), 0px) top;
}

#home-gallery .Index-gallery-item-image > img.wp-image-8 {
    --muskoka-slide-position: clamp(100%, calc(37.71% + 12.29vw), 0px) top;
}

/* Keep the existing parallax wrappers. Replace fixed imported image geometry. */
.Parallax-item > figure.Index-page-image:has(> img:is(.wp-image-10, .wp-image-12)) {
    min-height: 100%;
}

.Parallax-item > figure.Index-page-image > img.wp-image-10,
.Parallax-item > figure.Index-page-image > img.wp-image-12 {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
    object-position: center top;
}

/* The original bar separates the actions by five percent of the viewport. */
#home-gallery nav#contact-info > ul.wp-block-navigation__container {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    column-gap: 5vw;
    background: transparent;
}

#home-gallery nav#contact-info .wp-block-navigation-item__label > i {
    margin-inline-end: 0.35em;
}
