@charset "utf-8";
/* ============================================================
   민들레의료복지사회적협동조합 — 사이트 디자인 시스템 v1
   토큰 · 타이포 · 공통 컴포넌트
   자체 클래스는 모두 m- 접두사(구 사이트 클래스와 충돌 방지)
   ============================================================ */

/* 서체 CSS 는 문서 <head> 에서 직접 부른다 (@import 는 발견이 한 박자 늦다) */

/* ---------- 1. 토큰 ---------- */
:root {
  /* 브랜드 (민들레 로고 3색) */
  --brand:        #22b24b;  /* 도형·괘선 전용. 작은 글자에 쓰지 않는다 */
  --brand-ink:    #176e32;  /* 글자·버튼용 어두운 초록 (흰 글자 대비 6.34:1) */
  --brand-deep:   #12592a;  /* 짙은 면 (흰 글자 대비 8.0:1) */
  --brand-wash:   #eef6ee;  /* 아주 옅은 초록 면 */
  --lime:         #8dc63f;  /* 보조 — 도형·구분선에만 */
  --clay:         #7a5636;  /* 강조 글자 (흰 배경 대비 6.54:1) */
  --clay-raw:     #a97c50;  /* 강조 도형 */
  --clay-wash:    #f6f1ea;

  /* 무채 */
  --paper:        #fbfaf7;
  --surface:      #ffffff;
  --surface-2:    #f4f2ec;
  --ink:          #1c1b18;  /* 본문 (paper 대비 16.5:1) */
  --ink-2:        #55534d;  /* 보조 본문 (7.37:1) */
  --ink-3:        #6b6862;  /* 캡션 (5.32:1) */
  --line:         #e3e0d8;
  --line-2:       #cfcbc0;

  /* 타이포 */
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Malgun Gothic", sans-serif;
  --serif: "Hahmlet", "Pretendard Variable", Pretendard, serif;

  /* 레이아웃 */
  --wrap: 1240px;
  --gut: 24px;
  --radius: 4px;
  --radius-lg: 8px;

  /* 그림자 (얕게, 일관) */
  --e1: 0 1px 2px rgba(28,27,24,.05);
  --e2: 0 2px 10px rgba(28,27,24,.07);
  --e3: 0 10px 30px rgba(28,27,24,.10);

  /* z 스케일 */
  --z-base: 0; --z-sticky: 40; --z-drawer: 100; --z-top: 200;
}

/* ---------- 2. 리셋 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.35; }
p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 2px; border-radius: 2px; }

/* 화면에 안 보이지만 스크린리더에 읽히는 텍스트 */
.m-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.m-skip {
  position: absolute; left: 12px; top: -60px; z-index: var(--z-top);
  background: var(--brand-deep); color: #fff; padding: 12px 18px; border-radius: var(--radius);
  transition: top .16s ease-out;
}
.m-skip:focus { top: 12px; }

/* ---------- 3. 레이아웃 ---------- */
.m-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.m-wrap--narrow { max-width: 960px; }

/* 섹션 제목 */
.m-shead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.m-shead h2, .m-shead h3 {
  font-family: var(--serif); font-weight: 700; font-size: clamp(21px, 2.2vw, 27px);
  letter-spacing: -.01em; color: var(--ink);
}
.m-shead h2 .m-mark, .m-shead h3 .m-mark { color: var(--brand-ink); }
.m-more {
  font-size: 15px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 4px; min-height: 44px; white-space: nowrap; flex: none;
}
.m-more:hover { color: var(--brand-ink); }
.m-more svg { width: 15px; height: 15px; }

/* 눈금 (제목 위 짧은 초록 괘선) */
.m-rule { display: block; width: 34px; height: 4px; background: var(--brand); margin-bottom: 14px; border-radius: 2px; }

