@charset "UTF-8";
/* ==========================================================================
   웰쉐어 사회적협동조합 (wssc.co.kr / coop.wssc.or.kr) — 규장각 고서 정관 총람 스타일시트
   미학 방향: 훈민정음 해례본 목판 수결 + 십장생·만년송 수묵 판화 + 탈-AI 편집 디자인(Hallmark & Impeccable)
   핵심 원칙: 조잡한 중첩 박스(card-in-card)와 두꺼운 검은 테두리 남발을 제거하고,
             한지 여백·먹선 계선(Hairline Rules)·전통 주칠 인장·황동 계기판의 정교함으로 완성한다.
   ========================================================================== */

:root {
  --paper-bg: #F4EFE4;
  --paper-card: #FAF7F0;
  --paper-alt: #EDE5D5;
  --paper-deep: #E0D5BE;
  --ink-black: #1B1814;
  --ink-body: #2C2721;
  --ink-muted: #63584A;
  --seal-red: #9B2226;
  --seal-red-dark: #741619;
  --seal-bg: #F8ECE9;
  --org-navy: #1D3557;
  --org-navy-light: #EAEFF5;
  --coop-green: #214E3C;
  --coop-green-light: #E7F0EC;
  --brass-gold: #8A693E;
  --brass-light: #D4B98C;
  --border-heavy: 1.5px solid rgba(27, 24, 20, 0.55);
  --border-double: 3px double rgba(27, 24, 20, 0.62);
  --border-thin: 1px solid rgba(100, 88, 72, 0.26);
  --border-dark-thin: 1px solid rgba(27, 24, 20, 0.24);
  --font-serif: "Noto Serif KR", "Batang", "바탕", "Nanum Myeongjo", Georgia, serif;
  --font-sans: "Pretendard", "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
  --base-scale: 1;
}

html[data-font-scale="lg"] {
  --base-scale: 1.1;
}
html[data-font-scale="xl"] {
  --base-scale: 1.2;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: calc(16px * var(--base-scale));
  scroll-behavior: smooth;
  background-color: var(--paper-bg);
  color: var(--ink-black);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--ink-body);
  background-color: var(--paper-bg);
  background-image:
    radial-gradient(rgba(138, 105, 62, 0.06) 1px, transparent 0),
    linear-gradient(180deg, rgba(237, 229, 213, 0.65) 0%, rgba(244, 239, 228, 0.95) 40%, rgba(235, 226, 208, 0.7) 100%);
  background-size: 28px 28px, 100% 100%;
  line-height: 1.74;
  word-break: keep-all;
  position: relative;
  overflow-x: hidden;
}

/* ── 훈민정음 해례본(訓民正音 解例本) 목판본 한지 수결 배경 레이어 ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='520' viewBox='0 0 360 520'%3E%3Cg fill='none' stroke='%231B1814' stroke-width='0.8'%3E%3Crect x='12' y='12' width='336' height='496' stroke-width='1.5'/%3E%3Cline x1='96' y1='12' x2='96' y2='508'/%3E%3Cline x1='180' y1='12' x2='180' y2='508'/%3E%3Cline x1='264' y1='12' x2='264' y2='508'/%3E%3C/g%3E%3Cg fill='%231B1814' font-family='Noto Serif KR, Batang, serif' font-size='21' font-weight='700'%3E%3Ctext x='295' y='52' writing-mode='tb'%3E訓民正音解例本·國之語音異乎中國%3C/text%3E%3Ctext x='212' y='52' writing-mode='tb'%3E나랏말ᄊᆞ미듕귁에달아문자와로서르%3C/text%3E%3Ctext x='128' y='52' writing-mode='tb'%3Eᄉᆞᄆᆞᆺ디아니ᄒᆞᆯᄊᆡ이런전ᄎᆞ로어린백셩이%3C/text%3E%3Ctext x='44' y='52' writing-mode='tb'%3E웰쉐어社會的協同組合·十長生萬年松總覽%3C/text%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 360px 520px;
}

body > * {
  position: relative;
  z-index: 1;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ── 상단 공식 등록번호 및 실시간 방문 통계 줄 (Official Gazette Top Bar) ── */
.gazette-topbar {
  background: #181512;
  color: #F4EFE6;
  border-bottom: 1px solid var(--brass-gold);
  font-family: var(--font-sans);
  font-size: 0.8rem;
}

.gazette-topbar-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0.42rem 1.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.gazette-reg-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.85rem;
}

.gazette-reg-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.1rem 0.52rem;
  background: var(--seal-red);
  color: #FFF;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.gazette-reg-sep {
  color: #7A6E5D;
}

.live-telemetry-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(138, 105, 62, 0.22);
  border: 1px solid rgba(212, 185, 140, 0.45);
  color: #F3DFC1;
  padding: 0.12rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 6px #4ADE80;
  display: inline-block;
}

