/* Pre-mount & FOUC prevention on slow connections */
html.eramc-ui-pending body {
  opacity: 0 !important;
}
html:not(.eramc-ui-pending) body {
  opacity: 1;
  transition: opacity 0.14s ease;
}
footer.footer:not(.eramc-site-footer) {
  opacity: 0;
}

/* 사이트 전체 글자 선택 및 이미지/요소 드래그 방지 */
html, body, body * {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}
input, textarea {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}
img, picture, svg, video, a {
  -webkit-user-drag: none !important;
  user-drag: none !important;
  -webkit-touch-callout: none !important;
}

/* 전역 가독성 향상: 기본 글자 크기 상향 및 단계별 확대 지원 */
html {
  font-size: var(--eramc-root-desktop, 17.5px) !important;
}
@media (max-width: 768px) {
  html {
    font-size: var(--eramc-root-mobile, 18px) !important;
  }
}

/* 전역 SUIT 폰트 적용 (에르동물의료센터 로고 및 로고 글자 자체는 그대로 유지) */
html,
body,
body *:not(.logo):not(.logo *) {
  font-variant-numeric: lining-nums;
}
html {
  overflow-x: clip;
}
body {
  font-family: 'SUIT Variable', 'SUIT', 'SDGyeokdongG204Rg', 'Sandoll GyeokdongG2', '산돌 격동고딕2', 'GongGothicLight', 'S-CoreDream-4Regular', sans-serif !important;
}
.logo,
.logo * {
  font-family: 'Poppins', 'SDGyeokdongG204Rg', 'Sandoll GyeokdongG2', '산돌 격동고딕2', 'GongGothicLight', 'S-CoreDream-4Regular', sans-serif !important;
}

/* 상단 헤더: 로고 정중앙 상단 배치 · 메뉴 로고 아래 정중앙 배치 · 스크롤 시 로고는 상단 고정 유지하고 메뉴(네비게이션)만 내릴 때 숨김 / 올릴 때 페이드인 */
body .header {
  height: 182px;
  padding: 16px clamp(28px, 4.2vw, 72px) 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 2000;
  background: rgba(255, 255, 255, 0.74);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  transition:
    height 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    gap 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

body .header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(0, 0, 0, 0.09);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

/* 서브페이지 최상단: 완전 투명 헤더 + 흰색 로고/메뉴 · 스크롤 또는 전체메뉴 펼침 시 흰색 배경 복원 */
html.eramc-has-subhero body:not(.eramc-mega-open) .header:not(.is-scrolled) {
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}
html.eramc-has-subhero body .logo-emblem {
  transition: filter 0.24s ease;
}
html.eramc-has-subhero body:not(.eramc-mega-open) .header:not(.is-scrolled) .logo-emblem {
  filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.48));
}
html.eramc-has-subhero body .logo-wordmark {
  transition: fill 0.24s ease, filter 0.24s ease;
}
html.eramc-has-subhero body:not(.eramc-mega-open) .header:not(.is-scrolled) .logo-wordmark {
  fill: #ffffff !important;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.48));
}
html.eramc-has-subhero body:not(.eramc-mega-open) .header:not(.is-scrolled) .nav-item > a {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.52);
}
html.eramc-has-subhero body:not(.eramc-mega-open) .header:not(.is-scrolled) .nav-item > a::after {
  background-color: #ffffff !important;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}
html.eramc-has-subhero body:not(.eramc-mega-open) .header:not(.is-scrolled) .eramc-lang-switch {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
html.eramc-has-subhero body:not(.eramc-mega-open) .header:not(.is-scrolled) .eramc-lang-link {
  color: rgba(255, 255, 255, 0.9);
}
html.eramc-has-subhero body:not(.eramc-mega-open) .header:not(.is-scrolled) .eramc-lang-link:hover {
  color: #ffffff;
}
html.eramc-has-subhero body:not(.eramc-mega-open) .header:not(.is-scrolled) .eramc-lang-link.is-active {
  background: #ffffff;
  color: #3f2021;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.24);
}
html.eramc-has-subhero body:not(.eramc-mega-open) .header:not(.is-scrolled) .eramc-hamburger-btn {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.38);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.26);
}
html.eramc-has-subhero body:not(.eramc-mega-open) .header:not(.is-scrolled) .eramc-hamburger-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}
html.eramc-has-subhero body.eramc-mega-open .header {
  background: #ffffff !important;
  border-bottom-color: #f0ece8 !important;
}

body .header.is-hidden {
  height: 122px;
  padding: 14px clamp(28px, 4.2vw, 72px);
  gap: 0;
}

body .header.is-hidden .nav-links {
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  overflow: hidden;
}

body .header.is-hidden .dropdown-menu {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
body .logo {
  gap: 22px;
  flex-shrink: 0;
  margin: 0 auto;
}
body .logo-emblem {
  height: 94px;
  width: 94px;
}
body .logo-wordmark {
  height: 60px;
}
body .nav-links {
  height: auto;
  max-height: 64px;
  gap: clamp(28px, 3.6vw, 64px);
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transform: translateY(0);
  transition:
    max-height 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.24s ease,
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
body .nav-item {
  height: auto;
}
body .nav-item > a {
  font-size: 20.5px;
  font-weight: 500;
  padding: 8px 0 10px;
  white-space: nowrap;
}
body .dropdown-menu {
  top: 100%;
}
body .dropdown-menu a {
  font-size: 18px;
}
body .hero-section {
  margin-top: 0 !important;
  height: 100vh !important;
}
body .hero-section .video-overlay {
  background: linear-gradient(180deg, rgba(14, 11, 9, 0.54) 0%, rgba(14, 11, 9, 0.32) 30%, rgba(14, 11, 9, 0.24) 62%, rgba(14, 11, 9, 0.42) 100%) !important;
}
body .hero-section .hero-content {
  padding-top: 88px;
}
.bg-video-ambient {
  display: none;
}
body .sub-hero {
  position: relative;
  width: 100%;
  margin-top: 0 !important;
  min-height: clamp(660px, 74vh, 800px);
  padding: calc(182px + clamp(96px, 11vh, 148px)) 24px clamp(120px, 14vh, 176px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #2b211b !important;
  background-image: var(--eramc-subhero-bg) !important;
  background-position: var(--eramc-subhero-pos, center 48%) !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  overflow: hidden;
}
body .sub-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 11, 9, 0.62) 0%, rgba(14, 11, 9, 0.46) 36%, rgba(14, 11, 9, 0.34) 62%, rgba(14, 11, 9, 0.52) 100%);
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 1320px) {
  body .header {
    height: 164px;
    padding: 14px 28px 8px;
    gap: 8px;
  }
  body .header.is-hidden {
    height: 104px;
    padding: 12px 28px;
    gap: 0;
  }
  body .logo {
    gap: 18px;
  }
  body .logo-emblem {
    height: 80px;
    width: 80px;
  }
  body .logo-wordmark {
    height: 52px;
  }
  body .nav-links {
    gap: clamp(20px, 2.6vw, 40px);
    margin: 0 auto;
  }
  body .nav-item > a {
    font-size: 18px;
    padding: 6px 0 8px;
  }
  body .hero-section {
    margin-top: 0 !important;
    height: 100vh !important;
  }
  body .hero-section .hero-content {
    padding-top: 76px;
  }
  body .sub-hero {
    margin-top: 0 !important;
    min-height: clamp(560px, 68vh, 700px);
    padding: calc(164px + clamp(76px, 9vh, 118px)) 24px clamp(96px, 11.5vh, 144px);
  }
}

/* 서브페이지 배너 · 하위 탭 · 본문 가독성 상향 (rem 비례 확대로 확대 버튼과 연동) */
body .sub-hero-en {
  position: relative;
  z-index: 2;
  font-size: 0.94rem;
  letter-spacing: 2.4px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}
