/* =====================================================================
   贵州财经大学学生工作部、学生处 首页
   ===================================================================== */
:root {
  --red: #b81c22;
  --red-d: #8e1417;
  --red-dd: #5e0d0f;
  --gold: #d7b25a;
  --gold-l: #ecd9a3;
  --gold-d: #b8923a;
  --ink: #1f1c1a;
  --muted: #6f6a64;
  --paper: #f4f0e8;
  --card: #ffffff;
  --line: #e6ded0;
  --line-2: #efe8db;
  --shadow: 0 10px 30px rgba(94, 13, 15, 0.1);
  --date: #8a8278;
  --nav-h: 48px;
  --wrap: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Source Han Sans CN", "Hiragino Sans GB", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  background: var(--red-dd);
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--red-dd);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--red);
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: var(--wrap);
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

/* ---------- 顶栏：社区 util 深红 ---------- */
.topbar {
  height: 34px;
  background: var(--red-dd);
  color: #f3e7d8;
  font-size: 13px;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 200;
  flex-shrink: 0;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-site {
  opacity: 0.92;
  margin-right: 6px;
}

.topbar-links a {
  color: #f3e7d8;
  opacity: 0.92;
}

.topbar-links a:hover {
  color: #fff;
  opacity: 1;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search {
  display: flex;
  height: 26px;
  background: #fffdf9;
  border: 1px solid rgba(236, 214, 184, 0.45);
  border-radius: 8px;
  overflow: hidden;
}

.search input[type="text"],
.search input[type="search"] {
  width: 160px;
  height: 26px;
  border: 0;
  padding: 0 10px;
  font-size: 13px;
  outline: none;
  background: transparent;
  font-family: var(--font);
  color: var(--ink);
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}

.search button,
.search input[type="submit"],
.search .search-btn {
  width: 52px;
  height: 26px;
  border: 0;
  margin: 0;
  padding: 0;
  background: var(--red);
  color: #fff !important;
  cursor: pointer;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
  text-decoration: none;
  -ms-flex: 0 0 52px;
  flex: 0 0 52px;
  box-sizing: border-box;
}

.search button:hover,
.search input[type="submit"]:hover,
.search .search-btn:hover {
  background: var(--red-d);
  color: #fff !important;
}

.mail-link {
  color: var(--gold-l) !important;
  font-weight: 700;
}

/* ---------- 品牌头（下滑后收起，不占吸顶高度） ---------- */
.banner {
  height: 86px;
  background: var(--card);
  border-bottom: 3px solid var(--red);
  box-shadow: 0 2px 10px rgba(94, 13, 15, 0.06);
  overflow: hidden;
  width: 100%;
  flex-shrink: 0;
}

.banner .wrap {
  height: 100%;
  display: flex;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.emblem {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand-text .en {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.brand-text h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--red-d);
}

.brand-text h1 span {
  margin-left: 10px;
  padding-left: 10px;
  border-left: 2px solid var(--gold);
  font-size: 15px;
  color: var(--ink);
}

.banner-side {
  display: none;
}

/* ---------- 导航：酒红 + 圆角悬停（吸顶，紧贴顶栏） ---------- */
.nav {
  background: var(--red);
  height: var(--nav-h);
  width: 100%;
  box-shadow: 0 6px 16px rgba(184, 28, 34, 0.2);
  position: sticky;
  top: 34px;
  z-index: 198;
  flex-shrink: 0;
}

.nav .wrap {
  display: flex;
  height: 100%;
}

.nav-item {
  position: relative;
  flex: 1;
}

.nav-item > a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--nav-h);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 0 4px;
  white-space: nowrap;
}

.nav-item > a:hover,
.nav-item.active > a,
.nav-item:hover > a {
  background: var(--red-d);
  color: #fff;
}

.dropdown {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--nav-h);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0 0 12px 12px;
  box-shadow: var(--shadow);
  z-index: 210;
  padding: 8px;
}

.nav-item:hover .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 9px 12px;
  font-size: 13.5px;
  color: #3b352f;
  text-align: center;
  border-radius: 9px;
  font-weight: 600;
}

.dropdown a:hover {
  background: #faf4ea;
  color: var(--red);
}

