/* ============================================================
   sub.css — 서브 페이지 전용 스타일
   ============================================================ */

/* ── 서브 레이아웃 ────────────────────────────────────────── */
.sub-wrap {
  background: #fff;
  min-height: 100vh;
}

/* 히어로형 페이지 헤더 */
.hn-page-head {
  background-image:
    linear-gradient(180deg, rgba(22, 46, 76, 0.93) 0%, rgba(12, 28, 50, 0.95) 100%),
    url('/home/www/images/common/hero-section.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hn-page-head::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg,
      rgba(255, 255, 255, .025) 0 1px, transparent 1px 150px);
  pointer-events: none;
}

.hn-page-head .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 44px 40px 40px;
  position: relative;
  z-index: 2;
}

.sub-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px 40px 90px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
}

/* ── 브레드크럼 ───────────────────────────────────────────── */
.breadcrumb-hn {
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  display: flex;
  gap: 9px;
  margin-bottom: 16px;
  align-items: center;
}

.breadcrumb-hn i {
  font-size: 11px;
  color: rgba(255, 255, 255, .3);
}

/* .breadcrumb-hn .home { color: #8ec4f0; } */
.breadcrumb-hn .cur {
  color: #fff;
  font-weight: 700;
}

.hn-page-head h1 {
  font-size: 36px;
  font-weight: 800;
  margin: 0;
  color: #fff;
  letter-spacing: -0.035em;
}

.hn-page-head .desc {
  font-size: 15px;
  color: rgba(255, 255, 255, .6);
  margin-top: 8px;
}

/* ── 사이드바 ─────────────────────────────────────────────── */
.sidebar-head {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 80px),
    linear-gradient(150deg, #1b507e 0%, #0d2c52 100%);
  color: #fff;
  padding: 24px 20px 22px;
  position: relative;
  overflow: hidden;
}

.sidebar-head .k {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 7px;
  font-weight: 700;
}

.sidebar-head h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
}

/* 헤더와 메뉴 사이 공간 */
.sidebar-list {
  margin-top: 8px;
}

.sidebar-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--hn-text-3);
  border-bottom: 1px solid var(--hn-line-soft);
  font-weight: 500;
  transition: color .15s, padding-left .12s;
  position: relative;
}

.sidebar-list a:last-child {
  border-bottom: 0;
}

.sidebar-list a:hover {
  color: var(--hn-blue);
  padding-left: 20px;
  background: transparent;
}

.sidebar-list a.on {
  color: var(--hn-blue);
  font-weight: 700;
  padding-left: 20px;
  background: transparent;
}

.sidebar-list a.on::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--hn-blue);
}

.sidebar-list a.on::after {
  display: none;
}

.sidebar-list i {
  color: var(--hn-text-4);
  font-size: 10px;
}

.sidebar-list a.on i {
  display: none;
}

.sidebar-help {
  margin-top: 20px;
  background: var(--hn-bg-alt);
  border-top: 2px solid var(--hn-blue);
  padding: 20px 18px;
}

.sidebar-help h4 {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  color: var(--hn-text-2);
}

.sidebar-help p {
  font-size: 13px;
  color: var(--hn-text-3);
  margin: 0 0 12px;
  line-height: 1.7;
}

.sidebar-help .phone-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--hn-blue);
  letter-spacing: -0.02em;
}

.sidebar-help .hours {
  font-size: 12px;
  color: var(--hn-text-4);
  margin-top: 4px;
}

/* ── 컨텐츠 영역 제목 ─────────────────────────────────────── */
.content .ptitle {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 30px;
  padding-bottom: 22px;
  border-bottom: 2px solid var(--hn-text);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  letter-spacing: -0.035em;
}

.ptitle .cnt {
  font-size: 16px;
  font-weight: 500;
  color: var(--hn-text-3);
}

.ptitle .cnt b {
  color: var(--hn-blue);
  font-weight: 800;
}

.ptitle-sub {
  font-size: 15px;
  font-weight: 600;
  color: var(--hn-green);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: -20px 0 24px;
}

/* ── 게시판 툴바 ──────────────────────────────────────────── */
.b-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  gap: 20px;
  flex-wrap: wrap;
}

.b-toolbar .left {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 16px;
  color: var(--hn-text-3);
  flex-wrap: wrap;
}

.b-toolbar .select {
  border: 1px solid var(--hn-line);
  padding: 9px 32px 9px 15px;
  font-size: 16px;
  background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6"><path d="M1 1l4 4 4-4" stroke="%236b7380" fill="none" stroke-width="1.5"/></svg>') no-repeat right 12px center;
  appearance: none;
  color: var(--hn-text-2);
  font-family: inherit;
}

.b-toolbar .search-wrap {
  display: flex;
  border: 1px solid var(--hn-line);
  overflow: hidden;
}

.b-toolbar .search-wrap select {
  border: 0;
  border-right: 1px solid var(--hn-line);
  padding: 10px 12px;
  font-size: 16px;
  font-family: inherit;
  background: var(--hn-bg-alt);
  color: var(--hn-text-2);
  outline: 0;
}

.b-toolbar .search-wrap input {
  border: 0;
  padding: 10px 15px;
  font-size: 16px;
  outline: 0;
  width: 275px;
  font-family: inherit;
}

.b-toolbar .search-wrap button {
  border: 0;
  background: var(--hn-bg-dark);
  color: #fff;
  padding: 0 22px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
}

/* ── 게시판 테이블 ────────────────────────────────────────── */
.btable {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
  border-top: 2px solid var(--hn-text);
}

.btable colgroup col {}

.btable thead th {
  background: var(--hn-bg-alt);
  text-align: center;
  font-weight: 700;
  padding: 18px 15px;
  font-size: 16px;
  color: var(--hn-text-2);
  border-bottom: 1px solid var(--hn-line);
  letter-spacing: -0.02em;
}

.btable tbody td {
  padding: 19px 15px;
  text-align: center;
  border-bottom: 1px solid var(--hn-line-soft);
  color: var(--hn-text-2);
  font-family: ui-monospace, Menlo, monospace;
  font-size: 16px;
}

.btable tbody td.title {
  text-align: left;
  font-family: inherit;
  color: var(--hn-text);
  font-size: 17px;
  font-weight: 500;
}

.btable tbody td.title a {
  cursor: pointer;
}

.btable tbody td.title a:hover {
  color: var(--hn-blue);
}

.btable tr.notice td {
  background: #fbfcfd;
}

.btable tr.notice td.title {
  font-weight: 700;
}

.btable .pin {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: #1a1a1a;
  padding: 2px 7px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.btable .cat {
  display: inline-block;
  font-size: 13px;
  padding: 4px 10px;
  border: 1px solid var(--hn-line-strong);
  color: var(--hn-text-2);
  font-weight: 600;
}

.btable .cat.g {
  color: var(--hn-green);
  border-color: var(--hn-green);
}

.btable .cat.b {
  color: var(--hn-blue);
  border-color: var(--hn-blue);
}

.btable .file-ico {
  color: var(--hn-blue);
  font-size: 16px;
}

/* ── 게시판 하단 (페이지/버튼) ───────────────────────────── */
.btable-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0 0;
}

.btable-foot .right-btns {
  display: flex;
  gap: 10px;
}

/* ── 게시글 상세 ──────────────────────────────────────────── */
.bdetail {
  border-top: 2px solid var(--hn-text);
  margin-top: 22px;
}

.bdetail-head {
  padding: 28px 30px 25px;
  border-bottom: 1px solid var(--hn-line);
}

.bdetail-head .cats {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  align-items: center;
}

.bdetail-head h3 {
  font-size: 28px;
  font-weight: 800;
  margin: 0;
  line-height: 1.45;
  letter-spacing: -0.03em;
}

.bdetail-meta {
  display: flex;
  padding: 18px 30px;
  background: var(--hn-bg-alt);
  border-bottom: 1px solid var(--hn-line);
  font-size: 16px;
  gap: 35px;
  flex-wrap: wrap;
}

.bdetail-meta .field {
  display: flex;
  gap: 10px;
  align-items: center;
}

.bdetail-meta .k {
  color: var(--hn-text-3);
  font-size: 14px;
}

.bdetail-meta .v {
  color: var(--hn-text-2);
  font-family: ui-monospace, Menlo, monospace;
  font-size: 16px;
}

.bdetail-meta .share {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

.bdetail-meta .share a {
  color: var(--hn-text-3);
  cursor: pointer;
}

.bdetail-meta .share a:hover {
  color: var(--hn-text);
}

.bdetail-meta .share .label {
  font-size: 14px;
  color: var(--hn-text-3);
}

.bdetail-body {
  padding: 40px 30px;
  font-size: 19px;
  color: var(--hn-text-2);
  line-height: 1.9;
  border-bottom: 1px solid var(--hn-line);
}

.bdetail-body p {
  margin: 0 0 22px;
}

.bdetail-body ol,
.bdetail-body ul {
  padding-left: 28px;
  margin-bottom: 22px;
}

.bdetail-body li {
  margin-bottom: 8px;
}

.bdetail-body h4 {
  font-size: 20px;
  font-weight: 800;
  color: var(--hn-text);
  margin: 30px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--hn-blue);
  letter-spacing: -0.02em;
}

/* ── 이전/다음글 ──────────────────────────────────────────── */
.bnav {
  border-top: 1px solid var(--hn-line);
  border-bottom: 1px solid var(--hn-line);
  margin-top: 30px;
}

.bnav .row {
  display: grid;
  grid-template-columns: 125px 38px 1fr auto;
  padding: 18px 30px;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  border-bottom: 1px solid var(--hn-line-soft);
}

.bnav .row:last-child {
  border-bottom: 0;
}

.bnav .k {
  color: var(--hn-text-3);
  font-size: 14px;
  font-weight: 600;
}

.bnav .ic {
  color: var(--hn-text-4);
}

