/* generated by scripts/bundle-site-css.mjs */
/* /templates/css/main/editorial-e.css */
/*
 * 템플릿 E — SEO 에디토리얼 (디자인: DESIGN_renovo.md, 리노보의원 스타일)
 * 값은 MD 의 1920px 기준 수치를 따르고, 작은 화면에서는 clamp 로 같은 비율만큼 줄입니다.
 * 상담 전화·챗봇은 병원 퀵메뉴(오른쪽)를 그대로 씁니다 (MD 의 왼쪽 상담 알약은 퀵메뉴와 겹쳐 넣지 않음)
 * 색: 크림 #FDFAEF · 먹색 #363636 · 짙은 띠 #363636 · 뼈색 #F9F8F4 · 리넨 #F4EFDB · 하단 #242424
 *     포인트 테라코타 #AC4626 은 떠 있는 상담 버튼·위로 가기 버튼에만.
 * 글꼴: 한글 Pretendard(자간 -0.02em, 줄 간격 1.5), 영문 라벨 Figtree 100 대문자, 마무리 문장만 Figtree 800.
 * 모든 규칙은 html.main-template-e 아래에 한정합니다 (다른 템플릿에 영향 없음).
 */
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@100;400;800&display=swap');

html.main-template-e {
  --e-cream: #fdfaef;
  --e-ink: #363636;
  --e-white: #fcfcfc;
  --e-terracotta: #ac4626;
  --e-bone: #f9f8f4;
  --e-linen: #f4efdb;
  --e-sand: #e5e1d2;
  --e-footer: #242424;
  --e-button: #1a1a1a;
  --e-muted: rgba(54, 54, 54, 0.6);
  --e-veil: rgba(0, 0, 0, 0.3);
  --e-glass: rgba(255, 255, 255, 0.2);
  --e-naver: #03cf5d;
  --e-scrim: rgba(0, 0, 0, 0.5);
  --e-shadow-soft: rgba(177, 176, 175, 0.2) 3px 3px 7px 0px;
  --e-ani: cubic-bezier(0.32, 0.94, 0.6, 1);
  --e-radius: 30px;
  --e-width: 1500px;
  /* 1920 기준 값 → 화면 폭 비율 (MD: 루트 글자 크기가 화면 폭에 따라 줄어듦) */
  --e-pad: clamp(96px, 10.42vw, 200px);
  --e-text-caption: 14px;
  --e-text-body: 16px;
  --e-text-body-lg: clamp(17px, 1.04vw, 20px);
  --e-text-statement: clamp(22px, 1.56vw, 30px);
  --e-text-card: clamp(24px, 1.88vw, 36px);
  --e-text-label: clamp(28px, 2.08vw, 40px);
  --e-text-label-lg: clamp(32px, 2.6vw, 50px);
  --e-text-display: clamp(44px, 5.21vw, 100px);
  --e-pretendard: 'Pretendard', 'Noto Sans KR', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --e-figtree: 'Figtree', 'Manrope', 'Inter Tight', ui-sans-serif, system-ui, sans-serif;
  background: var(--e-cream);
}

html.main-template-e body {
  /* 공용 CSS 의 흰 배경보다 우선 (서브페이지도 크림 종이) */
  background: var(--e-cream) !important;
  color: var(--e-ink);
  font-family: var(--e-pretendard);
  line-height: 1.5;
  letter-spacing: -0.02em;
}

