@font-face {
  font-family: "Pretendard";
  src: url("./PretendardVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --mb-teal: #3f6f69;
  --mb-teal-deep: #315f5a;
  --mb-teal-dark: #28534f;
  --mb-rose: #ad7e7d;
  --mb-rose-deep: #9f6f70;
  --mb-rose-soft: #d8aaa4;
  --mb-ivory: #fbf9f7;
  --mb-paper: #f7f4f1;
  --mb-ink: #293330;
  --mb-muted: #727b78;
  --mb-line: #e8e1dd;
  --mb-wide: 1300px;
}

html { scroll-behavior: smooth; }
body { overflow-x: clip; }
.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * { margin-block-start: 0 !important; }
.wp-site-blocks > header.wp-block-template-part { position: relative !important; top: auto !important; z-index: 50; }

.mb-home,
.mb-site-header,
.mb-site-footer {
  color: var(--mb-ink);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif !important;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -.018em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
.mb-home *, .mb-site-header *, .mb-site-footer * { box-sizing: border-box; }
.mb-home a, .mb-site-header a, .mb-site-footer a { color: inherit; text-decoration: none; }
.mb-home img, .mb-site-header img, .mb-site-footer img { display: block; max-width: 100%; }
.mb-home :where(h1,h2,h3,p), .mb-site-header p, .mb-site-footer :where(h2,p) { margin-block-start: 0; }
.mb-home :where(h1,h2,h3) {
  color: inherit;
  font-family: "Noto Serif KR", "Batang", serif !important;
  font-weight: 600 !important;
  word-break: keep-all;
}
.mb-home :where(a,button,summary):focus-visible,
.mb-site-header :where(a,summary):focus-visible,
.mb-site-footer a:focus-visible { outline: 3px solid #dd9e96; outline-offset: 3px; }
.mb-wide { width: calc(100% - 48px); max-width: var(--mb-wide); margin-inline: auto; }
.mb-home svg, .mb-site-header svg, .mb-site-footer svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mb-button {
  min-height: 54px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.1;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.mb-button:hover { transform: translateY(-2px); }
.mb-button--primary { color: #fff !important; background: var(--mb-teal); }
.mb-button--primary:hover { background: var(--mb-teal-deep); }
.mb-button--outline { color: var(--mb-rose-deep) !important; border-color: #cba9aa; background: rgba(255,255,255,.9); }
.mb-button--light { color: #fff !important; border-color: rgba(255,255,255,.58); background: transparent; }
.mb-button--ghost { color: #fff !important; border-color: rgba(255,255,255,.65); background: transparent; }
.mb-nmark {
  width: 20px;
  height: 20px;
  border-radius: 1px;
  display: inline-grid;
  place-items: center;
  color: var(--mb-teal);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

/* Header */
.mb-site-header { position: relative; z-index: 50; background: #fff; }
.mb-utility { min-height: 44px; color: rgba(255,255,255,.94); background: #aa8080; font-size: 12px; }
.mb-utility__inner { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mb-utility p { margin: 0; }
.mb-utility a { color: #fff; font-weight: 760; }
.mb-nav-bar { border-bottom: 1px solid #eee9e6; background: #fff; }
.mb-nav-bar__inner { min-height: 116px; display: flex; align-items: center; gap: 36px; }
.mb-brand,
.mb-footer-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.mb-brand { width: 260px; margin-right: auto; }
.mb-brand__mark {
  width: 55px;
  height: 55px;
  flex: 0 0 55px;
  display: block;
  object-fit: contain;
  object-position: center;
}
.mb-brand__lockup { width: 192px; margin-left: 7px; display: block; }
.mb-brand__name {
  width: 192px;
  height: 38px;
  display: block;
  background: url("./logo.png") no-repeat -11px -67px / 210px auto;
}
.mb-brand__lockup small { margin-top: -2px; display: block; color: #6e7472; font-size: 7px; font-weight: 700; letter-spacing: .12em; white-space: nowrap; }
.mb-desktop-nav { display: flex; align-items: center; gap: clamp(31px,3.15vw,55px); color: #313a38; font-size: 15px; font-weight: 640; }
.mb-desktop-nav a { min-height: 116px; position: relative; display: inline-flex; align-items: center; }
.mb-desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 28px; height: 2px; background: var(--mb-rose); transition: right .18s ease; }
.mb-desktop-nav a:hover::after, body.home .mb-desktop-nav a:first-child::after { right: 0; }
.mb-header-booking { min-width: 158px; margin-left: 16px; }
.mb-mobile-nav { display: none; position: relative; }
.mb-mobile-nav summary { width: 48px; height: 48px; border: 1px solid var(--mb-line); display: grid; place-content: center; gap: 5px; cursor: pointer; list-style: none; }
.mb-mobile-nav summary::-webkit-details-marker { display: none; }
.mb-mobile-nav summary span { width: 22px; height: 2px; display: block; background: var(--mb-ink); transition: transform .18s ease, opacity .18s ease; }
.mb-mobile-nav[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mb-mobile-nav[open] summary span:nth-child(2) { opacity: 0; }
.mb-mobile-nav[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mb-mobile-nav__panel { position: absolute; right: 0; top: calc(100% + 13px); width: min(360px,calc(100vw - 32px)); padding: 22px; border: 1px solid var(--mb-line); background: #fff; box-shadow: 0 18px 46px rgba(35,69,65,.15); }
.mb-mobile-nav__panel nav { display: grid; }
.mb-mobile-nav__panel nav a { min-height: 48px; border-bottom: 1px solid var(--mb-line); display: flex; align-items: center; font-weight: 720; }
.mb-mobile-nav__meta { padding: 18px 0; display: grid; gap: 4px; color: var(--mb-muted); font-size: 12px; }
.mb-mobile-nav__panel .mb-button { width: 100%; margin-top: 8px; }

/* Hero */
.mb-hero {
  height: 605px;
  position: relative;
  overflow: hidden;
  background: #f4f1ee url("./clinic-hero-reception-real-v3.jpg") no-repeat center center / cover;
}
.mb-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(251,249,247,.96) 0%,rgba(251,249,247,.87) 24%,rgba(251,249,247,.48) 45%,rgba(251,249,247,.08) 65%,rgba(251,249,247,0) 100%); }
.mb-hero__inner { height: 100%; position: relative; z-index: 2; display: flex; align-items: center; }
.mb-hero__copy { width: 575px; padding-left: 68px; }
.mb-hero h1 { margin: 0 0 28px; font-size: clamp(50px,4.05vw,59px) !important; line-height: 1.27 !important; letter-spacing: -.055em !important; }
.mb-hero h1 span { color: var(--mb-rose-deep); }
.mb-hero h1 em { color: var(--mb-teal-deep); font-style: normal; }
.mb-hero__copy > p { margin: 0 0 28px; color: #4f5956; font-size: 17px; line-height: 1.7; }
.mb-hero__actions { display: flex; gap: 14px; }
.mb-hero__actions .mb-button { min-width: 174px; }

/* Quick information ribbon */
.mb-quick { padding: 20px 0 22px; background: #fff; }
.mb-quick__grid { min-height: 112px; border: 1px solid #f0ebe8; border-radius: 10px; display: grid; grid-template-columns: repeat(4,1fr); background: #fff; box-shadow: 0 8px 26px rgba(53,62,59,.07); }
.mb-quick__item { padding: 22px 33px; border-right: 1px solid var(--mb-line); display: flex; align-items: center; justify-content: center; gap: 22px; }
.mb-quick__item:last-child { border-right: 0; }
.mb-quick__item > svg { width: 50px; height: 50px; flex: 0 0 50px; color: var(--mb-rose-deep); }
.mb-quick__item strong { display: block; font-size: 16px; }
.mb-quick__item span { margin-top: 3px; display: block; color: #6f7775; font-size: 13px; }

/* Two image-led care cards */
.mb-care-paths { padding-bottom: 22px; background: #fff; }
.mb-care-paths__grid { height: 310px; display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
.mb-care-card { position: relative; overflow: hidden; background-repeat: no-repeat; background-position: center; background-size: cover; }
.mb-care-card::before { content: ""; position: absolute; inset: 0; }
.mb-care-card--pain { background-image: url("./clinic-care-chuna-real-v3.jpg"); background-position: center; }
.mb-care-card--pain::before { background: linear-gradient(90deg,rgba(47,104,98,.98) 0 46%,rgba(47,104,98,.72) 57%,rgba(47,104,98,.06) 78%); }
.mb-care-card--family { background-image: url("./clinic-care-family-real-v3.jpg"); background-position: center; }
.mb-care-card--family::before { background: linear-gradient(90deg,rgba(173,126,125,.96) 0 46%,rgba(173,126,125,.72) 58%,rgba(173,126,125,.05) 80%); }
.mb-care-card__copy { width: 49%; height: 100%; padding: 38px 40px; position: relative; z-index: 2; color: #fff; }
.mb-care-card h2 { margin: 0 0 20px; font-size: 34px !important; letter-spacing: -.04em !important; }
.mb-care-card p { margin: 0; color: rgba(255,255,255,.86); font-size: 15px; line-height: 1.75; }
.mb-care-card a { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.82); border-radius: 50%; position: absolute; left: 40px; bottom: 34px; display: grid; place-items: center; color: #fff; font-size: 22px; }

/* Six clinics */
.mb-clinics { padding-bottom: 22px; background: #fff; }
.mb-clinics__grid { min-height: 320px; border: 1px solid #f0ebe8; border-radius: 8px; display: grid; grid-template-columns: repeat(6,1fr); overflow: hidden; background: #fff; box-shadow: 0 8px 24px rgba(50,58,55,.04); }
.mb-clinics article { min-width: 0; padding: 29px 16px 24px; border-right: 1px solid var(--mb-line); text-align: center; }
.mb-clinics article:last-child { border-right: 0; }
.mb-clinics svg { width: 52px; height: 52px; margin: 0 auto 8px; color: var(--mb-teal); }
.mb-clinics article.is-rose svg, .mb-clinics article.is-rose b, .mb-clinics article.is-rose h2 { color: var(--mb-rose-deep); }
.mb-clinics b { display: block; color: var(--mb-teal-deep); font-size: 12px; letter-spacing: .08em; }
.mb-clinics h2 { margin: 7px 0 10px; color: var(--mb-teal-deep); font-size: 19px !important; letter-spacing: -.035em !important; }
.mb-clinics p { min-height: 57px; margin: 0; color: #6a7471; font-size: 12px; line-height: 1.58; }
.mb-clinics a { margin-top: 16px; display: inline-block; font-size: 11px; font-weight: 700; }

/* Symptom shortcuts */
.mb-symptoms { height: 295px; padding: 23px 0 31px; background: #fff; }
.mb-symptoms h2 { margin: 0 0 22px; text-align: center; font-size: 23px !important; letter-spacing: -.035em !important; }
.mb-symptoms__grid { display: grid; grid-template-columns: repeat(6,1fr); }
.mb-symptoms__grid a { min-width: 0; text-align: center; }
.mb-symptoms__grid a > span { width: 92px; height: 92px; margin: 0 auto 10px; border: 1px solid #dec4c1; border-radius: 50%; display: grid; place-items: center; color: var(--mb-rose-deep); background: #fff; }
.mb-symptoms__grid svg { width: 48px; height: 48px; }
.mb-symptoms__grid strong { display: block; font-size: 16px; }
.mb-symptoms__grid small { margin-top: 4px; display: block; color: #59625f; font-size: 14px; }

/* Promise */
.mb-promise { height: 368px; background: var(--mb-ivory); }
.mb-promise__grid { height: 100%; display: grid; grid-template-columns: 47% 53%; }
.mb-promise__copy { padding: 26px 38px 20px 15px; }
.mb-promise__copy > h2 { margin: 0 0 19px; font-size: 29px !important; letter-spacing: -.04em !important; }
.mb-promise__items { display: grid; grid-template-columns: repeat(3,1fr); }
.mb-promise__items > div { min-width: 0; padding: 0 19px; border-right: 1px solid #e0d6d1; text-align: center; }
.mb-promise__items > div:first-child { padding-left: 0; }
.mb-promise__items > div:last-child { padding-right: 0; border-right: 0; }
.mb-promise__items svg { width: 47px; height: 47px; margin: 0 auto 8px; color: var(--mb-rose-deep); }
.mb-promise__items strong { display: block; font-size: 15px; }
.mb-promise__items p { margin: 7px 0 0; color: #67716e; font-size: 12px; line-height: 1.55; }
.mb-promise__doctor { min-height: 49px; margin: 18px 0 0; border: 1px solid #d7b6b4; display: flex; align-items: center; justify-content: center; color: var(--mb-rose-deep); font-size: 22px; }
.mb-promise__doctor strong { margin-left: 12px; font-size: 16px; }
.mb-promise__visual { background: url("./clinic-promise-exam-real-v3.jpg") no-repeat center / cover; }

/* First visit process */
.mb-process { height: 217px; padding: 27px 0 22px; background: #fff; }
.mb-process h2 { margin: 0; text-align: center; font-size: 25px !important; letter-spacing: -.035em !important; }
.mb-process__grid { margin-top: 27px; display: grid; grid-template-columns: repeat(5,1fr); }
.mb-process__grid > div { min-width: 0; padding: 0 24px; position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; }
.mb-process__grid > div:not(:last-child)::after { content: "›"; position: absolute; right: -4px; top: 21px; color: var(--mb-rose); font-size: 28px; }
.mb-process__grid > div > span { width: 68px; height: 68px; border: 1px solid #dfc6c2; border-radius: 50%; flex: 0 0 68px; display: grid; place-items: center; color: var(--mb-rose-deep); }
.mb-process__grid svg { width: 38px; height: 38px; }
.mb-process__grid p { margin: 0; }
.mb-process__grid strong { display: block; font-size: 14px; }
.mb-process__grid small { margin-top: 4px; display: block; color: #737b79; font-size: 10px; line-height: 1.45; }

/* Dynamic WordPress journal */
.mb-journal { height: auto; padding: 74px 0 82px; border-top: 1px solid #eee5e1; background: linear-gradient(180deg,#fff 0%,#fbf7f5 100%); }
.mb-journal__head { min-height: 112px; margin-bottom: 30px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.mb-journal__heading { max-width: 630px; }
.mb-journal__eyebrow { display: block; margin-bottom: 9px; color: var(--mb-rose-deep); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.mb-journal__head h2 { margin: 0; color: var(--mb-ink); font-size: 34px !important; line-height: 1.25 !important; letter-spacing: -.045em !important; }
.mb-journal__head p { margin: 12px 0 0; color: #68716f; font-size: 14px; line-height: 1.7; }
.mb-journal__more { min-width: 132px; min-height: 46px; padding: 0 18px; border: 1px solid #dac9c5; border-radius: 999px; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--mb-teal); background: rgba(255,255,255,.78); font-size: 12px; font-weight: 760; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.mb-journal__more:hover { border-color: var(--mb-teal); color: #fff; background: var(--mb-teal); transform: translateY(-2px); }
.mb-journal__more:focus-visible, .mb-journal-card a:focus-visible { outline: 3px solid rgba(180,109,129,.34); outline-offset: 4px; }
.mb-journal-query ul.wp-block-post-template { margin: 0; padding: 0; list-style: none; display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 24px; align-items: stretch; }
.mb-journal-query li.wp-block-post { min-width: 0; margin: 0; }
.mb-journal-card { height: 100%; min-height: 478px; margin: 0 !important; border: 1px solid #eadfdb; border-radius: 20px; display: flex; flex-direction: column; overflow: hidden; background: #fff; box-shadow: 0 13px 34px rgba(71,54,52,.06); transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
.mb-journal-card:hover { border-color: #d9c4bf; transform: translateY(-6px); box-shadow: 0 22px 48px rgba(71,54,52,.12); }
.mb-journal-card__image { width: 100%; aspect-ratio: 16 / 10 !important; margin: 0 !important; flex: 0 0 auto; overflow: hidden; background: #eee6e2; }
.mb-journal-card__image a { width: 100%; height: 100%; display: block; }
.mb-journal-card__image img { width: 100%; height: 100% !important; display: block; object-fit: cover; object-position: center top; transition: transform .4s ease; }
.mb-journal-card:hover .mb-journal-card__image img { transform: scale(1.025); }
.mb-journal-card__body { min-width: 0; margin: 0 !important; padding: 25px 25px 24px; flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.mb-journal-card__meta { margin: 0 0 15px !important; padding: 0 !important; color: #8b817e; font-size: 10px; line-height: 1.2; letter-spacing: .05em; }
.mb-journal-card__label { margin: 0 !important; color: var(--mb-rose-deep); font-size: 9px; font-weight: 820; letter-spacing: .14em; }
.mb-journal-card__meta .wp-block-post-date, .mb-journal-card__meta time { margin: 0; color: #8b817e; font-size: 10px; text-decoration: none; }
.mb-journal-card h3 { max-height: 4.44em; margin: 0 0 13px !important; overflow: hidden; color: var(--mb-ink); font-size: 21px !important; line-height: 1.48 !important; letter-spacing: -.035em !important; }
.mb-journal-card h3 a { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.mb-journal-card .wp-block-post-excerpt { margin: 0; flex: 1; display: flex; flex-direction: column; color: #68716f; font-size: 13px; line-height: 1.72; }
.mb-journal-card .wp-block-post-excerpt__excerpt { margin: 0; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.mb-journal-card .wp-block-post-excerpt__more-text { margin: auto 0 0; padding-top: 20px; }
.mb-journal-card .wp-block-post-excerpt__more-link { min-height: 40px; display: inline-flex; align-items: center; color: var(--mb-teal); font-size: 12px; font-weight: 780; }

/* Full-width Kakao map / route / hours band */
.mb-visit-band { height: 300px; margin: 0 !important; background: #faf8f7; }
.mb-visit-band__grid { width: 100%; max-width: 1440px; height: 300px; margin: 0 auto !important; padding-right: 5%; display: grid; grid-template-columns: 36.5fr 35fr 28.5fr; }
.mb-visit-band__map { min-width: 0; height: 300px; margin: 0 !important; overflow: hidden; background: #ece8e4; }
.mb-kakao-map, .mb-kakao-map .root_daum_roughmap, .mb-kakao-map .root_daum_roughmap_landing, .mb-kakao-map .wrap_map, .mb-kakao-map .wrap_map .map { width: 100% !important; max-width: none !important; height: 300px !important; min-height: 300px !important; }
.mb-kakao-map { position: relative; overflow: hidden; }
.mb-kakao-map .wrap_controllers { display: none !important; }
.mb-map-fallback { position: absolute; inset: 0; padding: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; color: var(--mb-ink); background: #eeeae7; text-align: center; }
.mb-map-fallback[hidden] { display: none !important; }
.mb-map-fallback a, .mb-map-noscript a { color: var(--mb-teal); font-weight: 750; }
.mb-visit-band__route { min-width: 0; padding: 26px 26px 22px; }
.mb-visit-band__route h2, .mb-visit-band__hours h2 { margin: 0 0 9px; font-size: 26px !important; letter-spacing: -.035em !important; }
.mb-visit-band__route address { min-height: 50px; margin: 0; color: #505a57; font-size: 14px; font-style: normal; line-height: 1.65; }
.mb-visit-band__phone { margin-top: 8px; display: block; color: var(--mb-rose-deep) !important; font-size: 25px; font-weight: 760; letter-spacing: .01em; }
.mb-visit-band__actions { margin-top: 13px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mb-visit-band__actions .mb-button { min-height: 54px; padding-inline: 16px; }
.mb-visit-band__hours { height: 270px; margin: 15px 0; padding: 25px 38px 18px; border-radius: 9px; background: #fff; box-shadow: 0 8px 24px rgba(53,61,58,.06); }
.mb-visit-band__hours > div { min-height: 48px; border-bottom: 1px solid var(--mb-line); display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 13px; }
.mb-visit-band__hours b { color: var(--mb-rose-deep); }
.mb-visit-band__hours p { margin: 12px 0 0; color: #858c89; font-size: 11px; text-align: center; }

/* Compact closing band and footer */
.mb-closing { height: 151px; color: #fff; background: var(--mb-teal); }
.mb-closing__grid { height: 100%; display: grid; grid-template-columns: 31% 31% 38%; align-items: center; gap: 30px; }
.mb-footer-brand { display: inline-flex; align-items: center; color: #fff !important; }
.mb-footer-brand__mark {
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
  object-position: center;
  box-sizing: border-box;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  box-shadow: 0 7px 22px rgba(23,60,54,.18);
}
.mb-footer-brand span { min-width: 0; display: block; }
.mb-footer-brand strong { display: block; font-family: "Noto Serif KR","Batang",serif; font-weight: 600; line-height: 1; letter-spacing: -.07em; white-space: nowrap; }
.mb-footer-brand small { margin-top: 7px; display: block; color: rgba(255,255,255,.72); font-size: 6px; font-weight: 700; line-height: 1; letter-spacing: .11em; white-space: nowrap; }
.mb-footer-brand--large .mb-footer-brand__mark { width: 62px; height: 62px; margin-right: 9px; }
.mb-footer-brand--large strong { font-size: 27px; }
.mb-footer-brand--small .mb-footer-brand__mark { width: 43px; height: 43px; margin-right: 7px; padding: 4px; }
.mb-footer-brand--small strong { font-size: 20px; }
.mb-footer-brand--small small { margin-top: 5px; font-size: 5px; }
.mb-closing__copy strong { display: block; font-family: "Noto Serif KR",serif; font-size: 20px; line-height: 1.55; font-weight: 600; }
.mb-closing__copy span { margin-top: 7px; display: block; color: rgba(255,255,255,.68); font-size: 11px; }
.mb-closing__actions { display: flex; justify-content: flex-end; gap: 12px; }
.mb-closing__actions .mb-button { min-height: 54px; }
.mb-footer-main { min-height: 119px; padding: 17px 0 12px; color: rgba(255,255,255,.73); background: var(--mb-teal-dark); }
.mb-footer-top { display: grid; grid-template-columns: 250px 1fr 330px; align-items: center; gap: 28px; }
.mb-footer-logo--small .mb-brand__mark { width: 42px; height: 42px; flex-basis: 42px; background-size: 112px auto; background-position: -39px 0; }
.mb-footer-logo--small .mb-brand__lockup { width: 150px; margin-left: 4px; }
.mb-footer-logo--small .mb-brand__name { width: 150px; height: 30px; background-size: 165px auto; background-position: -9px -53px; }
.mb-footer-nav { display: flex; align-items: center; justify-content: center; gap: 0; font-size: 11px; }
.mb-footer-nav a { padding: 0 14px; border-right: 1px solid rgba(255,255,255,.24); }
.mb-footer-nav a:last-child { border-right: 0; }
.mb-footer-social { display: flex; justify-content: flex-end; gap: 20px; font-size: 11px; }
.mb-footer-bottom { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; gap: 20px; font-size: 9px; }
.mb-footer-bottom address { font-style: normal; }
body.home #groo-float-cta { display: none !important; }

@media (max-width: 1180px) {
  .mb-wide { width: calc(100% - 64px); }
  .mb-brand { width: 230px; }
  .mb-desktop-nav { gap: 25px; }
  .mb-header-booking { min-width: 142px; margin-left: 4px; padding-inline: 18px; }
  .mb-hero__copy { padding-left: 34px; }
  .mb-quick__item { padding-inline: 22px; }
  .mb-clinics article { padding-inline: 10px; }
  .mb-clinics h2 { font-size: 17px !important; }
  .mb-process__grid > div { padding-inline: 14px; }
  .mb-footer-top { grid-template-columns: 215px 1fr 270px; }
}

@media (max-width: 980px) {
  .mb-desktop-nav { display: none; }
  .mb-mobile-nav { display: block; }
  .mb-header-booking { margin-left: auto; }
  .mb-hero { height: 660px; background-position: 58% center; }
  .mb-hero::before { background: linear-gradient(90deg,rgba(251,249,247,.98) 0%,rgba(251,249,247,.9) 43%,rgba(251,249,247,.35) 70%,rgba(251,249,247,.04) 100%); }
  .mb-care-paths__grid { height: auto; grid-template-columns: 1fr; }
  .mb-care-card { min-height: 310px; }
  .mb-clinics__grid { grid-template-columns: repeat(3,1fr); }
  .mb-clinics article:nth-child(3) { border-right: 0; }
  .mb-clinics article:nth-child(-n+3) { border-bottom: 1px solid var(--mb-line); }
  .mb-symptoms { height: auto; }
  .mb-symptoms__grid { grid-template-columns: repeat(3,1fr); gap: 24px 0; }
  .mb-promise { height: auto; }
  .mb-promise__grid { grid-template-columns: 1fr; }
  .mb-promise__copy { padding: 44px 20px; }
  .mb-promise__visual { min-height: 360px; }
  .mb-process { height: auto; }
  .mb-process__grid > div { padding-inline: 8px; gap: 8px; }
  .mb-process__grid > div > span { width: 58px; height: 58px; flex-basis: 58px; }
  .mb-process__grid svg { width: 32px; height: 32px; }
  .mb-journal { padding-block: 64px 70px; }
  .mb-journal__head { min-height: 100px; }
  .mb-journal-query ul.wp-block-post-template { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 20px; }
  .mb-journal-query li.wp-block-post:last-child:nth-child(odd) { width: calc(50% - 10px); grid-column: 1 / -1; justify-self: center; }
  .mb-journal-card { min-height: 478px; display: flex; flex-direction: column; }
  .mb-journal-card__image { height: auto; min-height: 0; aspect-ratio: 16 / 10 !important; }
  .mb-journal-card__body { padding: 24px 23px; }
  .mb-journal-card .wp-block-post-excerpt__more-text { padding-top: 16px; }
  .mb-visit-band { height: auto; }
  .mb-visit-band__grid { height: auto; padding-right: 0; grid-template-columns: 1fr 1fr; }
  .mb-visit-band__map { height: 320px; grid-column: 1 / -1; }
  .mb-kakao-map, .mb-kakao-map .root_daum_roughmap, .mb-kakao-map .root_daum_roughmap_landing, .mb-kakao-map .wrap_map, .mb-kakao-map .wrap_map .map { height: 320px !important; min-height: 320px !important; }
  .mb-visit-band__route { padding: 34px 38px; }
  .mb-visit-band__hours { margin: 22px 28px 22px 0; }
  .mb-closing { height: auto; min-height: 220px; }
  .mb-closing__grid { min-height: 220px; padding-block: 30px; grid-template-columns: 1fr 1fr; }
  .mb-closing__actions { grid-column: 1 / -1; justify-content: flex-start; }
  .mb-footer-top { grid-template-columns: 1fr 1fr; }
  .mb-footer-nav { order: 3; grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 680px) {
  .mb-wide { width: calc(100% - 32px); }
  .mb-utility { display: none; }
  .mb-nav-bar__inner { min-height: 76px; gap: 10px; }
  .mb-brand { width: 154px; }
  .mb-brand__mark { width: 42px; height: 44px; flex-basis: 42px; }
  .mb-brand__lockup { width: 110px; margin-left: 2px; }
  .mb-brand__name { width: 110px; height: 25px; background-size: 125px auto; background-position: -7px -40px; }
  .mb-brand__lockup small { font-size: 4.5px; letter-spacing: .07em; }
  .mb-header-booking { min-width: 0; min-height: 44px; padding-inline: 12px; font-size: 12px; }
  .mb-header-booking .mb-nmark { display: none; }
  .mb-mobile-nav summary { width: 44px; height: 44px; }
  .mb-hero { height: 650px; background-image: url("./clinic-hero-reception-mobile-real-v3.jpg"); background-position: center; }
  .mb-hero::before { background: linear-gradient(90deg,rgba(251,249,247,.98) 0%,rgba(251,249,247,.92) 68%,rgba(251,249,247,.35) 100%); }
  .mb-hero__inner { align-items: flex-start; }
  .mb-hero__copy { width: 100%; padding: 54px 4px 0; }
  .mb-hero h1 { font-size: clamp(39px,12vw,48px) !important; }
  .mb-hero__copy > p { font-size: 15px; }
  .mb-hero__actions { display: grid; grid-template-columns: 1fr; }
  .mb-hero__actions .mb-button { width: 100%; }
  .mb-quick { padding-block: 16px; }
  .mb-quick__grid { grid-template-columns: repeat(2,1fr); }
  .mb-quick__item { min-height: 102px; padding: 16px 10px; gap: 11px; }
  .mb-quick__item:nth-child(2) { border-right: 0; }
  .mb-quick__item:nth-child(-n+2) { border-bottom: 1px solid var(--mb-line); }
  .mb-quick__item > svg { width: 38px; height: 38px; flex-basis: 38px; }
  .mb-quick__item strong { font-size: 13px; }
  .mb-quick__item span { font-size: 11px; }
  .mb-care-card { min-height: 286px; }
  .mb-care-card__copy { width: 70%; padding: 31px 25px; }
  .mb-care-card h2 { font-size: 29px !important; }
  .mb-care-card a { left: 25px; bottom: 26px; }
  .mb-clinics__grid { grid-template-columns: repeat(2,1fr); }
  .mb-clinics article, .mb-clinics article:nth-child(3) { border-right: 1px solid var(--mb-line); border-bottom: 1px solid var(--mb-line); }
  .mb-clinics article:nth-child(even) { border-right: 0; }
  .mb-clinics article:nth-last-child(-n+2) { border-bottom: 0; }
  .mb-clinics article { min-height: 270px; }
  .mb-symptoms { padding-block: 34px; }
  .mb-symptoms h2 { margin-bottom: 28px; font-size: 20px !important; }
  .mb-symptoms__grid { grid-template-columns: repeat(2,1fr); gap: 26px 0; }
  .mb-symptoms__grid a > span { width: 82px; height: 82px; }
  .mb-symptoms__grid svg { width: 42px; height: 42px; }
  .mb-promise__copy { padding: 40px 4px 34px; }
  .mb-promise__items { grid-template-columns: 1fr; }
  .mb-promise__items > div, .mb-promise__items > div:first-child, .mb-promise__items > div:last-child { min-height: 94px; padding: 15px 0; border-right: 0; border-bottom: 1px solid var(--mb-line); display: grid; grid-template-columns: 58px 1fr; grid-template-rows: 28px 1fr; text-align: left; }
  .mb-promise__items > div:last-child { border-bottom: 0; }
  .mb-promise__items svg { grid-row: 1 / 3; margin: 0; }
  .mb-promise__items p { margin-top: 2px; }
  .mb-promise__doctor { font-size: 18px; }
  .mb-promise__doctor strong { font-size: 14px; }
  .mb-promise__visual { min-height: 290px; }
  .mb-process { padding-block: 38px; }
  .mb-process h2 { font-size: 22px !important; }
  .mb-process__grid { margin-top: 27px; grid-template-columns: 1fr; }
  .mb-process__grid > div { min-height: 90px; padding: 10px 18px; justify-content: flex-start; }
  .mb-process__grid > div:not(:last-child)::after { content: "↓"; left: 45px; right: auto; top: 76px; font-size: 15px; }
  .mb-process__grid > div > span { width: 60px; height: 60px; flex-basis: 60px; }
  .mb-process__grid small br { display: none; }
  .mb-journal { padding-block: 52px 58px; }
  .mb-journal__head { min-height: 0; margin-bottom: 25px; align-items: flex-start; flex-direction: column; gap: 20px; }
  .mb-journal__head h2 { font-size: 29px !important; }
  .mb-journal__head p { font-size: 13px; }
  .mb-journal__more { min-width: 128px; min-height: 44px; }
  .mb-journal-query ul.wp-block-post-template { grid-template-columns: 1fr !important; }
  .mb-journal-query li.wp-block-post:last-child:nth-child(odd) { width: auto; grid-column: auto; justify-self: stretch; }
  .mb-journal-card { min-height: 0; display: flex; flex-direction: column; }
  .mb-journal-card__image { height: auto; min-height: 0; aspect-ratio: 16 / 10 !important; }
  .mb-journal-card__body { padding: 23px 21px 22px; }
  .mb-journal-card h3 { font-size: 19px !important; }
  .mb-visit-band__grid { grid-template-columns: 1fr; }
  .mb-visit-band__map { height: 280px; grid-column: auto; }
  .mb-kakao-map, .mb-kakao-map .root_daum_roughmap, .mb-kakao-map .root_daum_roughmap_landing, .mb-kakao-map .wrap_map, .mb-kakao-map .wrap_map .map { height: 280px !important; min-height: 280px !important; }
  .mb-visit-band__route { padding: 31px 20px 34px; }
  .mb-visit-band__hours { height: auto; min-height: 260px; margin: 0 20px 32px; }
  .mb-closing__grid { padding-block: 35px; grid-template-columns: 1fr; gap: 25px; }
  .mb-footer-logo--large .mb-brand__lockup { width: 185px; }
  .mb-closing__actions { grid-column: auto; display: grid; }
  .mb-closing__actions .mb-button { width: 100%; }
  .mb-footer-main { padding-block: 25px; }
  .mb-footer-top { grid-template-columns: 1fr; }
  .mb-footer-social { justify-content: flex-start; }
  .mb-footer-nav { grid-column: auto; flex-wrap: wrap; justify-content: flex-start; gap: 10px 0; }
  .mb-footer-nav a { padding-inline: 10px; }
  .mb-footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
}

@media (max-width: 380px) {
  .mb-wide { width: calc(100% - 24px); }
  .mb-brand { width: 126px; }
  .mb-brand__mark { width: 36px; height: 38px; flex-basis: 36px; }
  .mb-brand__lockup { width: 88px; }
  .mb-brand__name { width: 88px; height: 21px; background-size: 102px auto; background-position: -6px -32px; }
  .mb-brand__lockup small { display: none; }
  .mb-header-booking { padding-inline: 9px; font-size: 11px; }
  .mb-hero h1 { font-size: 38px !important; }
  .mb-clinics__grid { grid-template-columns: 1fr; }
  .mb-clinics article, .mb-clinics article:nth-child(even), .mb-clinics article:nth-last-child(-n+2) { min-height: 242px; border-right: 0; border-bottom: 1px solid var(--mb-line); }
  .mb-clinics article:last-child { border-bottom: 0; }
  .mb-journal-query ul.wp-block-post-template { gap: 18px; }
  .mb-journal-card__body { padding-inline: 18px; }
  .mb-visit-band__actions { grid-template-columns: 1fr; }
  .mb-visit-band__phone { font-size: 22px; }
  .mb-visit-band__hours { padding-inline: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mb-home *, .mb-home *::before, .mb-home *::after,
  .mb-site-header *, .mb-site-header *::before, .mb-site-header *::after,
  .mb-site-footer *, .mb-site-footer *::before, .mb-site-footer *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