.bnav .t {
  color: var(--hn-text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bnav .d {
  color: var(--hn-text-4);
  font-family: ui-monospace, Menlo, monospace;
  font-size: 14px;
}

/* ── 앨범 게시판 ──────────────────────────────────────────── */
.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 4px;
}

.album-card {
  background: #fff;
  border: 1px solid var(--hn-line);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .15s;
}

.album-card:hover {
  box-shadow: 0 4px 16px rgba(20, 28, 40, .1);
}

.album-thumb {
  position: relative;
  background: var(--hn-bg-alt2);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.album-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-thumb .photo-empty {
  font-size: 13px;
  color: var(--hn-text-4);
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.6;
  font-family: ui-monospace, Menlo, monospace;
}

.album-thumb .cat {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 12px;
  padding: 4px 10px;
  background: rgba(20, 28, 40, .6);
  color: #fff;
  border: 0;
  backdrop-filter: blur(4px);
  font-weight: 700;
}

.album-thumb .cat.g {
  background: rgba(15, 107, 62, .75);
}

.album-thumb .cat.b {
  background: rgba(20, 65, 122, .75);
}

.album-thumb .count {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, .9);
  background: rgba(20, 28, 40, .55);
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

.album-body {
  padding: 18px 20px 20px;
}

.album-body .t {
  font-size: 17px;
  font-weight: 700;
  color: var(--hn-text);
  line-height: 1.45;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.album-body .meta {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--hn-text-3);
  font-family: ui-monospace, Menlo, monospace;
}

.album-body .meta .views {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── 컨텐츠 쇼케이스 ──────────────────────────────────────── */
.show-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 18px 22px;
  background: var(--hn-bg-alt);
  border: 1px solid var(--hn-line);
  margin-bottom: 35px;
}

.show-toc .k {
  font-size: 13px;
  font-weight: 700;
  color: var(--hn-text-3);
  letter-spacing: 0.1em;
  margin-right: 8px;
}

.show-toc a {
  font-size: 14px;
  color: var(--hn-text-3);
  padding: 5px 12px;
  border: 1px solid var(--hn-line);
  background: #fff;
  cursor: pointer;
}

.show-toc a:hover {
  color: var(--hn-blue);
  border-color: var(--hn-blue);
}

.show-block {
  border: 1px solid var(--hn-line);
  margin-bottom: 25px;
  scroll-margin-top: 100px;
}

.show-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 22px;
  background: var(--hn-bg-alt);
  border-bottom: 1px solid var(--hn-line);
}

.show-head h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--hn-text);
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.show-head h3 em {
  font-size: 13px;
  color: var(--hn-text-3);
  font-style: normal;
}

.show-head .badge-ui {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  background: var(--hn-blue);
  color: #fff;
  letter-spacing: 0.06em;
}

.show-body {
  padding: 25px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
}

.show-body.col {
  flex-direction: column;
}

.show-body.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* ── 정의 테이블 ──────────────────────────────────────────── */
.dt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
}

.dt-table th,
.dt-table td {
  padding: 15px 20px;
  border: 1px solid var(--hn-line);
}

.dt-table th {
  background: var(--hn-bg-alt);
  color: var(--hn-text-2);
  font-weight: 700;
  width: 175px;
  text-align: left;
  white-space: nowrap;
}

.dt-table td {
  color: var(--hn-text);
}

/* ── 단계 프로세스 ────────────────────────────────────────── */
.steps {
  display: flex;
  gap: 0;
  width: 100%;
}

.step {
  flex: 1;
  padding: 25px 20px;
  border: 1px solid var(--hn-line);
  border-right: 0;
  position: relative;
  background: #fff;
}

.step:last-child {
  border-right: 1px solid var(--hn-line);
}

.step::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 12px solid var(--hn-line);
  z-index: 1;
}

.step:last-child::after {
  display: none;
}

.step .n {
  width: 35px;
  height: 35px;
  background: var(--hn-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
}

.step .t {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.step .d {
  font-size: 14px;
  color: var(--hn-text-3);
  line-height: 1.6;
}

/* ── 타임라인 ─────────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 100px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 68px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--hn-line);
}

.timeline-item {
  position: relative;
  padding: 0 0 35px 35px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

/*.timeline-item::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--hn-blue);
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--hn-blue);
} */

.timeline-item .year {
  position: absolute;
  left: -100px;
  top: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--hn-blue);
  font-family: ui-monospace, Menlo, monospace;
  width: 88px;
  text-align: right;
}

.timeline-item .t {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 5px;
  letter-spacing: -0.02em;
}

.timeline-item .d {
  font-size: 16px;
  color: var(--hn-text-3);
  line-height: 1.6;
}

/* ── KPI 타일 ─────────────────────────────────────────────── */
.kpi {
  flex: 1 1 225px;
  padding: 25px 28px;
  border: 1px solid var(--hn-line);
  background: #fff;
  min-width: 175px;
}

.kpi.g {
  border-top: 3px solid var(--hn-green);
}

.kpi.b {
  border-top: 3px solid var(--hn-blue);
}

.kpi .k {
  font-size: 13px;
  color: var(--hn-text-3);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  font-weight: 600;
}

.kpi .v {
  font-size: 35px;
  font-weight: 800;
  color: var(--hn-text);
  letter-spacing: -0.03em;
}

.kpi .v .unit {
  font-size: 17px;
  color: var(--hn-text-3);
  font-weight: 400;
  margin-left: 5px;
}

/* ── 컬러 팔레트 스와치 ───────────────────────────────────── */
.swatch-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  width: 100%;
}

.swatch {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.swatch .box {
  width: 75px;
  height: 50px;
  border: 1px solid var(--hn-line);
}

.swatch .n {
  font-size: 13px;
  font-weight: 600;
  color: var(--hn-text-2);
}

.swatch .c {
  font-size: 12px;
  color: var(--hn-text-3);
  font-family: ui-monospace, Menlo, monospace;
}

/* ── 폼 컨트롤 ────────────────────────────────────────────── */
.in-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.in-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--hn-text-2);
}

.in-label .req {
  color: var(--hn-red);
}

.in-text,
.in-select {
  border: 1px solid var(--hn-line);
  padding: 12px 18px;
  font-size: 17px;
  font-family: inherit;
  color: var(--hn-text);
  outline: 0;
  width: 100%;
}

.in-text:focus,
.in-select:focus {
  border-color: var(--hn-blue);
}

.in-textarea {
  border: 1px solid var(--hn-line);
  padding: 12px 18px;
  font-size: 17px;
  font-family: inherit;
  color: var(--hn-text);
  outline: 0;
  width: 100%;
  min-height: 200px;
  resize: vertical;
}

.in-textarea:focus {
  border-color: var(--hn-blue);
}

/* ── 섹션 헤더 (공통: 제목 + 설명 + 우측 버튼) ────────────────── */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--hn-text);
  margin-bottom: 28px;
}

.sh-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sh-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--hn-text);
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.sh-desc {
  font-size: 15px;
  font-weight: 500;
  color: var(--hn-text-3);
  letter-spacing: 0;
}

.sh-actions {
  flex-shrink: 0;
  display: flex;
  gap: 8px;
  align-items: center;
}

.sh-btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}

.sh-btn.primary {
  background: var(--hn-blue);
  color: #fff;
  border: 1px solid var(--hn-blue);
}

.sh-btn.primary:hover {
  background: #0d3463;
  border-color: #0d3463;
}

.sh-btn.ghost {
  background: #fff;
  color: var(--hn-text-2);
  border: 1px solid var(--hn-line-strong);
}

.sh-btn.ghost:hover {
  background: var(--hn-bg-alt);
}

/* ── 임원 구성 카드 ───────────────────────────────────────── */
.officer-grid {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 10px;
}

.officer-card {
  display: flex;
  background: none;
  overflow: hidden;
  align-items: stretch;
}

.officer-card.sub {
  border-left-color: var(--hn-line-strong);
}

.officer-role {
  width: 96px;
  flex-shrink: 0;
  color: var(--hn-blue);
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: -0.02em;
  padding: 14px 8px;
  line-height: 1.5;
  word-break: keep-all;
}

.officer-card.sub .officer-role {
  color: var(--hn-text-3)
}

.officer-persons {
  flex: 1;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--hn-line);
}

.officer-person {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
}

.officer-person+.officer-person {
  border-left: 1px solid var(--hn-line-soft);
}

.officer-photo {
  width: 60px;
  aspect-ratio: 3/4;
  border-radius: 6px;
  background: var(--hn-bg-alt2);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hn-line);
}

.officer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.officer-photo .photo-empty {
  font-size: 22px;
  color: var(--hn-text-4);
}

.officer-info .oname {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: var(--hn-text);
}

.officer-info .ochurch {
  font-size: 13px;
  color: var(--hn-text-3);
}

/* ── 인물 카드 ────────────────────────────────────────────── */
.person-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.person-card {
  border: 1px solid var(--hn-line);
  background: #fff;
  overflow: hidden;
  text-align: center;
}

.person-card .photo {
  aspect-ratio: 3/4;
  background: var(--hn-bg-alt2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.person-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-card .photo .photo-empty {
  font-size: 12px;
  color: var(--hn-text-4);
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1.6;
}

.person-card .info {
  padding: 16px 14px 18px;
}

.person-card .role {
  font-size: 13px;
  color: var(--hn-blue);
  font-weight: 700;
  letter-spacing: 0.07em;
  margin-bottom: 6px;
}

.person-card .name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 5px;
}

.person-card .church {
  font-size: 14px;
  color: var(--hn-text-3);
}

/* 역대 노회장 카드 — 가로형 */
.president-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.president-past-card {
  border: 1px solid var(--hn-line);
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.president-past-card .photo {
  aspect-ratio: 3/4;
  background: var(--hn-bg-alt2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.president-past-card .photo .photo-empty {
  font-size: 12px;
  color: var(--hn-text-4);
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1.6;
}

.president-past-card .pcard-body {
  padding: 18px 18px 20px;
}

.president-past-card .pcard-term {
  font-size: 13px;
  color: var(--hn-blue);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.president-past-card .pcard-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 5px;
}

.president-past-card .pcard-church {
  font-size: 14px;
  color: var(--hn-text-3);
}

.president-past-card .pcard-period {
  font-size: 13px;
  color: var(--hn-text-4);
  margin-top: 6px;
  font-family: ui-monospace, Menlo, monospace;
}

/* ── 그룹 탭 ──────────────────────────────────────────────── */
.group-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--hn-text);
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.group-tabs button {
  padding: 13px 24px;
  font-size: 17px;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--hn-text-3);
  font-family: inherit;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  letter-spacing: -0.02em;
  transition: color .15s;
}

.group-tabs button.on {
  color: var(--hn-text);
  font-weight: 800;
  border-bottom-color: var(--hn-blue);
}

.group-tabs button:hover {
  color: var(--hn-text);
}

.tab-panel {
  display: none;
}

.tab-panel.on {
  display: block;
}

/* ── 소속 교회 테이블 ──────────────────────────────────────── */
.church-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  border-top: 2px solid var(--hn-text);
  margin-top: 4px;
}

.church-table thead th {
  background: var(--hn-bg-alt);
  padding: 16px 15px;
  font-weight: 700;
  font-size: 15px;
  color: var(--hn-text-2);
  border-bottom: 1px solid var(--hn-line);
  text-align: center;
}

.church-table tbody td {
  padding: 16px 15px;
  border-bottom: 1px solid var(--hn-line-soft);
  color: var(--hn-text-2);
  vertical-align: middle;
}

.church-table tbody tr:hover td {
  background: var(--hn-bg-alt);
}

.church-table tbody td:first-child {
  font-weight: 700;
  color: var(--hn-text);
}

.church-table tbody a {
  color: var(--hn-blue);
}

.church-table tbody a:hover {
  text-decoration: underline;
}

.church-count {
  font-size: 15px;
  color: var(--hn-text-3);
  font-weight: 500;
  margin-bottom: 16px;
}

.church-count b {
  color: var(--hn-blue);
  font-weight: 800;
}

/* ── 시찰 소개 ─────────────────────────────────────────────── */
.district-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.district-card {
  border: 1px solid var(--hn-line);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.district-card .d-thumb {
  aspect-ratio: 4/3;
  background: var(--hn-bg-alt2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.district-card .d-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.district-card .d-thumb .photo-empty {
  font-size: 12px;
  color: var(--hn-text-4);
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1.6;
}

.district-card .d-thumb .d-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--hn-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 5px 14px;
  letter-spacing: 0.04em;
}

.district-card .d-body {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.district-card .d-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.district-card .d-info {
  font-size: 15px;
  color: var(--hn-text-3);
  line-height: 1.9;
  flex: 1;
}

.district-card .d-info .r {
  display: flex;
  gap: 10px;
  margin-bottom: 4px;
  align-items: flex-start;
}

.district-card .d-info .k {
  font-weight: 700;
  color: var(--hn-text-2);
  min-width: 58px;
  font-size: 14px;
}

.district-card .d-count {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--hn-line);
  font-size: 15px;
  color: var(--hn-text-3);
  display: flex;
  align-items: center;
  gap: 6px;
}

.district-card .d-count b {
  color: var(--hn-blue);
  font-size: 22px;
  font-weight: 800;
}

.district-card .d-clergy {
  font-size: 13px;
  color: var(--hn-text-3);
  margin-top: 6px;
  line-height: 1.7;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hn-line);
}

.district-card .d-clergy b {
  color: var(--hn-text-2);
  font-weight: 700;
}

.district-card .d-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--hn-line);
}