/* ---------- 通用区块标题 / 更多 ---------- */
.sec-title {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 2px solid var(--red);
}

.sec-title-out {
  border-bottom: 0;
  padding: 0;
  margin-bottom: 14px;
  height: auto;
  min-height: 36px;
}

.sec-title h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--red-d);
}

.sec-title h2::before {
  content: "";
  width: 3px;
  height: 16px;
  background: var(--gold);
  border-radius: 3px;
}

.more-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--red);
  color: #fff !important;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(184, 28, 34, 0.25);
  flex-shrink: 0;
}

.more-btn:hover {
  background: var(--red-d);
  color: #fff !important;
}

.block {
  background: var(--card);
  min-width: 0;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.block-pad {
  padding: 0 0 12px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.list {
  margin: 0;
  padding: 8px 16px 12px;
  list-style: none;
}

.list li a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  align-items: center;
  height: 38px;
  border-bottom: 1px dashed var(--line-2);
  color: #3b352f;
  gap: 8px;
  font-weight: 500;
}

.list li:last-child a {
  border-bottom: 0;
}

.list li a:hover {
  color: var(--red);
}

.list .t {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  min-width: 0;
}

.list .d {
  color: var(--date);
  font-size: 12px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.list-rules li a {
  grid-template-columns: auto minmax(0, 1fr) 56px;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}

.tag-in {
  background: #f6e6cd;
  color: var(--red-d);
}

.tag-out {
  background: #e8f0ea;
  color: #2c7a4b;
}

/* ---------- 全宽 Hero ---------- */
.hero-slider {
  position: relative;
  width: 100%;
  height: clamp(380px, 42vw, 520px);
  overflow: hidden;
  background: var(--red-dd);
  flex-shrink: 0;
}

.hero-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 1;
  overflow: hidden;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
}

/* 任意比例图片：铺满裁切，不拉伸变形 */
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-slide:not(.hero-text-slide)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(94, 13, 15, 0.28), rgba(94, 13, 15, 0.06));
  pointer-events: none;
}

/* 文字海报页（欢迎 / 国庆） */
.hero-text-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-welcome {
  background:
    linear-gradient(180deg, rgba(94, 13, 15, 0.15), transparent 40%),
    radial-gradient(ellipse at 18% 28%, rgba(236, 217, 163, 0.45), transparent 42%),
    radial-gradient(ellipse at 82% 72%, rgba(184, 28, 34, 0.55), transparent 48%),
    linear-gradient(135deg, #3a080a 0%, #8e1417 28%, #b81c22 55%, #6d1014 100%);
}

.hero-national {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(215, 178, 90, 0.35), transparent 45%),
    radial-gradient(ellipse at 10% 90%, rgba(94, 13, 15, 0.6), transparent 40%),
    radial-gradient(ellipse at 90% 85%, rgba(94, 13, 15, 0.55), transparent 40%),
    linear-gradient(155deg, #6a0f12 0%, #b81c22 38%, #8e1417 68%, #4a0a0c 100%);
}

.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.deco-orb {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(236, 217, 163, 0.35);
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.18), transparent 55%);
}

.deco-orb.o1 {
  width: 220px;
  height: 220px;
  left: -60px;
  top: -40px;
}

.deco-orb.o2 {
  width: 160px;
  height: 160px;
  right: 8%;
  bottom: 12%;
  border-color: rgba(215, 178, 90, 0.28);
}

.deco-orb.o3 {
  width: 90px;
  height: 90px;
  left: 18%;
  bottom: 18%;
  opacity: 0.7;
}

.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(215, 178, 90, 0.22);
}

.deco-ring.r1 {
  width: 340px;
  height: 340px;
  right: -80px;
  top: -100px;
}

.deco-ring.r2 {
  width: 180px;
  height: 180px;
  left: 6%;
  top: 55%;
  border-style: dashed;
}

.deco-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236, 217, 163, 0.55), transparent);
}

.deco-line.l1 {
  width: 28%;
  left: 4%;
  top: 22%;
}

.deco-line.l2 {
  width: 24%;
  right: 5%;
  bottom: 26%;
}