/* ───────── 공통: 구역 · 머리(영문 라벨 → 질문형 H2 → 답) ───────── */
html.main-template-e .e-section {
  padding: var(--e-pad) 0;
  background: var(--e-cream);
  color: var(--e-ink);
}
html.main-template-e .e-section--bone {
  background: var(--e-bone);
}
html.main-template-e .e-section--dark {
  background: var(--e-ink);
  color: var(--e-white);
}
html.main-template-e .e-inner {
  width: 100%;
  max-width: var(--e-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 48px);
  box-sizing: border-box;
}
html.main-template-e .e-head {
  margin: 0 0 clamp(48px, 4.17vw, 80px);
}
html.main-template-e .e-head--center {
  text-align: center;
}
html.main-template-e .e-head--center .e-lead {
  margin-left: auto;
  margin-right: auto;
}
/* 영문 라벨: Figtree 100 대문자 (굵게 하지 않음) */
html.main-template-e .e-label {
  margin: 0 0 16px;
  font-family: var(--e-figtree);
  font-weight: 100;
  font-size: var(--e-text-label-lg);
  line-height: 1.3;
  letter-spacing: normal;
  text-transform: uppercase;
  color: inherit;
}
html.main-template-e .e-label--sm {
  margin: 0 0 16px;
  font-size: var(--e-text-label);
}
/* 질문형 H2: MD 의 카드 제목 크기(36px / 800) */
html.main-template-e .e-question {
  margin: 0;
  font-family: var(--e-pretendard);
  font-weight: 800;
  font-size: var(--e-text-card);
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: inherit;
  word-break: keep-all;
}
/* 라벨 아래 한 줄: Pretendard 20px / 400, 먹색 60% */
html.main-template-e .e-lead {
  max-width: 900px;
  margin: 16px 0 0;
  font-size: var(--e-text-body-lg);
  line-height: 1.5;
  color: var(--e-muted);
  word-break: keep-all;
}
html.main-template-e .e-head--dark .e-lead {
  color: rgba(252, 252, 252, 0.6);
}
/* MORE 링크: 14px / 700 + 화살표 */
html.main-template-e .e-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  font-size: var(--e-text-caption);
  font-weight: 700;
  line-height: 1.5;
  color: var(--e-ink);
  text-decoration: none;
  transition: opacity 0.4s var(--e-ani);
}
html.main-template-e .e-more::after {
  content: '→';
}
html.main-template-e .e-more:hover {
  opacity: 0.6;
}
html.main-template-e .e-more--light {
  color: var(--e-white);
}

/* ───────── 첫 화면: 어두운 사진 + 30% 막, 왼쪽 아래 30px 얇은 문장 ───────── */
html.main-template-e .e-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--e-footer);
  color: var(--e-white);
}
html.main-template-e .e-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
html.main-template-e .e-hero__veil {
  position: absolute;
  inset: 0;
  background: var(--e-veil);
}
html.main-template-e .e-hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--e-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 48px) clamp(56px, 6.25vw, 120px);
  box-sizing: border-box;
}
html.main-template-e .e-hero__eyebrow {
  margin: 0 0 16px;
  font-family: var(--e-figtree);
  font-weight: 100;
  font-size: var(--e-text-body-lg);
  line-height: 1.3;
  letter-spacing: normal;
  text-transform: uppercase;
}
/* H1 = MD 의 statement (30px / 400, 흰색) */
html.main-template-e .e-hero__title {
  max-width: 900px;
  margin: 0;
  font-weight: 400;
  font-size: var(--e-text-statement);
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--e-white);
  word-break: keep-all;
}
html.main-template-e .e-hero__statement {
  max-width: 900px;
  margin: 0;
  font-weight: 400;
  font-size: var(--e-text-statement);
  line-height: 1.5;
  color: var(--e-white);
  word-break: keep-all;
}
html.main-template-e .e-hero__desc {
  max-width: 720px;
  margin-top: 16px;
  font-size: var(--e-text-body);
  line-height: 1.5;
  color: rgba(252, 252, 252, 0.8);
}
html.main-template-e .e-hero__counter {
  margin: 48px 0 0;
  font-family: var(--e-figtree);
  font-weight: 400;
  font-size: var(--e-text-caption);
  line-height: 1.5;
  letter-spacing: normal;
  color: var(--e-white);
}

