/* ============================================================
   (사)한국글로벌사회공헌단체연합 - 공통 스타일
============================================================ */

:root {
  --navy-900: #081a33;
  --navy-800: #0b2545;
  --navy-700: #123a68;
  --navy-600: #1b4b86;
  --gold: #b8912f;
  --gold-light: #d9b654;
  --text: #22303f;
  --text-light: #4b5a6b;
  --muted: #7b8794;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --border: #e2e6ec;
  --radius: 6px;
  --max-width: 1140px;
  --topbar-height: 38px;
  --header-height: 76px;
  --shadow: 0 1px 3px rgba(11, 37, 69, 0.06), 0 8px 24px rgba(11, 37, 69, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4 {
  font-family: 'Noto Serif KR', 'Noto Sans KR', serif;
  font-weight: 700;
  line-height: 1.45;
  word-break: keep-all;
  letter-spacing: -0.01em;
}

p {
  word-break: keep-all;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
   상단 안내 바
============================================================ */
.topbar {
  background: var(--navy-900);
  color: #a9b6c6;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  height: var(--topbar-height);
}

.topbar .reg {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar .reg::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--gold-light);
  border-radius: 50%;
}

.topbar .tel {
  color: #fff;
  font-weight: 500;
}

/* ============================================================
   헤더 & 내비게이션
============================================================ */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  background: var(--navy-800);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-mark img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-name {
  font-family: 'Noto Serif KR', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-800);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.nav-menu a {
  position: relative;
  display: inline-block;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s;
}

.nav-menu a:hover {
  color: var(--navy-800);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a.active {
  color: var(--navy-800);
  font-weight: 700;
}

.nav-menu a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy-800);
}

/* ============================================================
   버튼
============================================================ */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 3px;
  transition: 0.2s;
}

.btn-gold {
  background: var(--gold);
  color: #fff;
  border: 1px solid var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

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

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

.btn-navy {
  background: var(--navy-800);
  color: #fff;
  border: 1px solid var(--navy-800);
}

.btn-navy:hover {
  background: var(--navy-700);
}

/* ============================================================
   히어로 (홈)
============================================================ */
.hero {
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 60%, #050f1f 100%);
  color: #fff;
  text-align: center;
  padding: 4.5rem 2rem 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-mark {
  width: 118px;
  height: 118px;
  object-fit: contain;
  margin: 0 auto 1.6rem;
}

.badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(217, 182, 84, 0.55);
  color: var(--gold-light);
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.05rem;
  color: #c3cfdd;
  max-width: 680px;
  margin: 0 auto 2.4rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   신뢰 지표 바
============================================================ */
.facts {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.facts-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  padding: 2rem 1.2rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

.fact:last-child {
  border-right: none;
}

.fact dt {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.fact dd {
  font-family: 'Noto Serif KR', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-800);
}

/* ============================================================
   서브 페이지 배너
============================================================ */
.page-header {
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #fff;
  text-align: center;
  padding: 3.6rem 2rem;
  border-bottom: 3px solid var(--gold);
}

.page-header .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  color: var(--gold-light);
  margin-bottom: 0.7rem;
}

.page-header h1 {
  font-size: 2rem;
}

/* ============================================================
   섹션 공통
============================================================ */
section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4.5rem 2rem;
}

section + section {
  padding-top: 0;
}

.section-head {
  text-align: center;
  margin-bottom: 2.8rem;
}

.section-head .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: 1.7rem;
  color: var(--navy-800);
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 44px;
  height: 2px;
  background: var(--gold);
}

.section-lead {
  max-width: 640px;
  margin: 1.2rem auto 0;
  color: var(--text-light);
  font-size: 0.98rem;
}

.section-more {
  text-align: center;
  margin-top: 2.4rem;
}

.text-link {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy-700);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

.text-link:hover {
  color: var(--gold);
}

/* ============================================================
   카드 / 본문 박스
============================================================ */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.8rem;
}

.panel p {
  color: var(--text-light);
  margin-bottom: 1.1rem;
}

.panel p:last-child {
  margin-bottom: 0;
}

.panel strong {
  color: var(--navy-800);
}