.gazette-tools {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.tool-btn {
  background: rgba(255, 255, 255, 0.06);
  color: #EFE9DC;
  border: 1px solid rgba(212, 185, 140, 0.35);
  padding: 0.2rem 0.58rem;
  font-size: 0.76rem;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.tool-btn:hover,
.tool-btn.active {
  background: var(--seal-red);
  border-color: #FFD166;
  color: #FFF;
}

/* ── 제호 머리판 (Broadsheet Masthead — 고서 능화 표지 & 최신 3색 꽃잎 CI 로고) ── */
.coop-masthead {
  background: rgba(250, 247, 240, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: var(--border-double);
  position: sticky;
  top: 0;
  z-index: 95;
  box-shadow: 0 4px 20px rgba(27, 24, 20, 0.06);
}

.masthead-upper {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0.9rem 1.35rem 0.8rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
  border-bottom: var(--border-dark-thin);
}

.masthead-meta-left {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.5;
  border-left: 2px solid var(--org-navy);
  padding-left: 0.8rem;
  font-family: var(--font-sans);
}

.masthead-meta-left strong {
  color: var(--ink-black);
  display: block;
  font-family: var(--font-serif);
  font-size: 0.92rem;
  margin-bottom: 0.1rem;
}

.masthead-brand {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.masthead-brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.95rem;
  flex-wrap: wrap;
}

.masthead-favicon-emblem {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(155, 34, 38, 0.45);
  box-shadow: 0 2px 6px rgba(27, 24, 20, 0.1);
  flex-shrink: 0;
  background: #FAF5EA;
}

.masthead-favicon-emblem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.masthead-logo-box {
  background: transparent;
  padding: 0.15rem 0.4rem;
  display: inline-flex;
  align-items: center;
}

.masthead-logo-box img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 1px 2px rgba(27, 24, 20, 0.08));
}

.masthead-title {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink-black);
  line-height: 1.15;
}

.masthead-sub {
  font-size: 0.76rem;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--brass-gold);
  text-transform: uppercase;
  margin-top: 0.15rem;
}

/* 실제 공식 사각 직인 이미지 배지 */
.official-seal-img-wrap {
  width: 52px;
  height: 52px;
  padding: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-2deg);
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.official-seal-img-wrap:hover {
  transform: rotate(0deg) scale(1.08);
}

.official-seal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.masthead-meta-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.masthead-contact-ledger {
  text-align: right;
  font-size: 0.82rem;
  line-height: 1.48;
  font-family: var(--font-sans);
  color: var(--ink-muted);
}

.masthead-contact-ledger strong {
  color: var(--ink-black);
}

.masthead-contact-ledger .tel-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--seal-red);
}

/* ── 메인 항해 대장 (Navigation Ledger Bar) ── */
.masthead-nav-wrap {
  background: var(--paper-alt);
  border-top: 1px solid rgba(27, 24, 20, 0.08);
}

.masthead-nav {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 1.35rem;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  border-right: var(--border-thin);
}

.nav-links li:first-child {
  border-left: var(--border-thin);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.62rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-black);
  transition: background 0.18s, color 0.18s;
}

.nav-link .nav-hanja {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--seal-red);
  font-weight: 700;
}

.nav-link:hover,
.nav-link.active {
  background: var(--ink-black);
  color: #FAF7F0;
}

.nav-link:hover .nav-hanja,
.nav-link.active .nav-hanja {
  color: #E9C46A;
}

.nav-quick-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0;
}

.search-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--paper-card);
  border: var(--border-dark-thin);
  padding: 0.34rem 0.78rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.search-trigger-btn:hover {
  background: var(--org-navy);
  color: #FFF;
}

.search-kbd {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: var(--paper-alt);
  color: var(--ink-black);
  padding: 0.04rem 0.32rem;
  border: 1px solid var(--border-thin);
}

/* ── 공통 총람 컨테이너 & 고서 책틀 프레임 (과도한 내부 테두리 제거) ── */
.gazette-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 1.5rem 1.35rem 3.5rem;
}

.double-frame {
  background: var(--paper-card);
  border: var(--border-double);
  position: relative;
  margin-bottom: 2.4rem;
  box-shadow: 0 8px 28px rgba(27, 24, 20, 0.045);
}

/* 고서 귀갑문(모서리 장식선) 포인트 */
.double-frame::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(138, 105, 62, 0.18);
  pointer-events: none;
}

.section-banner-head {
  background: linear-gradient(90deg, #1A1714 0%, #26211B 65%, #1F2E3D 100%);
  color: #F4EFE6;
  padding: 0.78rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 2px solid var(--brass-gold);
}

.section-banner-head .sec-no {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  background: var(--seal-red);
  color: #FFF;
  padding: 0.14rem 0.55rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.section-banner-head h2 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.section-banner-head .sec-meta {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: #D8CFC0;
}

/* ── 십장생·만년송·훈민정음 해례본 3D 다층 병풍 헤더 (3D Folding Screen Parallax Banner) ── */
.heritage-screen-banner {
  position: relative;
  overflow: hidden;
  border-bottom: var(--border-dark-thin);
  background:
    linear-gradient(90deg, rgba(250, 247, 240, 0.92) 0%, rgba(250, 247, 240, 0.72) 48%, rgba(250, 247, 240, 0.88) 100%),
    url("/assets/ci/sipjangsaeng_frieze.png") center center / cover no-repeat;
  padding: 1.35rem 1.6rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem;
  perspective: 1000px;
}

.heritage-screen-copy {
  position: relative;
  z-index: 2;
}

.heritage-screen-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--coop-green);
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(33, 78, 60, 0.35);
  padding-bottom: 0.2rem;
  margin-bottom: 0.45rem;
}

.heritage-screen-title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--ink-black);
}

.heritage-screen-desc {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  color: var(--ink-body);
  max-width: 78ch;
}

.heritage-ten-symbols-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
}

.ten-symbol-tag {
  background: rgba(250, 247, 240, 0.92);
  border: 1px solid rgba(138, 105, 62, 0.45);
  color: var(--ink-black);
  padding: 0.22rem 0.58rem;
  font-size: 0.76rem;
  font-weight: 700;
  font-family: var(--font-serif);
}