/* ───────── 먼저 알아두세요 (뼈색 + 리넨 요약 칸) ───────── */
html.main-template-e .e-glance__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 4.17vw, 80px);
  align-items: start;
}
html.main-template-e .e-glance__summary {
  margin: 0 0 48px;
  font-size: var(--e-text-body-lg);
  line-height: 1.5;
  word-break: keep-all;
}
html.main-template-e .e-glance__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 16px 40px;
  border-radius: var(--e-radius);
  background: var(--e-linen);
}
html.main-template-e .e-glance__fact {
  padding: 24px 0;
  border-bottom: 1px solid var(--e-sand);
}
html.main-template-e .e-glance__fact:nth-last-child(-n + 2) {
  border-bottom: 0;
}
html.main-template-e .e-glance__fact dt {
  margin: 0 0 8px;
  font-size: var(--e-text-caption);
  font-weight: 700;
  line-height: 1.5;
  color: var(--e-muted);
}
html.main-template-e .e-glance__fact dd {
  margin: 0;
  font-size: var(--e-text-body);
  line-height: 1.5;
}
html.main-template-e .e-glance__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}
html.main-template-e .e-glance__stats li {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
html.main-template-e .e-glance__stats strong {
  font-family: var(--e-figtree);
  font-weight: 100;
  font-size: var(--e-text-label-lg);
  line-height: 1.3;
  letter-spacing: normal;
}
html.main-template-e .e-glance__stats strong * {
  font: inherit;
  color: inherit;
}
html.main-template-e .e-glance__stats span {
  font-size: var(--e-text-caption);
  line-height: 1.5;
  color: var(--e-muted);
}

/* ───────── 병원 소개: 가운데 30px 문장 (brand statement) ───────── */
html.main-template-e .e-about {
  text-align: center;
}
html.main-template-e .e-about__statement {
  max-width: 900px;
  margin: 0 auto;
  font-weight: 400;
  font-size: var(--e-text-statement);
  line-height: 1.5;
  word-break: keep-all;
}
html.main-template-e .e-about__statement p {
  margin: 0;
}
html.main-template-e .e-about__statement p + p {
  margin-top: 48px;
}
html.main-template-e .e-about__media {
  margin-top: clamp(48px, 4.17vw, 80px);
}
html.main-template-e .e-about__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: var(--e-radius);
}

/* ───────── 시술 카드: 짙은 띠 위 먹색 카드, 모서리 0, 사진 아래 어두운 그라데이션, 3장 ───────── */
/* 가로 슬라이드: 한 화면에 3장, 간격 24px, 손가락·트랙패드로 넘김 */
html.main-template-e .e-care__list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
html.main-template-e .e-care__list::-webkit-scrollbar {
  display: none;
}
html.main-template-e .e-care__card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  background: var(--e-ink);
}
html.main-template-e .e-care__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--e-footer);
}
html.main-template-e .e-care__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(54, 54, 54, 0) 40%, rgba(54, 54, 54, 1) 100%);
}
html.main-template-e .e-care__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--e-ani);
}
html.main-template-e .e-care__card:hover .e-care__media img {
  transform: scale(1.04);
}
html.main-template-e .e-care__copy {
  padding: 40px;
}
/* 카드 제목: 36px / 800 흰색 */
html.main-template-e .e-care__title {
  margin: 0 0 16px;
  font-weight: 800;
  font-size: var(--e-text-card);
  line-height: 1.5;
  color: #fff;
  word-break: keep-all;
}
html.main-template-e .e-care__tagline {
  margin: 0 0 8px;
  font-weight: 800;
  font-size: var(--e-text-card);
  line-height: 1.5;
  color: #fff;
  word-break: keep-all;
}
/* 시술 이름: 20px / 400 */
html.main-template-e .e-care__name {
  margin: 0 0 16px;
  font-weight: 400;
  font-size: var(--e-text-body-lg);
  line-height: 1.5;
  color: var(--e-white);
}
html.main-template-e .e-care__body {
  margin: 0;
  font-size: var(--e-text-body);
  line-height: 1.5;
  color: rgba(252, 252, 252, 0.8);
  word-break: keep-all;
}

/* ───────── 의료진 (뼈색): 둥근 큰 사진, 이름 20px / 800 ───────── */
html.main-template-e .e-doctor__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 4.17vw, 80px);
  align-items: center;
}
html.main-template-e .e-doctor__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--e-radius);
}
html.main-template-e .e-doctor__name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 8px;
  font-weight: 800;
  font-size: var(--e-text-body-lg);
  line-height: 1.5;
}
html.main-template-e .e-doctor__name em {
  font-style: normal;
  font-weight: 800;
}
html.main-template-e .e-doctor__title {
  margin: 0 0 16px;
  font-family: var(--e-pretendard);
  font-size: var(--e-text-body);
  line-height: 1.5;
}
html.main-template-e .e-doctor__body {
  margin: 0 0 24px;
  font-size: var(--e-text-body);
  line-height: 1.5;
  color: var(--e-muted);
  white-space: pre-line;
}
html.main-template-e .e-doctor__list {
  margin: 0;
  padding: 24px 0 0;
  list-style: none;
  border-top: 1px solid var(--e-sand);
}
html.main-template-e .e-doctor__list li {
  padding: 4px 0;
  font-size: var(--e-text-body);
  line-height: 1.5;
}