body .sub-hero-title {
  position: relative;
  z-index: 2;
  font-size: clamp(2.05rem, 3.4vw, 2.75rem);
  font-weight: 700;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.48);
}
body .sub-hero-desc {
  position: relative;
  z-index: 2;
  font-size: 1.14rem;
  line-height: 1.7;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
body .sub-tabs a {
  font-size: 1.08rem;
  padding: 18px 24px;
}
body .page-lead h2 {
  font-size: 1.85rem;
}
body .page-lead p {
  font-size: 1.12rem;
  line-height: 1.78;
}
body .greeting-en {
  font-size: clamp(24px, 1.9vw, 29px);
}
body .greeting-title {
  font-size: clamp(29px, 3.1vw, 48px);
}
body .greeting-body p {
  font-size: 1.05rem;
  line-height: 1.76;
  margin-bottom: 16px;
}
body .greeting-body p:last-child {
  margin-bottom: 0;
}
body .info-banner h3 {
  font-size: 1.42rem;
}
body .info-banner p {
  font-size: 1.06rem;
  line-height: 1.85;
}
body .feature-card h4 {
  font-size: 1.3rem;
}
body .feature-card p {
  font-size: 1.04rem;
  line-height: 1.78;
}
body .badge {
  font-size: 0.82rem;
  padding: 6px 13px;
}
body .detail-list {
  font-size: 1.02rem;
  line-height: 1.85;
}
body .news-item h4 {
  font-size: 1.28rem;
}
body .news-item p {
  font-size: 1.04rem;
  line-height: 1.78;
}
body .schedule-table th,
body .schedule-table td {
  font-size: 1.04rem;
}
body .dept-item h3 {
  font-size: 1.32rem;
}
body .dept-item p {
  font-size: 1.02rem;
  line-height: 1.72;
}
body .footer {
  font-size: 0.96rem;
}

/* 글자 확대 시에도 인물·배너 사진 크기 및 비율이 늘어나지 않도록 고정 */
body .page-container:has(.greeting-section) {
  max-width: 1460px;
  padding: 60px 40px 96px;
}
body .greeting-section {
  grid-template-columns: minmax(460px, 560px) 1fr;
  gap: 52px;
  align-items: start !important;
}
body .greeting-photo {
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 3 / 4 !important;
}
@media (min-width: 961px) {
  body .greeting-photo {
    position: sticky !important;
    top: 182px !important;
  }
}
@media (max-width: 960px) {
  body .page-container:has(.greeting-section) {
    padding: 44px 20px 72px;
  }
  body .greeting-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
body .greeting-photo img {
  position: static !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

@media (max-width: 768px) {
  body .header {
    height: 122px;
    padding: 10px 14px 6px;
    gap: 6px;
  }
  body .header.is-hidden {
    height: 74px;
    padding: 13px 14px;
    gap: 0;
  }
  body .logo {
    gap: 7px;
  }
  body .logo-emblem {
    height: 42px;
    width: 42px;
  }
  body .logo-wordmark {
    height: 26px;
  }
  .bg-video-ambient {
    display: block;
    position: absolute;
    inset: -8%;
    width: 116%;
    height: 116%;
    object-fit: cover;
    filter: blur(28px) brightness(0.54) saturate(1.12);
    z-index: 0;
    pointer-events: none;
  }
  body .hero-section {
    margin-top: 0 !important;
    height: 100vh !important;
    height: 100svh !important;
    min-height: 540px;
    background-color: #16110e;
  }
  body .hero-section .bg-video {
    object-fit: contain !important;
    object-position: center 46% !important;
    z-index: 1;
  }
  body .hero-section .video-overlay {
    background: linear-gradient(180deg, rgba(14, 11, 9, 0.56) 0%, rgba(14, 11, 9, 0.14) 28%, rgba(14, 11, 9, 0.12) 60%, rgba(14, 11, 9, 0.64) 100%) !important;
  }
  body .hero-section .hero-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: clamp(50px, 11svh, 108px);
    padding: 0 24px !important;
    padding-top: 0 !important;
  }
  body .hero-section .hero-slogan {
    font-size: clamp(1.12rem, 4.4vw, 1.46rem);
    line-height: 1.55;
  }
  body .sub-hero {
    margin-top: 0 !important;
    min-height: clamp(430px, 54vh, 520px);
    padding: calc(122px + 58px) 20px 88px;
  }
  body .nav-links {
    gap: 14px;
    margin: 0 auto;
    justify-content: safe center;
    max-width: 100%;
    padding: 0 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  body .nav-links::-webkit-scrollbar {
    display: none;
  }
  body .nav-item > a {
    font-size: 15.5px;
    white-space: nowrap;
  }
  body .dropdown-menu a {
    font-size: 15.5px;
  }
  body .sub-hero-en {
    font-size: 0.88rem;
  }
  body .sub-hero-desc {
    font-size: 1.08rem;
  }
  body .sub-tabs a {
    font-size: 1.04rem;
    padding: 14px 16px;
  }
  body .footer {
    padding-bottom: 88px;
  }
}

/* 우측 하단 글자 크기 조절 컨트롤 (모바일/어르신 가독성 지원) */
.eramc-font-ctl {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 960;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dfd4c9;
  border-radius: 999px;
  padding: 2px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  font-family: 'SUIT Variable', 'SUIT', -apple-system, BlinkMacSystemFont, 'Pretendard', 'Noto Sans KR', sans-serif;
}
.eramc-font-ctl button {
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  transition: transform 0.15s ease, background-color 0.15s ease, opacity 0.15s ease;
}
.eramc-font-ctl button:active:not(:disabled) {
  transform: scale(0.95);
}
.eramc-font-ctl button:disabled {
  opacity: 0.4;
  cursor: default;
}
.eramc-font-btn.btn-dec {
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f4efe9;
  color: #3e2418;
  font-size: 11px;
  font-weight: 700;
}
.eramc-font-btn.btn-dec:hover:not(:disabled) {
  background: #e7ddd3;
}
.eramc-font-status {
  height: 24px;
  min-width: 36px;
  padding: 0 5px;
  border-radius: 999px;
  background: transparent;
  color: #4a2a1b;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: center;
}
.eramc-font-btn.btn-inc {
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #703c24;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}
.eramc-font-btn.btn-inc:hover:not(:disabled) {
  background: #572d1a;
}
@media (max-width: 768px) {
  .eramc-font-ctl {
    right: 12px;
    bottom: 14px;
    gap: 2px;
    padding: 2px;
  }
  .eramc-font-btn.btn-dec {
    height: 22px;
    padding: 0 7px;
    font-size: 10.5px;
  }
  .eramc-font-status {
    height: 22px;
    min-width: 32px;
    padding: 0 4px;
    font-size: 10.5px;
  }
  .eramc-font-btn.btn-inc {
    height: 22px;
    padding: 0 7px;
    font-size: 10.5px;
  }
}

/* 좌측 하단 플로팅 퀵메뉴 (오시는길 / 인스타 / 네이버블로그 / 카카오톡채널) */
.eramc-floating-quick {
  position: fixed;
  left: 28px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 950;
}

.eramc-quick-btn {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
  background: #ffffff;
  overflow: visible;
}

.eramc-quick-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

/* 1. 오시는길 (화이트 원 + 다크 핀 아이콘) */
.eramc-quick-btn.btn-location {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.eramc-quick-btn.btn-location svg {
  width: 24px;
  height: 24px;
}

/* 2. 네이버 블로그 (네이버 그린 + 화이트 N) */
.eramc-quick-btn.btn-naver {
  background: #03C75A;
  border: none;
}
.eramc-quick-btn.btn-naver svg {
  width: 22px;
  height: 22px;
}

/* 3. 인스타그램 (그라데이션 원, 흰색 테두리 제거) */
.eramc-quick-btn.btn-insta {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 62%, #285AEB 92%);
  border: none;
  padding: 0;
}
.eramc-quick-btn.btn-insta svg {
  width: 25px;
  height: 25px;
}

/* 4. 카카오톡 채널 (카카오 옐로우 + 다크브라운 말풍선) */
.eramc-quick-btn.btn-kakao {
  background: #FEE500;
  border: none;
}
.eramc-quick-btn.btn-kakao svg {
  width: 24px;
  height: 24px;
}

/* 호버 시 우측 툴팁 라벨 */
.eramc-quick-label {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(-4px);
  background: rgba(17, 24, 39, 0.9);
  color: #ffffff;
  font-family: 'SUIT Variable', 'SUIT', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Noto Sans KR', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.eramc-quick-btn:hover .eramc-quick-label {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
  .eramc-floating-quick {
    left: 16px;
    bottom: 18px;
    gap: 10px;
  }
  .eramc-quick-btn {
    width: 46px;
    height: 46px;
  }
  .eramc-quick-label {
    display: none;
  }
}

/* 페이지 진입 및 스크롤 시 글자/콘텐츠 아래에서 위로 희미하게 fade-in 모션 */
@keyframes eramcFadeInUp {
  0% {
    opacity: 0;
    translate: 0 26px;
  }
  100% {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes eramcFadeInUpHero {
  0% {
    opacity: 0;
    translate: 0 22px;
  }
  100% {
    opacity: 1;
    translate: 0 0;
  }
}
.eramc-fade-target {
  opacity: 0;
  will-change: opacity, translate;
}
.eramc-fade-target.is-fade-in {
  animation: eramcFadeInUp 0.86s cubic-bezier(0.22, 1, 0.36, 1) var(--eramc-fade-delay, 0ms) both;
}
.eramc-fade-target.is-fade-hero.is-fade-in {
  animation: eramcFadeInUpHero 0.96s cubic-bezier(0.22, 1, 0.36, 1) var(--eramc-fade-delay, 0ms) both;
}
.eramc-fade-target.is-fade-done {
  opacity: 1;
  translate: none;
  animation: none;
  will-change: auto;
}
@media (prefers-reduced-motion: reduce) {
  .eramc-fade-target,
  .eramc-fade-target.is-fade-in,
  .eramc-fade-target.is-fade-done {
    opacity: 1 !important;
    translate: none !important;
    animation: none !important;
    will-change: auto !important;
  }
}

/* 의료장비 가로 격자 배치(hueanimal.com 스타일) 및 상세 모달 */
body .page-container:has(.equip-grid),
body .page-container:has(.equip-item-card) {
  max-width: min(1700px, calc(100% - 140px));
  padding: 64px 24px 96px;
}
body .equipment-hero-intro {
  text-align: center;
  max-width: 1120px;
  margin: 0 auto 52px;
}
body .equip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 30px;
  align-items: start;
}
body .equip-grid.equip-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
  margin: 0 auto;
}
body .equip-grid .equip-item-card {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0;
  padding: 0;
  cursor: pointer;
}
body .equip-grid .equip-item-card:focus-visible {
  outline: 2px solid #703c24;
  outline-offset: 6px;
  border-radius: 12px;
}
body .equip-grid .equip-item-card:hover {
  transform: none;
  box-shadow: none;
}
body .equip-grid .equip-item-img {
  width: 100%;
  height: clamp(260px, 19vw, 340px);
  background: #ffffff;
  border: 1px solid #ece7e1;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
body .equip-grid .equip-item-card:hover .equip-item-img {
  transform: translateY(-3px);
  border-color: #c8b2a5;
  box-shadow: 0 10px 26px rgba(112, 60, 36, 0.08);
}
body .equip-grid .equip-item-img img {
  max-width: 96%;
  max-height: 96%;
  object-fit: contain;
  display: block;
  transition: transform 0.28s ease;
}
body .equip-grid .equip-item-card:hover .equip-item-img img {
  transform: scale(1.03);
}
body .equip-grid .equip-item-body {
  padding: 16px 4px 0;
  display: flex;
  flex-direction: column;
}
body .equip-grid .equip-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0;
  background: transparent;
  color: #703c24;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 0;
  margin-bottom: 6px;
}
body .equip-grid .equip-item-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.38;
  margin: 0 0 6px;
  display: block;
  word-break: keep-all;
}
body .equip-grid .equip-item-body p:first-of-type {
  font-size: 0.94rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: keep-all;
}
body .equip-grid .equip-item-body p:not(:first-of-type),
body .equip-grid .equip-item-body .equip-bullet-list {
  display: none;
}
.equip-more-cue {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #703c24;
  opacity: 0.78;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
body .equip-grid .equip-item-card:hover .equip-more-cue {
  opacity: 1;
  transform: translateX(2px);
}
@media (max-width: 1120px) {
  body .equip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  body .page-container:has(.equip-grid),
  body .page-container:has(.equip-item-card) { padding: 48px 20px 76px; }
  body .equip-grid,
  body .equip-grid.equip-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  body .equip-grid .equip-item-img { height: 195px; padding: 14px; }
}
@media (max-width: 520px) {
  body .equip-grid,
  body .equip-grid.equip-grid--3 { grid-template-columns: 1fr; gap: 24px; }
  body .equip-grid .equip-item-img { height: 210px; }
}

/* 의료장비 상세 정보 모달 */
.eramc-equip-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(17, 24, 39, 0.56);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.eramc-equip-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.eramc-equip-modal {
  position: relative;
  width: 100%;
  max-width: 780px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}
.eramc-equip-modal-backdrop.is-open .eramc-equip-modal {
  transform: translateY(0) scale(1);
}
.eramc-equip-modal-close {
  position: sticky;
  float: right;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #374151;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.eramc-equip-modal-close:hover {
  background: #f3eee9;
  color: #703c24;
}
.eramc-equip-modal-img {
  width: 100%;
  max-height: 290px;
  background: #ffffff;
  border: 1px solid #eef0f3;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.eramc-equip-modal-img img {
  max-width: 100%;
  max-height: 245px;
  object-fit: contain;
  display: block;
}
.eramc-equip-modal-body .equip-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(112, 60, 36, 0.08);
  color: #703c24;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 8px;
}
.eramc-equip-modal-body h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 12px;
  line-height: 1.35;
  word-break: keep-all;
}
.eramc-equip-modal-body p {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.78;
  margin: 0 0 12px;
  word-break: keep-all;
}
.eramc-equip-modal-body p:last-of-type {
  margin-bottom: 0;
}
.eramc-equip-modal-body .equip-bullet-list {
  list-style: none;
  margin: 14px 0 0;
  background: #f9fafb;
  border-radius: 12px;
  padding: 16px 18px;
  border: 1px solid #edf0f3;
}
.eramc-equip-modal-body .equip-bullet-list li {
  font-size: 0.94rem;
  color: #374151;
  line-height: 1.7;
  position: relative;
  padding-left: 14px;
  margin-bottom: 6px;
  word-break: keep-all;
}
.eramc-equip-modal-body .equip-bullet-list li:last-child {
  margin-bottom: 0;
}
.eramc-equip-modal-body .equip-bullet-list li::before {
  content: '•';
  position: absolute;
  left: 2px;
  color: #703c24;
  font-weight: 700;
}
@media (max-width: 640px) {
  .eramc-equip-modal { padding: 22px 18px; border-radius: 16px; }
  .eramc-equip-modal-img { max-height: 220px; padding: 14px; }
  .eramc-equip-modal-img img { max-height: 185px; }
}

/* 헤더 우측 원형 세줄(햄버거) 버튼 & 전체 메뉴 한눈에 펼침 패널 */
.eramc-hamburger-btn {
  position: absolute;
  right: clamp(28px, 4.2vw, 72px);
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: #703c24;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(112, 60, 36, 0.22);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.eramc-hamburger-btn:hover {
  background: #572d1a;
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 6px 18px rgba(112, 60, 36, 0.28);
}
.eramc-hamburger-line {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #ffffff;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
  transform-origin: center;
}
.eramc-hamburger-btn.is-open .eramc-hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.eramc-hamburger-btn.is-open .eramc-hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.eramc-hamburger-btn.is-open .eramc-hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
body.eramc-mega-open .dropdown-menu {
  display: none !important;
}
.eramc-mega-backdrop {
  position: fixed;
  top: 182px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17, 24, 39, 0.26);
  z-index: 1980;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}
.eramc-mega-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.eramc-mega-menu {
  position: fixed;
  top: 182px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #f0ece8;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.1);
  z-index: 1990;
  padding: 38px clamp(32px, 5vw, 84px) 46px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.26s cubic-bezier(0.22, 1, 0.36, 1), transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.26s ease;
}
.eramc-mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.eramc-mega-inner {
  max-width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}
.eramc-mega-col-title {
  display: block;
  font-family: 'SUIT Variable', 'SUIT', 'SDGyeokdongG204Rg', 'Sandoll GyeokdongG2', '산돌 격동고딕2', 'GongGothicMedium', 'Pretendard', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1.5px solid #e7e2dc;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.eramc-mega-col-title:hover {
  color: #703c24;
  border-bottom-color: #703c24;
}
.eramc-mega-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.eramc-mega-list a {
  display: inline-block;
  font-family: 'SUIT Variable', 'SUIT', 'Pretendard', 'S-CoreDream-4Regular', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.96rem;
  font-weight: 500;
  color: #4b5563;
  text-decoration: none;
  line-height: 1.45;
  transition: color 0.16s ease, transform 0.16s ease;
}
.eramc-mega-list a:hover,
.eramc-mega-list a.is-current {
  color: #703c24;
  font-weight: 700;
  transform: translateX(3px);
}
@media (max-width: 1320px) {
  .eramc-hamburger-btn {
    right: 28px;
  }
  .eramc-mega-backdrop,
  .eramc-mega-menu {
    top: 164px;
  }
}
@media (max-width: 960px) {
  .eramc-mega-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 20px;
  }
}
@media (max-width: 768px) {
  .eramc-hamburger-btn {
    right: 14px;
    top: 14px;
    transform: none;
    width: 40px;
    height: 40px;
    gap: 4.5px;
  }
  .eramc-hamburger-btn:hover {
    transform: scale(1.04);
  }
  .eramc-hamburger-line {
    width: 17px;
  }
  .eramc-hamburger-btn.is-open .eramc-hamburger-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .eramc-hamburger-btn.is-open .eramc-hamburger-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
  .eramc-mega-backdrop,
  .eramc-mega-menu {
    top: 122px;
  }
  .eramc-mega-menu {
    padding: 24px 20px 32px;
    max-height: calc(100vh - 122px);
    overflow-y: auto;
  }
}
@media (max-width: 560px) {
  .eramc-mega-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 16px;
  }
}

