.layui-layer-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

body {
    padding: 16px;
    background: #f5f7fa;
    font-family: "Microsoft Yahei", "PingFang SC", Arial;
}

.section-title {
    font-weight: 700;
    font-size: 16px;
    margin: 18px 0 8px;
    color: #333;
}

.path-title {
    font-weight: 600;
    font-size: 14px;
    margin: 12px 0;
    color: #444;
    background: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.content-box {
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    margin-bottom: 12px;
}

.empty-box {
    padding: 18px;
    background: #fff;
    border: 1px dashed #e6e6e6;
    border-radius: 6px;
    color: #999;
    text-align: center;
    margin-bottom: 12px;
}

/* card */
.card {
    width: calc(100% - 15px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    padding: 8px;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.thumb {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    /* 4:3 宽高比 */
    background: #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
    /* 取消原来的 flex 布局，改用绝对定位 */
}

.thumb img,
.thumb video {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 无封面提示容器 */
.thumb>div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #bbb;
    font-size: 13px;
    padding: 12px;
    text-align: center;
    max-width: 80%;
    max-height: 80%;
    line-height: 1.4;
    user-select: none;
}

.case-card-title {
    margin-top: 10px;
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    flex: 1;
}

.case-card-date {
    font-size: 12px;
    color: #999;
    margin-top: 6px;
    text-align: right;
}

/* swiper v3 相关微调 */
.swiper-container {
    padding: 8px 6px 18px 6px;
    background: transparent;
    margin-bottom: 18px;
    overflow: visible;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
    box-sizing: border-box;
    flex-shrink: 0;
}

.swiper-button-next,
.swiper-button-prev {
    color: #333;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 36px !important;
    height: 36px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    background-size: 15px 44px;
}

/* 当 SHOW_PAGINATION = false 时，JS 也会隐藏 .swiper-pagination，但这里加一个兜底 */
.no-pagination .swiper-pagination {
    display: none !important;
}

/* 保证 pagination 在容器底部且不遮挡 */
.swiper-pagination {
    bottom: 6px;
}

/* 响应式（宽度由 JS 计算并写入 inline style，保底媒体查询仅作安全） */
@media (max-width: 900px) {
    /* fallback */
}

@media (max-width: 520px) {
    /* fallback */
}

.empty-box {
    margin-top: 10px;
}

.section-title,
.path-title {
    color: #fff !important;
    background: #254573;
    border-radius: 43px;
    padding: 4px 10px
}

.layui-case-card-body {
    overflow-x: hidden;
}

#contentArea {
    margin-top: 20px;
}

.layui-tab-title {}

.layui-tab-title li {

    border-radius: 43px;
    color: #13365D;
    margin: 0 7px;
}

.layui-tab-title .layui-this {
    color: #fff !important;
    background: #D97706;
}

.layui-tab .layui-tab-title {
    border-bottom-width: 0px
}

.layui-tab .layui-tab-title li {
    margin-right: 20px;
    line-height: 30px;
}

.layui-tab-brief>.layui-tab-title .layui-this:after {
    border-bottom: 0px solid #16b777;
}

.layui-layer-content video {
    width: 100%;
    height: 100%;
}

#tabTitles {
    display: none;
}

.layui-layer.music-layer {
    border-radius: 16px !important;
    --overflow: hidden;
    /* 避免iframe撑破圆角 */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    /* 可选：阴影 */
}

.layui-layer.music-layer iframe {
    border-radius: 16px !important;
}