/* ───────── 강점 (크림): 테두리 없는 리넨 칸, 번호는 Figtree 100 ───────── */
html.main-template-e .e-why__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
html.main-template-e .e-why__item {
  padding: 48px 40px;
  border-radius: var(--e-radius);
  background: var(--e-linen);
}
html.main-template-e .e-why__num {
  display: block;
  margin-bottom: 24px;
  font-family: var(--e-figtree);
  font-weight: 100;
  font-size: var(--e-text-label);
  line-height: 1.3;
}
html.main-template-e .e-why__title {
  margin: 0 0 16px;
  font-weight: 800;
  font-size: var(--e-text-body-lg);
  line-height: 1.5;
  word-break: keep-all;
}
html.main-template-e .e-why__body {
  font-size: var(--e-text-body);
  line-height: 1.5;
  color: var(--e-muted);
  word-break: keep-all;
}

/* ───────── 블로그(매거진): 짙은 띠, 4장, 사진 30px, 태그 14px / 700, 제목 20px / 800 두 줄 ───────── */
html.main-template-e .e-blog__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
html.main-template-e .e-blog__card a {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--e-white);
  text-decoration: none;
}
html.main-template-e .e-blog__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--e-radius);
  background: var(--e-footer);
}
html.main-template-e .e-blog__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--e-ani);
}
html.main-template-e .e-blog__card a:hover img {
  transform: scale(1.04);
}
html.main-template-e .e-blog__tag {
  align-self: flex-start;
  font-size: var(--e-text-caption);
  font-weight: 700;
  line-height: 1.5;
}
html.main-template-e .e-blog__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0;
  font-weight: 800;
  font-size: var(--e-text-body-lg);
  line-height: 1.5;
  word-break: keep-all;
}

/* ───────── 자주 묻는 질문 (뼈색) ───────── */
html.main-template-e .e-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 4.17vw, 80px);
  align-items: start;
}
html.main-template-e .e-faq__item {
  border-bottom: 1px solid var(--e-sand);
}
html.main-template-e .e-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
}
html.main-template-e .e-faq__item summary::-webkit-details-marker {
  display: none;
}
html.main-template-e .e-faq__item summary::after {
  content: '+';
  flex: 0 0 auto;
  font-family: var(--e-figtree);
  font-weight: 100;
  font-size: var(--e-text-label);
  line-height: 1;
  transition: transform 0.4s var(--e-ani);
}
html.main-template-e .e-faq__item[open] summary::after {
  transform: rotate(45deg);
}
html.main-template-e .e-faq__item h3 {
  margin: 0;
  font-weight: 800;
  font-size: var(--e-text-body-lg);
  line-height: 1.5;
  word-break: keep-all;
}
html.main-template-e .e-faq__item p {
  margin: 0;
  padding: 0 48px 24px 0;
  font-size: var(--e-text-body);
  line-height: 1.5;
  color: var(--e-muted);
  white-space: pre-line;
  word-break: keep-all;
}

/* ───────── 마무리 큰 문장: Figtree 800 100px, 자간 -8px, 크림 ───────── */
html.main-template-e .e-closing {
  padding: var(--e-pad) 0 0;
  background: var(--e-cream);
  color: var(--e-ink);
}
html.main-template-e .e-closing__line {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: var(--e-figtree);
  font-weight: 800;
  font-size: var(--e-text-display);
  line-height: 1.2;
  letter-spacing: calc(var(--e-text-display) * -0.08);
}
html.main-template-e .e-closing__left {
  align-self: flex-start;
}
html.main-template-e .e-closing__right {
  align-self: flex-end;
  text-align: right;
}
html.main-template-e .e-closing__media {
  position: relative;
  z-index: 1;
  margin-top: 48px;
  margin-bottom: -80px;
}
html.main-template-e .e-closing__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: var(--e-radius);
}
/* 사진이 80px 겹쳐 올라오는 만큼 다음 구역 위 여백을 늘립니다 */
html.main-template-e .e-closing + * .e-visit,
html.main-template-e [data-main-section='closing-e'] + [data-main-section='map-e'] .e-visit {
  padding-top: calc(var(--e-pad) + 80px);
}

