/* ===== 정성그린 사회적협동조합 메인 스타일 ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

/* ── 국민권익위원회 공익신고 팝업 배너 ── */
#acrc-popup {
  position: fixed;
  z-index: 3000;
  top: 120px;
  left: 24px;
  width: 260px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  overflow: hidden;
}
#acrc-popup .acrc-head {
  background: var(--primary-dark);
  color: #fff;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
}
#acrc-popup .acrc-body {
  padding: 16px;
  text-align: center;
}
#acrc-popup .acrc-body p {
  font-size: 13px;
  color: var(--text-mid);
  margin: 0 0 12px;
  line-height: 1.5;
}
#acrc-popup .acrc-body a.btn-acrc {
  display: inline-block;
  width: 100%;
  padding: 9px 0;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}
#acrc-popup .acrc-body a.btn-acrc:hover { background: var(--primary-dark); }
#acrc-popup .acrc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-light);
}
#acrc-popup .acrc-foot label { display:flex; align-items:center; gap:5px; cursor:pointer; }
#acrc-popup .acrc-foot button {
  background: none; border: none; color: var(--text-light); cursor: pointer; font-size: 11px;
}
#acrc-popup.hidden { display: none; }
@media (max-width: 640px) {
  #acrc-popup { left: 12px; right: 12px; width: auto; top: auto; bottom: 12px; }
}

:root {
  --primary: #2e7d32;
  --primary-dark: #1b5e20;
  --primary-light: #4caf50;
  --accent: #8bc34a;
  --accent2: #f57f17;
  --text-dark: #222;
  --text-mid: #555;
  --text-light: #888;
  --bg-light: #f5f8f3;
  --bg-white: #fff;
  --border: #d4e6d0;
  --shadow: 0 2px 12px rgba(46,125,50,0.08);
}

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

body {
  font-family: 'Noto Sans KR', '맑은 고딕', sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  background: #fff;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== TOP BAR ===== */
#top-bar {
  background: var(--primary-dark);
  color: #c8e6c9;
  font-size: 12px;
  padding: 5px 0;
}
#top-bar .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#top-bar .related-sites {
  display: flex;
  align-items: center;
  gap: 10px;
}
#top-bar .related-sites span { color: #a5d6a7; }
#top-bar .related-sites a {
  color: #c8e6c9;
  transition: color .2s;
}
#top-bar .related-sites a:hover { color: #fff; }
#top-bar .top-links { display: flex; gap: 14px; }
#top-bar .top-links a {
  color: #c8e6c9;
  transition: color .2s;
}
#top-bar .top-links a:hover { color: #fff; }

/* ===== HEADER ===== */
#header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}
#header .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
#logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
#logo img {
  height: 55px;
  width: auto;
}
#logo .logo-text {
  display: flex;
  flex-direction: column;
}
#logo .logo-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}
#logo .logo-sub {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

/* ===== GNAV ===== */
#gnav { display: flex; align-items: center; height: 100%; }
#gnav > ul {
  display: flex;
  height: 100%;
}
#gnav > ul > li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
#gnav > ul > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  transition: color .2s;
  position: relative;
}
#gnav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary);
  transition: width .25s;
}
#gnav > ul > li:hover > a,
#gnav > ul > li.active > a { color: var(--primary); }
#gnav > ul > li:hover > a::after,
#gnav > ul > li.active > a::after { width: 80%; }

/* 드롭다운 */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border);
  border-top: 2px solid var(--primary);
  min-width: 160px;
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s;
  transform: translateX(-50%) translateY(8px);
  z-index: 200;
}
#gnav > ul > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 11px 20px;
  font-size: 13px;
  color: var(--text-mid);
  border-bottom: 1px solid #f0f0f0;
  transition: background .15s, color .15s;
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--bg-light); color: var(--primary); }