/* ---------- 4. 헤더 ---------- */
.m-util { background: var(--brand-deep); color: rgba(255,255,255,.9); font-size: 14px; }
.m-util__in { display: flex; justify-content: flex-end; align-items: center; gap: 4px;
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.m-util a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; }
.m-util a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.m-util__tel { margin-right: auto; display: inline-flex; align-items: center; gap: 8px;
  font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.m-util__tel svg { width: 15px; height: 15px; flex: none; }
.m-util__tel, .m-util a { white-space: nowrap; }
@media (max-width: 560px) {
  .m-util { font-size: 13px; }
  .m-util__in { padding: 0 16px; }
  .m-util a { padding: 0 9px; }
  .m-util__tel .m-util__lab { display: none; }
}

.m-head {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.m-head__in { display: flex; align-items: center; gap: 20px; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.m-logo { display: flex; align-items: center; padding: 14px 0; flex: none; }
.m-logo img { height: 40px; width: auto; }

/* GNB (데스크탑) */
.m-gnb { margin-left: auto; display: none; }
.m-gnb > ul { display: flex; align-items: stretch; }
.m-gnb > ul > li { position: relative; }
.m-gnb > ul > li > a {
  display: flex; align-items: center; height: 68px; padding: 0 clamp(10px, 1.1vw, 18px);
  font-size: clamp(15px, 1.15vw, 17px); font-weight: 600; color: var(--ink); letter-spacing: -.015em;
}
.m-gnb > ul > li > a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .18s ease-out;
}
.m-gnb > ul > li:hover > a::after,
.m-gnb > ul > li:focus-within > a::after,
.m-gnb > ul > li[aria-current="true"] > a::after { transform: scaleX(1); }
.m-gnb > ul > li[aria-current="true"] > a { color: var(--brand-ink); }

.m-sub {
  position: absolute; left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 210px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--e3); padding: 10px;
  opacity: 0; visibility: hidden; transition: opacity .16s ease-out, transform .16s ease-out;
}
.m-gnb > ul > li:hover .m-sub, .m-gnb > ul > li:focus-within .m-sub {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.m-sub a { display: block; padding: 10px 14px; border-radius: var(--radius); font-size: 15.5px; color: var(--ink-2); }
.m-sub a:hover { background: var(--brand-wash); color: var(--brand-ink); }
.m-sub__grp { padding: 12px 14px 4px; font-size: 13px; font-weight: 700; color: var(--ink-3); letter-spacing: .02em; }
.m-sub__grp:first-child { padding-top: 4px; }
.m-sub a[data-ext]::after {
  content: ""; display: inline-block; width: 11px; height: 11px; margin-left: 6px; vertical-align: -1px;
  background: currentColor; opacity: .45;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/><path d='M15 3h6v6'/><path d='M10 14 21 3'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/><path d='M15 3h6v6'/><path d='M10 14 21 3'/></svg>") center/contain no-repeat;
}

.m-cta {
  display: none; align-items: center; gap: 8px; flex: none;
  background: var(--brand-ink); color: #fff; padding: 11px 18px; border-radius: 999px;
  font-size: 15px; font-weight: 700; min-height: 44px;
}
.m-cta:hover { background: var(--brand-deep); }
.m-cta svg { width: 16px; height: 16px; }

.m-burger {
  margin-left: auto; width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.m-burger svg { width: 22px; height: 22px; }

@media (min-width: 1080px) {
  .m-gnb { display: block; }
  .m-cta { display: inline-flex; }
  .m-burger { display: none; }
}

/* 모바일 드로어 */
/* 닫혔을 때는 display:none — 화면 밖으로 밀어두면 375px 에서 가로 스크롤이 생긴다 */
.m-drawer {
  position: fixed; inset: 0; z-index: var(--z-drawer); background: var(--surface);
  display: none; flex-direction: column; overscroll-behavior: contain;
}
.m-drawer[data-open="true"] { display: flex; animation: m-drawer-in .2s ease-out both; }
@keyframes m-drawer-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .m-drawer[data-open="true"] { animation: none; } }
.m-drawer__top { display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--gut); border-bottom: 1px solid var(--line); flex: none; }
.m-drawer__top img { height: 34px; width: auto; }
.m-drawer__close { width: 48px; height: 48px; display: grid; place-items: center; }
.m-drawer__close svg { width: 22px; height: 22px; }
.m-drawer__body { overflow-y: auto; padding: 8px var(--gut) 48px; -webkit-overflow-scrolling: touch; }
.m-acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 4px; font-size: 18px; font-weight: 700; border-bottom: 1px solid var(--line);
  text-align: left; min-height: 56px;
}
.m-acc__btn svg { width: 20px; height: 20px; flex: none; transition: transform .18s ease-out; color: var(--ink-3); }
.m-acc__btn[aria-expanded="true"] { color: var(--brand-ink); }
.m-acc__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.m-acc__panel { display: none; padding: 6px 0 14px; border-bottom: 1px solid var(--line); }
.m-acc__panel[data-open="true"] { display: block; }
.m-acc__panel a { display: block; padding: 12px 8px; font-size: 16.5px; color: var(--ink-2); min-height: 44px; }
.m-acc__panel a:hover { color: var(--brand-ink); }
.m-acc__grp { padding: 12px 8px 2px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.m-drawer__foot { display: flex; gap: 10px; padding: 16px 0 0; }
.m-drawer__foot a {
  flex: 1; text-align: center; padding: 14px; border-radius: var(--radius); font-weight: 700; min-height: 48px;
  display: flex; align-items: center; justify-content: center;
}
.m-drawer__foot a:first-child { border: 1px solid var(--line-2); color: var(--ink); }
.m-drawer__foot a:last-child { background: var(--brand-ink); color: #fff; }
@media (min-width: 1080px) { .m-drawer { display: none; } }

/* ---------- 5. 알림 띠 (기존 자동 팝업 대체) ---------- */
.m-notice { background: var(--clay-wash); border-bottom: 1px solid var(--line); }
.m-notice__in {
  max-width: var(--wrap); margin: 0 auto; padding: 12px var(--gut);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.m-notice__tag {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  background: var(--clay); color: #fff; font-size: 13px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; letter-spacing: .02em;
}
.m-notice__tag svg { width: 13px; height: 13px; }
.m-notice__txt { font-size: 15.5px; color: var(--ink); font-weight: 600; }
.m-notice__link {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-size: 15px; font-weight: 700; color: var(--clay); text-decoration: underline;
  text-underline-offset: 4px; text-decoration-thickness: 1.5px;
}
.m-notice__link svg { width: 14px; height: 14px; }
.m-notice__x { flex: none; width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink-3); border-radius: 50%; }
.m-notice__x:hover { background: rgba(0,0,0,.06); }
.m-notice__x svg { width: 16px; height: 16px; }

/* ---------- 6. 푸터 ---------- */
.m-affil { background: var(--surface); border-top: 1px solid var(--line); padding: 34px 0; }
.m-affil__in { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  text-align: center; font-size: 16px; color: var(--ink-2); }
.m-affil img { height: 40px; width: auto; }
.m-affil b { color: var(--ink); font-weight: 700; }

.m-foot { background: var(--brand-deep); color: rgba(255,255,255,.78); padding: 44px 0 56px; font-size: 15px; }
.m-foot a { color: rgba(255,255,255,.86); }
.m-foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.m-foot__policy { display: flex; flex-wrap: wrap; gap: 0 4px; padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.18); margin-bottom: 26px; }
.m-foot__policy a { padding: 8px 12px; font-size: 14.5px; min-height: 40px; display: inline-flex; align-items: center; }
.m-foot__policy a:first-child { padding-left: 0; }
.m-foot__grid { display: grid; gap: 28px; }
.m-foot__logo img { height: 46px; width: auto; filter: brightness(0) invert(1); opacity: .92; }
.m-foot__addr { display: grid; gap: 7px; line-height: 1.7; }
.m-foot__addr li { color: rgba(255,255,255,.78); }
.m-foot__addr b { color: #fff; font-weight: 600; }
.m-foot__copy { margin-top: 26px; font-size: 13.5px; color: rgba(255,255,255,.72); letter-spacing: .02em; }
@media (min-width: 860px) { .m-foot__grid { grid-template-columns: 220px 1fr; align-items: start; gap: 40px; } }

/* TOP 버튼 — 조용하게, 스크롤 후에만 */
.m-top {
  position: fixed; right: 18px; bottom: 18px; z-index: var(--z-sticky);
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--ink-2);
  display: grid; place-items: center; box-shadow: var(--e2);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease-out, transform .18s ease-out, visibility .18s;
}
.m-top[data-show="true"] { opacity: 1; visibility: visible; transform: none; }
.m-top:hover { color: var(--brand-ink); border-color: var(--brand); }
.m-top svg { width: 20px; height: 20px; }

/* ---------- 7. 홈 — 히어로 ---------- */
.m-hero { position: relative; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--line); }
.m-hero::before {
  content: ""; position: absolute; right: -140px; top: -180px; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(141,198,63,.20), rgba(34,178,75,.10) 55%, transparent 70%);
  pointer-events: none;
}
.m-hero__in { position: relative; padding: clamp(44px, 6vw, 84px) 0 clamp(36px, 4vw, 56px); }
.m-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 700;
  color: var(--brand-ink); letter-spacing: .02em; margin-bottom: 20px;
}
.m-hero__eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); }
.m-hero h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(30px, 5.1vw, 58px); line-height: 1.32; letter-spacing: -.025em; color: var(--ink);
}
.m-hero h1 em { font-style: normal; color: var(--brand-ink); }
.m-hero h1 .m-dot { color: var(--clay-raw); }
.m-hero__lede { margin-top: 22px; max-width: 40em; font-size: clamp(16.5px, 1.4vw, 18.5px); color: var(--ink-2); }
.m-hero__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.m-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 13px 24px;
  border-radius: 999px; font-weight: 700; font-size: 16px; border: 1.5px solid transparent;
  transition: background .16s, color .16s, border-color .16s;
}
.m-btn svg { width: 17px; height: 17px; flex: none; }
.m-btn--fill { background: var(--brand-ink); color: #fff; }
.m-btn--fill:hover { background: var(--brand-deep); }
.m-btn--line { border-color: var(--line-2); color: var(--ink); background: var(--surface); }
.m-btn--line:hover { border-color: var(--brand); color: var(--brand-ink); }

/* 조합 숫자 */
.m-figs { display: grid; grid-template-columns: 1fr; gap: 1px; margin-top: clamp(34px, 4vw, 52px);
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.m-figs > div { background: var(--surface); padding: 20px clamp(12px, 2vw, 26px); }
.m-figs dt { font-size: 14px; color: var(--ink-3); font-weight: 600; margin-bottom: 6px; }
.m-figs dd { margin: 0; font-family: var(--serif); font-weight: 700; color: var(--ink);
  font-size: clamp(20px, 2.6vw, 31px); letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.m-figs dd span { font-family: var(--sans); font-size: .58em; font-weight: 600; color: var(--ink-2); margin-left: 3px; }
@media (min-width: 560px) { .m-figs { grid-template-columns: repeat(3, 1fr); } }
.m-figs__note { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }

/* ---------- 8. 홈 — 진료 시간 ---------- */
.m-sec { padding: clamp(52px, 6vw, 88px) 0; }
.m-sec--tint { background: var(--surface); border-block: 1px solid var(--line); }

.m-hours { display: grid; gap: 26px; }
@media (min-width: 1000px) { .m-hours { grid-template-columns: minmax(0,1.32fr) minmax(0,1fr); gap: 34px; align-items: start; } }

/* 진료시간 — 표가 아니라 줄카드. 375px 에서 가로 스크롤이 나지 않고 라벨이 늘 보인다 */
.m-hrs { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.m-hrs__row { display: grid; gap: 4px 18px; padding: 18px 18px 20px; border-bottom: 1px solid var(--line); }
.m-hrs__row:last-child { border-bottom: 0; }
.m-hrs__row:hover { background: var(--brand-wash); }
.m-hrs__name {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 18px; font-weight: 700; color: var(--ink); position: relative; padding-left: 14px;
}
.m-hrs__name::before {
  content: ""; position: absolute; left: 0; top: .38em; width: 4px; height: 1em; border-radius: 2px; background: var(--brand);
}
.m-hrs__name a:hover { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 4px; }
.m-hrs__cell { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding-left: 14px; }
.m-hrs__lab { flex: none; width: 4.6em; font-size: 13.5px; font-weight: 700; color: var(--ink-3); letter-spacing: .02em; }
.m-hrs .m-time { font-size: 16.5px; font-variant-numeric: tabular-nums; letter-spacing: .01em; color: var(--ink); font-weight: 600; }
.m-hrs .m-fine { flex-basis: 100%; margin-left: 4.6em; font-size: 13.5px; color: var(--ink-3); line-height: 1.55; }
.m-hrs .m-tel { font-size: 16.5px; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 700; white-space: nowrap; }
.m-hrs .m-tel:hover { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.m-hrs .m-badge { margin-top: 0; }

@media (min-width: 720px) {
  .m-hrs__row { grid-template-columns: minmax(130px, .95fr) minmax(0, 1.25fr) minmax(0, 1.15fr) max-content; align-items: start; }
  .m-hrs__cell { flex-direction: column; gap: 3px; padding-left: 0; }
  .m-hrs__lab { width: auto; }
  .m-hrs .m-fine { margin-left: 0; }
  .m-hrs__name { flex-direction: column; align-items: flex-start; gap: 7px; }
}
.m-hnote { margin-top: 14px; font-size: 14px; color: var(--ink-3); display: grid; gap: 4px; }

/* 진료 상태 배지 */
.m-badge {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  font-size: 13px; font-weight: 700; padding: 3px 9px 3px 7px; border-radius: 999px;
  border: 1px solid transparent; white-space: nowrap;
}
.m-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.m-badge[data-s="open"]   { color: var(--brand-ink); background: var(--brand-wash); border-color: #bfe3c8; }
.m-badge[data-s="lunch"]  { color: var(--clay); background: var(--clay-wash); border-color: #e6d9c8; }
.m-badge[data-s="closed"] { color: var(--ink-2); background: var(--surface-2); border-color: var(--line); }

/* 센터 8곳 — 로고 제각각을 틀로 통일 */
.m-centers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .m-centers { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .m-centers { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.m-center {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 18px 16px 15px; display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: border-color .16s, box-shadow .16s, transform .16s;
}
.m-center:hover { border-color: var(--brand); box-shadow: var(--e2); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .m-center:hover { transform: none; } }
.m-center__logo {
  width: 100%; height: 46px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.m-center__logo img { max-height: 100%; width: auto; object-fit: contain; }
.m-center__name { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.m-center__sub { margin-top: 3px; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ---------- 9. 홈 — 소식 ---------- */
.m-news { display: grid; gap: 30px; }
@media (min-width: 940px) { .m-news { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 40px; } }

.m-notices li + li { border-top: 1px solid var(--line); }
.m-notices a { display: flex; align-items: baseline; gap: 14px; padding: 15px 4px; min-height: 44px; }
.m-notices a:hover .m-notices__t { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 4px; }
.m-notices__tag {
  flex: none; font-size: 12px; font-weight: 700; color: var(--brand-ink); background: var(--brand-wash);
  border: 1px solid #cfe6d5; border-radius: 3px; padding: 2px 7px; line-height: 1.5;
}
.m-notices__t { flex: 1; font-size: 16.5px; color: var(--ink); font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-notices__d { flex: none; font-size: 13.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* a 안의 span 들을 블록으로 — 인라인이면 여백·비율이 먹지 않는다 */
.m-story__img, .m-story__body, .m-story__t, .m-story__d,
.m-thumb__img, .m-thumb__t,
.m-center__logo, .m-center__name, .m-center__sub { display: block; }

.m-story { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.m-story:hover { border-color: var(--brand); }
.m-story__img { aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.m-story__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease-out; }
.m-story:hover .m-story__img img { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) { .m-story:hover .m-story__img img { transform: none; } }
.m-story__body { padding: 18px 20px 22px; }
.m-story__t { font-size: 17.5px; font-weight: 700; line-height: 1.5; color: var(--ink); }
.m-story__d { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* 배너(구 슬라이더) — 가로 스크롤 갤러리 */
/* 가로 스크롤 상자는 반드시 position:relative — 안쪽 absolute 요소가 클리핑을 빠져나가
   documentElement.scrollWidth 를 부풀린다(375px 가로 스크롤의 진짜 원인이었다) */
.m-banners { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr);
  gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.m-banners::-webkit-scrollbar { height: 8px; }
.m-banners::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }
.m-banner { scroll-snap-align: start; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--surface); }
.m-banner:hover { border-color: var(--brand); }
.m-banner img { width: 100%; height: auto; }
@media (min-width: 660px) {
  .m-banners { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; gap: 16px; }
}
@media (min-width: 1080px) { .m-banners { grid-template-columns: repeat(3, 1fr); } }

/* 조합활동위원 모집 — 자동 팝업을 대신하는 자리 */
.m-recruit {
  margin-top: 26px; display: grid; gap: 24px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(20px, 2.6vw, 30px);
}
@media (min-width: 760px) { .m-recruit { grid-template-columns: minmax(200px, 300px) 1fr; gap: 34px; } }
.m-recruit__img { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.m-recruit__img:hover { border-color: var(--brand); }
.m-recruit__img img { width: 100%; height: auto; }
.m-recruit__eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; color: var(--clay);
  background: var(--clay-wash); border-radius: 999px; padding: 3px 11px; margin-bottom: 12px;
}
.m-recruit h3 { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 29px); letter-spacing: -.02em; }
.m-recruit__lede { margin-top: 10px; font-size: 17px; color: var(--ink-2); }
.m-recruit__dl { margin: 20px 0 24px; display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.m-recruit__dl > div { background: var(--surface); display: grid; gap: 2px 18px; padding: 13px 0; }
@media (min-width: 620px) { .m-recruit__dl > div { grid-template-columns: 6.6em 1fr; align-items: baseline; } }
.m-recruit__dl dt { font-size: 14px; font-weight: 700; color: var(--ink-3); }
.m-recruit__dl dd { margin: 0; font-size: 16px; color: var(--ink); }
.m-recruit__dl dd a { color: var(--brand-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 10. 홈 — 아래 4단 ---------- */
.m-quad { display: grid; gap: 22px; }
@media (min-width: 660px) { .m-quad { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .m-quad { grid-template-columns: repeat(4, 1fr); gap: 26px; } }
.m-quad__col { display: flex; flex-direction: column; }
.m-quad h3 { font-family: var(--serif); font-size: 19px; }
.m-quad .m-shead { align-items: center; min-height: 44px; }
.m-quad__col > .m-shead + * { margin-top: 0; }

.m-acct { display: grid; gap: 10px; }
.m-acct li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 13px 15px; }
.m-acct dt { font-size: 13px; color: var(--ink-3); font-weight: 600; margin-bottom: 3px; }
.m-acct dd { margin: 0; font-size: 16px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.m-acct dd .m-bank { color: var(--brand-ink); margin-right: 6px; }

.m-thumb { display: block; }
.m-thumb__img { aspect-ratio: 16 / 9; background: var(--surface-2); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.m-thumb__img img { width: 100%; height: 100%; object-fit: cover; }
.m-thumb__img--play {
  display: grid; place-items: center; align-content: center; gap: 8px;
  background: var(--brand-deep); border-color: var(--brand-deep); color: #fff;
}
.m-play { width: 42px; height: 42px; opacity: .95; }
.m-play__t { font-size: 13.5px; font-weight: 700; letter-spacing: .02em; color: rgba(255,255,255,.92); }
.m-thumb__t { margin-top: 11px; font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.55; }
.m-thumb:hover .m-thumb__t { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 4px; }
.m-list { display: grid; gap: 2px; margin-top: 4px; }
.m-list a { display: flex; gap: 9px; padding: 9px 2px; font-size: 15px; color: var(--ink-2); line-height: 1.55; min-height: 44px; align-items: flex-start; }
.m-list a::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 9px; border-radius: 50%; background: var(--lime); }
.m-list a:hover { color: var(--brand-ink); }
.m-kakao {
  margin-top: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 16px; border: 1.5px solid var(--line-2); border-radius: var(--radius);
  font-size: 15px; font-weight: 700; color: var(--ink);
}
.m-kakao img { width: 20px; height: 20px; }
.m-kakao:hover { border-color: var(--brand); color: var(--brand-ink); }

/* 상담 신청 카드 */
.m-consult {
  display: grid; gap: 18px; background: var(--brand-wash); border: 1px solid #cfe6d5;
  border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px);
}
@media (min-width: 700px) { .m-consult { grid-template-columns: 1fr auto; align-items: center; gap: 28px; } }
.m-consult h3 { font-family: var(--serif); font-size: clamp(20px, 2vw, 25px); color: var(--ink); }
.m-consult p { margin-top: 10px; font-size: 16px; color: var(--ink-2); max-width: 46em; }

/* ---------- 11. 서브 페이지 ---------- */
.m-phero { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.m-phero::after {
  content: ""; position: absolute; right: -60px; bottom: -110px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(141,198,63,.16), transparent 68%); pointer-events: none;
}
.m-phero__in { position: relative; padding: clamp(30px, 4vw, 52px) 0 clamp(26px, 3.4vw, 42px); }
.m-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-3); margin-bottom: 14px; }
.m-crumb a { padding: 4px 0; }
.m-crumb a:hover { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.m-crumb svg { width: 13px; height: 13px; opacity: .55; }
.m-crumb [aria-current] { color: var(--ink); font-weight: 600; }
.m-phero h1 { font-family: var(--serif); font-size: clamp(27px, 3.6vw, 42px); letter-spacing: -.025em; }
.m-phero__desc { margin-top: 12px; font-size: 16.5px; color: var(--ink-2); max-width: 44em; }

/* 형제 메뉴 (같은 대분류 안 이동) */
.m-sibs { border-bottom: 1px solid var(--line); background: var(--surface); position: relative; }
.m-sibs__in { position: relative; display: flex; gap: 2px; overflow-x: auto; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut);
  scrollbar-width: none; }
.m-sibs__in::-webkit-scrollbar { display: none; }
.m-sibs a {
  flex: none; padding: 15px 14px; font-size: 15.5px; color: var(--ink-2); font-weight: 500;
  border-bottom: 3px solid transparent; white-space: nowrap; min-height: 48px; display: flex; align-items: center;
}
.m-sibs a:hover { color: var(--brand-ink); }
.m-sibs a[aria-current="page"] { color: var(--brand-ink); font-weight: 700; border-bottom-color: var(--brand); }

.m-page { padding: clamp(34px, 4.4vw, 62px) 0 clamp(56px, 7vw, 96px); }

/* 서브 하단 문의 띠 */
.m-ask { background: var(--surface); border-top: 1px solid var(--line); padding: clamp(34px, 4vw, 52px) 0; }
.m-ask__in { display: grid; gap: 16px; }
@media (min-width: 760px) { .m-ask__in { grid-template-columns: 1fr auto; align-items: center; gap: 26px; } }
.m-ask h2 { font-family: var(--serif); font-size: clamp(19px, 2vw, 24px); }
.m-ask p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.m-ask__acts { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 12. 등장 모션 ---------- */
.m-rise { opacity: 0; transform: translateY(14px); }
.m-rise[data-in="true"] { opacity: 1; transform: none; transition: opacity .5s ease-out, transform .5s ease-out; }
@media (prefers-reduced-motion: reduce) {
  .m-rise, .m-rise[data-in="true"] { opacity: 1; transform: none; transition: none; }
}

/* ---------- 13. 인쇄 ---------- */
@media print {
  .m-util, .m-head, .m-drawer, .m-top, .m-notice, .m-sibs, .m-ask { display: none !important; }
  body { background: #fff; font-size: 12pt; }
}
