/* 全局通用样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    color: #2c3e50;
    background: #f5f7fa;
    line-height: 1.6;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 16px;
}

/* 顶部导航 */
.site-header {
    background: #1f6f54;
    color: #fff;
}

/* 导航上方运营方小字条 */
.topbar {
    background: #175a44;
}

.topbar-inner {
    display: flex;
    justify-content: flex-end;
    padding-top: 7px;
    padding-bottom: 7px;
}

.topbar-text {
    font-size: 12px;
    color: #cfe9dd;
    letter-spacing: 0.5px;
}

@media (max-width: 600px) {
    .topbar-inner {
        justify-content: center;
    }
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 14px 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.logo-img {
    height: 42px;
    width: 42px;
    object-fit: contain;
}

.nav-menu a {
    color: #eafaf3;
    text-decoration: none;
    margin-left: 18px;
    font-size: 15px;
}

.nav-menu a:hover,
.nav-menu a.active {
    text-decoration: underline;
    font-weight: 600;
}

.nav-menu a.active {
    color: #fff;
}

/* 主体 */
.site-main {
    min-height: 60vh;
    padding: 32px 16px;
}

.hero {
    text-align: center;
    padding: 40px 16px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 28px;
    margin-bottom: 12px;
}

.hero-logo {
    height: 120px;
    width: 120px;
    object-fit: contain;
    margin-bottom: 18px;
}

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    color: #6b7c8a;
    margin-bottom: 16px;
}

.btn {
    display: inline-block;
    background: #1f6f54;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}

.btn:hover {
    background: #175a44;
}

/* 底部 */
.site-footer {
    background: #2c3e50;
    color: #cfd8dc;
    text-align: center;
    padding: 20px 16px;
    font-size: 13px;
}

/* ===== 组织架构页 ===== */
.org-hero {
    text-align: center;
    padding: 36px 16px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 28px;
}

.org-hero h1 {
    font-size: 26px;
    margin-bottom: 8px;
}

.org-hero p {
    color: #6b7c8a;
    font-size: 15px;
}

.org-section {
    margin-bottom: 28px;
}

.org-title {
    font-size: 19px;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 4px solid #1f6f54;
}

/* 主席团卡片 */
.presidium-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.person-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.presidium-card {
    grid-column: span 3;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* 主席团第二行：三位中心主任（主席团成员兼任） */
.presidium-card--center {
    grid-column: span 2;
    align-items: flex-start;
}

.presidium-card--center .person-post {
    font-size: 13px;
    line-height: 1.6;
}

.person-info {
    min-width: 0;
}

.person-avatar {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #1f6f54;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.person-name {
    font-size: 17px;
    font-weight: bold;
    color: #2c3e50;
}

.person-post {
    font-size: 14px;
    color: #1f6f54;
    margin: 2px 0;
}

.person-meta {
    font-size: 12px;
    color: #8a9aa5;
}

/* 三大中心 */
.centers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    align-items: start;
}

.center-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.center-head {
    background: linear-gradient(135deg, #f0915a, #e87a3d);
    color: #fff;
    padding: 18px 20px;
}

.center-name {
    font-size: 18px;
    font-weight: bold;
}

.head-person {
    margin-top: 6px;
    font-size: 14px;
    opacity: 0.95;
}

.head-name {
    font-weight: bold;
    margin-right: 8px;
}

.dept {
    padding: 16px 20px;
    border-top: 1px solid #eef2f4;
}

.dept-name {
    font-size: 15px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 12px;
}

.dept-members {
    display: grid;
    gap: 10px;
}

.dept-card {
    padding: 12px 14px;
    border: 1px solid #eef2f4;
    border-left: 3px solid #cfd8dc;
}

.dept-card.leader {
    border-left-color: #1f6f54;
    background: #f3f9f6;
}

.dept-card-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.dept-card .person-post {
    font-size: 13px;
}

/* ===== 会员登记表单 ===== */
.form-page {
    max-width: 860px;
    margin: 0 auto;
}

.form-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 26px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* 顶部保密提示条（内嵌于卡片） */
.privacy-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #eef6f2;
    border: 1px solid #cfe7db;
    color: #2b6b52;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.privacy-icon {
    flex-shrink: 0;
    font-size: 15px;
    line-height: 1.6;
}

/* 主标题 */
.form-title {
    font-size: 26px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 22px;
}

.form-alert {
    background: #fdecea;
    color: #c0392b;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-size: 14px;
}

/* 分组 */
.form-group {
    margin-bottom: 26px;
}

.group-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f6f54;
    margin-bottom: 16px;
    padding-left: 10px;
    border-left: 3px solid #1f6f54;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 64px;
    row-gap: 22px;
}