/* 햄버거 */
/* 헤더 우측 액션 영역 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.btn-admin {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 4px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.btn-admin:hover {
  background: var(--primary);
  color: #fff;
}

#menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
#menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all .3s;
}

/* ===== HERO SLIDER ===== */
#hero {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: var(--primary-dark);
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
}
.slide.active { opacity: 1; z-index: 1; }
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 6s ease;
}
.slide.active .slide-bg { transform: scale(1); }
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27,94,32,.75) 0%, rgba(27,94,32,.2) 100%);
}
.slide-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  color: #fff;
}
.slide-content .tag {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.slide-content h2 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.slide-content p {
  font-size: 16px;
  opacity: .9;
  margin-bottom: 28px;
  max-width: 500px;
}
.btn-hero {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  transition: background .2s, transform .2s;
}
.btn-hero:hover { background: #fff; transform: translateY(-2px); }

/* 슬라이더 컨트롤 */
.hero-nav {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.hero-dot.active { background: var(--accent); transform: scale(1.3); }
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.2);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.hero-arrow:hover { background: rgba(255,255,255,.4); }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }

/* ===== QUICK LINKS ===== */
#quick-links {
  background: var(--primary);
  padding: 0;
}
#quick-links .inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 10px;
  color: #fff;
  gap: 8px;
  border-right: 1px solid rgba(255,255,255,.15);
  transition: background .2s;
}
.quick-item:last-child { border-right: none; }
.quick-item:hover { background: var(--primary-dark); }
.quick-item .icon {
  font-size: 28px;
  line-height: 1;
}
.quick-item span {
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 70px 0;
}
.section-alt { background: var(--bg-light); }
.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head .label {
  display: inline-block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.section-head p { color: var(--text-mid); font-size: 15px; }
.divider {
  width: 48px;
  height: 3px;
  background: var(--primary);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ===== ABOUT ===== */
#about .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-light);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;   /* 세로·가로 사진 모두 영역에 꽉 차게 (비율 유지하며 크롭) */
  object-position: center;
}
.about-img-placeholder {
  color: var(--border);
  font-size: 14px;
  text-align: center;
  padding: 60px 20px;
}
.about-text h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 18px;
  line-height: 1.4;
}
.about-text p {
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 16px;
  font-size: 14px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.stat-item {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px 14px;
  text-align: center;
}
.stat-item .num {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  display: block;
}
.stat-item .label-s {
  font-size: 12px;
  color: var(--text-mid);
}

/* ===== SERVICES ===== */
#services .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 34px 28px;
  text-align: center;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  cursor: default;
}
.service-card:hover {
  box-shadow: 0 8px 24px rgba(46,125,50,.12);
  transform: translateY(-4px);
  border-color: var(--primary-light);
}
.service-card .icon {
  font-size: 46px;
  margin-bottom: 18px;
  line-height: 1;
}
.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ===== NEWS ===== */
#news .grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
}
.news-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.news-box-head {
  background: var(--primary);
  color: #fff;
  padding: 14px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.news-box-head h3 { font-size: 15px; font-weight: 600; }
.news-box-head a {
  font-size: 12px;
  color: rgba(255,255,255,.75);
  transition: color .2s;
}
.news-box-head a:hover { color: #fff; }
.news-list { padding: 8px 0; }
.news-list li {
  border-bottom: 1px solid #f5f5f5;
  padding: 0;
}
.news-list li:last-child { border-bottom: none; }
.news-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 22px;
  font-size: 13px;
  color: var(--text-mid);
  transition: background .15s, color .15s;
  gap: 8px;
}
.news-list a:hover { background: var(--bg-light); color: var(--primary); }
.news-list .title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-list .date {
  font-size: 11px;
  color: var(--text-light);
  flex-shrink: 0;
}
.news-list .badge {
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== GALLERY ===== */
#gallery .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-item {
  aspect-ratio: 1;
  background: var(--bg-light);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border);
  font-size: 13px;
  text-align: center;
}

/* ===== PARTNER / RELATED ===== */
#partners {
  background: #fff;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
#partners .inner {
  display: flex;
  align-items: center;
  gap: 30px;
}
#partners .label-p {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  min-width: 80px;
}
.partner-logos {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.partner-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-mid);
  font-size: 12px;
  font-weight: 500;
  transition: border-color .2s, color .2s;
}
.partner-logos a:hover { border-color: var(--primary); color: var(--primary); }
.partner-logos img { height: 36px; width: auto; }