/* ── 제1면: 인간의 힘과 조직력 대문 (Hero Broadsheet Frontpage — 탈-AI 편집 레이아웃) ── */
.hero-broadsheet {
  display: grid;
  grid-template-columns: 7fr 5fr;
  border-bottom: var(--border-dark-thin);
}

.hero-main-col {
  padding: 1.65rem 1.75rem;
  border-right: var(--border-dark-thin);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 1px solid var(--ink-black);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.hero-kicker-tag {
  color: var(--seal-red);
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.hero-kicker-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.hero-headline {
  margin: 0 0 0.75rem;
  font-size: 2.15rem;
  font-weight: 900;
  line-height: 1.32;
  color: var(--ink-black);
  letter-spacing: -0.02em;
}

.hero-headline .red-ink {
  color: var(--seal-red);
  border-bottom: 2px solid rgba(155, 34, 38, 0.28);
}

.hero-lead {
  margin: 0 0 1.25rem;
  font-size: 1.02rem;
  color: var(--ink-body);
  border-left: 3px solid var(--brass-gold);
  padding: 0.4rem 0 0.4rem 0.95rem;
  font-weight: 600;
}

/* 대문 사진 화보 틀 */
.hero-photo-frame {
  border: 1px solid rgba(27, 24, 20, 0.35);
  background: #141210;
  position: relative;
}

.hero-photo-viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #171512;
}

.hero-photo-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.03) sepia(0.05);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-photo-viewport:hover img {
  transform: scale(1.02);
}

.hero-photo-stamp {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(24, 21, 18, 0.86);
  color: #FAF7F0;
  border-left: 3px solid var(--seal-red);
  padding: 0.25rem 0.68rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-photo-caption-bar {
  background: #1B1814;
  color: #F4EFE6;
  padding: 0.65rem 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-family: var(--font-sans);
  font-size: 0.82rem;
}

.hero-slide-tabs {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.hero-slide-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #D8CFC0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.2rem 0.55rem;
  font-size: 0.74rem;
  cursor: pointer;
  transition: all 0.15s;
}

.hero-slide-btn.active,
.hero-slide-btn:hover {
  background: var(--seal-red);
  color: #FFF;
  border-color: #FFD166;
}

/* 우측: 협동조합 선언문 및 조직 강령 대장 (중첩 카드 없이 먹선 계선으로 정갈하게 분리) */
.hero-side-col {
  padding: 1.65rem 1.65rem;
  background: linear-gradient(180deg, rgba(237, 229, 213, 0.38) 0%, rgba(250, 247, 240, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
}

.charter-box {
  border-top: 2px solid var(--ink-black);
  border-bottom: 1px solid rgba(27, 24, 20, 0.22);
  padding: 0.95rem 0;
  background: transparent;
}

.charter-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(155, 34, 38, 0.35);
  padding-bottom: 0.4rem;
  margin-bottom: 0.75rem;
}

.charter-box-head h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--org-navy);
}

.wellshare-etymology {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.etym-card {
  border-left: 2px solid var(--seal-red);
  padding: 0.25rem 0 0.25rem 0.65rem;
  background: transparent;
}

.etym-card strong {
  display: block;
  color: var(--seal-red);
  font-size: 0.96rem;
}

.etym-card span {
  font-size: 0.84rem;
  font-family: var(--font-sans);
  color: var(--ink-muted);
  font-weight: 600;
}

.charter-meaning {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.62;
  color: var(--ink-body);
}

/* 인간·조직 수치 총괄 대장 (고서 세선 표) */
.org-power-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 0.85rem;
}

.org-power-table th,
.org-power-table td {
  border-top: 1px solid rgba(27, 24, 20, 0.18);
  border-bottom: 1px solid rgba(27, 24, 20, 0.18);
  padding: 0.48rem 0.6rem;
  text-align: left;
}

.org-power-table th {
  color: var(--org-navy);
  font-weight: 800;
  width: 30%;
  background: rgba(29, 53, 87, 0.05);
}

.org-power-table td strong {
  color: var(--seal-red);
  font-weight: 800;
}

.hero-cta-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.classic-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.58rem 0.8rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.84rem;
  border: 1px solid var(--ink-black);
  background: var(--paper-card);
  color: var(--ink-black);
  cursor: pointer;
  text-align: center;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.classic-btn:hover {
  background: var(--ink-black);
  color: #FFF;
}

.classic-btn.primary {
  background: var(--seal-red);
  border-color: var(--seal-red);
  color: #FFF;
}

.classic-btn.primary:hover {
  background: var(--seal-red-dark);
}

.classic-btn.navy {
  background: var(--org-navy);
  border-color: var(--org-navy);
  color: #FFF;
}

.classic-btn.navy:hover {
  background: var(--ink-black);
}

/* ── 4대 국가·경기도·ISO 공인 인증 패 (4 Certifications Strip) ── */
.cert-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--paper-card);
}

.cert-plaque {
  padding: 1.15rem 1.25rem;
  border-right: var(--border-dark-thin);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cert-plaque:last-child {
  border-right: none;
}

.cert-plaque-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.cert-no {
  color: var(--brass-gold);
  font-weight: 700;
  border-bottom: 1px solid var(--brass-gold);
}

.cert-date {
  color: var(--seal-red);
  font-weight: 700;
}

.cert-plaque h3 {
  margin: 0.15rem 0 0;
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--ink-black);
}

.cert-issuer {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--coop-green);
}

.cert-desc {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--ink-muted);
  line-height: 1.52;
}

