:root {
  --navy: #1c5c47;
  --navy-soft: #2a7a5c;
  --ink: #1c4e3f;
  --muted: #5a6d66;
  --line: #d9e2d4;
  --paper: #f3eee3;
  --white: #faf6ee;
  --blue: #1d7ab8;
  --sky: #7eb8c0;
  --shadow: 0 18px 50px rgba(28, 92, 71, 0.12);
  --radius: 18px;
  --max: 1180px;
  --font: "Cormorant Garamond", "Noto Serif TC", serif;
  --sans: var(--font);
  --serif: var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 80;
  background: #fff;
  padding: 8px 12px;
}

.notice-bar {
  background: linear-gradient(90deg, #e4efe6, #e4eef6);
  color: var(--navy);
  font-size: 13px;
}
.notice-inner, .nav-inner, .wrap, .footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.notice-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.notice-inner p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  min-width: 0;
  flex: 1;
}
.notice-sep { opacity: 0.55; }
.notice-official {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  background: #fff;
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.notice-official:hover { background: #eef4ea; }
.notice-collapse {
  border: 1px solid #b5c9b8;
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 12px;
  flex-shrink: 0;
}

.brand-bar {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.brand-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  min-height: 96px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  min-width: 0;
}
.brand-logo {
  flex-shrink: 0;
  line-height: 0;
}
.brand-mark {
  width: 78px;
  height: 78px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  background: transparent;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
  text-decoration: none;
}
.brand-text {
  font-family: var(--serif);
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 600;
  color: var(--navy);
}
.brand-motto {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--blue);
  letter-spacing: 0.08em;
}

.action-area {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}
.lang-switch {
  display: flex;
  gap: 6px;
}
.lang-switch a {
  text-decoration: none;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  background: #fff;
}
.lang-switch a.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}
.btn-apply-navy {
  background: var(--navy);
  color: #fff;
  padding: 10px 20px;
  font-weight: 600;
}
.btn-books {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--navy);
  padding: 10px 20px;
  font-weight: 600;
}