.deco-star {
  position: absolute;
  width: 0;
  height: 0;
  color: var(--gold-l);
  filter: drop-shadow(0 0 6px rgba(215, 178, 90, 0.55));
}

.deco-star::before {
  content: "★";
  font-size: 18px;
  color: var(--gold-l);
}

.deco-star.s1 { left: 12%; top: 18%; }
.deco-star.s1::before { font-size: 28px; }
.deco-star.s2 { left: 22%; top: 68%; opacity: 0.75; }
.deco-star.s2::before { font-size: 14px; }
.deco-star.s3 { right: 16%; top: 22%; }
.deco-star.s3::before { font-size: 22px; }
.deco-star.s4 { right: 10%; top: 58%; opacity: 0.85; }
.deco-star.s4::before { font-size: 16px; }
.deco-star.s5 { left: 48%; top: 12%; opacity: 0.7; }
.deco-star.s5::before { font-size: 12px; }

.deco-lantern {
  position: absolute;
  width: 36px;
  height: 48px;
  background: linear-gradient(180deg, #ecd9a3, #b81c22 35%, #8e1417 70%, #5e0d0f);
  border-radius: 18px / 22px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), inset 0 0 0 2px rgba(236, 217, 163, 0.35);
}

.deco-lantern::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -10px;
  width: 2px;
  height: 12px;
  margin-left: -1px;
  background: var(--gold-l);
}

.deco-lantern::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--gold);
}

.deco-lantern.ln1 {
  left: 8%;
  top: 28%;
}

.deco-lantern.ln2 {
  right: 9%;
  top: 30%;
  transform: scale(0.9);
}

.deco-ribbon {
  position: absolute;
  width: 140px;
  height: 140px;
  border: 3px solid rgba(215, 178, 90, 0.28);
  border-radius: 12px;
  transform: rotate(18deg);
}

.deco-ribbon.rb1 {
  left: -30px;
  bottom: -20px;
}

.deco-ribbon.rb2 {
  right: -36px;
  top: -24px;
  transform: rotate(-16deg);
  width: 120px;
  height: 120px;
}

.hero-text-box {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 48px));
  max-width: none;
  padding: 0 12px;
}

.hero-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto;
  width: min(640px, 70%);
}

.hero-ornament.top {
  margin-bottom: 22px;
}

.hero-ornament.bot {
  margin-top: 28px;
}

.hero-ornament i {
  display: block;
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-l), transparent);
  font-style: normal;
}

.hero-ornament i:nth-child(2) {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(215, 178, 90, 0.22);
}

.hero-kicker {
  margin: 0 0 18px;
  font-size: clamp(16px, 2vw, 22px);
  letter-spacing: 0.45em;
  color: var(--gold-l);
  font-weight: 700;
  text-indent: 0.45em;
}

.hero-text-box h2 {
  margin: 0;
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.12em;
  line-height: 1.15;
  text-indent: 0.12em;
  white-space: nowrap;
  text-shadow:
    0 3px 0 rgba(94, 13, 15, 0.4),
    0 14px 40px rgba(0, 0, 0, 0.4);
}

.hero-divider {
  margin: 20px 0 8px;
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 0.5em;
  opacity: 0.95;
}

.hero-sub {
  margin: 14px 0 0;
  font-size: clamp(18px, 2.4vw, 28px);
  color: #f3e7d8;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
}

.hero-extra {
  margin: 16px 0 0;
  font-size: clamp(13px, 1.4vw, 16px);
  color: rgba(236, 217, 163, 0.9);
  letter-spacing: 0.35em;
  font-weight: 600;
  text-indent: 0.35em;
}

.hero-btn,
a.hero-btn,
button.hero-btn {
  position: absolute !important;
  top: 50% !important;
  margin-top: -24px !important;
  width: 42px !important;
  height: 48px !important;
  line-height: 48px !important;
  text-align: center !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: rgba(31, 28, 26, 0.45) !important;
  color: #ffffff !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  cursor: pointer !important;
  z-index: 5 !important;
  padding: 0 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  display: block !important;
  overflow: visible !important;
  opacity: 0 !important;
  filter: alpha(opacity=0);
}