/* 헤더 좌측 언어 전환 필 (KR | EN) */
.eramc-lang-switch {
  position: absolute;
  left: clamp(28px, 4.2vw, 72px);
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(112, 60, 36, 0.08);
  border: 1px solid rgba(112, 60, 36, 0.16);
  z-index: 2;
}
.eramc-lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-family: 'SUIT Variable', 'SUIT', 'Pretendard', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #6b5548;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.eramc-lang-link:hover {
  color: #703c24;
}
.eramc-lang-link.is-active {
  background: #703c24;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(112, 60, 36, 0.24);
}
@media (max-width: 1320px) {
  .eramc-lang-switch {
    left: 28px;
  }
}
@media (max-width: 768px) {
  .eramc-lang-switch {
    left: 12px;
    top: 19px;
    transform: none;
    padding: 2px;
    gap: 1px;
  }
  .eramc-lang-link {
    min-width: 24px;
    height: 22px;
    padding: 0 5.5px;
    font-size: 10px;
    letter-spacing: 0.02em;
  }
}
@media (max-width: 480px) {
  body .logo {
    gap: 6px;
  }
  body .logo-emblem {
    height: 38px;
    width: 38px;
  }
  body .logo-wordmark {
    height: 23.5px;
  }
}

/* 7. 전 페이지 공통 하단 푸터 (연락처 · 진료시간 · 주소 · 이메일 · Copyright) */
footer.footer.eramc-site-footer {
  background: #f5f5f6;
  border-top: 1px solid #eaecef;
  color: #6b7280;
  padding: 56px 0 66px;
  text-align: left;
  font-family: 'SUIT Variable', 'SUIT', 'S-CoreDream-4Regular', 'Pretendard', -apple-system, BlinkMacSystemFont, "Noto Sans KR", sans-serif;
  font-size: 1.02rem;
  line-height: 1.75;
  width: 100%;
  box-sizing: border-box;
}
.eramc-footer-inner {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 clamp(48px, 4vw, 96px) 0 clamp(124px, 8.8vw, 178px);
  box-sizing: border-box;
}
.eramc-footer-tel {
  display: inline-block;
  font-family: 'SUIT Variable', 'SUIT', 'SDGyeokdongG204Rg', 'S-CoreDream-4Regular', sans-serif;
  font-size: clamp(1.85rem, 2.5vw, 2.25rem);
  font-weight: 700;
  color: #7c8188;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-decoration: none;
  margin-bottom: 18px;
  transition: color 0.18s ease;
}
.eramc-footer-tel:hover {
  color: #703c24;
}
.eramc-footer-hours {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 24px;
  font-size: 1.08rem;
  color: #6b7280;
  word-break: keep-all;
}
.eramc-footer-hours-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}
.eramc-fh-label {
  font-weight: 700;
  color: #4b5563;
  flex-shrink: 0;
}
.eramc-fh-note {
  color: #8b9198;
  font-size: 0.88em;
}
.eramc-fh-holiday {
  margin-top: 2px;
  color: #374151;
}
.eramc-fh-holiday strong {
  font-weight: 700;
  color: #374151;
}
.eramc-footer-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 1.1rem;
  color: #8a9097;
  line-height: 1.75;
}
.eramc-footer-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}
.eramc-meta-key {
  display: inline-block;
  min-width: 78px;
  color: #7b8189;
  font-weight: 600;
}
.eramc-meta-sep {
  margin: 0 10px;
  color: #c7ccd3;
  user-select: none;
}
.eramc-footer-meta a {
  color: #8a9097;
  text-decoration: none;
  transition: color 0.18s ease;
}
.eramc-footer-meta a:hover {
  color: #703c24;
  text-decoration: underline;
}
.eramc-footer-copy {
  margin-top: 8px;
  color: #858b93;
  font-size: 1.02rem;
}
@media (max-width: 768px) {
  footer.footer.eramc-site-footer {
    padding: 40px 0 88px;
  }
  .eramc-footer-inner {
    padding: 0 20px;
  }
  .eramc-footer-tel {
    font-size: 1.7rem;
    margin-bottom: 14px;
  }
  .eramc-footer-hours {
    font-size: 0.98rem;
    margin-bottom: 18px;
  }
  .eramc-footer-meta {
    font-size: 1rem;
  }
  .eramc-meta-key {
    min-width: 66px;
  }
  .eramc-meta-sep {
    margin: 0 8px;
  }
  .eramc-footer-copy {
    font-size: 0.94rem;
  }
}

