/* 组织与招新 v3 —— 更清爽的排版与卡片 */
.org-page {
  padding: 104px 0 84px;
  background:
    radial-gradient(900px 420px at 50% -140px, #e8f0ff 0%, rgba(232, 240, 255, 0) 70%),
    #f7f9fd;
  min-height: 100vh;
}

.org-hero { text-align: center; max-width: 720px; margin: 0 auto 26px; }
.org-hero h1 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.2; letter-spacing: -.02em; margin: 12px 0 14px; }
.org-hero p { color: #66718a; font-size: 15px; line-height: 1.85; margin: 0 auto; max-width: 620px; }
.org-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 26px auto 6px; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid #e6ebf5; box-shadow: 0 6px 18px rgba(28, 48, 88, .05); width: fit-content; }
.org-tab { appearance: none; border: 0; background: transparent; color: #5b667e; font-size: 14px; padding: 9px 18px; border-radius: 999px; cursor: pointer; text-decoration: none; transition: .18s; }
.org-tab:hover { color: #245fcf; background: #f2f6ff; }
.org-tab.active { background: #245fcf; color: #fff; font-weight: 600; box-shadow: 0 6px 16px rgba(36, 95, 207, .25); }

.org-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0; }
.org-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12.5px; color: #7a859b; }
.org-meta strong { color: #245fcf; }
.org-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.org-actions button, .org-actions a { min-height: 38px; padding: 0 15px; border-radius: 10px; border: 1px solid #e2e8f3; background: #fff; color: #38425a; font-size: 13.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; transition: .16s; }
.org-actions button:hover, .org-actions a:hover { border-color: #c9d8f2; background: #f7faff; }
.org-actions button.primary { background: #245fcf; border-color: #245fcf; color: #fff; box-shadow: 0 6px 16px rgba(36, 95, 207, .22); }
.org-actions button.primary:hover { background: #1f54b8; }
.org-actions button.danger { color: #b23b32; border-color: #f4dbd8; }
.org-actions button.danger:hover { background: #fdf2f1; }

.org-spotlight { margin: 4px 0 26px; padding: 20px; border-radius: 20px; border: 1px solid #dce7fb; background: linear-gradient(135deg, #eef4ff 0%, #f8fbff 55%, #fff 100%); }
.org-spotlight-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.org-spotlight-head a { color: #245fcf; font-size: 13px; text-decoration: none; }
.org-spotlight-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.org-spotlight-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; padding: 16px; border-radius: 16px; border: 1px solid #e3ebf8; background: #fff; cursor: pointer; transition: transform .18s, box-shadow .18s; }
.org-spotlight-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(36, 95, 207, .14); }
.org-spotlight-card strong { font-size: 15.5px; color: #17202b; line-height: 1.4; }
.org-spotlight-card small { color: #7a859b; font-size: 12.5px; line-height: 1.7; }
.org-spotlight-card em { color: #245fcf; font-style: normal; font-size: 12px; }

.org-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.org-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid #e8edf6; box-shadow: 0 4px 14px rgba(24, 42, 76, .04); transition: transform .18s, box-shadow .18s, border-color .18s; overflow: hidden; }
.org-card::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: linear-gradient(180deg, #245fcf, #7aa8ff); opacity: 0; transition: opacity .18s; }
.org-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(24, 42, 76, .1); border-color: #d7e3f8; }
.org-card:hover::before { opacity: 1; }
.org-card h3 { font-size: 18px; line-height: 1.35; margin: 2px 0 0; color: #16202e; letter-spacing: -.01em; }
.org-intro { color: #6e7991; font-size: 13.5px; line-height: 1.75; min-height: 46px; margin: 0; }
.org-badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; background: #eef2f9; color: #5a667e; font-size: 11.5px; font-weight: 500; }
.org-badge.ok { background: #e7f7ee; color: #1a7a46; }
.org-badge.pending { background: #fff4e5; color: #a86200; }
.org-badge.bad { background: #fdecea; color: #b23b32; }

.org-detail { padding: 26px; border-radius: 20px; background: #fff; border: 1px solid #e8edf6; box-shadow: 0 6px 20px rgba(24, 42, 76, .05); }
.org-detail h2 { font-size: 22px; margin: 0 0 8px; letter-spacing: -.01em; }
.org-section { margin-top: 24px; padding-top: 20px; border-top: 1px solid #eef1f7; }
.org-section h3 { font-size: 15px; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; color: #1c2738; }
.org-member { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed #eef1f7; font-size: 14px; }
.org-member:last-child { border-bottom: 0; }
.org-member small { color: #8a93a6; font-size: 12px; }
.org-note { color: #8a93a6; font-size: 12.5px; line-height: 1.8; }
.org-vote { margin-top: 10px; padding: 14px 16px; border-radius: 14px; background: #f7f9fe; border: 1px solid #e6ecf7; font-size: 13px; }
.org-preview { margin-top: 12px; padding: 16px; border-radius: 14px; background: #f7f9fe; border: 1px solid #e6ecf7; }
.org-preview p { margin: 6px 0 8px; font-size: 14px; line-height: 1.85; color: #38425a; white-space: pre-wrap; }
.org-form { display: grid; gap: 14px; max-width: 640px; }
.org-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.org-form textarea { min-height: 110px; }
.org-empty { padding: 56px 20px; text-align: center; color: #8a93a6; font-size: 14px; line-height: 1.9; background: #fff; border: 1px dashed #dde5f2; border-radius: 18px; }

@media (max-width: 900px) {
  .org-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}
@media (max-width: 720px) {
  .org-page { padding: 82px 0 60px; }
  .org-grid { grid-template-columns: 1fr; }
  .org-form .row { grid-template-columns: 1fr; }
  .org-tabs { width: 100%; justify-content: flex-start; overflow-x: auto; }
  .org-tab { white-space: nowrap; }
}

/* ── 组织与授权（orgs-center.html）补充：分组标题与紧凑卡头 ── */
.org-group { margin-bottom: 16px; }
.org-group h3 { font-size: 14px; margin: 0 0 8px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.org-group h3::before { content: ""; width: 3px; height: 13px; background: var(--blue); border-radius: 2px; }
.org-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.org-card-head strong { font-size: 14.5px; }
.org-form label { display: grid; gap: 6px; font-size: 13px; }
.org-form input, .org-form select, .org-form textarea { padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 10px; font-size: 13.5px; font-family: inherit; }