.district-card .d-actions a.btn-hn {
  flex: 1;
  justify-content: center;
  font-size: 14px;
  padding: 9px 8px;
  text-decoration: none;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-scroll .church-table {
  min-width: 620px;
}

/* ── 오시는 길 ─────────────────────────────────────────────── */
.map-wrap {
  border: 1px solid var(--hn-line);
  overflow: hidden;
  margin-bottom: 30px;
  aspect-ratio: 16/7;
}

.map-placeholder {
  aspect-ratio: 16/7;
  background: linear-gradient(135deg, #e8edf3 0%, #dde3eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}

.map-placeholder i {
  font-size: 48px;
  color: var(--hn-text-4);
}

.map-placeholder p {
  font-size: 15px;
  color: var(--hn-text-3);
  margin: 0;
}

.directions-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.directions-info .di-card {
  border: 1px solid var(--hn-line);
  padding: 22px 24px;
  background: #fff;
}

.directions-info .di-card h4 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.directions-info .di-card h4 i {
  color: var(--hn-blue);
}

.directions-info .di-card p,
.directions-info .di-card li {
  font-size: 15px;
  color: var(--hn-text-2);
  line-height: 1.8;
  margin: 0 0 6px;
}

.directions-info .di-card ul {
  padding-left: 18px;
  margin: 0;
}

.directions-addr {
  background: var(--hn-blue);
  color: #fff;
  padding: 22px 28px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.directions-addr i {
  font-size: 22px;
  flex-shrink: 0;
}

.directions-addr .addr-text {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
}

.directions-addr .addr-sub {
  font-size: 14px;
  opacity: .75;
  margin-top: 4px;
}

/* ── 부서 소개 ─────────────────────────────────────────────── */
.dept-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  border-top: 2px solid var(--hn-text);
}

.dept-table thead th {
  background: var(--hn-blue);
  color: #fff;
  padding: 16px 15px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .15);
}

.dept-table thead th:last-child {
  border-right: 0;
}

.dept-table tbody td {
  padding: 16px 15px;
  border-bottom: 1px solid var(--hn-line-soft);
  color: var(--hn-text-2);
  vertical-align: top;
  font-size: 15px;
  border-right: 1px solid var(--hn-line-soft);
}

.dept-table tbody td:last-child {
  border-right: 0;
}

.dept-table tbody td.dept-name {
  font-weight: 800;
  color: var(--hn-text);
  text-align: center;
  background: var(--hn-bg-alt);
  font-size: 16px;
  vertical-align: middle;
}

.dept-table tbody td.dept-chief {
  color: var(--hn-blue);
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
}

/* ── 노회 소개 페이지 ──────────────────────────────────────── */
.intro-lead {
  font-size: 19px;
  color: var(--hn-text-2);
  line-height: 1.9;
  padding: 28px 30px;
  border-left: 4px solid var(--hn-blue);
  background: var(--hn-blue-soft);
  margin-bottom: 36px;
}

.intro-lead p {
  margin: 0 0 12px;
}

.intro-lead p:last-child {
  margin: 0;
}

/* 소개 블록: 로고 + 텍스트 */
.intro-block {
  display: flex;
  gap: 44px;
  align-items: center;
  justify-content: center;
  padding: 52px 0 52px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--hn-line);
}

.intro-logo {
  flex-shrink: 0;
  width: 120px;
}

.intro-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.intro-text {
  font-size: 20px;
  color: var(--hn-text-2);
  line-height: 1.95;
  max-width: 520px;
}

.intro-text p {
  margin: 0 0 10px;
  line-height: 30px;
}

.intro-text p:last-child {
  margin: 0;
}

.intro-text strong {
  color: var(--hn-blue);
  font-weight: 700;
}

/* 섹션 소제목 */
.intro-section-head {
  font-size: 20px;
  font-weight: 800;
  color: var(--hn-text);
  letter-spacing: -0.03em;
  padding: 0 0 14px 14px;
  border-left: 3px solid var(--hn-blue);
  margin-bottom: 28px;
}

/* 노회장 인사말 카드 (사진 우측, ID 사이즈) */
.greeting-card {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  padding-bottom: 48px;
}

.greeting-message {
  flex: 1;
  font-size: 17px;
  color: var(--hn-text-2);
  line-height: 2;
}

.greeting-message p {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 30px;
}

.greeting-message p:last-child {
  margin: 0;
}

.greeting-photo-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 152px;
}

.greeting-photo {
  width: 152px;
  aspect-ratio: 3/4;
  border-radius: 10px;
  overflow: hidden;
  background: var(--hn-bg-alt2);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hn-line);
}

.greeting-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.greeting-photo .photo-empty {
  font-size: 36px;
  color: var(--hn-text-4);
}

.greeting-name {
  text-align: center;
}

.greeting-name .g-term {
  font-size: 16px;
  color: var(--hn-blue);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
}

.greeting-name .g-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hn-text);
  margin-bottom: 3px;
}

.greeting-name .g-church {
  font-size: 16px;
  color: var(--hn-text-3);
}

/* 노회 현황 3칸 카드 */
.intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.istat-card {
  padding: 28px 28px 26px;
  border: 1px solid var(--hn-line);
  background: #fff;
  border-top: 3px solid var(--hn-blue);
}

.istat-card.green {
  border-top-color: var(--hn-green);
}

.istat-card .is-label {
  font-size: 12px;
  color: var(--hn-text-3);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.istat-card .is-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--hn-text);
  letter-spacing: -0.04em;
  line-height: 1;
}

.istat-card .is-value .unit {
  font-size: 16px;
  color: var(--hn-text-3);
  font-weight: 400;
  margin-left: 4px;
  letter-spacing: 0;
}

.istat-card .is-sub {
  margin-top: 10px;
  font-size: 13px;
  color: var(--hn-text-4);
  line-height: 1.6;
}

.president-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  border: 1px solid var(--hn-line);
  overflow: hidden;
}

.president-card .pres-photo {
  background: var(--hn-bg-alt2);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.president-card .pres-photo .photo-empty {
  font-size: 12px;
  color: var(--hn-text-4);
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1.6;
}

.president-card .pres-body {
  padding: 34px 32px;
  border-left: 1px solid var(--hn-line);
}

.president-card .pres-role {
  font-size: 13px;
  font-weight: 700;
  color: var(--hn-blue);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.president-card .pres-name {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 4px;
  letter-spacing: -0.03em;
}

.president-card .pres-church {
  font-size: 16px;
  color: var(--hn-text-3);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hn-line-soft);
}

.president-card .pres-message {
  font-size: 17px;
  color: var(--hn-text-2);
  line-height: 1.9;
}

.president-card .pres-message p {
  margin: 0 0 14px;
}

.president-card .pres-message p:last-child {
  margin: 0;
}

.president-card .pres-sign {
  margin-top: 20px;
  font-size: 16px;
  color: var(--hn-text-3);
}

.president-card .pres-sign b {
  color: var(--hn-text-2);
}

/* ── 노회 규칙 ────────────────────────────────────────────── */
.rules-doc .chapter-head {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin: 40px 0 0;
  padding: 14px 22px;
  background: var(--hn-blue);
  letter-spacing: -0.01em;
}

.rules-doc .chapter-head:first-child {
  margin-top: 0;
}

.rules-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0;
  border: 1px solid var(--hn-line);
  border-top: 0;
}

.rules-list>li {
  display: flex;
  gap: 14px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--hn-line-soft);
  font-size: 16px;
  color: var(--hn-text-2);
  line-height: 1.8;
}

.rules-list>li:last-child {
  border-bottom: 0;
}

.rules-list .art {
  font-weight: 800;
  color: var(--hn-blue);
  min-width: 48px;
  flex-shrink: 0;
}

.rules-sub {
  margin: 8px 0 0;
}

.rules-sub li {
  font-size: 15px;
  color: var(--hn-text-3);
  padding: 4px 0;
  line-height: 1.7;
  list-style: none;
  display: flex;
  gap: 10px;
}

.rules-sub .art {
  min-width: 30px;
  color: var(--hn-text-4);
  font-weight: 600;
  font-size: 14px;
}

/* ── 폼 박스 ──────────────────────────────────────────────── */
.form-box {
  max-width: 600px;
  margin: 0 auto;
}

.form-box.full {
  max-width: none;
}

.form-row {
  display: flex;
  gap: 10px;
}

.form-row .in-field {
  flex: 1;
}

.form-btns {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
  align-items: center;
}

.form-links {
  display: flex;
  gap: 0;
  margin-top: 20px;
  border-top: 1px solid var(--hn-line);
  padding-top: 18px;
}

.form-links a {
  font-size: 15px;
  color: var(--hn-text-3);
  padding: 0 16px;
  border-right: 1px solid var(--hn-line-strong);
  line-height: 1;
}

.form-links a:first-child {
  padding-left: 0;
}

.form-links a:last-child {
  border-right: 0;
}

.form-links a:hover {
  color: var(--hn-blue);
}

.form-notice {
  margin-top: 8px;
  font-size: 14px;
  color: var(--hn-text-3);
  line-height: 1.7;
}