.form-field-full {
    grid-column: span 2;
}

/* 通栏字段：与两列表单保持同一标签宽度，内容左端对齐 */
.form-grid .form-field-full > label {
    flex: 0 0 128px;
    width: 128px;
}

.form-field {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    gap: 12px;
}

.form-field > label {
    flex: 0 0 128px;
    width: 128px;
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 0;
    padding-top: 10px;
    white-space: nowrap;
    text-align: right;
    padding-right: 2px;
}

.req {
    color: #c0392b;
    margin-left: 3px;
}

.form-field input[type="text"],
.form-field input[type="number"],
.form-field textarea {
    flex: 1;
    min-width: 0;
    width: auto;
    padding: 10px 12px;
    border: 1px solid #d5dde1;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    color: #2c3e50;
    font-family: inherit;
}

.form-field textarea {
    resize: vertical;
    min-height: 44px;
    line-height: 1.6;
}

.form-field input::placeholder {
    color: #9aa7b0;
    font-size: 13px;
}

.form-field input:focus {
    outline: none;
    border-color: #1f6f54;
}

.radio-group {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding-top: 10px;
}

.radio-group ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding: 0;
    margin: 0;
}

/* Django 默认把单选项包成 div，改为横向排列，短选项并排显示 */
.radio-group > div > div {
    display: inline-flex;
    margin: 0 18px 8px 0;
}

.radio-group label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: normal;
    margin-bottom: 0;
    cursor: pointer;
    color: #2c3e50;
}

.field-error {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    color: #c0392b;
    font-size: 13px;
    line-height: 1.5;
    margin: 2px 0 0 142px;
    white-space: normal;
}

.form-actions {
    margin-top: 28px;
}

.btn-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 8px;
    background: #1f6f54;
    color: #fff;
    transition: background 0.2s ease, transform 0.1s ease;
}

.btn-submit:hover {
    background: #175a44;
}

.btn-submit:active {
    transform: scale(0.99);
}

.btn-submit:disabled {
    background: #9aa7b0;
    cursor: not-allowed;
}

