@charset "utf-8";
/* 브니엘 디자인 코드 (한마음일터 토브·예닮 틀 재사용, 자체 작성)
   색은 :root만 바꾸면 됨. 브레이크포인트 ≤1024(모바일 헤더·서브바) / ≤768(1단) */
:root{
  --primary:#2f5b8c;
  --primary-dark:#234870;
  --accent:#b9824a;
  --lnb-active-text:#8a5a26;
  --lnb-active-bg:#f6ecdd;
  --accent-text:#94622f; --accent-strong:#9c6a35; /* 글자·흰글자 바탕용 (대비 4.5 이상) */
  --fact-alt:#e8eff7;
  --hero-bg:#f8f6f1;
  --prog-bg:#f2f6fa;
  --prog-line:#dbe5ef;
  --text:#454545; --text-strong:#333; --muted:#666; --line:#ddd;
  --quick-bg:#f9f9f9; --footer-bg:#f1f1f1; --soft-bg:#f7f7f7;
  --site-w:1200px; --lnb-w:220px; --header-h:135px; --header-h-m:70px;
  --font:"Noto Sans KR","Malgun Gothic","맑은 고딕",sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:var(--font);font-size:15px;line-height:1.7;letter-spacing:-.5px;color:var(--text);background:#fff;word-break:keep-all;overflow-wrap:break-word;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,p,ul,ol,figure{margin:0;padding:0}
ul,ol{list-style:none}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;cursor:pointer}
img,svg{max-width:100%;display:block}
:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.wrap{width:var(--site-w);margin:0 auto}
.nowrap{white-space:nowrap}
h1,h2,h3,.about__title,.hero__copy,.page-head__title,.sec-title{text-wrap:balance}
[id]{scroll-margin-top:20px}