/* 8. 와이드 레이아웃(1440px) & 박스 탈피 행 분할 디자인 (휴동물의료센터 스타일) */
.content-section {
  max-width: min(1440px, calc(100% - 48px)) !important;
  padding: 96px 24px 104px !important;
}
.dept-list {
  gap: 48px 52px !important;
}
.sub-tabs {
  max-width: min(1440px, calc(100% - 48px)) !important;
  justify-content: center !important;
}
.page-container {
  max-width: min(1440px, calc(100% - 48px)) !important;
  padding: 68px 24px 104px !important;
}
.page-container:has(.equip-grid),
.page-container:has(.equip-item-card),
.page-container:has(.facility-section) {
  max-width: min(1700px, calc(100% - 140px)) !important;
  padding: 68px 24px 104px !important;
}
.page-container:has(.eramc-dual-maps) {
  max-width: min(1620px, calc(100% - 96px)) !important;
  padding: 68px 24px 104px !important;
}

/* 오시는 길 - 네이버 지도 & 카카오맵 & 티맵 트리플 카드 (맵 영역만 좌우 확장) */
.eramc-dual-maps {
  position: relative;
  z-index: 1;
  width: min(2200px, calc(100vw - 180px));
  max-width: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2vw, 34px);
  margin: 0 0 56px calc(50% - min(1100px, calc(50vw - 90px)));
}
.eramc-map-card {
  position: relative;
  z-index: 1;
  isolation: isolate;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.eramc-map-stage {
  position: relative;
  z-index: 1;
  isolation: isolate;
  width: 100%;
  height: clamp(460px, 27vw, 540px);
  background: #f3f4f6;
  overflow: hidden;
}
.eramc-map-canvas {
  width: 100%;
  height: 100%;
  z-index: 1;
}
.eramc-map-stage .leaflet-container {
  font-family: 'SUIT Variable', 'SUIT', 'S-CoreDream-4Regular', 'Pretendard', -apple-system, BlinkMacSystemFont, "Noto Sans KR", sans-serif;
  background: #eef1ed;
}
.eramc-map-zoom {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 34px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}
.eramc-map-zoom-btn {
  width: 100%;
  height: 32px;
  border: none;
  background: #ffffff;
  color: #374151;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
}
.eramc-map-zoom-btn:hover {
  background: #f3f4f6;
}
.eramc-map-zoom-track {
  width: 100%;
  padding: 8px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fafafa;
}
.eramc-map-zoom-rail {
  position: relative;
  width: 4px;
  height: 54px;
  background: #d1d5db;
  border-radius: 999px;
}
.eramc-map-zoom-thumb {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 6px;
  background: #ffffff;
  border: 2px solid #03C75A;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  top: 50%;
}
.eramc-map-card.is-kakao .eramc-map-zoom-thumb {
  border-color: #2563eb;
}
.eramc-map-card.is-tmap .eramc-map-zoom-thumb {
  border-color: #0057FF;
}
.eramc-map-lock-btn {
  width: 100%;
  height: 32px;
  border: none;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.eramc-map-lock-btn:hover {
  background: #f3f4f6;
}
.eramc-map-lock-btn.is-locked {
  background: #faf6f2;
  color: #703c24;
}
.eramc-map-stage.is-locked .leaflet-container,
.eramc-map-stage.is-locked .leaflet-pane,
.eramc-map-stage.is-locked .leaflet-map-pane,
.eramc-map-stage.is-locked .leaflet-tile-pane,
.eramc-map-stage.is-locked .leaflet-popup-content-wrapper {
  touch-action: pan-y !important;
}
.eramc-map-stage.is-locked .leaflet-grab,
.eramc-map-stage.is-locked .leaflet-interactive {
  cursor: default !important;
}
.eramc-map-stage.is-locked .eramc-map-bubble-cta {
  cursor: pointer !important;
}
.eramc-map-popup .leaflet-popup-content-wrapper {
  padding: 0;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
}
.eramc-map-popup .leaflet-popup-content {
  margin: 0 !important;
  width: clamp(276px, 19vw, 310px) !important;
  line-height: 1.45;
}
.eramc-map-popup .leaflet-popup-tip {
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}
.eramc-map-bubble {
  padding: 16px 16px 14px;
}
.eramc-map-bubble-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.eramc-map-bubble-head img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid #eee6df;
  background: #fff;
}
.eramc-map-bubble-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
}
.eramc-map-bubble-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: #03C75A;
  margin-top: 2px;
}
.eramc-map-card.is-kakao .eramc-map-bubble-sub {
  color: #2563eb;
}
.eramc-map-card.is-tmap .eramc-map-bubble-sub {
  color: #0057FF;
}
.eramc-map-bubble-addr {
  font-size: 0.8rem;
  color: #374151;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 2px;
  word-break: keep-all;
}
.eramc-map-bubble-jibun {
  font-size: 0.74rem;
  color: #6b7280;
  line-height: 1.45;
  margin-bottom: 12px;
  word-break: keep-all;
}
.eramc-map-bubble-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none !important;
  box-sizing: border-box;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.eramc-map-bubble-cta:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}