.hero-slider:hover .hero-btn,
.hero-slider:hover a.hero-btn,
.hero-btn:focus,
a.hero-btn:focus {
  opacity: 1 !important;
  filter: alpha(opacity=100);
}

.hero-prev,
a.hero-prev,
button.hero-prev {
  left: 24px !important;
}

.hero-next,
a.hero-next,
button.hero-next {
  right: 24px !important;
}

a.hero-btn:link,
a.hero-btn:visited,
a.hero-btn:hover,
a.hero-btn:active {
  color: #ffffff !important;
  text-decoration: none !important;
}

.hero-btn:hover,
a.hero-btn:hover {
  background: rgba(184, 28, 34, 0.85) !important;
}

.hero-btn img,
a.hero-btn img {
  display: block !important;
  width: 14px !important;
  height: 18px !important;
  margin: 15px auto 0 !important;
  border: 0 !important;
  padding: 0 !important;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 5;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.hero-dots button.is-on {
  background: var(--gold);
  width: 22px;
  border-radius: 6px;
}

/* ---------- 主区 ---------- */
.main-scu {
  flex: 1 0 auto;
  padding: 0 0 40px;
  background: var(--paper);
}

.info-band {
  background: linear-gradient(180deg, #f8f1e6 0%, var(--paper) 100%);
  padding: 28px 0 32px;
}

.info-tabs {
  margin: 0 0 14px;
  padding: 0;
  font-size: 0;
  text-align: center;
}

.info-tab {
  display: inline-block;
  width: 49%;
  width: calc(50% - 6px);
  height: 50px;
  line-height: 50px;
  text-align: center;
  vertical-align: top;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 800;
  color: #4a443e;
  cursor: pointer;
  box-shadow: var(--shadow);
  position: relative;
  text-decoration: none;
  box-sizing: border-box;
  padding: 0;
  margin: 0 3px;
}

a.info-tab:link,
a.info-tab:visited,
button.info-tab {
  color: #4a443e;
  text-decoration: none;
}

a.info-tab:hover,
button.info-tab:hover {
  color: var(--red-d);
  text-decoration: none;
}

.info-tab.is-on {
  background: linear-gradient(180deg, #fbeede, #f6e6cd);
  color: var(--red-d) !important;
  border-color: var(--gold);
}

.info-tab.is-on::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  margin-left: -7px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid var(--gold);
}

.info-body {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 18px;
  margin-top: 8px;
  min-height: 300px;
}

.info-pane {
  display: none;
}

.info-pane.is-on {
  /* table 布局：博达/IE 最稳，左图右列表 */
  display: table;
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 18px 0;
}

.info-pane.is-on > .info-pic-slider,
.info-pane.is-on > .info-list-wrap {
  display: table-cell;
  width: 50%;
  vertical-align: top;
}

.info-pic-slider {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  height: 280px;
  border-radius: 12px;
  margin-right: 0;
  background: #e8e4dc;
}

.info-pic-track {
  position: relative;
  height: 280px;
}

.info-pic-slide {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  color: inherit;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease;
  z-index: 1;
  border-radius: 12px;
  overflow: hidden;
}

.info-pic-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.info-pic {
  height: 280px;
}

.info-pic-img {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
  background: #e8e2d8;
  /* 现代浏览器裁切；旧浏览器忽略 object-fit 仍能显示整图 */
  object-fit: cover;
  object-position: center;
}

.info-pic-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0 14px;
  height: 44px;
  display: flex;
  align-items: center;
  background: rgba(31, 28, 26, 0.55);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  z-index: 3;
}

.info-pic-btn,
a.info-pic-btn,
button.info-pic-btn {
  position: absolute !important;
  top: 50% !important;
  margin-top: -20px !important;
  width: 32px !important;
  height: 40px !important;
  line-height: 40px !important;
  text-align: center !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: rgba(31, 28, 26, 0.55) !important;
  color: #ffffff !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  cursor: pointer !important;
  z-index: 6 !important;
  padding: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  display: block !important;
  overflow: visible !important;
  opacity: 0 !important;
  filter: alpha(opacity=0);
}

.info-pic-slider:hover .info-pic-btn,
.info-pic-slider:hover a.info-pic-btn,
.info-pic-btn:focus,
a.info-pic-btn:focus {
  opacity: 1 !important;
  filter: alpha(opacity=100);
}

.info-pic-btn.prev,
a.info-pic-btn.prev,
button.info-pic-btn.prev {
  left: 8px !important;
  right: auto !important;
}

.info-pic-btn.next,
a.info-pic-btn.next,
button.info-pic-btn.next {
  right: 8px !important;
  left: auto !important;
}

a.info-pic-btn:link,
a.info-pic-btn:visited,
a.info-pic-btn:hover,
a.info-pic-btn:active {
  color: #ffffff !important;
  text-decoration: none !important;
}

a.info-pic-btn:hover,
button.info-pic-btn:hover {
  background: rgba(184, 28, 34, 0.85) !important;
}

.info-pic-btn img,
a.info-pic-btn img {
  display: block !important;
  width: 12px !important;
  height: 16px !important;
  margin: 12px auto 0 !important;
  border: 0 !important;
  padding: 0 !important;
}

.info-list-wrap {
  padding: 4px 4px 0;
  display: flex;
  flex-direction: column;
}

.info-list {
  flex: 1;
  padding: 0;
}

.info-list li a {
  height: 40px;
  border-bottom: 0;
  margin-bottom: 2px;
  border-radius: 8px;
  padding: 0 8px;
  grid-template-columns: minmax(0, 1fr) 44px;
}

.info-list li a:hover {
  background: #faf4ea;
}

.info-list-wrap .more-btn {
  margin-top: 10px;
  align-self: flex-end;
}

/* ---------- 通知 ---------- */
.notice-band {
  padding: 8px 0 28px;
}

.notice-band .wrap > .sec-title {
  background: var(--card);
  border: 1px solid var(--line);
  border-bottom: 2px solid var(--red);
  border-radius: 14px 14px 0 0;
  box-shadow: none;
  margin-bottom: 0;
}

.notice-band .list-notice {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  padding: 12px 20px 18px;
}

.list-notice li a {
  grid-template-columns: 14px minmax(0, 1fr) 96px;
  height: 42px;
}

.list-notice i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

.list-notice li a:hover,
.list-notice li a:hover .d {
  color: var(--red);
}

/* ---------- 制度 / 党建 ---------- */
.band {
  padding: 8px 0 24px;
  background: transparent;
}

.band-soft {
  background: transparent;
}

.row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* ---------- 系统入口 / 风采 ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-sys {
  grid-template-columns: repeat(6, 1fr);
}

.g-item {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  color: inherit;
  transition: transform 0.15s;
}

.g-item:hover {
  color: inherit;
  transform: translateY(-3px);
}

.g-item:hover p {
  color: var(--red);
}

.g-pic {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.g-pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 10px 12px;
  box-sizing: border-box;
}

.g-item p {
  margin: 0;
  padding: 12px 14px 16px;
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 600;
  min-height: 64px;
  color: #3b352f;
}

.gallery-sys .g-item p {
  min-height: auto;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  padding: 14px 10px 16px;
}

.gallery-sys .g-pic {
  height: 110px;
  background: #fff;
}

.gallery-sys .g-pic img {
  padding: 12px 14px;
  object-fit: contain;
}

.gallery-sys .g-pic-banner img {
  padding: 8px 6px;
  object-fit: contain;
}

.gallery-sys .g-pic-cover img {
  padding: 0;
  object-fit: cover;
  object-position: center;
}

/* ---------- 服务图标 ---------- */
.row-service {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 18px;
  align-items: start;
}

.service-icons {
  list-style: none;
  margin: 0;
  padding: 4px 0 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
}

.service-icons a {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 96px;
  color: #3b352f;
}

.service-icons a:hover {
  color: var(--red);
}

.service-icons .si {
  width: 80px;
  height: 80px;
  background: linear-gradient(160deg, var(--red), var(--red-dd));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  font-style: normal;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(184, 28, 34, 0.28);
  margin-bottom: 10px;
}

.service-icons a:hover .si {
  filter: brightness(1.05);
}

.service-icons em {
  font-style: normal;
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
}

.contact-side {
  background: var(--card);
}

.contact-home {
  padding: 8px 16px 14px;
  font-size: 13px;
}

.contact-home ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-home li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  height: 38px;
  align-items: center;
  border-bottom: 1px dashed var(--line-2);
}