/* ── 4D 클래식 스포츠카 황동 계기판 & 드론 순찰 관제 브리지 (Brass Chronometer Cockpit) ── */
.cockpit-chronometer-band {
  background: linear-gradient(180deg, #1E1A16 0%, #14110E 100%);
  color: #F3ECE0;
  border-bottom: 2px solid var(--brass-gold);
  padding: 1.25rem 1.5rem;
}

.cockpit-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
  border-bottom: 1px solid rgba(212, 185, 140, 0.25);
  padding-bottom: 0.85rem;
  margin-bottom: 1.1rem;
}

.cockpit-title-group strong {
  color: #E9C46A;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  display: block;
}

.cockpit-title-group h3 {
  margin: 0.15rem 0 0;
  font-size: 1.15rem;
  color: #FAF7F0;
}

.gear-shifter-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 185, 140, 0.35);
  padding: 0.3rem;
}

.gear-btn {
  background: transparent;
  color: #D8CFC0;
  border: 1px solid transparent;
  padding: 0.32rem 0.68rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
}

.gear-btn:hover,
.gear-btn.active {
  background: var(--seal-red);
  color: #FFF;
  border-color: #E9C46A;
}

.cockpit-gauges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.brass-gauge-card {
  background: radial-gradient(circle at 50% 35%, rgba(46, 39, 31, 0.95), rgba(22, 19, 15, 0.98));
  border: 1px solid rgba(212, 185, 140, 0.42);
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.gauge-dial-svg {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.gauge-needle {
  transform-origin: 50px 50px;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.gauge-meta {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.gauge-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: #C7B9A3;
}

.gauge-value {
  font-family: var(--font-mono);
  font-size: 1.22rem;
  font-weight: 700;
  color: #E9C46A;
}

.gauge-sub {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  color: #9E9281;
}

.cockpit-status-strip {
  margin-top: 0.9rem;
  padding-top: 0.7rem;
  border-top: 1px dashed rgba(212, 185, 140, 0.24);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: #E5DCCB;
}

/* ── 김기흥 이사장 리더십·수상·대외활동 & 희망나르미 사협전환 10주년 연대 총람 ── */
.leadership-narami-split {
  display: grid;
  grid-template-columns: 6fr 6fr;
  border-bottom: var(--border-dark-thin);
}

.leadership-col {
  padding: 1.6rem 1.75rem;
  border-right: var(--border-dark-thin);
  background: var(--paper-card);
}

.narami-col {
  padding: 1.6rem 1.75rem;
  background: linear-gradient(180deg, rgba(237, 229, 213, 0.35) 0%, rgba(250, 247, 240, 0.95) 100%);
}

.editorial-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--seal-red);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.25rem;
}

.editorial-heading {
  margin: 0 0 0.45rem;
  font-size: 1.38rem;
  font-weight: 900;
  color: var(--ink-black);
}

.chairman-quote-box {
  border-left: 3px solid var(--seal-red);
  padding: 0.55rem 0 0.55rem 1rem;
  margin: 0.85rem 0 1.15rem;
  font-style: normal;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--ink-black);
  background: rgba(155, 34, 38, 0.035);
}

.awards-duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.award-plaque-item {
  border-top: 2px solid var(--brass-gold);
  border-bottom: 1px solid rgba(27, 24, 20, 0.18);
  padding: 0.7rem 0.2rem;
}

.award-plaque-item .award-badge {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--seal-red);
  font-weight: 700;
}

.award-plaque-item h4 {
  margin: 0.2rem 0;
  font-size: 1rem;
  font-weight: 900;
  color: var(--ink-black);
}

.award-plaque-item p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.narami-10th-box {
  border-top: 2px solid var(--org-navy);
  border-bottom: 1px solid rgba(27, 24, 20, 0.24);
  padding: 0.95rem 0;
  margin-bottom: 1.1rem;
}

.narami-10th-slogan {
  font-size: 1.02rem;
  font-weight: 900;
  color: var(--org-navy);
  margin: 0.35rem 0 0.55rem;
}

.narami-activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: var(--border-dark-thin);
}

.narami-act-cell {
  padding: 1.15rem 1.35rem;
  border-right: var(--border-dark-thin);
  border-bottom: var(--border-dark-thin);
  background: var(--paper-card);
}

.narami-act-cell:nth-child(3n) {
  border-right: none;
}

.narami-act-cell .act-code {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--coop-green);
  font-weight: 700;
}

.narami-act-cell h4 {
  margin: 0.25rem 0 0.45rem;
  font-size: 1rem;
  font-weight: 900;
  color: var(--ink-black);
  line-height: 1.38;
}

.narami-act-cell p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.83rem;
  color: var(--ink-body);
  line-height: 1.58;
}

/* ── 핵심 기능 1: 조직 지휘 계통도 & 경기도 7대 권역 22개 시·군 작전 지도 ── */
.org-command-layout {
  display: flex;
  flex-direction: column;
}

.governance-tree-panel {
  padding: 1.35rem 1.5rem;
  background: var(--paper-alt);
  border-bottom: var(--border-dark-thin);
}

.gov-tree-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.gov-tree-intro p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
}

.gov-diagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  align-items: stretch;
}

.gov-stage-box {
  background: var(--paper-card);
  border-top: 2px solid var(--ink-black);
  border-bottom: 1px solid rgba(27, 24, 20, 0.22);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
}

.gov-stage-label {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--brass-gold);
  border-bottom: 1px solid rgba(138, 105, 62, 0.25);
  padding-bottom: 0.22rem;
}

.gov-node-btn {
  width: 100%;
  text-align: left;
  background: var(--paper-alt);
  border: 1px solid rgba(27, 24, 20, 0.25);
  padding: 0.5rem 0.68rem;
  cursor: pointer;
  transition: all 0.16s;
}

