/* 隐藏滚动条 */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.children-page::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}
html,body,
.children-page {
    -ms-overflow-style: none;
    /* IE 和 Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* 滚动条美化  滑块高度变小*/
.image-text::-webkit-scrollbar {
    width: 3px;
}

.image-text::-webkit-scrollbar-thumb {
    background-color: #E7DBC2;
    border-radius: 10px;
}

.image-text::-webkit-scrollbar-thumb:hover {
    background-color: #b4a78a;
}

.nav-link {
    color: #FFF;
}

.children-page {
    overflow: auto !important;

    .x-header {
        background-color: #634936B3 !important;
    }
}

.main-content {
    margin-top: 100px;
    /* margin-bottom: 50px; */
    padding: 20px 240px;
    /* background-color: #f38787; */
    background: url(../image/children/details-bg.png);
    /* height: 1000px; */
    min-height: 900px;
    padding-bottom: 100px;
    box-sizing: border-box;
}

.children-footer {
    /* position: fixed !important;
    bottom: 0; */
    width: 100%;
    margin-top: -85px;
}

.breadcrumb {
    font-size: 14px;
    color: #49403580;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #49403580;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #8f2111;
    text-decoration: underline;
}

.breadcrumb .current {
    color: #494035FF;
}

/* 隐藏Chrome和Safari中的数字输入框箭头 */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* 对于Firefox，使用moz-appearance */
input[type=number] {
    -moz-appearance: textfield;
}

/* 卡片网格样式 */
.ich-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: start;
    font-family: auto;
}

.ich-card {
    /* background: #d9c59f; */
    background: url(../image/children/ich-card-bg.png) no-repeat center;
    background-size: 100% 100%;
    /* 卡片背景色（米黄色）*/
    padding: 12px;
    padding-bottom: 6px;
    box-sizing: border-box;
    border-radius: 2px;
    /* box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08) inset; */
}

.ich-card:hover {
    /* transform: translateY(-2px); */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */

    .ich-title,
    .ich-meta {
        color: #F2C05F;
    }

    .ich-meta-time::before {
        content: url(../image/children/ich-meta-time-active.png);
    }

    .ich-meta-num::before {
        content: url(../image/children/ich-meta-num-active.png);
    }
}


.ich-thumb {
    width: 100%;
    height: 150px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    border-radius: 2px;
    margin-bottom: 10px;
}