.contact-home li:last-child {
  border-bottom: 0;
}

.contact-home li span {
  color: var(--muted);
}

.contact-home li b {
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* ---------- 页脚：贴视口底，深红色块填充，内容少也不上浮 ---------- */
.footer {
  flex-shrink: 0;
  margin-top: auto;
  background: var(--red-dd);
  color: #ecd9a3;
  padding: 28px 0 32px;
  font-size: 13px;
  width: 100%;
  box-sizing: border-box;
}

.footer .wrap {
  width: var(--wrap);
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

.footer a {
  color: #f3e7d8;
}

.footer a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(215, 178, 90, 0.25);
}

.footer-copy {
  text-align: center;
  padding-top: 14px;
  line-height: 1.9;
  color: #c9b896;
}

.admin {
  color: #b3aa9c !important;
}

/* ---------- 滚动 / 回顶 ---------- */
.js-ready .band,
.js-ready .info-band,
.js-ready .notice-band {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.js-ready .band.is-in,
.js-ready .info-band.is-in,
.js-ready .notice-band.is-in {
  opacity: 1;
  transform: translateY(0);
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 28px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 8px 20px rgba(184, 28, 34, 0.35);
  transition: opacity 0.25s, visibility 0.25s;
}

.back-top.is-show {
  opacity: 1;
  visibility: visible;
}

.back-top:hover {
  background: var(--red-d);
}

/* ---------- 飘窗（JS 控制位移，悬停暂停） ---------- */
.float-win {
  position: fixed;
  left: 0;
  top: 0;
  width: 260px;
  z-index: 400;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(94, 13, 15, 0.22);
  padding: 16px 16px 14px;
  will-change: left, top;
  cursor: default;
}

.float-win.is-hidden {
  display: none;
}

.float-win.is-paused {
  box-shadow: 0 16px 40px rgba(184, 28, 34, 0.28);
}

.float-win-close,
a.float-win-close {
  position: absolute !important;
  top: 8px !important;
  right: 10px !important;
  width: 26px !important;
  height: 26px !important;
  line-height: 26px !important;
  text-align: center !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #f4ebe0 !important;
  color: #6f6a64 !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
  display: block !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

a.float-win-close:link,
a.float-win-close:visited,
a.float-win-close:hover,
a.float-win-close:active {
  color: #6f6a64 !important;
  text-decoration: none !important;
}

.float-win-close:hover,
a.float-win-close:hover {
  background: #b81c22 !important;
  color: #ffffff !important;
}

.float-win-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--red), var(--red-d));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 10px;
}

