/* 首页沿用站点配色，每屏占满 60px 顶部栏下方的可视区域。 */
.home-page {
    --home-header-height: 60px;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    padding-top: var(--home-header-height);
    overflow: hidden;
    background: #F8F4EA;
}

.home-page .site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: var(--home-header-height);
}

.home-page .header-inner {
    height: 100%;
    min-height: 0;
    padding-block: 0;
    flex-wrap: nowrap;
}

.home-page .brand { flex-shrink: 0; }
.home-page .skip-link { position: fixed; z-index: 1001; }

.home-page .home-user-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: #0E5A4A;
    text-decoration: none;
}

.home-page .home-user-link .iconfont {
    color: #0E5A4A;
    font-size: 40px;
    line-height: 1;
}

.home-page .home-slides {
    flex: 1;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
}

.home-slides::-webkit-scrollbar { display: none; }
.home-slides-track { height: 100%; }
.home-slide {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 24px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: #F8F4EA;
}

.home-slide-number {
    margin: 0;
    color: var(--green);
    font-size: clamp(2.55rem, 7vw, 4.5rem);
    font-weight: 750;
    line-height: 1.2;
}

.home-pagination {
    position: fixed;
    right: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 12px;
    border-radius: 999px;
    background: #fff;
}

.home-slide-dot {
    position: relative;
    display: grid;
    place-items: center;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #0E5A4A;
    cursor: pointer;
}

.home-slide-dot::before {
    content: '';
    width: 8px;
    height: 8px;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: .5;
}

/* 扩大点击范围，保持可见圆点之间的净间距为 10px。 */
.home-slide-dot::after {
    content: '';
    position: absolute;
    inset: -5px;
}

.home-slide-dot:hover::before { opacity: 1; }
.home-slide-dot[aria-current='step']::before { background: currentColor; opacity: 1; }

.home-slide-announcement {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (max-width: 767px) {
    .home-pagination { right: 8px; }
}