/* 로고 (글자 로고) */
.logo{display:flex;align-items:center;gap:10px}
.logo__mark{width:46px;height:56px;flex:none}
.logo__text{display:flex;flex-direction:column;line-height:1.15}
.logo__corp{font-size:15px;font-weight:700;color:#222;letter-spacing:-.5px}
.logo__name{font-size:30px;font-weight:800;color:#111;letter-spacing:-1px}

/* 헤더 / GNB */
.site-header{position:relative;z-index:50;background:#fff;border-bottom:2px solid var(--accent)}
.site-header__in{display:flex;justify-content:space-between;align-items:flex-start;height:var(--header-h)}
.site-header .logo{margin-top:34px}
.gnb{margin-top:30px}
.gnb__list{display:flex}
.gnb__item{position:relative;margin-left:125px}
.gnb__item:first-child{margin-left:0}
.gnb__link{display:block;line-height:75px;font-size:20px;color:var(--text);transition:color .2s}
.gnb__item:hover>.gnb__link,.gnb__item.is-active>.gnb__link{color:var(--primary)}
.gnb__sub{display:none;position:absolute;top:75px;left:50%;width:160px;margin-left:-80px;box-shadow:0 1px 5px rgba(0,0,0,.12);z-index:100}
.gnb__item:hover>.gnb__sub,.gnb__item:focus-within>.gnb__sub{display:block}
.gnb__sub a{display:block;padding:7px 10px;line-height:25px;font-size:14.5px;font-weight:500;color:#fff;text-align:center;background:var(--primary);border-top:1px solid rgba(255,255,255,.3);transition:background .25s}
.gnb__sub a:hover{background:var(--primary-dark)}
.menu-btn{display:none;width:36px;height:36px;border:0;background:none;padding:6px 3px}
.menu-btn span{display:block;height:3px;background:var(--accent);border-radius:2px;margin:0 0 5px auto}
.menu-btn span:nth-child(1),.menu-btn span:nth-child(3){width:100%}
.menu-btn span:nth-child(2),.menu-btn span:nth-child(4){width:70%}
.menu-btn span:nth-child(4){margin-bottom:0}

/* 모바일 전체메뉴 */
.mnav{display:none;position:fixed;inset:0;z-index:1000;background:#fff;overflow-y:auto}
.mnav.is-open{display:block}
.mnav__bar{display:flex;justify-content:flex-end;height:50px;background:#222}
.mnav__close{width:50px;height:50px;border:0;background:none;color:#fff;font-size:26px;line-height:50px}
.mnav__head{display:flex;justify-content:space-between;align-items:center;width:100%;height:50px;padding:0 20px;border:0;border-bottom:1px solid #ccc;background:#fff;font-size:16px;color:#333;text-align:left}
.mnav__head::after{content:"";width:9px;height:9px;border-right:1.5px solid #bbb;border-bottom:1.5px solid #bbb;transform:rotate(-45deg);transition:transform .2s}
.mnav__item.is-open .mnav__head::after{transform:rotate(45deg)}
.mnav__sub{display:none;background:var(--soft-bg)}
.mnav__item.is-open .mnav__sub{display:block}
.mnav__sub a{display:block;padding:0 20px;line-height:50px;font-size:14px;color:#444;border-bottom:1px dotted #ccc}
.mnav__sub a::before{content:"";display:inline-block;margin-right:8px;border:4px solid transparent;border-left:5px solid #999;vertical-align:1px}
.mnav__tel{display:block;margin:24px 20px;padding:14px;text-align:center;border:1px solid var(--line);font-size:17px;font-weight:700;color:var(--primary)}

/* 메인: 히어로 */
.hero{position:relative;height:535px;overflow:hidden;background:var(--hero-bg)}
.hero__in{position:relative;height:100%}
.hero__copy{position:absolute;left:87px;top:72px;z-index:2;color:#3a3a3a}
.hero__line{display:block;font-size:24px;font-weight:300;line-height:1.3;margin-bottom:18px;letter-spacing:-1px}
.hero__line b{font-size:44px;font-weight:700;color:var(--primary);margin-left:6px;letter-spacing:-2px}
.hero__line b.alt{color:var(--accent-text)}
.hero__sub{margin-top:26px;font-size:16px;color:#666;line-height:1.8}
.hero__in{z-index:2}
.hero__slides{position:absolute;inset:0;z-index:0}
.hero__slide{position:absolute;inset:0;background:var(--bg);opacity:0;transition:opacity 1.2s ease}
.hero__slide.is-on{opacity:1}
.hero__slide img{position:absolute;right:0;bottom:0;height:100%;width:auto;max-width:none}
.hero__dots{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);z-index:3;display:flex;gap:8px}
.hero__dots button{width:10px;height:10px;padding:0;border:0;border-radius:5px;background:rgba(47,91,140,.25);cursor:pointer;transition:width .3s,background .3s}
.hero__dots button.is-on{width:28px;background:var(--primary)}

/* 메인: 상담·바로가기 */
.quick{background:var(--quick-bg);margin-bottom:50px}
.quick__in{display:flex;align-items:center;min-height:185px;padding:30px 0}
.quick__contact{width:360px;flex:none}
.quick__title{font-size:27px;font-weight:600;line-height:1.6;color:#333;margin-bottom:8px}
.quick__tel{display:flex;align-items:center;gap:18px;margin-bottom:8px}
.quick__tel svg{width:46px;height:40px;color:#444;flex:none}
.quick__num{white-space:nowrap;font-size:32px;font-weight:700;color:var(--primary);letter-spacing:-1px;line-height:1}
.quick__hours{font-size:14px;color:#333}
.quick__links{flex:1;display:flex;margin-left:15px}
.quick__link{width:25%;display:flex;flex-direction:column;align-items:center;text-align:center}
.quick__link svg{width:72px;height:66px;color:#3d3d3d;transition:transform .5s cubic-bezier(.165,.84,.44,1)}
.quick__link:hover svg{transform:scale(1.06)}
.quick__link span{font-size:20px;margin-top:16px;line-height:1.3}

/* 메인: 소개 */
.eyebrow{display:block;font-size:13px;font-weight:700;letter-spacing:2px;color:var(--accent-text);margin-bottom:10px}
.more-link{display:inline-flex;gap:6px;font-size:15px;font-weight:600;color:var(--primary);border-bottom:1px solid currentColor;padding-bottom:2px;white-space:nowrap}
.more-link:hover{color:var(--primary-dark)}
.about{display:flex;gap:60px;align-items:center;padding:20px 0 60px}
.about__text{flex:1;min-width:0}
.about__title{font-size:30px;font-weight:700;line-height:1.4;color:var(--text-strong);letter-spacing:-1px;margin-bottom:18px}
.about__desc{font-size:16px;line-height:1.85;margin-bottom:22px}
.about__desc b{color:var(--primary)}
.about__facts{width:520px;flex:none;display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.about__facts li{padding:22px 24px;border-radius:14px;background:var(--lnb-active-bg)}
.about__facts li:nth-child(2),.about__facts li:nth-child(3){background:var(--fact-alt)}
.about__facts span{display:block;font-size:13px;color:var(--muted);margin-bottom:6px}
.about__facts strong{display:block;font-size:20px;font-weight:700;line-height:1.4;color:var(--text-strong)}

/* 메인: 지원 카드 */
.mprog{background:var(--prog-bg);padding:56px 0;margin-bottom:0}
.mprog__head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:28px}
.mprog__title{font-size:28px;font-weight:700;color:var(--text-strong);letter-spacing:-1px;line-height:1.3}
.mprog__list{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}
.mprog__item a{display:flex;flex-direction:column;align-items:center;height:100%;padding:28px 12px 24px;text-align:center;background:#fff;border:1px solid var(--prog-line);border-radius:16px;transition:transform .3s,border-color .3s,box-shadow .3s}
.mprog__item a:hover{transform:translateY(-3px);border-color:var(--primary);box-shadow:0 6px 16px rgba(47,91,140,.10)}
.mprog__item svg{width:48px;height:48px;color:var(--primary)}
.mprog__item strong{margin-top:14px;font-size:17px;font-weight:700;color:var(--text-strong)}
.mprog__item span{margin-top:4px;font-size:13px;color:var(--muted)}

/* 메인: 함께하기 띠 */
.mjoin{padding:56px 0}
.mjoin__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.mjoin__card{display:block;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff;transition:border-color .3s,box-shadow .3s}
.mjoin__card:hover{box-shadow:0 8px 20px rgba(35,72,112,.10)}
.mjoin__img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;transition:transform .6s ease}
.mjoin__card:hover .mjoin__img{transform:scale(1.04)}
.mjoin__body{padding:22px 26px 24px}
.mjoin__card:hover{border-color:var(--primary)}
.mjoin__card h3{font-size:20px;font-weight:700;color:var(--text-strong);margin-bottom:8px}
.mjoin__card p{font-size:14.5px;color:#666;margin-bottom:14px}
.mjoin__card .go{font-size:14px;font-weight:600;color:var(--primary)}

/* 푸터 */
.site-footer{background:var(--footer-bg)}
.site-footer__in{display:flex;align-items:center;min-height:133px;padding:25px 0}
.site-footer .logo{flex:none}
.site-footer__info{margin-left:120px;font-size:14px;line-height:1.7;color:var(--text)}
.site-footer__info .sep{margin:0 8px;color:#999}
.site-footer__info .line{display:block}
.to-top{position:fixed;right:35px;bottom:50px;z-index:60;width:50px;height:50px;border:2px solid #333;background:rgba(255,255,255,.6);display:flex;align-items:center;justify-content:center;padding:0}
.to-top svg{width:16px;height:16px}

/* 서브 공통 */
.subbar{display:none}
.sub{display:flex;align-items:flex-start;margin-top:40px;margin-bottom:80px}
.lnb{width:var(--lnb-w);flex:none;margin:-40px 40px 0 0;position:sticky;top:0}
.lnb__title{height:140px;line-height:140px;background:var(--accent-strong);color:#fff;font-size:23px;font-weight:600;text-align:center}
.lnb__list{border:1px solid var(--line);border-top:0}
.lnb__list li+li{border-top:1px solid var(--line)}
.lnb__list a{display:block;padding:15px;font-size:16px;font-weight:700;color:var(--muted);line-height:25px;transition:background .4s,color .4s}
.lnb__list a:hover,.lnb__list a.is-active{background:var(--lnb-active-bg);color:var(--lnb-active-text)}
.content{flex:1;min-width:0}
.page-head{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #333;margin-bottom:45px}
.page-head__title{font-size:30px;font-weight:600;line-height:60px;color:var(--text)}
.crumb{display:flex;align-items:center;gap:6px;font-size:15px;color:var(--text)}
.crumb svg{width:15px;height:15px;color:var(--primary)}
.crumb .gt{color:#555}

.sec{margin-bottom:64px}
.sec:last-child{margin-bottom:0}
.sec-title{display:flex;align-items:center;gap:7px;font-size:24px;font-weight:700;color:var(--text);margin-bottom:18px;line-height:1.3}
.sec-title::before{content:"";width:15px;height:15px;border-radius:50%;border:4px solid #555;box-shadow:inset 0 0 0 2px #fff;background:#555;flex:none}
.lead{font-size:16px;line-height:1.85;color:var(--text);margin-bottom:22px}
.bullets li{position:relative;padding-left:14px;font-size:15px;line-height:2}
.bullets li::before{content:"";position:absolute;left:2px;top:14px;width:4px;height:4px;border-radius:50%;background:var(--accent)}
.note{margin-top:16px;font-size:13.5px;color:var(--muted)}

/* 개인정보처리방침 등 문서 페이지 */
.sub--doc .content{max-width:960px;margin:0 auto}
.terms{font-size:15px;line-height:1.85;color:var(--text)}
.terms h2{font-size:19px;font-weight:700;color:var(--text-strong);margin:38px 0 10px;line-height:1.4;scroll-margin-top:24px}
.terms p{margin-bottom:10px}
.terms .box{margin:18px 0;padding:16px 22px;border-radius:10px;background:var(--lnb-active-bg)}
.terms ol{list-style:decimal;padding-left:22px;margin-bottom:10px}
.terms ol li{margin-bottom:4px}
.terms a{color:var(--primary);text-decoration:underline;text-underline-offset:2px}
.tbl{overflow-x:auto;margin:12px 0}
.tbl table{width:100%;min-width:560px;border-collapse:collapse;font-size:14px;line-height:1.6}
.tbl th,.tbl td{border:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top}
.tbl th{background:#f5f5f5;font-weight:700;white-space:nowrap}
.site-footer__info a{color:inherit}
.site-footer__info a.policy{font-weight:700}

/* 인사말 */
.greet{display:flex;gap:40px;align-items:flex-start}
.greet__photo{width:240px;flex:none;text-align:center}
.greet__photo .ph{border-radius:8px;overflow:hidden}
.greet__photo figcaption{margin-top:16px;font-size:13px;color:var(--muted)}
.greet__head{font-size:26px;font-weight:600;line-height:1.6;color:var(--text-strong);margin-bottom:26px;letter-spacing:-1px}
.greet__body p{margin-bottom:20px;font-size:15.5px;line-height:1.9}
.greet__sign{margin-top:30px;text-align:right;font-size:15px;color:var(--text-strong)}
.greet__sign b{font-size:20px;margin-left:8px}

/* 카드 묶음 */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.cards--2{grid-template-columns:repeat(2,1fr)}
.cards--4{grid-template-columns:repeat(4,1fr)}
.card{padding:24px 22px;border:1px solid var(--line);background:#fff}
.card--tint{border:0;border-radius:14px;background:var(--lnb-active-bg)}
.card--tint:nth-child(even){background:var(--fact-alt)}
.card__ic{width:48px;height:48px;color:var(--primary);margin-bottom:12px}
.cards--pic .card{overflow:hidden;border-radius:12px}
.card__img{display:block;width:calc(100% + 44px);max-width:none;height:auto;aspect-ratio:3/2;object-fit:cover;margin:-24px -22px 18px}
.card h3{font-size:18px;font-weight:700;color:var(--text-strong);margin-bottom:8px;line-height:1.4}
.card p{font-size:14.5px;line-height:1.75;color:#555}
.card .bullets li{font-size:14.5px;line-height:1.9}
.card__tag{display:inline-block;font-size:12px;font-weight:700;color:var(--accent-text);letter-spacing:1px;margin-bottom:6px}

/* 우리 집 */
.home{display:flex;gap:36px;align-items:center}
.home__art{width:380px;flex:none;border-radius:12px;overflow:hidden}
.home__art img{display:block;width:100%;height:auto}
.home__txt{flex:1;min-width:0}

/* 연혁 */
.hist{border-top:2px solid var(--primary)}
.hist li{display:flex;gap:30px;padding:22px 6px;border-bottom:1px solid var(--line)}
.hist .y{width:130px;flex:none;font-size:24px;font-weight:700;color:var(--primary);line-height:1.3;letter-spacing:-1px}
.hist .d{flex:1;font-size:15px;line-height:1.85;padding-top:2px}

/* 조직도 */
.org{display:flex;flex-direction:column;align-items:center;padding:20px 0 10px;--ln:#888}
.org__box{position:relative;z-index:1;min-width:190px;padding:10px 18px;border-radius:6px;text-align:center;font-size:15px;font-weight:700;letter-spacing:1px;color:#333;background:#dfe8f2;box-shadow:0 2px 4px rgba(0,0,0,.08)}
.org__box--side{background:#f4e5d2;min-width:170px;font-size:14px}
.org__box--staff{background:#e3eedb}
.org__v{width:1px;height:36px;background:var(--ln)}
.org__row{position:relative;display:flex;gap:16px;width:100%;max-width:680px;padding-top:36px}
.org__row>.org__box{flex:1 1 0;min-width:0}
.org__row::before{content:"";position:absolute;left:calc((100% - 32px)/6);right:calc((100% - 32px)/6);top:0;height:1px;background:var(--ln)}
.org__row>.org__box::before{content:"";position:absolute;left:50%;top:-36px;height:36px;width:1px;background:var(--ln)}
.org__cap{margin-top:22px;font-size:14px;color:var(--muted)}

/* 기관 칩 */
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips span{padding:9px 16px;border:1px solid var(--line);background:#fff;font-size:14.5px}

/* 전화 박스 · 주소 */
.telbox{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:20px;padding:26px 30px;background:var(--quick-bg);border:1px solid var(--line)}
.telbox b{display:block;font-size:15px;color:var(--text-strong);margin-bottom:4px}
.telbox .num{font-size:30px;font-weight:700;color:var(--primary);letter-spacing:-1px;white-space:nowrap}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 26px;background:var(--primary);color:#fff;font-size:16px;font-weight:600;white-space:nowrap;transition:background .2s}
.btn:hover{background:var(--primary-dark)}
.addr-box{margin:0 0 20px;padding:22px 28px;background:#f5f5f5;border:1px solid var(--line)}
.addr-box h3{font-size:22px;font-weight:700;color:var(--text-strong);margin-bottom:8px}
.addr-box p{font-size:15px;color:#555}

/* ── 접근성 보조 */
.skip{position:absolute;left:-9999px;top:0;z-index:2000;padding:12px 18px;background:var(--primary);color:#fff;font-weight:700}
.skip:focus{left:12px;top:12px}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hero__dots .hero__pause{width:22px;height:22px;margin:-6px 0 0 6px;border-radius:50%;background:rgba(255,255,255,.85);border:1px solid rgba(47,91,140,.35);display:flex;align-items:center;justify-content:center;color:var(--primary)}
.hero__pause svg{width:10px;height:10px;fill:currentColor}
.hero__pause .ic-play,.hero__pause.is-paused .ic-pause{display:none}
.hero__pause.is-paused .ic-play{display:inline}

/* ── 게시판 목록 */
.bd-lead{margin-bottom:26px}
.bd-tools{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:14px}
.bd-cats{display:flex;flex-wrap:wrap;gap:6px}
.bd-cats button{padding:7px 16px;border:1px solid var(--line);border-radius:20px;background:#fff;font-size:14.5px;color:var(--text)}
.bd-cats button:hover{border-color:var(--primary);color:var(--primary)}
.bd-cats button[aria-pressed=true]{background:var(--primary);border-color:var(--primary);color:#fff;font-weight:700}
.bd-search{display:flex}
.bd-search input{width:220px;height:40px;padding:0 12px;border:1px solid #bbb;border-right:0;border-radius:0;font:inherit;font-size:14.5px;color:var(--text);background:#fff}
.bd-search button{height:40px;padding:0 18px;border:0;background:#555;color:#fff;font-size:14.5px}
.bd-search button:hover{background:#333}
.bd-count{font-size:14px;color:var(--muted);margin-bottom:8px}
.bd-table table{width:100%;border-collapse:collapse;border-top:2px solid #333;font-size:15px}
.bd-table th{padding:13px 8px;border-bottom:1px solid #bbb;background:var(--soft-bg);font-weight:700;color:var(--text-strong)}
.bd-table td{padding:14px 8px;border-bottom:1px solid var(--line);text-align:center;color:var(--text)}
.bd-table .bd-no{width:80px}
.bd-table .bd-cat{width:100px}
.bd-table .bd-dt{width:120px;white-space:nowrap}
.bd-table td.bd-tt{text-align:left}
.bd-table td.bd-tt a:hover{text-decoration:underline;color:var(--primary)}
.bd-table td.bd-no,.bd-table td.bd-cat,.bd-table td.bd-dt{color:var(--muted);font-size:14px}
.bd-table tr.is-pin{background:#fbf7f0}
.bd-table tr.is-pin .bd-tt a{font-weight:700;color:var(--text-strong)}
.bd-pin{display:inline-block;padding:1px 8px;border-radius:3px;background:var(--accent-strong);color:#fff;font-size:12.5px;font-weight:700}
.bd-clip{display:inline-block;width:14px;height:14px;margin-left:6px;vertical-align:-2px;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M21 11l-8.5 8.5a5 5 0 0 1-7-7L14 4a3.5 3.5 0 0 1 5 5l-8.5 8.5a2 2 0 0 1-3-3L15 7'/%3E%3C/svg%3E")}
.bd-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:28px 22px;padding-top:6px}
.bd-gallery li a{display:block}
.bd-thumb{display:block;aspect-ratio:4/3;overflow:hidden;background:var(--soft-bg);border:1px solid #eee}
.bd-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.bd-gallery a:hover .bd-thumb img,.mphotos a:hover .bd-thumb img{transform:scale(1.04)}
.noimg{display:block;width:100%;height:100%;background:no-repeat center/56px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4c4c4' stroke-width='1.4'%3E%3Cpath d='M4 11 12 4l8 7v8a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1z'/%3E%3Cpath d='M10 20v-5h4v5'/%3E%3C/svg%3E")}
.bd-cap{display:block;padding:12px 2px 0}
.bd-tag{display:inline-block;font-size:12.5px;font-weight:700;color:var(--accent-text);margin-bottom:2px}
.bd-cap strong{display:block;font-size:16.5px;font-weight:700;color:var(--text-strong);line-height:1.45;margin-bottom:4px}
.bd-gallery a:hover strong{color:var(--primary)}
.bd-cap time{font-size:13.5px;color:var(--muted)}
.bd-pager{display:flex;justify-content:center;flex-wrap:wrap;gap:4px;margin-top:32px}
.bd-pager button{min-width:38px;height:38px;padding:0 6px;border:1px solid var(--line);background:#fff;font-size:14.5px;color:var(--text)}
.bd-pager button:hover:not(:disabled){border-color:var(--primary);color:var(--primary)}
.bd-pager button[aria-current=page]{background:var(--primary);border-color:var(--primary);color:#fff;font-weight:700}
.bd-pager button:disabled{color:#aaa;cursor:default}
.bd-empty,.bd-loading{padding:50px 10px!important;text-align:center;color:var(--muted);font-size:15px;grid-column:1/-1;list-style:none}

/* ── 글 보기 */
.post__head{border-bottom:1px solid var(--line);padding:0 4px 20px}
.post__cat{font-size:14px;font-weight:700;color:var(--accent-text);margin-bottom:4px}
.post__title{font-size:24px;font-weight:700;color:var(--text-strong);line-height:1.45}
.post__meta{margin-top:8px;font-size:14px;color:var(--muted)}
.post__body{padding:30px 4px 40px;border-bottom:1px solid var(--line);font-size:16px;line-height:1.9;color:var(--text)}
.post__body p{margin-bottom:14px}
.post__body p a{color:var(--primary);text-decoration:underline}
.post__img{margin:24px 0}
.post__img img{max-width:100%;height:auto;margin:0 auto}
.post__file{margin-top:24px}
.post__file a{display:inline-block;padding:10px 16px;border:1px solid var(--line);background:var(--soft-bg);font-size:15px;color:var(--text-strong)}
.post__file a:hover{border-color:var(--primary);color:var(--primary)}
.post__nav ul{border-bottom:1px solid var(--line)}
.post__nav li{display:flex;gap:20px;padding:14px 4px;font-size:15px}
.post__nav li+li{border-top:1px solid #eee}
.post__nav .k{flex:none;width:70px;font-weight:700;color:var(--text-strong)}
.post__nav a{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.post__nav a:hover{color:var(--primary);text-decoration:underline}
.post__nav .none{color:var(--muted)}
.post__back{margin-top:30px;text-align:center}

/* ── 메인 알림마당 */
.mboard{padding:0 0 60px}
.mboard__grid{display:grid;grid-template-columns:1fr 1.25fr;gap:50px}
.mboard__head{display:flex;justify-content:space-between;align-items:center;padding-bottom:12px;border-bottom:2px solid #333;margin-bottom:6px}
.mboard__head h3{font-size:20px;font-weight:700;color:var(--text-strong)}
.mnotice li{border-bottom:1px solid var(--line)}
.mnotice li a{display:flex;gap:16px;align-items:center;padding:14px 2px;font-size:15.5px}
.mnotice .tt{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text)}
.mnotice a:hover .tt{color:var(--primary);text-decoration:underline}
.mnotice time{flex:none;font-size:14px;color:var(--muted)}
.mphotos{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding-top:14px}
.mphotos li a{display:block}
.mphotos strong{margin-top:8px;font-size:15px;font-weight:600;line-height:1.45;color:var(--text-strong);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.mphotos a:hover strong{color:var(--primary)}

/* ≤1240 */
@media (max-width:1240px){
  .wrap{width:auto;margin:0 20px}
  .gnb__item{margin-left:70px}
  .hero__copy{left:20px}
}
/* ≤1024 */
@media (max-width:1024px){
  .site-header{border-bottom:1px solid var(--line)}
  .site-header__in{height:var(--header-h-m);align-items:center}
  .site-header .logo{margin-top:0}
  .site-header .logo__mark{width:30px;height:38px}
  .site-header .logo__corp{font-size:11.5px}
  .site-header .logo__name{font-size:21px}
  .gnb{display:none}
  .menu-btn{display:block}

  .subbar{display:block;position:sticky;top:0;z-index:40;background:var(--soft-bg);border-bottom:1px solid var(--line);overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .subbar::-webkit-scrollbar{display:none}
  .subbar__list{display:flex;white-space:nowrap;padding:0 8px}
  .subbar__list a{display:block;padding:0 12px;line-height:46px;font-size:14.5px;color:var(--text);border-bottom:2px solid transparent}
  .subbar__list a.is-active{color:var(--primary);font-weight:700;border-bottom-color:var(--primary)}
  [id]{scroll-margin-top:56px}

  .sub{display:block;margin:20px 20px 50px}
  .lnb{display:none}
  .page-head{justify-content:center;border-bottom:1px solid var(--line);margin-bottom:25px}
  .page-head__title{font-size:22px;font-weight:700;line-height:1.5;padding:12px 0 18px;color:#333}
  .crumb{display:none}

  .hero{height:420px}
  .hero__copy{left:30px;top:36px}
  .hero__line{font-size:19px;margin-bottom:8px}
  .hero__line b{font-size:34px;margin-left:4px}
  .hero__sub{display:none}
  .hero__slide img{height:70%}
  .about{display:block;padding:10px 0 50px}
  .about__text{margin-bottom:28px}
  .about__facts{width:auto}
  .mprog__list{grid-template-columns:repeat(3,1fr)}
  .site-footer__info{margin-left:40px}
  .cards--4{grid-template-columns:repeat(2,1fr)}
  .home{display:block}
  .home__art{width:100%;max-width:460px;margin-bottom:22px}
  .mboard__grid{grid-template-columns:1fr;gap:40px}
  .bd-gallery{grid-template-columns:repeat(2,1fr)}
}
/* ≤768 */
@media (max-width:768px){
  body{font-size:14.67px}
  .wrap{margin:0 15px}
  .sub{margin:20px 15px 40px}
  .hero{height:calc(66vw + 96px)}
  .hero__copy{top:16px;left:16px;right:16px}
  .hero__line{font-size:15px;margin-bottom:4px}
  .hero__line b{font-size:24px;margin-left:3px;letter-spacing:-1px}
  .hero__slide img{height:calc(100% - 96px)}
  .hero__dots{bottom:12px}
  .quick{margin-bottom:24px}
  .quick__in{display:block;padding:24px 0 20px;min-height:0}
  .quick__contact{width:auto;text-align:center;margin-bottom:22px}
  .quick__title{font-size:20px;margin-bottom:2px}
  .quick__tel{justify-content:center;gap:10px}
  .quick__tel svg{width:32px;height:28px}
  .quick__num{font-size:26px}
  .quick__hours{font-size:13px}
  .quick__links{margin:0}
  .quick__link svg{width:44px;height:40px}
  .quick__link span{font-size:14px;margin-top:8px}
  .about{padding:6px 0 36px}
  .about__title{font-size:23px;margin-bottom:14px}
  .about__desc{font-size:15px;line-height:1.75}
  .about__facts{gap:10px}
  .about__facts li{padding:16px}
  .about__facts strong{font-size:16.5px}
  .mprog{padding:36px 0}
  .mprog__head{margin-bottom:20px}
  .mprog__title{font-size:22px}
  .mprog__list{gap:10px}
  .mprog__item a{padding:18px 6px 16px;border-radius:12px}
  .mprog__item svg{width:38px;height:38px}
  .mprog__item strong{margin-top:10px;font-size:14.5px}
  .mprog__item span{display:none}
  .mjoin{padding:36px 0}
  .mjoin__grid{grid-template-columns:1fr;gap:10px}
  .mjoin__card{display:grid;grid-template-columns:120px 1fr;align-items:center}
  .mjoin__img{height:100%;aspect-ratio:auto;min-height:120px}
  .mjoin__body{padding:14px 16px}
  .mjoin__card p{margin-bottom:6px}
  .site-footer__in{display:block;text-align:center;padding:30px 0}
  .site-footer .logo{justify-content:center;margin-bottom:16px}
  .site-footer__info{margin:0;font-size:13px}
  .site-footer__info .line{display:inline}
  .site-footer__info .line::after{content:"";display:block}
  .to-top{right:15px;bottom:20px;width:42px;height:42px}

  .sec{margin-bottom:48px}
  .sec-title{font-size:20px}
  .greet{display:block}
  .greet__photo{width:150px;margin:0 auto 24px}
  .greet__head{font-size:20px;margin-bottom:18px}
  .greet__body p{font-size:15px}
  .cards,.cards--2,.cards--4{grid-template-columns:1fr}
  .hist li{display:block;padding:16px 4px}
  .hist .y{width:auto;font-size:20px;margin-bottom:4px}
  .org__row{flex-direction:column;align-items:center;width:100%;padding-top:0;gap:10px}
  .org__row::before,.org__row>.org__box::before{display:none}
  .org__box,.org__box--side,.org__row>.org__box{min-width:0;width:220px;flex:none}
  .telbox{display:block;text-align:center;padding:22px}
  .telbox .num{font-size:26px}
  .telbox .btn{width:100%;margin-top:14px}
  .addr-box{padding:18px}
  .addr-box h3{font-size:19px}

  .mboard{padding:0 0 40px}
  .mboard__head h3{font-size:18px}
  .mnotice li a{padding:12px 2px;font-size:15px}
  .mphotos{gap:10px}
  .mphotos strong{font-size:13.5px}
  .bd-tools{display:block}
  .bd-cats{margin-bottom:12px}
  .bd-search input{flex:1;width:auto;min-width:0}
  .bd-table table{font-size:14.5px}
  .bd-table .bd-no,.bd-table .bd-cat{display:none}
  .bd-table .bd-dt{width:92px}
  .bd-table td{padding:13px 4px}
  .bd-gallery{grid-template-columns:repeat(2,1fr);gap:20px 12px}
  .bd-cap strong{font-size:15px}
  .post__title{font-size:20px}
  .post__body{font-size:15.5px;padding:24px 2px 30px}
  .post__nav li{gap:12px;font-size:14.5px}
  .post__nav .k{width:56px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