.float-win h3 {
  margin: 0 0 8px;
  padding-right: 22px;
  font-size: 15px;
  font-weight: 800;
  color: var(--red-d);
  line-height: 1.45;
}

.float-win p {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.65;
}

.float-win-link {
  display: inline-flex;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--red) !important;
}

@media (max-width: 1100px) {
  .hero-slider {
    height: clamp(220px, 48vw, 320px);
  }

  .hero-text-box h2 {
    letter-spacing: 0.06em;
    font-size: clamp(22px, 6.5vw, 40px);
  }

  .info-pane.is-on {
    display: block;
  }

  .info-pane.is-on > .info-pic-slider,
  .info-pane.is-on > .info-list-wrap {
    display: block;
    width: 100%;
  }

  .info-tabs {
    display: block;
  }

  .info-tab {
    display: block;
    width: 100%;
    margin-bottom: 8px;
  }

  .row-two,
  .row-service,
  .list-notice,
  .gallery,
  .gallery-sys {
    grid-template-columns: 1fr;
  }

  .topbar-site {
    display: none;
  }

  .float-win {
    width: min(240px, calc(100vw - 28px));
  }
}

@media (max-width: 1200px) and (min-width: 1101px) {
  .gallery-sys {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-item > a {
    font-size: 13.5px;
  }
}

.contact-home-block {
  max-width: none;
  width: 100%;
}

.contact-home-block.contact-full {
  max-width: none;
}

.contact-home-wide ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 0 28px;
  padding: 8px 20px 16px;
}