.form-notice .req {
  color: var(--hn-red);
  font-weight: 700;
}

/* 약관 동의 */
.agree-box {
  border: 1px solid var(--hn-line);
  padding: 16px 18px;
  background: var(--hn-bg-alt);
  margin-top: 8px;
  margin-bottom: 10px;
  max-height: 150px;
  overflow-y: auto;
  font-size: 14px;
  color: var(--hn-text-3);
  line-height: 1.75;
}

.agree-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--hn-text-2);
  font-weight: 600;
  cursor: pointer;
}

.agree-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--hn-blue);
  cursor: pointer;
}

/* 회원가입 단계 */
.join-steps {
  display: flex;
  max-width: 600px;
  margin: 0 auto 36px;
  border: 1px solid var(--hn-line);
  border-right: 0;
  overflow: hidden;
}

.join-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--hn-bg-alt);
  border-right: 1px solid var(--hn-line);
  font-size: 14px;
  color: var(--hn-text-3);
}

.join-step.on {
  background: var(--hn-blue);
  color: #fff;
}

.join-step .sn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .4);
}

.join-step:not(.on) .sn {
  background: var(--hn-line);
  border-color: var(--hn-line-strong);
  color: var(--hn-text-3);
}

.join-step .st {
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* 마이페이지 */
.myinfo-top {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 22px 24px;
  background: var(--hn-bg-alt);
  border: 1px solid var(--hn-line);
  margin-bottom: 30px;
}

.myinfo-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--hn-bg-alt2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid var(--hn-line);
}

.myinfo-avatar i {
  font-size: 30px;
  color: var(--hn-text-4);
}

.myinfo-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 3px;
}

.myinfo-id {
  font-size: 14px;
  color: var(--hn-text-3);
  font-family: ui-monospace, Menlo, monospace;
}

.myinfo-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* 사이트맵 */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.sitemap-box {
  border: 1px solid var(--hn-line);
  overflow: hidden;
}

.sitemap-box-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  background: var(--hn-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sitemap-box-head i {
  font-size: 14px;
  opacity: .85;
}

.sitemap-box-list {
  list-style: none;
  padding: 8px 0;
  margin: 0;
  background: #fff;
}

.sitemap-box-list li {
  border-bottom: 1px solid var(--hn-line-soft);
}

.sitemap-box-list li:last-child {
  border-bottom: 0;
}

.sitemap-box-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 15px;
  color: var(--hn-text-2);
  transition: color .12s, background .12s;
}

.sitemap-box-list a::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--hn-line-strong);
  flex-shrink: 0;
  transition: background .12s;
}

.sitemap-box-list a:hover {
  color: var(--hn-blue);
  background: var(--hn-bg-alt);
}

.sitemap-box-list a:hover::before {
  background: var(--hn-blue);
}

/* 회원탈퇴 경고 */
.leave-warn {
  padding: 22px 24px;
  background: #fef6f6;
  border: 1px solid #f5d0d0;
  border-left: 4px solid var(--hn-red);
  margin-bottom: 28px;
}

.leave-warn h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--hn-red);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.leave-warn ul {
  font-size: 15px;
  color: var(--hn-text-2);
  line-height: 1.85;
  margin: 0;
}

/* ── 역대 노회장 — 섹션 구분 배너 ───────────────────────── */
.presec-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: linear-gradient(90deg, var(--hn-bg-alt) 0%, #fff 100%);
  border-left: 4px solid var(--hn-blue);
  margin-bottom: 16px;
}

.presec-acc-toggle {
  cursor: pointer;
  user-select: none;
  justify-content: space-between;
  transition: background .15s;
}

.presec-acc-toggle:hover {
  background: linear-gradient(90deg, var(--hn-blue-soft) 0%, #fff 80%);
}

.presec-chevron {
  font-size: 12px;
  color: var(--hn-text-4);
  transition: transform .25s;
  flex-shrink: 0;
}

.presec-acc-toggle.open .presec-chevron {
  transform: rotate(180deg);
}

.presec-banner .pb-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--hn-blue);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.presec-banner .pb-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--hn-text);
  letter-spacing: -0.02em;
}

.presec-note {
  font-size: 13px;
  color: var(--hn-text-3);
  margin: 0 0 18px;
  line-height: 1.65;
}

/* 전신 노회 4열 그리드 */
.presy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 52px;
}

.presy-block-head {
  background: var(--hn-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 0;
  text-align: center;
  letter-spacing: -0.01em;
}

.presy-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--hn-line);
  border-top: 0;
}

.presy-table tr:last-child td {
  border-bottom: 0;
}

.presy-table td {
  padding: 9px 11px;
  border-bottom: 1px solid var(--hn-line-soft);
  vertical-align: top;
}

.presy-table .pt-term {
  font-size: 12px;
  color: var(--hn-text-3);
  white-space: nowrap;
  font-weight: 600;
  width: 42px;
}

.presy-table .pt-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--hn-text);
}

.presy-table .pt-sub-label {
  font-size: 11px;
  color: var(--hn-blue);
  font-weight: 700;
  margin-top: 3px;
  letter-spacing: 0.02em;
}

.presy-table .pt-period {
  font-size: 11px;
  color: var(--hn-text-4);
  font-family: ui-monospace, Menlo, monospace;
  margin-top: 2px;
}

/* 호남노회 역대 노회장 테이블 */
.hn-pres-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  border-top: 2px solid var(--hn-text);
}

.hn-pres-table thead th {
  background: var(--hn-blue);
  color: #fff;
  padding: 12px 10px;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .15);
  white-space: nowrap;
}

.hn-pres-table thead th:last-child {
  border-right: 0;
}

.hn-pres-table tbody tr:hover td {
  background: var(--hn-bg-alt);
}

.hn-pres-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--hn-line-soft);
  border-right: 1px solid var(--hn-line-soft);
  vertical-align: middle;
  color: var(--hn-text-2);
}

.hn-pres-table tbody td:last-child {
  border-right: 0;
}

.hn-pres-table .hpt-term {
  white-space: nowrap;
  padding: 10px 10px 10px 42px;
  text-align: left;
  vertical-align: middle;
  position: relative;
}

.hn-pres-table .hpt-term .pres-acc-ico {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
}

.hpt-gen {
  display: inline;
  font-size: 14px;
  font-weight: 700;
  color: var(--hn-blue);
}

.hpt-sess {
  display: inline;
  font-size: 14px;
  color: var(--hn-text-3);
  font-weight: 500;
}

.hpt-gen+.hpt-sess::before {
  content: '·';
  color: var(--hn-text-4);
  margin: 0 4px;
  font-weight: 400;
}

.hpt-sess.hl {
  color: var(--hn-blue);
  font-weight: 700;
}

.hn-pres-table .hpt-period {
  text-align: center;
  font-size: 12px;
  color: var(--hn-text-3);
  font-family: ui-monospace, Menlo, monospace;
  white-space: nowrap;
  padding: 8px 8px;
}

.hpt-person {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.hpt-photo {
  width: 38px;
  aspect-ratio: 3/4;
  background: var(--hn-bg-alt2);
  border: 1px solid var(--hn-line);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hpt-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hpt-photo .hpt-ico {
  font-size: 14px;
  color: var(--hn-text-4);
}

.hpt-info {
  width: 110px;
  flex-shrink: 0;
  text-align: center;
}

.hpt-info .hpt-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--hn-text);
  letter-spacing: -0.01em;
}

.hpt-info .hpt-church {
  font-size: 12px;
  color: var(--hn-text-3);
  margin-top: 2px;
}

.hpt-officer {
  text-align: center;
}

.hpt-officer .hpt-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--hn-text);
}

.hpt-officer .hpt-church {
  font-size: 12px;
  color: var(--hn-text-3);
  margin-top: 2px;
}

/* ── 노회 연혁 시대 구분 헤더 ────────────────────────────── */
.hist-era-head {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--hn-blue);
  color: #fff;
  padding: 12px 20px;
  margin-bottom: 24px;
  margin-top: 44px;
}

.hist-era-head:first-child {
  margin-top: 0;
}

.hist-era-head .heh-year {
  font-size: 11px;
  font-family: ui-monospace, Menlo, monospace;
  opacity: .7;
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
}

.hist-era-head .heh-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ── 역대 노회임원 아코디언 ───────────────────────────────── */
.hist-accordion {
  border-top: 2px solid var(--hn-text);
}

.hist-acc-item {
  border: 1px solid var(--hn-line);
  border-top: 0;
}

.hist-acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  background: var(--hn-bg-alt);
  transition: background .15s;
}

.hist-acc-btn:hover,
.hist-acc-item.open .hist-acc-btn {
  background: var(--hn-blue-soft);
}

.hist-acc-sess {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  padding: 14px 18px;
  background: var(--hn-blue);
  min-width: 120px;
  text-align: center;
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hist-acc-item.open .hist-acc-sess {
  background: #0d3566;
}

.hist-acc-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 18px;
  flex: 1;
}

.hist-acc-period {
  font-size: 12px;
  color: var(--hn-text-4);
  font-family: ui-monospace, Menlo, monospace;
  white-space: nowrap;
}

.hist-acc-president {
  font-size: 14px;
  color: var(--hn-text-3);
  font-weight: 500;
}

.hist-acc-president b {
  color: var(--hn-text-2);
  font-weight: 700;
}

.hist-acc-icon {
  font-size: 11px;
  color: var(--hn-text-4);
  transition: transform .2s;
  flex-shrink: 0;
  margin-left: auto;
  padding-right: 18px;
}

.hist-acc-item.open .hist-acc-icon {
  transform: rotate(90deg);
  color: var(--hn-blue);
}

.hist-acc-body {
  display: none;
  padding: 20px 24px 24px;
  background: #fff;
  border-top: 1px solid var(--hn-line-soft);
}

.hist-acc-item.open .hist-acc-body {
  display: block;
}

.hist-acc-body .btable {
  border-top: 1px solid var(--hn-line);
}

.hist-acc-body .btable thead th {
  padding: 12px 14px;
  font-size: 14px;
}

.hist-acc-body .btable tbody td {
  padding: 13px 14px;
  font-size: 15px;
}

