/* Calendar Rollup Hero Section Styles */
.hero-img-stack {
    display: block;
   
    margin: 0 auto;
    background-color: #f8fafd;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    position: relative;
}
.hero-img-stack > img {
    width: 90%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.hero-img-partial-wrap {
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 50%;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.hero-img-partial-wrap > img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: -10px -10px 30px rgba(0,0,0,0.2);
    background: #fff;
}
.hero-img-stack:hover .hero-img-partial-wrap {
    transform: translate(-10px, -10px);
}
@media (max-width: 991.98px) {
    .hero-img-partial-wrap {
        width: 300px !important;
        right: -10px !important;
        bottom: -10px !important;
    }
}

/* Business Charts hero: background image peeks from left, vertically centered */
.hero-img-bg-wrap {
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    width: 80%;
    z-index: 0;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.hero-img-bg-wrap > img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 8px -8px 24px rgba(0,0,0,0.14);
    background: #fff;
    /* 从左侧清晰到右侧渐隐，自然融入白色背景 */
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 20%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to right, rgba(0,0,0,1) 20%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0) 100%);
}

/* Parallax: 双层视差 - 前景右移，背景左下微移，方向相反产生 3D 空间感 */
.hero-img-stack--charts > img {
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 1;
}
.hero-img-stack--charts:hover > img {
    transform: translate(14px, -6px);
}
.hero-img-stack--charts:hover .hero-img-bg-wrap {
    transform: translateY(-50%) translate(-5px, 5px);
}

@media (max-width: 991.98px) {
    .hero-img-bg-wrap {
        width: 220px;
        left: -10px;
    }
}

