@charset "utf-8";

/* ===== 后勤首页样式 ===== */
.container {
    padding-top: 90px; /* 为固定头部留出空间 */
    background: #f9f9f9;
}

/* ===== 通用标题样式 ===== */
.media-title {
    text-align: center;
    margin-bottom: 40px;
}

.media-title h3 {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.media-title h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #009B96;
}

.media-title p {
    font-size: 16px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== 媒体中心区域 ===== */
.media {
    padding: 50px 0;
}

.media-content {
    list-style: none;
    margin: 0 -15px;
    padding: 0;
    overflow: hidden;
}

.media-content li {
    width: 50%;
    float: left;
    padding: 0 15px;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.media-content li a {
    display: block;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
    text-decoration: none;
}

.media-content li a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,155,150,0.15);
}

.media-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.media-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.media-content li a:hover .media-image img {
    transform: scale(1.05);
}

.media-texts {
    padding: 20px;
}

.media-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.media-time {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.media-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 45px;
}

/* ===== 公司介绍区域 ===== */
.company {
    background: #fff;
    padding: 50px 0;
}

.company-content {
    background: #f5f5f5;
    padding: 40px 0;
}

.company-content .con-center {
    overflow: hidden;
}

.company-content .le {
    width: 45%;
    float: left;
}

.company-content .le img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.company-content .ri {
    width: 50%;
    float: right;
    padding: 20px 0;
}

.company-content .ri h5 {
    font-size: 24px;
    font-weight: 600;
    color: #009B96;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #009B96;
}

.company-content .ri p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* ===== 服务单位区域 ===== */
.honor {
    padding: 50px 0;
    position: relative;
}

.honor-div {
    position: relative;
    padding: 0 50px;
}

.honor-content {
    overflow: hidden;
}

.honor-ul {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.honor-ul li {
    float: left;
    width: 25%;
    padding: 0 15px;
    box-sizing: border-box;
}

.honor-images {
    width: 100%;
    height: 120px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
}

.honor-images img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.honor-le,
.honor-ri {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #666;
    transition: all 0.3s;
}

.honor-le:hover,
.honor-ri:hover {
    background: #009B96;
    color: #fff;
}

.honor-le {
    left: 0;
}

.honor-ri {
    right: 0;
}

/* ===== 业务介绍区域 ===== */
.business {
    background: #f5f5f5;
    padding: 50px 0;
}

.business-div {
    position: relative;
    padding: 0 50px;
    margin: 30px 0;
}

.business-content {
    overflow: hidden;
}

.business-ul {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.business-ul li {
    float: left;
    width: 25%;
    padding: 0 15px;
    box-sizing: border-box;
}

.business-ul li a {
    display: block;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
    text-decoration: none;
}

.business-ul li a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,155,150,0.15);
}

.business-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.business-ul li a:hover .business-image img {
    transform: scale(1.05);
}

.business-text {
    padding: 15px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.business-le,
.business-ri {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #666;
    transition: all 0.3s;
}

.business-le:hover,
.business-ri:hover {
    background: #009B96;
    color: #fff;
}

.business-le {
    left: 0;
}

.business-ri {
    right: 0;
}

/* ===== 查看更多按钮 ===== */
.media-add {
    display: block;
    width: 200px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    margin: 30px auto 0;
    background: #009B96;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,155,150,0.2);
}

.media-add:hover {
    background: #007B76;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,155,150,0.3);
}

/* ===== 清除浮动 ===== */
.clearfloat {
    clear: both;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1200px) {
    .con-center {
        width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .media-content li {
        width: 100%;
        max-width: 500px;
        margin: 0 auto 20px;
        float: none;
    }
    
    .company-content .le,
    .company-content .ri {
        width: 100%;
        float: none;
    }
    
    .company-content .le {
        margin-bottom: 20px;
        text-align: center;
    }
    
    .company-content .le img {
        max-width: 400px;
    }
    
    .honor-ul li {
        width: 50%;
    }
    
    .business-ul li {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .honor-ul li {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 20px;
        float: none;
    }
    
    .business-ul li {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 20px;
        float: none;
    }
    
    .honor-div,
    .business-div {
        padding: 0 30px;
    }
}