/* ==========================================================================
   청라시민에너지협동조합 · 공통 스타일
   Theme: 밝은 그린/블루 친환경
   ========================================================================== */

:root {
  --green:        #2e9e5b;
  --green-dark:   #1f7a44;
  --green-light:  #eaf6ee;
  --blue:         #1a86c8;
  --blue-dark:    #12689e;
  --blue-light:   #e8f3fb;
  --sun:          #f6b93b;
  --ink:          #1f2a30;
  --gray:         #5c6b72;
  --line:         #e2e8ea;
  --bg:           #ffffff;
  --bg-soft:      #f6f9f8;
  --radius:       14px;
  --shadow:       0 6px 24px rgba(20, 60, 40, 0.08);
  --shadow-lg:    0 14px 40px rgba(20, 60, 40, 0.12);
  --maxw:         1160px;
  --header-h:     76px;
}

/* ---------- 콘텐츠 관리에서 선택하는 사이트 전체 캠페인 계열 ---------- */
.layout-campaign:not(.page-template-home-campaign) .site-header { background: var(--green-dark); border-bottom: 0; box-shadow: none; }
.layout-campaign:not(.page-template-home-campaign) .header-inner { min-height: 74px; }
.layout-campaign:not(.page-template-home-campaign) .brand { align-self: center; padding: 0; background: transparent; }
.layout-campaign:not(.page-template-home-campaign) .brand img { filter: brightness(0) invert(1); }
.layout-campaign:not(.page-template-home-campaign) .brand-fallback { color: #fff; }
.layout-campaign:not(.page-template-home-campaign) .main-nav > ul > li > a { color: #fff; }
.layout-campaign:not(.page-template-home-campaign) .main-nav > ul > li > a:hover,
.layout-campaign:not(.page-template-home-campaign) .main-nav > ul > li > a.active { color: var(--sun); }
.layout-campaign:not(.page-template-home-campaign) .nav-cta { background: var(--sun); color: #3a2a00; }
.layout-campaign:not(.page-template-home-campaign) .nav-toggle { color: #fff; }
.layout-campaign .page-hero { min-height: 300px; display: grid; align-content: center; position: relative; overflow: hidden; padding: 68px max(24px, calc((100% - 1160px) / 2)); text-align: left; background: var(--green-dark); color: #fff; isolation: isolate; }
.layout-campaign .page-hero::before { content: ''; position: absolute; z-index: -1; width: 460px; height: 460px; border-radius: 50%; background: var(--green); right: -120px; top: -270px; }
.layout-campaign .page-hero::after { content: ''; position: absolute; z-index: -1; width: 160px; height: 160px; border: 28px solid var(--sun); border-radius: 50%; right: 21%; bottom: -105px; }
.layout-campaign .page-hero h1 { max-width: 820px; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.065em; }
.layout-campaign .page-hero .crumbs { color: rgba(255,255,255,.76); font-weight: 700; letter-spacing: .04em; }
.layout-campaign .doc { max-width: 920px; border-top: 6px solid var(--green); padding-top: 30px; }
.layout-campaign .doc h2 { font-size: 1.7rem; border-bottom: 0; padding: 0; }
.layout-campaign .doc h2::before { content: ''; display: inline-block; width: 12px; height: 12px; margin: 0 11px 2px 0; background: var(--sun); }
.layout-campaign .doc img { border-radius: 0 !important; box-shadow: 16px 16px 0 var(--green-light); }
.layout-campaign .board { display: grid; gap: 12px; border: 0; }
.layout-campaign .board .row { grid-template-columns: 1fr auto; gap: 20px; padding: 20px 22px; border: 1px solid var(--line); border-left: 5px solid var(--green); background: #fff; transition: transform .18s, box-shadow .18s; }
.layout-campaign .board .row:first-child, .layout-campaign .board .no { display: none; }
.layout-campaign .board .row:hover { transform: translateX(7px); box-shadow: 0 10px 22px rgba(20,63,49,.1); }
.layout-campaign .board .title .badge { border-radius: 0; background: var(--green-dark); }
.layout-campaign .blog-grid { gap: 0; border-top: 2px solid var(--green-dark); }
.layout-campaign .post { display: grid; grid-template-columns: minmax(210px, .72fr) 1.28fr; min-height: 225px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.layout-campaign .post:hover { transform: none; background: var(--bg-soft); }
.layout-campaign .post .thumb { height: auto; min-height: 220px; clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
.layout-campaign .post .body { display: grid; align-content: center; padding: 28px 38px; }
.layout-campaign .accordion { max-width: 920px; }
.layout-campaign .acc-item { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; margin: 0; }
.layout-campaign .acc-q { padding: 24px 4px; font-size: 1.1rem; }
.layout-campaign .acc-q .plus { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--green-light); color: var(--ink); }
.layout-campaign .acc-a .inner { padding: 0 4px 24px; }
.layout-campaign .site-footer { border-top: 8px solid var(--sun); }

@media (max-width: 900px) {
  .layout-campaign:not(.page-template-home-campaign) .main-nav > ul > li > a { color: var(--ink); }
  .layout-campaign:not(.page-template-home-campaign) .nav-cta { background: var(--green); color: #fff; }
  .layout-campaign .page-hero { min-height: 250px; padding-top: 54px; padding-bottom: 54px; }
  .layout-campaign .post { grid-template-columns: 230px 1fr; }
}

@media (max-width: 560px) {
  .layout-campaign .page-hero { min-height: 220px; padding: 44px 24px; }
  .layout-campaign .page-hero::after { display: none; }
  .layout-campaign .board .row { padding: 16px; grid-template-columns: 1fr auto; }
  .layout-campaign .post { grid-template-columns: 1fr; }
  .layout-campaign .post .thumb { min-height: 175px; clip-path: none; }
  .layout-campaign .post .body { padding: 22px 0; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 헤더 / 네비게이션 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; max-height: calc(var(--header-h) - 20px); }
.brand .brand-fallback {
  font-weight: 800; font-size: 1.15rem; color: var(--ink);
  letter-spacing: -0.5px;
}

.main-nav > ul { display: flex; gap: 4px; align-items: center; }
.main-nav .nav-item { position: relative; }
.main-nav > ul > li > a {
  display: block; padding: 0 18px; line-height: var(--header-h);
  font-weight: 600; font-size: 1.02rem; color: var(--ink);
  transition: color .15s;
}
.main-nav > ul > li > a:hover { color: var(--green); }

.submenu {
  position: absolute; top: calc(var(--header-h) - 14px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow-lg);
  min-width: 190px; padding: 8px; opacity: 0; visibility: hidden;
  transition: opacity .18s, transform .18s;
}
.nav-item:hover .submenu,
.nav-item:focus-within .submenu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.submenu a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: 0.97rem; color: var(--gray); font-weight: 500;
}
.submenu a:hover { background: var(--green-light); color: var(--ink); }

.nav-cta {
  margin-left: 12px; padding: 10px 20px !important; line-height: 1.2 !important;
  background: var(--green); color: var(--ink) !important; border-radius: 999px;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--green-dark); color: #fff !important; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; color: var(--ink);
}

/* ---------- 히어로 ---------- */
.hero {
  position: relative; color: #fff; text-align: center;
  padding: 110px 24px; background-size: cover; background-position: center 70%;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: color-mix(in srgb, var(--green) 12%, transparent);
  backdrop-filter: blur(5px);
}
.hero > * { position: relative; z-index: 1; }
.hero h1, .hero p { text-shadow: 0 2px 5px rgba(0, 0, 0, .85), 0 0 2px rgba(0, 0, 0, .85); }
.hero h1 { font-size: 2.7rem; font-weight: 800; letter-spacing: -1px; line-height: 1.25; }
.hero p { margin-top: 16px; font-size: 1.2rem; opacity: .95; }
.hero .btn { margin-top: 28px; background: var(--green); color: var(--ink); }

/* ---------- 페이지 헤더(서브페이지 배너) ---------- */
.page-hero {
  color: var(--ink); text-align: center; padding: 72px 24px 60px;
  background: linear-gradient(120deg, var(--green), var(--blue));
}
.page-hero h1 { font-size: 2.1rem; font-weight: 800; letter-spacing: -.5px; }
.page-hero .crumbs { margin-top: 10px; font-size: .95rem; opacity: .9; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 999px;
  font-weight: 700; font-size: 1.02rem; cursor: pointer; border: 2px solid transparent;
  transition: transform .12s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sun); color: #3a2a00; }
.btn-primary:hover { box-shadow: 0 8px 20px rgba(246,185,59,.4); }
.btn-white { background: #fff; color: var(--ink); }
.btn-outline { border-color: var(--green); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }

/* ---------- 섹션 공통 ---------- */
.section { padding: 76px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .eyebrow {
  display: inline-block; color: var(--green); font-weight: 700;
  font-size: .92rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px;
}
.section-head h2 { font-size: 2rem; font-weight: 800; letter-spacing: -.5px; }
.section-head p { margin-top: 14px; color: var(--gray); font-size: 1.05rem; }

/* ---------- 카드 그리드 ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-light); color: var(--ink); margin-bottom: 16px;
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--gray); font-size: .98rem; }
.card .more { display: inline-block; margin-top: 14px; color: var(--green); font-weight: 700; font-size: .95rem; }

/* ---------- 통계 스트립 ---------- */
.stats { background: var(--green-light); }
.stats .grid-4 { text-align: center; }
.stat .num { font-size: 2.6rem; font-weight: 800; color: var(--green); line-height: 1.1; }
.stat .label { color: var(--gray); margin-top: 6px; font-weight: 600; }

/* ---------- 미디어 2열 (이미지+글) ---------- */
.media { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.media h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -.5px; }
.media p { color: var(--gray); margin-bottom: 14px; }
.media.reverse .media-text { order: 2; }

/* ---------- 프로세스 스텝 ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.step::before {
  counter-increment: step; content: counter(step);
  flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.2rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: var(--gray); font-size: .97rem; }

/* ---------- 테이블 ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table.data { width: 100%; border-collapse: collapse; background: #fff; min-width: 640px; }
table.data th, table.data td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .96rem; }
table.data thead th { background: var(--green-dark); color: #fff; font-weight: 700; white-space: nowrap; }
table.data tbody tr:hover { background: var(--green-light); }
table.data td.center, table.data th.center { text-align: center; }

/* ---------- 발전소 카드 ---------- */
.plant-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plant {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .15s;
}
.plant:hover { transform: translateY(-4px); }
.plant .thumb { height: 180px; background: var(--green-light) center/cover no-repeat; }
.plant .body { padding: 20px 22px; }
.plant .tag { display: inline-block; background: var(--sun); color: #3a2a00; font-weight: 700; font-size: .78rem; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.plant h3 { font-size: 1.15rem; margin-bottom: 10px; }
.plant dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: .9rem; }
.plant dt { color: var(--gray); font-weight: 600; white-space: nowrap; }
.plant dd { color: var(--ink); }

/* ---------- 연혁 타임라인 ---------- */
.timeline { max-width: 820px; margin: 0 auto; padding-left: 8px; }
.tl-year { display: grid; grid-template-columns: 120px 1fr; gap: 28px; margin-bottom: 34px; }
.tl-year > .year { font-size: 1.6rem; font-weight: 800; color: var(--green); text-align: right; }
.tl-events { position: relative; }
.tl-events::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 14px; width: 2px; background: var(--line); }
.tl-events li { position: relative; display: flex; align-items: flex-start; gap: 10px; padding: 0 0 14px 26px; }
.tl-events li::before {
  content: ""; position: absolute; left: -6px; top: 8px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--green); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--green);
}
.tl-events .date { flex: 0 0 44px; font-weight: 700; color: var(--ink); }

/* ---------- 아코디언(FAQ) ---------- */
.accordion { max-width: 820px; margin: 0 auto; }
.acc-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; background: #fff; }
.acc-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 22px; font-size: 1.05rem; font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.acc-q .plus { flex: 0 0 auto; transition: transform .2s; color: var(--green); font-size: 1.4rem; }
.acc-item.open .acc-q .plus { transform: rotate(45deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.acc-a .inner { padding: 0 22px 20px; color: var(--gray); }
.acc-item.open .acc-a { max-height: 500px; }

/* ---------- 정관 문서 ---------- */
.doc { max-width: 860px; margin: 0 auto; }
.doc .toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 36px; }
.doc .toc h3 { margin-bottom: 12px; }
.doc .toc ul { columns: 2; }
.doc .toc a { color: var(--ink); font-weight: 600; }
.doc h2 { font-size: 1.4rem; margin: 40px 0 14px; color: var(--ink); padding-bottom: 8px; border-bottom: 2px solid var(--green-light); }
.doc h3.art { font-size: 1.05rem; margin: 20px 0 6px; font-weight: 700; }
.doc p { color: #33424a; margin-bottom: 10px; line-height: 1.9; }

/* ---------- 게시판 리스트 ---------- */
.board { border-top: 2px solid var(--green-dark); }
.board .row {
  display: grid; grid-template-columns: 70px 1fr 110px; gap: 16px; align-items: center;
  padding: 18px 12px; border-bottom: 1px solid var(--line);
}
.board .row:hover { background: var(--bg-soft); }
.board .no { color: var(--gray); text-align: center; font-weight: 600; }
.board.compact .row { grid-template-columns: 1fr auto; gap: 12px; }
.board .title { font-weight: 600; }
.board .title .badge { display: inline-block; background: var(--blue); color: #fff; font-size: .74rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; margin-right: 8px; }
.board .date { color: var(--gray); font-size: .9rem; text-align: right; }

/* ---------- 블로그 카드 ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s; }
.post:hover { transform: translateY(-4px); }
.post .thumb { height: 190px; background: var(--green-light) center/cover no-repeat; }
.post .body { padding: 22px; }
.post .cat { color: var(--green); font-weight: 700; font-size: .82rem; letter-spacing: 1px; }
.post h3 { font-size: 1.15rem; margin: 8px 0 10px; line-height: 1.45; }
.post p { color: var(--gray); font-size: .94rem; }
.post .date { color: var(--gray); font-size: .85rem; margin-top: 14px; }

/* ---------- 지도 / 오시는 길 ---------- */
.map-embed { width: 100%; height: 420px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.info-list { display: grid; gap: 14px; }
.info-list .item { display: flex; gap: 14px; align-items: flex-start; }
.info-list .item .ic { flex: 0 0 42px; height: 42px; border-radius: 10px; background: var(--blue-light); color: var(--ink); display: grid; place-items: center; }
.info-list .item .ic svg { width: 22px; height: 22px; }
.info-list .item .k { font-weight: 700; }
.info-list .item .v { color: var(--gray); }

/* ---------- CTA 배너 ---------- */
.cta-band { background: linear-gradient(120deg, var(--green), var(--blue)); color: #fff; text-align: center; padding: 64px 24px; }
.cta-band h2 { font-size: 1.9rem; font-weight: 800; }
.cta-band p { margin-top: 12px; opacity: .95; font-size: 1.08rem; }
.cta-band .btn { margin-top: 26px; }

/* ---------- 푸터 ---------- */
.site-footer { background: #16232a; color: #b9c7ce; padding: 56px 0 30px; font-size: .93rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand .fb-logo { font-weight: 800; font-size: 1.2rem; color: #fff; margin-bottom: 12px; }
.footer-brand p { line-height: 1.9; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer .links li { margin-bottom: 8px; }
.site-footer .links a:hover { color: var(--sun); }
.footer-bottom { border-top: 1px solid #2a3a43; margin-top: 40px; padding-top: 22px; text-align: center; color: #7f929b; font-size: .85rem; }

/* ---------- 유틸 ---------- */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.lead { font-size: 1.12rem; color: var(--gray); }

/* ---------- 반응형 ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4, .plant-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .media { grid-template-columns: 1fr; gap: 28px; }
  .media.reverse .media-text { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.1rem; }

  .nav-toggle { display: grid; place-items: center; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 90vh; overflow-y: auto; }
  .main-nav > ul { flex-direction: column; gap: 0; padding: 8px 0; }
  .main-nav > ul > li > a { line-height: 1.4; padding: 14px 24px; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-radius: 0; min-width: auto; padding: 0 0 8px 12px; background: var(--bg-soft);
    display: none;
  }
  .nav-item.expanded .submenu { display: block; }
  .nav-cta { display: inline-block; margin: 12px 24px; text-align: center; }
  .tl-year { grid-template-columns: 70px 1fr; gap: 16px; }
  .tl-year > .year { font-size: 1.25rem; }
}

@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4, .plant-grid, .blog-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 52px 0; }
  .hero { padding: 72px 20px; }
  .doc .toc ul { columns: 1; }
  .board .row { grid-template-columns: 1fr 84px; }
  .board .no { display: none; }
}

.main-nav > ul > li > a.active { color: var(--green); }

/* ---------- 홈 템플릿 계열 ---------- */
.home-variant h1, .home-variant h2, .home-variant h3 { letter-spacing: -.055em; }
.home-variant .eyebrow { display: inline-block; color: var(--green); font-size: .73rem; font-weight: 800; letter-spacing: .13em; }
.home-variant .more { color: var(--green); font-weight: 800; }

/* 기관형: 신뢰도와 현황을 전면에 둔 구조 */
.institutional-hero { min-height: 600px; position: relative; overflow: hidden; background: #e9f1ed; display: grid; align-items: stretch; }
.institutional-hero-image { position: absolute; inset: 0 0 0 45%; background-size: cover; background-position: center; }
.institutional-hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #e9f1ed 0%, rgba(233,241,237,.35) 60%, rgba(0,0,0,.12)); }
.institutional-hero-grid { position: relative; z-index: 1; min-height: 600px; display: grid; grid-template-columns: 1.15fr .55fr; align-items: center; gap: 48px; }
.institutional-hero-copy { max-width: 660px; padding: 80px 0; }
.institutional-hero-copy h1 { font-size: clamp(2.5rem, 4.5vw, 4.7rem); line-height: 1.1; margin: 16px 0 22px; white-space: pre-line; }
.institutional-hero-copy p { max-width: 590px; color: #45585c; font-size: 1.08rem; line-height: 1.8; white-space: pre-line; }
.institutional-impact { align-self: end; background: #123d36; color: #fff; padding: 34px 32px; margin-bottom: 52px; box-shadow: 0 20px 48px rgba(14,54,46,.28); }
.institutional-impact > span { font-size: .7rem; letter-spacing: .14em; color: #acd7c7; font-weight: 800; }
.institutional-stat { border-top: 1px solid rgba(255,255,255,.24); margin-top: 16px; padding-top: 16px; display: grid; gap: 4px; }
.institutional-stat strong { font-size: 2rem; line-height: 1; }
.institutional-stat small { color: #d5e7df; line-height: 1.45; }
.institutional-intro-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 72px; align-items: start; }
.section-copy h2 { font-size: 2.35rem; line-height: 1.22; margin: 14px 0 20px; }
.section-copy p { color: var(--gray); line-height: 1.8; }
.institutional-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.institutional-card { min-height: 205px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s, color .2s; display: grid; align-content: start; gap: 10px; }
.institutional-card .icon { color: var(--green); width: 28px; }
.institutional-card .icon svg { width: 25px; height: 25px; }
.institutional-card small { color: var(--gray); line-height: 1.55; }
.institutional-card b { margin-top: auto; color: var(--green); font-size: .82rem; }
.institutional-card:hover { background: #143d36; color: #fff; }
.institutional-card:hover .icon, .institutional-card:hover b { color: #b9e9d8; }
.institutional-card:hover small { color: #d3e1dc; }
.institutional-story { background: #f1f6f3; }
.institutional-news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.institutional-news-grid h2 { margin: 10px 0 20px; font-size: 1.65rem; }
.institutional-news-item { border-top: 1px solid var(--line); padding: 16px 0; display: flex; justify-content: space-between; gap: 20px; }
.institutional-news-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.institutional-news-item small { color: var(--gray); flex: 0 0 auto; }
.institutional-news-grid .more { display: inline-block; margin-top: 16px; font-size: .88rem; }
.institutional-cta { background: #123d36; color: #fff; padding: 72px 0; }
.institutional-cta span, .campaign-cta span, .community-cta span { color: #b9e9d8; font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.institutional-cta h2 { max-width: 760px; font-size: 2.35rem; line-height: 1.25; margin: 14px 0; }
.institutional-cta p { color: #d3e1dc; }
.institutional-cta .btn { margin-top: 24px; }

/* 캠페인형: 이미지와 행동 유도 중심의 구조 */
.page-template-home-campaign .site-header { position: absolute; inset: 0 0 auto; z-index: 10; background: rgba(18, 72, 42, .62); backdrop-filter: saturate(135%) blur(12px); border-bottom: 1px solid rgba(255,255,255,.16); box-shadow: none; }
.page-template-home-campaign .site-header .brand { align-self: center; padding: 0; background: transparent; }
.page-template-home-campaign .site-header .brand img { filter: brightness(0) invert(1); }
.page-template-home-campaign .site-header .brand-fallback { color: #fff; }
.page-template-home-campaign .site-header .main-nav > ul > li > a { color: #fff; }
.page-template-home-campaign .site-header .main-nav > ul > li > a.active { color: var(--sun); }
.page-template-home-campaign .site-header .nav-cta { background: var(--sun); color: #3a2a00; }
.page-template-home-campaign .site-header .nav-toggle { color: #fff; }
.campaign-hero { min-height: 680px; display: flex; align-items: center; color: #fff; background-size: cover; background-position: center; }
.campaign-hero .container { padding: 110px 0 72px; }
.campaign-kicker { color: #bee9b3; font-weight: 800; letter-spacing: .14em; font-size: .77rem; }
.campaign-hero h1 { max-width: 980px; font-size: clamp(2.7rem, 4.8vw, 4.6rem); line-height: 1.08; margin: 18px 0 24px; white-space: pre-line; }
.campaign-hero p { max-width: 620px; color: rgba(255,255,255,.88); white-space: pre-line; font-size: 1.12rem; line-height: 1.8; }
.campaign-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.campaign-text-link { color: #fff; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 4px; }
.campaign-impact { background: var(--green-light); color: var(--ink); }
.campaign-impact .container { min-height: 150px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: center; }
.campaign-impact .container > div { min-height: 70px; padding: 0 30px; border-left: 1px solid rgba(24,50,42,.22); display: grid; align-content: center; gap: 6px; }
.campaign-impact .container > div:first-child { border-left: 0; padding-left: 0; }
.campaign-impact strong { font-size: 2.25rem; line-height: 1; }
.campaign-impact span { font-size: .9rem; }
.campaign-story-grid { display: grid; grid-template-columns: 1fr .92fr; gap: 88px; align-items: center; }
.campaign-image-wrap { position: relative; padding: 24px 0 0 24px; }
.campaign-image-wrap::before { content: ''; position: absolute; width: 58%; height: 60%; background: var(--green-light); left: 0; top: 0; }
.campaign-image-wrap img { position: relative; width: 100%; min-height: 400px; object-fit: cover; }
.campaign-story h2 { font-size: 2.55rem; margin: 13px 0 22px; }
.campaign-story p { color: var(--gray); line-height: 1.8; margin-bottom: 14px; }
.campaign-story .more { display: inline-block; margin-top: 14px; }
.campaign-paths { background: #f2f5ee; }
.campaign-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.campaign-card { min-height: 290px; padding: 26px; background: #fff; position: relative; transition: transform .2s, box-shadow .2s; }
.campaign-card:hover { transform: translateY(-8px); box-shadow: 0 16px 30px rgba(27,44,31,.12); }
.campaign-card .icon { color: var(--green); margin-bottom: 35px; }
.campaign-card .icon svg { width: 28px; height: 28px; }
.campaign-card > span { position: absolute; top: 24px; right: 24px; color: #9aa39c; font-size: .78rem; font-weight: 800; }
.campaign-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.campaign-card p { color: var(--gray); line-height: 1.55; font-size: .94rem; }
.campaign-card a { display: inline-block; color: var(--green); font-weight: 800; margin-top: 18px; font-size: .87rem; }
.campaign-updates-title { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; margin-bottom: 28px; }
.campaign-updates-title h2 { grid-column: 1; font-size: 2.1rem; }
.campaign-updates-title .more { grid-column: 2; grid-row: 1 / span 2; }
.campaign-update-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.campaign-update-grid a { min-height: 178px; padding: 24px; background: var(--green-dark); color: #fff; display: grid; align-content: space-between; gap: 18px; }
.campaign-update-grid a:nth-child(even) { background: var(--blue-dark); }
.campaign-update-grid small { color: var(--sun); font-size: .7rem; letter-spacing: .11em; font-weight: 800; }
.campaign-update-grid strong { line-height: 1.45; }
.campaign-update-grid span { font-size: .78rem; color: #d7e5de; }
.campaign-cta { background: var(--blue); color: #fff; text-align: center; padding: 84px 0; }
.campaign-cta span { color: var(--blue-light); }
.campaign-cta h2 { max-width: 780px; margin: 14px auto; font-size: 2.65rem; line-height: 1.18; }
.campaign-cta p { color: rgba(255,255,255,.85); }
.campaign-cta .btn { margin-top: 25px; color: var(--ink); }

/* 커뮤니티형: 사진, 사람, 최신 활동을 전면에 둔 구조 */
.home-community { background: #fffdf8; }
.community-hero { padding: 82px 0 72px; overflow: hidden; }
.community-hero-grid { display: grid; grid-template-columns: .94fr 1.06fr; gap: 72px; align-items: center; }
.community-label { display: inline-block; background: #f3c764; padding: 6px 10px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.community-hero h1 { font-size: clamp(2.75rem, 5vw, 5.5rem); line-height: 1.05; margin: 18px 0 24px; white-space: pre-line; }
.community-hero p { color: #5c6260; line-height: 1.85; white-space: pre-line; max-width: 570px; }
.community-hero .btn { margin-top: 28px; }
.community-hero-photo { position: relative; padding: 0 24px 34px 0; }
.community-hero-photo::after { content: ''; position: absolute; width: 76%; height: 72%; right: 0; bottom: 0; background: #bfdbcb; z-index: 0; }
.community-hero-photo img { position: relative; z-index: 1; display: block; width: 100%; min-height: 440px; object-fit: cover; border-radius: 48% 48% 6px 6px; }
.community-photo-note { position: absolute; z-index: 2; left: -20px; bottom: 22px; background: #fffdf8; padding: 19px 22px; color: #56655d; line-height: 1.35; transform: rotate(-4deg); box-shadow: 0 8px 20px rgba(58,71,61,.1); }
.community-photo-note strong { color: var(--ink); font-size: 1.2rem; }
.community-stats { border-top: 1px solid #dcded7; border-bottom: 1px solid #dcded7; }
.community-stats .container { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.community-stats .container > div { padding: 30px; border-left: 1px solid #dcded7; display: grid; gap: 6px; text-align: center; }
.community-stats .container > div:first-child { border-left: 0; }
.community-stats strong { color: #cf775a; font-size: 2rem; }
.community-stats span { color: #68716b; font-size: .88rem; }
.community-intro { background: #fffdf8; }
.community-intro-grid { display: grid; grid-template-columns: 1fr .92fr; gap: 88px; align-items: center; }
.community-intro-image { position: relative; padding: 20px 0 0 20px; }
.community-intro-image::before { content: ''; position: absolute; width: 120px; height: 120px; border-radius: 50%; background: #f3c764; top: 0; left: 0; }
.community-intro-image img { position: relative; width: 100%; min-height: 385px; object-fit: cover; border-radius: 12px; }
.community-intro h2 { font-size: 2.5rem; margin: 13px 0 20px; }
.community-intro p { color: var(--gray); line-height: 1.8; margin-bottom: 14px; }
.community-ways { background: #edf4ee; }
.community-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.community-card-grid a { min-height: 245px; background: #fffdf8; border-radius: 22px; padding: 25px; display: flex; flex-direction: column; transition: transform .2s; }
.community-card-grid a:hover { transform: rotate(-1.5deg) translateY(-5px); }
.community-card-grid .icon { color: #cf775a; background: #fbe7d2; border-radius: 50%; width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 22px; }
.community-card-grid .icon svg { width: 23px; height: 23px; }
.community-card-grid h3 { font-size: 1.22rem; margin-bottom: 9px; }
.community-card-grid p { color: var(--gray); font-size: .94rem; line-height: 1.55; }
.community-card-grid span { margin-top: auto; color: #c36648; font-size: .84rem; font-weight: 800; }
.community-feed-grid { display: grid; grid-template-columns: .82fr 1.05fr .8fr; gap: 42px; align-items: start; }
.community-feed-heading h2 { font-size: 2.35rem; line-height: 1.2; margin: 13px 0; }
.community-feed-heading p { color: var(--gray); line-height: 1.7; }
.community-feed-list { border-top: 2px solid #293e32; }
.community-feed-list > a:not(.more) { padding: 18px 0; display: grid; gap: 7px; border-bottom: 1px solid #dfe3dc; }
.community-feed-list small { color: #c36648; font-weight: 800; font-size: .72rem; }
.community-feed-list strong { line-height: 1.45; }
.community-feed-list span { color: var(--gray); font-size: .78rem; }
.community-feed-list .more { display: inline-block; margin-top: 18px; }
.community-notice-list { padding: 24px; background: #293e32; color: #fff; }
.community-notice-list .eyebrow { color: #f3c764; }
.community-notice-list a { display: block; border-top: 1px solid rgba(255,255,255,.2); padding: 14px 0; line-height: 1.5; }
.community-notice-list a:first-of-type { margin-top: 15px; }
.community-notice-list small { display: block; color: #bfd1c1; margin-top: 5px; }
.community-cta { background: #f3c764; color: #27372e; padding: 58px 0; }
.community-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.community-cta span { color: #7d5424; }
.community-cta h2 { max-width: 850px; font-size: 2rem; line-height: 1.25; margin-top: 10px; }
.community-cta .btn { color: #fff; background: #293e32; border-color: #293e32; flex: 0 0 auto; }

@media (max-width: 900px) {
  .institutional-hero-grid, .institutional-intro-grid, .campaign-story-grid, .community-hero-grid, .community-intro-grid, .community-feed-grid { grid-template-columns: 1fr; gap: 38px; }
  .institutional-hero-image { inset: 0; opacity: .22; }
  .institutional-hero-copy { padding: 72px 0 20px; }
  .institutional-impact { margin: 0 0 54px; max-width: 420px; }
  .campaign-card-grid, .community-card-grid, .campaign-update-grid { grid-template-columns: repeat(2, 1fr); }
  .campaign-impact .container, .community-stats .container { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); }
  .campaign-impact .container > div { padding-left: 20px; }
  .community-hero-photo { max-width: 620px; }
  .community-feed-heading { max-width: 580px; }
  .page-template-home-campaign .site-header { background: rgba(18, 72, 42, .88); position: sticky; }
  .page-template-home-campaign .site-header .brand { margin-left: 0; }
  .page-template-home-campaign .site-header .main-nav > ul > li > a { color: var(--ink); }
  .page-template-home-campaign .site-header .nav-cta { background: var(--green); color: #fff; }
}

@media (max-width: 560px) {
  .institutional-hero, .institutional-hero-grid { min-height: auto; }
  .institutional-hero-copy h1, .campaign-hero h1, .community-hero h1 { font-size: 2.55rem; }
  .institutional-card-grid, .campaign-card-grid, .community-card-grid, .campaign-update-grid, .institutional-news-grid { grid-template-columns: 1fr; }
  .institutional-hero-copy { padding: 62px 0 22px; }
  .institutional-impact { padding: 26px; margin-bottom: 40px; }
  .campaign-hero { min-height: 590px; }
  .campaign-hero .container { padding: 80px 0 58px; }
  .campaign-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .campaign-impact .container, .community-stats .container { grid-template-columns: 1fr; }
  .campaign-impact .container > div, .community-stats .container > div { border-left: 0; border-top: 1px solid rgba(24,50,42,.18); padding: 20px 0; }
  .campaign-impact .container > div:first-child, .community-stats .container > div:first-child { border-top: 0; }
  .campaign-story h2, .community-intro h2, .campaign-cta h2 { font-size: 2.1rem; }
  .campaign-updates-title { display: block; }
  .campaign-updates-title .more { display: inline-block; margin-top: 16px; }
  .community-hero { padding: 56px 0; }
  .community-hero-photo img { min-height: 340px; }
  .community-photo-note { left: 6px; }
  .community-cta .container { align-items: flex-start; flex-direction: column; }
}

.board-list { max-width: 900px; margin: 0 auto; }
.board-search { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.board-search input { width: min(260px, 100%); padding: 10px; border: 1px solid var(--line); border-radius: 4px; font: inherit; }
.board-search button { padding: 10px 20px; border: 0; border-radius: 4px; background: var(--green-dark); color: #fff; font: inherit; cursor: pointer; }
.board-heading { background: var(--bg-soft); font-weight: 700; }
.board-empty { padding: 30px 12px; text-align: center; }
.board-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.board-pagination a { min-width: 38px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 4px; text-align: center; }
.board-pagination a[aria-current="page"] { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }

.cooperative-links .btn { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 14px 16px; background: var(--green); color: var(--ink); text-align: center; word-break: keep-all; }
.cooperative-links .btn:hover { background: var(--green); color: var(--ink); filter: brightness(.95); }