/* ── 반응형 ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .sub-layout {
    padding: 40px 24px 70px;
    gap: 40px;
  }

  .hn-page-head .inner {
    padding: 28px 24px;
  }

  .album-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .person-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .president-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .presy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .directions-info {
    grid-template-columns: 1fr;
  }

  .intro-block {
    gap: 32px;
    padding: 40px 0;
  }

  .intro-logo {
    width: 76px;
  }

  .intro-text {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .sub-layout {
    grid-template-columns: 1fr;
    padding: 24px 16px 48px;
    gap: 24px;
  }

  .sub-layout aside {
    display: none;
  }

  .hn-page-head .inner {
    padding: 16px 16px;
  }

  .hn-page-head h1 {
    font-size: 26px;
  }

  .b-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .b-toolbar .left {
    flex-wrap: wrap;
  }

  .btable {
    font-size: 15px;
  }

  .btable colgroup {
    display: none;
  }

  .album-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .bnav .row {
    grid-template-columns: 96px 28px 1fr;
  }

  .bnav .d {
    display: none;
  }

  .steps {
    flex-direction: column;
  }

  .step {
    border-right: 1px solid var(--hn-line);
    border-bottom: 0;
  }

  .step:last-child {
    border-bottom: 1px solid var(--hn-line);
  }

  .step::after {
    display: none;
  }

  .show-body.grid-2 {
    grid-template-columns: 1fr;
  }

  .person-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .president-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .presy-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  /* ── 역대 노회 임원 표 ────────────────────────────── */
  /* 기간·부노회장·서기/회계 열 숨기기 → 회기 + 노회장 2열만 */
  .hn-pres-table thead th:nth-child(2),
  .hn-pres-table thead th:nth-child(4),
  .hn-pres-table thead th:nth-child(5),
  .hn-pres-table .hpt-period,
  .hn-pres-table tr.pres-acc-row td:nth-child(4),
  .hn-pres-table tr.pres-acc-row td:nth-child(5) {
    display: none;
  }

  .hn-pres-table {
    font-size: 13px;
  }

  /* 회기 셀: 줄바꿈 허용 + 좌측 여백 축소 */
  .hn-pres-table .hpt-term {
    white-space: normal;
    padding: 10px 8px 10px 36px;
  }

  .hn-pres-table .hpt-term .pres-acc-ico {
    left: 8px;
  }

  /* 대수·회기 세로 스택 */
  .hpt-gen,
  .hpt-sess {
    display: block;
  }

  .hpt-gen+.hpt-sess::before {
    display: none;
  }

  /* 노회장 셀: 사진 숨기고 텍스트만 */
  .hpt-photo {
    display: none;
  }

  .hpt-info {
    width: auto;
  }

  /* 아코디언 패널 여백 축소 */
  .pres-acc-panel>td {
    padding: 14px 12px 28px;
  }

  /* 시찰 열 숨기기 (값이 전부 —) */
  .pres-acc-panel .btable thead th:nth-child(4),
  .pres-acc-panel .btable tbody td:nth-child(4) {
    display: none;
  }

  .pres-acc-panel .btable thead th,
  .pres-acc-panel .btable tbody td {
    padding: 7px 8px;
    font-size: 12px;
  }

  /* 단체사진 여백 축소 */
  .pres-group-photo:has(img) {
    padding: 8px 10px 6px;
  }

  /* 섹션 배너 축소 */
  .presec-banner {
    padding: 10px 14px;
    margin-bottom: 12px;
  }

  .presec-banner .pb-title {
    font-size: 15px;
  }

  .president-card {
    grid-template-columns: 1fr;
  }

  .president-card .pres-body {
    border-left: 0;
    border-top: 1px solid var(--hn-line);
  }

  .district-grid {
    grid-template-columns: 1fr;
  }

  .church-table {
    font-size: 14px;
  }

  .group-tabs button {
    padding: 10px 16px;
    font-size: 15px;
  }

  .join-steps {
    flex-direction: column;
    border-right: 1px solid var(--hn-line);
    border-bottom: 0;
  }

  .join-step {
    border-right: 0;
    border-bottom: 1px solid var(--hn-line);
  }

  .sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .myinfo-top {
    flex-wrap: wrap;
  }

  .myinfo-actions {
    margin-left: 0;
    width: 100%;
  }

  .officer-grid {
    grid-template-columns: 1fr;
  }

  .intro-block {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
    padding: 36px 0;
  }

  .intro-logo {
    width: 72px;
  }

  .intro-text {
    font-size: 17px;
    text-align: left;
  }

  .greeting-card {
    flex-direction: column-reverse;
    gap: 24px;
  }

  .greeting-photo-wrap {
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
  }

  .greeting-photo {
    width: 100px;
  }

  .greeting-name {
    text-align: left;
    padding-top: 4px;
  }

  .intro-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ── 역대 노회장·임원 아코디언 (officers-past) ──────────────── */
.pres-acc-row {
  cursor: pointer;
  transition: background .15s;
}

.pres-acc-row:hover td {
  background: var(--hn-bg-alt);
}

.pres-acc-row.open td,
.pres-acc-row.open:hover td {
  background: var(--hn-blue-soft);
}

.pres-acc-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--hn-bg-alt2);
  color: var(--hn-text-3);
  font-size: 10px;
  transition: transform .2s, background .15s, color .15s;
}

.pres-acc-row.open .pres-acc-ico {
  transform: translateY(-50%) rotate(180deg);
  background: var(--hn-blue);
  color: #fff;
}

.pres-acc-panel {
  display: none;
}

.pres-acc-panel.open {
  display: table-row;
}

.pres-acc-panel>td {
  padding: 20px 28px 44px;
  background: var(--hn-blue-soft);
  border-bottom: 2px solid var(--hn-blue);
}

.pres-acc-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--hn-blue);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(20, 65, 122, .2);
}

.pres-acc-panel .btable {
  font-size: 13px;
  border-top: 0;
}

.pres-acc-panel .btable thead th {
  background: var(--hn-blue);
  color: #fff;
  font-size: 12px;
  padding: 9px 10px;
}

.pres-acc-panel .btable tbody td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--hn-line);
  background: #fff;
}

.pres-group-photo {
  margin-top: 20px;
  background: var(--hn-bg-alt2);
  border: 2px dashed var(--hn-line-strong);
  border-radius: 6px;
  aspect-ratio: 16 / 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--hn-text-4);
}

.pres-group-photo i {
  font-size: 36px;
}

.pres-group-photo .pgp-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--hn-text-3);
}

.pres-group-photo .pgp-sub {
  font-size: 12px;
}

.pres-group-photo:has(img) {
  background: var(--hn-bg-alt);
  border: 1px solid var(--hn-line);
  padding: 14px 16px 12px;
  border-radius: 6px;
  display: block;
}

.pres-group-photo img {
  width: 100%;
  display: block;
  border-radius: 4px;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.pgp-caption {
  font-size: 12px;
  color: var(--hn-text-3);
  text-align: center;
  margin: 8px 0 0;
}

/* ── 역대 노회장 단순 표 (officers-presidents) ─────────── */
.hn-pres-simple {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.hn-pres-simple thead th {
  background: var(--hn-blue);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 12px 14px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.hn-pres-simple thead th:last-child {
  border-right: 0;
}

.hn-pres-simple tbody tr:hover td {
  background: var(--hn-bg-alt);
}

.hn-pres-simple tbody td {
  padding: 12px 14px;
  vertical-align: middle;
  border-bottom: 1px solid var(--hn-line-soft);
  border-right: 1px solid var(--hn-line-soft);
}

.hn-pres-simple tbody td:last-child {
  border-right: 0;
}

.hn-pres-simple .hps-term {
  text-align: center;
  white-space: nowrap;
}

.hps-gen {
  font-size: 11px;
  color: var(--hn-text-4);
  font-weight: 500;
}

.hps-gen.hl {
  color: var(--hn-blue);
}

.hps-sess {
  font-size: 14px;
  font-weight: 800;
  color: var(--hn-text);
  margin-top: 2px;
}

/* ── 역대 노회임원 좌우 분할 레이아웃 (officers-past) ───── */
.officer-split {
  display: grid;
  grid-template-columns: 3fr 7fr;
  border: 1px solid var(--hn-line);
  border-radius: 6px;
  overflow: hidden;
}

.officer-sess-list {
  background: var(--hn-bg-alt);
  border-right: 1px solid var(--hn-line);
  overflow-y: auto;
  max-height: 760px;
}

.officer-sess-item {
  padding: 13px 14px 11px;
  cursor: pointer;
  border-bottom: 1px solid var(--hn-line-soft);
  border-left: 3px solid transparent;
  transition: background .15s, border-color .15s;
}

.officer-sess-item:last-child {
  border-bottom: 0;
}

.officer-sess-item:hover {
  background: #fff;
}

.officer-sess-item.active {
  background: var(--hn-blue-soft);
  border-left-color: var(--hn-blue);
}

.osi-term {
  line-height: 1.3;
}

.osi-gen {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--hn-blue);
  letter-spacing: 0.02em;
}

.osi-sess {
  display: block;
  font-size: 12px;
  color: var(--hn-text-3);
  font-weight: 500;
  margin-top: 1px;
}

.osi-sess-hl {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--hn-blue);
}

.osi-period {
  font-size: 11px;
  color: var(--hn-text-4);
  font-family: ui-monospace, Menlo, monospace;
  margin-top: 3px;
}

.officer-sess-item.active .osi-gen {
  color: var(--hn-blue);
}

.officer-sess-item.active .osi-sess {
  color: rgba(20, 65, 122, 0.65);
}

.officer-sess-item.active .osi-sess-hl {
  color: var(--hn-blue);
}

.officer-detail {
  padding: 24px 28px;
  min-height: 300px;
  background: #fff;
}

.officer-detail-panel {
  display: none;
}

.officer-detail-panel.active {
  display: block;
}

.officer-detail-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--hn-blue);
  letter-spacing: .06em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(20, 65, 122, .2);
}

.officer-detail .btable {
  font-size: 13px;
  border-top: 0;
}

.officer-detail .btable thead th {
  background: var(--hn-blue);
  color: #fff;
  font-size: 12px;
  padding: 9px 10px;
}

.officer-detail .btable tbody td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--hn-line);
  background: #fff;
}

@media (max-width: 1024px) {
  .officer-split {
    grid-template-columns: 1fr 2fr;
  }
}

@media (max-width: 768px) {
  .officer-split {
    grid-template-columns: 1fr;
  }

  .officer-sess-list {
    max-height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--hn-line);
  }

  .officer-detail {
    padding: 16px;
  }

  .hn-pres-simple thead th:nth-child(3),
  .hn-pres-simple thead th:nth-child(4),
  .hn-pres-simple tbody td:nth-child(3),
  .hn-pres-simple tbody td:nth-child(4) {
    display: none;
  }

  .hn-pres-simple .hpt-photo {
    display: none;
  }

  .hn-pres-simple .hpt-info {
    width: auto;
  }

  .officer-detail .btable thead th:nth-child(4),
  .officer-detail .btable tbody td:nth-child(4) {
    display: none;
  }
}

/* ── 게시판 dateSearch 숨김 ────────────────────── */
.siiruBoard-search .dateSearch { display: none; }

/* ── 게시판 첨부파일 아이콘 ──────────────────────── */
.siiruBoard-list td.file { font-size: 15px; color: var(--hn-text-3); }

/* ── 일정 달력 ─────────────────────────────────── */
.siiru-schdulwrap { padding: 8px 0; }

