.header-index {
    display: block;
    height: initial;
}
@import "../../../common/index.acss";

.header-index .van-calendar__header {
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(125, 126, 128, 0.16);
    box-shadow: var(
        --calendar-header-box-shadow,
        0 2px 10px rgba(125, 126, 128, 0.16)
    );
}

.header-index .van-calendar__header-subtitle,
.header-index .van-calendar__header-title {
    text-align: center;
    height: 44px;
    height: var(--calendar-header-title-height, 44px);
    font-weight: 500;
    font-weight: var(--font-weight-bold, 500);
    line-height: 44px;
    line-height: var(--calendar-header-title-height, 44px);
}

.header-index .van-calendar__header-title + .van-calendar__header-title,
.header-index .van-calendar__header-title:empty {
    display: none;
}

.header-index .van-calendar__header-title:empty + .van-calendar__header-title {
    display: block !important;
}

.header-index .van-calendar__weekdays {
    display: -webkit-flex;
    display: flex;
}

.header-index .van-calendar__weekday {
    -webkit-flex: 1;
    flex: 1;
    text-align: center;
    font-size: 12px;
    font-size: var(--calendar-weekdays-font-size, 12px);
    line-height: 30px;
    line-height: var(--calendar-weekdays-height, 30px);
}
