/* Rakuza Seventeen v1.1.7 - consistent Twenty Seventeen front-page panel banners.
 * Restores the user's former 150px / 150px banner heights, without changing
 * the main carousel, its framing controls, normal content images, or other pages.
 * A 19:6 source photo (e.g. 1900 x 600) is convenient, but the responsive
 * display slot has deliberately fixed height instead of a fixed aspect ratio.
 */
.twentyseventeen-panel > .panel-image {
    height: 150px;
    max-height: none;
    min-height: 0;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
/* The theme's inline padding-top was derived from EACH uploaded photo's own
 * dimensions. Do not let that create an extra-tall image stage. */
.twentyseventeen-panel > .panel-image > .panel-image-prop {
    height: 100%;
    min-height: 0;
    max-height: none;
    padding-top: 0 !important;
}
/* Preserve the original desktop fixed-background / parallax behavior when the
 * parent theme enables it. On iOS the parent explicitly disables fixed
 * background attachments because of WebKit scaling issues. */
@media screen and (min-width: 768px) {
    body.background-fixed .twentyseventeen-panel > .panel-image {
        background-attachment: fixed;
    }
    @supports (-webkit-touch-callout: none) {
        body.background-fixed .twentyseventeen-panel > .panel-image {
            background-attachment: scroll;
        }
    }
}
@media screen and (max-width: 767px) {
    .twentyseventeen-panel > .panel-image {
        height: 150px;
    }
}