.nav-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-bar.is-collapsed { display: none; }
.nav-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
}
.nav-inner .nav {
  flex: 1;
  min-width: 0;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 10px;
  flex: 1;
}
.nav a, .nav-parent {
  text-decoration: none;
  font-size: 14px;
  color: var(--navy);
  padding: 8px 4px;
  white-space: nowrap;
}
.nav a:hover, .nav a.is-active { color: var(--blue); }
.nav a.is-active { box-shadow: inset 0 -2px 0 var(--blue); }
.nav-item {
  position: relative;
}
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px 0;
  z-index: 50;
}
.dropdown a {
  display: block;
  padding: 10px 16px;
  white-space: normal;
  box-shadow: none;
}
.dropdown a:hover, .dropdown a.is-active {
  background: var(--paper);
  color: var(--blue);
  box-shadow: none;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown,
.nav-item.is-open .dropdown {
  display: block;
}
.nav-item:nth-last-child(-n+4) .dropdown {
  left: auto;
  right: 0;
}
.card[id], .info-card[id] {
  scroll-margin-top: 80px;
}
.section-sub {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--navy);
  margin: 0 0 16px;
}
.anchor-section {
  scroll-margin-top: 80px;
}
.anchor-section + .anchor-section {
  margin-top: 40px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.env-photo {
  margin: 24px 0;
  text-align: center;
}
.env-photo img {
  width: 100%;
  max-width: 920px;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
}
.env-aa {
  text-align: right;
  margin: 8px 0 16px;
}
.env-aa img {
  width: 160px;
  height: auto;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 12px;
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(560px, 78vh);
  display: grid;
  align-items: center;
  justify-items: end;
  background: #d7ebe8 url("../img/hero-bg.jpg?v=3") left center / cover no-repeat;
  line-height: normal;
}
.hero::before,
.hero::after { content: none; display: none; }
.hero-inner {
  width: min(560px, calc(100% - 48px));
  margin: 56px 7% 56px 0;
  color: var(--navy);
  background: rgba(250,246,238,0.88);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 32px 36px;
  box-shadow: 0 16px 40px rgba(28, 92, 71, 0.12);
}
.hero-inner h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.15;
  margin: 8px 0 14px;
  color: var(--navy);
}
.hero-lead {
  margin: 0 0 24px;
  color: var(--navy-soft);
  font-size: 16px;
  max-width: 46ch;
}
.hero-actions {
  position: static;
  left: auto;
  top: auto;
  bottom: auto;
  transform: none;
  z-index: 3;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-start;
  line-height: normal;
  padding: 0;
  width: auto;
}
.hero-actions .btn {
  white-space: nowrap;
}
.hero-actions .btn-apply {
  background: var(--navy);
  color: #fff;
}
.hero-actions .btn-ghost {
  background: rgba(255,255,255,0.72);
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.kicker {
  color: var(--blue);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 12px;
  margin: 0;
}

.identity-bar {
  background: var(--navy);
  color: #dceee4;
}
.identity-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 22px 0;
}
.identity-inner p {
  margin: 0;
  font-size: 14px;
}
.identity-inner b {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 16px;
  letter-spacing: 0.04em;
  font-family: var(--font);
}
.btn-apply { background: var(--navy); color: #fff; }
.btn-gold { background: var(--blue); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.65); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-line { background: #fff; color: var(--navy); border: 1px solid var(--line); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 0;
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stat { background: #fff; padding: 24px; }
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  color: var(--navy);
}
.stat span { color: var(--muted); font-size: 13px; }

.section { padding: 84px 0; }
.section-paper { background: var(--paper); }
.section-navy { background: var(--navy); color: #e4efe6; }
.section-navy h2 { color: #fff; }
.section-navy .eyebrow { color: #a8d0b8; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 32px;
}
.section-head h2, .page-hero h1, .card h3, .partner h3, .faculty-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.section-head h2 { font-size: 36px; margin: 0; }
.eyebrow {
  color: var(--blue);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 6px;
}

.grid-2, .grid-3, .cards { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1.1fr 0.9fr; }
.grid-3, .cards { grid-template-columns: repeat(3, 1fr); }
.card, .news-item, .partner, .faculty-card, .form-card, .info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card p, .prose p { color: var(--muted); }
.news-list { display: grid; gap: 12px; }
.file-item {
  grid-template-columns: 64px 1fr auto;
}
.file-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 36px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}
.file-icon b { font-size: 12px; }
.file-pdf { background: #c62828; }
.file-doc { background: #1565c0; }
.file-xls { background: #2e7d32; }
.file-ppt { background: #ef6c00; }
.file-zip { background: #6a1b9a; }
.file-web { background: var(--navy); }
.news-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  padding: 16px 20px;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.news-item:hover { border-color: var(--blue); }
.news-item time { color: var(--muted); font-size: 13px; }
.news-cards { display: grid; gap: 12px; }
.news-card.has-photo {
  grid-template-columns: 140px 1fr auto;
}
.news-card-photo {
  width: 140px;
  height: 92px;
  object-fit: cover;
  border-radius: 8px;
  background: #dce8dc;
  display: block;
}
.news-detail-photo {
  display: block;
  width: min(100%, 720px);
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 0 18px;
}
.news-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.news-card:hover,
.news-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px rgba(28, 92, 71, 0.16);
  border-color: var(--blue);
  cursor: pointer;
}
.news-card-copy time {
  display: block;
  color: var(--blue);
  font-size: 13px;
  margin-bottom: 4px;
}
.news-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}
.news-more {
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
  font-size: 15px;
}
.news-more:hover { text-decoration: underline; }
.news-source {
  margin-top: 28px;
  font-size: 14px;
  color: var(--muted);
}
.news-source a { color: var(--blue); }
.tag {
  display: inline-block;
  background: #dce8dc;
  color: var(--navy);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-right: 8px;
}

.partners {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.partner-mark {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 18px 12px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(16,50,40,0.55) 0%, rgba(28,92,71,0.28) 45%, rgba(250,246,238,0.18) 100%),
    url("../img/hero-bg.jpg?v=3") left center / cover no-repeat;
  color: #fff;
  padding: 72px 0 48px;
}
.page-hero::after {
  content: "✝";
  position: absolute;
  right: 6%;
  top: 18%;
  font-size: 72px;
  color: rgba(255,255,255,0.22);
  pointer-events: none;
}
.page-hero p { color: #e4efe6; max-width: 640px; }
.crumbs { font-size: 12px; color: #c5d9cc; margin-bottom: 12px; }
.crumbs a { color: #e4efe6; text-decoration: none; }

.prose { max-width: 760px; }
.prose h2, .prose h3 { font-family: var(--serif); color: var(--navy); }
.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
}
.prose a:hover { color: var(--navy); }
.prose a.url-link { font-size: 0.92em; }
.checklist { padding-left: 18px; color: var(--muted); }
.checklist li { margin: 8px 0; }

.faculty-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.faculty-grid,
.faculty-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.faculty-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 18px 22px;
}
.faculty-photo-wrap {
  width: 240px;
}
.faculty-photo, .faculty-photo-fallback {
  width: 240px;
  height: auto;
  min-height: 276px;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  background: #dce8dc;
  display: block;
}
.faculty-photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 42px;
  color: var(--navy);
}
.faculty-photo-fallback[hidden] { display: none !important; }
.faculty-copy h3 { margin: 0 0 4px; }
.faculty-dept { font-weight: 500; color: var(--navy); }
.faculty-aka { margin: 0 0 6px; color: var(--muted); font-size: 14px; }
.faculty-card .role { color: var(--blue); font-size: 15px; margin: 0 0 10px; }
.faculty-copy p { margin: 6px 0; color: var(--muted); }
.faculty-k { color: var(--navy); font-weight: 600; }
.hidden { display: none !important; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4/3;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-grid a:hover img { transform: scale(1.05); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8,16,28,0.88);
  display: none;
  place-items: center;
  z-index: 70;
  padding: 24px;
}
.lightbox.is-open { display: grid; }
.lightbox img { max-height: 82vh; border-radius: 12px; }

.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 24px; }
label { display: block; font-size: 13px; margin: 12px 0 6px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
}
textarea { min-height: 140px; resize: vertical; }
.form-note { color: var(--muted); font-size: 13px; }

.footer-mark {
  width: 72px;
  height: 72px;
  margin-bottom: 12px;
  object-fit: contain;
  background: #faf6ee;
  border-radius: 50%;
  padding: 6px;
}
.site-footer {
  background: var(--navy);
  color: #dceee4;
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}
.site-footer a { color: #e8f0ea; text-decoration: none; }
.site-footer h3 { color: #fff; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; }
.legal {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 28px;
  padding-top: 16px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.footer-motto {
  font-family: var(--serif);
  font-style: italic;
  color: #fff;
  margin: 0 0 8px;
}

.timeline { display: grid; gap: 16px; }
.step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.step b { color: var(--blue); }

@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav { display: none; }
  .nav-bar.is-open .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    background: #fff;
    padding: 12px 20px 24px;
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 64px);
    overflow: auto;
  }
  .nav-bar.is-open .dropdown {
    display: block;
    position: static;
    border: 0;
    box-shadow: none;
    padding: 0 0 8px 12px;
    min-width: 0;
  }
  .nav-bar.is-open .dropdown a {
    padding: 8px 4px;
  }
  .action-area {
    gap: 6px;
  }
  .lang-switch a {
    padding: 6px 10px;
    font-size: 12px;
  }
  .btn-apply-navy, .btn-books {
    padding: 8px 12px;
    font-size: 12px;
  }
  .notice-inner { flex-wrap: wrap; }
  .brand-text { font-size: 18px; }
  .hero {
    justify-items: center;
    min-height: 420px;
  }
  .hero-inner {
    justify-self: center;
    width: min(720px, calc(100% - 32px));
    margin: 40px 16px 48px;
    text-align: center;
  }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .identity-inner { grid-template-columns: 1fr; }
  .partners { grid-template-columns: 1fr 1fr; }
}

.admin-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}
.admin-switch a {
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 999px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.12);
  font-weight: 600;
}
.admin-switch a.is-active {
  border-color: #fff;
  background: #faf6ee;
  color: var(--navy);
}
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.admin-count { color: var(--muted); margin: 20px 0 12px; }
.admin-status {
  background: #e7f6ee;
  color: #0b6b38;
  border-radius: 12px;
  padding: 10px 14px;
  margin: 0 0 16px;
}
.admin-status.is-warn { background: #fff4d6; color: #8a5a00; }
.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 24px;
  align-items: start;
}
.auth-form { max-width: 520px; }
.auth-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.auth-panel h2 { margin-top: 0; }
.auth-panel ul { margin: 8px 0 16px; padding-left: 18px; }
.auth-callout {
  display: inline-block;
  background: #f5c518;
  color: #1c4e3f;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 6px;
  margin: 0;
}
.auth-chip {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  background: #fff;
  color: var(--navy);
  font-weight: 600;
}
.role-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 700;
  margin-right: 6px;
}
.role-pending { background: #fff4d6; color: #8a5a00; }
.role-admin { background: #e7f6ee; color: #0b6b38; }
.role-super_admin { background: #d6eaf8; color: #1d7ab8; }
.role-rejected { background: #fdecea; color: #c62828; }
@media (max-width: 960px) {
  .auth-layout { grid-template-columns: 1fr; }
}
.admin-form.is-editing {
  outline: 2px solid var(--blue);
}
.admin-table-wrap { overflow: auto; margin-bottom: 28px; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
}
.admin-table th, .admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}
.admin-table th { color: var(--muted); font-weight: 600; }
.admin-row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
}
.admin-badge.ok { background: #e7f6ee; color: #0b6b38; }
.admin-badge.warn { background: #fff4d6; color: #8a5a00; }
.admin-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.admin-form h2 { margin-top: 0; }
.admin-shared {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 12px;
  margin-bottom: 18px;
  align-items: end;
}
.admin-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.admin-form input, .admin-form select, .admin-form textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  background: #fff;
}
.admin-check { flex-direction: row; align-items: center; }
.admin-bilingual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 16px;
}
.admin-bilingual .btn { margin: 8px 0 12px; }
.admin-sync {
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.admin-sync.is-ok { background: #e7f6ee; }
.admin-sync.is-warn { background: #fff4d6; }
.admin-sync ul { margin: 8px 0 0; padding-left: 18px; }
.admin-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.admin-preview article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}
.admin-kicker {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--blue);
  margin: 0 0 8px;
}
.admin-faculty-shared { grid-template-columns: repeat(3, 1fr); }
.admin-photo-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}
.admin-photo-preview .faculty-photo,
.admin-photo-preview .faculty-photo-fallback {
  width: 96px;
  height: 96px;
}
.news-photo-preview {
  min-width: 160px;
  min-height: 100px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.news-photo-preview img {
  width: 160px;
  height: 100px;
  object-fit: cover;
  display: block;
}
.admin-photo-empty {
  color: var(--muted);
  font-size: 13px;
  padding: 8px;
}
.admin-faculty-panel {
  background: #14382c;
  color: #fff;
  border-radius: 16px;
  padding: 20px;
}
.admin-faculty-panel h2 { margin: 0 0 6px; color: #fff; }
.admin-faculty-panel header p { margin: 0 0 16px; color: #d5e6dc; }
.admin-faculty-board { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.admin-faculty-row {
  display: grid;
  grid-template-columns: 28px 72px 1fr auto;
  gap: 14px;
  align-items: center;
  background: #1d4d3d;
  border-radius: 12px;
  padding: 10px 12px;
}
.admin-faculty-row.is-dragging { opacity: 0.55; }
.admin-drag {
  cursor: grab;
  color: #9eb8aa;
  letter-spacing: -2px;
  user-select: none;
}
.admin-faculty-thumb .faculty-photo,
.admin-faculty-thumb .faculty-photo-fallback {
  width: 64px;
  height: 64px;
  border-radius: 8px;
}
.admin-faculty-meta h3 { margin: 0; color: #fff; font-size: 18px; }
.admin-faculty-meta h3 span { color: #b5d0c2; font-weight: 500; font-size: 14px; }
.admin-faculty-meta p { margin: 2px 0 0; color: #d5e6dc; }
.admin-faculty-type { color: #8ec8f4 !important; font-size: 12px; letter-spacing: 0.04em; }
.btn-danger {
  border-color: #e57373;
  color: #ffcdd2;
  background: transparent;
}
.btn-danger:hover { background: #c62828; color: #fff; border-color: #c62828; }
.admin-faculty-empty { color: #d5e6dc; padding: 16px; }

@media (max-width: 960px) {
  .admin-shared, .admin-bilingual, .admin-preview, .admin-faculty-shared { grid-template-columns: 1fr; }
  .admin-faculty-row { grid-template-columns: 1fr; }
  .faculty-card { grid-template-columns: 168px minmax(0, 1fr); gap: 16px; }
  .faculty-photo-wrap, .faculty-photo, .faculty-photo-fallback { width: 168px; min-height: 194px; height: auto; }
  .news-card.has-photo { grid-template-columns: 112px 1fr auto; }
  .news-card-photo { width: 112px; height: 74px; }
}
@media (max-width: 960px) {
  .stats, .grid-2, .grid-3, .cards, .contact-grid, .footer-grid, .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .stats, .grid-2, .grid-3, .cards, .contact-grid, .footer-grid, .gallery-grid, .news-item, .news-card, .news-card.has-photo, .step, .partners {
    grid-template-columns: 1fr;
  }
  .news-card-photo { width: 100%; height: 180px; }
  .brand-text, .brand-motto { display: none; }
  .notice-inner { font-size: 12px; }
}