/* 提交成功页 */
.success-box {
    background: #fff;
    border-radius: 12px;
    padding: 60px 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #1f6f54;
    color: #fff;
    font-size: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-box h1 {
    font-size: 24px;
    margin-bottom: 12px;
}

.success-box p {
    color: #6b7c8a;
    margin-bottom: 24px;
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-field-full {
        grid-column: span 1;
    }

    .form-field {
        flex-direction: column;
        gap: 8px;
    }

    .form-field > label {
        flex: none;
        width: auto;
        padding-top: 0;
        padding-right: 0;
        text-align: left;
    }

    .field-error {
        margin-left: 0;
    }
}

/* 组织架构空状态提示 */
.org-empty {
    color: #8a9aa5;
    font-size: 14px;
    padding: 12px 4px;
}

/* ===== 全站框架升级（参考学联门户结构） ===== */

/* 顶部导航：适配 7 个入口 */
.topbar-inner {
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.topbar-sub {
    color: #9fd2bd;
}

.nav-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.nav-menu a {
    margin-left: 0;
    font-size: 14px;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a.active {
    text-decoration: none;
    border-bottom-color: #ffd97d;
    color: #fff;
    font-weight: 600;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    font-size: 19px;
}

.logo-sub {
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 2px;
    color: #cfe9dd;
}

/* 通用页头 */
.page-hero {
    background: #fff;
    border-radius: 12px;
    padding: 30px 24px;
    margin-bottom: 20px;
    border-left: 6px solid #1f6f54;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-hero h1 {
    font-size: 26px;
    color: #21313c;
    margin-bottom: 6px;
}

.page-hero p {
    color: #6b7c8a;
    font-size: 14px;
}

/* 面包屑 */
.crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: #8a9aa5;
    margin-bottom: 16px;
}

.crumb a {
    color: #1f6f54;
    text-decoration: none;
}

.crumb a:hover {
    text-decoration: underline;
}

.crumb-current {
    color: #6b7c8a;
}

/* 标签 */
.tag {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 4px;
    font-size: 12px;
    background: #eef6f2;
    color: #1f6f54;
}

.tag-pin {
    background: #fdeceb;
    color: #c0392b;
}

/* 空状态 */
.empty-box {
    background: #fff;
    border-radius: 12px;
    padding: 48px 24px;
    text-align: center;
    color: #6b7c8a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.empty-box p {
    margin-bottom: 8px;
}

.empty-hint {
    font-size: 13px;
    color: #9aa7b0;
}

.home-empty {
    color: #8a9aa5;
    font-size: 14px;
    padding: 12px 4px;
    list-style: none;
}

/* 分页 */
.pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.pager-link {
    padding: 7px 16px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #d5dde1;
    color: #1f6f54;
    font-size: 14px;
    text-decoration: none;
}

.pager-link:hover {
    background: #eef6f2;
    border-color: #1f6f54;
}

.pager-info {
    font-size: 13px;
    color: #6b7c8a;
}

/* 资讯列表 */
.news-list {
    display: grid;
    gap: 14px;
}

.news-item {
    display: flex;
    gap: 18px;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(31, 111, 84, 0.12);
}

.news-thumb {
    flex: 0 0 168px;
    height: 108px;
    border-radius: 10px;
    overflow: hidden;
    background: #eef6f2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-fallback {
    font-size: 15px;
    font-weight: 600;
    color: #1f6f54;
    letter-spacing: 2px;
}

.news-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #8a9aa5;
}

.news-title {
    font-size: 17px;
    font-weight: 600;
    color: #21313c;
    line-height: 1.45;
}

.news-summary {
    font-size: 13px;
    color: #6b7c8a;
    line-height: 1.6;
}

/* 文章 / 活动详情 */
.article-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 30px 36px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.article-title {
    font-size: 26px;
    line-height: 1.4;
    color: #21313c;
    margin-bottom: 12px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: #8a9aa5;
    padding-bottom: 18px;
    border-bottom: 1px solid #eef2f4;
    margin-bottom: 22px;
}

.article-cover {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 22px;
}

.article-lead {
    font-size: 15px;
    color: #1f6f54;
    background: #eef6f2;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 18px;
    line-height: 1.7;
}

.article-content {
    font-size: 15px;
    line-height: 1.9;
    color: #33424e;
}

.article-content p {
    margin-bottom: 14px;
}

.related-block {
    margin-top: 24px;
    background: #fff;
    border-radius: 12px;
    padding: 24px 26px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.block-title {
    font-size: 18px;
    color: #21313c;
    padding-left: 10px;
    border-left: 4px solid #1f6f54;
    margin-bottom: 14px;
}

.related-list {
    list-style: none;
    display: grid;
    gap: 10px;
}

.related-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eef2f4;
}

.related-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-list a {
    color: #33424e;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-list a:hover {
    color: #1f6f54;
}

.related-list span {
    flex: 0 0 auto;
    color: #9aa7b0;
    font-size: 12px;
}

.back-row {
    margin-top: 20px;
}

.btn-outline {
    background: transparent;
    border: 1px solid #1f6f54;
    color: #1f6f54;
}

.btn-outline:hover {
    background: #1f6f54;
    color: #fff;
}

/* 活动列表 */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.activity-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    display: flex;
    flex-direction: column;
}

.activity-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(31, 111, 84, 0.14);
}

.activity-cover {
    height: 170px;
    background: linear-gradient(135deg, #2f8a68, #1f6f54);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.activity-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover-fallback {
    font-size: 30px;
    line-height: 1;
}

.activity-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.activity-title {
    font-size: 16px;
    font-weight: 600;
    color: #21313c;
    line-height: 1.5;
}

.activity-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    color: #8a9aa5;
}