.gov-node-btn strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink-black);
}

.gov-node-btn span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  color: var(--ink-muted);
  margin-top: 0.12rem;
}

.gov-node-btn:hover,
.gov-node-btn.active {
  background: var(--org-navy);
  color: #FFF;
  border-color: var(--org-navy);
}

.gov-node-btn:hover strong,
.gov-node-btn.active strong,
.gov-node-btn:hover span,
.gov-node-btn.active span {
  color: #FFF;
}

.gov-detail-callout {
  margin-top: 0.85rem;
  background: var(--paper-card);
  border-left: 3px solid var(--seal-red);
  padding: 0.7rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.86rem;
}

.territory-command-body {
  display: grid;
  grid-template-columns: 6fr 6fr;
}

.territory-map-col {
  padding: 1.25rem;
  border-right: var(--border-dark-thin);
  background: #EFE8D8;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.region-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.region-tab-btn {
  padding: 0.32rem 0.62rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(27, 24, 20, 0.32);
  background: var(--paper-card);
  cursor: pointer;
  transition: all 0.15s;
}

.region-tab-btn:hover,
.region-tab-btn.active {
  background: var(--seal-red);
  border-color: var(--seal-red);
  color: #FFF;
}

.svg-map-stage {
  border: 1px solid rgba(27, 24, 20, 0.35);
  background: #FAF6ED;
  position: relative;
  overflow: hidden;
}

.svg-map-compass {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background: rgba(250, 247, 240, 0.94);
  border-left: 3px solid var(--org-navy);
  padding: 0.35rem 0.65rem;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  z-index: 2;
}

.svg-map-compass strong {
  display: block;
  color: var(--org-navy);
  font-size: 0.8rem;
}

.svg-map-legend {
  position: absolute;
  bottom: 0.65rem;
  right: 0.65rem;
  background: rgba(250, 247, 240, 0.94);
  border: 1px solid rgba(27, 24, 20, 0.25);
  padding: 0.4rem 0.65rem;
  font-family: var(--font-sans);
  font-size: 0.73rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.legend-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.legend-swatch {
  width: 11px;
  height: 11px;
  border: 1px solid var(--ink-black);
  display: inline-block;
}

.wssc-svg-map {
  width: 100%;
  height: auto;
  max-height: 540px;
  display: block;
}

.map-city-path {
  fill: #E4DCCB;
  stroke: #6E6252;
  stroke-width: 0.95;
  transition: fill 0.18s, stroke-width 0.18s;
  cursor: pointer;
}

.map-city-path.in-7region {
  fill: #C9D6E6;
  stroke: #1D3557;
  stroke-width: 1.25;
}

.map-city-path.in-special {
  fill: #CFE2D7;
  stroke: #214E3C;
  stroke-width: 1.25;
}

.map-city-path.is-hq {
  fill: #E9B8BA;
  stroke: #9B2226;
  stroke-width: 1.7;
}

.map-city-path:hover,
.map-city-path.highlighted {
  fill: #9B2226 !important;
  stroke: #1B1814 !important;
  stroke-width: 2.1 !important;
}

/* 드론 순찰 궤적 애니메이션 */
.drone-patrol-route {
  fill: none;
  stroke: #9B2226;
  stroke-width: 1.8;
  stroke-dasharray: 5 5;
  opacity: 0.75;
  pointer-events: none;
}

.drone-beacon-group {
  pointer-events: none;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.map-city-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  fill: #1B1814;
  text-anchor: middle;
  pointer-events: none;
  paint-order: stroke;
  stroke: #FAF7F0;
  stroke-width: 3px;
}

.map-city-label.active-label {
  fill: #FFF;
  stroke: #9B2226;
  stroke-width: 4px;
  font-size: 12.5px;
}

.territory-dossier-col {
  padding: 1.4rem 1.55rem;
  background: var(--paper-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.dossier-header {
  border-bottom: 1px solid var(--ink-black);
  padding-bottom: 0.6rem;
}

.dossier-code {
  display: inline-block;
  color: var(--org-navy);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.dossier-header h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--ink-black);
}

.dossier-cities-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.city-chip-btn {
  padding: 0.22rem 0.6rem;
  background: var(--paper-alt);
  border: 1px solid rgba(27, 24, 20, 0.28);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.city-chip-btn:hover,
.city-chip-btn.active {
  background: var(--seal-red);
  border-color: var(--seal-red);
  color: #FFF;
}

.dossier-list {
  margin: 0;
  padding-left: 1.15rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.65;
}

.dossier-list li {
  margin-bottom: 0.32rem;
}

.region-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 0.8rem;
}

.region-matrix-table th,
.region-matrix-table td {
  border-top: 1px solid rgba(27, 24, 20, 0.2);
  border-bottom: 1px solid rgba(27, 24, 20, 0.2);
  padding: 0.42rem 0.55rem;
  text-align: left;
}

.region-matrix-table th {
  background: var(--paper-alt);
  font-weight: 800;
}

.region-matrix-table tr.active-row {
  background: var(--seal-bg);
  font-weight: 700;
}

.region-matrix-table tr {
  cursor: pointer;
}

.region-matrix-table tr:hover {
  background: var(--org-navy-light);
}

.orig-orgchart-bar {
  background: var(--paper-alt);
  border-top: var(--border-dark-thin);
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
}

/* ── 6대 주요 사업 총람 대장 (6 Core Businesses Compendium) ── */
.biz-manifesto-banner {
  padding: 1.15rem 1.5rem;
  background: var(--paper-alt);
  border-bottom: var(--border-dark-thin);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-black);
  text-align: center;
}

.biz-ledger-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.biz-ledger-card {
  border-right: var(--border-dark-thin);
  border-bottom: var(--border-dark-thin);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  background: var(--paper-card);
}

.biz-ledger-card:nth-child(3n) {
  border-right: none;
}

.biz-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink-black);
  padding-bottom: 0.4rem;
}