/* 엠블럼 소개 */
.emblem-box {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  background: linear-gradient(140deg, var(--navy-800), var(--navy-900));
  border-radius: var(--radius);
  padding: 2.4rem 2.8rem;
  color: #c3cfdd;
}

.emblem-box img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  flex-shrink: 0;
}

.emblem-box h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.emblem-box p {
  font-size: 0.95rem;
}

/* 인사말 */
.greeting-quote {
  font-family: 'Noto Serif KR', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.7;
  padding-bottom: 1.6rem;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid var(--border);
}

.greeting-author {
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
  text-align: right;
  color: var(--text-light);
  line-height: 1.9;
}

.greeting-author strong {
  display: block;
  font-family: 'Noto Serif KR', serif;
  font-size: 1.15rem;
  color: var(--navy-800);
}

/* 주요 사업 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.4rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
}

.service-card .num {
  font-family: 'Noto Serif KR', serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 0.8rem;
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--navy-800);
  margin-bottom: 0.8rem;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ============================================================
   임명장 갤러리
============================================================ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(186px, 1fr));
  gap: 1.3rem;
}

.cert-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cert-frame {
  background: #f1f3f6;
  padding: 1rem;
  display: flex;
  justify-content: center;
}

.cert-frame img {
  width: 100%;
  max-width: 200px;
  height: 250px;
  object-fit: contain;
}

.cert-caption {
  padding: 1rem 1.1rem 1.2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.cert-caption .region {
  display: block;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.cert-caption .name {
  font-family: 'Noto Serif KR', serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy-800);
}

.cert-caption .date {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.3rem;
}

/* ============================================================
   활동 사진
============================================================ */
.feature-photo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-photo img {
  width: 100%;
  height: auto;
}

.feature-photo figcaption {
  padding: 1.2rem 1.6rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
}

.feature-photo figcaption .date {
  color: var(--gold);
  font-weight: 700;
  margin-left: 0.5rem;
}

.feature-photo.narrow {
  max-width: 620px;
  margin: 1.5rem auto 0;
}

.poster {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
}

.poster img {
  width: 320px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.poster h3 {
  font-size: 1.25rem;
  color: var(--navy-800);
  margin-bottom: 0.8rem;
}

.poster p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.poster .meta {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
}

.poster .meta div {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 0.5rem;
}

.poster .meta dt {
  width: 74px;
  flex-shrink: 0;
  font-weight: 700;
  color: var(--navy-800);
}

.poster .meta dd {
  color: var(--text-light);
}

/* ============================================================
   협약 / 정보 테이블
============================================================ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.data-table th,
.data-table td {
  padding: 1.1rem 1.4rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.data-table tr:last-child th,
.data-table tr:last-child td {
  border-bottom: none;
}

.data-table th {
  width: 190px;
  background: #f4f6f9;
  color: var(--navy-800);
  font-weight: 700;
  vertical-align: top;
}

.data-table td {
  color: var(--text-light);
}

.data-table ul li {
  position: relative;
  padding-left: 0.9rem;
  margin-bottom: 0.3rem;
}

.data-table ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

/* 기관 정보 박스 */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1.5rem;
}

.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.info-box h3 {
  font-size: 1.1rem;
  color: var(--navy-800);
  padding-bottom: 0.9rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--border);
}