.activity-summary {
    font-size: 13px;
    color: #6b7c8a;
    line-height: 1.6;
}

/* 武隆风采 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.gallery-item {
    margin: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-item figcaption {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.gallery-title {
    font-size: 15px;
    font-weight: 600;
    color: #21313c;
}

.gallery-desc {
    font-size: 13px;
    color: #6b7c8a;
}

.gallery-author {
    font-size: 12px;
    color: #9aa7b0;
}

/* 关于学联 */
.about-hero {
    display: flex;
    align-items: center;
    gap: 26px;
    background: linear-gradient(120deg, #1f6f54, #2f8a68);
    color: #fff;
    border-radius: 14px;
    padding: 36px 32px;
    margin-bottom: 24px;
}

.about-logo {
    width: 92px;
    height: 92px;
    object-fit: contain;
    background: transparent;
    padding: 0;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
}

.about-hero-text h1 {
    font-size: 27px;
    margin-bottom: 8px;
}

.about-hero-text p {
    color: #dff2e9;
    font-size: 14px;
}

.about-section {
    background: #fff;
    border-radius: 12px;
    padding: 26px 28px;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.about-section p {
    font-size: 15px;
    line-height: 1.9;
    color: #33424e;
    margin-bottom: 12px;
}

.duty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 6px;
}

.duty-card {
    background: #f6fbf8;
    border: 1px solid #e2f0e9;
    border-radius: 10px;
    padding: 18px;
}

.duty-card h3 {
    font-size: 15px;
    color: #1f6f54;
    margin-bottom: 8px;
}

.duty-card p {
    font-size: 13px;
    color: #5c6c78;
    line-height: 1.7;
    margin: 0;
}

.contact-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.contact-list li {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: #33424e;
    padding-bottom: 12px;
    border-bottom: 1px dashed #eef2f4;
}

.contact-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-list span {
    flex: 0 0 90px;
    color: #8a9aa5;
}

.contact-list a {
    color: #1f6f54;
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}

.about-note {
    font-size: 12px;
    color: #9aa7b0;
    margin-top: 14px;
}

/* 关于学联：基本信息 / 工作内容 / 中心职责 */
.about-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0 28px;
    margin-top: 18px;
    border-top: 1px solid #eef2f4;
}

.about-facts .fact {
    display: flex;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #f2f5f7;
    font-size: 14px;
    line-height: 1.6;
}

.about-facts dt {
    flex: 0 0 76px;
    color: #8a9aa5;
    font-size: 13px;
}

.about-facts dd {
    color: #1f3a33;
    font-weight: 500;
}

.work-list {
    list-style: none;
    counter-reset: none;
    display: grid;
    gap: 14px;
    margin-top: 6px;
}

.work-list li {
    display: flex;
    gap: 16px;
    background: #f7faf9;
    border-left: 3px solid #2f8a68;
    border-radius: 8px;
    padding: 16px 20px;
}

.work-no {
    flex: 0 0 34px;
    font-size: 18px;
    font-weight: 700;
    color: #b7d9c9;
    line-height: 1.4;
}

.work-list h3 {
    font-size: 15px;
    color: #1f6f54;
    margin-bottom: 6px;
}

.work-list p {
    font-size: 13.5px;
    color: #55636e;
    line-height: 1.8;
    margin: 0;
}

.brief {
    border: 1px solid #e6efe9;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 14px;
    background: #fcfefd;
}

.brief h3 {
    font-size: 16px;
    color: #175a44;
    margin-bottom: 8px;
    padding-left: 10px;
    border-left: 3px solid #2f8a68;
}

.brief p {
    font-size: 13.5px;
    color: #55636e;
    line-height: 1.85;
    margin-bottom: 10px;
}

.brief-depts {
    list-style: none;
    display: grid;
    gap: 8px;
}

.brief-depts li {
    font-size: 13px;
    color: #55636e;
    line-height: 1.75;
    background: #f4f9f7;
    border-radius: 6px;
    padding: 10px 14px;
}

.brief-depts strong {
    display: inline-block;
    min-width: 74px;
    color: #1f6f54;
    margin-right: 6px;
}