.biz-no-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--org-navy);
}

.biz-comm-tag {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--seal-red);
}

.biz-ledger-card h3 {
  margin: 0.25rem 0;
  font-size: 1.14rem;
  font-weight: 900;
  color: var(--ink-black);
}

.biz-summary-text {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-body);
  border-left: 2px solid var(--org-navy);
  padding-left: 0.65rem;
}

.biz-photo-thumb {
  border: 1px solid rgba(27, 24, 20, 0.28);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #171512;
  cursor: pointer;
}

.biz-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.biz-photo-thumb:hover img {
  transform: scale(1.04);
}

.biz-region-note {
  font-family: var(--font-sans);
  font-size: 0.79rem;
  color: var(--ink-muted);
  border-top: 1px dashed rgba(100, 88, 72, 0.35);
  padding-top: 0.45rem;
}

.special-media-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper-alt);
  border-top: var(--border-dark-thin);
}

.special-media-col {
  padding: 1.35rem 1.5rem;
  border-right: var(--border-dark-thin);
}

.special-media-col:last-child {
  border-right: none;
}

.video-embed-frame {
  border: 1px solid var(--ink-black);
  aspect-ratio: 16 / 9;
  background: #000;
  width: 100%;
}

.video-embed-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.mill-gallery-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.mill-gallery-strip img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid rgba(27, 24, 20, 0.35);
  cursor: pointer;
}

/* ── 주요 연혁 및 역사 사진 기록관 (Chronicle & Photo Ledger) ── */
.history-archive-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
}

.history-photo-col {
  padding: 1.4rem;
  border-right: var(--border-dark-thin);
  background: var(--paper-alt);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.history-main-photo-box {
  border: 1px solid rgba(27, 24, 20, 0.38);
  background: #171512;
}

.history-main-photo-box img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.history-main-photo-meta {
  padding: 0.7rem 0.85rem;
  background: #1B1814;
  color: #F4EFE6;
  font-family: var(--font-sans);
}

.history-main-photo-meta strong {
  display: block;
  font-size: 0.92rem;
  color: #E9C46A;
}

.history-main-photo-meta p {
  margin: 0.22rem 0 0;
  font-size: 0.8rem;
  color: #D8CFC0;
}

.history-thumbs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.38rem;
}

.history-thumb-btn {
  padding: 0;
  border: 2px solid transparent;
  background: #000;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.history-thumb-btn.active,
.history-thumb-btn:hover {
  border-color: var(--seal-red);
}

.history-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-timeline-col {
  padding: 1.4rem 1.6rem;
  background: var(--paper-card);
}

.era-filter-tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid var(--ink-black);
  padding-bottom: 0.6rem;
  flex-wrap: wrap;
}

.era-tab-btn {
  padding: 0.36rem 0.88rem;
  border: 1px solid rgba(27, 24, 20, 0.35);
  background: var(--paper-alt);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
}

.era-tab-btn.active,
.era-tab-btn:hover {
  background: var(--org-navy);
  border-color: var(--org-navy);
  color: #FFF;
}

.era-block {
  margin-bottom: 1.5rem;
}

.era-block:last-child {
  margin-bottom: 0;
}

.era-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-left: 3px solid var(--seal-red);
  border-bottom: 1px solid rgba(27, 24, 20, 0.25);
  padding: 0.35rem 0 0.35rem 0.75rem;
  margin-bottom: 0.55rem;
}

.era-head h3 {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 900;
  font-family: var(--font-mono);
}

.era-head span {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.chronicle-ledger-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 0.88rem;
}

.chronicle-ledger-table th,
.chronicle-ledger-table td {
  border-bottom: 1px solid rgba(27, 24, 20, 0.16);
  padding: 0.46rem 0.65rem;
}

.chronicle-ledger-table th {
  width: 105px;
  color: var(--org-navy);
  font-family: var(--font-mono);
  font-weight: 700;
  text-align: left;
}

/* ── 온라인 인장 공방 & 사협 공식 문서·제증명 발급기 (Seal Studio & Certificate Issuer) ── */
.studio-issuer-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  border-bottom: var(--border-dark-thin);
}

.seal-studio-col {
  padding: 1.5rem 1.65rem;
  border-right: var(--border-dark-thin);
  background: var(--paper-alt);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cert-issuer-col {
  padding: 1.5rem 1.65rem;
  background: var(--paper-card);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.seal-canvas-stage {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  align-items: center;
  background: var(--paper-card);
  border: var(--border-dark-thin);
  padding: 1rem;
}

#personal-seal-canvas {
  width: 150px;
  height: 150px;
  background:
    linear-gradient(45deg, rgba(0, 0, 0, 0.04) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0, 0, 0, 0.04) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.04) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.04) 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  border: 1px dashed rgba(155, 34, 38, 0.45);
}

.official-seals-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.official-seal-showcase-card {
  background: var(--paper-card);
  border: var(--border-dark-thin);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
}

.official-seal-showcase-card img {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

/* 실시간 제증명 미리보기 문서지 */
.certificate-preview-paper {
  background: #FFFEFA;
  border: 2px double #1B1814;
  padding: 1.5rem 1.75rem;
  position: relative;
  font-family: var(--font-serif);
}

.cert-paper-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.06;
}