.eramc-map-bubble-cta.is-naver {
  background: #03C75A;
  color: #ffffff !important;
}
.eramc-map-bubble-cta.is-kakao {
  background: #FEE500;
  color: #3C1E1E !important;
}
.eramc-map-bubble-cta.is-tmap {
  background: linear-gradient(135deg, #0064FF 0%, #3628FF 100%);
  color: #ffffff !important;
}
.eramc-map-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  padding: 14px 16px;
  background: #ffffff;
  border-top: 1px solid #eef0f3;
  flex-wrap: wrap;
}
.eramc-map-bar-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 200px;
}
.eramc-map-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'SUIT Variable', 'SUIT', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.eramc-map-badge.is-naver {
  background: #e9f9ef;
  color: #03C75A;
}
.eramc-map-badge.is-kakao {
  background: #fff8cc;
  color: #3C1E1E;
}
.eramc-map-badge.is-tmap {
  background: #e8efff;
  color: #0057FF;
}
.eramc-map-bar-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.3;
}
.eramc-map-bar-sub {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.45;
  word-break: keep-all;
}
.eramc-map-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.eramc-map-btn-reset {
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  color: #374151;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}
.eramc-map-btn-reset:hover {
  background: #f3f4f6;
}
.eramc-map-btn-open {
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.15s ease;
}
.eramc-map-btn-open:hover {
  filter: brightness(0.95);
}
.eramc-map-btn-open.is-naver {
  background: #03C75A;
  color: #ffffff;
}
.eramc-map-btn-open.is-kakao {
  background: #FEE500;
  color: #3C1E1E;
}
.eramc-map-btn-open.is-tmap {
  background: linear-gradient(135deg, #0064FF 0%, #3628FF 100%);
  color: #ffffff;
}
.eramc-tmap-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(17, 24, 39, 0.56);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.eramc-tmap-backdrop.is-open {
  display: flex;
}
.eramc-tmap-dialog {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 20px;
  padding: 26px 24px 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  border: 1px solid #e5e7eb;
}
.eramc-tmap-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.eramc-tmap-dialog-titlewrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.eramc-tmap-dialog-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: #111827;
}
.eramc-tmap-dialog-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #f3f4f6;
  color: #374151;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
}
.eramc-tmap-dialog-desc {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.65;
  margin: 0 0 16px;
  word-break: keep-all;
}
.eramc-tmap-dialog-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.eramc-tmap-dialog-box strong {
  display: block;
  font-size: 0.96rem;
  color: #111827;
  margin-bottom: 4px;
}
.eramc-tmap-dialog-box span {
  display: block;
  font-size: 0.86rem;
  color: #4b5563;
  line-height: 1.5;
}
.eramc-tmap-dialog-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.eramc-tmap-copy-btn {
  flex: 1 1 160px;
  padding: 11px 14px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #0064FF 0%, #3628FF 100%);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}
.eramc-tmap-web-btn {
  flex: 1 1 140px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #374151;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
@media (max-width: 1180px) {
  .eramc-dual-maps {
    width: 100%;
    margin: 0 0 56px;
    grid-template-columns: 1fr;
  }
}
.greeting-section {
  grid-template-columns: minmax(420px, 560px) 1fr !important;
  gap: 64px !important;
}
.page-lead {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  text-align: left !important;
  padding: 0 28px 28px !important;
  margin-bottom: 48px !important;
  border-bottom: none;
}
.page-lead::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: max(100%, 100vw);
  height: 1.5px;
  background: #2b2420;
  pointer-events: none;
}
.page-lead h2 {
  font-size: clamp(1.75rem, 2.3vw, 2.15rem) !important;
  font-weight: 700 !important;
  margin-bottom: 0 !important;
  flex-shrink: 0;
}
.page-lead p {
  flex: 1;
  min-width: 0;
  max-width: none;
  text-align: right;
  margin: 0;
}
.facility-tour-intro {
  position: relative;
  max-width: 100% !important;
  text-align: left !important;
  margin: 0 0 48px !important;
  padding: 0 28px 30px !important;
  border-bottom: none;
}
.facility-tour-intro::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: max(100%, 100vw);
  height: 1px;
  background: #e6dfd7;
  pointer-events: none;
}
.facility-tour-intro > span {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  letter-spacing: 0.1em;
  font-size: 0.8rem !important;
  margin-bottom: 10px !important;
}

/* 기존 카드 박스(.feature-grid / .feature-card) -> 수평 행 분할 리스트 */
.feature-grid {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  border-top: none;
}
.feature-grid .feature-card {
  position: relative !important;
  background: transparent !important;
  border: none !important;
  border-bottom: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 34px 28px !important;
  display: grid !important;
  grid-template-columns: minmax(260px, 380px) 1fr !important;
  column-gap: 44px !important;
  row-gap: 10px !important;
  align-items: start !important;
  transition: background-color 0.2s ease;
}
.feature-grid .feature-card:nth-child(even) {
  background: #faf8f5 !important;
}
.feature-grid .feature-card:hover {
  background: #f5f1eb !important;
}
.feature-grid .feature-card .eramc-row-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.feature-grid .feature-card .badge,
.hours-wide-head .badge {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  color: #8c6b58 !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
}
.feature-grid .feature-card h4 {
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  color: #1f2328 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  word-break: keep-all;
}
.feature-grid .feature-card .eramc-row-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-grid .feature-card .eramc-row-body > p {
  font-size: 1.01rem !important;
  color: #4b5563 !important;
  line-height: 1.8 !important;
  margin: 0 !important;
}
.feature-grid .feature-card .detail-list {
  margin: 0 !important;
  font-size: 0.96rem !important;
}

/* 진료시간 안내 행 분할 (.hours-wide-cards) */
.hours-wide-cards {
  position: relative;
  gap: 0 !important;
  border-top: none;
}
.hours-wide-card {
  position: relative !important;
  background: transparent !important;
  border: none !important;
  border-bottom: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 34px 28px !important;
  grid-template-columns: 320px 1fr auto !important;
  transition: background-color 0.2s ease;
}
.hours-wide-card:nth-child(even) {
  background: #faf8f5 !important;
}