/* 首页：主视觉 */
.home-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background:
        radial-gradient(circle at 86% 14%, rgba(255, 255, 255, 0.10), transparent 40%),
        linear-gradient(120deg, #175a44 0%, #1f6f54 55%, #2f8a68 100%);
    color: #fff;
    border-radius: 16px;
    padding: 54px 52px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.home-hero::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.home-hero-text {
    position: relative;
    z-index: 1;
    max-width: 660px;
}

.hero-kicker {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 2px;
    color: #cfe9dd;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    padding: 3px 12px;
    margin-bottom: 14px;
}

.home-hero h1 {
    font-size: 40px;
    line-height: 1.3;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.hero-slogan {
    font-size: 16px;
    color: #dff2e9;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.hero-desc {
    font-size: 14px;
    line-height: 1.9;
    color: rgba(226, 244, 235, 0.82);
    max-width: 520px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-actions .btn {
    padding: 11px 26px;
    font-size: 15px;
}

.btn-light {
    background: #ffd97d;
    color: #175a44;
    font-weight: 600;
}

.btn-light:hover {
    background: #ffcd52;
    color: #175a44;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.26);
}

/* 首页：主视觉右侧宗旨文字 */
.hero-seal {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    text-align: right;
    padding-left: 34px;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-seal span {
    display: block;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.75;
    letter-spacing: 8px;
    color: rgba(255, 255, 255, 0.62);
}

/* 首页：学联简介 */
.home-intro {
    display: flex;
    align-items: center;
    gap: 28px;
    background: #fff;
    border-radius: 12px;
    padding: 26px 28px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.home-intro-text {
    flex: 1;
    min-width: 0;
}

.home-intro-text h2 {
    font-size: 18px;
    color: #21313c;
    padding-left: 10px;
    border-left: 4px solid #1f6f54;
    margin-bottom: 10px;
}

.home-intro-text p {
    font-size: 14px;
    color: #5c6c78;
    line-height: 1.85;
}

.home-intro-stats {
    display: flex;
    gap: 22px;
    flex-shrink: 0;
}

.stat {
    text-align: center;
    min-width: 66px;
}

.stat strong {
    display: block;
    font-size: 22px;
    color: #1f6f54;
    line-height: 1.2;
}

.stat span {
    font-size: 12px;
    color: #8a9aa5;
}

/* 首页：动态与活动双栏 */
.home-columns {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
    align-items: start;
}

.panel {
    background: #fff;
    border-radius: 12px;
    padding: 20px 22px 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.panel-head h2 {
    font-size: 17px;
    color: #21313c;
    padding-left: 10px;
    border-left: 4px solid #1f6f54;
}

.more-link {
    font-size: 13px;
    color: #8a9aa5;
    text-decoration: none;
}

.more-link:hover {
    color: #1f6f54;
}

.home-news {
    list-style: none;
    display: grid;
    gap: 2px;
}

.home-news li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 6px;
    border-bottom: 1px dashed #eef2f4;
    text-decoration: none;
    color: #33424e;
}

.home-news li a:hover .news-text {
    color: #1f6f54;
}

.news-dot {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #a9c9bd;
}

.news-text {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-time {
    flex-shrink: 0;
    font-size: 12px;
    color: #9aa7b0;
}

.home-activities {
    display: grid;
    gap: 10px;
}

.home-act {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    padding: 8px;
    border-radius: 10px;
}

.home-act:hover {
    background: #f6fbf8;
}

.home-act-cover {
    flex: 0 0 108px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #2f8a68, #1f6f54);
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-act-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-act-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.home-act-title {
    font-size: 14px;
    font-weight: 600;
    color: #21313c;
    line-height: 1.45;
}

.home-act-meta {
    font-size: 12px;
    color: #8a9aa5;
}

/* 首页：快捷入口 */
.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.quick-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-top: 3px solid transparent;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.quick-card:hover {
    border-top-color: #1f6f54;
    transform: translateY(-2px);
}

.quick-icon {
    font-size: 22px;
    display: inline-block;
    margin-bottom: 8px;
}

.quick-card h3 {
    font-size: 15px;
    color: #21313c;
    margin-bottom: 4px;
}

.quick-card p {
    font-size: 13px;
    color: #6b7c8a;
}

/* 首页：风采预览 */
.home-gallery {
    background: #fff;
    border-radius: 12px;
    padding: 20px 22px 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.home-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.home-gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.home-gallery-item img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
}

.home-gallery-item span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 10px 8px;
    font-size: 12px;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}

/* 底部：品牌与导航 */
.site-footer {
    background: #21313c;
    color: #cfd8dc;
    text-align: left;
    padding: 32px 16px 0;
    font-size: 13px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 3px;
}

.footer-name {
    font-size: 15px;
    color: #fff;
    font-weight: 600;
}

.footer-slogan {
    font-size: 12px;
    color: #9fb0bb;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.footer-links a {
    color: #cfd8dc;
    text-decoration: none;
    font-size: 13px;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    padding: 14px 0;
}

.footer-bottom p {
    color: #8a9aa5;
    font-size: 12px;
    text-align: center;
}

/* 响应式 */
@media (max-width: 900px) {
    .home-columns {
        grid-template-columns: 1fr;
    }

    .home-intro {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-seal {
        display: none;
    }

    .home-hero {
        padding: 40px 32px;
    }

    .presidium-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .presidium-card {
        grid-column: auto;
    }

    .presidium-card--center {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .home-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 24px;
    }

    .home-hero h1 {
        font-size: 26px;
    }

    .hero-slogan {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .hero-desc {
        font-size: 13px;
        margin-bottom: 22px;
    }

    .presidium-grid {
        grid-template-columns: 1fr;
    }

    .presidium-card--center {
        grid-column: auto;
    }

    .about-hero {
        flex-direction: column;
        text-align: center;
    }

    .about-hero-text h1 {
        font-size: 20px;
    }

    .news-item {
        flex-direction: column;
    }

    .news-thumb {
        flex: none;
        width: 100%;
        height: 150px;
    }

    .article-card {
        padding: 22px 18px 26px;
    }

    .article-title {
        font-size: 21px;
    }

    .contact-list span {
        flex-basis: 72px;
    }

    .topbar-sub {
        display: none;
    }

    .nav-menu {
        gap: 4px 12px;
    }

    .nav-menu a {
        font-size: 13px;
    }
}


/* ===== 全站优化：无障碍、搜索与错误页 ===== */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: #175a44;
    color: #fff;
    padding: 10px 18px;
    border-radius: 0 0 8px 0;
    font-size: 13px;
    text-decoration: none;
}

.skip-link:focus {
    left: 0;
}

/* 资讯搜索 */
.search-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.search-bar input[type="text"] {
    flex: 1;
    min-width: 220px;
    padding: 10px 14px;
    border: 1px solid #d5dde1;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: #2c3e50;
}

.search-bar input[type="text"]:focus {
    outline: none;
    border-color: #1f6f54;
    box-shadow: 0 0 0 2px rgba(31, 111, 84, 0.12);
}

.search-bar .btn {
    border: none;
    cursor: pointer;
    padding: 10px 22px;
}

.search-reset {
    font-size: 13px;
    color: #8a9aa5;
    text-decoration: none;
}

.search-reset:hover {
    color: #1f6f54;
}

.search-result {
    font-size: 13px;
    color: #6b7c8a;
    margin-bottom: 12px;
}

.empty-hint a {
    color: #1f6f54;
}

/* 描边按钮 */
.btn-outline {
    background: #fff;
    color: #1f6f54;
    border: 1px solid #cfe3d9;
}

.btn-outline:hover {
    background: #f2f8f5;
}

/* 404 / 500 */
.error-page {
    background: #fff;
    border-radius: 12px;
    padding: 64px 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.error-code {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 4px;
    line-height: 1;
    color: #e6efe9;
}

.error-page h1 {
    font-size: 22px;
    color: #21313c;
    margin: 12px 0 12px;
}

.error-page p {
    max-width: 560px;
    margin: 0 auto 26px;
    font-size: 14px;
    line-height: 1.9;
    color: #6b7c8a;
}

.error-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .error-page {
        padding: 46px 20px;
    }

    .error-code {
        font-size: 44px;
    }
}