.cert-paper-watermark img {
  width: 220px;
  height: auto;
}

.cert-paper-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid #1B1814;
  padding-bottom: 0.65rem;
  margin-bottom: 1rem;
}

.cert-paper-title {
  text-align: center;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  margin: 0.5rem 0 1rem;
  color: #1B1814;
}

.cert-paper-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.cert-paper-table th,
.cert-paper-table td {
  border: 1px solid rgba(27, 24, 20, 0.4);
  padding: 0.45rem 0.65rem;
}

.cert-paper-table th {
  width: 24%;
  background: #F4EFE4;
  font-weight: 800;
}

.cert-paper-sign-row {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  font-size: 1.15rem;
  font-weight: 900;
}

.cert-paper-seal-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-left: -0.25rem;
}

/* 사협 공식 문서 자료실 아카이브 표 */
.archives-library-wrap {
  padding: 1.35rem 1.6rem;
  background: var(--paper-card);
}

.archives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.archive-doc-item {
  border-top: 2px solid var(--org-navy);
  border-bottom: 1px solid rgba(27, 24, 20, 0.22);
  padding: 0.85rem 0.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.55rem;
}

/* ── 조합소식 총람 (25건 전체 뉴스룸) ── */
.newsroom-toolbar {
  padding: 0.95rem 1.35rem;
  background: var(--paper-alt);
  border-bottom: var(--border-dark-thin);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.news-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.news-cat-btn {
  padding: 0.32rem 0.72rem;
  border: 1px solid rgba(27, 24, 20, 0.32);
  background: var(--paper-card);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.news-cat-btn.active,
.news-cat-btn:hover {
  background: var(--seal-red);
  border-color: var(--seal-red);
  color: #FFF;
}

.news-search-controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.news-search-input {
  padding: 0.36rem 0.72rem;
  border: 1px solid rgba(27, 24, 20, 0.4);
  background: #FFF;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  min-width: 220px;
}

.view-mode-btn {
  padding: 0.36rem 0.68rem;
  border: 1px solid rgba(27, 24, 20, 0.35);
  background: var(--paper-card);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.view-mode-btn.active {
  background: var(--ink-black);
  color: #FFF;
}

.news-cards-grid {
  padding: 1.35rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.news-broadsheet-card {
  border-top: 2px solid var(--ink-black);
  border-bottom: 1px solid rgba(27, 24, 20, 0.25);
  background: var(--paper-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.16s ease;
}

.news-broadsheet-card:hover {
  transform: translateY(-2px);
}

.news-card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #171512;
  overflow: hidden;
  cursor: pointer;
}

.news-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.news-card-img-wrap:hover img {
  transform: scale(1.03);
}

.news-card-cat-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: var(--seal-red);
  color: #FFF;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.14rem 0.5rem;
}

.news-card-photo-count {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(23, 21, 18, 0.85);
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.1rem 0.45rem;
}

.news-card-body {
  padding: 0.9rem 0.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-muted);
}

.news-card-title {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 900;
  line-height: 1.38;
  color: var(--ink-black);
  cursor: pointer;
}

.news-card-title:hover {
  color: var(--seal-red);
}

.news-card-excerpt {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: var(--ink-body);
  line-height: 1.56;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-foot {
  padding: 0.55rem 0.2rem;
  border-top: 1px dashed rgba(27, 24, 20, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 0.78rem;
}

.news-ledger-table-wrap {
  padding: 1.25rem;
}

.news-ledger-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 0.86rem;
}

.news-ledger-table th,
.news-ledger-table td {
  border-bottom: 1px solid rgba(27, 24, 20, 0.2);
  padding: 0.58rem 0.75rem;
  text-align: left;
}

.news-ledger-table th {
  background: var(--org-navy);
  color: #FFF;
  font-weight: 700;
}

.news-ledger-table tbody tr {
  cursor: pointer;
}

.news-ledger-table tbody tr:hover {
  background: var(--seal-bg);
}

/* ── 함께하는 10대 기관/단체/자회사/회원사 (Partners Ledger) ── */
.partners-grid-7 {
  padding: 1.35rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
  background: var(--paper-card);
}

.partner-stamp-card {
  border: 1px solid rgba(27, 24, 20, 0.24);
  background: #FFFEFA;
  padding: 0.85rem 0.65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  text-align: center;
  transition: transform 0.15s, border-color 0.15s;
}

.partner-stamp-card:hover {
  transform: translateY(-2px);
  border-color: var(--seal-red);
}

.partner-logo-box {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem;
}

.partner-logo-box img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.partner-name {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink-black);
  line-height: 1.3;
}

.partner-role-sub {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--ink-muted);
  line-height: 1.35;
}

/* ── 방문 및 상담/문의 · 본사 & 사업장 양대 거점 (Contact & Dual Map) ── */
.contact-ledger-grid {
  display: grid;
  grid-template-columns: 6fr 6fr;
}

.locations-col {
  padding: 1.4rem 1.55rem;
  border-right: var(--border-dark-thin);
  background: var(--paper-alt);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.loc-switch-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.loc-tab-btn {
  padding: 0.65rem;
  border: 1px solid rgba(27, 24, 20, 0.35);
  background: var(--paper-card);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  text-align: left;
}

.loc-tab-btn.active {
  background: var(--org-navy);
  border-color: var(--org-navy);
  color: #FFF;
}

.loc-map-frame {
  border: 1px solid rgba(27, 24, 20, 0.35);
  background: #E5DEC9;
  height: 290px;
  position: relative;
}

.loc-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: sepia(0.12) contrast(1.02);
}

.loc-address-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  background: var(--paper-card);
}