.schdul-select {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  padding: 14px 0; margin-bottom: 4px;
}
.schdul-year {
  font-size: 18px; font-weight: 700; color: var(--hn-text); min-width: 150px; text-align: center;
}
.schdul-prev, .schdul-next {
  width: 34px; height: 34px; border: 1px solid var(--hn-line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--hn-text-2); text-decoration: none; position: relative; overflow: hidden;
  flex-shrink: 0;
}
.schdul-prev::before {
  content: ''; display: block; width: 9px; height: 9px;
  border-left: 2px solid var(--hn-text-2); border-bottom: 2px solid var(--hn-text-2);
  transform: rotate(45deg); margin-left: 4px;
}
.schdul-next::before {
  content: ''; display: block; width: 9px; height: 9px;
  border-right: 2px solid var(--hn-text-2); border-top: 2px solid var(--hn-text-2);
  transform: rotate(45deg); margin-right: 4px;
}
.schdul-prev:hover, .schdul-next:hover { background: var(--hn-bg-alt); }

.schdul-calendar { margin-bottom: 20px; }
#calendarTable {
  width: 100%; border-collapse: collapse;
  border-top: 2px solid var(--hn-text);
  table-layout: fixed;
}
#calendarTable caption {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0);
}
#calendarTable thead th {
  width: calc(100% / 7);
  padding: 12px 6px; text-align: center; font-size: 15px; font-weight: 700;
  color: var(--hn-text-2); background: var(--hn-bg-alt); border-bottom: 1px solid var(--hn-line);
}
#calendarTable thead th.sun { color: var(--hn-red); }
#calendarTable thead th.sat { color: var(--hn-blue); }

#calendarTable tbody td {
  vertical-align: top; padding: 10px 10px 8px; min-height: 100px; height: 100px;
  border-bottom: 1px solid var(--hn-line-soft);
  border-right: 1px solid var(--hn-line-soft);
  font-size: 14px;
}
#calendarTable tbody td:last-child { border-right: none; }

#calendarTable tbody td > span {
  display: block; font-size: 14px; font-weight: 600; color: var(--hn-text-2); margin-bottom: 6px;
  line-height: 1;
}
#calendarTable tbody td.sun > span { color: var(--hn-red); }
#calendarTable tbody td.sat > span { color: var(--hn-blue); }
#calendarTable tbody td.holiday > span { color: var(--hn-red); }
#calendarTable tbody td.holiday > span small {
  display: block; font-size: 11px; color: var(--hn-red); font-weight: 400; line-height: 1.3;
}
#calendarTable tbody td.today > span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; background: var(--hn-green); color: #fff;
  border-radius: 50%; font-size: 13px;
}

#calendarTable tbody td a.schedule {
  display: block; font-size: 12px; color: #fff; background: var(--hn-blue);
  padding: 3px 7px; border-radius: 3px; text-decoration: none; margin-bottom: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.5;
}
#calendarTable tbody td a.schedule:hover { background: var(--hn-green); }
#calendarTable tbody td a.m_btn { display: none; }

/* 일정 상세 결과 */
.schdul-resultView { margin-top: 8px; }
.detailDate {
  font-size: 16px; font-weight: 700; color: var(--hn-blue); padding: 12px 0 14px;
  border-bottom: 2px solid var(--hn-text); margin-bottom: 0;
}
.detail-block {
  padding: 16px 0; border-bottom: 1px solid var(--hn-line-soft);
}
.detail-block > span {
  display: block; font-size: 15px; font-weight: 700; color: var(--hn-text); margin-bottom: 8px;
}
.detail-block dl {
  display: flex; flex-wrap: wrap; font-size: 13px; margin-bottom: 4px;
}
.detail-block dl dt {
  width: 60px; font-weight: 600; color: var(--hn-text-3); flex-shrink: 0; padding: 2px 0;
}
.detail-block dl dd { flex: 1; color: var(--hn-text-2); padding: 2px 0; }
.detail-block ul { list-style: none; padding: 0; margin: 8px 0 0; }
.detail-block ul li { font-size: 13px; margin-bottom: 4px; }
.detail-block ul li a { color: var(--hn-blue); text-decoration: none; }
.result-well {
  background: var(--hn-bg-alt); padding: 10px 14px; border-radius: 4px;
  font-size: 13px; color: var(--hn-text-2); margin-top: 8px; line-height: 1.8;
}

@media (max-width: 768px) {
  #calendarTable tbody td { height: 64px; min-height: 64px; padding: 5px 4px; }
  #calendarTable thead th { font-size: 12px; padding: 8px 2px; }
  #calendarTable tbody td a.schedule { font-size: 11px; padding: 2px 4px; }
  #calendarTable tbody td > span { font-size: 12px; }
}

/* ================================================
   SiiRU CMS Board & Skin Styles — 호남노회 디자인 토큰 기반
   ================================================ */

/* ── 공통 유틸 ──────────────────────────────────── */
.siiru-fl   { float: left; }
.siiru-fr   { float: right; }
.siiru-tc   { text-align: center; }
.siiru-mt0  { margin-top: 0; }
.siiru-mr10 { margin-right: 10px; }
.siiru-tr   { text-align: right; }
.siiru-clr::after { content: ''; display: block; clear: both; }
.siiru-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.siiru-ml5  { margin-left: 5px; }
.siiru-ml10 { margin-left: 10px; }
.siiru-mb20 { margin-bottom: 20px; }
.siiru-mt5  { margin-top: 5px; }
.siiru-mt10 { margin-top: 10px; }
.siiru-pt10 { padding-top: 10px; }
.throughline td, .throughline th { text-decoration: line-through; color: var(--hn-text-3); }

/* ── 버튼 (siiru-btn) ───────────────────────────── */
.siiru-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 7px 16px; border-radius: 4px; font-size: 13px; font-weight: 500;
  border: 1px solid var(--hn-line-strong); background: var(--hn-bg);
  color: var(--hn-text-2); cursor: pointer; text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.siiru-btn:hover { background: var(--hn-bg-alt); }