/* 공지사항·뉴스 행 분할 (.news-list / .info-banner) */
.news-list {
  position: relative;
  gap: 0 !important;
  border-top: none;
}
.news-item {
  position: relative !important;
  background: transparent !important;
  border: none !important;
  border-bottom: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 34px 28px !important;
  transition: background-color 0.2s ease;
}
.feature-grid::before,
.hours-wide-cards::before,
.news-list::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: max(100%, 100vw);
  height: 2px;
  background: #703c24;
  pointer-events: none;
  z-index: 1;
}
.feature-grid .feature-card::after,
.hours-wide-card::after,
.news-item::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: max(100%, 100vw);
  height: 1px;
  background: #e6dfd7;
  pointer-events: none;
}
.staff-divider {
  width: max(100%, 100vw) !important;
  margin-left: 50% !important;
  transform: translateX(-50%);
}
.news-item:nth-child(even) {
  background: #faf8f5 !important;
}
.info-banner {
  position: relative;
  background: #faf8f5 !important;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 34px 28px !important;
  margin-bottom: 40px !important;
}
.info-banner::before,
.page-container > div[style*="border-radius: 20px"][style*="box-shadow"]::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: max(100%, 100vw);
  height: 2px;
  background: #703c24;
  pointer-events: none;
}
.info-banner::after,
.page-container > div[style*="border-radius: 20px"][style*="box-shadow"]::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: max(100%, 100vw);
  height: 1px;
  background: #e6dfd7;
  pointer-events: none;
}

/* 테이블·인포그래픽·갤러리·배너 박스감 제거 */
.schedule-table-wrap,
.checkup-table-scroll {
  margin-left: 28px !important;
  margin-right: 28px !important;
  border-radius: 0 !important;
  border-left: none !important;
  border-right: none !important;
  border-top: 2px solid #3e2418 !important;
  border-bottom: 1px solid #dfd6ce !important;
  box-shadow: none !important;
}
.checkup-table-header {
  position: relative;
  text-align: left !important;
  border-bottom: none !important;
  padding: 0 28px 14px !important;
  margin-bottom: 24px !important;
}
.checkup-table-header::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: max(100%, 100vw);
  height: 1px;
  background: #e6dfd7;
  pointer-events: none;
}
.checkup-table-header h3:last-child {
  margin-bottom: 0;
}
.checkup-jump-bar {
  justify-content: flex-start !important;
  padding-left: 28px !important;
  padding-right: 28px !important;
}
.anesthesia-flow-banner {
  position: relative;
  max-width: 100% !important;
  overflow: visible !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  border: none !important;
  border-bottom: none !important;
  padding: 0 28px 24px !important;
  margin-bottom: 40px !important;
}
.anesthesia-flow-banner img {
  border-radius: 4px;
}
.anesthesia-flow-banner::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: max(100%, 100vw);
  height: 1px;
  background: #e6dfd7;
  pointer-events: none;
}

