body {
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    box-sizing: border-box;
    color: #333;
}

.header {
    background: linear-gradient(135deg, #6b48ff, #00ddeb);
    color: white;
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header h1 {
    display: flex; align-items: center;justify-content: center;
    margin: 0;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.promo-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto;
}

.promo-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}


.promo-item img {
    width: 100%;
    height: 200px;
}

.promo-item p {
    padding: 15px;
    height: 400px;
    margin: 0;
    font-size: 1.1em;
    line-height: 1.5;
}

.submit-link {
    text-align: center;
    margin: 30px 0;
}

.submit-link a {
    background: #45b7af;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
}

.modal-content {
    background: white;
    margin: 10% auto;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #888;
}

.close:hover {
    color: #333;
}

textarea,
input[type="file"] {
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

button {
    background: #4ecdc4;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #45b7af;
}

.suggestion-box {
    max-width: 1160px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.suggestion-box h2 {
    color: #6b48ff;
    margin-top: 0;
}
.suggestion-box input[type="text"]{outline: none; width: 180px; height: 30px;}
.checkbox {
    margin: 10px 0;
}

.footer {
    background: linear-gradient(135deg, #333, #555);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.footer p {
    margin: 5px 0;
    font-size: 0.9em;
}

.footer a {
    color: #00ddeb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ff6b6b;
}

.box {
    width: 1160px;
    margin: auto;
}

.box h3 {
    border-bottom: 1px solid #6b48ff;
    line-height: 55px;
    color: #6b48ff;
}

a[href="excellent-feedback.html"]:hover {
    background-color: #4CAF50;
    color: white !important; /* 文字变白 */
    transition: all 0.3s; /* 过渡动画，更丝滑 */
}

/* 1. 统一所有标题（宣传栏、反馈公告）的下划线样式 */
h3 {
    position: relative; /* 下划线定位的基础 */
    display: inline-block; /* 下划线宽度跟着文字走，和宣传栏一致 */
    padding-bottom: 5px; /* 文字和下划线的间距，和宣传栏保持一致 */
    /* 下面的颜色可以根据你现有宣传栏的颜色修改，比如你的宣传栏文字是蓝色就改蓝色 */
    color: #333; /* 标题文字颜色（和宣传栏一致即可） */
}

h3::after {
    content: ""; /* 生成下划线的伪元素 */
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%; /* 下划线宽度=文字宽度 */
    height: 2px; /* 下划线厚度（和宣传栏一致，比如宣传栏是2px就用2px） */
    background-color: #6c63ff; /* 下划线颜色（必须和宣传栏的下划线颜色一样！） */
}

/* 2. 修复按钮和标题的对齐问题（避免按钮挡着下划线） */
.title-btn-group {
    align-items: flex-end !important; /* 让标题和按钮底部对齐，下划线不偏移 */
    margin: 15px 0 20px 0 !important; /* 底部留一点间距，避免公告内容贴太紧 */
}

/* 3. 保持按钮不影响标题样式 */
.title-btn-group a {
    margin-left: 10px; /* 按钮和标题的间距，避免挤在一起 */
}

.feedback-image.bookmark {
    width: 200px; /* 核心：缩小到200px宽 */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    margin: 10px 0;
}