.page-title {
  background: var(--teal-deep);
  color: #fff;
  padding: 84px 0 56px;
}
.page-title p {
  color: rgba(255, 255, 255, 0.68);
  max-width: 740px;
}
.breadcrumb {
  font-size: 12px;
  color: #9ad7d0;
  margin-bottom: 20px;
}
.content-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  padding: 70px 0 110px;
}
.lnb {
  position: sticky;
  top: 116px;
  height: max-content;
  border-top: 2px solid var(--ink);
}
.lnb strong {
  display: block;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}
.lnb a {
  display: block;
  padding: 13px 4px;
  color: var(--body);
  font-size: 14px;
  border-bottom: 1px solid #edf2f1;
}
.lnb a.is-active {
  color: var(--teal);
  font-weight: 800;
}
.prose {
  font-size: 17px;
  color: var(--body);
}
.prose .lead {
  font-size: 22px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.6;
  margin-top: 0;
}
.prose-body {
  white-space: pre-line;
  line-height: 2;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 46px;
}
.info-block {
  padding: 30px;
  background: var(--surface);
  border-radius: var(--radius);
}
.timeline {
  border-left: 2px solid var(--teal);
  padding-left: 28px;
  margin-top: 40px;
}
.timeline p {
  margin: 0 0 22px;
}
.location-map {
  min-height: 360px;
  margin-top: 38px;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #d7e9e7, #eef5f4);
}
.location-info {
  margin-top: 26px;
}
.location-info {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.location-info a {
  color: var(--teal);
  font-weight: 700;
}
.org-chart {
  display: grid;
  justify-items: center;
  margin-top: 46px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f7fbfa, #fff);
}
.org-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 16px;
  width: min(100%, 520px);
}
.org-row.org-divisions {
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  width: min(100%, 720px);
}
.org-node {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  text-align: center;
  font-weight: 800;
}
.org-node small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-weight: 500;
}
.org-node-primary {
  min-width: 220px;
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}
.org-connector {
  width: 1px;
  height: 28px;
  background: var(--line);
}
.ci-showcase {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  margin-top: 46px;
}
.ci-logo-panel,
.ci-colors {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.ci-logo-panel img {
  width: min(100%, 340px);
  height: auto;
}
.ci-logo-panel p {
  margin: 26px 0 0;
  color: var(--muted);
}
.ci-colors {
  display: grid;
  gap: 18px;
}
.ci-colors div {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 14px;
  align-items: center;
}
.ci-colors span {
  grid-row: 1 / span 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ci-color);
}
.ci-colors small {
  color: var(--muted);
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.filters a,
.filters button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 15px;
  font-weight: 700;
  color: var(--body);
}
.filters .is-active {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 42px;
}
.pagination a,
.pagination span {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.pagination a {
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
}
.pagination a.is-active {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}
.event-list,
.book-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.event-card {
  border-top: 2px solid var(--ink);
  padding: 26px 0 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.event-card h3 {
  font-size: 24px;
  margin: 4px 0;
  text-wrap: balance;
}
.event-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  color: var(--body);
  font-size: 14px;
}
.event-card footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.event-detail {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
}
.detail-panel {
  position: sticky;
  top: 116px;
  height: max-content;
  padding: 30px;
  background: var(--surface);
  border-radius: var(--radius);
}
.detail-panel dl {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  margin: 0 0 24px;
}
.detail-panel dt {
  color: var(--muted);
}
.curriculum {
  margin: 34px 0;
}
.curriculum li {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.book-grid {
  grid-template-columns: repeat(4, 1fr);
}
.book-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.book-cover {
  aspect-ratio: 3/4;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--teal), var(--teal-dark));
  color: #fff;
  display: flex;
  align-items: end;
  padding: 0;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(7, 62, 57, 0.2);
  transition: 0.25s;
  text-wrap: balance;
  overflow: hidden;
}
.book-cover > span {
  display: flex;
  align-items: end;
  width: 100%;
  height: 100%;
  padding: 24px;
}
.book-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.book-card:hover .book-cover {
  transform: translateY(-5px);
}
.book-card h3 {
  font-size: 17px;
  margin: 5px 0 0;
  text-wrap: balance;
}
.book-card p {
  color: var(--muted);
  margin: 0;
  font-size: 13px;
}
.book-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.viewer {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 86px);
  background: #15262b;
  color: #fff;
}
.viewer-sidebar {
  padding: 32px;
  background: #0c1d21;
}
.viewer-sidebar a {
  display: block;
  padding: 10px;
  color: rgba(255, 255, 255, 0.68);
}
.viewer-page {
  margin: 40px;
  background: #fff;
  color: var(--ink);
  padding: 70px;
  box-shadow: 0 20px 60px #0006;
  min-height: 760px;
}
.viewer-toolbar {
  display: flex;
  justify-content: space-between;
  position: sticky;
  top: 86px;
  background: #15262b;
  padding: 14px 40px;
  z-index: 3;
}
.board-list {
  border-top: 2px solid var(--ink);
}
.board-row {
  display: grid;
  grid-template-columns: 80px 1fr 120px 80px;
  gap: 20px;
  padding: 18px 10px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.board-row:hover {
  background: var(--surface);
}
.board-row .board-number,
.board-row time,
.board-row .views {
  color: var(--muted);
  font-size: 13px;
}
.search-form {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}
.search-form input {
  width: 300px;
  border: 1px solid var(--line);
  padding: 11px 14px;
  border-radius: 10px 0 0 10px;
}
.search-form button {
  border-radius: 0 10px 10px 0;
}
.article {
  max-width: 860px;
  margin: auto;
}
.article-meta {
  display: flex;
  gap: 18px;
  color: var(--muted);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.article-feature-image {
  aspect-ratio: 4 / 3;
  margin: 30px 0 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface);
}
.article-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-body {
  padding: 46px 0;
  min-height: 260px;
  white-space: pre-line;
}
.article-neighbors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 28px;
  border-block: 1px solid var(--line);
}
.article-neighbors > * {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 18px 20px;
}
.article-neighbors > * + * {
  border-left: 1px solid var(--line);
  text-align: right;
}
.article-neighbors span,
.article-neighbors small {
  color: var(--muted);
  font-size: 12px;
}
.article-neighbors strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.survey-card {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.survey-card-public {
  align-items: flex-start;
  flex-wrap: wrap;
}
.survey-public-form {
  margin-left: auto;
}
.survey-public-form > summary {
  list-style: none;
  cursor: pointer;
}
.survey-public-form > summary::-webkit-details-marker {
  display: none;
}
.survey-public-form[open] {
  flex: 1 0 100%;
  margin: 8px 0 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft, #f6faf9);
}
.survey-public-form[open] > summary {
  margin-bottom: 20px;
}
.search-form-large {
  max-width: 820px;
  margin: 0 auto 34px;
}
.search-form-large input {
  min-height: 52px;
  font-size: 17px;
}
.search-result-list {
  display: grid;
  gap: 12px;
}
.search-result {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.search-result:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.search-result h2 {
  margin: 10px 0 6px;
  font-size: 21px;
}
.search-result p {
  color: var(--muted);
}
.bank-account {
  margin: 32px 0 0;
  padding: 28px;
  border: 1px solid #b9ddd8;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #eff9f7, #fff);
  box-shadow: 0 12px 34px rgba(14, 95, 87, 0.08);
}
.bank-account h3 { margin: 2px 0 8px; }
.bank-account p { margin: 0; }
.bank-account dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 14px;
}
.bank-account dl div {
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
}
.bank-account dt { color: var(--muted); font-size: 12px; }
.bank-account dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.bank-account__note { color: var(--body); font-size: 13px; }
.price-pair { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 10px 0 16px; }
.price-pair span { color: var(--body); font-size: 13px; }
.price-pair strong { color: var(--teal-dark); }
.price-applied, .fee-policy {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--teal-soft);
}
.fee-policy { margin-bottom: 22px; }
.fee-policy p { margin: 4px 0 0; color: var(--body); }
@media (max-width: 800px) {
  .bank-account { padding: 20px; }
  .bank-account dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .bank-account dl { grid-template-columns: 1fr; }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
}
.gallery-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.gallery-thumb {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #d7e9e7, #eef5f4);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumb-text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: var(--teal-dark);
  font-weight: 700;
  text-align: center;
}
.gallery-card strong {
  font-size: 15px;
  line-height: 1.4;
}
.gallery-card time {
  color: var(--muted);
  font-size: 13px;
}
.viewer-controls {
  margin-top: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.viewer-controls button[disabled] {
  opacity: 0.45;
  cursor: default;
}
.viewer-controls-app {
  margin: 18px 18px 0;
  justify-content: flex-end;
}
.viewer-content {
  font-size: 100%;
}
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
@media (max-width: 420px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