.loc-address-table th,
.loc-address-table td {
  border-bottom: 1px solid rgba(27, 24, 20, 0.18);
  padding: 0.52rem 0.72rem;
  text-align: left;
}

.loc-address-table th {
  width: 26%;
  background: rgba(27, 24, 20, 0.05);
  font-weight: 800;
}

.copy-chip-btn {
  margin-left: 0.4rem;
  padding: 0.1rem 0.45rem;
  font-size: 0.72rem;
  background: var(--ink-black);
  color: #FFF;
  border: none;
  cursor: pointer;
}

.copy-chip-btn:hover {
  background: var(--seal-red);
}

.inquiry-form-col {
  padding: 1.4rem 1.55rem;
  background: var(--paper-card);
}

.coop-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-field-full {
  grid-column: 1 / -1;
}

.coop-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.28rem;
}

.coop-label .req {
  color: var(--seal-red);
}

.coop-input,
.coop-textarea {
  width: 100%;
  padding: 0.52rem 0.72rem;
  border: 1px solid rgba(27, 24, 20, 0.38);
  background: #FFFEFA;
  font-family: var(--font-sans);
  font-size: 0.88rem;
}

.coop-input:focus,
.coop-textarea:focus {
  outline: 2px solid var(--seal-red);
  background: #FFF;
}

/* ── 하단 총람 판권장 (Official Colophon Footer) ── */
.coop-colophon {
  background: #171411;
  color: #EAE2D3;
  border-top: 3px double var(--brass-gold);
  font-family: var(--font-sans);
  padding: 2.25rem 1.35rem;
}

.colophon-inner {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.colophon-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 900;
  color: #FFF;
  margin: 0 0 0.65rem;
}

.colophon-ledger-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.84rem;
  line-height: 1.75;
  color: #CFC5B4;
}

.colophon-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.84rem;
  line-height: 1.88;
}

.colophon-links-list a:hover {
  color: #FFD166;
  text-decoration: underline;
}

/* ── 모달 & 토스트 ── */
.coop-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 13, 10, 0.82);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.coop-modal-backdrop[hidden] {
  display: none !important;
}

.coop-modal-sheet {
  background: var(--paper-card);
  border: var(--border-double);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

.modal-sheet-head {
  background: var(--ink-black);
  color: #FFF;
  padding: 0.8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 5;
}

.modal-close-btn {
  background: var(--seal-red);
  color: #FFF;
  border: 1px solid #FFF;
  padding: 0.25rem 0.7rem;
  font-family: var(--font-sans);
  font-weight: 700;
  cursor: pointer;
}

.modal-sheet-body {
  padding: 1.5rem;
}

.modal-photo-stage {
  background: #141210;
  border: 1px solid var(--ink-black);
  padding: 0.75rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.modal-photo-stage img {
  max-height: 62vh;
  margin: 0 auto;
  object-fit: contain;
}

.modal-photo-thumbs {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-top: 0.65rem;
  justify-content: center;
}

.modal-photo-thumbs img {
  width: 68px;
  height: 50px;
  object-fit: cover;
  border: 2px solid #555;
  cursor: pointer;
}

.modal-photo-thumbs img.active {
  border-color: var(--seal-red);
}

.coop-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--ink-black);
  color: #FFF;
  border-left: 4px solid var(--seal-red);
  padding: 0.68rem 1.15rem;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  z-index: 300;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.coop-toast[hidden] {
  display: none !important;
}

/* ── 반응형 미디어 쿼리 ── */
@media (max-width: 1120px) {
  .masthead-upper,
  .heritage-screen-banner,
  .hero-broadsheet,
  .leadership-narami-split,
  .territory-command-body,
  .history-archive-grid,
  .studio-issuer-grid,
  .contact-ledger-grid,
  .special-media-band {
    grid-template-columns: 1fr;
  }
  .masthead-meta-left {
    border-left: none;
    border-bottom: 1px dashed rgba(100, 88, 72, 0.35);
    padding-left: 0;
    padding-bottom: 0.45rem;
    text-align: center;
  }
  .masthead-meta-right {
    justify-self: center;
  }
  .masthead-contact-ledger {
    text-align: center;
  }
  .hero-main-col,
  .leadership-col,
  .territory-map-col,
  .history-photo-col,
  .seal-studio-col,
  .locations-col,
  .special-media-col {
    border-right: none;
    border-bottom: var(--border-dark-thin);
  }
  .cockpit-gauges-grid,
  .cert-grid-4,
  .gov-diagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .biz-ledger-grid,
  .news-cards-grid,
  .narami-activities-grid,
  .archives-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partners-grid-7 {
    grid-template-columns: repeat(3, 1fr);
  }
  .colophon-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .hero-headline {
    font-size: 1.55rem;
  }
  .cockpit-gauges-grid,
  .cert-grid-4,
  .gov-diagram-grid,
  .biz-ledger-grid,
  .news-cards-grid,
  .narami-activities-grid,
  .archives-grid,
  .awards-duo-grid,
  .partners-grid-7,
  .coop-form-grid,
  .hero-cta-row,
  .seal-canvas-stage {
    grid-template-columns: 1fr;
  }
}

@media print {
  .gazette-topbar,
  .masthead-nav-wrap,
  .cockpit-chronometer-band,
  .coop-colophon {
    display: none !important;
  }
  body::before {
    opacity: 0.02;
  }
  .double-frame {
    box-shadow: none;
    break-inside: avoid;
  }
}
