/* 在线留言页面样式 */

/* 留言区域 */
.message-section .container {
    margin-top: 90px;
    margin-bottom: 140px;
    background-image: url('/assets/image/zxly_bg.jpg');
    background-size: cover;
    background-position: center;
}

.message-wrapper {
    display: flex;
    gap: 40px;
    height: 680px;
    background: rgb(255 255 255 / 50%);
    padding: 85px 45px 85px 45px;
    margin: 100px 100px 130px 100px
}

/* 表单区域 */
.message-form-area {
    flex: 1;
}

/* 标题 */
.message-header {
    display: flex;
    align-items: flex-end;
    margin-bottom: 30px;
}

.message-header .line {
    width: 4px;
    height: 40px;
    background: #931d22;
    margin-right: 10px;
    margin-bottom: 10px;
}

.message-header .title {
    font-size: 40px;
    color: #931d22;
    margin-right: 10px;
}

.message-header .subtitle {
    font-size: 16px;
    color: #252525;
    padding-bottom: 5px; 
}

/* 表单 */
.message-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-item {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    padding: 0 15px;
    height: 80px
}

.form-item label {
    font-size: 20px;
    color: #333;
    width: 100px;
    flex-shrink: 0;
    text-align: left;
    font-weight:normal;
}

.form-item input,
.form-item textarea {
    flex: 1;
    border: none;
    outline: none;
    padding: 15px 0;
    font-size: 13px;
    color: #333;
    background: transparent;
}

.form-item input::placeholder,
.form-item textarea::placeholder {
    color: #999;
}

.form-textarea {
    align-items: flex-start;
    padding: 15px;
    height: 140px;
}

.form-textarea label {
    padding-top: 0;
}

.form-textarea textarea {
    resize: none;
    padding: 0;
    line-height: 1.6;
    margin-top: 8px;
}

/* 提交按钮 */
.submit-btn {
    width: 100%;
    padding: 15px;
    background: #931d22;
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    height: 60px;
}

.submit-btn:hover {
    background: #7a181d;
}

/* 右侧图片 */
.message-image {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-image img {
   width: 630px;
    height: 450px;
    object-fit: cover;
}

/* 响应式 */
@media (max-width: 992px) {
    .message-wrapper {
        flex-direction: column;
    }
    
    .message-image {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .message-wrapper {
        padding: 20px;
    }
    
    .form-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
    
    .form-item label {
        margin-bottom: 10px;
    }
    
    .form-item input,
    .form-item textarea {
        width: 100%;
    }
}

/* 1600px 以下适配 */
@media (max-width: 1600px) {
    body{
        min-width: 1600px;
    }

    .about-page .container {
        width: 1400px !important;
        margin: 0 auto;
    }
}

/* 1440px 以下适配 */
@media (max-width: 1440px) {
    body {
        min-width: 1440px;
    }
    .main-content{
        width: 1440px;
    }
    .about-page .container {
        width: 1280px !important;
        margin: 0 auto;
    }

    .news-content {
        padding: 0;
    }

    .news-title {
        font-size: 24px;
    }

    .news-image-large img {
        width: 368px;
        height: 275px;
        object-fit: cover;
    }

}