/* ───────── 진료시간 · 오시는 길: TIME / CALL / LOCATION 세 칸 (크림) ───────── */
html.main-template-e .e-visit__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}
html.main-template-e .e-visit__value {
  font-size: var(--e-text-body-lg);
  line-height: 1.5;
}
html.main-template-e .e-glance__fact dd *,
html.main-template-e .e-visit__value * {
  color: inherit !important;
  background: transparent !important;
}
html.main-template-e .e-visit__phone {
  font-weight: 400;
  font-size: var(--e-text-card);
  line-height: 1.5;
  color: var(--e-ink);
  text-decoration: none;
}
html.main-template-e .e-map-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 8px 24px;
  border-radius: 0;
  font-size: var(--e-text-caption);
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}
html.main-template-e .e-visit__maps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
html.main-template-e .e-visit__maps .e-map-btn {
  margin-top: 0;
}
html.main-template-e .e-map-btn--google {
  background: var(--e-white);
  color: var(--e-ink);
}
html.main-template-e .e-map-btn--naver {
  background: var(--e-naver);
  color: #fff;
}
html.main-template-e .e-visit__map {
  margin-top: clamp(48px, 4.17vw, 80px);
  aspect-ratio: 16 / 6;
  overflow: hidden;
  border-radius: var(--e-radius);
  background: var(--e-linen);
}
html.main-template-e .e-visit__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ───────── 스크롤 등장 효과 (스크립트가 돌 때만 숨겼다 보여 줌) ───────── */
html.main-template-e[data-e-reveal='ready'] [data-e-reveal='wait'] {
  opacity: 0;
  transform: translateY(20px);
}
html.main-template-e[data-e-reveal='ready'] [data-e-reveal] {
  transition: opacity 0.8s var(--e-ani), transform 0.8s var(--e-ani);
}
html.main-template-e[data-e-reveal='ready'] [data-e-reveal='in'] {
  opacity: 1;
  transform: none;
}

/* ───────── 헤더: 첫 화면 위에서는 투명, 스크롤하면 50% 검정. 로고는 넓은 자간 흰 대문자 ───────── */
html.main-template-e .site-header,
html.main-template-e.main-page .site-header,
html.main-template-e.main-page #main-nav {
  background: transparent;
  transition: background-color 0.4s var(--e-ani);
}
html.main-template-e .site-header.scrolled,
html.main-template-e .site-header.scrolled #main-nav,
html.main-template-e.header-solid .site-header,
html.main-template-e.header-solid #main-nav {
  background: var(--e-scrim) !important;
}
html.main-template-e.sub-page .site-header,
html.main-template-e.sub-page #main-nav {
  background: var(--e-footer) !important;
}
html.main-template-e #main-nav,
html.main-template-e .site-header__nav {
  height: clamp(64px, 4.38vw, 84px);
}
html.main-template-e #logo-link p {
  font-family: var(--e-figtree);
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fff;
}
/* 햄버거: 두 줄 */
html.main-template-e .hamburger-menu-btn {
  height: 12px;
}
html.main-template-e .hamburger-menu-btn span {
  height: 1.5px;
  background: #fff;
}
html.main-template-e .hamburger-menu-btn span:nth-child(2) {
  display: none;
}
html.main-template-e .dropdown-menu {
  background: var(--e-cream);
}

/* ───────── 하단 정보: #242424, 14px 70% 흰 글자, 줄 간격 1.8 ───────── */
html.main-template-e footer {
  padding-top: clamp(80px, 7.81vw, 150px) !important;
  padding-bottom: clamp(80px, 7.81vw, 150px) !important;
  background: var(--e-footer) !important;
  color: var(--e-white);
}
/* 하단 글자는 모두 14px / 400, 흰색 70%, 줄 간격 1.8 (공용 하단의 15~34px 글자를 덮음) */
html.main-template-e footer,
html.main-template-e footer p,
html.main-template-e footer a,
html.main-template-e footer span,
html.main-template-e footer div,
html.main-template-e footer li {
  font-family: var(--e-pretendard) !important;
  font-size: var(--e-text-caption) !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  letter-spacing: -0.02em !important;
}
html.main-template-e footer p,
html.main-template-e footer a,
html.main-template-e footer span,
html.main-template-e footer li {
  color: rgba(252, 252, 252, 0.7) !important;
  opacity: 1 !important;
}

/* ───────── 퀵메뉴 (MD quick contact stack): 오른쪽 세로 줄, 흰 원 56px + shadow-soft, 위로 가기는 테라코타 원 ─────────
 * 버튼마다 글자는 화면에서 숨기고(읽기 프로그램용으로는 남김) 아이콘만 원 안에 보여 줍니다. 아이콘은 각 서비스 고유 색 그대로. */