.info-item {
  margin-bottom: 1.3rem;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.info-item p {
  color: var(--text-light);
  font-size: 0.97rem;
}

.info-item a:hover {
  color: var(--navy-700);
}

/* ============================================================
   후원 안내 배너
============================================================ */
.cta {
  background: linear-gradient(140deg, var(--navy-800), var(--navy-900));
  color: #fff;
  text-align: center;
  padding: 3.6rem 2rem;
  margin-top: 4.5rem;
}

.cta h2 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.cta p {
  color: #b9c6d5;
  max-width: 620px;
  margin: 0 auto 2rem;
  font-size: 0.98rem;
}

.cta-tel {
  font-family: 'Noto Serif KR', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.02em;
  display: inline-block;
  margin-bottom: 1.6rem;
}

/* ============================================================
   푸터
============================================================ */
footer {
  background: var(--navy-900);
  color: #93a2b4;
  font-size: 0.88rem;
  padding: 3.2rem 0 2rem;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 560px;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-brand .name {
  font-family: 'Noto Serif KR', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  margin-bottom: 0.25rem;
  line-height: 1.7;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-nav a {
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 2.4rem auto 0;
  padding: 1.4rem 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.82rem;
  color: #6d7d90;
}

/* ============================================================
   반응형
============================================================ */
@media (max-width: 1180px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.25s ease;
  }

  .nav-menu.open {
    max-height: calc(100vh - var(--topbar-height) - var(--header-height) - 1px);
    max-height: calc(100dvh - var(--topbar-height) - var(--header-height) - 1px);
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: visible;
  }

  .nav-menu a {
    display: block;
    padding: 0.95rem 2rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-menu a::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact:nth-child(2) {
    border-right: none;
  }

  .fact:nth-child(1),
  .fact:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }

  .poster {
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
  }

  .poster img {
    width: 100%;
    max-width: 340px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 66px;
  }

  .topbar .reg {
    display: none;
  }

  .topbar .container {
    justify-content: center;
  }

  .nav-container {
    padding: 0 1.25rem;
    gap: 1rem;
  }

  .brand {
    flex-shrink: 1;
    min-width: 0;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-mark img {
    width: 31px;
    height: 31px;
  }

  .brand-name {
    min-width: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .nav-menu a {
    padding: 0.95rem 1.25rem;
  }

  .hero {
    padding: 3.2rem 1.25rem;
  }

  .hero-mark {
    width: 88px;
    height: 88px;
  }

  .hero h1 {
    font-size: 1.65rem;
  }

  .page-header {
    padding: 2.6rem 1.25rem;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }

  section {
    padding: 3rem 1.25rem;
  }

  .panel {
    padding: 1.8rem 1.4rem;
  }

  .greeting-quote {
    font-size: 1.15rem;
  }

  .data-table:not(.fig-table) th,
  .data-table:not(.fig-table) td {
    display: block;
    width: 100%;
  }

  .data-table:not(.fig-table) th {
    border-bottom: none;
    padding-bottom: 0.4rem;
  }

  .cta {
    padding: 2.6rem 1.25rem;
  }

  .cta-tel {
    font-size: 1.5rem;
  }

  .emblem-box {
    flex-direction: column;
    text-align: center;
    gap: 1.4rem;
    padding: 2rem 1.4rem;
  }

  .footer-container {
    flex-direction: column;
    gap: 1.8rem;
    padding: 0 1.25rem;
  }

  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-bottom {
    padding: 1.4rem 1.25rem 0;
  }
}

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

  .fact {
    padding: 1.4rem 1rem;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .fact:last-child {
    border-bottom: none;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* ============================================
   기부금 공시 페이지 · 관계기관 배너
   ============================================ */

/* --- 공시 표 --- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.fig-table {
  min-width: 640px;
}
.fig-table thead th {
  width: auto;
  background: var(--navy-800);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  vertical-align: middle;
}
.fig-table tbody th {
  width: auto;
  min-width: 150px;
  white-space: nowrap;
}
.fig-table tbody td {
  text-align: right;
}
.fig-table tbody td:last-child {
  text-align: left;
}
.fig-table .row-total th,
.fig-table .row-total td {
  background: #f4f6f9;
  color: var(--navy-800);
  font-weight: 700;
}
.tbd {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border: 1px dashed var(--border);
  border-radius: 3px;
  background: #fafbfc;
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
}
.table-note {
  margin-top: 0.9rem;
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.7;
}
.panel p.note {
  margin-top: 1.4rem;
  padding: 0.9rem 1.1rem;
  border-left: 3px solid var(--gold);
  background: #fbf8f0;
  color: var(--text-light);
  font-size: 0.88rem;
}

/* --- 관계기관 배너 --- */
.agency-band {
  background: #eef1f5;
  border-top: 1px solid var(--border);
  padding: 2.4rem 0;
}
.agency-band-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.agency-band-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.agency-banners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.agency-banner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.agency-banner:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.agency-banner.is-primary {
  border-left: 3px solid var(--gold);
}
.agency-banner-mark {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  font-family: 'Noto Serif KR', serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.agency-banner.is-primary .agency-banner-mark {
  background: var(--gold);
}
.agency-banner-text {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
}
.agency-banner-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-800);
}
.agency-banner-sub {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}
.agency-banner-go {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--gold);
}

/* --- 메뉴 8개 대응 --- */
@media (max-width: 1300px) and (min-width: 1181px) {
  .nav-menu {
    gap: 1.2rem;
  }

  .nav-menu a {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .agency-band {
    padding: 1.8rem 0;
  }

  .agency-band-inner {
    padding: 0 1.25rem;
  }

  .fig-table {
    min-width: 560px;
  }
}

/* ============================================
   정관 페이지
   ============================================ */

/* --- 목차 --- */
.bylaw-toc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 0.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}
.bylaw-toc a {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  padding: 0.65rem 0.8rem;
  border-radius: 4px;
  font-size: 0.93rem;
  color: var(--text);
  transition: background 0.2s, color 0.2s;
}
.bylaw-toc a:hover {
  background: #f4f6f9;
  color: var(--navy-800);
}
.bylaw-toc a span {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--navy-700);
}
.bylaw-toc a em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
}

/* --- 장 --- */
.bylaw-chapter {
  margin-bottom: 3rem;
  scroll-margin-top: 92px;
}
.bylaw-chapter:last-child {
  margin-bottom: 0;
}
.bylaw-ch {
  font-family: 'Noto Serif KR', serif;
  font-size: 1.25rem;
  color: var(--navy-800);
  padding-bottom: 0.8rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--navy-800);
}

/* --- 조 --- */
.bylaw-art {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  margin-bottom: 0.85rem;
  scroll-margin-top: 92px;
}
.bylaw-art:last-child {
  margin-bottom: 0;
}
.bylaw-art h4 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 1.02rem;
  color: var(--navy-800);
  margin-bottom: 0.9rem;
}
.art-no {
  flex-shrink: 0;
  background: var(--navy-800);
  color: #fff;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
}
.bylaw-art p {
  color: var(--text-light);
  font-size: 0.94rem;
  line-height: 1.85;
  margin-bottom: 0.55rem;
}
.bylaw-art p:last-child {
  margin-bottom: 0;
}
.bylaw-nums {
  list-style: none;
  counter-reset: bylaw-no;
  margin: 0.5rem 0 0.9rem;
  padding-left: 0.9rem;
}
.bylaw-nums li {
  position: relative;
  counter-increment: bylaw-no;
  padding-left: 1.7rem;
  margin-bottom: 0.4rem;
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.8;
}
.bylaw-nums li:last-child {
  margin-bottom: 0;
}
.bylaw-nums li::before {
  content: counter(bylaw-no) ".";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* --- 기부금 공시 근거 조문 강조 --- */
.bylaw-art.is-highlight {
  border-left-color: var(--gold);
  background: #fdfbf4;
}
.bylaw-art .art-link {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--border);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .bylaw-toc {
    padding: 1rem;
  }

  .bylaw-art {
    padding: 1.3rem 1.2rem;
  }

  .bylaw-art h4 {
    font-size: 0.98rem;
  }

  .bylaw-ch {
    font-size: 1.12rem;
  }
}

/* ============================================
   후원계좌
   ============================================ */
.account-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.3rem;
  background: var(--navy-800);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.7rem 1.9rem;
  margin-bottom: 1.4rem;
}
.account-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  margin-bottom: 0.55rem;
}
.account-no {
  font-family: 'Noto Serif KR', serif;
  font-size: 1.32rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
  word-break: keep-all;
}
.account-no strong {
  letter-spacing: 0.01em;
}
.account-holder {
  font-size: 0.86rem;
  color: #93a2b4;
}
.account-copy {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.72rem 1.35rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.account-copy:hover,
.account-copy.copied {
  background: var(--gold);
  border-color: var(--gold);
}

@media (max-width: 560px) {
  .account-box {
    padding: 1.35rem 1.2rem;
  }

  .account-no {
    font-size: 1.12rem;
  }

  .account-copy {
    width: 100%;
  }
}