/* ===== FOOTER ===== */
#footer {
  background: #1a2e1a;
  color: #a5c8a5;
  font-size: 13px;
}
#footer .footer-top {
  border-bottom: 1px solid #2d4a2d;
  padding: 36px 0;
}
#footer .footer-top .inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .f-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand .f-logo img { height: 40px; filter: brightness(0) invert(1); }
.footer-brand .f-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.footer-brand p {
  font-size: 12px;
  line-height: 1.9;
  color: #7a9e7a;
  margin-bottom: 14px;
}
.footer-info dt, .footer-info dd {
  display: inline;
  font-size: 12px;
}
.footer-info dt {
  color: #5d825d;
  margin-right: 4px;
}
.footer-info dd {
  color: #a5c8a5;
  margin-left: 0;
  margin-right: 14px;
}
.footer-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #2d4a2d;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  color: #7a9e7a;
  font-size: 12px;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-col ul li a::before {
  content: '› ';
  color: #4d6e4d;
}

/* 관련사이트 드롭다운 */
.related-select {
  width: 100%;
  padding: 8px 12px;
  background: #2a3e2a;
  border: 1px solid #3d5a3d;
  color: #a5c8a5;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
}
.related-select option { background: #1a2e1a; }

#footer .footer-bottom {
  padding: 18px 0;
}
#footer .footer-bottom .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-policy {
  display: flex;
  gap: 16px;
}
.footer-policy a {
  color: #7a9e7a;
  font-size: 12px;
  transition: color .2s;
}
.footer-policy a:hover { color: var(--accent); }
.footer-policy a.strong { color: #a5c8a5; font-weight: 600; }
.footer-copy {
  font-size: 11px;
  color: #4d6e4d;
}

/* ===== 서브 페이지 공통 ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  padding: 48px 0 40px;
  text-align: center;
}
.page-header h1 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.page-header .breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  display: flex;
  justify-content: center;
  gap: 8px;
}
.page-header .breadcrumb a { color: rgba(255,255,255,.7); }
.page-header .breadcrumb a:hover { color: #fff; }

.page-content { padding: 60px 0; }
.page-content .inner { max-width: 920px; }

.content-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
}
.content-box h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.content-box h2:first-child { margin-top: 0; }
.content-box p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-mid);
  margin-bottom: 12px;
}
.content-box ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 14px;
}
.content-box ul li {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 4px;
}
.content-box table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 14px 0;
}
.content-box table th,
.content-box table td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}
.content-box table th {
  background: var(--bg-light);
  font-weight: 600;
  color: var(--primary-dark);
}

/* ===== 버튼 ===== */
.btn {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ===== 공지사항 목록 ===== */
.board-table {
  width: 100%;
  border-collapse: collapse;
}
.board-table th {
  background: var(--primary);
  color: #fff;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
}
.board-table td {
  border-bottom: 1px solid #f0f0f0;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-mid);
  vertical-align: middle;
}
.board-table tr:hover td { background: var(--bg-light); }
.board-table .subject a {
  color: var(--text-dark);
  transition: color .2s;
}
.board-table .subject a:hover { color: var(--primary); }
.board-table .num, .board-table .hits { text-align: center; }
.board-table .date { text-align: center; white-space: nowrap; }
.board-table .new-badge {
  display: inline-block;
  background: var(--accent2);
  color: #fff;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
  font-weight: 700;
}
.board-paging {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
}
.board-paging a, .board-paging span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  color: var(--text-mid);
  transition: all .2s;
}
.board-paging a:hover { border-color: var(--primary); color: var(--primary); }
.board-paging .current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ===== 문의하기 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-info-item .ci-icon {
  width: 42px;
  height: 42px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-info-item .ci-text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 3px;
}
.contact-info-item .ci-text span {
  font-size: 13px;
  color: var(--text-mid);
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  font-family: inherit;
  color: var(--text-dark);
  transition: border-color .2s;
  background: #fff;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== 반응형 ===== */
@media (max-width: 1024px) {
  #hero { height: 420px; }
  .slide-content h2 { font-size: 32px; }
  #quick-links .inner { grid-template-columns: repeat(5, 1fr); }
  #about .inner { grid-template-columns: 1fr; gap: 30px; }
  #services .grid { grid-template-columns: repeat(2, 1fr); }
  #gallery .grid { grid-template-columns: repeat(3, 1fr); }
  #footer .footer-top .inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  #top-bar { display: none; }
  .btn-admin { display: none; }
  #header .inner { height: 64px; }
  #logo .logo-name { font-size: 18px; }
  #logo img { height: 44px; }
  #gnav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px 0;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .3s;
    box-shadow: 4px 0 20px rgba(0,0,0,.1);
    z-index: 999;
  }
  #gnav.open { transform: translateX(0); }
  #gnav > ul { flex-direction: column; width: 100%; height: auto; }
  #gnav > ul > li { height: auto; border-bottom: 1px solid #f0f0f0; }
  #gnav > ul > li > a {
    height: auto;
    padding: 14px 24px;
    font-size: 16px;
    display: block;
  }
  #gnav > ul > li > a::after { display: none; }
  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-top: 1px solid #f0f0f0;
    display: none;
  }
  #gnav > ul > li.open .dropdown { display: block; }
  .dropdown a { padding: 10px 40px; }
  #menu-toggle { display: flex; }
  #hero { height: 300px; }
  .slide-content { padding: 0 24px; }
  .slide-content h2 { font-size: 22px; }
  .slide-content p { font-size: 13px; }
  #quick-links .inner { grid-template-columns: repeat(3, 1fr); }
  .quick-item:nth-child(4), .quick-item:nth-child(5) { display: none; }
  #services .grid { grid-template-columns: 1fr; }
  #news .grid { grid-template-columns: 1fr; }
  #gallery .grid { grid-template-columns: repeat(2, 1fr); }
  #footer .footer-top .inner { grid-template-columns: 1fr; }
  #footer .footer-bottom .inner { flex-direction: column; gap: 10px; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .content-box { padding: 24px; }
}
@media (max-width: 480px) {
  .section { padding: 50px 0; }
  .section-head h2 { font-size: 24px; }
  #quick-links .inner { grid-template-columns: repeat(3, 1fr); }
  .about-stats { grid-template-columns: 1fr; }
  #gallery .grid { grid-template-columns: repeat(2, 1fr); }
}