html.main-template-e #quick .quick-wrap {
  align-items: flex-end;
  gap: 12px;
}
html.main-template-e #quick .quick-button-group {
  width: 56px;
  bottom: calc(56px + 12px);
}
html.main-template-e #quick .quick-social-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 56px;
}
html.main-template-e #quick .quick-social-icon .title-wrap {
  width: 56px !important;
  min-width: 0 !important;
  height: 56px !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0;
  border: 0 !important;
  border-radius: 50% !important;
  background: var(--e-white) !important;
  box-shadow: var(--e-shadow-soft);
}
html.main-template-e #quick .quick-social-icon .icon-social {
  display: flex !important;
  width: 24px;
  height: 24px;
}
html.main-template-e #quick .quick-social-icon .tit {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
html.main-template-e #quick .quick-wrap > .quick-btn-area,
html.main-template-e #quick .quick-wrap > .top_btn01 {
  align-self: flex-end;
  margin-right: 0 !important;
}
html.main-template-e #quick .quick-btn-area,
html.main-template-e #quick .quick-btn-area .quick-bg,
html.main-template-e #quick .chatbot_button_icon,
html.main-template-e #quick .quick-close-btn {
  width: 56px !important;
  height: 56px !important;
}
html.main-template-e #quick .quick-btn-area .quick-bg,
html.main-template-e #quick .quick-close-btn {
  background: var(--e-white);
  box-shadow: var(--e-shadow-soft);
}
html.main-template-e #quick .open_btn > div,
html.main-template-e #quick .quick-close-btn span {
  background-color: var(--e-ink);
}
html.main-template-e #quick .quick-close-btn span {
  width: 22px;
  height: 1.5px;
}
html.main-template-e #quick .top_btn01 {
  width: 56px !important;
  height: 56px !important;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 50% !important;
  background: var(--e-terracotta) !important;
  box-shadow: var(--e-shadow-soft);
}
html.main-template-e #quick .top_btn01 svg {
  width: 10px !important;
  height: 22px !important;
}
html.main-template-e #quick .top_btn01 svg line {
  stroke: var(--e-white);
}
@media (max-width: 767px) {
  html.main-template-e #quick .quick-button-group,
  html.main-template-e #quick .quick-social-icon {
    width: 44px;
  }
  html.main-template-e #quick .quick-button-group {
    bottom: calc(44px + 8px);
  }
  html.main-template-e #quick .quick-wrap,
  html.main-template-e #quick .quick-social-icon {
    gap: 8px;
  }
  html.main-template-e #quick .quick-social-icon .title-wrap,
  html.main-template-e #quick .quick-btn-area,
  html.main-template-e #quick .quick-btn-area .quick-bg,
  html.main-template-e #quick .chatbot_button_icon,
  html.main-template-e #quick .quick-close-btn,
  html.main-template-e #quick .top_btn01 {
    width: 44px !important;
    height: 44px !important;
  }
  html.main-template-e #quick .quick-social-icon .icon-social {
    width: 20px;
    height: 20px;
  }
  html.main-template-e #quick .top_btn01 svg {
    width: 8px !important;
    height: 16px !important;
  }
}

/* ───────── 반응형 (그리드는 4칸을 넘지 않음) ───────── */
@media (max-width: 1024px) {
  html.main-template-e .e-glance__grid,
  html.main-template-e .e-doctor__grid,
  html.main-template-e .e-faq__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  html.main-template-e .e-care__list {
    grid-auto-columns: calc((100% - 24px) / 2);
  }
  html.main-template-e .e-blog__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html.main-template-e .e-visit__cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}
@media (max-width: 640px) {
  html.main-template-e .e-care__list {
    grid-auto-columns: 86%;
  }
  html.main-template-e .e-glance__facts {
    grid-template-columns: minmax(0, 1fr);
  }
  html.main-template-e .e-glance__facts {
    padding: 8px 24px;
  }
  html.main-template-e .e-glance__fact:nth-last-child(2) {
    border-bottom: 1px solid var(--e-sand);
  }
  html.main-template-e .e-care__copy,
  html.main-template-e .e-why__item {
    padding: 32px 24px;
  }
  html.main-template-e .e-visit__map {
    aspect-ratio: 4 / 3;
  }
  html.main-template-e .e-closing__media {
    margin-bottom: -40px;
  }
  html.main-template-e [data-main-section='closing-e'] + [data-main-section='map-e'] .e-visit {
    padding-top: calc(var(--e-pad) + 40px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html.main-template-e .e-care__media img,
  html.main-template-e .e-blog__media img {
    transition: none;
  }
}

