/* 招聘页面 hire.css */

body {
    background: #fafafd;
    font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
}

.hire-main {
    width: 1200px;
    margin: 0 auto;
    min-height: 800px;
    box-sizing: border-box;
    padding-bottom: 60px;
}
.hire-job-list a{
	text-decoration: none;
}
.hire-banner {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
    margin-bottom: 32px;
}
.hire-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hire-banner-box {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
    margin-bottom: 32px;
}
.hire-banner-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hire-content-box {
    width: 1200px;
    margin: 0 auto 60px auto;
    padding: 48px 60px 40px 60px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.hire-title {
    font-size: 40px;
    color: #ff3c3c;
    font-weight: bold;
    margin-bottom: 32px;
    text-align: left;
    letter-spacing: 2px;
}

.hire-search-box {
    display: flex;
    align-items: center;
    width: 1080px;
    background: #fff;
    border-radius: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 12px 16px 12px 32px;
	margin: -110px auto 40px;
	position: relative;
	z-index: 2;
}
.hire-search-box img{
	width: 30px;
	height: 30px;
}
.hire-search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 18px;
    padding: 10px 16px;
    border-radius: 32px;
    background: transparent;
}
.hire-search-box button {
    background: #ff3c3c;
    color: #fff;
    border: none;
    border-radius: 0px 24px 24px 0;
    font-size: 18px;
    padding: 8px 82px;
    margin-left: 12px;
    cursor: pointer;
    transition: background 0.2s;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 2;
	height: 65px;
}
.hire-search-box button:hover {
    background: #e60012;
}

.hire-job-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.job-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 16px;
    margin-bottom: 20px;
    padding: 32px 40px;
    transition: box-shadow 0.2s, background 0.2s;
    border: 1.5px solid transparent;
}
.job-item.selected {
    background: #fff;
    border: 1.5px solid #ff3c3c;
    box-shadow: 0 4px 16px rgba(255,60,60,0.08);
}
.job-item:hover {
    background: #fff;
    box-shadow: 0 4px 16px rgba(255,60,60,0.08);
    z-index: 2;
}
.job-item > .dot-red {
    align-self: flex-start;
    margin-top: 6px;
}
.job-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.job-title {
    font-size: 22px;
    font-weight: bold;
    color: #222;
    margin-bottom: 8px;
}
.job-tags {
    font-size: 15px;
    color: #888;
    margin-bottom: 12px;
}
.job-desc {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: calc(1.7em * 2); /* 两行文本的最大高度 */
}
.job-item img {
    width: 40px;
    height: 40px;
    margin-left: 32px;
    transition: filter 0.2s;
}
.job-item:hover img {
    content: none;
    /* 用JS切换src，或用伪类实现，但img标签只能用JS */
}

.hire-more-btn {
    display: block;
    width: 220px;
    margin: 48px auto 0 auto;
    background: #222;
    color: #fff;
    font-size: 18px;
    text-align: center;
    border-radius: 24px;
    padding: 14px 0;
    cursor: pointer;
    letter-spacing: 2px;
    transition: background 0.2s;
}
.hire-more-btn:hover {
    background: #ff3c3c;
}

.dot-red {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff3c3c;
    margin-right: 16px;
    vertical-align: middle;
}

@media (max-width: 1300px) {
    .hire-content-box {
        width: 98vw;
        min-width: 320px;
        padding: 24px 8px;
    }
} 