.site-header__inner{position:relative}.site-header .site-header__nav{min-width:0;overflow-x:auto;scrollbar-width:none}.clinic-mobile-menu{display:none}.clinic-mobile-menu summary{cursor:pointer;list-style:none}.clinic-mobile-menu summary::-webkit-details-marker{display:none}@media(max-width:680px){.site-header .clinic-mobile-menu{display:block;margin-left:auto}.clinic-mobile-menu summary{display:grid;place-items:center;min-width:40px;height:42px;font:20px/1 system-ui;color:#49323a}.clinic-mobile-menu:not([open])>nav{display:none}.clinic-mobile-menu nav{position:absolute;top:100%;right:0;display:grid;min-width:min(210px,80vw);max-height:65vh;overflow:auto;padding:5px 14px;background:white;border:1px solid #eadfe2;box-shadow:0 8px 25px #49323a18}.clinic-mobile-menu nav a{display:block;padding:11px 4px;color:#49323a}}

*,*::before,*::after{box-sizing:border-box}
img,video,iframe{max-width:100%}
.site-header__inner,.site-header__nav,.layout>*,.journal-grid>*,.frame>.page,.top-left,#workspace{min-width:0}
.site-header__chat,.site-header__brand{flex-shrink:0}
.journal-title,.journal-excerpt,main h1,main h2{overflow-wrap:anywhere;word-break:keep-all}
.poster-slide img{width:100%;height:auto;display:block}
body>.site-header .site-header__brand{max-width:clamp(94px,24vw,174px)}
main .journal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.journal-card,.journal-photo,.event-gallery li{min-width:0}
.journal-card img,.event-gallery .event-thumb{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.event-gallery .event-thumb{object-fit:contain}
main .category-scroll{display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;max-width:100%;overscroll-behavior-x:contain}
.category-scroll>a{flex:none}.category-scroll::-webkit-scrollbar{display:none}
main .visit-section img{max-width:100%;height:auto}
@media(min-width:761px) and (max-width:1024px){main .journal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 body>.site-header .site-header__inner{width:calc(100% - 32px);gap:8px}
 main .journal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}
 main .editorial,main .layout{grid-template-columns:minmax(0,1fr)}
 main .wrap,main.wrap{max-width:100%}
 main .visit-section,main .service-group{min-width:0}
 main .visit-section dd{overflow-wrap:anywhere}
}
@media(max-width:440px){main .journal-grid{grid-template-columns:minmax(0,1fr)}}
/* Keep the FAQ's question marker inside the FAQ. */
.site-header .clinic-mobile-menu {
  flex: none;
  border: 0;
  padding: 0;
  background: transparent;
}
.site-header .clinic-mobile-menu > summary {
  margin: 0;
  border: 0;
  padding: 0;
  gap: 0;
  color: #49323a;
  background: transparent;
}
.site-header .clinic-mobile-menu > summary::before,
.site-header .clinic-mobile-menu > summary::after {
  content: none;
  display: none;
}
@media (max-width: 680px) {
  .site-header .clinic-mobile-menu > summary {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
  }
  .menu-glyph, .menu-glyph::before, .menu-glyph::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }
  .menu-glyph { position: relative; }
  .menu-glyph::before, .menu-glyph::after { position: absolute; left: 0; content: ""; }
  .menu-glyph::before { top: -6px; }
  .menu-glyph::after { top: 6px; }
  .clinic-mobile-menu[open] .menu-glyph { background: transparent; }
  .clinic-mobile-menu[open] .menu-glyph::before { top: 0; transform: rotate(45deg); }
  .clinic-mobile-menu[open] .menu-glyph::after { top: 0; transform: rotate(-45deg); }
  .clinic-mobile-menu nav {
    z-index: 1;
    border-radius: 12px;
  }
}
.skip-content {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 80;
  transform: translateY(-180%);
  padding: 9px 15px;
  border-radius: 6px;
  color: white;
  background: #64293d;
}
.skip-content:focus { transform: translateY(0); }
.visit-map-link { display: block; }
.visit-map-link:focus-visible, .site-header .clinic-mobile-menu > summary:focus-visible {
  outline: 3px solid #ad4b6c;
  outline-offset: 3px;
}
main[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }

/* Typography, color and controls shared by the Gangnam site */
@font-face {
  font-family: "Clinic Editorial";
  src: url("/assets/design/clinic-serif-ko.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}
:root {
  --paper: #fffdf9;
  --ivory: #f5f0e7;
  --aubergine: #3f2332;
  --mulberry: #6d354d;
  --copper: #9b6458;
  --body-ink: #332d31;
  --body-muted: #655e61;
  --hairline: #e0d8d2;
  --book-green: #116b48;
  --display-face: "Clinic Editorial", "Noto Serif CJK KR", "AppleMyungjo", "Batang", serif;
  --body-face: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans CJK KR", "Malgun Gothic", sans-serif;
  --site-width: min(1240px, calc(100% - clamp(40px, 9vw, 144px)));
}
body:is(.clinic-home, .journal-page, .guide-page, .event-page) {
  color: var(--body-ink);
  background: var(--paper);
  font-family: var(--body-face);
  letter-spacing: -.027em;
}
body > .site-header {
  background: var(--paper);
  color: var(--body-ink);
  box-shadow: 0 1px 0 rgb(69 40 54 / 8%);
}
body > .site-header.is-scrolled {
  background: rgb(255 253 249 / 94%);
  box-shadow: 0 1px 0 rgb(69 40 54 / 10%), 0 4px 18px rgb(40 26 35 / 4%);
}
body > .site-header .site-header__inner {
  width: var(--site-width);
  height: 74px;
}
.site-header .site-header__brand img { width: 160px; }
.site-header .site-header__nav { gap: clamp(17px, 2.25vw, 35px); }
.site-header__nav a {
  position: relative;
  padding: 9px 0;
  color: #493c43;
  font-size: .94rem;
  font-weight: 560;
}
.site-header__nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--mulberry);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
.site-header__nav a:is(:hover, :focus-visible)::after { transform: scaleX(1); }
.site-header .site-header__chat {
  min-height: 42px;
  padding: 9px 17px;
  border: 1px solid #efda7b;
  border-radius: 9px;
  color: #302610;
  background: #ffed98;
  font-size: .875rem;
}
body .site-header .clinic-mobile-menu nav {
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--paper);
}
.clinic-home .pill.naver,
.journal-page .visit-contact .visit-book,
.clinic-home .visit-contact .visit-book,
body.guide-page .guide-contact a.guide-action.naver-booking,
body.event-page a.event-button.naver-booking {
  border-color: var(--book-green);
  color: #fff;
  background: var(--book-green);
  text-shadow: none;
}
:is(.clinic-home, .journal-page, .event-page, .guide-page) :is(h1, h2) { text-wrap: pretty; }
::selection { background: #eccfd6; color: #33212b; }

/* Maps keep their natural aspect ratio, including station and street labels. */
.clinic-home .visit-section, .journal-page #visit.visit-section {
  padding-block: clamp(50px, 6vw, 88px);
  background: #f5f1ea;
}
.journal-page #visit.visit-section { box-shadow: 0 0 0 100vmax #f5f1ea; }
.visit-section .visit-heading {
  padding-bottom: 17px;
  border-bottom-color: #baa9a1;
}
.visit-section .visit-heading h2, .journal-page .visit-heading h2 {
  margin: 0;
  color: var(--aubergine);
  font-family: var(--display-face);
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -.065em;
}
.visit-section .visit-grid { align-items: start; gap: clamp(24px, 4.8vw, 70px); }
.visit-map .visit-map-link {
  overflow: hidden;
  border: 1px solid #dcd3c8;
  border-radius: 12px;
  background: #fff;
}
.visit-map .visit-map-link img { display: block; object-fit: contain; margin: 0 auto; }
.visit-section .visit-address span, .visit-section .visit-note { color: var(--body-muted); }
.visit-section .visit-address p { color: var(--aubergine); font-weight: 650; }
.visit-details :is(.visit-routes li, .visit-hours > div, .parking) { border-color: #dcd2ca; }
.visit-details .visit-hours dd { font-weight: 630; color: var(--body-ink); }
.visit-section .visit-details h3 { font-size: 1.2rem; color: var(--aubergine); }
.visit-contact .visit-book, .journal-page .visit-contact .visit-book, .visit-contact .visit-chat { border-radius: 8px; }
.visit-details .visit-contact a { text-underline-offset: .25em; }

/* Consultation guides and event pages */
body.guide-page .guide-hero {
  color: var(--aubergine);
  border-bottom: 1px solid var(--hairline);
  background: linear-gradient(110deg, #f9f5ec 5%, #f1e6de 72%, #e7d2cd);
}
.guide-hero .guide-motif { color: #b99188; opacity: .43; }
.guide-page .guide-hero h1, .event-page .event-heading h1 {
  color: var(--aubergine);
  font-family: var(--display-face);
  font-size: clamp(2.5rem, 5.2vw, 4.25rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.065em;
}
.guide-page .guide-nav { background: #fcfaf6; border-color: var(--hairline); }
.guide-page .guide-contact {
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--mulberry);
  border-radius: 0 0 12px 12px;
  background: #f6f0ea;
}
.guide-page .guide-contact .guide-action, .event-page .event-button { border-radius: 8px; }
.guide-page .guide-article h2, .event-page .program-section h2 {
  color: var(--aubergine);
  font-family: var(--display-face);
  font-weight: 400;
  letter-spacing: -.045em;
}
.event-page .event-heading { border-color: #c4b6ae; }
.event-page .event-gallery { column-gap: clamp(16px, 2.8vw, 38px); row-gap: 28px; }
.event-page .event-poster-entry .event-item { padding-bottom: 17px; border-color: var(--hairline); }
.event-gallery .event-thumb, .event-detail .event-full-poster { border-radius: 12px; }
.event-page .event-gallery .event-item h2 { color: var(--aubergine); }
.event-page .program-lead { border-color: #b48776; color: var(--aubergine); }
.event-page .program-section thead th { background: #f4eee6; border-color: #bea9a0; }

footer.business-footer, .journal-page > footer { background: #38232f; }
.business-footer .business-inner { width: var(--site-width); }
.business-footer .business-copyright { border-color: #654955; }
.journal-page > footer { padding-block: 32px; }
.business-footer .business-main { padding-block: 39px 30px; }

@media (max-width: 780px) and (min-width: 681px) {
  .site-header .site-header__nav { margin-right: 0; gap: 12px; }
  body > .site-header .site-header__inner { gap: 12px; width: calc(100% - 32px); }
  .site-header .site-header__brand img { width: 135px; }
  .site-header__nav a { font-size: .865rem; }
}
@media (max-width: 680px) {
  :root { --site-width: calc(100% - 36px); }
  body > .site-header .site-header__inner { height: 62px; gap: 7px; }
  body > .site-header .site-header__brand { max-width: 132px; }
  .site-header .site-header__brand img { width: clamp(107px, 30vw, 132px); }
  .site-header .site-header__chat { min-height: 40px; padding: 8px 11px; font-size: .81rem; }
  .visit-section .visit-grid { gap: 26px; }
  .visit-section .visit-map .visit-map-link img { max-height: 380px; }
  .business-footer .business-main { padding-block: 27px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header__nav a::after { transition: none; }
}
.guide-page .guide-contact { padding: clamp(18px, 2vw, 26px); }
@media (max-width: 360px) {
  body > .site-header .site-header__inner { width: calc(100% - 24px); gap: 4px; }
  .site-header .site-header__chat { padding-inline: 9px; gap: .4em; }
}