.ich-title {
    font-size: 18px;
    color: #fff;
    line-height: 1.4;
    /* margin-bottom: 8px; */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.ich-meta {
    font-weight: 400;
    font-size: 16px;
    color: #FFFFFFCC;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ich-meta-time::before {
    content: url(../image/children/ich-meta-time.png);
    vertical-align: sub;
    margin-right: 5px;
}

.ich-meta-num::before {
    content: url(../image/children/ich-meta-num.png);
    vertical-align: sub;
    margin-right: 5px;
}

.ich-meta i {
    font-style: normal;
    opacity: 0.8;
}

/* 分页样式 */
.ich-pagination {
    /* margin-top: 12px; */
    margin-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ich-pagination .page-arrow,
.ich-pagination .page-item,
.ich-pagination .page-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}

.ich-pagination .page-arrow {
    width: 16px;
    height: 30px;
}

.ich-pagination .prev {
    background: url(../image/children/pagination-prev.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.ich-pagination .next {
    background: url(../image/children/pagination-next.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.ich-pagination .page-circle {
    width: 30px;
    height: 30px;
    background: #f4c65e;
    /* 圆形黄色 */
    color: #494035;
}

.ich-pagination .page-item {
    min-width: 30px;
    height: 30px;
    /* padding: 0 8px; */
    border-radius: 50%;
    /* background: #ffdba8; */
    color: #494035;
}

.ich-pagination .page-item.active,
.ich-pagination .page-circle.active {
    background: #F2C05F;
}

/* 跳转区 */
.ich-pagination .page-jump {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
    color: #8f4b1a;
    font-size: 14px;
}

.ich-pagination .jump-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: url('/Public/static/themes/image/opacity-10.png') no-repeat center;
    /* 占位，若有自定义图可替换 */
    opacity: 0.7;
}

.ich-page-input {
    width: 60px;
    height: 30px;
    box-sizing: border-box;
    padding: 4px 8px;
    /* border: 2px solid #f2c16a; */
    /* background: #ffedcf; */
    background: url(../image/children/pagination-input.png) no-repeat;
    background-size: 115% 100%;
    color: #8f4b1a;
    border-radius: 4px;
    text-align: center;
    appearance: none;
}

.ich-go-btn {
    display: inline-block;
    padding: 6px 10px;
    background: #8f4b1a;
    color: #fff;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

/* 响应式：小屏变两列或一列 */
@media screen and (max-width: 1000px) {
    .ich-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ich-thumb {
        height: 160px;
    }
}

@media screen and (max-width: 520px) {
    .ich-grid {
        grid-template-columns: 1fr;
    }

    .main-content {
        padding: 20px 16px;
    }

    .ich-pagination {
        gap: 10px;
    }

    .ich-pagination .page-jump {
        width: 100%;
        justify-content: center;
    }
}

/* 
.top-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45px;
    width: 100%;
    color: #494035FF;
    font-size: 18px;
    gap: 68px;
    box-sizing: border-box;
}

.tab-item {
    padding: 12px 16px;
    cursor: pointer;
    background: url(../image/children/fyyx-tabitem.png) no-repeat center;
    width: 200px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;

}

.tab-item.active {
    color: #FFFFFFFF;
    background-image: url(../image/children/fyyx-tabitem-active.png);
} */

/* detail */


/* fyjy.html*/
.ich-fyjy-grid {
    display: grid;
    grid-template-columns: repeat(1, 3fr);
    gap: 24px;
    align-items: start;
    font-family: auto;
}

.ich-fyjy-card {
    background: url(../image/children/fyjy-card-bg.png) no-repeat center;
    background-size: 100% 100%;
    box-sizing: border-box;
    border-radius: 2px;
    /* box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08) inset; */
    width: 100%;
    /* 确保卡片占满网格列宽 */
}

.ich-fyjy-card:hover {
    /* transform: translateY(-2px); */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */

    .ich-fyjy-title,
    .ich-fyjy-meta {
        color: #F2C05F;
    }

    .ich-fyjy-meta-time::before {
        content: url(../image/children/ich-meta-time-active.png);
    }

    .ich-fyjy-meta-num::before {
        content: url(../image/children/ich-meta-num-active.png);
    }
}

.ich-fyjy-link {
    display: flex;
    gap: 2%;
    padding: 15px;
    box-sizing: border-box;
    width: 100%;
    /* 确保链接占满卡片宽度 */
}

.ich-fyjy-thumb {
    width: 27%;
    height: 190px;
    background-repeat: no-repeat;
    background-size: 90% 90%;
    background-position: center;
    border-radius: 2px;
}

.ich-fyjy-content {
    display: flex;
    flex-direction: column;
    width: 67%;
    justify-content: space-between;
    gap: 12px;
}

.ich-fyjy-title {
    font-size: 18px;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.ich-fyjy-meta {
    font-weight: 400;
    font-size: 16px;
    color: #FFFFFFCC;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ich-fyjy-meta-time::before {
    content: url(../image/children/ich-meta-time.png);
    vertical-align: sub;
    margin-right: 5px;
}

.ich-fyjy-meta i {
    font-style: normal;
    opacity: 0.8;
}

/* jxcc.html*/
.ich-jxcc-grid {
    display: grid;
    grid-template-columns: repeat(1, 3fr);
    gap: 24px;
    align-items: start;
    font-family: auto;
}

.ich-jxcc-card {
    background: url(../image/children/jxcc-card-bg.png) no-repeat center;
    background-size: 100% 100%;
    box-sizing: border-box;
    border-radius: 2px;
    /* box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08) inset; */
    width: 100%;
    /* 确保卡片占满网格列宽 */
}

.ich-jxcc-card:hover {
    /* transform: translateY(-2px); */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */

    .ich-jxcc-title,
    .ich-jxcc-meta {
        color: #F2C05F;
    }

    .ich-jxcc-meta-time::before {
        content: url(../image/children/ich-meta-time-active.png);
    }

    .ich-jxcc-meta-num::before {
        content: url(../image/children/ich-meta-num-active.png);
    }
}

.ich-jxcc-link {
    display: flex;
    gap: 2%;
    padding: 15px;
    box-sizing: border-box;
    width: 100%;
    /* 确保链接占满卡片宽度 */
}

.ich-jxcc-thumb {
    width: 27%;
    height: 190px;
    background-repeat: no-repeat;
    background-size: 90% 90%;
    background-position: center;
    border-radius: 2px;
}

.ich-jxcc-content {
    display: flex;
    flex-direction: column;
    width: 67%;
    justify-content: space-between;
}

.ich-jxcc-title {
    font-size: 18px;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.ich-jxcc-meta {
    font-weight: 400;
    font-size: 16px;
    color: #FFFFFFCC;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ich-jxcc-meta-time::before {
    content: url(../image/children/ich-meta-time.png);
    vertical-align: sub;
    margin-right: 5px;
}

.ich-jxcc-meta i {
    font-style: normal;
    opacity: 0.8;
}

.ich-jxcc-description,
.ich-fyjy-description {
    flex: 1;
}

.ich-jxcc-button {
    text-align: left;
    width: 105px;
    height: 30px;
    background: url(/Public/static/themes/image/children/jxcc-card-more.png) no-repeat center;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}