.magpie-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.magpie-image:hover {
    opacity: 1;
}

/* Fix video background to cover properly */
.background-video {
    object-fit: cover !important;
}

/* Make components (ken-burns, hero, framed, etc) fill the section */
magpie-ken-burns,
magpie-hero,
magpie-sticky-image,
magpie-framed {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Note: magpie-sticky-background has its own positioning (relative with sticky media) */
/* Remove WebSlides padding and background for sticky-background sections */
section:has(magpie-sticky-background) {
    padding: 0 !important;
    background: transparent !important;
    display: block !important;  /* Override WebSlides flex to allow proper height calculation */
}

/* Note: Ken-burns animation is handled by the component itself */
/* Images with 'background' class already skip WebSlides fadeIn via section .background rule */

.image-text p {
    font-size: 1.7rem !important;
    line-height: 1.5 !important;
    opacity: 0.7;
}
.attribution {
    font-size: 1.2rem;
    opacity: 0.5;
}
.bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    /* padding-right: 0;
    padding-left: 0; */
}