/* 게시판 빈 상태 */
.board-empty { text-align: center; color: #999; padding: 30px 10px; }

/* ===== 회원 로그인 영역 (헤더) ===== */
.member-area { display: flex; align-items: center; gap: 10px; }
.member-link { font-size: 13px; font-weight: 600; color: var(--text-mid); white-space: nowrap; }
.member-link:hover { color: var(--primary); }
.member-join { color: var(--primary); }
.member-hello { font-size: 13px; font-weight: 600; color: var(--primary); white-space: nowrap; }

/* ===== 회원 로그인/가입 페이지 ===== */
.auth-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--bg-light); padding: 20px;
}
.auth-card {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  box-shadow: var(--shadow); width: 100%; max-width: 400px; padding: 36px 30px;
}
.auth-logo { display: block; text-align: center; font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 18px; }
.auth-card h1 { font-size: 21px; text-align: center; color: var(--text-dark); margin-bottom: 6px; }
.auth-card .sub { text-align: center; color: var(--text-light); font-size: 13px; margin-bottom: 22px; }
.auth-field { margin-bottom: 14px; }
.auth-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text-mid); }
.auth-field input {
  width: 100%; padding: 11px 12px; border: 1px solid var(--border);
  border-radius: 6px; font-size: 14px; font-family: inherit;
}
.auth-field input:focus { outline: none; border-color: var(--primary); }
.auth-btn {
  width: 100%; padding: 12px; background: var(--primary); color: #fff; border: none;
  border-radius: 6px; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s;
}
.auth-btn:hover { background: var(--primary-dark); }
.auth-btn:disabled { opacity: .6; cursor: default; }
.auth-alt { text-align: center; margin-top: 14px; font-size: 13px; color: var(--text-mid); }
.auth-alt a { color: var(--primary); font-weight: 600; }
.auth-error {
  background: #ffebee; color: #c62828; border: 1px solid #ffcdd2;
  border-radius: 6px; padding: 10px 12px; font-size: 13px; margin-bottom: 14px; display: none;
}