/* 마취통증의학과 네이티브 인포그래픽 섹션 */
.eramc-anesthesia-section {
  position: relative;
  padding: 0 28px 42px;
  margin-bottom: 44px;
}
.eramc-anesthesia-section::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: max(100%, 100vw);
  height: 1px;
  background: #e6dfd7;
  pointer-events: none;
}
.eramc-anesthesia-head {
  margin-bottom: 24px;
}
.eramc-anesthesia-head h3 {
  font-size: clamp(1.38rem, 1.9vw, 1.72rem);
  font-weight: 800;
  color: #1f2328;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  word-break: keep-all;
}
.eramc-anesthesia-head p {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.7;
  margin: 0;
  word-break: keep-all;
}
.eramc-anesthesia-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.eramc-anesthesia-step {
  position: relative;
  background: #faf7f3;
  border: 1px solid #e6dfd7;
  border-radius: 10px;
  padding: 20px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.eramc-anesthesia-step-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.eramc-anesthesia-icon {
  width: 20px;
  height: 20px;
  color: #703c24;
  flex-shrink: 0;
}
.eramc-anesthesia-step h4 {
  font-size: 1.04rem;
  font-weight: 800;
  color: #1f2328;
  line-height: 1.38;
  margin: 0;
  word-break: keep-all;
}
.eramc-anesthesia-num {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #703c24;
  background: #eee5df;
  padding: 4px 9px;
  border-radius: 999px;
  line-height: 1.2;
}
.eramc-anesthesia-step ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.eramc-anesthesia-step li,
.eramc-anesthesia-step p {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.62;
  margin: 0;
  word-break: keep-all;
}
@media (max-width: 1100px) {
  .eramc-anesthesia-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .eramc-anesthesia-section {
    padding: 0 12px 32px;
    margin-bottom: 32px;
  }
}
@media (max-width: 600px) {
  .eramc-anesthesia-flow {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .eramc-anesthesia-step {
    padding: 16px 16px 18px;
  }
}
.facility-tour-intro > h2 {
  font-size: clamp(2rem, 2.7vw, 2.55rem) !important;
  line-height: 1.38 !important;
}
.facility-tour-intro > p {
  font-size: 1.15rem !important;
  line-height: 1.85 !important;
  max-width: 100% !important;
}
.facility-section {
  position: relative;
  padding-bottom: 64px;
  margin-bottom: 68px !important;
  border-bottom: none;
}
.facility-section::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: max(100%, 100vw);
  height: 1px;
  background: #eae4dd;
  pointer-events: none;
}
.facility-section:last-of-type {
  border-bottom: none;
  margin-bottom: 20px !important;
}
.facility-section:last-of-type::after {
  display: none;
}
.facility-section-header {
  position: relative;
  gap: 16px !important;
  padding: 0 28px 16px !important;
  margin-bottom: 24px !important;
  border-bottom: none !important;
}
.facility-section-header::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: max(100%, 100vw);
  height: 2px;
  background: #703c24;
  pointer-events: none;
}
.facility-section-header > span:first-child {
  font-size: 1.65rem !important;
}
.facility-section-header h3 {
  font-size: 1.7rem !important;
  line-height: 1.35 !important;
}
.facility-section-header > span:last-child {
  font-size: 1rem !important;
}
.facility-section > p {
  font-size: 1.14rem !important;
  line-height: 1.85 !important;
  padding: 0 28px !important;
  margin-bottom: 30px !important;
}
.facility-section > div[style*="grid-template-columns"]:not(.feature-grid) {
  gap: 28px !important;
  padding: 0 28px !important;
}
.facility-section > div[style*="grid-template-columns"]:not(.feature-grid) + div[style*="grid-template-columns"] {
  margin-top: 26px !important;
}
.facility-section > div[style*="grid-template-columns"]:not(.feature-grid) > div {
  border-radius: 6px !important;
  box-shadow: none !important;
  background: transparent !important;
}
.facility-section > div[style*="grid-template-columns"]:not(.feature-grid) img {
  height: clamp(280px, 21vw, 370px) !important;
  border-radius: 6px !important;
}
.facility-section > div[style*="grid-template-columns"]:not(.feature-grid) > div > div {
  padding: 16px 4px 4px !important;
  font-size: 1.04rem !important;
  line-height: 1.5 !important;
  background: transparent !important;
}
.facility-cat-wait-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 780px;
  padding: 0 28px;
  margin-top: 26px;
}
.facility-cat-wait-card {
  border-radius: 6px;
  overflow: hidden;
  background: transparent;
}
.facility-cat-wait-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: center 62%;
  border-radius: 6px;
  display: block;
}
.facility-cat-wait-caption {
  padding: 16px 4px 4px;
  font-size: 1.04rem;
  line-height: 1.5;
  color: #4b5563;
  font-weight: 600;
}
@media (max-width: 900px) {
  .facility-cat-wait-grid {
    gap: 18px;
    padding: 0 18px;
  }
}
@media (max-width: 640px) {
  .facility-cat-wait-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 12px;
    margin-top: 20px;
  }
  .facility-cat-wait-caption {
    padding: 10px 2px 2px;
    font-size: 0.86rem;
  }
}
/* 병원시설 01~08 2행 클릭 탭 */
.eramc-facility-tabs {
  box-sizing: border-box;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0 28px;
  margin: 0 auto 44px;
  max-width: 100%;
}
.eramc-facility-tab {
  box-sizing: border-box;
  min-width: 0;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  padding: 17px 20px;
  border-radius: 0;
  border: 1.5px solid #e4dbd1;
  background: #faf7f3;
  color: #1f2937;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.eramc-facility-tab:hover {
  border-color: #703c24;
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(112, 60, 36, 0.1);
}
.eramc-facility-tab:focus-visible {
  outline: 2px solid #703c24;
  outline-offset: 2px;
}
.eramc-facility-tab.is-active {
  background: #703c24;
  border-color: #703c24;
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(112, 60, 36, 0.22);
  transform: translateY(-1px);
}
.eramc-facility-tab-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}
.eramc-facility-tab-num {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #703c24;
  background: rgba(112, 60, 36, 0.1);
  padding: 3px 10px;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.eramc-facility-tab.is-active .eramc-facility-tab-num {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}
.eramc-facility-tab-meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: #8c7a6b;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s ease;
}
.eramc-facility-tab.is-active .eramc-facility-tab-meta {
  color: rgba(255, 255, 255, 0.85);
}
.eramc-facility-tab-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.42;
  word-break: keep-all;
  transition: color 0.2s ease;
}
.eramc-facility-tab.is-active .eramc-facility-tab-title {
  color: #ffffff;
}
.facility-section.is-tab-panel.is-facility-hidden {
  display: none !important;
}
.facility-section.is-tab-panel.is-facility-active {
  display: block !important;
  margin-bottom: 24px !important;
  padding-bottom: 12px !important;
  animation: eramcFacilityFadeIn 0.28s ease both;
}
.facility-section.is-tab-panel::after {
  display: none !important;
}
@keyframes eramcFacilityFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.page-container > div[style*="border-radius: 20px"][style*="box-shadow"] {
  position: relative;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  background: transparent !important;
  padding: 38px 28px 42px !important;
}
.page-container > div[style*="border-radius: 20px"] > div[style*="grid-template-columns"] > div {
  border-radius: 4px !important;
  box-shadow: none !important;
}
.page-container > div[style*="border-radius: 20px"] > div[style*="grid-template-columns"] > div > div {
  background: transparent !important;
  padding: 12px 2px !important;
}
.page-container > div[style*="linear-gradient"] {
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 40px 44px !important;
}
.equip-item-card {
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.equip-item-card:hover {
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 960px) {
  .greeting-section {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    max-width: 100% !important;
  }
  .page-lead {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 0 18px 24px !important;
  }
  .facility-tour-intro {
    padding: 0 18px 28px !important;
  }
  .eramc-facility-tabs {
    padding: 0 18px;
    gap: 10px;
    margin-bottom: 32px;
  }
  .eramc-facility-tab {
    padding: 14px 14px;
  }
  .eramc-facility-tab-title {
    font-size: 0.95rem;
  }
  .facility-section-header {
    padding: 0 18px 14px !important;
  }
  .facility-section > p,
  .facility-section > div[style*="grid-template-columns"]:not(.feature-grid),
  .checkup-jump-bar {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  .checkup-table-header {
    padding: 0 18px 14px !important;
  }
  .anesthesia-flow-banner {
    padding: 0 18px 24px !important;
  }
  .schedule-table-wrap,
  .checkup-table-scroll {
    margin-left: 18px !important;
    margin-right: 18px !important;
  }
  .page-container > div[style*="border-radius: 20px"][style*="box-shadow"] {
    padding: 32px 18px 36px !important;
  }
  .page-lead p {
    text-align: left;
    max-width: 100%;
  }
  .feature-grid .feature-card {
    grid-template-columns: 1fr !important;
    padding: 28px 18px !important;
  }
  .feature-grid .feature-card .eramc-row-body {
    grid-column: 1;
  }
  .hours-wide-card {
    grid-template-columns: 1fr !important;
    padding: 28px 18px !important;
  }
}
@media (max-width: 768px) {
  .content-section,
  .sub-tabs,
  .page-container,
  .page-container:has(.equip-grid),
  .page-container:has(.equip-item-card),
  .page-container:has(.facility-section),
  .page-container:has(.eramc-dual-maps),
  .eramc-footer-inner {
    max-width: 100% !important;
  }
  .content-section {
    padding: 64px 20px 72px !important;
  }
  .page-container,
  .page-container:has(.equip-grid),
  .page-container:has(.equip-item-card),
  .page-container:has(.facility-section),
  .page-container:has(.eramc-dual-maps) {
    padding: 44px 20px 72px !important;
  }
  .eramc-map-stage {
    height: 370px;
  }
  .eramc-map-popup .leaflet-popup-content {
    width: 264px !important;
  }
  .facility-section > div[style*="grid-template-columns"]:not(.feature-grid) img {
    height: clamp(220px, 56vw, 300px) !important;
  }
  .page-container > div[style*="linear-gradient"] {
    padding: 32px 24px !important;
  }
}
@media (max-width: 640px) {
  .page-lead {
    padding: 0 12px 24px !important;
  }
  .facility-tour-intro {
    padding: 0 12px 24px !important;
  }
  .eramc-facility-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 12px;
    gap: 8px;
    margin-bottom: 28px;
  }
  .eramc-facility-tab {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 12px 13px;
  }
  .eramc-facility-tab-title {
    font-size: 0.9rem;
  }
  .facility-section-header {
    padding: 0 12px 14px !important;
  }
  .facility-section > p,
  .facility-section > div[style*="grid-template-columns"]:not(.feature-grid),
  .checkup-jump-bar {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .checkup-table-header {
    padding: 0 12px 14px !important;
  }
  .anesthesia-flow-banner {
    padding: 0 12px 20px !important;
  }
  .schedule-table-wrap,
  .checkup-table-scroll {
    margin-left: 12px !important;
    margin-right: 12px !important;
  }
  .page-container > div[style*="border-radius: 20px"][style*="box-shadow"] {
    padding: 26px 12px 30px !important;
  }
  .feature-grid .feature-card {
    grid-template-columns: 1fr !important;
    padding: 24px 12px !important;
  }
  .feature-grid .feature-card .eramc-row-body {
    grid-column: 1;
  }
  .news-item,
  .hours-wide-card,
  .info-banner {
    padding: 24px 12px !important;
  }
}

.greeting-signature {
  display: flex;
  justify-content: flex-end;
  margin-top: -14px;
}
.greeting-signature img {
  width: clamp(140px, 14vw, 185px);
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
@media (max-width: 768px) {
  .greeting-signature {
    margin-top: 6px;
  }
  .greeting-signature img {
    width: clamp(128px, 34vw, 168px);
  }
}

/* 진료시간 주간 타임테이블 (.eramc-timetable) */
.eramc-timetable {
  margin-bottom: 40px;
}
.eramc-tt-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.eramc-tt-sum-card {
  background: #faf8f5;
  border: 1px solid #e6dfd7;
  border-radius: 0;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.eramc-tt-sum-card.is-holiday {
  background: #fdf4f4;
  border-color: #f3d5d5;
}
.eramc-tt-sum-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.eramc-tt-sum-label {
  font-size: 0.94rem;
  font-weight: 700;
  color: #6f6259;
  letter-spacing: -0.01em;
}
.eramc-tt-sum-sub {
  font-size: 0.9rem;
  font-weight: 600;
  color: #703c24;
}
.eramc-tt-sum-card.is-lunch .eramc-tt-sum-sub {
  color: #6f6259;
}
.eramc-tt-sum-card.is-holiday .eramc-tt-sum-sub {
  color: #991b1b;
}
.eramc-tt-sum-value {
  font-size: 1.42rem;
  font-weight: 800;
  color: #241913;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  white-space: nowrap;
}
.eramc-tt-sum-card.is-holiday .eramc-tt-sum-value {
  color: #b91c1c;
}

/* 일일 운영 타임라인 바 */
.eramc-tt-timeline {
  background: #ffffff;
  border: 1px solid #e6dfd7;
  border-radius: 0;
  padding: 16px 20px;
  margin-bottom: 18px;
}
.eramc-tt-tl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.eramc-tt-tl-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #241913;
}
.eramc-tt-tl-pill {
  font-size: 0.86rem;
  font-weight: 700;
  color: #703c24;
  background: #f5ede6;
  padding: 4px 12px;
  border-radius: 0;
  white-space: nowrap;
}
.eramc-tt-tl-track {
  display: grid;
  grid-template-columns: 3fr 1fr 5.3fr 0.7fr;
  height: 40px;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid #dfd6ce;
}
.eramc-tt-tl-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  padding: 0 4px;
}
.eramc-tt-tl-seg.is-am {
  background: #703c24;
  color: #ffffff;
}
.eramc-tt-tl-seg.is-break {
  background: repeating-linear-gradient(-45deg, #f3ede7, #f3ede7 5px, #e9e0d8 5px, #e9e0d8 10px);
  color: #5c4c40;
}
.eramc-tt-tl-seg.is-pm {
  background: #8b4f32;
  color: #ffffff;
}
.eramc-tt-tl-seg.is-cutoff {
  background: #e8dad0;
  color: #5a2f1b;
  font-size: 0.78rem;
}
.eramc-tt-tl-axis {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.86rem;
  color: #6f6259;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* 데스크톱 7일 주간 타임테이블 매트릭스 */
.eramc-tt-matrix {
  display: grid;
  grid-template-columns: 136px repeat(7, minmax(0, 1fr));
  border-top: 2px solid #703c24;
  border-bottom: 1px solid #dfd6ce;
  background: #ffffff;
  margin-bottom: 14px;
}
.eramc-tt-mhead {
  padding: 14px 6px;
  text-align: center;
  background: #faf8f5;
  border-bottom: 1px solid #e6dfd7;
  border-right: 1px solid #efe9e3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.eramc-tt-mhead.is-axis {
  font-size: 0.96rem;
  font-weight: 700;
  color: #5c4c40;
}
.eramc-tt-mhead.is-sun {
  border-right: none;
}
.eramc-tt-mhead-day {
  font-size: 1.14rem;
  font-weight: 800;
  color: #241913;
}
.eramc-tt-mhead-en {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #8c7b6f;
}
.eramc-tt-mhead.is-weekend {
  background: #f5ede6;
}
.eramc-tt-mhead.is-weekend .eramc-tt-mhead-day {
  color: #703c24;
}
.eramc-tt-mhead.is-holiday {
  background: #fdf2f2;
}
.eramc-tt-mhead.is-holiday .eramc-tt-mhead-day,
.eramc-tt-mhead.is-holiday .eramc-tt-mhead-en {
  color: #b91c1c;
}
.eramc-tt-mtime {
  padding: 12px 10px;
  border-bottom: 1px solid #efe9e3;
  border-right: 1px solid #e6dfd7;
  background: #fcfaf8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}
.eramc-tt-mtime.is-last-row {
  border-bottom: none;
}
.eramc-tt-mtime strong {
  font-size: 0.98rem;
  font-weight: 800;
  color: #241913;
}
.eramc-tt-mtime span {
  font-size: 0.86rem;
  font-weight: 600;
  color: #6f6259;
  font-variant-numeric: tabular-nums;
}
.eramc-tt-mcell {
  padding: 0;
  border-bottom: 1px solid #efe9e3;
  border-right: 1px solid #efe9e3;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}
.eramc-tt-mcell.is-sun {
  border-right: none;
}
.eramc-tt-mcell.is-last-row {
  border-bottom: none;
}
.eramc-tt-mwed {
  grid-column: 4;
  grid-row: 2 / 5;
  padding: 0;
  border-right: 1px solid #efe9e3;
  background: #fdf2f2;
  display: flex;
  align-items: stretch;
}
.eramc-tt-block {
  width: 100%;
  border-radius: 0;
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 3px;
}
.eramc-tt-block.is-open {
  background: #f5ede6;
  border: none;
  color: #3e2418;
}
.eramc-tt-block.is-weekend-open {
  background: #efe3d8;
  border: none;
  color: #3e2418;
}
.eramc-tt-block.is-lunch {
  background: #f6f4f1;
  border: none;
  color: #6f6259;
  padding: 10px 8px;
}
.eramc-tt-block.is-holiday {
  background: #fdf2f2;
  border: none;
  color: #991b1b;
  gap: 6px;
}
.eramc-tt-b-title {
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.25;
}
.eramc-tt-b-time {
  font-size: 0.86rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  opacity: 0.92;
}
.eramc-tt-b-tag {
  margin-top: 3px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 0;
  background: rgba(112, 60, 36, 0.12);
  color: #5a2f1b;
  white-space: nowrap;
}
.eramc-tt-block.is-holiday .eramc-tt-b-tag {
  background: #fee2e2;
  color: #b91c1c;
}

/* 모바일 요일별 타임테이블 리스트 */
.eramc-tt-mobile {
  display: none;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.eramc-tt-dayrow {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid #e6dfd7;
  border-radius: 0;
}
.eramc-tt-dayrow.is-weekend {
  background: #faf6f1;
  border-color: #dfd1c4;
}
.eramc-tt-dayrow.is-holiday {
  background: #fdf4f4;
  border-color: #f3d5d5;
}
.eramc-tt-daypill {
  width: 42px;
  height: 42px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.02rem;
  font-weight: 800;
  background: #f5ede6;
  color: #703c24;
  letter-spacing: -0.02em;
}
.eramc-tt-dayrow.is-weekend .eramc-tt-daypill {
  background: #703c24;
  color: #ffffff;
}
.eramc-tt-dayrow.is-holiday .eramc-tt-daypill {
  background: #fee2e2;
  color: #b91c1c;
}
.eramc-tt-dayinfo {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.eramc-tt-dayhours {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1f1611;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.eramc-tt-dayrow.is-holiday .eramc-tt-dayhours {
  color: #b91c1c;
}
.eramc-tt-daysub {
  font-size: 0.86rem;
  font-weight: 500;
  color: #6f6259;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.eramc-tt-daybadge {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 0;
  white-space: nowrap;
  background: #f5ede6;
  color: #5a2f1b;
}
.eramc-tt-dayrow.is-weekend .eramc-tt-daybadge {
  background: #e9d9ca;
  color: #4a2414;
}
.eramc-tt-dayrow.is-holiday .eramc-tt-daybadge {
  background: #fee2e2;
  color: #b91c1c;
}

.eramc-tt-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 13px 18px;
  background: #faf8f5;
  border: 1px solid #e6dfd7;
  border-radius: 0;
  font-size: 0.92rem;
  color: #5c4c40;
}
.eramc-tt-legend-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}
.eramc-tt-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.eramc-tt-swatch {
  width: 10px;
  height: 10px;
  border-radius: 0;
  display: inline-block;
  flex-shrink: 0;
}
.eramc-tt-swatch.is-open { background: #703c24; }
.eramc-tt-swatch.is-lunch { background: #c8bdb2; }
.eramc-tt-swatch.is-holiday { background: #b91c1c; }
.eramc-tt-legend-note {
  font-weight: 600;
  color: #703c24;
}

@media (max-width: 768px) {
  .eramc-tt-summary {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 14px;
  }
  .eramc-tt-sum-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #e6dfd7;
  }
  .eramc-tt-sum-card.is-holiday {
    border-color: #f3d5d5;
  }
  .eramc-tt-sum-value {
    font-size: 1.14rem;
    text-align: right;
  }
  .eramc-tt-timeline {
    padding: 14px;
    margin-bottom: 14px;
  }
  .eramc-tt-tl-track {
    height: 34px;
  }
  .eramc-tt-tl-seg {
    font-size: 0.78rem;
  }
  .eramc-tt-tl-seg.is-cutoff {
    font-size: 0;
  }
  .eramc-tt-matrix {
    display: none;
  }
  .eramc-tt-mobile {
    display: flex;
  }
  .eramc-tt-legend {
    padding: 12px 14px;
    font-size: 0.86rem;
  }
}

/* 메인 프로모션 안내 팝업 (다올동물병원 레퍼런스 기반 모달) */
.eramc-promo-overlay {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(18, 22, 29, 0.56);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: eramcPromoFadeIn 0.22s ease forwards;
}
@keyframes eramcPromoFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.eramc-promo-modal {
  position: relative;
  width: min(400px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  border-radius: 14px;
  overflow: hidden;
  background: #6c3b25;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  font-family: 'SUIT Variable', 'SUIT', -apple-system, BlinkMacSystemFont, sans-serif;
  display: flex;
  flex-direction: column;
}
.eramc-promo-close-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 0;
  background: rgba(18, 22, 29, 0.52);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.98rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.16s ease;
  z-index: 2;
}
.eramc-promo-close-x:hover {
  background: rgba(18, 22, 29, 0.78);
}
.eramc-promo-poster-link {
  display: block;
  text-decoration: none;
  background: #6c3b25;
  overflow: hidden;
}
.eramc-promo-poster-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 130px);
  object-fit: contain;
  margin: 0 auto;
}
.eramc-promo-insta-bar {
  display: block;
  padding: 11px 16px;
  background: #faf6f2;
  border-top: 1px solid #eadfd6;
  color: #703c24;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.48;
  text-decoration: none;
  text-align: center;
  word-break: keep-all;
  transition: background 0.16s ease;
}
.eramc-promo-insta-bar:hover {
  background: #f2e9e1;
}
.eramc-promo-footer {
  background: #1c2434;
  color: #f3f4f6;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}
.eramc-promo-hide24 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  color: #e5e7eb;
  font-weight: 500;
}
.eramc-promo-hide24 input {
  width: 15px;
  height: 15px;
  accent-color: #8f5034;
  cursor: pointer;
}
.eramc-promo-close-btn {
  background: transparent;
  border: 0;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 6px;
}
.eramc-promo-close-btn:hover {
  opacity: 0.82;
}