.siiru-btn-primary { background: var(--hn-green); border-color: var(--hn-green); color: #fff; }
.siiru-btn-primary:hover { background: #0a5530; border-color: #0a5530; color: #fff; }
.siiru-btn-default {
  background: var(--hn-bg);
  border-color: var(--hn-line-strong);
  color: var(--hn-text-2);
}
.siiru-btn-default:hover { background: var(--hn-bg-alt); color: var(--hn-text); }
.siiru-btn-warning { background: #e8a000; border-color: #e8a000; color: #fff; }
.siiru-btn-warning:hover { background: #c48800; border-color: #c48800; color: #fff; }
.siiru-btn-danger { background: var(--hn-red); border-color: var(--hn-red); color: #fff; }
.siiru-btn-danger:hover { background: #8f2228; border-color: #8f2228; color: #fff; }
.siiru-btn-success { background: #2e7d32; border-color: #2e7d32; color: #fff; }
.siiru-btn-small { padding: 4px 10px; font-size: 12px; }
.siiru-btnSet { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }

/* ── 게시판 래퍼 ─────────────────────────────────── */
.siiru-boardWrap { width: 100%; }

/* ── 검색 폼 ──────────────────────────────────── */
.siiruBoard-search {
  padding: 14px 0 18px;
  border-bottom: 1px solid var(--hn-line);
  margin-bottom: 14px;
}
.siiruBoard-search form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.siiruBoard-search .dateSearch { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; width: 100%; margin-bottom: 8px; }
.siiruBoard-search .dateSearch input[type="radio"] { accent-color: var(--hn-green); }
.siiruBoard-search .dateSearch label { font-size: 13px; color: var(--hn-text-2); cursor: pointer; }
.siiruBoard-search .dateSearch input.maskDate {
  padding: 6px 10px; border: 1px solid var(--hn-line); border-radius: 4px;
  font-size: 13px; width: 120px; outline: 0;
}
.siiruBoard-search select {
  padding: 7px 10px; border: 1px solid var(--hn-line); border-radius: 4px;
  font-size: 13px; background: var(--hn-bg); color: var(--hn-text-2); cursor: pointer; outline: 0;
}
.siiruBoard-search input[type="text"]:not(.maskDate) {
  flex: 1; padding: 7px 12px; border: 1px solid var(--hn-line); border-radius: 4px;
  font-size: 13px; outline: 0; min-width: 180px;
}
.siiruBoard-search button[type="submit"] {
  padding: 7px 18px; background: var(--hn-blue); color: #fff;
  border: none; border-radius: 4px; font-size: 13px; cursor: pointer;
}

/* ── 목록 정보 ────────────────────────────────── */
.siiruBoard-listInfo {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; margin-bottom: 6px; font-size: 13px; color: var(--hn-text-3);
}

/* ── 테이블 목록 ──────────────────────────────── */
.siiruBoard-list table {
  width: 100%; border-collapse: collapse;
  border-top: 2px solid var(--hn-text);
}
.siiruBoard-list thead th {
  background: var(--hn-bg-alt); padding: 12px 10px;
  font-size: 13px; font-weight: 700; color: var(--hn-text-2);
  border-bottom: 1px solid var(--hn-line);
  text-align: center;
}
.siiruBoard-list thead th.boardSj { text-align: left; padding-left: 16px; }
.siiruBoard-list tbody tr { border-bottom: 1px solid var(--hn-line-soft); }
.siiruBoard-list tbody tr:hover { background: var(--hn-bg-alt); }
.siiruBoard-list tbody td,
.siiruBoard-list tbody th[scope="row"] {
  padding: 11px 10px; font-size: 14px; color: var(--hn-text-2);
  text-align: center; vertical-align: middle;
}
.siiruBoard-list tbody th[scope="row"].boardSj {
  text-align: left; padding-left: 16px;
}
.siiruBoard-list tbody th[scope="row"].boardSj a {
  color: var(--hn-text); text-decoration: none; font-weight: 500;
}
.siiruBoard-list tbody th[scope="row"].boardSj a:hover { color: var(--hn-green); }
.siiruBoard-list tbody th[scope="row"].boardSj a.new::after {
  content: 'N'; display: inline-block; margin-left: 6px;
  background: var(--hn-red); color: #fff; font-size: 10px;
  padding: 1px 5px; border-radius: 2px; font-weight: 700; vertical-align: middle;
}
.siiruBoard-list span.notice {
  display: inline-block; background: var(--hn-red); color: #fff;
  font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 3px;
}
.siiruBoard-list .reBlcok { display: inline-block; width: 14px; }
.siiruBoard-list img.reply { width: 12px; vertical-align: middle; margin-right: 4px; }
.siiruBoard-list img.file { width: 14px; }
.siiruBoard-list td.nodata {
  padding: 40px 0; text-align: center; color: var(--hn-text-3); font-size: 14px;
}
.siiruBoard-list tbody tr.notice { background: var(--hn-green-soft); }
.siiruBoard-list small { font-size: 12px; color: var(--hn-text-3); }

/* ── 페이지네이션 (JS 생성) ───────────────────── */
#boardPage .pagination { display: flex; justify-content: center; gap: 4px; padding: 20px 0; list-style: none; margin: 0; }
#boardPage .pagination li a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border: 1px solid var(--hn-line); border-radius: 4px;
  font-size: 13px; color: var(--hn-text-2); text-decoration: none;
}
#boardPage .pagination li a:hover { background: var(--hn-bg-alt); }
#boardPage .pagination li.active a { background: var(--hn-green); border-color: var(--hn-green); color: #fff; }

/* ── 뷰 페이지 ────────────────────────────────── */
.siiruBoard-view > form > h4 {
  padding: 16px 0 14px; font-size: 18px; font-weight: 700; color: var(--hn-text);
  border-bottom: 1px solid var(--hn-line); line-height: 1.5;
}
.siiruBoard-view > form > h4.text-danger { color: var(--hn-red); }
.siiruBoard-view > form > h4 span.notice {
  display: inline-block; background: var(--hn-red); color: #fff;
  font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 3px; margin-right: 6px;
}

.siiruBoardInfo { border-bottom: 1px solid var(--hn-line); }
.boardInfo-view {
  display: flex; gap: 20px; flex-wrap: wrap;
  padding: 10px 0; font-size: 13px; color: var(--hn-text-3);
}
.siiruBoardInfo dl {
  display: flex; border-top: 1px solid var(--hn-line-soft); padding: 10px 0;
  font-size: 13px;
}
.siiruBoardInfo dl dt { width: 90px; font-weight: 600; color: var(--hn-text-2); flex-shrink: 0; }
.siiruBoardInfo dl dd { flex: 1; color: var(--hn-text-2); }
.siiruBoardInfo dl dd ul { list-style: none; padding: 0; margin: 0; }
.siiruBoardInfo dl dd ul li { margin-bottom: 6px; }
.siiruBoardInfo dl dd ul li a { color: var(--hn-blue); text-decoration: none; }
.siiruBoardInfo dl dd ul li a:hover { text-decoration: underline; }
.siiruBoardInfo dl dd small { font-size: 12px; color: var(--hn-text-3); margin-left: 8px; }

.siiruBoardBody { padding: 24px 0; }
.boardContents { font-size: 15px; line-height: 1.8; color: var(--hn-text-2); }
.boardContents p { margin-bottom: 12px; }
.boardContents h4 { margin: 20px 0 10px; font-size: 16px; font-weight: 700; color: var(--hn-text); }

.imageView { margin-bottom: 20px; }
.imageView img { max-width: 100%; display: block; margin-bottom: 8px; }
.imageView small { font-size: 12px; color: var(--hn-text-3); display: block; margin-bottom: 12px; }
.videoView { margin-bottom: 20px; }
.videoView video { max-width: 100%; }
.audioView { margin-bottom: 20px; }

.siiruBoardBtnInfo {
  padding: 14px 0; border-top: 1px solid var(--hn-line);
  display: flex; justify-content: space-between;
  overflow: hidden;
}
.siiruBoardBtnInfo::after { content: ''; display: block; clear: both; }

.manageInfo { padding: 10px 0; font-size: 12px; color: var(--hn-text-3); }
.manageInfo small { display: block; margin-bottom: 4px; }

.siiruBoardList { border-top: 1px solid var(--hn-line); margin-top: 10px; }
.siiruBoardList ul { list-style: none; padding: 0; margin: 0; }
.siiruBoardList ul li {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid var(--hn-line-soft);
  font-size: 14px;
}
.siiruBoardList ul li > span:first-child {
  width: 48px; font-weight: 700; color: var(--hn-text-3); flex-shrink: 0;
}
.siiruBoardList ul li a { color: var(--hn-text-2); text-decoration: none; flex: 1; }
.siiruBoardList ul li a:hover { color: var(--hn-green); }
.siiruBoardList ul li small { font-size: 12px; color: var(--hn-text-3); margin-left: auto; }

/* ── 댓글 영역 ────────────────────────────────── */
.siiruBoardComt { border-top: 2px solid var(--hn-text); margin-top: 24px; }
.siiruBoardComt dl dt {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; font-weight: 700; font-size: 15px; color: var(--hn-text);
}
.siiruBoardComt dl dd { padding: 0; }
#boardComtList { list-style: none; padding: 0; margin: 0; }
#boardComtList li { padding: 14px 0; border-bottom: 1px solid var(--hn-line-soft); }
#boardComtList li .well { background: var(--hn-bg-alt); padding: 10px 14px; border-radius: 4px; margin: 8px 0; font-size: 14px; }
#boardComtList li span { font-size: 14px; font-weight: 600; color: var(--hn-text-2); }
#boardComtList small.siiru-fr { font-size: 12px; color: var(--hn-text-3); }
.siiruBoardComt .nodata { text-align: center; padding: 20px; color: var(--hn-text-3); font-size: 14px; }
.comtManage { display: block; font-size: 11px; color: var(--hn-text-3); margin-top: 4px; }

/* ── 작성 폼 (게시판 작성 / 회원가입 S4 등) ───────────────── */
.siiruBoard-write,
.joinForm-write { border-top: 2px solid var(--hn-text); }
.siiruBoard-write dl,
.joinForm-write dl { display: flex; border-bottom: 1px solid var(--hn-line); }
.siiruBoard-write dl dt,
.joinForm-write dl dt {
  width: 130px; padding: 14px 16px; background: var(--hn-bg-alt);
  font-size: 13px; font-weight: 700; color: var(--hn-text-2);
  display: flex; align-items: flex-start; gap: 4px; flex-shrink: 0;
}
.siiruBoard-write dl dt span,
.joinForm-write dl dt span { color: var(--hn-red); }
.siiruBoard-write dl dt span.label,
.joinForm-write dl dt span.label { color: var(--hn-text-2); font-weight: 700; }
.siiruBoard-write dl dt span.required,
.joinForm-write dl dt span.required { color: var(--hn-red); }
.siiruBoard-write dl dd,
.joinForm-write dl dd { flex: 1; padding: 12px 16px; }
.siiruBoard-write dl dd input[type="text"],
.siiruBoard-write dl dd input[type="password"],
.siiruBoard-write dl dd input.maskDate,
.siiruBoard-write dl dd input.maskTime,
.joinForm-write dl dd input[type="text"],
.joinForm-write dl dd input[type="password"],
.joinForm-write dl dd input.maskDate,
.joinForm-write dl dd input.maskTime {
  padding: 8px 12px; border: 1px solid var(--hn-line); border-radius: 4px;
  font-size: 14px; font-family: inherit; outline: 0; width: 100%; box-sizing: border-box;
}
.siiruBoard-write dl dd input.small2,
.joinForm-write dl dd input.small2 { width: 240px; }
.siiruBoard-write dl dd input.small,
.joinForm-write dl dd input.small { width: 140px; }
.siiruBoard-write dl dd select,
.joinForm-write dl dd select {
  padding: 8px 12px; border: 1px solid var(--hn-line); border-radius: 4px;
  font-size: 14px; background: var(--hn-bg); color: var(--hn-text-2); outline: 0;
}
.siiruBoard-write dl.fullCont dd,
.siiruBoard-write dl dd.fullCont,
.joinForm-write dl.fullCont dd,
.joinForm-write dl dd.fullCont { padding: 0; }
.siiruBoard-write dl dd textarea,
.joinForm-write dl dd textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--hn-line);
  font-size: 14px; font-family: inherit; outline: 0; resize: vertical; box-sizing: border-box;
}
.siiruBoard-write .separator,
.joinForm-write .separator { margin: 0 6px; color: var(--hn-text-3); }
.siiruBoard-write .btnLayer,
.joinForm-write .btnLayer { margin-left: 10px; }
.siiruBoard-write small,
.joinForm-write small { font-size: 12px; color: var(--hn-text-3); display: block; margin-top: 6px; }
.joinForm-write dl dd input[type="radio"],
.joinForm-write dl dd input[type="checkbox"] { width: auto; margin-right: 4px; accent-color: var(--hn-green); }
.joinForm-write dl dd input[type="file"].file { width: auto; max-width: 100%; font-size: 13px; }

.fileLayer { padding: 10px 0; border-bottom: 1px solid var(--hn-line-soft); }
.fileLayer:last-child { border-bottom: none; }
.fileInfo { margin-bottom: 6px; font-size: 13px; }
.fileInfo .fileView a { color: var(--hn-blue); }
.fileCheckbox { accent-color: var(--hn-green); }

.radioBlock { margin-bottom: 8px; }
.radioBlock label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; }

/* ── 갤러리 목록 ──────────────────────────────── */
.siiruBoard-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
  padding: 16px 0;
}
@media (max-width: 1024px) { .siiruBoard-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .siiruBoard-gallery { grid-template-columns: repeat(2, 1fr); gap: 14px 10px; } }

.siiruBoard-galleryBox .photoBox {
  aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--hn-bg-alt2); border-radius: 6px;
}
.siiruBoard-galleryBox .photoBox img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.2s;
}
.siiruBoard-galleryBox .photoBox a:hover img { transform: scale(1.04); }
.siiruBoard-galleryBox dl { margin: 8px 0 0; }
.siiruBoard-galleryBox dl dt { font-size: 14px; font-weight: 500; color: var(--hn-text); line-height: 1.4; }
.siiruBoard-galleryBox dl dt.new::after {
  content: 'N'; display: inline-block; margin-left: 6px;
  background: var(--hn-red); color: #fff; font-size: 10px;
  padding: 1px 5px; border-radius: 2px; font-weight: 700;
}
.siiruBoard-galleryBox dl dt a { color: inherit; text-decoration: none; }
.siiruBoard-galleryBox dl dt a:hover { color: var(--hn-green); }
.siiruBoard-galleryBox dl dd { font-size: 12px; color: var(--hn-text-3); margin-top: 4px; }
.siiruBoard-galleryBox dl dd span { margin-left: 8px; }
.siiruBoard-galleryBox.throughline dl dt a { text-decoration: line-through; color: var(--hn-text-3); }

/* ── 로그인 스킨 ──────────────────────────────── */
.siiru-loginWrap { padding: 8px 0; }
.loginWrap { max-width: 520px; margin: 0 auto;}
.loginWrap h4 { font-size: 18px; font-weight: 700; color: var(--hn-text); margin-bottom: 20px; }