.contact-home-wide li {
  border-bottom: 1px dashed var(--line-2);
}

@media (max-width: 1000px) {
  .contact-home-wide ul {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .contact-home-wide ul {
    grid-template-columns: 1fr;
  }
}

/* ---------- 内页：侧栏 + 内容 ---------- */
.page-main {
  flex: 1 0 auto;
  padding: 28px 0 48px;
  background: var(--paper);
}
.crumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}
.crumb a:hover { color: var(--red); }
.inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: start;
}
.side-nav {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.side-nav h3 {
  margin: 0;
  padding: 14px 16px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  letter-spacing: 1px;
}
.side-nav a {
  display: block;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: #333;
}
.side-nav a:last-child { border-bottom: 0; }
.side-nav a:hover,
.side-nav a.on {
  color: var(--red);
  background: #faf6f0;
  font-weight: 600;
}
.side-box {
  margin-top: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px 14px;
  box-shadow: var(--shadow);
}
.side-box h4 {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--red-d);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.side-box ul { list-style: none; margin: 0; padding: 0; }
.side-box li { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.side-box li:last-child { border-bottom: 0; }
.side-box a {
  display: block;
  font-size: 13px;
  color: #444;
  line-height: 1.45;
}

.content-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px 28px;
  box-shadow: var(--shadow);
}
.content-card h1 {
  margin: 0 0 8px;
  font-size: 22px;
  color: var(--red-d);
  letter-spacing: 1px;
}
.content-card .meta {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.content-card .body p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.85;
  text-align: justify;
  color: #2c2722;
}
.content-card .body h3 {
  margin: 22px 0 10px;
  font-size: 17px;
  color: var(--red-d);
}

.article-page .article-body,
.article-page .article-body span {
  font-size: 15px !important;
  line-height: 1.85 !important;
  color: #2c2722;
}
.article-page .article-body {
  overflow-x: auto;
}
.content-card .body span {
  font-size: 15px !important;
  line-height: 1.85 !important;
}
.article-page .article-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 12px auto;
}
.article-page .article-body table {
  max-width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}
.article-page .article-body td,
.article-page .article-body th {
  border: 1px solid var(--line);
  padding: 6px 10px;
  font-size: 14px;
}
.article-atts {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.article-atts h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--red-d);
}
.article-atts ul {
  margin: 0;
  padding-left: 1.2em;
}
.article-atts a {
  color: var(--red);
}
.article-back {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.contact-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 14.5px;
}
.contact-table th,
.contact-table td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
}
.contact-table th {
  width: 38%;
  background: #faf7f1;
  color: var(--muted);
  font-weight: 600;
}

.list-page ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.list-page li > a {
  display: block !important;
  position: relative;
  padding: 14px 96px 14px 0 !important;
  border-bottom: 1px dashed var(--line) !important;
  height: auto !important;
  line-height: 1.8 !important;
  font-size: 15px !important;
  color: #2c2722 !important;
  overflow: visible !important;
  grid-template-columns: none !important;
}
.list-page li:last-child > a { border-bottom: 0 !important; }
.list-page li > a:hover { color: var(--red) !important; }
.list-page .t {
  display: inline !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}
.list-page .d {
  display: block !important;
  position: absolute !important;
  right: 0 !important;
  top: 14px !important;
  width: 88px !important;
  color: #8a8278 !important;
  text-align: right !important;
  font-size: 13px !important;
}
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 16px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.pager-total {
  margin-right: auto;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.pager-ctrl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.pager-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: #3b352f;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  height: 30px;
  padding: 0 12px;
  border-radius: 6px;
  cursor: pointer;
}

.pager-btn:hover:not(:disabled) {
  border-color: var(--red);
  color: var(--red);
}

