* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui,sans-serif
}

:root {
    --main: #e64a19;
    --light: #ffede6;
    --gray: #666;
    --lightgray: #f5f5f5;
    --border: #eee
}

body {
    background: #f8f8f8;
    color: #333;
    line-height: 1.5
}

.container {
    width: 94%;
    max-width: 1280px;
    margin: 0 auto
}

header {
    background: var(--main);
    color: #fff;
    padding: 12px 0
}

.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 6px
}

.logo-name {
    font-size: 18px;
    font-weight: bold
}

.top-btns {
    display: flex;
    gap: 8px
}

.btn {
    border: none;
    border-radius: 6px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 14px
}

.btn-primary {
    background: #fff;
    color: var(--main);
    font-weight: bold
}

.btn-outline {
    background: transparent;
    border: 1px solid #fff;
    color: #fff
}

.search-box {
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    margin: 14px 0;
    display: flex;
    gap: 8px
}

    .search-box input {
        flex: 1;
        border: 1px solid var(--border);
        border-radius: 6px;
        padding: 9px;
        font-size: 14px;
        outline: none
    }

    .search-box button {
        background: var(--main);
        color: #fff;
        border: none;
        border-radius: 6px;
        padding: 0 16px;
        cursor: pointer
    }

.tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px
}

.tab {
    padding: 7px 12px;
    background: #fff;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid var(--border)
}

    .tab.active {
        background: var(--main);
        color: #fff;
        border-color: var(--main)
    }

.section {
    margin: 24px 0
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
    padding-left: 6px;
    border-left: 4px solid var(--main)
}

.grid-multi {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(260px,1fr));
    gap: 14px
}

.grid-double {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(340px,1fr));
    gap: 14px
}

.grid-four {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
    gap: 14px
}

.card {
    background: #fff;
    border-radius: 10px;
    padding: 14px;
    cursor: pointer;
    transition: .2s;
    border: 1px solid var(--border)
}

    .card:hover {
        box-shadow: 0 3px 10px rgba(0,0,0,.08)
    }

.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px
}

.card-title { 
    align-items: center;
    justify-content: space-between; 
}

.card-title1 {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 80%;
}

.tag {
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px
}

.tag-online {
    background: #e8f5e9;
    color: #2e7d32
}

.tag-offline {
    background: #ffebee;
    color: #c62828
}

.card-label {
    font-size: 12px;
    color: var(--gray);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0
}

.card-div {
    height: 1px;
    background: var(--border);
    margin: 10px 0
}

.card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray);
}

.avatar {
    width: auto;
    height: auto;
    max-width: 30px;
    max-height: 30px;
    vertical-align: middle;
}

.course-img {
    width: 100%;
    height: 130px;
    background: var(--lightgray);
    border-radius: 6px;
    margin-bottom: 8px;
    object-fit: cover
}

.time-red {
    color: #c62828;
    font-weight: bold
}

.empty {
    text-align: center;
    padding: 40px;
    color: #999;
    background: #fff;
    border-radius: 10px
}

.links {
    background: #fff;
    border-radius: 10px;
    padding: 14px;
    margin: 24px 0
}

.links-title {
    font-weight: bold;
    margin-bottom: 8px
}

.links-item {
    display: inline-block;
    margin: 4px -16px 4px 0;
    color: var(--main);
    cursor: pointer
}

footer {
    background: #222;
    color: #aaa;
    padding: 24px 0;
    margin-top: 30px;
    font-size: 13px
}

    footer p {
        margin: 4px 0
    }
/* popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999
}

.popup-box {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    width: 90%;
    max-width: 420px
}

.popup-title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 16px;
    font-size: 16px
}

.qr-wrap {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap
}

.qr-item {
    text-align: center
}

.qr-box {
    width: 140px;
    height: 140px;
    background: var(--lightgray);
    border-radius: 8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666
}

.qr-name {
    font-size: 14px
}

.popup-close {
    display: block;
    margin: 16px auto 0;
    border: none;
    background: var(--main);
    color: #fff;
    padding: 8px 24px;
    border-radius: 6px;
    cursor: pointer
}

.pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 16px;
    flex-wrap: wrap
}

.page-btn {
    padding: 6px 12px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px
}

    .page-btn.active {
        background: var(--main);
        color: #fff;
        border-color: var(--main)
    }

@media(max-width:768px) {
    .grid-double, .grid-multi, .grid-four {
        grid-template-columns: 1fr
    }

    .header-wrap {
        justify-content: center
    }

    .top-btns {
        width: 100%;
        justify-content: center
    }
}


.logoBox1 {
    width: 157px;
    max-width: 157px;
    font-family: PingFangSC,PingFangSC;
    height: 32px;
    display: flex;
    align-items: center;
    margin-top: 5px
}

.logoBox_icon1 {
    width: 32px;
    height: 32px;
    background-color: #fff;
    font-family: PingFangSC,PingFangSC;
    font-size: 25px;
    font-weight: 600;
    color: #000;
    text-align: center;
    line-height: 32px;
}

.logoBox_title1 {
    height: 10px;
    position: relative;
    flex: 1;
}

.logoBox_title_top1 {
    width: 104%;
    font-family: PingFangSC, PingFangSC;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    position: absolute;
    left: 8px;
    top: -14px;
    overflow: hidden;
    white-space: nowrap;
}

.logoBox_title_bottom1 {
    font-family: PingFangSC, PingFangSC;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    position: absolute;
    left: 8px;
    bottom: -16px;
}
.newstitle {
    max-width: 280px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
} 
.job-name {
    display: inline-block;
    max-width: 159px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    flex-shrink: 1; /* 允许收缩 */
    min-width: 0; /* 防止溢出 */
}

.job-name1 {
    display: inline-block;
    max-width: 162px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    flex-shrink: 1;
    min-width: 0;
}

.jianzhijob-name {
    display: inline-block;
    max-width: 160px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    flex-shrink: 1; /* 允许收缩 */
    min-width: 0; /* 防止溢出 */
}

.job-salary {
    flex-shrink: 0; /* 薪资不压缩，始终完整显示 */
    white-space: nowrap;
}


.kecheng {
    background-color: #fff;
    float: left;
    margin-right: 28px;
    margin-bottom: 20px;
    overflow: hidden; /* 防止图片溢出圆角 */
    border-radius: 8px; /* 可选圆角 */
}

.course-img {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: #f5f5f5 !important;
}

    .course-img img {
        width: 100% !important;
        height: 100% !important;
    }
.kechengname {
    max-width: 170px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.kechengorg {
    max-width: 182px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.card-img {
    width: 30px;
    height: 30px;
    line-height: 27px;
    text-align: center;
    display: inline-block;
    border-radius: 15px;
    border: solid 1px #f2f5fa;
    overflow: hidden;
}

.links {
    color: #333;
    text-decoration: none;
}
.jianzhiarea {
    max-width: 80px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
