.b2-countdown-slider {
    position: relative;
    min-height: 210px; /* 根据您的内容调整一个合适的高度 */
}
/* 当屏幕宽度小于 768px 时（通常是平板和手机） */
@media (max-width: 768px) {
    .b2-widget-hide-on-mobile {
        display: none;
    }
}

.b2-countdown-slider .countdown-widget {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.b2-countdown-slider .countdown-widget.active {
    opacity: 1;
    visibility: visible;
}

.countdown-widget {
    position: relative; /* 添加相对定位，为子元素绝对定位提供基准 */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    text-align: center;
    padding: 20px 15px;
    background: #fff;
}

.countdown-label {
    position: absolute; /* 改为绝对定位 */
    top: 14px; /* 距离顶部20px */
    left: 15px; /* 改为左侧定位 */
    font-size: 13px;
    color: #666;
}

/* 使用伪元素创建下划线 */
.countdown-label::after {
    content: '';
    display: block;
    width: 100%; /* 下划线宽度与文字相同 */
    height: 1.2px; /* 下划线高度 */
    background-color: #2563eb; /* 下划线颜色与天数颜色一致 */
    margin-top: 3px; /* 与文字的间距 */
}

.exam-title {
    font-size: 15px;
    color: #333;
    margin-top: 27px; /* 增加上边距，为左上角的标签留出空间 */
    margin-bottom: 15px;
    font-weight: 600;
}

.countdown-display {
    margin: 20px 0;
}

.countdown-number {
    font-size: 30px;
    font-weight: bold;
    color: #FF9600;
    line-height: 1;
}

.countdown-unit {
    font-size: 18px;
    color: #FF9600;
    font-weight: 500;
}

.exam-date {
    font-size: 13px;
    color: #666;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.exam-news {
    font-size: 12px;
    margin-top: 8px;
    font-weight: 600;
}

.exam-news a {
    color: #3e2d2d;
    text-decoration: none;
}

.exam-news a:hover {
    text-decoration: underline;
}