.pager-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pager-nums {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pager-nums button {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: #3b352f;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  border-radius: 6px;
  cursor: pointer;
}

.pager-nums button:hover {
  border-color: var(--line);
  color: var(--red);
}

.pager-nums button.is-on {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.pager-jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  color: var(--muted);
  font-size: 13px;
}

.pager-select {
  height: 30px;
  min-width: 56px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 6px;
  font-family: var(--font);
  font-size: 13px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.list-page li.is-page-hidden {
  display: none !important;
}

@media (max-width: 700px) {
  .pager {
    justify-content: center;
  }
  .pager-total {
    width: 100%;
    margin-right: 0;
    text-align: center;
  }
  .pager-ctrl {
    justify-content: center;
  }
}

.org-chart { text-align: center; padding: 10px 0 20px; }
.org-top {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
  max-width: 420px;
}
.org-line {
  width: 2px;
  height: 28px;
  background: #c9b8a4;
  margin: 0 auto;
}
.org-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 4px;
}
.org-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 10px 8px;
  border: 1px solid var(--line);
  background: #faf8f4;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #333;
}

.org-grid a.org-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 10px 8px;
  border: 1px solid var(--line);
  background: #faf8f4;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #333;
  text-align: center;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.org-grid a.org-cell:hover {
  border-color: var(--gold);
  color: var(--red);
  background: #fff8ee;
}

.duty-list {
  margin: 0;
  padding: 0 0 0 1.35em;
  color: #2c2722;
}

.duty-list li {
  margin: 0 0 12px;
  padding: 0;
  font-size: 15px;
  line-height: 1.85;
  text-align: justify;
}

.dept-block {
  margin: 0 0 28px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}

.dept-block:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
}

.dept-block h2 {
  margin: 0 0 14px;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--red-d);
  letter-spacing: 0.08em;
}

.dept-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.dept-tab {
  appearance: none;
  border: 1px solid var(--line);
  background: #faf7f1;
  color: #3b352f;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1.3;
}

.dept-tab:hover {
  border-color: var(--gold);
  color: var(--red);
}

.dept-tab.is-on {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.dept-pane {
  display: none;
}

.dept-pane.is-on {
  display: block;
}

.dept-pane h2 {
  margin: 0 0 14px;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--red-d);
  letter-spacing: 0.08em;
}

.duty-ext {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.duty-ext a {
  color: var(--red);
  font-weight: 700;
}

.leaders-body h3 {
  margin: 22px 0 10px;
  font-size: 17px;
  color: var(--red-d);
}

.leaders-body .muted-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}

.ext-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
}

.ext-card {
  display: block;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #faf8f4;
  color: inherit;
}

.ext-card:hover {
  border-color: var(--gold);
  color: inherit;
}

.ext-card b {
  display: block;
  font-size: 16px;
  color: var(--red-d);
  margin-bottom: 6px;
}

.ext-card span {
  font-size: 13px;
  color: var(--muted);
}

.team-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 4px 0 22px;
}

.stat-item {
  background: linear-gradient(160deg, #faf4ea, #fff);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(94, 13, 15, 0.06);
}

.stat-item b {
  display: block;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  color: var(--red);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.stat-item span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.team-list-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--red-d);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
}

@media (max-width: 900px) {
  .team-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dorm-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
}
.dorm-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px 16px;
  box-shadow: var(--shadow);
}
.dorm-block h2 {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--red-d);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.dorm-block h2 a { font-size: 12px; color: var(--muted); font-weight: 500; }
.dorm-intro p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.75;
  color: #3a342e;
  text-align: justify;
}
.dorm-pics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.dorm-pics i {
  display: block;
  height: 100px;
  border-radius: 6px;
  background: linear-gradient(135deg, #e8d5b8, #c9a24a 40%, #8e1417);
  font-style: normal;
}

.mail-form label { display: block; margin: 12px 0 6px; font-size: 14px; color: #444; }
.mail-form input,
.mail-form textarea {
  width: 100%;
  max-width: 560px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  background: #fff;
}
.mail-form textarea { min-height: 140px; resize: vertical; }
.mail-form button {
  margin-top: 16px;
  background: var(--red);
  color: #fff;
  border: 0;
  padding: 10px 28px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  font-weight: 700;
}
.mail-form button:hover { background: var(--red-d); }
.mail-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

@media (max-width: 900px) {
  .inner, .dorm-grid, .org-grid, .ext-links { grid-template-columns: 1fr; }
  .org-grid { grid-template-columns: 1fr 1fr; }
}