/* 로그인 폼: inputWrap 수평 레이아웃 → 수직 오버라이드 */
.loginWrap .inputWrap dl {
  display: block; border-bottom: none; margin-bottom: 14px;
}
.loginWrap .inputWrap dl:first-of-type { border-top: none; }
.loginWrap .inputWrap dl dt {
  width: auto; background: none; padding: 0 0 6px 0;
  font-size: 13px; font-weight: 600; color: var(--hn-text-2);
}
.loginWrap .inputWrap dl dd {
  padding: 0; display: flex; flex-wrap: wrap; align-items: center;
}
.loginWrap .inputWrap dl dd input[type="text"],
.loginWrap .inputWrap dl dd input[type="password"] {
  width: 100% !important; flex: none !important;
  padding: 10px 14px; border: 1px solid var(--hn-line); border-radius: 6px;
  font-size: 15px; outline: 0; box-sizing: border-box; font-family: inherit;
}
.loginWrap .inputWrap dl dd input[type="text"]:focus,
.loginWrap .inputWrap dl dd input[type="password"]:focus { border-color: var(--hn-green); }
.loginWrap .inputWrap dl dd input[type="checkbox"] {
  width: auto !important; margin-left: 0 !important; margin-top: 10px;
  accent-color: var(--hn-green); cursor: pointer;
}
.loginWrap .inputWrap dl dd label {
  margin-left: 4px; margin-top: 10px;
  font-size: 13px; color: var(--hn-text-3); cursor: pointer; white-space: nowrap;
}
.loginWrap .inputWrap .siiru-btnSet { justify-content: center; margin-top: 20px; }
.loginWrap .inputWrap .siiru-btn { font-size: 15px; padding: 11px 30px;}
.siiru-loginWrap .alert-hn { margin-bottom: 20px; }

.joinLayer { list-style: none; padding: 0; margin: 20px 0 0; display: flex; gap: 10px; justify-content: center; border-top: 1px solid var(--hn-line-soft); padding-top: 16px; }
.joinLayer .siiru-btn { font-size: 14px; }

.certWrap { }
.certSingle { }
.kindBoxWrap { display: flex; gap: 12px; margin-bottom: 12px; }
.kindBox {
  flex: 1; border: 1px solid var(--hn-line); border-radius: 8px; padding: 16px;
  text-align: center;
}
.kindBox.siiru-mr0 { margin-right: 0; }
.stepCate p { font-size: 14px; font-weight: 600; color: var(--hn-text); margin-bottom: 10px; }
.certWrap .info { font-size: 12px; color: var(--hn-text-3); margin-top: 8px; line-height: 1.6; }

/* ── 회원가입 스킨 ────────────────────────────── */
.siiru-joinWrap { padding: 8px 0; }
.siiru-joinWrap .stepTab ul {
  display: flex; list-style: none; padding: 0; margin: 0 0 24px;
  border-bottom: 2px solid var(--hn-line); gap: 0;
}
.siiru-joinWrap .stepTab li { flex: 1; text-align: center; }
.siiru-joinWrap .stepTab li a {
  display: block; padding: 11px 0; font-size: 13px; font-weight: 600;
  color: var(--hn-text-3); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -2px;
}
.siiru-joinWrap .stepTab li.active a { color: var(--hn-green); border-bottom-color: var(--hn-green); }
.siiru-joinWrap .stepTitle { font-size: 16px; font-weight: 700; color: var(--hn-text); margin-bottom: 16px; }
.siiru-joinWrap .stepTitle small {
  font-weight: 400; font-size: 13px; color: var(--hn-text-3); margin-left: 8px;
}
.siiru-joinWrap .joinWelcome {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 30px 36px;
  margin: 20px 0;
  line-height: 2;
  font-size: 15px;
  color: var(--hn-text-2);
}
.siiru-joinWrap .joinWelcome p { margin: 0 0 8px; }
.siiru-joinWrap .joinWelcome p:first-child { font-size: 1.05em; font-weight: 600; color: var(--hn-text); }
.siiru-joinWrap .joinWelcome p:last-child { margin-bottom: 0; }
.siiru-joinWrap .well {
  background: var(--hn-blue-soft); border: 1px solid var(--hn-line); border-radius: 6px;
  padding: 14px 18px; font-size: 14px; color: var(--hn-text-2); margin-bottom: 20px;
}
.agreeBoxWrap { margin-bottom: 20px; }
.stepSubTitle { font-size: 14px; font-weight: 700; color: var(--hn-text); margin: 14px 0 8px; }
.agreeBox {
  border: 1px solid var(--hn-line); border-radius: 6px; padding: 14px 16px;
  max-height: 140px; overflow-y: auto; font-size: 13px; color: var(--hn-text-2);
  background: var(--hn-bg-alt); margin-bottom: 8px;
}
.siiru-joinWrap .agreeBox {
  height: 80px;
  max-height: 80px;
  font-size: 0.88em;
  line-height: 1.7;
}
.agreeCheck { font-size: 14px; margin-bottom: 14px; }
.agreeCheck label { cursor: pointer; }

.siiru-joinWrap .alert-hn { margin-bottom: 20px; }
.siiru-joinWrap .joinForm-write { border-top: none; }
.siiru-joinWrap .joinForm-write dl { border-top: 1px solid var(--hn-line); }
.siiru-joinWrap .joinForm-write dl:first-child { border-top: 2px solid var(--hn-text); }
.siiru-joinWrap a.siiru-btn { box-sizing: border-box; }
#join-step-S2 .siiru-btnSet { margin-top: 20px; }

.complete { text-align: center; padding: 40px 0; font-size: 16px; color: var(--hn-text-2); }
.complete > p { margin: 0; line-height: 1.8; }
.complete-icon { font-size: 48px; color: var(--hn-green); margin-bottom: 16px; }
.complete-title { font-size: 18px; font-weight: 700; color: var(--hn-text); margin-bottom: 12px; }
.complete-desc { font-size: 14px; color: var(--hn-text-3); line-height: 1.8; }
.complete .siiru-btnSet { margin-top: 24px; }

/* ── 아이디/비밀번호 찾기 스킨 ───────────────── */
.siiru-findUserWrap { padding: 8px 0; }
.findUserWrap { max-width: 560px; margin: 0 auto;}
.findUserWrap h4 { font-size: 18px; font-weight: 700; color: var(--hn-text); margin-bottom: 16px; }
.findUser-tab ul { display: flex; list-style: none; padding: 0; margin: 0 0 20px; border-bottom: 2px solid var(--hn-line); }
.findUser-tab li { flex: 1; text-align: center; }
.findUser-tab li a {
  display: block; padding: 11px 0; font-size: 14px; font-weight: 600;
  color: var(--hn-text-3); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -2px;
}
.findUser-tab li.active a { color: var(--hn-green); border-bottom-color: var(--hn-green); }
#findSection-P { display: none; }
.findLayer { }
.retIdMsg { padding: 12px 0; font-size: 15px; font-weight: 600; color: var(--hn-green); }
.inputWrap h5 { font-size: 15px; font-weight: 700; color: var(--hn-text); margin: 16px 0 12px; }
.inputWrap dl { display: flex; border-bottom: 1px solid var(--hn-line-soft); }
.inputWrap dl dt { width: 110px; padding: 12px 16px; background: var(--hn-bg-alt); font-size: 13px; font-weight: 700; color: var(--hn-text-2); display: flex; align-items: center; flex-shrink: 0; }
.inputWrap dl dt label { cursor: pointer; }
.inputWrap dl dd { flex: 1; padding: 10px 16px; display: flex; align-items: center; }
.inputWrap dl dd input[type="text"],
.inputWrap dl dd input[type="password"],
.inputWrap dl dd input.maskDate {
  width: 100%; padding: 8px 12px; border: 1px solid var(--hn-line); border-radius: 4px;
  font-size: 14px; outline: 0;
}
.inputWrap dl dd input.small { width: 160px; }
.inputWrap .siiru-btnSet { margin-top: 16px; }

/* ── 회원 탈퇴 스킨 ──────────────────────────── */
.siiru-userWrap { padding: 8px 0; }
.siiru-userWrap .leaveForm h4 { font-size: 18px; font-weight: 700; color: var(--hn-text); margin-bottom: 16px; }
.leaveForm .leave-desc { font-size: 14px; color: var(--hn-text-3); margin-bottom: 16px; }
.leaveForm .findLayer { }
.pwCert { margin: 14px 0; }
.pwCert input[type="password"] {
  width: 260px; padding: 9px 14px; border: 1px solid var(--hn-line); border-radius: 6px;
  font-size: 14px; outline: 0;
}

/* ── 비밀번호 변경 스킨 ──────────────────────── */
.siiru-passwdWrap { padding: 8px 0; }
.passwdWrap {  }
.passwdWrap h4 { font-size: 18px; font-weight: 700; color: var(--hn-text); margin-bottom: 16px; }
.passwdWrap ul { padding: 14px 18px; background: var(--hn-blue-soft); border: 1px solid var(--hn-line); border-radius: 6px; margin-bottom: 20px; }
.passwdWrap ul li { font-size: 13px; color: var(--hn-text-2); line-height: 1.8; }
.passwdWrap .siiruBoard-write { margin-top: 20px; }
.passwdWrap .siiru-btnSet { margin-top: 16px; }

/* ── 회원 정보 스킨 ──────────────────────────── */
.siiru-userWrap .userWrap h4 { font-size: 18px; font-weight: 700; color: var(--hn-text); margin-bottom: 16px; }
.user-tab ul { display: flex; list-style: none; padding: 0; margin: 0 0 20px; border-bottom: 2px solid var(--hn-line); }
.user-tab li { flex: 1; text-align: center; }
.user-tab li a {
  display: block; padding: 11px 0; font-size: 14px; font-weight: 600;
  color: var(--hn-text-3); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -2px;
}
.user-tab li.active a { color: var(--hn-green); border-bottom-color: var(--hn-green); }
.siiru-userWrap .siiruBoard-write dl { border-top: 1px solid var(--hn-line); }
.siiru-userWrap .siiruBoard-write dl:first-child { border-top: 2px solid var(--hn-text); }
.siiru-userWrap .siiruBoard-write dl dd { display: flex; align-items: center; }
.siiru-userWrap input[readonly] { background: var(--hn-bg-alt); color: var(--hn-text-3); }
.siiru-userWrap .siiru-btnSet { margin-top: 16px; }

/* ── 모달 (siiru-modal) ──────────────────────── */
.siiruModal.modal { display: none; }

/* ── 반응형 ──────────────────────────────────── */
@media (max-width: 768px) {
  .siiruBoard-search form { flex-direction: column; align-items: stretch; }
  .siiruBoard-search input[type="text"]:not(.maskDate) { min-width: unset; }
  .siiruBoard-write dl,
  .joinForm-write dl { flex-direction: column; }
  .siiruBoard-write dl dt,
  .joinForm-write dl dt { width: 100%; border-bottom: 1px solid var(--hn-line-soft); }
  .loginWrap, .passwdWrap, .findUserWrap { max-width: 100%; }
  .kindBoxWrap { flex-direction: column; }
  .siiruBoardBtnInfo { flex-direction: column-reverse; gap: 8px; }
}