/* generated by scripts/bundle-site-css.mjs */
/* /templates/css/shared/reset.css */
/* =============================================================================
   홈페이지 — 브라우저 유저에이전트 기본값 초기화
   로드 순서: reset.css → default.css → ...
   ============================================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  line-height: 1.15;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin: 0;
}

p,
blockquote,
figure,
figcaption,
dl,
dd {
  margin: 0;
}

ul,
ol {
  list-style: none;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  border: 0;
}

a {
  text-decoration: none;
  color: inherit;
  background-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  appearance: none;
}

input,
textarea,
select {
  appearance: none;
  border: none;
  background: none;
}

textarea {
  resize: vertical;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

th,
td {
  padding: 0;
  font-weight: inherit;
  text-align: inherit;
}

hr {
  height: 0;
  overflow: visible;
  border: 0;
  border-top: 1px solid currentColor;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

iframe {
  border: 0;
}

address {
  font-style: inherit;
}

pre,
code,
kbd,
samp {
  font-family: inherit;
  font-size: inherit;
}

article,
aside,
footer,
header,
nav,
section,
main {
  display: block;
}


/* /templates/css/shared/default.css */
/* =============================================================================
   홈페이지 — 폰트·리셋  (templates/main/css/default.css)
   /view 미리보기 · 배포 사이트. 관리자 UI(src/styles)와 별개.

   로드 순서: reset.css → default.css → ...
   ============================================================================= */

/* ============================================
   폰트 설정
   ============================================ */

/* Aida (시그니처 메인 배너) */
@font-face {
    font-family: 'Aida';
    src: url('/templates/font/Aida-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aida';
    src: url('/templates/font/Aida-LightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* Pretendard — 웹폰트는 레이아웃에서 jsDelivr(pretendard.min.css)로 받습니다.
   로컬 파일(public/templates/font)이 없어 여기서 선언하면 404로 CDN 폰트까지 가려집니다. */
.font-pretendard {
    font-family: 'Pretendard', sans-serif;
}

/* Inter */

/* Cormorant */

/* Marcellus (영문 타이틀) */
.marcellus,
.font-marcellus {
    font-family: 'Marcellus', 'Cormorant', serif;
}

/* Monik (display / 영문 타이틀): 글꼴 파일이 없어 선언을 뺐습니다 (브라우저는 이미 다음 글꼴로 표시 중이었음) */

/* Solea  */

/* Shefian */

/* Playfair Display */

/* Poppins */
.font-poppins {
    font-family: 'Poppins', sans-serif;
}

/* Noto Serif KR (BonmyeongjoSourceHanSerif) */
@font-face {
    font-family: 'BonmyeongjoSourceHanSerif';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_two@1.0/NotoSerifKR.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}


/* SourHanSerif */

/* Source Han Serif KR */


/* ============================================
   기본 (리셋은 shared/reset.css)
   ============================================ */

html, body {
    overflow-x: clip;
}

body {
    font-family: 'Pretendard', sans-serif;
}

/* ============================================
   스크롤바 스타일
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #000;
    border-radius: 4px;
}


/* /templates/css/shared/tokens.css */
/* shared — tokens, buttons, section header */

:root {
    --color-primary: #331f4c;
    --color-bg-light: #cbc2dc;
    --color-bg-youtube: #CBC2DE;
    --color-black: #000;
    --color-white: #fff;
}

body {
    position: relative;
    background-color: #fff !important;

}

/* 푸터는 스크롤 오버레이보다 위 */
footer { position: relative; z-index: 20; }

/* ============================================
   공통 — 버튼
   ============================================ */

/* 메인 CTA (대표색 배경 / 흰 배경 / 아웃라인) */
.btn-primary,
.btn-white,
.btn-outline-primary,
.btn-outline-white {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 55px;
    transition: all 0.3s ease;
    min-height: 45px;
}

.btn-primary span,
.btn-white span,
.btn-outline-primary span,
.btn-outline-white span {
    font-size: 15px;
    line-height: 1;
    margin: 0;
    padding: 0;
    font-weight: 700;
}

.btn-primary svg,
.btn-white svg,
.btn-outline-primary svg,
.btn-outline-white svg {
    width: 24px;
    height: 24px;
    margin-left: 8px;
}

/* btn-primary ??????*/
.btn-primary {
    background-color: #000;
}

.btn-primary:hover {
    background-color: #000000;
}

.btn-primary span {
    color: white;
    transition: color 0.3s ease;
}

/* ??????? ?? (???? + ?? ?????+ ???YOUTUBE) */
.btn-youtube-channel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 40px;
    background-color: #fff;
    border: 2px solid var(--color-primary);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(51, 31, 76, 0.12);
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-youtube-channel:hover {
    background-color: #000;
    color: #fff;
    box-shadow: 0 4px 14px rgba(51, 31, 76, 0.25);
}
.btn-youtube-channel__title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}
.btn-youtube-channel__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.btn-youtube-channel__icon {
    width: 20px;
    height: 14px;
    flex-shrink: 0;
}

/* btn-white ??????*/
.btn-white {
    background-color: white;
}

.btn-white:hover {
    background-color: #000000;
}

.btn-white span {
    color: #000;
    transition: color 0.3s ease;
}

.btn-white:hover span {
    color: white;
}

/* btn-outline-primary ??????*/
.btn-outline-primary {
    border: 2px solid var(--color-primary);
    border-radius: 9999px;
}

.btn-outline-primary:hover {
    background-color: #000;
}

.btn-outline-primary span {
    color: #000;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.btn-outline-primary:hover span {
    color: white;
}

/* btn-outline-white ??????*/
.btn-outline-white {
    border: 2px solid white;
    background-color: transparent;
}

.btn-outline-white:hover {
    background-color: white;
}

.btn-outline-white span {
    color: white;
    text-align: center;
    transition: color 0.3s ease;
}

.btn-outline-white:hover span {
    color: #CBC2DE;
}

/* ============================================
   공통 — 섹션 헤더
   ============================================ */

.section-header {
    display: flex;
    flex-direction: column;
    gap: 34px;
    align-items: center;
}

/* ============================================
   공통 — 본문 강조색 (대표색 변경과 무관, 검정 고정)
   ============================================ */

.text-primary {
    color: #000;
}


/* /templates/css/main/type.css */
/* 메인 타이포 토큰.
   새 섹션: font-size: var(--fs-body) | var(--fs-title)
   새 템플릿: html.main-page 값을 그대로 씀. 스케일이 다를 때만 html.main-template-x 로 덮음.
   데스크톱 제목이 32px이 아닌 섹션만 모바일에서 var(--fs-title)을 따로 지정. */

html.main-page,
body.main-page {
  --fs-body: 18px;
  --fs-title: 32px;
  --fs-name: 22px;
  --lh-body: 1.6;
}

@media (max-width: 768px) {
  html.main-page,
  body.main-page {
    --fs-body: 15px;
    --fs-title: 24px;
    --fs-name: 18px;
    --lh-body: 1.65;
  }
}

@media (max-width: 480px) {
  html.main-page,
  body.main-page {
    --fs-title: 20px;
  }
}

/* 템플릿별 아이콘 대표색 */
.main-template-a{--tpl-icon-color:#AABDBB;}
.main-template-b{--tpl-icon-color:#EF5617;}
.main-template-c{--tpl-icon-color:#132C16;}
.main-template-d{--tpl-icon-color:#4B403A;}


/* /templates/css/shared/utilities.css */
/* Tailwind CDN 대체. 홈페이지 템플릿에서 쓰는 유틸만 둔다. */

.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { inset: 0; }
.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }
.flex-1 { flex: 1 1 0%; }
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-nowrap { flex-wrap: nowrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.w-full { width: 100%; }
.h-\[1px\] { height: 1px; }
.max-w-\[420px\] { max-width: 420px; }
.max-w-\[1550px\] { max-width: 1550px; }
.max-w-\[1920px\] { max-width: 1920px; }
.max-h-0 { max-height: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-\[30px\] { margin-top: 30px; margin-bottom: 30px; }
.mb-0 { margin-bottom: 0; }
.mb-\[20px\] { margin-bottom: 20px; }
.overflow-hidden { overflow: hidden; }
.whitespace-nowrap { white-space: nowrap; }
.leading-none { line-height: 1; }
.leading-\[1\.4\] { line-height: 1.4; }
.leading-\[1\.5\] { line-height: 1.5; }
.leading-\[1\.61\] { line-height: 1.61; }
.tracking-tight { letter-spacing: -0.025em; }
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-white { color: #fff; }
.text-black { color: #000; }
.text-white\/80 { color: rgb(255 255 255 / 0.8); }
.bg-\[var\(--color-primary\)\] { background-color: var(--color-primary); }
.bg-white\/30 { background-color: rgb(255 255 255 / 0.3); }
.opacity-40 { opacity: 0.4; }
.opacity-50 { opacity: 0.5; }
.transition-colors { transition-property: color, background-color, border-color; transition-duration: 0.15s; transition-timing-function: ease; }
.transition-all { transition-property: all; transition-timing-function: ease; }
.duration-300 { transition-duration: 0.3s; }

.gap-0 { gap: 0; }
.gap-\[8px\] { gap: 8px; }
.gap-\[12px\] { gap: 12px; }
.gap-\[15px\] { gap: 15px; }
.gap-\[18px\] { gap: 18px; }
.gap-\[20px\] { gap: 20px; }
.gap-\[30px\] { gap: 30px; }
.gap-\[40px\] { gap: 40px; }

.pt-\[16px\] { padding-top: 16px; }
.pt-\[40px\] { padding-top: 40px; }
.pt-\[60px\] { padding-top: 60px; }
.pb-\[40px\] { padding-bottom: 40px; }
.py-\[8px\] { padding-top: 8px; padding-bottom: 8px; }
.py-\[20px\] { padding-top: 20px; padding-bottom: 20px; }
.py-\[40px\] { padding-top: 40px; padding-bottom: 40px; }
.py-\[60px\] { padding-top: 60px; padding-bottom: 60px; }
.px-\[20px\] { padding-left: 20px; padding-right: 20px; }
.px-\[44px\] { padding-left: 44px; padding-right: 44px; }

.text-\[11px\] { font-size: 11px; }
.text-\[12px\] { font-size: 12px; }
.text-\[13px\] { font-size: 13px; }
.text-\[14px\] { font-size: 14px; }
.text-\[15px\] { font-size: 15px; }
.text-\[16px\] { font-size: 16px; }
.text-\[24px\] { font-size: 24px; }
.text-\[28px\] { font-size: 28px; }
.text-\[30px\] { font-size: 30px; }

.space-y-\[12px\] > :not([hidden]) ~ :not([hidden]) { margin-top: 12px; }

.hover\:text-black:hover { color: #000; }
.hover\:font-semibold:hover { font-weight: 600; }

@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:items-end { align-items: flex-end; }
  .md\:justify-between { justify-content: space-between; }
  .md\:gap-0 { gap: 0; }
  .md\:gap-\[18px\] { gap: 18px; }
  .md\:gap-\[30px\] { gap: 30px; }
  .md\:gap-\[40px\] { gap: 40px; }
  .md\:pt-\[24px\] { padding-top: 24px; }
  .md\:pt-\[48px\] { padding-top: 48px; }
  .md\:pt-\[80px\] { padding-top: 80px; }
  .md\:pb-\[50px\] { padding-bottom: 50px; }
  .md\:py-\[25px\] { padding-top: 25px; padding-bottom: 25px; }
  .md\:py-\[100px\] { padding-top: 100px; padding-bottom: 100px; }
  .md\:text-\[13px\] { font-size: 13px; }
  .md\:text-\[15px\] { font-size: 15px; }
  .md\:text-\[18px\] { font-size: 18px; }
  .md\:text-\[30px\] { font-size: 30px; }
  .md\:text-\[35px\] { font-size: 35px; }
  .md\:text-\[36px\] { font-size: 36px; }
}

@media (min-width: 1024px) {
  .lg\:flex-row { flex-direction: row; }
  .lg\:w-\[1px\] { width: 1px; }
  .lg\:h-auto { height: auto; }
  .lg\:gap-\[40px\] { gap: 40px; }
  .lg\:mx-\[40px\] { margin-left: 40px; margin-right: 40px; }
  .lg\:px-\[50px\] { padding-left: 50px; padding-right: 50px; }
  .lg\:text-\[15px\] { font-size: 15px; }
  .lg\:text-\[17px\] { font-size: 17px; }
  .lg\:text-\[20px\] { font-size: 20px; }
  .lg\:text-\[24px\] { font-size: 24px; }
  .lg\:text-\[34px\] { font-size: 34px; }
  .lg\:text-\[44px\] { font-size: 44px; }
  .lg\:text-\[50px\] { font-size: 50px; }
}

@media (min-width: 1280px) {
  .xl\:mx-\[100px\] { margin-left: 100px; margin-right: 100px; }
}


/* /templates/css/shared/animation.css */
/* shared — scroll animation */

/* ============================================
   공통 — 스크롤 등장 애니메이션
   ============================================ */

.scroll-fade {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.scroll-fade.scroll-fade-visible {
    opacity: 1;
}

@keyframes charFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


/* /templates/css/shared/backgrounds.css */
/* shared — backgrounds */

/* ============================================
   공통 — 밝은 배경 섹션
   ============================================ */

@keyframes scroll-text {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* /templates/css/shared/swiper.css */
/* shared — swiper */

/* ============================================
   공통 — Swiper
   ============================================ */

/* CLINIC PROGRAM(.custom-programs-swiper)는 overflow를 따로 둠 */
.swiper:not(.custom-programs-swiper):not(.main_insights_b__swiper):not(.product-swiper) {
    overflow: initial!important;
    position: relative!important;
    width: 100%!important;
    padding-top: 0!important;
    padding-bottom: 0!important;
}

.swiper:not(.custom-programs-swiper):not(.main_insights_b__swiper):not(.product-swiper) > .swiper-wrapper > .swiper-slide {
    background-position: center;
    background-size: cover;
    position: relative;
    width: 352px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.swiper:not(.custom-programs-swiper):not(.main_insights_b__swiper):not(.product-swiper) > .swiper-wrapper > .swiper-slide img {
    display: block;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}


.swiper-slide-text {
    font-size: 22px;
    color: #000;
    text-align: center;
    margin-top: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.swiper-slide-active .swiper-slide-text {
    opacity: 1;
}

.swiper-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    height: 48px;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    z-index: 20;
    transition: background-color 0.3s;
}

.swiper-nav-button:hover {
    background: rgba(0, 0, 0, 0.6);
}

.swiper-nav-button-prev {
    left: 120px;
}

.swiper-nav-button-next {
    right: 120px;
}


/* /templates/css/shared/header.css */
/* 공개 홈페이지 — 헤더·내비 */

header.site-header,
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    visibility: visible;
}

#main-nav,
.site-header__nav {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    width: 100%;
    height: 56px;
    padding: 0 15px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header__brand {
    display: flex;
    align-items: center;
    justify-self: start;
    min-width: 0;
    padding: 0 8px;
}

.site-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 15px;
    flex-shrink: 0;
}

#logo-link {
    display: flex;
    align-items: center;
    z-index: 10002;
    min-width: 0;
}

#logo-link p {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 768px) {
#main-nav,
    .site-header__nav {
        height: 64px;
        padding: 0 44px;
        column-gap: 16px;
    }

.site-header__actions {
        gap: 20px;
    }

#logo-link p {
        font-size: 18px;
    }
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out, max-height 0.5s ease-in-out;
    z-index: 10050;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    pointer-events: none;
}

@media (min-width: 768px) {
.dropdown-menu {
        display: block;
    }
}

.dropdown-menu > div {
    display: flex;
    justify-content: flex-end;
}

.dropdown-menu .grid {
    max-width: 1200px;
    margin-left: auto;
}

.dropdown-menu.active {
    opacity: 1 !important;
    visibility: visible !important;
    max-height: min(80vh, 1200px) !important;
    overflow: auto !important;
    pointer-events: auto !important;
}

.dropdown-menu.active a,
.dropdown-menu.active .js-preview-nav {
    pointer-events: auto !important;
    cursor: pointer;
}

.dropdown-column {
    border-right: 1px solid #e0e0e0;
    padding-right: 40px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.dropdown-menu.active .dropdown-column {
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu.active .dropdown-column:nth-child(1) {
    transition-delay: 0.1s;
}

.dropdown-menu.active .dropdown-column:nth-child(2) {
    transition-delay: 0.2s;
}

.dropdown-menu.active .dropdown-column:nth-child(3) {
    transition-delay: 0.3s;
}

.dropdown-menu.active .dropdown-column:nth-child(4) {
    transition-delay: 0.4s;
}

.dropdown-menu.active .dropdown-column:nth-child(5) {
    transition-delay: 0.5s;
}

.dropdown-column:last-child {
    border-right: none;
}

.dropdown-column h3,
.dropdown-column h4 {
    color: #000;
    margin-bottom: 20px;
}

.dropdown-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-column ul li {
    margin-bottom: 12px;
}

.dropdown-column ul li a {
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
}

#main-nav.menu-active {
    background-color: #000;
}

html.main-page header.site-header:not(.site-header--c),
html.main-page #main-nav,
body.main-page > header.site-header:not(.site-header--c),
body.main-page #main-nav {
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

html.sub-page header.site-header,
html.sub-page #main-nav,
html.header-solid header.site-header,
html.header-solid #main-nav,
body.sub-page > header.site-header,
body.sub-page #main-nav {
    background-color: var(--color-primary);
    border-bottom: none;
}

html.main-page header.scrolled,
html.main-page #main-nav.scrolled,
html.main-page #main-nav.menu-active,
body.main-page > header.scrolled,
body.main-page #main-nav.scrolled,
body.main-page #main-nav.menu-active {
    background-color: var(--color-primary);
    border-bottom: none;
}

/* A 헤더는 병원 대표색 대신 푸터와 같은 고정색을 씁니다 (메인 최상단 투명 상태는 그대로) */
html.main-template-a.sub-page header.site-header,
html.main-template-a.sub-page #main-nav,
html.main-template-a.header-solid header.site-header,
html.main-template-a.header-solid #main-nav,
html.main-template-a.main-page header.scrolled,
html.main-template-a.main-page #main-nav.scrolled,
html.main-template-a.main-page #main-nav.menu-active {
    background-color: #AABDBB;
}

@media (max-width: 767px) {
body.main-page > header {
        background-color: transparent;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

body.main-page > header.scrolled,
    body.main-page #main-nav.scrolled,
    body.main-page #main-nav.menu-active {
        background-color: var(--color-primary);
    }

body.main-page .hamburger-menu-btn span {
        background-color: #ffffff !important;
    }

body.main-page #logo-link img {
        filter: brightness(0) invert(1) !important;
    }

body.main-page #logo-link img.header-logo--custom {
        filter: none !important;
    }
}

.header-logo-img.header-logo--custom {
    filter: none;
    height: 20px !important;
    width: auto !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain;
}

@media (max-width: 767px) {
.header-logo-img.header-logo--custom {
        height: 14px !important;
    }
}

.hamburger-menu-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10002;
}

body.main-page .hamburger-menu-btn span {
    background-color: #ffffff;
}

.hamburger-menu-btn span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
    left: 0;
}

.hamburger-menu-btn span:nth-child(1) {
    top: 0;
}

.hamburger-menu-btn span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-menu-btn span:nth-child(3) {
    bottom: 0;
}

.hamburger-menu-btn.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateY(-50%);
}

.hamburger-menu-btn.active span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

.hamburger-menu-btn.active span {
    background-color: white !important;
}

#main-nav.menu-active #logo-link img {
    filter: brightness(0) invert(1) !important;
}

#main-nav.menu-active #logo-link img.header-logo--custom {
    filter: none !important;
}

#main-nav.menu-active #logo-link p,
#main-nav.menu-active .text-primary,
#main-nav.menu-active .text-primary span {
    color: white !important;
}

.nav-item-with-submenu {
    position: relative;
}

.nav-item-with-submenu::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 20px;
    background: transparent;
    pointer-events: none;
    z-index: 10001;
}

.nav-item-with-submenu:hover::after {
    pointer-events: auto;
}

header.site-header,
.site-header {
    z-index: 10001;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10000;
    display: none;
}

@media (max-width: 768px) {
.mobile-sidebar {
        display: block;
    }
}

.mobile-sidebar.active {
    visibility: visible;
    opacity: 1;
}

.mobile-sidebar-overlay {
    display: none;
}

.mobile-sidebar-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    overflow-y: auto;
    padding-top: 150px;
}

.mobile-sidebar.active .mobile-sidebar-content {
    transform: translateY(0);
}

.mobile-sidebar-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding: 0 20px;
    width: 100%;
}

.mobile-submenu {
    width: 100%;
}

.mobile-submenu-accordion {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-submenu-accordion.active {
    max-height: 500px;
}

.mobile-submenu-item {
    text-decoration: none;
    transition: opacity 0.3s, color 0.3s;
    text-align: left;
    display: block;
}

.mobile-submenu-item:hover {
    opacity: 1;
    color: white;
}

/* 메뉴가 많아지면(진료 분류별 메뉴 등) 칸이 좁아져 시술명이 글자 단위로 끊겨서 —
   칸 너비를 글자에 맞추고, 화면이 모자라면 다음 줄로 넘깁니다 */
.dropdown-menu .grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 32px;
    column-gap: 0;
    max-width: none;
}

.dropdown-column {
    flex: 0 0 auto;
    min-width: 120px;
    padding: 0 36px;
}

.dropdown-column:last-child {
    padding-right: 0;
}

.dropdown-column h3,
.dropdown-column h4,
.dropdown-column ul li a {
    white-space: nowrap;
}

/* 한 줄에 다 들어가도록: 칸 여백을 줄이고, 긴 시술명은 낱말 사이에서만 줄바꿈 */
.dropdown-column {
    min-width: 0;
    max-width: 180px;
    padding: 0 24px;
}

.dropdown-column h3,
.dropdown-column h4,
.dropdown-column ul li a {
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
}


/* /templates/css/shared/footer.css */
/* 공개 홈페이지 — 푸터 */

/* A·B·C 푸터는 병원 대표색(--color-primary) 대신 템플릿 고정색을 씁니다.
   푸터 글자는 어느 템플릿이든 흰색입니다.
   (A 는 예전에 어두운 글자로 바꿨는데, 클래스 없이 주입되는 HTML 안의 글자만 흰색으로 남아 섞여 보였습니다) */
html.main-template-a footer {
    background-color: #AABDBB;
}

/* 클래스가 없는 요소(진료시간·사업자 정보·주소 안의 글자)까지 모두 흰색 */
html.main-template-a footer,
html.main-template-b footer,
html.main-template-c footer,
html.main-template-a footer *,
html.main-template-b footer *,
html.main-template-c footer * {
    color: #fff;
}

html.main-template-a footer .footer-divider,
html.main-template-b footer .footer-divider,
html.main-template-c footer .footer-divider {
    background-color: rgba(255, 255, 255, 0.3);
}

html.main-template-b footer {
    background-color: #121212;
}

html.main-template-c footer {
    background-color: #132C16;
}

@media (max-width: 1919px) {
html:not(.main-template-d) .footer-divider {
        margin-left: 60px !important;
        margin-right: 60px !important;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
html:not(.main-template-d) footer > div:first-of-type,
    html:not(.main-template-d) footer .footer-inner {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 1920px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 80px !important;
        padding-right: 80px !important;
    }

html:not(.main-template-d) footer .footer-inner > div {
        flex-direction: column !important;
    }

html:not(.main-template-d) footer .footer-divider {
        width: 100% !important;
        height: 1px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (min-width: 1200px) and (max-width: 1439.98px) {
html:not(.main-template-d) footer > div:first-of-type,
    html:not(.main-template-d) footer .footer-inner {
        padding-left: 100px !important;
        padding-right: 100px !important;
    }
}

@media (min-width: 1440px) {
html:not(.main-template-d) footer > div:first-of-type,
    html:not(.main-template-d) footer .footer-inner {
        padding-left: 150px !important;
        padding-right: 150px !important;
    }
}

@media (max-width: 767px) {
html:not(.main-template-d) footer {
        padding-top: 60px !important;
        padding-bottom: 40px !important;
    }

html:not(.main-template-d) footer > div:first-of-type,
    html:not(.main-template-d) footer .footer-inner {
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

html:not(.main-template-d) footer .footer-inner > div {
        flex-direction: column !important;
        align-items: stretch !important;
    }

html:not(.main-template-d) footer .footer-divider {
        width: 100% !important;
        max-width: 100% !important;
        height: 1px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        align-self: stretch !important;
        box-sizing: border-box !important;
    }
}

.footer-hours {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
    max-width: 420px;
}

.footer-hours__block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-hours__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 28px;
}

.footer-hours__label,
.footer-hours__time,
.footer-hours__closed {
    color: #fff;
}

.footer-hours__row--sat .footer-hours__label {
    letter-spacing: 0.28em;
}

/* 주소: 모바일에서 단어 중간이 아니라 띄어쓰기에서 줄을 바꾸고, 두 줄 길이를 비슷하게 맞춥니다 */
@media (max-width: 767px) {
  [data-footer-field="address"] {
    word-break: keep-all;
    overflow-wrap: break-word;
    text-wrap: balance;
    line-height: 1.55;
  }
}


/* /templates/css/shared/floating.css */
/* 공개 홈페이지 — 플로팅(퀵메뉴) */

.quick-menu {
    position: fixed;
    bottom: 3rem;
    right: 2rem;
    z-index: 9999;
}

@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0);
        -webkit-transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
        -webkit-transform: translateY(-15px);
    }
}

@keyframes sk-bouncedelay {
    0%,
    80%,
    100% {
        transform: scale(0);
        -webkit-transform: scale(0);
    }
    40% {
        transform: scale(1);
        -webkit-transform: scale(1);
    }
}

.quick-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.quick-wrap > .quick-btn-area {
    position: relative;
    align-self: flex-end;
    margin-right: calc((143px - 50px) / 2);
}

.quick-wrap > .top_btn01 {
    position: relative;
    align-self: flex-end;
    margin-right: calc((143px - 14.829px) / 2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-button-group {
    position: absolute;
    width: 143px;
    right: 0;
    bottom: calc(50px + 20px);
    pointer-events: none;
    transition: bottom 0.3s ease;
}

.quick-wrap.is-active .quick-button-group {
    height: auto;
    pointer-events: auto;
}

.quick-social-icon {
    display: block;
    opacity: 0;
}

.quick-wrap.is-active .quick-social-icon {
    opacity: 1;
}

.quick-social-icon button.title-wrap {
    font: inherit;
    font-weight: 600;
    color: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.quick-social-icon .title-wrap {
    font-weight: 600;
    border: 1px solid #000;
    letter-spacing: -0.5px;
    gap: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    width: 100%;
    border-radius: 2rem;
    background: #fff;
    margin-bottom: 9px;
    font-size: 15px;
    padding: 0 15px;
    height: 45px;
    text-decoration: none;
    opacity: 0;
}

.quick-wrap.is-active .quick-social-icon .title-wrap {
    opacity: 1;
}

.quick-social-icon .icon-social {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.quick-social-icon .tit {
    cursor: pointer;
    font-family: 'BonmyeongjoSourceHanSerif', serif;
    font-size: 15px;
    color: #000;
    display: flex;
    align-items: center;
    line-height: 1;
}

.quick-btn-area {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.quick-btn-area .quick-bg {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 0px;
    right: 0px;
    border-radius: 100%;
    background: #000;
    transition: all 400ms cubic-bezier(0.215, 0.61, 0.355, 1) 0ms;
    -webkit-transition: all 400ms cubic-bezier(0.215, 0.61, 0.355, 1) 0ms;
    overflow: hidden;
}

.is-active .quick-btn-area .quick-bg {
    display: none;
    background: none;
    transition: transform 330ms cubic-bezier(0.215, 0.61, 0.355, 1) 150ms;
}

.open_btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: opacity 0.3s ease;
    -webkit-transition: opacity 0.3s ease;
    -moz-transition: opacity 0.3s ease;
    -ms-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.open_btn > div {
    width: 4px;
    height: 4px;
    border-radius: 100%;
    display: inline-block;
    margin: 0 3px;
    background-color: #fff;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
    -moz-transition: 0.3s ease;
    -ms-transition: 0.3s ease;
    -o-transition: 0.3s ease;
}

.open_btn .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.open_btn .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

.chatbot_button_icon {
    position: relative;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.quick-close-btn {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 50px;
    height: 50px;
    background: #575757;
    border-radius: 50%;
    opacity: 0;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
    -webkit-transition: background 0ms ease 500ms, opacity 0ms ease 500ms, -webkit-transform 500ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: background 0ms ease 500ms, opacity 0ms ease 500ms, -webkit-transform 500ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: transform 500ms cubic-bezier(0.55, 0.055, 0.675, 0.19), opacity 0ms ease 500ms, background 0ms ease 500ms;
    transition: transform 500ms cubic-bezier(0.55, 0.055, 0.675, 0.19), opacity 0ms ease 500ms, background 0ms ease 500ms, -webkit-transform 500ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.quick-wrap.is-active .quick-close-btn {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: -webkit-transform 330ms cubic-bezier(0.215, 0.61, 0.355, 1) 150ms;
    transition: -webkit-transform 330ms cubic-bezier(0.215, 0.61, 0.355, 1) 150ms;
    transition: transform 330ms cubic-bezier(0.215, 0.61, 0.355, 1) 150ms;
    transition: transform 330ms cubic-bezier(0.215, 0.61, 0.355, 1) 150ms, -webkit-transform 330ms cubic-bezier(0.215, 0.61, 0.355, 1) 150ms;
    opacity: 1;
}

.quick-close-btn span {
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    width: 26px;
    height: 2px;
    background-color: #fff;
}

.quick-close-btn span:nth-of-type(1) {
    transform: translate(-50%, -50%) rotate(47deg);
    -webkit-transform: translate(-50%, -50%) rotate(47deg);
}

.quick-close-btn span:nth-of-type(2) {
    transform: translate(-50%, -50%) rotate(313deg);
    -webkit-transform: translate(-50%, -50%) rotate(313deg);
}

#quick.on #top_btn {
    opacity: 1;
    visibility: visible;
    border: 0;
    background: none;
}

#quick .top_btn01 {
    position: relative;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
}

#quick.on .top_btn01 {
    display: flex;
}

.top_btn01 svg {
    width: 15px;
    height: 35px;
}

.top_btn01 svg line {
    transition: stroke 0.3s ease;
}

@media (max-width: 767px) {
#quick {
        display: block !important;
        bottom: var(--sns-mobile-bottom, 16px) !important;
        right: 8px;
        max-width: calc(100vw - 36px);
    }

#quick .quick-wrap {
        align-items: flex-end;
        gap: 2px;
        width: auto;
    }

#quick .quick-button-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: auto;
        min-width: 0;
        max-width: calc(100vw - 48px);
        left: auto;
        /* FAB????? ???????? ??transform?? ?????JS(translateY)?? ?????? ??? ??*/
        right: 0;
        margin-left: 0;
        bottom: calc(32px + 8px);
    }

#quick .quick-wrap > .quick-btn-area,
    #quick .quick-wrap > .top_btn01 {
        align-self: flex-end;
        margin-right: 14px;
    }

#quick .quick-btn-area,
    #quick .quick-btn-area .quick-bg,
    #quick .chatbot_button_icon,
    #quick .quick-close-btn {
        width: 32px;
        height: 32px;
    }

#quick .top_btn01 {
        width: 32px;
        height: 32px;
        min-height: 32px;
        padding: 0;
        margin: 0;
        display: none;
        align-items: center;
        justify-content: center;
        line-height: 0;
        box-sizing: border-box;
    }

#quick.on .top_btn01 {
        display: flex !important;
    }

#quick .top_btn01 svg {
        width: 10px;
        height: 16px;
        display: block;
        margin: 0 auto;
        flex-shrink: 0;
    }

.quick-social-icon {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

.quick-social-icon .title-wrap {
        font-size: 11px;
        height: 28px;
        width: auto;
        min-width: 60px;
        max-width: 100%;
        padding: 0 10px;
        gap: 0;
        margin-bottom: 4px;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
        white-space: nowrap;
        justify-content: center;
        text-align: center;
    }

.quick-social-icon .tit {
        font-size: 11px;
        text-align: center;
        width: 100%;
        justify-content: center;
    }

.quick-social-icon .icon-social {
        display: none !important;
    }

.quick-close-btn span {
        width: 15px;
    }
}

.quick-menu--circle .quick-wrap,
.quick-menu--square .quick-wrap {
    align-items: center;
}

.quick-menu--circle .quick-button-group,
.quick-menu--square .quick-button-group {
    width: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quick-menu--circle .quick-social-icon,
.quick-menu--square .quick-social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.quick-menu--circle .quick-wrap > .quick-btn-area,
.quick-menu--square .quick-wrap > .quick-btn-area,
.quick-menu--circle .quick-wrap > .top_btn01,
.quick-menu--square .quick-wrap > .top_btn01 {
    align-self: center;
    margin-right: 0;
}

.quick-menu--circle .quick-social-icon .title-wrap,
.quick-menu--square .quick-social-icon .title-wrap {
    width: 45px;
    height: 45px;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
}

.quick-menu--circle .top_btn01,
.quick-menu--square .top_btn01 {
    width: 50px;
    padding: 0;
    box-sizing: border-box;
}

.quick-menu--circle .quick-social-icon .title-wrap {
    border-radius: 50%;
}

.quick-menu--square .quick-social-icon .title-wrap {
    border-radius: 12px;
}

.quick-menu--circle .quick-social-icon .tit,
.quick-menu--square .quick-social-icon .tit {
    display: none;
}

@media (max-width: 767px) {
    /* 원형·라운드도 모바일에서는 확장형처럼 텍스트로 표시 */
    .quick-menu--circle .quick-wrap,
    .quick-menu--square .quick-wrap {
        align-items: flex-end;
    }

    .quick-menu--circle .quick-button-group,
    .quick-menu--square .quick-button-group {
        width: auto;
        min-width: 0;
        max-width: calc(100vw - 48px);
    }

    .quick-menu--circle .quick-social-icon .title-wrap,
    .quick-menu--square .quick-social-icon .title-wrap {
        width: auto;
        height: 28px;
        min-width: 60px;
        max-width: 100%;
        padding: 0 10px;
        margin-left: auto;
        margin-right: auto;
        border-radius: 2rem;
    }

    .quick-menu--circle .quick-social-icon .icon-social,
    .quick-menu--square .quick-social-icon .icon-social {
        display: none !important;
    }

    .quick-menu--circle .quick-social-icon .tit,
    .quick-menu--square .quick-social-icon .tit {
        display: flex;
        font-size: 11px;
        text-align: center;
        width: 100%;
        justify-content: center;
    }

    .quick-menu--circle .quick-wrap > .quick-btn-area,
    .quick-menu--square .quick-wrap > .quick-btn-area,
    .quick-menu--circle .quick-wrap > .top_btn01,
    .quick-menu--square .quick-wrap > .top_btn01 {
        align-self: flex-end;
        margin-right: 14px;
    }

    .quick-menu--circle .top_btn01,
    .quick-menu--square .top_btn01 {
        width: 32px;
    }
}


/* /templates/css/shared/legacy.css */
/* shared — unused leftover sections */

/* ============================================
   의료진 섹션 — 배경 이미지
   ============================================ */

/* ============================================
   스페셜 프로그램 섹션
   ============================================ */

/* ============================================
   유튜브 슬라이드
   ============================================ */

.swiper-youtube .swiper-slide {
    transition: transform 0.3s;
    transform: translate(0);
    border-radius: 27px;
    overflow: hidden;
    background: #fff;
    margin-right: 40px;
    width: 425px;
    height: 425px;
    border: 1px solid #c4c4c4;
    position: relative;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .swiper-youtube .swiper-slide {
        height: 350px;
    }
}

.swiper-youtube .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.swiper-youtube .swiper-slide:hover {
    transform: translate(0, -10%);
}

.swiper-youtube .swiper-slide:hover a {
    background: #cbc2dc;
}

.swiper-youtube .youtube-scrollbar.swiper-scrollbar-horizontal,
.swiper-youtube .swiper-scrollbar.swiper-scrollbar-horizontal {
    margin: 80px auto 0 !important;
    height: 3px !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    position: relative !important;
    bottom: auto !important;
    z-index: 50;
}

/* ============================================
   활동/카드 플립 (main-activity)
   ============================================ */

/* ??? ???? ?????*/

/* ?? ???: ??? ?????+ ???????? ?? */

/* ?? ????? ?? ???: ??? ????????????????????? ?????*/

/* ?? ????? ??: ??? ??? ?? ???? ???????? ???? (????????) */

/* 1024px ???: ??(??????) */

/* ???? ?? 100vh, ??? ???????????? ?? */
@media (max-width: 767px) {
    /* 모바일 메인 배너는 화면 절반 높이 */
    .main-banner-section {
        height: 50dvh !important;
        min-height: 360px;
    }
}

/* **************************************** *
 * BRAND STORY
 * **************************************** */

/* ============================================
   솔루션 (main-solution)
   ============================================ */

/* 예전 공통 레이아웃에서 옮긴 잔여 스타일 */

@-webkit-keyframes bounce {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-15px);
    }
}

@keyframes bounce {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-15px);
    }
}

#top_btn {
    position: absolute;
    bottom: -100%;
    right: inherit;
    border: 0;
    /* 위로 가기 아이콘은 버튼 안 SVG 로 그립니다 (예전 top_btn.png 는 없는 파일이라 404 가 났음) */
    background: none;
    opacity: 0;
    visibility: hidden;
}

#top_btn:hover {
    border: 0;
    background: none;
    color: inherit;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.mobile-nav-item {
    padding: 0;
    font-size: 20px;
    color: white;
    text-decoration: none;
    border: none;
    transition: opacity 0.3s;
    overflow: hidden;
}

.mobile-nav-item .letter {
    display: inline-block;
    vertical-align: top;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.mobile-nav-item-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.mobile-nav-accordion-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 20px;
    color: white;
    text-align: left;
    width: 100%;
    position: relative;
    transition: opacity 0.3s;
    overflow: hidden;
}

@media (max-width: 1919px) {

.swiper-nav-button-prev {
        left: 60px !important;
    }

.swiper-nav-button-next {
        right: 60px !important;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
.main-banner-section {
        height: 600px !important;
    }

.swiper-nav-button-prev {
        left: 30px !important;
    }

.swiper-nav-button-next {
        right: 30px !important;
    }

.swiper-programs .swiper-slide {
        width: 280px !important;
    }
}

@media (max-width: 767px) {
.btn-primary,
    .btn-white,
    .btn-outline-primary,
    .btn-outline-white {
        padding: 10px 15px !important;
    }

.btn-primary span,
    .btn-white span,
    .btn-outline-primary span,
    .btn-outline-white span {
        font-size: 13px !important;
    }

.section-header {
        gap: 20px !important;
        margin-bottom: 20px !important;
    }

.swiper:not(.custom-programs-swiper):not(.product-swiper) {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

.swiper-nav-button-prev {
        left: 10px !important;
        width: 28px !important;
        height: 40px !important;
    }

.swiper-nav-button-next {
        right: 10px !important;
        width: 28px !important;
        height: 40px !important;
    }

.swiper-nav-button img {
        width: 16px !important;
        height: 16px !important;
    }

.swiper-programs .swiper-slide {
        width: 280px !important;
    }


.swiper-slide-text {
        font-size: 16px !important;
        margin-top: 15px !important;
    }

.doctor-card {
        gap: 30px !important;
    }

.doctor-card .flex-1 {
        width: 100% !important;
    }

.doctor-info > div:first-child > p:first-child {
        font-size: 22px !important;
    }

.doctor-info > div:first-child > p:last-child {
        font-size: 14px !important;
    }

.doctor-info > div:first-child {
        gap: 12px !important;
    }

.doctor-image {
        width: 100% !important;
        max-width: 327px !important;
        height: auto !important;
        aspect-ratio: 327 / 425 !important;
    }

.doctor-text-image {
        display: none !important;
    }

.swiper-youtube .swiper-slide {
        width: 300px !important;
        height: 300px !important;
        margin-right: 20px !important;
    }

.swiper-youtube .youtube-scrollbar.swiper-scrollbar-horizontal,
    .swiper-youtube .swiper-scrollbar.swiper-scrollbar-horizontal {
        margin: 30px auto 0 !important;
    }

.doctor-societies-desktop {
        display: none !important;
    }
}

@media (max-width: 480px) {

.swiper-programs .swiper-slide {
        width: 240px !important;
    }

.swiper-youtube .swiper-slide {
        width: 280px !important;
        height: 280px !important;
    }
}


/* /templates/css/shared/chat.css */
/* =============================================================================
   서브 — 챗봇 페이지 + SNS 퀵메뉴 미리보기
   templates/pages/css/chat.css
   페이지 id: chat  (#view-chat)
   ============================================================================= */

#view-chat.embed-view--chat {
  height: 100dvh;
  min-height: 100dvh;
  background: #ffffff;
  color: #20242a;
}

#view-chat.embed-view--chat .chat-container {
  --bg-main: #ffffff;
  --bg-chat: #f2f4f6;
  --text-primary: #20242a;
  --text-secondary: #8a93a3;
  --border-color: #e6eaf0;
  --primary: var(--clinic-brand-primary, #000000);
  --primary-hover: var(--clinic-brand-primary-hover, #1a1a1a);
  --bubble-bot: #ffffff;
  --bubble-user: var(--clinic-brand-primary, #000000);
  --header-height: 64px;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-chat);
  position: relative;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
}

#view-chat.embed-view--chat .chat-header {
  height: var(--header-height);
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  flex-shrink: 0;
  z-index: 10;
}

#view-chat.embed-view--chat .header-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

#view-chat.embed-view--chat .header-info h1 {
  font-size: 1rem;
  font-weight: 650;
  color: var(--text-primary);
  line-height: 1.15;
}

#view-chat.embed-view--chat .status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.74rem;
  font-weight: 400;
  line-height: 1;
}

#view-chat.embed-view--chat .pulse {
  display: block;
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
}

#view-chat.embed-view--chat .chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

#view-chat.embed-view--chat .msg-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 88%;
}

#view-chat.embed-view--chat .msg-wrapper.bot {
  align-self: flex-start;
}

#view-chat.embed-view--chat .msg-wrapper.user {
  align-self: flex-end;
  align-items: flex-end;
}

#view-chat.embed-view--chat .msg-bubble {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.94rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
  word-break: keep-all;
}

#view-chat.embed-view--chat .msg-wrapper.bot .msg-bubble {
  background: var(--bubble-bot);
  border: 1px solid rgba(230, 234, 240, 0.9);
  border-bottom-left-radius: 6px;
  color: var(--text-primary);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

#view-chat.embed-view--chat .msg-wrapper.user .msg-bubble {
  background: var(--bubble-user);
  color: #ffffff;
  border-bottom-right-radius: 6px;
}

#view-chat.embed-view--chat .msg-time {
  font-size: 0.68rem;
  color: #9ca3af;
  margin-top: 5px;
  margin-left: 6px;
}

#view-chat.embed-view--chat .chat-input-wrapper {
  background: var(--bg-main);
  border-top: 1px solid var(--border-color);
  padding: 0 12px 8px;
  flex-shrink: 0;
}

#view-chat.embed-view--chat .chat-input-container {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 10px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 15px;
  padding: 6px 6px 6px 15px;
}

#view-chat.embed-view--chat .chat-input-wrapper:has(.reservation-mode-banner.hidden) .chat-input-container {
  margin-top: 12px;
}

#view-chat.embed-view--chat .chat-input-container textarea {
  flex: 1;
  border: none;
  background: transparent;
  resize: none;
  max-height: 120px;
  padding: 8px 0;
  outline: none;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--text-primary);
  min-height: 38px;
}

#view-chat.embed-view--chat .chat-input-container textarea::placeholder {
  color: #94a3b8;
}

#view-chat.embed-view--chat .send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

#view-chat.embed-view--chat .send-btn svg {
  width: 23px;
  height: 23px;
  display: block;
}

#view-chat.embed-view--chat .send-btn:disabled {
  color: #8b95a1;
  cursor: not-allowed;
}

#view-chat.embed-view--chat .powered-by {
  text-align: center;
  font-size: 0.65rem;
  color: #cbd5e1;
  margin-top: 8px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

#view-chat.embed-view--chat .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

/* 홈페이지 퀵메뉴 챗봇 — #view-chat 전용 스타일을 팝업 패널에도 적용 */
.popup-chat-preview__panel .embed-view--chat {
  height: 100%;
  min-height: 0;
  background: #ffffff;
  color: #20242a;
}

.popup-chat-preview__panel .embed-view--chat .chat-container {
  --bg-main: #ffffff;
  --bg-chat: #f2f4f6;
  --text-primary: #20242a;
  --text-secondary: #8a93a3;
  --border-color: #e6eaf0;
  --primary: var(--clinic-brand-primary, #000000);
  --primary-hover: var(--clinic-brand-primary-hover, #1a1a1a);
  --bubble-bot: #ffffff;
  --bubble-user: var(--clinic-brand-primary, #000000);
  --header-height: 64px;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  background: var(--bg-chat);
  position: relative;
  box-shadow: none;
}

.popup-chat-preview__panel .embed-view--chat .chat-header {
  position: relative;
  inset: auto;
  height: var(--header-height);
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  flex-shrink: 0;
  z-index: 10;
}

.popup-chat-preview__panel .embed-view--chat .header-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.popup-chat-preview__panel .embed-view--chat .header-info h1,
.popup-chat-preview__panel .embed-view--chat .chat-header__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
  color: var(--text-primary);
  line-height: 1.15;
}

.popup-chat-preview__panel .embed-view--chat .status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 0;
  color: var(--text-secondary);
  font-size: 0.74rem;
  font-weight: 400;
  line-height: 1;
}

.popup-chat-preview__panel .embed-view--chat .pulse {
  display: block;
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
}

.popup-chat-preview__panel .embed-view--chat .chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.popup-chat-preview__panel .embed-view--chat .chat-messages > .msg-wrapper:first-child {
  margin-top: auto;
}

.popup-chat-preview__panel .embed-view--chat .msg-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 88%;
}

.popup-chat-preview__panel .embed-view--chat .msg-wrapper.bot {
  align-self: flex-start;
}

.popup-chat-preview__panel .embed-view--chat .msg-wrapper.user {
  align-self: flex-end;
  align-items: flex-end;
}

.popup-chat-preview__panel .embed-view--chat .msg-bubble {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.94rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
  word-break: keep-all;
}

.popup-chat-preview__panel .embed-view--chat .msg-wrapper.bot .msg-bubble {
  background: var(--bubble-bot);
  border: 1px solid rgba(230, 234, 240, 0.9);
  border-bottom-left-radius: 6px;
  color: var(--text-primary);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.popup-chat-preview__panel .embed-view--chat .msg-wrapper.user .msg-bubble {
  background: var(--bubble-user);
  color: #ffffff;
  border-bottom-right-radius: 6px;
}

.popup-chat-preview__panel .embed-view--chat .chat-input-wrapper {
  background: var(--bg-main);
  border-top: 1px solid var(--border-color);
  padding: 0 12px 8px;
  flex-shrink: 0;
}

.popup-chat-preview__panel .embed-view--chat .pulse.is-offline {
  background-color: #94a3b8;
}

.popup-chat-preview__panel .embed-view--chat .chat-input-container {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 12px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 15px;
  padding: 6px 6px 6px 15px;
}

.popup-chat-preview__panel .embed-view--chat .chat-input-container textarea {
  flex: 1;
  border: none;
  background: transparent;
  resize: none;
  max-height: 120px;
  padding: 8px 0;
  outline: none;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--text-primary);
  min-height: 38px;
}

.popup-chat-preview__panel .embed-view--chat .chat-input-container textarea::placeholder {
  color: #94a3b8;
}

.popup-chat-preview__panel .embed-view--chat .send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.popup-chat-preview__panel .embed-view--chat .send-btn svg {
  width: 23px;
  height: 23px;
  display: block;
}

.popup-chat-preview__panel .embed-view--chat .send-btn:disabled {
  color: #8b95a1;
  cursor: not-allowed;
}

.popup-chat-preview__panel .embed-view--chat .powered-by {
  text-align: center;
  font-size: 0.65rem;
  color: #cbd5e1;
  margin-top: 8px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ===== SNS 퀵메뉴 미리보기 ===== */

@media (max-width: 768px) {
  #view-community.blog-embed .blog-category-btn.active::after,
  #view-community.blog-embed .blog-category-fade,
  #view-community.blog-embed .blog-category-arrow--prev,
  #view-community.blog-embed .blog-category-arrow--next {
    display: none;
  }
}

/* 예약 확인 폼 — 말풍선 안에 맞게 (고정 300px/86vw는 패널에서 넘침) */
.reservation-form-card {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 14px;
  padding: 16px;
  margin: 0;
  font-family: inherit;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.msg-bubble:has(.reservation-form-card) {
  width: min(300px, 100%);
  max-width: 100%;
  padding: 8px;
  overflow: hidden;
  box-sizing: border-box;
}
.msg-bubble .reservation-form-card {
  border: none;
  border-radius: 10px;
  padding: 8px 4px;
  background: transparent;
  box-shadow: none;
}
.reservation-form-card .res-header {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
  font-size: 15px;
}
.reservation-form-card .res-desc {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 12px 0;
}
.reservation-form-card .res-row {
  margin-bottom: 10px;
}
.reservation-form-card .res-error {
  margin: 0 0 8px;
  color: #dc2626;
  font-size: 12px;
}
.reservation-form-card .res-row label {
  display: block;
  font-size: 12px;
  color: #475569;
  margin-bottom: 4px;
  font-weight: 500;
}
.reservation-form-card .res-input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
}
.reservation-form-card .res-input:focus {
  outline: none;
  border-color: var(--color-primary, #3b82f6);
}
.reservation-form-card textarea.res-input {
  resize: none;
}
.reservation-form-card .res-submit-btn {
  width: 100%;
  padding: 10px;
  background: var(--color-primary, #0f172a);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
}
.reservation-form-card .res-submit-btn:hover {
  opacity: 0.9;
}
.reservation-form-card .res-submit-btn:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}
.reservation-form-card .res-success {
  text-align: center;
  padding: 16px 8px;
  color: #059669;
  font-weight: 700;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
/* reset.css 가 input appearance 를 지워서 동의 체크박스가 안 보입니다 */
.reservation-form-card .res-agree input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  flex: 0 0 16px;
  accent-color: var(--color-primary, #111);
}



/* /templates/css/shared/popup.css */
/* =============================================================================
   홈페이지 — 팝업  (templates/popups/popup.css)
   /view 위 오버레이. 관리자 UI(src/styles)와 별개.

   1. 휴무 안내 (.holiday-notice-popup) — minimal / editorial / card
   2. 이벤트 (.event-notice-popup) — 리스트형 / 분할형
   3. 방문 안내 (.visitor-notice-popup)
   4. 챗봇 FAB (.popup-embed--chatbot)
   ============================================================================= */

/* ===== 휴무 안내 팝업 ===== */
.holiday-notice-popup {
    --hn-bg: #ffffff;
    --hn-ink: #111111;
    --hn-accent: var(--primary, #000000);
    --hn-green: var(--hn-accent);
    --hn-line: #111111;
    --hn-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --hn-serif: 'Noto Serif KR', 'Times New Roman', Times, serif;
    --hn-cell-h: 64px;

    position: relative;
    z-index: 1;
    width: 100%;
    max-width: min(610px, 98vw);
    max-height: min(90dvh, 720px);
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 24px 22px 20px;
    background: var(--hn-bg);
    color: var(--hn-ink);
    font-family: var(--hn-sans);
    border-radius: 2px;
    box-shadow: 0 18px 56px rgba(15, 23, 42, 0.14);
    -webkit-overflow-scrolling: touch;
}

.holiday-notice-popup__title {
    text-align: center;
    font-family: var(--hn-sans);
    font-size: clamp(1.1rem, 3.6vw, 1.34rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.4;
    margin: 0 0 16px;
    padding: 0 20px;
    color: var(--hn-ink);
}

.holiday-notice-popup__calendar {
    width: 100%;
    padding: 0 4px;
}

/* ?붴??앹뾽 怨듯넻: 怨좎젙 ???щ젰 ???꽷룹썡쨌?댁쟾/?ㅼ쓬 ?④? ?붴?*/

@media (max-width: 1024px) {
    .holiday-notice-popup {
        max-height: none;
        overflow-x: hidden;
        overflow-y: visible;
        -webkit-overflow-scrolling: auto;
        --hn-cell-h: clamp(36px, calc((100dvh - 128px - 190px) / 6), 52px);
        padding: 24px 14px 20px;
    }

    .holiday-notice-popup:not(.holiday-notice-popup--minimal) .holiday-notice-popup__title {
        margin-bottom: 16px;
        padding: 0 16px;
        font-size: 1rem;
    }
}

@media (max-width: 520px) {
    .holiday-notice-popup {
        --hn-cell-h: clamp(32px, calc((100dvh - 128px - 180px) / 6), 44px);
        max-width: 100%;
        min-width: 0;
        padding: 20px 12px 18px;
        border-radius: 0;
    }

    .holiday-notice-popup:not(.holiday-notice-popup--minimal) .holiday-notice-popup__title {
        margin-bottom: 12px;
        padding: 0 12px;
        font-size: 0.95rem;
    }
}

@media (min-width: 1025px) {
    .holiday-notice-popup {
        --hn-cell-h: 70px;
    }
}


/* ?대Т ?앹뾽 ???먮뵒?좊━???щ젰 (?щ┝ 諛곌꼍 + ?덈뱶 洹몃━?? */
.holiday-notice-popup--minimal {
    --hn-bg: #fdfbf1;
    --hn-en: 'Alan Sans', var(--hn-sans);
    --hn-weekday: 'Inter', var(--hn-sans);
    background: var(--hn-bg);
}

.holiday-notice-popup--minimal .holiday-notice-popup__title {
    margin: 0 0 clamp(12px, 2.5vw, 24px);
    padding: 0 12px;
    font-family: var(--hn-en);
    font-size: clamp(1.5rem, 5.5vw, 2.1rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.05;
    text-align: center;
    color: var(--hn-accent);
}

.holiday-notice-popup--minimal .holiday-notice-popup__title-year {
    display: none;
}

.holiday-notice-popup--minimal .holiday-notice-popup__title-month {
    display: block;
    font-weight: 700;
}

.holiday-notice-popup .hc--notice-minimal {
    width: 100%;
    --hn-min-cell-h: 64px;
    --hn-min-ink: #333333;
    --hn-min-fill: var(--hn-accent);
    --hn-min-line-week: #b3b3b3;
}

.holiday-notice-popup .hc--notice-minimal .hc-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-family: var(--hn-weekday, 'Inter', var(--hn-sans));
    font-size: clamp(0.72rem, 1.9vw, 0.875rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hn-accent);
    padding: 0 0 12px;
    margin: 0;
    border: none;
}

.holiday-notice-popup .hc--notice-minimal .hc-weekdays span {
    display: block;
    padding: 0 4px;
    border: none;
}

/* embed.css 怨듯넻 ?щ젰 蹂대뜑 珥덇린????醫뙿룹슦 ?멸낸???놁쓬, ?대? 寃⑹옄留?*/
.holiday-notice-popup .hc--notice-minimal .hc-weeks {
    border: none;
}

.holiday-notice-popup .hc--notice-minimal .hc-week {
    position: relative;
    border: none;
    min-height: var(--hn-min-cell-h);
}

.holiday-notice-popup .hc--notice-minimal .hc-week__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    min-height: var(--hn-min-cell-h);
    border: none;
}

.holiday-notice-popup .hc--notice-minimal .hc-cell {
    position: relative;
    min-height: var(--hn-min-cell-h);
    padding: 8px 8px 10px;
    border: none;
    border-right: 1px solid var(--hn-min-line-week);
    border-bottom: 1px solid var(--hn-min-line-week);
    background: var(--hn-bg);
    text-align: right;
}

.holiday-notice-popup .hc--notice-minimal .hc-cell:nth-child(7) {
    border-right: none;
}

.holiday-notice-popup .hc--notice-minimal .hc-week:last-child .hc-cell {
    border-bottom: none;
}

.holiday-notice-popup .hc--notice-minimal .hc-cell.is-outside {
    opacity: 1;
}

.holiday-notice-popup .hc--notice-minimal .hc-cell.is-outside .hc-day:empty {
    display: none;
}

.holiday-notice-popup .hc--notice-minimal .hc-cell.is-outside.is-holiday {
    opacity: 1;
}

.holiday-notice-popup .hc--notice-minimal .hc-cell.is-holiday {
    padding: 0;
    background: var(--hn-min-fill);
}

.holiday-notice-popup .hc--notice-minimal .hc-day {
    display: block;
    position: relative;
    z-index: 1;
    font-family: var(--hn-sans);
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    font-weight: 400;
    line-height: 1.2;
    text-align: right;
    color: var(--hn-min-ink);
    font-variant-numeric: tabular-nums;
}

.holiday-notice-popup .hc--notice-minimal .hc-cell.is-holiday .hc-day {
    position: absolute;
    top: 8px;
    right: 8px;
    width: auto;
    color: #ffffff;
    font-weight: 400;
}

.holiday-notice-popup .hc--notice-minimal .hc-cell-label,
.holiday-notice-popup .hc--notice-minimal .hc-label {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--hn-sans);
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    line-height: 1.25;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.holiday-notice-popup .hc--notice-minimal .hc-cell.is-today .hc-day::after {
    display: none;
}

@media (max-width: 1024px) {
    .holiday-notice-popup--minimal .holiday-notice-popup__title {
        margin-bottom: 12px;
        font-size: clamp(1.875rem, 7.5vw, 2.625rem);
    }

    .holiday-notice-popup .hc--notice-minimal {
        --hn-min-cell-h: clamp(38px, calc((100dvh - 128px - 190px) / 5), 56px);
    }

    .holiday-notice-popup .hc--notice-minimal .hc-weekdays {
        padding-bottom: 8px;
        font-size: 0.6875rem;
    }

    .holiday-notice-popup .hc--notice-minimal .hc-cell {
        padding: 6px 6px 8px;
    }

    .holiday-notice-popup .hc--notice-minimal .hc-cell.is-holiday .hc-day {
        top: 5px;
        right: 5px;
    }

    .holiday-notice-popup .hc--notice-minimal .hc-day {
        font-size: 0.75rem;
    }

    .holiday-notice-popup .hc--notice-minimal .hc-cell-label,
    .holiday-notice-popup .hc--notice-minimal .hc-label {
        font-size: clamp(0.625rem, 1.8vw, 0.75rem);
    }
}

@media (max-width: 520px) {
    .holiday-notice-popup .hc--notice-minimal {
        --hn-min-cell-h: clamp(34px, calc((100dvh - 128px - 180px) / 5), 50px);
    }

    .holiday-notice-popup .hc--notice-minimal .hc-cell {
        padding: 4px 4px 6px;
    }

    .holiday-notice-popup .hc--notice-minimal .hc-cell.is-holiday .hc-day {
        top: 4px;
        right: 4px;
    }
}

@media (min-width: 1025px) {
    .holiday-notice-popup .hc--notice-minimal {
        --hn-min-cell-h: 70px;
    }
}


/* ?대Т ?앹뾽 ???먮뵒?좊━??(?덈뱶 ?щ┝ minimal怨??숈씪 ?ㅼ??? */
.holiday-notice-popup--editorial {
    --hn-bg: #f7f6f3;
    --hn-serif: 'Playfair Display', 'Noto Serif KR', Georgia, 'Times New Roman', serif;
    --hn-editorial-month: 'Source Han Serif KR', 'Noto Serif KR', Georgia, 'Times New Roman', serif;
    --hn-weekday: 'Inter', var(--hn-sans);
    --hn-min-ink: rgba(0, 0, 0, 0.7);
    --hn-min-fill: var(--hn-accent);
    --hn-min-holiday-ink: #ffffff;
    --hn-min-line-week: rgba(0, 0, 0, 0.2);
    --hn-min-grid-border: rgba(0, 0, 0, 0.5);
    container-type: inline-size;
    container-name: hn-editorial;
    background: var(--hn-bg);
}

.holiday-notice-popup--editorial .holiday-notice-popup__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 clamp(12px, 2.5vw, 22px);
    padding: 0 4px 0;
    text-align: left;
    color: var(--hn-accent);
    font-family: var(--hn-editorial-month);
    font-size: clamp(1.5rem, 5.5vw, 2.1rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
}

.holiday-notice-popup--editorial .holiday-notice-popup__title-month {
    font-weight: 700;
    line-height: 1;
}

.holiday-notice-popup--editorial .holiday-notice-popup__title-year {
    flex-shrink: 0;
    font-family: var(--hn-editorial-month);
    font-size: clamp(0.95rem, 2.2vw, 1.2rem);
    font-weight: 600;
    line-height: 1;
    padding-bottom: 0;
    color: var(--hn-accent);
}

.holiday-notice-popup .hc--notice-editorial {
    width: 100%;
    --hn-min-cell-h: 64px;
}

.holiday-notice-popup .hc--notice-editorial .hc-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-family: var(--hn-weekday, 'Inter', var(--hn-sans));
    font-size: clamp(0.72rem, 1.9vw, 0.875rem);
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #000000;
    padding: 12px 0;
    margin: 0;
    border: none;
    border-top: 2px solid #000000;
}

.holiday-notice-popup .hc--notice-editorial .hc-weekdays span {
    display: block;
    padding: 0 2px;
}

.holiday-notice-popup .hc--notice-editorial .hc-weeks {
    border: 1px solid var(--hn-min-grid-border);
    border-top: 2px solid #000000;
    background: #ffffff;
}

.holiday-notice-popup .hc--notice-editorial .hc-week {
    position: relative;
    border: none;
    min-height: var(--hn-min-cell-h);
}

.holiday-notice-popup .hc--notice-editorial .hc-week__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    min-height: var(--hn-min-cell-h);
    border: none;
}

.holiday-notice-popup .hc--notice-editorial .hc-cell {
    position: relative;
    min-height: var(--hn-min-cell-h);
    padding: 8px 8px 10px;
    border: none;
    border-right: 1px solid var(--hn-min-line-week);
    border-bottom: 1px solid var(--hn-min-line-week);
    background: #ffffff;
    text-align: right;
}

.holiday-notice-popup .hc--notice-editorial .hc-cell:nth-child(7) {
    border-right: none;
}

.holiday-notice-popup .hc--notice-editorial .hc-week:last-child .hc-cell {
    border-bottom: none;
}

.holiday-notice-popup .hc--notice-editorial .hc-cell.is-outside {
    opacity: 1;
    background: #ffffff;
}

.holiday-notice-popup .hc--notice-editorial .hc-cell.is-outside .hc-day:empty {
    display: none;
}

.holiday-notice-popup .hc--notice-editorial .hc-cell.is-holiday {
    padding: 0;
    background: var(--hn-min-fill);
}

.holiday-notice-popup .hc--notice-editorial .hc-day {
    display: block;
    position: relative;
    z-index: 1;
    font-family: var(--hn-sans);
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    font-weight: 400;
    line-height: 1.2;
    text-align: right;
    color: var(--hn-min-ink);
    font-variant-numeric: tabular-nums;
}

.holiday-notice-popup .hc--notice-editorial .hc-cell.is-holiday .hc-day {
    position: absolute;
    top: 8px;
    right: 8px;
    width: auto;
    font-weight: 400;
    color: #ffffff;
}

.holiday-notice-popup .hc--notice-editorial .hc-cell-label,
.holiday-notice-popup .hc--notice-editorial .hc-label {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--hn-sans);
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    font-weight: 400;
    line-height: 1.25;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.holiday-notice-popup .hc--notice-editorial .hc-cell.is-today .hc-day::after {
    display: none;
}

@media (max-width: 1024px) {
    .holiday-notice-popup--editorial .holiday-notice-popup__title {
        margin-bottom: 12px;
    }

    .holiday-notice-popup--editorial .holiday-notice-popup__title-month {
        font-size: clamp(1.625rem, 6.5vw, 2.25rem);
    }

    .holiday-notice-popup--editorial .holiday-notice-popup__title-year {
        font-size: 1.0625rem;
    }

    .holiday-notice-popup .hc--notice-editorial {
        --hn-min-cell-h: clamp(38px, calc((100dvh - 128px - 190px) / 5), 56px);
    }

    .holiday-notice-popup .hc--notice-editorial .hc-weekdays {
        padding: 8px 0;
        font-size: 0.6875rem;
    }

    .holiday-notice-popup .hc--notice-editorial .hc-cell {
        padding: 6px 6px 8px;
    }

    .holiday-notice-popup .hc--notice-editorial .hc-cell.is-holiday .hc-day {
        top: 5px;
        right: 5px;
    }

    .holiday-notice-popup .hc--notice-editorial .hc-day {
        font-size: 0.75rem;
    }

    .holiday-notice-popup .hc--notice-editorial .hc-cell-label,
    .holiday-notice-popup .hc--notice-editorial .hc-label {
        font-size: clamp(0.625rem, 1.8vw, 0.75rem);
    }
}

@media (max-width: 520px) {
    .holiday-notice-popup .hc--notice-editorial {
        --hn-min-cell-h: clamp(34px, calc((100dvh - 128px - 180px) / 5), 50px);
    }

    .holiday-notice-popup .hc--notice-editorial .hc-cell {
        padding: 4px 4px 6px;
    }

    .holiday-notice-popup .hc--notice-editorial .hc-cell.is-holiday .hc-day {
        top: 4px;
        right: 4px;
    }
}

@media (min-width: 1025px) {
    .holiday-notice-popup .hc--notice-editorial {
        --hn-min-cell-h: 70px;
    }
}


/* ?대Т ?앹뾽 ??移대뱶??(Figma 686:735 쨌 ?쇳꽣?뺢낵 ?숈씪 ?ㅼ??? */
.holiday-notice-popup--card {
    --hn-bg: #f8f8f8;
    --hn-card-gap: clamp(3px, 0.7vw, 6px);
    --hn-card-radius: clamp(8px, 2.2vw, 22px);
    --hn-card-cell-h: 64px;
    --hn-card-border: rgba(0, 0, 0, 0.4);
    --hn-card-ink: rgba(0, 0, 0, 0.7);
    --hn-card-holiday-ink: #ffffff;
    background: var(--hn-bg);
}

.holiday-notice-popup--card .holiday-notice-popup__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 clamp(12px, 2.5vw, 22px);
    padding: 0 4px 0;
    text-align: left;
    color: var(--hn-accent);
    font-family: var(--hn-sans);
    font-size: clamp(1.5rem, 5.5vw, 2.1rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
}

.holiday-notice-popup--card .holiday-notice-popup__title-month {
    font-weight: 700;
    line-height: 1;
}

.holiday-notice-popup--card .holiday-notice-popup__title-year {
    flex-shrink: 0;
    font-family: var(--hn-sans);
    font-size: clamp(0.95rem, 2.2vw, 1.2rem);
    font-weight: 600;
    line-height: 1;
    padding-bottom: 0;
    color: var(--hn-accent);
}

.holiday-notice-popup .hc--notice-card {
    width: 100%;
}

.holiday-notice-popup .hc--notice-card .hc-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--hn-card-gap);
    text-align: center;
    font-family: var(--hn-weekday, 'Inter', var(--hn-sans));
    font-size: clamp(0.72rem, 1.9vw, 0.875rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #000000;
    padding: 0 0 12px;
    margin: 0;
    border: none;
}

.holiday-notice-popup .hc--notice-card .hc-weekdays span {
    display: block;
    padding: 0 2px;
}

.holiday-notice-popup .hc--notice-card .hc-weeks {
    border: none;
    background: transparent;
}

.holiday-notice-popup .hc--notice-card .hc-week {
    position: relative;
    border: none;
    min-height: 0;
    margin: 0 0 var(--hn-card-gap);
}

.holiday-notice-popup .hc--notice-card .hc-week:last-child {
    margin-bottom: 0;
}

.holiday-notice-popup .hc--notice-card .hc-week__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--hn-card-gap);
    border: none;
    min-height: 0;
}

.holiday-notice-popup .hc--notice-card .hc-cell {
    position: relative;
    min-height: var(--hn-card-cell-h);
    padding: 8px 8px 10px;
    border: 1px solid var(--hn-card-border);
    border-radius: var(--hn-card-radius);
    background: transparent;
    text-align: center;
    box-sizing: border-box;
}

.holiday-notice-popup .hc--notice-card .hc-cell.is-outside {
    opacity: 1;
    background: transparent;
}

.holiday-notice-popup .hc--notice-card .hc-cell.is-outside .hc-day:empty {
    display: none;
}

.holiday-notice-popup .hc--notice-card .hc-day {
    display: block;
    position: relative;
    z-index: 1;
    font-family: var(--hn-sans);
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    color: var(--hn-card-ink);
    font-variant-numeric: tabular-nums;
}

.holiday-notice-popup .hc--notice-card .hc-cell.is-holiday {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 8px 6px 6px;
    background: var(--hn-min-fill, #000000);
    border-color: var(--hn-min-fill, #000000);
}

.holiday-notice-popup .hc--notice-card .hc-cell.is-holiday .hc-day {
    position: static;
    flex-shrink: 0;
    align-self: center;
    width: auto;
    font-weight: 500;
    text-align: center;
    color: #ffffff;
}

.holiday-notice-popup .hc--notice-card .hc-cell-label,
.holiday-notice-popup .hc--notice-card .hc-label {
    position: static;
    flex: 1;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    font-family: var(--hn-sans);
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    font-weight: 400;
    line-height: 1.25;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.holiday-notice-popup .hc--notice-card .hc-cell.is-today .hc-day::after {
    display: none;
}

@media (max-width: 1024px) {
    .holiday-notice-popup--card .holiday-notice-popup__title {
        margin-bottom: 12px;
    }

    .holiday-notice-popup--card .holiday-notice-popup__title-month {
        font-size: clamp(1.625rem, 6.5vw, 2.25rem);
    }

    .holiday-notice-popup--card .holiday-notice-popup__title-year {
        font-size: 1.0625rem;
    }

    .holiday-notice-popup--card {
        --hn-card-cell-h: clamp(38px, calc((100dvh - 128px - 190px) / 5), 56px);
        --hn-card-radius: clamp(6px, 2vw, 14px);
    }

    .holiday-notice-popup .hc--notice-card .hc-weekdays {
        padding-bottom: 8px;
        font-size: 0.6875rem;
    }

    .holiday-notice-popup .hc--notice-card .hc-cell {
        padding: 6px 6px 8px;
    }

    .holiday-notice-popup .hc--notice-card .hc-cell.is-holiday {
        padding: 5px 4px 4px;
    }

    .holiday-notice-popup .hc--notice-card .hc-day {
        font-size: 0.75rem;
    }

    .holiday-notice-popup .hc--notice-card .hc-cell-label,
    .holiday-notice-popup .hc--notice-card .hc-label {
        font-size: clamp(0.625rem, 1.8vw, 0.75rem);
    }
}

@media (max-width: 520px) {
    .holiday-notice-popup--card {
        --hn-card-cell-h: clamp(34px, calc((100dvh - 128px - 180px) / 5), 50px);
    }

    .holiday-notice-popup .hc--notice-card .hc-cell {
        padding: 4px 4px 6px;
    }

    .holiday-notice-popup .hc--notice-card .hc-cell.is-holiday {
        padding: 4px 3px 3px;
    }
}

@media (min-width: 1025px) {
    .holiday-notice-popup--card {
        --hn-card-cell-h: 70px;
    }
}


/* ===== 이벤트 팝업 — 리스트형 ===== */
.event-notice-popup {
    --ep-bg: #ffffff;
    --ep-accent: var(--primary, #000000);
    --ep-title: var(--primary, #000000);
    --ep-ink: #111111;
    --ep-text: #1a1a1a;
    --ep-muted: #8c9196;
    --ep-date: #6e7378;
    --ep-border: #d8dce0;
    --ep-line: #d1d5db;
    --ep-footer-bg: #4d4d4d;
    --ep-footer-ink: #ffffff;
    --ep-footer-muted: #ffffff;
    --ep-font: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ep-popup-max-w: 760px;
    --ep-popup-max-h: 720px;

    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: var(--ep-popup-max-w);
    max-height: min(92dvh, var(--ep-popup-max-h));
    margin: 0;
    padding: 0;
    background: var(--ep-bg);
    color: var(--ep-ink);
    font-family: var(--ep-font);
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    /* iframe쨌李??덈퉬 湲곗? 諛섏쓳??(酉고룷?몃쭔 ?볦쓣 ?뚮룄 1???곸슜) */
    container-type: inline-size;
    container-name: event-popup;
}

.event-notice-popup__grid {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: max-content;
    align-content: start;
    padding: 16px 20px 14px;
    -webkit-overflow-scrolling: touch;
}

.event-notice-popup__prices {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin: 0;
    padding: 0;
}

.event-notice-popup__price-original {
    font-size: 0.8125rem;
    font-weight: 400;
    color: #9aa0a6;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    text-decoration-color: #9aa0a6;
    white-space: nowrap;
    line-height: 1.4;
}

.event-notice-popup__price-original:empty {
    display: none;
}

.event-notice-popup__price-sale {
    font-size: 1.25rem;
    font-weight: 500;
    color: #111111;
    letter-spacing: -0.04em;
    white-space: nowrap;
    line-height: 1.15;
}

.event-notice-popup__price-sale:empty {
    display: none;
}

.event-notice-popup__tabs {
    flex-shrink: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
}

.event-notice-popup__tab {
    margin: 0;
    padding: 11px 5px;
    border: none;
    border-right: 1px solid var(--ep-border);
    background: var(--ep-bg);
    color: var(--ep-muted);
    font-family: var(--ep-font);
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.25;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.event-notice-popup__tab:last-child {
    border-right: none;
}

.event-notice-popup__tab.is-active {
    background: var(--ep-accent);
    color: #ffffff;
    font-weight: 600;
}

.event-notice-popup__footer {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 40px;
    padding: 0 18px;
    background: var(--ep-footer-bg, #4d4d4d);
    color: var(--ep-footer-ink, #ffffff);
}

.event-notice-popup__snooze {
    margin: 0;
    padding: 8px 0;
    border: none;
    background: none;
    color: var(--ep-footer-ink, #ffffff);
    font-family: var(--ep-font);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.3;
    cursor: pointer;
    text-align: left;
    white-space: nowrap;
    flex: 0 0 auto;
    -webkit-tap-highlight-color: transparent;
}

.event-notice-popup__snooze:hover {
    opacity: 0.88;
}

.event-notice-popup__footer .event-notice-popup__close {
    position: static;
    top: auto;
    right: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    color: var(--ep-footer-ink, #ffffff);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.event-notice-popup__footer .event-notice-popup__close:hover {
    opacity: 0.88;
}

.event-notice-popup__footer .event-notice-popup__close-icon {
    display: block;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
}

/* ?앹뾽 ?ㅼ젣 ?덈퉬 ??00px ???덉씠?꾩썐留?(?꾨쿋??570px ?깆뿉?쒕룄 ?뱀슜 湲???ш린 ?좎?) */
@container event-popup (max-width: 600px) {

    .event-notice-popup__tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .event-notice-popup__tab {
        flex: 1 0 auto;
        min-width: 4.5rem;
        padding: 10px 10px;
        border-right: 1px solid var(--ep-border);
    }

    .event-notice-popup__footer {
        min-height: 36px;
        height: 36px;
        max-height: 36px;
        padding: 0 16px;
        padding-bottom: 0;
        box-sizing: border-box;
    }
}

/* ?앹뾽 ?ㅼ젣 ?덈퉬 ??20px ??醫곸? ?붾㈃???묒? 湲??*/
@container event-popup (max-width: 420px) {

    .event-notice-popup__price-original {
        font-size: 0.75rem;
    }

    .event-notice-popup__price-sale {
        font-size: 1.0625rem;
    }

    .event-notice-popup__tab {
        font-size: 0.75rem;
    }

    .event-notice-popup__snooze {
        font-size: 0.75rem;
    }
}

/* 紐⑤컮?? ?앹뾽 ?믪씠 ??梨쀫큸 FAB ?щ갚 */
@media (max-width: 768px) {
    .event-notice-popup,
    .event-notice-popup--grid,
    .event-notice-popup--banner {
        max-height: min(var(--ds-popup-vh-mobile, calc(100dvh - 128px)), var(--ep-popup-max-h));
    }
}

/* 而⑦뀒?대꼫 荑쇰━ 誘몄???釉뚮씪?곗? ???덉씠?꾩썐留?*/

/* ?덉빟??誘몃━蹂닿린: ?볦? 李?721px+)?먯꽌留?3??怨좎젙 */


/* ===== 이벤트 팝업 — 분할형 (좌 이미지 + 우 가격) ===== */
.event-notice-popup--split {
    --ep-split-accent: var(--ep-accent, var(--primary, #000000));
    --ep-split-ink: rgba(42, 31, 27, 0.8);
    --ep-split-muted: rgba(0, 0, 0, 0.4);
    --ep-split-line: rgba(0, 0, 0, 0.18);
    --ep-popup-max-w: 900px;
    --ep-popup-fixed-h: min(92dvh, 640px);
    --ep-popup-max-h: var(--ep-popup-fixed-h);
    display: flex;
    flex-direction: column;
    font-family: var(--ep-font);
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.event-notice-popup--split:has(.visitor-popup-event-items:not(.hidden)) {
    height: var(--ep-popup-fixed-h);
    min-height: var(--ep-popup-fixed-h);
    max-height: var(--ep-popup-fixed-h);
}

.event-notice-popup--split .event-notice-popup__split-wrap {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.event-notice-popup--split:has(.visitor-popup-event-items:not(.hidden)) .event-notice-popup__split-wrap {
    flex: 1 1 auto;
    min-height: 0;
}

.event-notice-popup--split:has(.visitor-popup-event-items:not(.hidden)) .event-notice-popup__hero {
    align-self: stretch;
    min-height: 100%;
}

.event-notice-popup--split .event-notice-popup__main {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
}

/* 휴무 모드에서는 상단 타이틀 표시 */

.event-notice-popup--split .event-notice-popup__hero {
    position: relative;
    flex: 0 0 50%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #1a1a1a;
}

.event-notice-popup--split .event-notice-popup__hero.hidden {
    display: none;
}

.event-notice-popup--split .event-notice-popup__hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
}

.event-notice-popup--split .event-notice-popup__hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 32px 24px 40px;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    text-align: center;
}

.event-notice-popup--split .event-notice-popup__hero-vat {
    position: absolute;
    top: 28px;
    left: 28px;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.43;
    opacity: 0.95;
    text-align: left;
}

.event-notice-popup--split .event-notice-popup__hero-vat:empty {
    display: none;
}

/* Monik ???덉뼱濡?釉뚮옖????댄? (Figma) */
.event-notice-popup--split .event-notice-popup__hero-brand {
    margin: 0 0 5px;
    font-family: 'Monik', Georgia, 'Times New Roman', serif;
    font-size: clamp(2.25rem, 10cqw, 4rem);
    font-weight: 700;
    line-height: 1.01;
    letter-spacing: 0.01em;
}

.event-notice-popup--split .event-notice-popup__hero-brand-line {
    display: block;
}

.event-notice-popup--split .event-notice-popup__hero-subtitle {
    margin: 0 0 24px;
    font-size: clamp(0.9375rem, 3.6cqw, 1.25rem);
    line-height: 1.51;
}

.event-notice-popup--split .event-notice-popup__hero-subtitle:empty {
    display: none;
}

.event-notice-popup--split .event-notice-popup__hero-period {
    margin: 10px 0 0;
    font-size: clamp(0.8125rem, 2.4cqw, 1rem);
    line-height: 1.51;
    color: rgba(255, 255, 255, 0.7);
}

.event-notice-popup--split .event-notice-popup__hero-period:empty {
    display: none;
}

.event-notice-popup--split .visitor-popup-body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.event-notice-popup--split .visitor-popup-event-items {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.event-notice-popup--split .event-notice-popup__split-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--ep-split-line);
}

.event-notice-popup--split .event-notice-popup__split-row:last-child {
    border-bottom: none;
}

.event-notice-popup--split .event-notice-popup__split-row-title {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    align-self: center;
    font-size: clamp(0.8125rem, 2.6cqw, 1rem);
    font-weight: 500;
    line-height: 1.43;
    color: #000;
}

.event-notice-popup--split .event-notice-popup__split-row-prices {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    align-self: center;
    gap: 2px;
    min-width: 108px;
}

.event-notice-popup--split .event-notice-popup__split-row-prices .event-notice-popup__prices {
    justify-content: center;
}

.event-notice-popup--split .event-notice-popup__split-row-prices .event-notice-popup__price-original {
    font-size: 0.8125rem;
    color: #7c7c7c;
    text-decoration: line-through;
}

.event-notice-popup--split .event-notice-popup__split-row-prices .event-notice-popup__price-sale {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ep-split-accent);
}

.event-notice-popup--split .event-notice-popup__tabs {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    align-self: stretch;
}

@media (max-width: 900px) {

    .event-notice-popup--split .event-notice-popup__split-wrap {
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
    }

    .event-notice-popup--split .event-notice-popup__main {
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
    }

    .event-notice-popup--split:has(.visitor-popup-event-items:not(.hidden)) .event-notice-popup__hero {
        align-self: auto;
        width: 100%;
        position: relative;
        overflow: hidden;
    }

    .event-notice-popup--split:has(.visitor-popup-event-items:not(.hidden)) .event-notice-popup__hero-img {
        inset: 0;
    }

    .event-notice-popup--split .event-notice-popup__hero-overlay {
        position: absolute;
        inset: 0;
        flex: none;
        justify-content: flex-end;
        align-items: center;
        padding: 16px 14px 20px;
        min-height: 0;
        box-sizing: border-box;
        gap: 6px;
    }

    .event-notice-popup--split .event-notice-popup__hero-vat {
        top: 14px;
        left: 14px;
        font-size: 0.6rem;
    }

    .event-notice-popup--split .event-notice-popup__hero-brand {
        margin: 0;
        font-size: clamp(1.625rem, 8.5vw, 2.375rem);
    }

    .event-notice-popup--split .event-notice-popup__hero-subtitle {
        margin: 0;
        font-size: clamp(0.8125rem, 3.8vw, 1rem);
    }

    .event-notice-popup--split .event-notice-popup__hero-period {
        margin-top: 10px;
        font-size: 0.75rem;
    }

    .event-notice-popup--split .event-notice-popup__split-row {
        gap: 10px;
        padding: 7px 0;
    }

    .event-notice-popup--split .event-notice-popup__split-row-title {
        font-size: 0.78125rem;
    }

    .event-notice-popup--split .event-notice-popup__split-row-prices {
        min-width: 88px;
        gap: 2px;
    }

    .event-notice-popup--split .event-notice-popup__split-row-prices .event-notice-popup__price-original {
        font-size: 0.75rem;
    }

    .event-notice-popup--split .event-notice-popup__split-row-prices .event-notice-popup__price-sale {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .event-notice-popup--split .event-notice-popup__hero-overlay {
        min-height: clamp(180px, 48vw, 220px);
        padding: 18px 14px;
    }

    .event-notice-popup--split .event-notice-popup__split-row {
        gap: 8px;
        padding: 6px 0;
    }

    .event-notice-popup--split .event-notice-popup__split-row-prices {
        min-width: 76px;
    }
}


/* ?대깽???앹뾽 ??媛濡쒗삎(由ъ뒪?? ?덉씠?꾩썐 */

/* 媛濡쒗삎 ???앹뾽 ?덈퉬 ??00px: ?ㅽ겕濡ㅒ룹쨪諛붽퓞留?(570px ?꾨쿋?쒖뿉?쒕룄 湲곕낯 湲???ш린) */

/* 媛濡쒗삎 ???앹뾽 ?덈퉬 ??20px: ?묒? 湲?먃룹뭅???몃줈 ?볤린 */


:root {
    --hc-bg: #eae7e1;
    --hc-ink: #111111;
    --hc-line: rgba(17, 17, 17, 0.22);
    --hc-font: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.hidden { display: none !important; }

/* Calendar base (holiday-calendar.js 怨듯넻) */

.hc-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(17, 17, 17, 0.55);
    margin-bottom: 4px;
}

.hc-weeks { border-top: 1px solid var(--hc-line); }

.hc-week {
    position: relative;
    border-bottom: 1px solid var(--hc-line);
    min-height: 80px;
}

.hc-week__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    min-height: 80px;
}

.hc-cell {
    position: relative;
    padding: 8px 6px 46px;
    min-height: 80px;
}

.hc-cell.is-outside { opacity: 0.28; }

.hc-cell.is-today .hc-day::after {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--hc-ink);
}

.hc-day {
    position: relative;
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
}

/* ===== 팝업 전용 레이아웃 (미리보기 셸) ===== */

.schedule-popup-layer {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(12px, env(safe-area-inset-top))
        max(12px, env(safe-area-inset-right))
        max(12px, env(safe-area-inset-bottom))
        max(12px, env(safe-area-inset-left));
    box-sizing: border-box;
    background: transparent;
    pointer-events: none;
}

/* ===== 방문 안내 팝업 (휴무·이벤트 패널 포함) ===== */
.schedule-popup-layer .holiday-notice-popup,
.schedule-popup-layer .event-notice-popup,
.schedule-popup-layer .visitor-notice-popup {
    pointer-events: auto;
}

#schedule-popup-layer,
#visitor-popup-layer {
    padding-left: max(8px, env(safe-area-inset-left));
    padding-right: max(8px, env(safe-area-inset-right));
}

/* split + event tab */

/* split + holiday tab */

.visitor-popup-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.visitor-notice-popup:has(.visitor-popup-holiday-panel:not(.hidden)) .visitor-popup-body {
    flex: 0 1 auto;
    min-height: auto;
    overflow: visible;
}

.visitor-popup-holiday-panel {
    flex: 0 1 auto;
    min-height: auto;
    overflow: visible;
    padding: 12px 12px 14px;
}

.visitor-notice-popup .visitor-popup-holiday-panel.holiday-notice-popup {
    --hn-cell-pad-y: 6px;
    background: transparent;
}

.visitor-notice-popup .visitor-popup-holiday-panel.holiday-notice-popup--minimal {
    --hn-bg: #fdfbf1;
    background: var(--hn-bg);
}

.visitor-notice-popup .visitor-popup-holiday-panel.holiday-notice-popup--editorial {
    --hn-bg: #f7f6f3;
    --hn-min-cell-h: 64px;
    container-type: inline-size;
    container-name: hn-editorial;
    background: var(--hn-bg);
}

.visitor-notice-popup .visitor-popup-holiday-panel.holiday-notice-popup--card {
    --hn-bg: #f8f8f8;
    background: var(--hn-bg);
}

.visitor-notice-popup .visitor-popup-holiday-panel.holiday-notice-popup--card .holiday-notice-popup__calendar {
    padding: 0 4px 4px;
}

.visitor-notice-popup .visitor-popup-holiday-panel.holiday-notice-popup--card .holiday-notice-popup__title {
    margin: 0 0 clamp(12px, 2.5vw, 22px);
    padding: 0 4px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    border-bottom: none;
}

.visitor-notice-popup .visitor-popup-holiday-panel.holiday-notice-popup--card .holiday-notice-popup__title-month {
    font-size: clamp(1.5rem, 5.5vw, 2.1rem);
    font-weight: 700;
    line-height: 1;
}

.visitor-notice-popup .visitor-popup-holiday-panel.holiday-notice-popup--card .holiday-notice-popup__title-year {
    font-size: clamp(0.95rem, 2.2vw, 1.2rem);
    font-weight: 600;
    line-height: 1;
    padding-bottom: 0;
}

/* tabs scroll behavior */
.visitor-notice-popup .event-notice-popup__tabs:not([data-scrollbar]) {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #6e7378 rgba(0, 0, 0, 0.12);
}

.visitor-notice-popup .event-notice-popup__tabs[data-scrollbar] {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-shrink: 0;
    overflow: hidden !important;
    background: var(--ep-bg);
    box-sizing: border-box;
}

.visitor-notice-popup .event-notice-popup__tabs .scroll-content {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex: 0 0 auto;
    width: max-content;
    min-width: 100%;
    box-sizing: border-box;
}

.visitor-notice-popup .event-notice-popup__tab {
    flex: 0 0 auto;
    margin: 0;
    padding: 10px 12px;
    border: none;
    border-right: 1px solid var(--ep-split-line, var(--ep-border, #d8dce0));
    background: var(--ep-bg);
    white-space: nowrap;
    text-align: center;
    line-height: 1.25;
    font-size: 0.75rem;
}

.visitor-notice-popup .event-notice-popup__tab.is-active {
    position: relative;
    z-index: 1;
    border-right: none;
    background: var(--ep-accent, var(--primary, #000000));
    color: #ffffff;
    font-weight: 600;
}

.visitor-notice-popup .event-notice-popup__footer {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    min-height: 32px;
    height: 32px;
    max-height: 32px;
    margin-top: 0;
    padding: 0 16px;
    box-sizing: border-box;
    overflow: hidden;
    pointer-events: none;
    background: var(--ep-footer-bg, #4d4d4d) !important;
    color: var(--ep-footer-ink, #ffffff) !important;
    border-top: none;
}

.visitor-notice-popup .event-notice-popup__footer button {
    pointer-events: auto;
}

.visitor-notice-popup .event-notice-popup__snooze {
    color: #ffffff !important;
    flex: 0 0 auto;
    min-width: 0;
    padding: 0;
    white-space: nowrap;
    font-size: 0.75rem;
    line-height: 1.2;
}

.visitor-notice-popup .event-notice-popup__footer .event-notice-popup__close {
    color: var(--ep-footer-ink, #ffffff) !important;
    width: 28px;
    height: 28px;
    min-height: 28px;
}

.event-notice-popup--split .event-notice-popup__footer {
    flex-shrink: 0;
    min-height: 32px;
    height: 32px;
    max-height: 32px;
    padding: 0 16px;
    border-top: 1px solid var(--ep-split-line);
    background: var(--ep-footer-bg, #4d4d4d);
    color: var(--ep-footer-ink, #ffffff);
    box-sizing: border-box;
}

@media (max-width: 900px) {

    .visitor-notice-popup .event-notice-popup__snooze,
    .event-notice-popup--split .event-notice-popup__snooze {
        padding: 0;
        font-size: 0.6875rem;
    }

    .visitor-notice-popup .event-notice-popup__footer .event-notice-popup__close,
    .event-notice-popup--split .event-notice-popup__footer .event-notice-popup__close {
        width: 28px;
        height: 28px;
        min-height: 28px;
    }
}

@media (max-width: 1024px) {
    :root {
        --ds-popup-mobile-bottom-gap: 128px;
        --ds-popup-vh-mobile: calc(100dvh - var(--ds-popup-mobile-bottom-gap));
        --ds-popup-max-h-split: min(var(--ds-popup-vh-mobile), 520px, 78dvh);
    }
}


/* ===== 팝업 미리보기 셸 (#view-popup) ===== */

#view-popup.popup-embed {
  width: 100%;
  min-height: 100vh;
  background: #f4f5f7;
}

/* 홈페이지 합성: 본문을 밀지 않고 fixed 오버레이만 — 항상 정중앙 */
#view-popup.popup-embed.popup-embed--on-homepage,
[id^="view-popup-"].popup-embed.popup-embed--on-homepage {
  position: fixed;
  inset: 0;
  width: auto;
  min-height: 0;
  height: auto;
  background: transparent;
  pointer-events: none;
  z-index: 10050;
}

#view-popup.popup-embed--on-homepage .schedule-popup-layer,
#view-popup.popup-embed--visitor.popup-embed--on-homepage .schedule-popup-layer {
  background: rgba(17, 24, 39, 0.42);
  pointer-events: auto;
}

#view-popup-visitor.popup-embed--on-homepage .schedule-popup-layer,
#view-popup.popup-embed--visitor .schedule-popup-layer,
#view-popup-visitor .schedule-popup-layer {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top))
    max(12px, env(safe-area-inset-right))
    max(12px, env(safe-area-inset-bottom))
    max(12px, env(safe-area-inset-left));
  box-sizing: border-box;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#view-popup-chatbot.popup-embed--on-homepage {
  z-index: 1100;
}

/* 전체 화면 레이어는 클릭 통과 — 카드/챗봇 패널만 수신 (헤더·메뉴 클릭 차단 방지) */
[id^="view-popup-"].popup-embed--on-homepage .schedule-popup-layer {
  pointer-events: none;
}
[id^="view-popup-"].popup-embed--on-homepage .schedule-popup-layer .visitor-notice-popup,
[id^="view-popup-"].popup-embed--on-homepage .schedule-popup-layer .event-notice-popup,
[id^="view-popup-"].popup-embed--on-homepage .schedule-popup-layer .holiday-notice-popup,
[id^="view-popup-"].popup-embed--on-homepage .popup-chat-preview {
  pointer-events: auto;
}

/* 휴무·이벤트 공통: 전체 라운드 + 뷰포트 맞춤 */
[id^="view-popup-"].popup-embed--on-homepage .visitor-notice-popup.event-notice-popup--split,
#view-popup-visitor .visitor-notice-popup,
#view-popup.popup-embed--visitor .visitor-notice-popup {
  width: min(900px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  max-height: min(92dvh, calc(100dvh - 24px));
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(17, 24, 39, 0.18);
  box-sizing: border-box;
}

[id^="view-popup-"].popup-embed--on-homepage .visitor-notice-popup.event-notice-popup--split:has(.visitor-popup-event-items:not(.hidden)),
#view-popup-visitor .visitor-notice-popup.event-notice-popup--split:has(.visitor-popup-event-items:not(.hidden)) {
  width: min(var(--ds-popup-w-split, 900px), calc(100vw - 24px)) !important;
  max-width: min(var(--ds-popup-w-split, 900px), calc(100vw - 24px)) !important;
  height: min(var(--ep-popup-fixed-h, 640px), calc(100dvh - 24px)) !important;
  max-height: min(92dvh, calc(100dvh - 24px)) !important;
  min-height: 0 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

[id^="view-popup-"].popup-embed--on-homepage .visitor-notice-popup.event-notice-popup--split:has(.visitor-popup-holiday-panel:not(.hidden)),
#view-popup-visitor .visitor-notice-popup.event-notice-popup--split:has(.visitor-popup-holiday-panel:not(.hidden)),
#view-popup.popup-embed--visitor .visitor-notice-popup:has(.visitor-popup-holiday-panel:not(.hidden)) {
  width: min(var(--ds-popup-w-holiday, 610px), calc(100vw - 24px)) !important;
  max-width: min(var(--ds-popup-w-holiday, 610px), calc(100vw - 24px)) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: min(92dvh, calc(100dvh - 24px)) !important;
  overflow: hidden !important;
  border-radius: 10px !important;
  display: flex;
  flex-direction: column;
}

[id^="view-popup-"].popup-embed--on-homepage .visitor-notice-popup.event-notice-popup--split:has(.visitor-popup-holiday-panel:not(.hidden)) .event-notice-popup__split-wrap,
#view-popup-visitor .visitor-notice-popup.event-notice-popup--split:has(.visitor-popup-holiday-panel:not(.hidden)) .event-notice-popup__split-wrap,
#view-popup.popup-embed--visitor .visitor-notice-popup:has(.visitor-popup-holiday-panel:not(.hidden)) .event-notice-popup__split-wrap {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

[id^="view-popup-"].popup-embed--on-homepage .visitor-notice-popup.event-notice-popup--split:has(.visitor-popup-holiday-panel:not(.hidden)) .visitor-popup-body,
#view-popup-visitor .visitor-notice-popup.event-notice-popup--split:has(.visitor-popup-holiday-panel:not(.hidden)) .visitor-popup-body,
#view-popup.popup-embed--visitor .visitor-notice-popup:has(.visitor-popup-holiday-panel:not(.hidden)) .visitor-popup-body {
  flex: 0 1 auto !important;
  min-height: auto !important;
  overflow: visible !important;
}

/* 휴무 패널: 단독 팝업용 패딩/그림자 제거 + 셀 높이 축소 */
.visitor-notice-popup .visitor-popup-holiday-panel.holiday-notice-popup {
  --hn-cell-h: clamp(36px, 7vw, 52px);
  --hn-min-cell-h: clamp(38px, 7.5vw, 56px);
  max-width: none;
  max-height: none;
  width: 100%;
  margin: 0;
  padding: 12px 12px 14px;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

@media (max-width: 900px) {
  #view-popup-visitor.popup-embed--on-homepage .schedule-popup-layer,
  #view-popup-visitor .schedule-popup-layer,
  #view-popup.popup-embed--visitor .schedule-popup-layer,
  [id^="view-popup-"].popup-embed--on-homepage .schedule-popup-layer {
    align-items: center;
    justify-content: center;
    padding: max(12px, env(safe-area-inset-top))
      max(12px, env(safe-area-inset-right))
      max(12px, env(safe-area-inset-bottom))
      max(12px, env(safe-area-inset-left));
  }

  [id^="view-popup-"].popup-embed--on-homepage .visitor-notice-popup.event-notice-popup--split:has(.visitor-popup-event-items:not(.hidden)),
  #view-popup-visitor .visitor-notice-popup.event-notice-popup--split:has(.visitor-popup-event-items:not(.hidden)),
  body.embed--popup-only .visitor-notice-popup.event-notice-popup--split:has(.visitor-popup-event-items:not(.hidden)) {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 24px) !important;
  }

  [id^="view-popup-"].popup-embed--on-homepage .visitor-notice-popup.event-notice-popup--split:has(.visitor-popup-holiday-panel:not(.hidden)),
  #view-popup-visitor .visitor-notice-popup.event-notice-popup--split:has(.visitor-popup-holiday-panel:not(.hidden)),
  #view-popup.popup-embed--visitor .visitor-notice-popup:has(.visitor-popup-holiday-panel:not(.hidden)),
  body.embed--popup-only .visitor-notice-popup.event-notice-popup--split:has(.visitor-popup-holiday-panel:not(.hidden)) {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 24px) !important;
  }

  .event-notice-popup--split:has(.visitor-popup-event-items:not(.hidden)) {
    --ep-popup-fixed-h: calc(100dvh - 24px);
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 24px) !important;
  }

  .event-notice-popup--split:has(.visitor-popup-event-items:not(.hidden)) .event-notice-popup__hero {
    flex: 0 0 auto;
    height: clamp(160px, 36vw, 220px);
    max-height: 36dvh;
    min-height: 140px;
  }

  .event-notice-popup--split:has(.visitor-popup-event-items:not(.hidden)) .event-notice-popup__hero-img {
    position: absolute;
  }

  .event-notice-popup--split:has(.visitor-popup-event-items:not(.hidden)) .event-notice-popup__hero-overlay {
    position: absolute;
    min-height: 0;
    padding: 16px 14px 20px;
  }

  .event-notice-popup--split:has(.visitor-popup-event-items:not(.hidden)) .visitor-popup-event-items {
    min-height: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }

  .visitor-notice-popup .visitor-popup-holiday-panel.holiday-notice-popup {
    --hn-cell-h: clamp(32px, calc((100dvh - 220px) / 7), 48px);
    --hn-min-cell-h: clamp(36px, calc((100dvh - 220px) / 7), 52px);
    padding: 12px 10px 14px;
  }

  .visitor-notice-popup .visitor-popup-holiday-panel .holiday-notice-popup__title {
    margin-bottom: 12px;
    padding: 0 8px;
    align-items: center;
  }

  .visitor-notice-popup .visitor-popup-holiday-panel .holiday-notice-popup__title-month {
    font-size: clamp(1.3rem, 5.5vw, 1.75rem);
    font-weight: 700;
  }

  .visitor-notice-popup .event-notice-popup__tabs {
    flex-shrink: 0;
  }

  .visitor-notice-popup .event-notice-popup__tab {
    min-height: 0;
    height: auto;
    padding: 10px 16px;
    font-size: 0.8125rem;
  }

  .visitor-notice-popup .event-notice-popup__footer,
  .event-notice-popup--split .event-notice-popup__footer {
    flex-shrink: 0;
    min-height: 36px !important;
    height: 36px !important;
    max-height: 36px !important;
    padding: 0 14px !important;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 480px) {
  .event-notice-popup--split:has(.visitor-popup-event-items:not(.hidden)) .event-notice-popup__hero {
    height: clamp(140px, 42vw, 180px);
    max-height: 28dvh;
  }

  .event-notice-popup--split .event-notice-popup__hero-brand {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  .visitor-notice-popup .visitor-popup-holiday-panel.holiday-notice-popup {
    --hn-cell-h: clamp(28px, calc((100dvh - 240px) / 7), 40px);
    --hn-min-cell-h: clamp(30px, calc((100dvh - 240px) / 7), 44px);
    padding: 10px 8px 12px;
  }

  .visitor-notice-popup .event-notice-popup__tab {
    min-height: 0;
    height: auto;
    padding: 10px 14px;
    font-size: 0.8125rem;
  }
}

.visitor-notice-popup .hidden,
.event-notice-popup__hero.hidden,
.visitor-popup-holiday-panel.hidden,
.visitor-popup-event-items.hidden,
#visitor-popup-category-tabs.hidden,
#visitor-popup-event-header.hidden {
  display: none !important;
}

.quick-social-icon .title-wrap.js-open-holiday-popup,
.quick-social-icon .title-wrap.js-open-chatbot-popup {
  /* button UA만 초기화 — font/weight inherit 하면 .title-wrap(600/15px)이 덮임 */
  color: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.popup-embed--chatbot .popup-chat-preview__fab.is-hidden,
.popup-embed--chatbot-menu .popup-chat-preview__fab {
  display: none !important;
}

#view-popup.popup-embed--visitor .schedule-popup-layer {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

#view-popup.popup-embed--visitor .visitor-notice-popup {
  width: min(900px, calc(100vw - 24px));
  border-radius: 14px;
  box-shadow: 0 24px 50px rgba(17, 24, 39, 0.18);
}

#view-popup.popup-embed--visitor .visitor-notice-popup:has(.visitor-popup-holiday-panel:not(.hidden)) {
  width: min(var(--ds-popup-w-holiday, 610px), calc(100vw - 24px));
  max-width: min(var(--ds-popup-w-holiday, 610px), calc(100vw - 24px));
}

/* ===== 챗봇 FAB 팝업 ===== */
.popup-embed--chatbot {
  position: relative;
}

.popup-embed--chatbot .popup-chat-preview {
  position: fixed;
  right: var(--chat-fab-right, 20px);
  bottom: var(--chat-fab-bottom, 20px);
  z-index: 40;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 12px;
}

/* 퀵메뉴에서 열 때: SNS 실제 위치(--quick-*) 기준으로 왼쪽·위에 배치 */
.popup-embed--chatbot.popup-embed--chatbot-menu .popup-chat-preview,
.popup-embed--chatbot-menu .popup-chat-preview {
  z-index: 1200 !important;
  /* 퀵메뉴 레일(143px) + FAB 왼쪽 여백 */
  right: calc(var(--quick-right, 20px) + 143px + 16px) !important;
  /* 퀵메뉴 bottom과 맞춤 — 옆이라 세로로는 같은 기준 */
  bottom: var(--quick-bottom, 20px) !important;
}

@media (max-width: 767px) {
  .popup-embed--chatbot.popup-embed--chatbot-menu .popup-chat-preview,
  .popup-embed--chatbot-menu .popup-chat-preview {
    /* 모바일: 옆으로 두면 폭 부족 → FAB(32) + top버튼 여유 위로 */
    right: max(12px, var(--quick-mobile-right, 16px)) !important;
    bottom: calc(var(--quick-mobile-bottom, 16px) + 32px + 52px) !important;
  }
}

.popup-embed--chatbot .popup-chat-preview__fab {
  width: var(--chat-fab-size, 56px);
  height: var(--chat-fab-size, 56px);
  border-radius: 50%;
  border: 0;
  background: var(--chat-fab-color, var(--primary, #000000));
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--chat-fab-color, var(--primary, #000000)) 35%, transparent);
}

.popup-embed--chatbot .popup-chat-preview__panel {
  display: none;
  position: relative;
  width: min(var(--chat-panel-width, 380px), calc(100vw - 24px));
  height: min(var(--chat-panel-height, 52vh), 560px);
  border-radius: 14px;
  background: #f2f4f6;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
  overflow: hidden;
  flex-direction: column;
}

.popup-embed--chatbot .popup-chat-preview.is-open .popup-chat-preview__panel {
  display: flex;
}

.popup-embed--chatbot .popup-chat-preview__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.popup-embed--chatbot .popup-chat-preview__close:hover {
  background: rgba(15, 23, 42, 0.12);
}

.popup-embed--chatbot .popup-chat-preview__panel .embed-view--chat {
  flex: 1;
  min-height: 0;
  height: 100%;
}

.popup-embed--chatbot .popup-chat-preview__panel .chat-container {
  max-width: none;
  height: 100%;
  box-shadow: none;
}

/* 공개 홈페이지 — 방문 팝업 껍데기 */


/* /templates/css/shared/titles.css */
/* A 등 — 데스크톱 제목이 --fs-title(32px)이 아닌 섹션의 모바일만 여기서 맞춤 */

@media (max-width: 768px) {
  .main_about_a__title,
  .main_program .tit-02,
  .main_atcl_title > .txt01,
  .main-solution__title,
  .main_why_a .section-header-title-1 {
    font-size: var(--fs-title, 24px);
  }
}


/* /templates/css/main/banner.css */
/* main / banner shared */

/* ============================================
   히어로 — 풀스크린 배경·인트로 오버레이 (공통)
   ============================================ */

.main-banner-section {
    height: 100dvh;
    min-height: 100vh;
    position: relative;
    /* 배경은 병원 배너 이미지를 인라인으로 넣습니다 (예전 main_bg.png 는 없는 파일이라 404 가 났음) */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.main-banner-scroll-overlay {
    transition: background-color 0.3s ease;
    z-index: 1;
}

/* ??? ?? ???????????*/

/* 모바일 메인 배너: 화면 절반 높이, 아래 빈 공간 없이 (A·B 공통) */
@media (max-width: 768px) {
    .main-banner-section {
        height: 50dvh !important;
        min-height: 360px !important;
    }
}


/* /templates/css/main/program.css */
/* main / program */

/* ============================================
   프로그램 (main-program) — 공통, B타입 정렬은 아래
   ============================================ */
.main_program {
    background: none;
    overflow: hidden;
    padding: 128px 0;
}

.main_program .tits {
    text-align: center;
}

.main_program .tit-01 {
    font-size: var(--fs-body, 18px);
    font-weight: 500;
    font-family: 'Pretendard', sans-serif;
    margin: 0;
}

.main_program .tit-02 {
    color: #111;
    font-size: 35px;
    font-family: 'Marcellus', 'Cormorant', serif;
    font-weight: 400;
    margin-top: 1.6rem;
    letter-spacing: 0.08em;
}

.main_program .inner {
    max-width: 1670px;
    padding-left: 1rem;
    margin: 4rem auto 0;
    position: relative;
}

.swiper-slide--empty,
.main_atcl_slider--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.main_program .custom-tabs {
    position: relative;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.main_program .custom-tabs-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    width: auto;
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.main_program .custom-tabs-list::-webkit-scrollbar {
    display: none;
}

.main_program .custom-tab-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    white-space: nowrap;
    padding: 12px 30px;
    padding-top: 0;
    font-size: 17px;
    font-weight: 500;
    color: #a3a3a3;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.main_program .custom-tab-btn:hover {
    color: var(--color-primary);
}

.main_program .custom-tab-btn.active {
    color: var(--color-primary);
    font-weight: 600;
    border-bottom-color: var(--color-primary);
}

.main_program .custom-tab-panel {
    display: none;
}

.main_program .custom-tab-panel.active {
    display: block;
}

.main_program .custom-programs-swiper {
    overflow: hidden;
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
    position: relative;
}

.main_program .custom-programs-swiper .swiper-wrapper {
    display: flex;
    margin-bottom: 32px;
    align-items: stretch;
    height: auto;
}

.main_program .custom-programs-swiper .swiper-slide {
    width: 400px !important;
    max-width: 400px;
    box-sizing: border-box;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
    height: auto;
    background: none;
    cursor: grab;
}

/* ????? document.write ?? Swiper ?????? ?? ?? ?? */
.main_program .custom-programs-swiper:not(.swiper-initialized) .swiper-slide {
    margin-right: 16px;
}

.main_program .custom-programs-swiper:not(.swiper-initialized) .swiper-slide:last-child {
    margin-right: 0;
}

.main_program .custom-card {
    display: flex;
    flex-direction: column;
    margin-top: 12px;
    min-height: 200px;
    height: auto;
    border: 1px solid #E5E5E5;
    background: #fff;
    padding: 24px 16px 16px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.main_program .custom-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.main_program .custom-card-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'Pretendard', sans-serif;
    color: #333;
}

.main_program .custom-card-desc {
    flex-grow: 1;
    min-height: 0;
    margin: 0;
    overflow: hidden;
}

/* 카드가 flex라 p에 line-clamp를 주면 display가 풀립니다. 안쪽 글자만 2줄로 자릅니다 */
.main_program .custom-card-desc-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    font-size: 16px;
    font-weight: 500;
    color: #a3a3a3;
    line-height: 1.6;
    /* 한글이 단어 중간에서 끊기지 않게 */
    word-break: keep-all;
}

.main_program .custom-card-price {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin-top: auto;
}

.main_program .custom-card-price-value {
    font-family: 'Pretendard', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.5;
}

.main_program .custom-card-price-suffix {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.5;
    margin-top: 2px;
}

.main_program .custom-swiper-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    opacity: 0.7;
    margin-top: 16px;
}

.main_program .custom-swiper-prev,
.main_program .custom-swiper-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #817F7D;
    background: none;
    cursor: pointer;
    color: #3F261B;
    opacity: 0.7;
    transition: background-color 0.3s ease;
}

.main_program .custom-swiper-prev:hover,
.main_program .custom-swiper-next:hover {
    background-color: rgba(51, 31, 76, 0.15);
}

/* program.css 는 공통이라 A타입 타이틀 색만 따로 줍니다 */
html.main-template-a .main_program .tit-02,
body.main-template-a .main_program .tit-02 {
    color: #677D7B;
}

/* ----- B타입 프로그램 — 타이틀·탭 왼쪽 정렬 ----- */
.main-template-b .main_program .tits {
    text-align: left;
    max-width: 1670px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}

.main-template-b .main_program .custom-tabs {
    justify-content: flex-start;
}

.main-template-b .main_program .custom-tabs-list {
    justify-content: flex-start;
    margin: 0;
}

@media screen and (max-width: 768px) {
  .main_program {
    padding: 64px 0;
  }

  .main_program .custom-tabs-list {
    justify-content: center;
  }

  .main_program .tits {
    padding: 0 1.25rem;
  }

  .main-template-b .main_program .tits {
    text-align: left;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .main-template-b .main_program .custom-tabs-list {
    justify-content: flex-start;
  }

  .main_program .tit-02 {
    font-size: var(--fs-title, 32px);
    margin-top: 1rem;
  }

  .main_program .inner {
    width: 94%;
    margin: 2rem auto 0;
    padding: 0 1rem;
  }

  .main_program .custom-tab-btn {
    font-size: 13px;
    padding: 10px 12px;
    padding-top: 0;
  }

  .main_program .custom-programs-swiper {
    margin: 0 -1rem;
  }

  .main_program .custom-programs-swiper .swiper-slide {
    width: 85% !important;
    max-width: 85%;
    min-width: unset;
  }

  .main_program .custom-programs-swiper:not(.swiper-initialized) .swiper-slide {
    margin-right: 12px;
  }

  .main_program .custom-card-title {
    font-size: 15px;
  }

  .main_program .custom-card-desc-text {
    font-size: 14px;
  }

  .main_program .custom-card-price-value {
    font-size: 16px;
  }

  .main_program .custom-card-price-suffix {
    font-size: 14px;
  }
}


/* ----- 카드가 화면 안에 다 들어오면(넘길 게 없으면) 가운데 정렬 -----
 * Swiper 8 은 넘길 카드가 없으면 좌우 버튼에 swiper-button-lock 을 붙입니다 (컨테이너에는 안 붙음) */
.main_program .custom-programs-swiper.swiper-lock .swiper-wrapper,
.main_program .custom-tab-panel:has(.swiper-button-lock) .custom-programs-swiper .swiper-wrapper {
    /* 'safe' 는 카드가 칸보다 조금이라도 넓으면 가운데 정렬을 풀어 왼쪽부터 놓습니다 (안 그러면 첫 카드가 왼쪽으로 밀려 테두리가 잘림) */
    justify-content: safe center;
}

/* Swiper 는 마지막 카드 뒤 간격을 빼고 '넘칠 게 없다'고 보는데, 실제로는 카드마다 오른쪽 간격이 붙어 아주 조금 넘쳐 가운데 정렬이 어긋났습니다 */
.main_program .custom-programs-swiper.swiper-lock .swiper-slide:last-child,
.main_program .custom-tab-panel:has(.swiper-button-lock) .custom-programs-swiper .swiper-slide:last-child {
    margin-right: 0 !important;
}

.main_program .custom-swiper-nav:has(.swiper-button-lock) {
    visibility: hidden;
}

/* ----- 태블릿: 양쪽 여백을 같게, 카드 폭을 화면에 맞춤 ----- */
@media screen and (min-width: 769px) and (max-width: 1280px) {
    .main_program {
        padding: 96px 0;
    }

    .main_program .inner {
        margin-top: 3rem;
        padding-left: 32px;
        padding-right: 32px;
    }

    .main-template-b .main_program .tits {
        padding-left: 32px;
        padding-right: 32px;
    }

    /* 한 화면에 2.5장 정도 보이게 (3장 이하면 위 규칙으로 가운데 정렬) */
    .main_program .custom-programs-swiper .swiper-slide {
        width: calc((100vw - 64px - 32px) / 2.5) !important;
        max-width: 360px;
    }

    .main_program .custom-swiper-nav {
        margin-top: 8px;
    }
}


/* /templates/css/main/map.css */
/* main / map */

/* ============================================
   오시는 길 (main-map) — 공통
   ============================================ */
.main_map {
  padding: 4rem 0 5rem;
}

.main_map .inner {
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .main_map .inner {
    padding: 0 50px;
  }
}

.main_map .tits {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.main_map .tit-locations-label {
  flex-basis: 100%;
  width: 100%;
}

.main_map .tit-locations-label .tit-01 {
  margin: 0;
  color: #000;
  font-family: 'Marcellus', 'Cormorant', serif;
  font-size: 2.313rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: normal;
}

.main_map .tit-locations-label .tit-01 > span {
  font-family: inherit;
}

.main_map .tit-01 {
  margin: 0;
  font-size: var(--fs-body, 18px);
  font-weight: 600;
  color: #000;
}

.main_map .tit-02 {
  margin: 0;
  font-size: var(--fs-body, 18px);
  font-weight: 500;
  color: #464646;
  line-height: 1.5;
}

.main_map .map-wrap {
  width: 100%;
  height: 450px;
  border-radius: 8px;
  overflow: hidden;
  background: #e8e4dc;
}

.main_map .map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.main_map .map-wrap > div#map,
.main_map .map-wrap .kakao-map-root {
  width: 100%;
  height: 100%;
}

.main_map .pc-cont-1024 { display: block; }
.main_map .m-cont-1024 { display: none; }

@media (max-width: 1080px) {
  .main_map {
    padding: 2rem 0 3rem !important;
  }
  .main_map .inner {
    padding: 0 20px;
  }
  .main_map .tits {
    flex-direction: column;
    align-items: flex-start;
  }
  .main_map .tit-locations-label .tit-01 {
    font-size: var(--fs-title, 32px);
  }
  .main_map .map-wrap {
    height: 280px;
  }
  .main_map .pc-cont-1024 { display: none; }
  .main_map .m-cont-1024 { display: block; }
}

@media (max-width: 480px) {
  .main_map .inner {
    padding: 0 16px;
  }
  .main_map .map-wrap {
    height: 220px;
  }
}

/* map.css 는 공통이라 템플릿별 색만 따로 줍니다 */
html.main-template-a .main_map .tit-locations-label .tit-01,
body.main-template-a .main_map .tit-locations-label .tit-01 {
  color: #677D7B;
}

html.main-template-b .main_map .tit-locations-label .tit-01,
body.main-template-b .main_map .tit-locations-label .tit-01 {
  color: #EF5617;
}


/* /templates/css/sub/hero.css */
/* sub / hero — 서브페이지 공통 상단 배너 */
.sub-content {
  --sub-inner-pad-x: 20px;
  padding-top: 0;
  background: #fff;
}

.sub-bg-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.sub-top-view-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sub-bg-01 {
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
}

.sub-top-view-bg.is-empty {
  background: #fff;
}

.sub-top-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
  color: #000;
}

.sub-top-text div {
  overflow: hidden;
  position: relative;
}

.sub-top-text h1 {
  font-family: "Marcellus", "Aboreto", "Playfair Display", serif;
  font-size: 22px;
  font-weight: 400;
  padding-bottom: 5px;
  margin: 0;
  color: #000;
  letter-spacing: 0.08em;
}

.sub-top-text p {
  font-size: 35px;
  font-weight: 500;
  letter-spacing: 2px;
  margin: 0;
  color: #000;
}

@media (max-width: 768px) {
  .sub-bg-wrap {
    height: 192px;
  }

  .sub-top-text h1 {
    font-size: 18px;
  }

  .sub-top-text p {
    font-size: 20px;
    letter-spacing: 0.05em;
  }

  /* 서브페이지 본문 좌우 여백 통일 */
  .sub-content .con-inner,
  .sub-content.brand .con-inner,
  .sub-content.brand-stacking .con-inner {
    padding-left: var(--sub-inner-pad-x);
    padding-right: var(--sub-inner-pad-x);
    box-sizing: border-box;
  }
}

/* 배너 사진이 어두우면 글자를 흰색으로 */
.sub-bg-wrap.is-dark .sub-top-text,
.sub-bg-wrap.is-dark .sub-top-text h1,
.sub-bg-wrap.is-dark .sub-top-text p {
  color: #fff;
}


/* /templates/css/sub/about-a.css */
/* sub / about-a — 병원소개 A (교차형 / brand) */
.sub-content.brand {
  --color-primary: var(--clinic-brand-primary, #710014);
  box-sizing: border-box;
  background: #fff;
  color: #222;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
}

.sub-content.brand *,
.sub-content.brand *::before,
.sub-content.brand *::after {
  box-sizing: border-box;
}

.sub-content.brand .con-inner {
  padding: 105px 0 0;
}

.sub-content.brand .sub-cont-header {
  text-align: center;
}

.sub-content.brand .sub-cont-header h2 {
  font-family: "Marcellus", "Aboreto", "Playfair Display", serif;
  font-size: 35px;
  font-weight: 500;
  color: #000;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0 0 10px;
}

.sub-content.brand .sub-cont-header p {
  font-size: 17px;
  color: #888;
  margin: 0;
}

.brand-inner {
  max-width: 1350px;
  margin: 0 auto;
  padding: 80px 20px 0;
}

.brand-section {
  border-top: 1px solid #cccac7;
  padding: 72px 0;
}

.brand-section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand-col-text {
  flex: 1 1 320px;
  min-width: 280px;
  max-width: 520px;
}

.brand-col-img {
  flex: 0 1 620px;
  width: min(620px, 48%);
  max-width: 100%;
}

.brand-col-img img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.brand-col-img.is-empty {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: #ebe6df;
  color: #8d7c6f;
  font-size: 0.88rem;
}

.brand-sec-title {
  font-size: 26px;
  font-weight: 500;
  color: #000;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
  line-height: 1.2;
}

.brand-sec-title-ko {
  font-size: 17px;
  font-weight: 400;
  color: #888;
  margin: 0 0 24px;
}

.brand-sec-body {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  margin: 0;
  word-break: keep-all;
  white-space: pre-line;
}

.brand-cta-banner {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 40px 0 0;
  aspect-ratio: 16 / 5;
  min-height: 0;
  background-color: #3a3030;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 10% 0 17%;
  overflow: hidden;
}

.brand-cta-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 30%;
  z-index: 0;
  pointer-events: none;
}

.brand-cta-inner {
  position: relative;
  z-index: 1;
  color: #fff;
}

.brand-cta-inner,
.brand-cta-inner p,
.brand-cta-inner div {
  color: #fff;
}

.brand-cta-ko {
  font-size: 23px;
  line-height: 1.55;
  color: #fff;
  font-weight: 400;
  margin: 0 0 5px;
  white-space: pre-line;
}

.brand-cta-en {
  font-size: 40px;
  color: #fff;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.2;
}

@media (max-width: 1024px) {
  .brand-inner {
    padding: 60px 20px 0;
  }

  .brand-section {
    padding: 56px 0;
  }

  .brand-cta-banner {
    aspect-ratio: auto;
    min-height: 300px;
    padding: 48px 8% 0 12%;
  }

  .brand-cta-ko {
    font-size: 19px;
  }

  .brand-cta-en {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .sub-content.brand .con-inner {
    padding: 48px var(--sub-inner-pad-x, 20px) 0;
    box-sizing: border-box;
  }

  .sub-content.brand .sub-cont-header h2 {
    font-size: 22px;
    margin-bottom: 5px;
  }

  .sub-content.brand .sub-cont-header p {
    font-size: 14px;
  }

  .brand-inner {
    padding: 48px 0;
  }

  .brand-section {
    padding: 40px 0;
  }

  .brand-row {
    flex-direction: column;
    gap: 0;
  }

  .brand-row .brand-col-img {
    order: -1;
    padding-bottom: 28px;
    width: 100%;
    flex-basis: auto;
  }

  .brand-row .brand-col-text {
    order: 0;
    max-width: 100%;
    flex-basis: auto;
  }

  .brand-sec-title {
    font-size: 20px;
  }

  .brand-sec-title-ko {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .brand-sec-body {
    font-size: 15px;
    line-height: 1.7;
  }

  /* 모바일: 강제 줄바꿈 없이 자연스럽게 흐르도록 */
  .brand-sec-body br {
    display: none;
  }

  .brand-cta-banner {
    aspect-ratio: auto;
    min-height: 260px;
    margin-top: 24px;
    padding: 36px 24px 0 28px;
  }

  .brand-cta-banner__bg {
    object-position: 60% center;
  }

  .brand-cta-inner {
    padding-right: 12px;
  }

  .brand-cta-ko {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 5px;
  }

  .brand-cta-en {
    font-size: 22px;
    color: #fff;
  }
}


/* /templates/css/sub/about-b.css */
/* sub / about-b — 병원소개 B (스택형 / brand-stacking) */
.sub-content.brand-stacking {
  --color-primary: var(--clinic-brand-primary, #710014);
  box-sizing: border-box;
  background: #fff;
  color: #222;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  overflow: visible;
}

.sub-content.brand-stacking *,
.sub-content.brand-stacking *::before,
.sub-content.brand-stacking *::after {
  box-sizing: border-box;
}

/* 페이지 타이틀 — 교차형(brand)과 동일 */
.sub-content.brand-stacking .con-inner {
  padding: 105px 0 0;
}

.sub-content.brand-stacking .sub-cont-header {
  text-align: center;
}

.sub-content.brand-stacking .sub-cont-header h2 {
  font-family: "Marcellus", "Aboreto", "Playfair Display", serif;
  font-size: 35px;
  font-weight: 500;
  color: #111;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0 0 10px;
}

.sub-content.brand-stacking .sub-cont-header p {
  font-size: 17px;
  color: #888;
  margin: 0;
}

.stacking-cards-section {
  position: relative;
  padding: 80px 0 40px;
}

.stacking-card {
  width: 100%;
  padding: 0 50px;
  box-sizing: border-box;
  margin-bottom: 0;
}

.stacking-card-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.stacking-card-content {
  display: flex;
  align-items: center;
  height: 700px;
  border-radius: 30px;
  overflow: hidden;
}

.stacking-card-content > * {
  width: 50%;
  height: 100%;
}

.stacking-card-content--tone-light {
  background-color: #ffffff;
}

.stacking-card-content--tone-mid {
  background-color: #f6f6f6;
}

/* 1순위: 병원이 고른 대표컬러
   2순위: 템플릿별 고유색 (A #AABDBB / B #EF5617 / C #132C16 / D #4B403A) */
.stacking-card-content--tone-dark {
  background-color: var(--brand-accent, var(--tpl-icon-color, #2a1f1b));
}

/* A 템플릿 고유색(#AABDBB)은 밝아서 흰 글자가 안 읽힌다.
   템플릿 색은 그대로 두고, 이 카드에서만 짙은 세이지를 쓴다 */
html.main-template-a .stacking-card-content--tone-dark,
.main-template-a .stacking-card-content--tone-dark {
  background-color: var(--brand-accent, #677D7B);
}

html.main-template-b .stacking-card-content--tone-light,
.main-template-b .stacking-card-content--tone-light {
  background-color: #efe8e0;
}

html.main-template-b .stacking-card-content--tone-mid,
.main-template-b .stacking-card-content--tone-mid {
  background-color: #e4dbd2;
}

.stacking-card-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 80px;
  text-align: left;
}

.stacking-card-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-primary);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.stacking-card-title {
  font-size: 25px;
  font-weight: 500;
  color: var(--color-primary);
  margin: 0 0 30px;
  font-family: "Marcellus", "Aboreto", "Playfair Display", serif;
  line-height: 1.4;
}

.stacking-card-desc {
  font-size: 18px;
  line-height: 1.9;
  color: var(--color-primary);
  margin: 0;
  white-space: pre-line;
}

.stacking-card-content--tone-light .stacking-card-subtitle,
.stacking-card-content--tone-light .stacking-card-title,
.stacking-card-content--tone-light .stacking-card-desc,
.stacking-card-content--tone-mid .stacking-card-subtitle,
.stacking-card-content--tone-mid .stacking-card-title,
.stacking-card-content--tone-mid .stacking-card-desc {
  color: #000;
}

.stacking-card-content--tone-dark .stacking-card-subtitle,
.stacking-card-content--tone-dark .stacking-card-title,
.stacking-card-content--tone-dark .stacking-card-desc {
  color: #fff;
}

.stacking-card-image {
  position: relative;
  overflow: hidden;
}

.stacking-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stacking-card-image.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.06);
  color: #888;
  font-size: 14px;
  padding: 20px;
  text-align: center;
}

.stacking-card-content--tone-dark .stacking-card-image.is-empty {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}

/* 하단 메시지 배너 — 사진은 교차형과 동일, 가운데 정렬 + 영문/한글 순서만 교체 */
.brand-cta-banner {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 40px 0 0;
  aspect-ratio: 16 / 5;
  min-height: 0;
  background-color: #3a3030;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  overflow: hidden;
  text-align: center;
}

.brand-cta-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 30%;
  z-index: 0;
  pointer-events: none;
}

.brand-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.brand-cta-inner,
.brand-cta-inner p,
.brand-cta-inner div {
  color: #fff;
}

.brand-cta-en {
  font-size: 40px;
  color: #fff;
  letter-spacing: 0.02em;
  margin: 0 0 24px;
  line-height: 1.2;
}

.brand-cta-ko {
  font-size: 23px;
  line-height: 1.55;
  color: #fff;
  font-weight: 400;
  margin: 0;
  white-space: pre-line;
}

@media (max-width: 1024px) {
  .stacking-card {
    padding: 0 30px;
  }

  .stacking-card-content {
    height: 450px;
  }

  .stacking-card-text {
    padding: 40px 50px;
  }

  .stacking-card-subtitle {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .stacking-card-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .stacking-card-desc {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .stacking-card.pin-offset-header {
    top: 80px !important;
  }

  .sub-content.brand-stacking .con-inner {
    padding: 48px var(--sub-inner-pad-x, 20px) 0;
    box-sizing: border-box;
  }

  .sub-content.brand-stacking .sub-cont-header h2 {
    font-size: 22px;
    margin-bottom: 5px;
  }

  .sub-content.brand-stacking .sub-cont-header p {
    font-size: 14px;
  }

  .stacking-cards-section {
    padding: 48px 0 20px;
  }

  .stacking-card {
    padding: 0 var(--sub-inner-pad-x, 20px);
  }

  .stacking-card-content {
    flex-direction: column;
    height: auto;
  }

  .stacking-card-content > * {
    width: 100%;
  }

  .stacking-card-image {
    height: 280px;
    order: -1;
  }

  .stacking-card-text {
    padding: 30px 25px;
  }

  .stacking-card-subtitle {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .stacking-card-title {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .stacking-card-desc {
    font-size: 14px;
    line-height: 1.7;
  }

  .brand-cta-banner {
    aspect-ratio: auto;
    min-height: 280px;
    margin-top: 24px;
    padding: 48px 20px;
  }

  .brand-cta-en {
    font-size: 26px;
    margin-bottom: 18px;
  }

  .brand-cta-ko {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 5px;
  }
}


/* /templates/css/sub/staff-a.css */
/* sub / staff-a — 의료진소개 A (카드 + 아코디언). B는 staff-b.css */

.sub-content {
  --color-primary: var(--clinic-brand-primary, #710014);
}

.sub-content .con-inner {
  padding: 105px 0 0;
}

.sub-content .sub-cont-header {
  text-align: center;
}

.sub-content .sub-cont-header h2 {
  font-family: "Marcellus", "Aboreto", "Playfair Display", serif;
  font-size: 35px;
  font-weight: 500;
  color: #111;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0 0 10px;
}

.sub-content .sub-cont-header p {
  font-size: 17px;
  color: #888;
  margin: 0;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.section01-01-photo.is-empty {
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  background: #ebe6df;
  color: #8d7c6f;
  font-size: 0.88rem;
  max-width: 420px;
}

@media (max-width: 768px) {
  .sub-content .con-inner {
    padding-top: 48px;
    padding-left: var(--sub-inner-pad-x, 20px);
    padding-right: var(--sub-inner-pad-x, 20px);
    box-sizing: border-box;
  }

  .sub-content .sub-cont-header h2 {
    font-size: 22px;
    margin-bottom: 5px;
  }
  .sub-content .sub-cont-header p {
    font-size: 14px;
  }
}

.section01-01 {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(320px, 560px);
  gap: 72px;
  align-items: start;
  padding: 110px 0 90px;
  width: fit-content;
  margin: 0 auto 90px;
}

/* 사진 영역 기준 — 경력(dor-tx-cv) 길이와 무관하게 뱃지는 항상 사진 왼쪽 아래 */
.section01-01 + .section01-01 {
  padding-top: 0;
  margin-top: -20px;
}

.section01-01-photo {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.section01-01-photo img {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.dor-tx {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.dor-tx .dor-name {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.2;
  padding-bottom: 30px;
  letter-spacing: 0.04em;
}

.dor-tx .dor-name span {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .4em;
}

.dor-tx h2:not(.dor-name) {
  display: none;
}

/* 소개 본문만 (경력 p.dor-tx-cv 제외) */
.dor-tx p:not(.dor-tx-cv) {
  font-size: 20px;
  font-weight: 400;
  font-family: 'SourceHanSerifKR', serif;
  color: rgb(0, 0, 0, 0.7);
  line-height: 1.8;
  margin: 0;
}

.dor-tx-cv {
  margin-top: 30px;
  font-size: 17px;
  font-weight: 400;
  line-height: 2.5;
}

.section01-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

.section01-inner > .list-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 280px;
  margin: 0 auto 80px;
  padding: 64px 24px;
  box-sizing: border-box;
  text-align: center;
  color: #8a8a8a;
  font-family: Pretendard, "Noto Sans KR", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .section01-inner > .list-empty {
    min-height: 180px;
    margin-bottom: 40px;
    padding: 48px 16px;
    font-size: 14px;
  }
}

.section01-inner:not(.staff-approaches-grid) .panel:first-child {
  border-top: 1px solid #cccac7;
}

.section01-inner:not(.staff-approaches-grid) .panel.on {
  /* 1순위: 병원이 고른 대표컬러
     2순위: 템플릿별 고유색 (A #AABDBB / B #EF5617 / C #132C16 / D #4B403A) */
  background: var(--brand-accent, var(--tpl-icon-color, #AABDBB));
  border-top: none;
}

.section01-inner:not(.staff-approaches-grid) .panel.on .panel-title h1,
.section01-inner:not(.staff-approaches-grid) .panel.on .panel-title h2,
.section01-inner:not(.staff-approaches-grid) .panel.on .panel-title p,
.section01-inner:not(.staff-approaches-grid) .panel.on .panel-content .txt01 {
  color: #fff;
}

.section01-inner:not(.staff-approaches-grid) .panel.on .icon-panel::before,
.section01-inner:not(.staff-approaches-grid) .panel.on .icon-panel::after {
  background-color: #fff;
}

.section01-inner:not(.staff-approaches-grid) .panel .panel-header {
  padding: 36px 0;
  border-bottom: 1px solid #cccac7;
  cursor: pointer;
}

.section01-inner:not(.staff-approaches-grid) .panel .panel-title {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.section01-inner:not(.staff-approaches-grid) .panel .panel-title h1,
.section01-inner:not(.staff-approaches-grid) .panel .panel-title h2 {
  font-size: 16px;
  font-weight: 400;
  color: rgb(0, 0, 0, 0.4);
  letter-spacing: 2px;
}

.section01-inner:not(.staff-approaches-grid) .panel .panel-title div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section01-inner:not(.staff-approaches-grid) .panel .panel-title p {
  font-size: 22px;
  color: #1b1b1b;
  font-weight: 500;
  letter-spacing: 0.08rem;
}

.section01-inner:not(.staff-approaches-grid) .panel .panel-title h4 {
  position: absolute;
  right: 23px;
  top: 50%;
  transform: translateY(-50%);
}

.section01-inner:not(.staff-approaches-grid) .panel .panel-content {
  display: none;
  padding: 0 0 30px;
}

.section01-inner:not(.staff-approaches-grid) .panel .panel-content .txt01 {
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  padding: 20px 30px 10px;
  text-align: left;
}

/* 아이콘 +/- */
.icon-panel {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
}

.icon-panel::before,
.icon-panel::after {
  content: "";
  position: absolute;
  background-color: #786454;
  transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}

.icon-panel::before {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  margin-left: -1px;
}

.icon-panel::after {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  margin-top: -1px;
}

.icon-panel.open::before {
  transform: rotate(-45deg);
  opacity: 0;
}

@media (max-width: 768px) {
  .section01-01::after {
    left: 12px;
    bottom: 12px;
    width: 78px;
    height: 78px;
    font-size: 8px;
  }
  .dor-tx .dor-name {
    gap: 10px;
  }
  .dor-tx-cv {
    margin-top: 30px;
  }
  .section01-inner:not(.staff-approaches-grid) .panel .panel-title p {
    font-size: 16px;
  }
  .section01-inner:not(.staff-approaches-grid) .panel {
    width: calc(100% + (var(--sub-inner-pad-x, 20px) * 2));
    max-width: none;
    margin-left: calc(var(--sub-inner-pad-x, 20px) * -1);
    margin-right: calc(var(--sub-inner-pad-x, 20px) * -1);
    box-sizing: border-box;
  }
  .section01-inner:not(.staff-approaches-grid) .panel .panel-content .txt01 {
    font-size: 14px;
    padding: 16px 16px 8px;
  }
  .section01-inner:not(.staff-approaches-grid) .panel .panel-header {
    padding: 24px 16px;
  }
  .section01-inner:not(.staff-approaches-grid) .panel .panel-title h4 {
    right: 5px;
  }
}

.section02 {
  padding: 150px 0 140px;
}

.section02-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

/* 공통 섹션 헤더 */
.section-header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  margin-bottom: 60px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 120px;
}

.section-header-subtitle {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-primary);
  text-align: center;
  margin: 0;
  max-width: 720px;
  padding: 0 8px;
  box-sizing: border-box;
  line-height: 1.6;
  letter-spacing: 0.08rem;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.section-header-title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.section-header-title-1,
.section-header-title-2 {
  font-family: "Marcellus", "Aboreto", "Playfair Display", serif;
  line-height: 1.1;
  font-size: 33px;
  letter-spacing: 0.05em;
  color: #111;
  margin: 0;
}

.section-header-desc {
  font-size: 18px;
  text-align: center;
  line-height: 1.6;
  font-weight: 400;
}

.section-header-desc p {
  margin: 0;
}

.info-icons-outer {
  width: 100%;
  border-top: 1px solid #cccac7;
  border-bottom: 1px solid #cccac7;
}

.info-icons-grid {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.info-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
  padding: 60px 15px;
  border-right: 1px solid #cccac7;
}

.info-icon-item:first-child{
  border-left: 1px solid #cccac7;
}

.info-icon-img {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
}

.info-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.info-icon-title {
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 25px 0;
  letter-spacing: 0.08rem;
}

.info-icon-title-sub {
  display: block;
  margin-top: 5px;
  font-size: 16px;
  letter-spacing: 0.02rem;
}

.info-icon-desc {
  font-size: 17px;
  text-align: center;
  line-height: 1.55;
  padding: 0 8px;
  word-break: keep-all;
  overflow-wrap: break-word;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .section-header-container {
    padding: 0 60px;
    margin-bottom: 80px;
  }
  .section-header-title-1,
  .section-header-title-2 {
    font-size: 33px;
  }
  .info-icon-img {
    margin-bottom: 30px;
  }
  .info-icon-title {
    font-size: 18px;
    margin-bottom: 15px;
  }
  .info-icon-desc {
    font-size: 15px;
    padding: 0 10px;
  }
}

@media (max-width: 768px) {
  .section02 {
    padding: 60px 0 80px;
  }
  .section02-inner {
    padding: 0;
  }
  .section-header-container {
    padding: 0;
    margin-bottom: 50px;
    gap: 16px;
  }
  .section-header-subtitle {
    max-width: 100%;
    padding: 0 12px;
    font-size: 14px;
    line-height: 1.65;
    letter-spacing: 0.02rem;
  }
  .section-header-title-1,
  .section-header-title-2 {
    font-size: 22px;
  }
  .section-header-desc {
    font-size: 15px;
  }
  .info-icons-grid {
    flex-wrap: wrap;
  }
  .info-icons-outer {
    width: calc(100% + (var(--sub-inner-pad-x, 20px) * 2));
    max-width: none;
    margin-left: calc(var(--sub-inner-pad-x, 20px) * -1);
    margin-right: calc(var(--sub-inner-pad-x, 20px) * -1);
    box-sizing: border-box;
  }
  .info-icon-item {
    flex: 0 0 50%;
    border-right: none;
    border-left: none;
    border-bottom: 1px solid #cccac7;
    padding: 40px 20px;
  }
  .info-icon-item:first-child {
    border-left: none;
  }
  .info-icon-item:nth-child(odd) {
    border-right: 1px solid #cccac7;
  }
  .info-icon-item:nth-child(3),
  .info-icon-item:nth-child(4) {
    border-bottom: none;
  }
  .info-icon-img {
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
  }
  .info-icon-title {
    font-size: 15px;
    margin-bottom: 10px;
  }
  .info-icon-title-sub {
    margin-top: 4px;
    font-size: 13px;
  }
  .info-icon-desc {
    font-size: 13px;
    padding: 0 6px;
    line-height: 1.6;
  }

  /* 모바일: 강제 줄바꿈 없이 자연스럽게 흐르도록 */
  .info-icon-desc br {
    display: none;
  }
}

@media (max-width: 768px) {
  .section01-01 {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 0 50px;
    box-sizing: border-box;
  }
  .section01-01-photo img,
  .section01-02 img {
    width: 100%;
    max-width: 460px;
  }
  .dor-tx .dor-name {
    font-size: 20px;
    padding-bottom: 10px;
  }
  .dor-tx .dor-name span {
    font-size: 14px;
  }
  .dor-tx h2:not(.dor-name) {
    font-size: 16px;
    padding-bottom: 20px;
  }
  .dor-tx p:not(.dor-tx-cv) {
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: -0.5px;
  }
  .dor-tx-cv {
    font-size: 14px;
    font-weight: 400;
    line-height: 2.5;
  }
}


/* 원칙 아이콘 검은 원 배경 */
.info-icon-img{width:105px;height:105px;background:var(--tpl-icon-color,#AABDBB);border-radius:50%;padding:22px;box-sizing:border-box;}
.info-icon-img img{width:100%;height:100%;object-fit:contain;}


/* /templates/css/sub/staff-b.css */
/* sub / staff-b — 의료진소개 B (OUR APPROACH 그리드) */

.staff-template-b .sub-content .con-inner {
  padding-top: 0;
}

.staff-template-b .section02 {
  padding-top: 0;
}

/* B타입 의료진 카드: con-inner 없으므로 좌우 여백을 여기서 보장 */
.staff-template-b .section01:not(.staff-approaches-first) .section01-inner {
  padding-left: var(--sub-inner-pad-x, 20px);
  padding-right: var(--sub-inner-pad-x, 20px);
  box-sizing: border-box;
  max-width: 100%;
}

/* width:100% 쓰면 그리드가 왼쪽에 붙음 → fit-content + auto로 중앙 */
.staff-template-b .section01-01 {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.staff-template-b .staff-approaches-first {
  padding: 90px 40px 120px;
  margin-bottom: 120px;
  background: #fafafa;
  box-sizing: border-box;
}

.staff-template-b .staff-approaches-heading {
  margin: 0 auto 58px;
  text-align: center;
}

.staff-template-b .staff-approaches-heading h2 {
  margin: 0;
  font-family: 'Marcellus', 'Aboreto', 'Playfair Display', serif;
  font-size: 33px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.05em;
  color: #111;
}

.staff-template-b .staff-approaches-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

/* Inject(display:contents) 래퍼 때문에 직계(>) 선택자 사용 불가 */
.staff-template-b .staff-approaches-grid .panel,
.staff-template-b .staff-approaches-grid .panel.on {
  width: auto;
  min-width: 0;
  min-height: 205px;
  margin: 0;
  padding: 34px 48px;
  border: 0;
  border-left: 1px solid #d2d2d2;
  background: transparent !important;
  box-sizing: border-box;
  color: inherit;
}

.staff-template-b .staff-approaches-grid .panel:first-child,
.staff-template-b .staff-approaches-grid .panel.on:first-child {
  border-left: 0;
}

.staff-template-b .staff-approaches-grid .panel-header {
  padding: 0;
  border: 0;
  cursor: default;
  pointer-events: none;
}

.staff-template-b .staff-approaches-grid .panel-title {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: default;
  text-align: center;
}

.staff-template-b .staff-approaches-grid .panel-title h1,
.staff-template-b .staff-approaches-grid .panel.on .panel-title h1 {
  margin: 0;
  font-family: 'Inter', 'Pretendard', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 2px;
  color: rgba(0, 0, 0, 0.4) !important;
}

.staff-template-b .staff-approaches-grid .panel-title > div {
  display: block;
}

.staff-template-b .staff-approaches-grid .panel-title p,
.staff-template-b .staff-approaches-grid .panel.on .panel-title p {
  margin: 0;
  font-family: 'Inter', 'Pretendard', sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.08rem;
  color: #1b1b1b !important;
}

.staff-template-b .staff-approaches-grid .panel-title h4 {
  display: none;
}

.staff-template-b .staff-approaches-grid .panel-content {
  display: block !important;
  padding: 0;
}

.staff-template-b .staff-approaches-grid .panel-content .txt01,
.staff-template-b .staff-approaches-grid .panel.on .panel-content .txt01 {
  margin: 0;
  padding: 28px 0 0;
  font-family: 'Pretendard', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.02em;
  text-align: center;
  color: #333 !important;
}

@media (max-width: 768px) {
  .staff-template-b .staff-approaches-first {
    padding: 60px 0 25px;
    margin-bottom: 72px;
  }

  .staff-template-b .sub-cont-header {
    padding-left: var(--sub-inner-pad-x, 20px);
    padding-right: var(--sub-inner-pad-x, 20px);
    box-sizing: border-box;
  }

  .staff-template-b .section01:not(.staff-approaches-first) .section01-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .staff-template-b .section01-01 {
    width: 100%;
    justify-content: center;
  }

  .staff-template-b .staff-approaches-heading {
    margin-bottom: 36px;
    padding: 0 var(--sub-inner-pad-x, 20px);
  }

  .staff-template-b .staff-approaches-heading h2 {
    font-size: 22px; /* section-header / 페이지 타이틀과 동일 */
  }

  .staff-template-b .staff-approaches-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: none;
  }

  .staff-template-b .staff-approaches-grid .panel,
  .staff-template-b .staff-approaches-grid .panel.on {
    min-height: 0;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 30px var(--sub-inner-pad-x, 20px);
    border-left: 0;
    border-top: 1px solid #d2d2d2;
    background: transparent !important;
  }

  .staff-template-b .staff-approaches-grid .panel:first-child,
  .staff-template-b .staff-approaches-grid .panel.on:first-child {
    border-top: 0;
  }

  .staff-template-b .staff-approaches-grid .panel-title h1,
  .staff-template-b .staff-approaches-grid .panel.on .panel-title h1 {
    font-size: 14px;
  }

  .staff-template-b .staff-approaches-grid .panel-title p,
  .staff-template-b .staff-approaches-grid .panel.on .panel-title p {
    font-size: 18px;
  }

  .staff-template-b .staff-approaches-grid .panel-content .txt01,
  .staff-template-b .staff-approaches-grid .panel.on .panel-content .txt01 {
    padding-top: 18px;
    font-size: 14px; /* info-icon-desc / 아코디언 본문과 동일 */
    color: #333 !important;
  }

  /* 모바일: 관리자 줄바꿈(<br>) 없이 한 흐름으로 */
  .staff-template-b .staff-approaches-grid .panel-content .txt01 br {
    display: none;
  }
}


/* /templates/css/sub/programs.css */
/* sub / programs — 시술안내 (tp-*) */

/* 히어로·탭 아래 본문이 100vh에 갇히지 않도록 페이지 세로 스크롤 허용 */
html.tp-page,
body.tp-page {
  overflow-x: clip;
  overflow-y: auto;
  height: auto;
  min-height: 100%;
}

body.tp-page .sub-content.tp-page {
  min-height: 100vh;
  height: auto;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.sub-content.tp-page .tp-area {
  flex: 0 0 auto;
  min-height: 0;
  overflow: visible;
  padding: 70px var(--sub-inner-pad-x, 20px);
  box-sizing: border-box;
}

.tp-wrap {
  display: flex;
  align-items: flex-start;
  column-gap: 74px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
  height: auto;
  min-height: 0;
}

.tp-side {
  width: 288px;
  flex-shrink: 0;
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  position: sticky;
  top: 90px;
  align-self: flex-start;
  left: auto;
  height: auto;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  overflow-x: hidden;
}

.tp-content {
  flex: 1;
  min-width: 0;
  margin-top: 44px;
  margin-left: 0;
  padding: 0 0 80px 0;
  overflow-y: visible;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tp-content::-webkit-scrollbar {
  display: none;
}

/* 검색 */
.tp-search {
  display: flex;
  align-items: center;
  background: none;
  border-radius: 12px;
  overflow: hidden;
  padding: 7px 15px;
}

.tp-search input {
  flex: 1;
  height: 48px;
  padding: 12px 0;
  font-size: 15px;
  border: none;
  background: transparent;
}

.tp-search .tp-icon {
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tp-search .tp-icon i {
  font-size: 24px;
}

.tp-side-vat-note {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  font-family: 'pretendard';
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #777;
  flex-shrink: 0;
}

.tp-side-vat-note--mobile {
  display: none;
}

/* .tp-side gap 20px 중 부가세 ↔ 메뉴만 10px로 보이게 */
@media (min-width: 769px) {
  .tp-side-vat-note--desktop + .tp-menu {
    margin-top: -15px;
  }
}

/* 메뉴 */
.tp-menu {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  scrollbar-width: thin;
}

.tp-menu::-webkit-scrollbar {
  width: 4px;
}

.tp-menu::-webkit-scrollbar-thumb {
  background-color: #DEE2E6;
  border-radius: 4px;
}

.tp-menu::-webkit-scrollbar-track {
  background-color: transparent;
}

.tp-menu .item {
  width: 96%;
  flex-shrink: 0;
  position: relative;
  border-radius: 10px;
  color: #495057;
  font-weight: 400;
  display: block;
  padding: 12px 15px;
  font-size: 15px;
  border: none;
  background: transparent;
  text-align: left;
  font-family: inherit;
  appearance: none;
}

.tp-menu .item:not(.on):hover {
  background-color: #fff;
}

.tp-menu .item.on {
  background-color: #000;
  color: #fff;
}

/* 메인 배너 */
.tp-main .tp-title {
  font-size: 18px;
}

.tp-main .tp-title span {
  font-size: 28px;
  margin-right: 8px;
  font-weight: 700;
}

/* 상세 리스트 */
.tp-list {
  display: flex;
  flex-direction: column;
  margin: 40px 0 0;
  gap: 20px;
}

.tp-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 가격 박스 */
.tp-box {
  display: flex;
  border: 1px solid #DEE2E6;
  border-radius: 30px;
  gap: 10px;
  padding: 25px;
}

.tp-box .tp-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1px solid #DEE2E6;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tp-box .tp-icon i {
  color: #868E96;
  font-size: 14px;
}

.tp-box .tp-con {
  flex: 1;
  min-width: 0;
  font-family: var(--font-primary);
}

.tp-box .tp-name {
  font-size: 20px;
  font-weight: bold;
  color: #212529;
  line-height: 1.35;
  margin-bottom: 6px;
}

.tp-box .tp-desc {
  font-size: 16px;
  font-weight: 400;
  color: #555;
  white-space: pre-line;
}

/* 섹션 제목 + 추가옵션을 일반 시술 카드와 구분되는 흰 하위 박스로 묶음 */

.tp-box .tp-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 20px;
  align-items: start;
}

/* 제모레이저만 시술가격 2열 */

/* 제모레이저: 하위 블록 1개면 카드 전체 너비 */

/* 제모레이저: 여자/남자 가격표는 1열 전체 너비 */

/* 소제목 · 부위 안내 */

/* 회차 · 샷 · 가격 한 줄 */

/* 가격 아이템 */
.tp-item {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 140px;
  background: none;
  padding: 15px;
  border-radius: 12px;
  cursor: pointer;
}

/* 섹션 제목 (예: PK 시 추가 옵션:) */

/* 추가 옵션 한 줄 · 이름 + 포인트 컬러 가격 */

/* 모드 소제목 (FX 전체 등 · 가격 없는 addon 행) */

.tp-item .tp-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 1;
  width: 100%;
}

.tp-item .tp-item-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  min-width: 0;
  flex: 1;
}

.tp-item .tp-prices {
  margin-left: auto;
  text-align: right;
}

.tp-item .tp-price {
  color: #212529;
  font-size: 20px;
  font-weight: bold;
}

html.main-template-c .tp-search,
body.main-template-c .tp-search {
  background-color: #fff;
}

html.main-template-c .tp-item:not(.tp-item--section):not(.tp-item--addon),
body.main-template-c .tp-item:not(.tp-item--section):not(.tp-item--addon) {
  background-color: #fff;
}

html.main-template-a .tp-search,
html.main-template-b .tp-search,
body.main-template-a .tp-search,
body.main-template-b .tp-search {
  border: 1px solid #d8d8d8;
}

html.main-template-a .tp-search input,
html.main-template-b .tp-search input,
body.main-template-a .tp-search input,
body.main-template-b .tp-search input {
  border: 0;
}

html.main-template-a .tp-item .tp-price,
html.main-template-b .tp-item .tp-price,
body.main-template-a .tp-item .tp-price,
body.main-template-b .tp-item .tp-price {
  color: #111;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

html.main-template-a .tp-menu .item:not(.on):hover,
html.main-template-b .tp-menu .item:not(.on):hover,
body.main-template-a .tp-menu .item:not(.on):hover,
body.main-template-b .tp-menu .item:not(.on):hover {
  background-color: #f4f4f4;
}


/* ============================================
   모바일 반응형 (1024px 이하)
   ============================================ */
@media (max-width: 1024px) {
  /* 모바일: 페이지 스크롤 허용 */
  html.tp-page,
  body.tp-page {
    overflow: auto;
    height: auto;
  }

  body.tp-page .sub-content.tp-page {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .sub-content.tp-page .tp-area {
    padding: 20px var(--sub-inner-pad-x, 20px);
  }

  .tp-wrap {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }

  .tp-side {
    position: sticky;
    top: 0;
    left: auto;
    width: 100%;
    height: auto;
    margin-top: 0;
    padding: 0;
    flex-direction: column;
    gap: 12px;
  }

  html.main-template-c .tp-side,
  body.main-template-c .tp-side {
    background: #fbf8f2;
  }

  .tp-side-vat-note--desktop {
    display: none;
  }

  .tp-side-vat-note--mobile {
    display: block;
    font-size: 10px;
    text-align: right;
  }

  .tp-search input {
    height: 44px;
    font-size: 14px;
  }

  .tp-menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
    height: 52px;
    min-height: 52px;
    max-height: 52px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-shrink: 0;
  }

  .tp-menu::-webkit-scrollbar {
    display: none;
  }

  .tp-menu .item {
    flex-shrink: 0;
    width: auto;
    padding: 8px 14px;
    font-size: 14px;
    white-space: nowrap;
  }

  .tp-menu .item:not(.on):hover {
    background-color: transparent;
  }

  /* 오른쪽 컨텐츠: 100% 너비 */
  .tp-content {
    width: 100%;
    margin: 0;
    padding: 20px 0 80px;
    flex: none;
  }

  .tp-main .tp-title {
    font-size: 16px;
  }

  .tp-main .tp-title span {
    font-size: 18px;
  }

  .tp-list {
    margin: 24px 0 0;
  }

  .tp-box {
    padding: 16px;
    border-radius: 16px;
    gap: 8px;
  }

  .tp-box .tp-name {
    font-size: 16px;
  }

  .tp-box .tp-desc {
    font-size: 14px;
  }

  .tp-box .tp-row {
    grid-template-columns: 1fr;
    margin-top: 16px;
    gap: 10px;
  }

  .tp-item {
    min-width: 120px;
    padding: 12px;
  }

  .tp-item .tp-price {
    font-size: 18px;
  }
}

/* —— 미리보기 / 사이트 공통 보완 —— */
html.main-template-c .sub-content.tp-page,
body.main-template-c .sub-content.tp-page {
  background-color: #fbf8f2;
}

.sub-content.tp-page .tp-area {
  width: 100%;
}

.tp-panel[hidden] {
  display: none !important;
}

.tp-menu .item {
  cursor: pointer;
}

/* 준비 중 안내 문구: 정중앙·작은 회색 글씨 */
.tp-empty,
.product-list > .product-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  /* 높이는 글자만큼, 목록 영역 전체 폭에서 가운데 */
  flex: 1 1 100%;
  width: 100%;
  margin: 0;
  padding: 24px;
  box-sizing: border-box;
  text-align: center;
  color: #8a8a8a;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.02em;
  list-style: none;
}

@media (max-width: 768px) {
  .tp-empty,
  .product-list > .product-empty {
    padding: 20px 16px;
    font-size: 14px;
  }
}


/* /templates/css/sub/equipment.css */
/* sub / equipment — 장비안내 (카테고리 탭은 중립 회색) */

/* 카테고리 탭 */
.product-tab {
  margin: 0 auto 60px;
}

.product-tab h2 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

.product-tab ul {
  display: flex;
  background: #f5f5f5;
  margin: 0 auto -1px;
  border-top: 1px solid #d8d8d8;
  border-bottom: 1px solid #d8d8d8;
  justify-content: space-between;
  align-items: center;
}

.product-tab li {
  display: inline-block;
  flex: 1;
  margin: 0;
  text-align: center;
}

.product-tab a {
  width: 100%;
  display: block;
  padding: 14px 0;
  color: #464646;
  background-color: transparent;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  transition: 0.3s;
}

.product-tab .product-tab-on {
  color: #000;
  background-color: #e5e5e5;
  font-weight: 600;
}

.product-tab a:hover {
  color: #000;
  background-color: #ececec;
}

@media (max-width: 768px) {
  .product-tab {
    margin: 0 auto 32px;
  }
  .product-tab ul {
    justify-content: flex-start;
  }
  .product-tab a {
    min-width: 25%;
  }
}

/* 카테고리가 많을 때(5개 이상): 여러 줄로 감싸는 버튼형 — 글자가 잘리거나 칸이 좁아져 깨지지 않게 */
.product-tab--many ul {
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 8px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
}
.product-tab--many li {
  flex: 0 0 auto;
  border: 0;
}
.product-tab--many a {
  width: auto;
  padding: 10px 22px;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  background-color: #fff;
  font-size: 16px;
  line-height: 1.4;
  white-space: nowrap;
  /* 아주 긴 이름은 줄임표로 (줄 밖으로 넘치지 않게) */
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-tab--many li { max-width: 100%; }
.product-tab--many .product-tab-on {
  border-color: #464646;
  background-color: #464646;
  color: #fff;
}
.product-tab--many a:hover {
  border-color: #b5b5b5;
  background-color: #f5f5f5;
}
.product-tab--many .product-tab-on:hover {
  border-color: #464646;
  background-color: #464646;
  color: #fff;
}

.product-content.con_inner {
  padding: 80px 20px 100px;
  max-width: 1350px;
  margin: 0 auto;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 35px;
  padding-top: 40px;
}

.product-item {
  width: calc(33.333% - 24px);
  padding-bottom: 30px;
}

.product-img-wrap {
  position: relative;
  background: #e8e8e8;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid #e5e7eb;
  box-sizing: border-box;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  box-sizing: border-box;
}

.product-img-wrap .product-swiper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.product-img-wrap .product-swiper .swiper-wrapper {
  height: 100%;
}

.product-img-wrap .product-swiper .swiper-slide {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  background: transparent;
}

.product-img-wrap .product-swiper .swiper-slide:active {
  cursor: grabbing;
}

.product-img-wrap .product-swiper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-img-wrap .product-swiper-pagination {
  bottom: 10px;
  z-index: 3;
}

.product-img-wrap .product-swiper-pagination .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.55;
}

.product-img-wrap .product-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--color-primary, #331f4c);
  opacity: 1;
}

.product-name {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  text-align: center;
}

.product-copy {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  text-align: center;
  word-break: keep-all;
}

.product-desc {
  display: none;
}

@media (max-width: 768px) {
  .product-content.con_inner {
    padding: 50px var(--sub-inner-pad-x, 20px) 60px;
    box-sizing: border-box;
  }
  .product-tab {
    margin-bottom: 40px;
    padding: 0;
  }
  .product-tab ul {
    flex-wrap: wrap;
    width: 100%;
    border: 1px solid #d8d8d8;
    border-bottom: none;
  }
  .product-tab li {
    flex: 0 0 33.333%;
    border-bottom: 1px solid #d8d8d8;
    border-right: 1px solid #d8d8d8;
  }
  .product-tab li:nth-child(3n) {
    border-right: none;
  }
  .product-tab a {
    white-space: nowrap;
    padding: 12px 8px;
    font-size: 14px;
    width: 100%;
  }
  .product-list {
    gap: 0 12px;
  }
  .product-item {
    width: calc(50% - 6px);
    padding-bottom: 28px;
  }
  .product-img-wrap {
    margin-bottom: 15px;
  }
  .product-name {
    font-size: 14px;
  }
  .product-copy {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.5;
  }
}

/* —— 미리보기 보완 —— */
.sub-content:has(.product-content) {
  background: #fff;
}

.product-img-wrap--empty {
  color: #9ca3af;
  font-size: 13px;
  text-align: center;
  padding: 16px;
  box-sizing: border-box;
}

/* 카테고리가 많을 때 — 모바일: 3칸 격자 대신 감싸는 버튼형 유지 (긴 이름도 한 줄로) */
@media (max-width: 768px) {
  .product-tab--many ul {
    justify-content: flex-start;
    gap: 8px 6px;
    border: 0;
  }
  .product-tab--many li,
  .product-tab--many li:nth-child(3n) {
    flex: 0 0 auto;
    border: 0;
  }
  .product-tab--many a {
    width: auto;
    min-width: 0;
    padding: 8px 14px;
    font-size: 13px;
  }
}

/* 사진에 마우스를 올리면 어두워지며 설명이 사진 위에 나옴 (마우스 있는 화면만) */
.product-overlay {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .product-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 28px;
    background: rgba(17, 17, 17, 0.72);
    color: #fff;
    text-align: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
  }
  .product-overlay p {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    word-break: keep-all;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-img-wrap img {
    transition: transform 0.4s ease;
  }
  .product-item:hover .product-overlay {
    opacity: 1;
  }
  .product-item:hover .product-img-wrap img {
    transform: scale(1.04);
  }
  .product-item .product-copy {
    display: none;
  }
}
@media (hover: none), (pointer: coarse) {
  .product-copy {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}


/* /templates/css/sub/procedure.css */
/* sub / procedure — 시술안내는 장비안내(equipment.css)와 동일 레이아웃을 사용합니다. */


/* /templates/css/sub/treatment.css */
/* sub / treatment — 진료안내 */
.sub-content.clinic-guide {
  --color-primary: var(--clinic-brand-primary, #710014);
  box-sizing: border-box;
  background: #fff;
  color: #222;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
}

.sub-content.clinic-guide *,
.sub-content.clinic-guide *::before,
.sub-content.clinic-guide *::after {
  box-sizing: border-box;
}

.clinic-guide.con_inner {
  max-width: 1350px;
  margin: 0 auto;
  padding: 88px 20px 120px;
}

.clinic-guide__tabs {
  margin: 0 0 56px;
}

.clinic-guide__tabs ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #f5f5f5;
  border-top: 1px solid #d8d8d8;
  border-bottom: 1px solid #d8d8d8;
}

.clinic-guide__tabs li {
  flex: 1;
  margin: 0;
  text-align: center;
}

.clinic-guide__tabs a {
  display: block;
  width: 100%;
  padding: 14px 8px;
  color: #464646;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: 0.3s;
}

.clinic-guide__tabs a.is-on,
.clinic-guide__tabs a:hover {
  color: #000;
  background: #e5e5e5;
  font-weight: 600;
}

.clinic-guide__list {
  display: flex;
  flex-direction: column;
}

.clinic-guide__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  padding: 56px 0;
  border-top: 1px solid #cccac7;
}

.clinic-guide__row:first-child {
  border-top: none;
  padding-top: 0;
}

.clinic-guide__row.is-flip {
  flex-direction: row-reverse;
}

.clinic-guide__copy {
  flex: 1 1 360px;
  min-width: 0;
  max-width: 520px;
}

.clinic-guide__kicker {
  display: block;
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary, #710014);
}

.clinic-guide__name {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  color: #111;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.clinic-guide__sub {
  margin: 0 0 22px;
  font-size: 17px;
  font-weight: 400;
  color: #888;
  word-break: keep-all;
}

.clinic-guide__desc {
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
  color: #333;
  word-break: keep-all;
}

.clinic-guide__media {
  flex: 0 1 560px;
  width: min(560px, 46%);
  max-width: 100%;
  overflow: hidden;
  background: #f3f1ee;
}

.clinic-guide__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.clinic-guide__media.is-empty {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  color: #9a8f86;
  font-size: 14px;
}

.clinic-guide__empty {
  padding: 72px 20px;
  text-align: center;
  color: #888;
  font-size: 16px;
}

@media (max-width: 900px) {
  .clinic-guide.con_inner {
    padding: 40px var(--sub-inner-pad-x, 20px) 72px;
  }

  .clinic-guide__tabs {
    margin: 0 0 28px;
  }

  .clinic-guide__tabs ul {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .clinic-guide__tabs li {
    flex: 1 1 33.333%;
    min-width: 0;
    border-bottom: 1px solid #d8d8d8;
  }

  .clinic-guide__tabs a {
    font-size: var(--fs-body, 15px);
    padding: 12px 6px;
  }

  .clinic-guide__row,
  .clinic-guide__row.is-flip {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 20px;
    padding: 32px 0;
  }

  .clinic-guide__row:first-child {
    padding-top: 0;
  }

  .clinic-guide__copy {
    order: 2;
    flex: none;
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .clinic-guide__media {
    order: 1;
    flex: none;
    width: calc(100% + (var(--sub-inner-pad-x, 20px) * 2));
    max-width: none;
    margin-left: calc(var(--sub-inner-pad-x, 20px) * -1);
    margin-right: calc(var(--sub-inner-pad-x, 20px) * -1);
  }

  .clinic-guide__media.is-empty {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .clinic-guide__kicker {
    margin-bottom: 8px;
  }

  .clinic-guide__name {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .clinic-guide__sub {
    margin-bottom: 14px;
    font-size: var(--fs-body, 15px);
  }

  .clinic-guide__desc {
    font-size: var(--fs-body, 15px);
    line-height: var(--lh-body, 1.65);
  }
}


/* /templates/css/sub/treatment-detail.css */
/* 진료안내 상세 (/treatment/{slug}) — 리뉴아의원 treatment 페이지(sub.css) 틀을 그대로 옮긴 것.
 * 원본 선택자 앞에 .rn-tx 를 붙여 병원 템플릿 CSS 와 섞이지 않게 했습니다. 색 일부는 병원 대표색(--color-primary)을 따릅니다. */
@font-face { font-family: 'Optima LT Pro'; src: url('/templates/font/OptimaLTPro-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
.rn-tx { font-family: 'Pretendard', sans-serif; color: #000; }
.rn-tx *, .rn-tx *::before, .rn-tx *::after { box-sizing: border-box; }
.rn-tx img { max-width: 100%; height: auto; display: block; }
.rn-tx ul, .rn-tx ol, .rn-tx li { list-style: none; padding: 0; margin: 0; }
.rn-tx h1, .rn-tx h2, .rn-tx h3, .rn-tx p { padding: 0; margin: 0; }
.rn-tx button { cursor: pointer; border: none; background: none; font-family: inherit; padding: 0; }
.rn-tx .section-animate .fade-in { opacity: 0; transform: translateY(30px); transition: opacity .9s ease-out, transform .9s ease-out; }
.rn-tx .section-animate .fade-in.active { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rn-tx .section-animate .fade-in { opacity: 1; transform: none; transition: none; } }
.rn-tx .section-inner {
    width: 100%;
    max-width: 1700px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 170px;
    padding-right: 170px;
}

.rn-tx .banner-section {
    position: relative;
    width: 100%;
    max-height: 1200px;
    overflow: hidden;
    background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1a1a;
}

.rn-tx .banner-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    height: 750px;
    overflow: hidden;
}
.rn-tx .banner-wrapper .banner-content {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
    width: 100%;
    
    padding: 0 60px;
}

.rn-tx .banner-title-en,
.rn-tx .banner-title-ko {
    font-size: 40px;
    color: #fff;
    margin-bottom: 0;
}

.rn-tx .banner-title-en {
    font-family: 'Optima LT Pro', 'Optima', sans-serif;
    font-weight: 400;
}

.rn-tx .banner-title-ko {
    margin-top: 10px;
    font-weight: 500;
}
.rn-tx .banner-wrapper .banner-content .banner-text {
    position: relative;
    margin-top: 100px;
    max-width: 100%;
}

.rn-tx .banner-text h2 {
    font-size: 20px;
    color: #fff;
    font-weight: 500;
    line-height: 1.6;
    padding-bottom: 20px;
}

.rn-tx .banner-text p {
    font-size: 20px;
    color: #fff;
    font-weight: 300;
    line-height: 1.6;
}
.rn-tx .treatment-hero {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding: 104px 150px 98px;
}

.rn-tx .treatment-hero-inner {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 100px;
}

.rn-tx .treatment-hero-img {
    display: flex;
    min-height: 0;
}

.rn-tx .treatment-hero-img-box {
    position: relative;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #f5f5f5;
}

.rn-tx .treatment-hero-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rn-tx .treatment-hero-content {
    flex: 1;
    width: 100%;
}

.rn-tx .treatment-hero-subtitle {
    font-size: 27px;
    color: var(--color-primary);
    margin: 0 0 10px;
    letter-spacing: 0.5px;
}

.rn-tx .treatment-hero-title {
    font-size: 27px;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 40px;
    line-height: 1.3;
}

.rn-tx .treatment-hero-title span {
    font-weight: 500;
    opacity: 0.9;
}

.rn-tx .treatment-hero-points {
    list-style: none;
    padding: 0;
    margin: 0 0 50px;
}

.rn-tx .treatment-hero-points li {
    position: relative;
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 10px;
}

.rn-tx .treatment-hero-info {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px 10px;
}

.rn-tx .treatment-hero-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.rn-tx .treatment-hero-info-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 흰색 아이콘만 올리면 되고, 둥근 배경은 템플릿 대표색으로 칠합니다 */
    border-radius: 50%;
    background: var(--tx-main, #8f7365);
}

.rn-tx .treatment-hero-info-icon img {
    width: 40%;
    height: 40%;
    object-fit: contain;
}

.rn-tx .treatment-hero-info-label {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px;
}

.rn-tx .treatment-hero-info-value {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}
.rn-tx .treatment-prime-section {
    width: 100%;
    padding: 180px 0;
    background: color-mix(in srgb, var(--tx-main, #8f7365) 38%, #fff);
    background-position: center bottom;
    background-repeat: no-repeat;
}
.rn-tx .treatment-prime-section--img-right {
    background-image: none;
}

.rn-tx .treatment-prime-section--img-right .treatment-prime-img {
    flex-shrink: 0;
    width: 100%;
    /* 시술·장비 사진을 조금 더 크게 (420 → 500px) */
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.rn-tx .treatment-prime-section--img-right .treatment-prime-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.rn-tx .treatment-prime-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 60px;
}

.rn-tx .treatment-prime-text {
    flex: 1;
    width: 100%;
}

.rn-tx .treatment-prime-title {
    font-size: 27px;
    font-weight: 600;
    color: #000;
    margin: 0 0 10px;
    line-height: 1.3;
}

.rn-tx .treatment-prime-subtitle {
    font-size: 21px;
    color: #000;
    margin: 0 0 60px;
    line-height: 1.4;
}

.rn-tx .treatment-prime-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    background: transparent;
}

.rn-tx .treatment-prime-list-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.rn-tx .treatment-prime-check {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
    display: inline-block;
}

.rn-tx .treatment-prime-check img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rn-tx .treatment-prime-list-item p {
    margin: 0;
    font-size: 18px;
    color: #000;
    line-height: 1.8;
}

.rn-tx .recommend-section {
    width: 100%;
    padding: 80px 0;
    background: color-mix(in srgb, var(--tx-main, #8f7365) 18%, #fff);
}

.rn-tx .recommend-section .section-inner {
    padding-left: 450px;
    padding-right: 450px;
}

.rn-tx .recommend-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.rn-tx .recommend-header {
    flex-shrink: 0;
    text-align: left;
    margin: 0;
}

.rn-tx .recommend-subtitle {
    font-size: 17px;
    font-family: 'Optima LT Pro', 'Optima', sans-serif;
    color: #505050;
    margin: 0 0 8px;
    letter-spacing: 0.02em;
}

.rn-tx .recommend-title {
    font-size: 27px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
    margin: 0;
}

.rn-tx .recommend-list {
    /* 추천 문장이 한 줄에 다 보이게 폭 제한 없이 (예전 480px 이라 두 줄로 꺾였음) */
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rn-tx .recommend-list-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.rn-tx .recommend-check {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
    display: inline-block;
}

.rn-tx .recommend-check img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rn-tx .recommend-list-item p {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    text-align: left;
    color: #333;
}

/* PC: 추천 문장은 줄바꿈하지 않고 한 줄로 (좁은 화면에서는 아래 미디어쿼리 기본값대로 줄바꿈) */
@media (min-width: 1280px) {
    .rn-tx .recommend-list-item p {
        white-space: nowrap;
    }
}

.rn-tx .checklist-section {
    width: 100%;
    padding: 0;
    background: var(--tx-main, #4F443C);
}

.rn-tx .checklist-content {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 560px;
}

.rn-tx .checklist-left {
    width: 50%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 560px;
}

.rn-tx .checklist-left-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.rn-tx .checklist-left-inner {
    position: relative;
    z-index: 1;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.rn-tx .checklist-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 70px;
}

.rn-tx .checklist-title {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.5;
    color: #fff;
    margin: 0;
}

.rn-tx .checklist-cols {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    width: 100%;
    max-width: 700px;
}

.rn-tx .checklist-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.rn-tx .checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
}

.rn-tx .checklist-col-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rn-tx .checklist-col-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.rn-tx .checklist-col-text {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    color: #fff;
    flex: 1;
}

.rn-tx .checklist-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    margin: 16px 0;
    flex-shrink: 0;
}

.rn-tx .checklist-divider--mobile {
    display: none;
}

.rn-tx .checklist-right {
    width: 50%;
    background: #e8e8e8;
}

.rn-tx .checklist-img-wrap {
    width: 100%;
    height: 100%;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.rn-tx .checklist-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rn-tx .precautions-section {
    width: 100%;
    padding: 150px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--tx-main, #8f7365) 20%, #fff);
}

.rn-tx .precautions-inner {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.rn-tx .precautions-title {
    font-size: 25px;
    font-weight: 600;
    color: color-mix(in srgb, var(--tx-main, #8f7365) 50%, #000);
    text-align: center;
    margin: 0 0 30px;
}

.rn-tx .precautions-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rn-tx .precautions-list li {
    font-size: 18px;
    line-height: 1.8;
    color: color-mix(in srgb, var(--tx-main, #8f7365) 55%, #000);
    text-align: center;
    margin-bottom: 10px;
}

.rn-tx .precautions-list li:last-child {
    margin-bottom: 0;
}

@media (max-width: 1600px) {
    .rn-tx .recommend-section .section-inner {
        padding-left: 250px;
        padding-right: 250px;
    }
}

@media (max-width: 1535px) {
.rn-tx .treatment-hero {
        padding: 104px 100px 98px;
    }

    .rn-tx .recommend-section .section-inner {
        padding-left: 150px;
        padding-right: 150px;
    }
}

@media (max-width: 1279px) {
.rn-tx .treatment-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

.rn-tx .treatment-hero-img {
        width: 100%;
    }
.rn-tx .treatment-prime-section {
        padding: 150px 0;
    }
    .rn-tx .section-inner {
        padding-left: 50px;
        padding-right: 50px;
    }
    .rn-tx .recommend-section .section-inner {
        padding-left: 50px;
        padding-right: 50px;
    }
    .rn-tx .treatment-prime-content {
        flex-direction: column;
    }
    .rn-tx .treatment-prime-title {
        font-size: 24px;
    }
    .rn-tx .treatment-prime-subtitle {
        font-size: 20px;
        margin-bottom: 60px;
    }
    .rn-tx .treatment-prime-list {
        gap: 20px;
    }
    .rn-tx .treatment-prime-list-item p {
        font-size: 18px;
    }
.rn-tx .checklist-section {
        padding: 0;
    }
    .rn-tx .checklist-content {
        flex-direction: column;
        min-height: auto;
    }
    .rn-tx .checklist-left {
        width: 100%;
    }
    .rn-tx .checklist-left-inner {
        padding: 60px 30px 60px;
    }
    .rn-tx .checklist-header {
        margin-bottom: 40px;
    }
    .rn-tx .checklist-title {
        font-size: 20px;
    }
    .rn-tx .checklist-cols {
        flex-direction: column;
        gap: 0;
    }
    .rn-tx .checklist-col {
        width: 100%;
    }
    .rn-tx .checklist-divider--mobile {
        display: block;
    }
    .rn-tx .checklist-right {
        width: 100%;
    }
    .rn-tx .checklist-img-wrap {
        min-height: 400px;
    }
}

   

@media (max-width: 1023px) {
.rn-tx .treatment-hero {
        padding: 60px 20px 56px;
    }

.rn-tx .treatment-hero-info-label {
        font-size: 16px;
    }

.rn-tx .treatment-hero-info-value {
        font-size: 15px;
    }
    .rn-tx .precautions-section {
        padding: 80px 0;
    }
    .rn-tx .precautions-inner {
        padding: 0 30px;
    }
    .rn-tx .precautions-title {
        font-size: 23px;
        margin-bottom: 26px;
    }
    .rn-tx .precautions-list li {
        font-size: 17px;
    }
}

@media (max-width: 768px) {

.rn-tx .banner-content {
        padding-top: 40%;
        align-items: flex-start;
        padding-left: 30px;
    }
    
    .rn-tx .banner-text h2 {
        font-size: 20px;
        text-align: center;
        padding-bottom: 10px;
    }
    
    .rn-tx .banner-text p {
        font-size: 13px;
        text-align: center;
    }

}

@media (max-width: 767px) {
.rn-tx .banner-wrapper {
        height: 500px;
    }

.rn-tx .banner-wrapper .banner-content {
        top: 57%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 20px;
    }

.rn-tx .banner-title-en,
    .rn-tx .banner-title-ko {
        font-size: 32px;
    }

    .rn-tx .banner-wrapper .banner-content .banner-text {
        position: relative;
        margin-top: 50px;
        max-width: 100%;
        text-align: center;
        padding: 0 10px;
    }
    
    .rn-tx .banner-text h2 {
        font-size: 16px;
        text-align: center;
    }
    
    .rn-tx .banner-text p {
        font-size: 14px;
        line-height: 22px;
        text-align: center;
    }
.rn-tx .treatment-hero {
        padding: 48px 20px 44px;
    }

.rn-tx .treatment-hero-inner {
        gap: 40px;
    }

.rn-tx .treatment-hero-subtitle {
        font-size: 15px;
        margin-bottom: 5px;
    }

.rn-tx .treatment-hero-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

.rn-tx .treatment-hero-points li {
        font-size: 15px;
        margin-bottom: 12px;
    }

.rn-tx .treatment-hero-info-item {
        flex: 0 0 calc(50% - 5px);
    }

.rn-tx .treatment-hero-info-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 10px;
    }

.rn-tx .treatment-hero-info-label {
        font-size: 15px;
        margin-bottom: 6px;
    }

.rn-tx .treatment-hero-info-value {
        font-size: 14px;
    }
.rn-tx .treatment-prime-section {
        padding: 60px 0;
        background-image: none !important;
        background-color: color-mix(in srgb, var(--tx-main, #8f7365) 38%, #fff);
    }
    .rn-tx .treatment-prime-section--img-right .treatment-prime-img {
        display: none !important;
    }
    .rn-tx .section-inner {
        padding-left: 20px;
        padding-right: 20px;
    }
    .rn-tx .recommend-section .section-inner {
        padding-left: 20px;
        padding-right: 20px;
    }
    .rn-tx .treatment-prime-title {
        font-size: 20px;
        margin-bottom: 5px;
    }
    .rn-tx .treatment-prime-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .rn-tx .treatment-prime-list {
        gap: 15px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.6);
    }
    .rn-tx .treatment-prime-list-item p {
        font-size: 15px;
    }
.rn-tx .recommend-section {
        padding: 60px 0;
    }
    .rn-tx .recommend-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .rn-tx .recommend-header {
        text-align: center;
        margin-bottom: 0;
    }
    .rn-tx .recommend-subtitle {
        font-size: 17px;
    }
    .rn-tx .recommend-title {
        font-size: 18px;
    }
    .rn-tx .recommend-list {
        max-width: none;
        gap: 20px;
    }
    .rn-tx .recommend-list-item p {
        font-size: 15px;
    }
.rn-tx .checklist-section {
        padding: 0;
    }
    .rn-tx .checklist-left-inner {
        padding: 50px 24px 50px;
    }
    .rn-tx .checklist-header {
        margin-bottom: 30px;
    }
    .rn-tx .checklist-title {
        font-size: 18px;
        line-height: 1.4;
    }
    .rn-tx .checklist-item {
        min-height: 45px; 
    }
    .rn-tx .checklist-col-icon img {
        width: 18px;
        height: 18px;
    }
    .rn-tx .checklist-col-text {
        font-size: 14px;
    }
    .rn-tx .checklist-divider {
        margin: 12px 0;
    }
    .rn-tx .checklist-img-wrap {
        min-height: 320px;
    }
    .rn-tx .precautions-section {
        padding: 60px 0;
    }
    .rn-tx .precautions-inner {
        padding: 0 24px;
    }
    .rn-tx .precautions-title {
        font-size: 18px;
    }
    .rn-tx .precautions-list li {
        font-size: 15px;
    }
    .rn-tx .precautions-list li:last-child {
        margin-bottom: 0;
    }
}

/* ════════════════════════════════════════════════════════════════
   여기부터 clara 에서 더한 규칙 (위는 리뉴아 원본 그대로 · 고칠 때는 아래에서 덮어씁니다)
   화면: templates/treatment/Detail.tsx · FaqSection.tsx
   ════════════════════════════════════════════════════════════════ */

/* 템플릿 대표색 — 체크리스트 배경·빈 사진 칸 등 포인트 색이 따라갑니다 */
html.main-template-a .rn-tx { --tx-main: #AABDBB; }
html.main-template-b .rn-tx { --tx-main: #EF5617; }
html.main-template-c .rn-tx { --tx-main: #132C16; }
html.main-template-d .rn-tx { --tx-main: #0097CD; }

/* 분류 배너: 관리자가 올린 배너 사진 (--rn-banner) */
.rn-tx .banner-section { background-image: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.2)), var(--rn-banner, none); }

/* 시술 소개 사진: 올린 사진 크기가 제각각이라 원본 사진 비율(475×568)에 맞춰 자릅니다 */
.rn-tx .treatment-hero-img-box { width: 100%; aspect-ratio: 475 / 568; }
.rn-tx .treatment-hero-img-box.is-empty { width: 100%; min-height: 0; background: color-mix(in srgb, var(--tx-main, #8f7365) 9%, #fff); color: color-mix(in srgb, var(--tx-main, #8f7365) 55%, #fff); font-size: 22px; font-weight: 600; }
@media (min-width: 1280px) { .rn-tx .treatment-hero-img { flex: 0 0 475px; } }
@media (max-width: 1279px) { .rn-tx .treatment-hero-img-box { max-width: 560px; margin: 0 auto; } }

/* 자가 체크리스트: **굵게** · 오른쪽 사진이 없으면 왼쪽이 가로 전체 */
.rn-tx .checklist-col-text b { font-weight: 700; }
.rn-tx .checklist-right.is-empty { display: none; }
.rn-tx .checklist-right.is-empty ~ *, .rn-tx .checklist-content:has(.checklist-right.is-empty) .checklist-left { width: 100%; }
/* 체크리스트 왼쪽 배경: 템플릿 대표색(흰 글자가 읽히게 조금 어둡게) 위에 종이 질감 사진(--rn-check-bg)의 결만 겹칩니다 */
.rn-tx .checklist-left-bg {
    background-color: color-mix(in srgb, var(--tx-main, #4F443C) 68%, #000);
    background-image: none;
}
.rn-tx .checklist-left-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--rn-check-bg, none) center / cover no-repeat;
    filter: grayscale(1) brightness(0.53) contrast(9);
    mix-blend-mode: overlay;
    opacity: 0.55;
}

/* ── 자주 묻는 질문 (FAQ) — 맨 아래, 모든 시술 공통 (공통 중립 색상) ── */
.treatment-faq-section { position: relative; padding: 120px 0; background: #f6f6f6; }
.treatment-faq-inner { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.treatment-faq-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; margin-bottom: 48px; }
.treatment-faq-title { margin: 0; font-family: 'Noto Sans KR', 'Pretendard Variable', 'Pretendard', sans-serif; font-weight: 600; letter-spacing: -0.01em; color: #111111; font-size: 32px; line-height: 1.4; }
.treatment-faq-list { border-top: 1px solid #222222; }
.treatment-faq-item { border-bottom: 1px solid #e3e3e3; }
.treatment-faq-item[open] { background: rgba(0, 0, 0, 0.04); }
.treatment-faq-item > summary { position: relative; display: flex; align-items: center; gap: 20px; min-height: 72px; padding: 0 64px 0 24px; font-family: 'Noto Sans KR', 'Pretendard Variable', 'Pretendard', sans-serif; font-size: 16px; font-weight: 500; color: #111111; cursor: pointer; list-style: none; }
.treatment-faq-item > summary::-webkit-details-marker { display: none; }
.treatment-faq-q { flex: none; width: 12px; font-family: 'Cormorant Garamond', Georgia, 'Pretendard Variable', 'Pretendard', sans-serif; font-size: 22px; color: #111111; }
.treatment-faq-question { flex: 1; min-width: 0; }
.treatment-faq-item > summary::after { content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 300; color: #111111; }
.treatment-faq-item[open] > summary::after { content: '−'; }
.treatment-faq-item > p { margin: 0; padding: 0 56px 26px; font-size: 15px; line-height: 1.9; color: #444444; white-space: pre-line; }
@media (max-width: 768px) {
  .treatment-faq-section { padding: 64px 0; }
  .treatment-faq-head { gap: 8px; margin-bottom: 36px; }
  .treatment-faq-title { font-size: 24px; }
  .treatment-faq-item > summary { min-height: 64px; gap: 14px; padding: 14px 52px 14px 16px; font-size: 15px; line-height: 1.5; }
  .treatment-faq-item > summary::after { right: 16px; }
  .treatment-faq-item > p { padding: 0 16px 22px 42px; font-size: 14px; }
}

/* 분류 배너 부제: 한 줄로 쓰고, 화면이 좁아 줄이 바뀔 때는 단어 중간에서 끊기지 않고 두 줄이 비슷한 길이로 나뉘게 */
.rn-tx .banner-text h2 { word-break: keep-all; text-wrap: balance; }

/* 진료안내 상세 상단 배너: 다른 서브페이지(sub/hero.css)와 같은 높이·글자 크기
   높이 380px(모바일 192px), 영문 22px · 한글 35px(모바일 18px · 20px) */
.rn-tx .banner-wrapper { height: 380px; }
.rn-tx .banner-wrapper .banner-content { top: 50%; padding: 0 20px; }
.rn-tx .banner-title-en {
    font-family: "Marcellus", "Aboreto", "Playfair Display", serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.15;
    padding-bottom: 5px;
}
.rn-tx .banner-title-ko {
    font-size: 35px;
    font-weight: 500;
    letter-spacing: 2px;
    line-height: 1.15;
    margin-top: 0;
}
.rn-tx .banner-wrapper .banner-content .banner-text { margin-top: 22px; }
.rn-tx .banner-text h2 { font-size: 16px; font-weight: 400; line-height: 1.6; padding-bottom: 0; }
@media (max-width: 768px) {
    .rn-tx .banner-wrapper { height: 192px; }
    .rn-tx .banner-wrapper .banner-content { top: 50%; transform: translate(-50%, -50%); padding: 0 16px; display: block; }
    .rn-tx .banner-title-en { font-size: 18px; }
    .rn-tx .banner-title-ko { font-size: 20px; letter-spacing: 0.05em; }
    .rn-tx .banner-wrapper .banner-content .banner-text { margin-top: 10px; }
    .rn-tx .banner-text h2 { font-size: 12px; padding-bottom: 0; }
}
/* 다른 서브페이지 배너처럼 검은 글자 · 사진 위에 어두운 막 없음 (기본 상단 배너 사진이 밝은 색입니다) */
.rn-tx .banner-section { background-image: none; background-color: #fff; }
.rn-tx .banner-section::before { content: ''; position: absolute; inset: 0; background: var(--rn-banner) center / cover no-repeat; }
.rn-tx .banner-title-en,
.rn-tx .banner-title-ko,
.rn-tx .banner-text h2,
.rn-tx .banner-text p { color: #000; }
/* 다른 서브페이지 배너처럼 영문 제목은 대문자 (예: ABOUT OUR CLINIC → LIFTING CLINIC) */
.rn-tx .banner-title-en { text-transform: uppercase; }

/* 장비·시술 특징: 장비 사진을 크게 키우고, 구역 아래쪽에서 살짝 잘리게(사진 아래쪽이 구역 밖으로 내려가 가려짐) */
.rn-tx .treatment-prime-section--img-right { --prime-pad: 180px; --prime-bleed: 170px; position: relative; overflow: hidden; }
.rn-tx .treatment-prime-section--img-right .treatment-prime-content { align-items: center; }
.rn-tx .treatment-prime-section--img-right .treatment-prime-img {
    max-width: 560px;
    width: auto;
    align-self: flex-end;
    margin-bottom: calc(-1 * (var(--prime-pad) + var(--prime-bleed)));
    justify-content: center;
}
.rn-tx .treatment-prime-section--img-right .treatment-prime-img img {
    width: auto;
    max-width: 100%;
    height: 780px;
    object-fit: contain;
    object-position: center bottom;
}
@media (max-width: 1279px) {
    .rn-tx .treatment-prime-section--img-right { --prime-pad: 150px; }
    .rn-tx .treatment-prime-section--img-right .treatment-prime-img img { height: 640px; }
}
@media (max-width: 1023px) {
    .rn-tx .treatment-prime-section--img-right .treatment-prime-img { margin-bottom: calc(-1 * var(--prime-bleed)); align-self: center; }
    .rn-tx .treatment-prime-section--img-right .treatment-prime-img img { height: 500px; }
}
/* 장비 사진의 흰 배경이 구역 색 위에 네모로 보이지 않게 섞어 줍니다 */
.rn-tx .treatment-prime-section--img-right .treatment-prime-img img { mix-blend-mode: multiply; }
/* 장비 사진 확대: 아래 기준으로 키워서 장비 윗부분이 제목(○○ 맞춤 …) 높이까지 올라오게. 구역 위·아래는 overflow 로 잘림 */
.rn-tx .treatment-prime-section--img-right .treatment-prime-img img { --prime-zoom: 1.43; transform: scale(var(--prime-zoom)); transform-origin: 50% 100%; }
@media (max-width: 1279px) { .rn-tx .treatment-prime-section--img-right .treatment-prime-img img { --prime-zoom: 1.3; } }
@media (max-width: 1023px) { .rn-tx .treatment-prime-section--img-right .treatment-prime-img img { --prime-zoom: 1.15; } }

/* 시술 소개 글: 목록(ul/li) 대신 한 단락 */
.rn-tx p.treatment-hero-points { margin: 0 0 50px; font-size: 17px; line-height: 1.75; word-break: keep-all; }
@media (max-width: 768px) { .rn-tx p.treatment-hero-points { font-size: 15px; margin-bottom: 30px; } }

/* 배너 사진 밝기에 따라 글자색 (어두우면 흰색, 밝으면 검정) */
.rn-tx .banner-section.is-dark .banner-title-en,
.rn-tx .banner-section.is-dark .banner-title-ko,
.rn-tx .banner-section.is-dark .banner-text h2,
.rn-tx .banner-section.is-dark .banner-text p {
    color: #fff;
}
.rn-tx .banner-section.is-light .banner-title-en,
.rn-tx .banner-section.is-light .banner-title-ko,
.rn-tx .banner-section.is-light .banner-text h2,
.rn-tx .banner-section.is-light .banner-text p {
    color: #000;
}


/* /templates/css/sub/blog.css */
/* sub / blog — 블로그 목록·상세 */
#view-community.blog-embed {
  font-family: "Pretendard", sans-serif;
  background: #fff;
  color: #111;
}

html.main-template-c #view-community.blog-embed,
body.main-template-c #view-community.blog-embed {
  background: none;
}

#view-community.blog-embed .blog-wrapper {
  padding-top: 0;
  padding-bottom: 40px;
  min-height: 60vh;
}

/* 상세(view.php) 진입 시 서브 히어로 숨김 */
.sub-content:has(#view-community.is-detail) .sub-bg-wrap {
  display: none;
}

#view-community.blog-embed .blog-category-bar {
  position: sticky;
  top: 68px;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid #eee;
}

html.main-template-c #view-community.blog-embed .blog-category-bar,
body.main-template-c #view-community.blog-embed .blog-category-bar {
  top: 80px;
  background: #faf9f5;
}

#view-community.blog-embed .blog-category-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

#view-community.blog-embed .blog-category-scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 12px 0;
  position: relative;
  z-index: 3;
}

#view-community.blog-embed .blog-category-scroll::-webkit-scrollbar {
  display: none;
}

#view-community.blog-embed .blog-category-btn {
  flex-shrink: 0;
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 400;
  color: #888;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  position: relative;
}

#view-community.blog-embed .blog-category-btn.active {
  color: #222;
  font-weight: 600;
}

#view-community.blog-embed .blog-category-btn.active::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 2px;
  background: #222;
}

#view-community.blog-embed .blog-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 80px;
}

#view-community.blog-embed .blog-post-list {
  display: flex;
  flex-direction: column;
}

#view-community.blog-embed .blog-post-empty {
  padding: 48px 24px;
  text-align: center;
  color: #8a8a8a;
  font-size: 15px;
}

#view-community.blog-embed .blog-post-item {
  display: flex;
  width: 100%;
  align-items: stretch;
  gap: 50px;
  padding: 28px 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

#view-community.blog-embed .blog-post-item:first-child {
  padding-top: 12px;
}

#view-community.blog-embed .blog-post-thumb {
  position: relative;
  flex-shrink: 0;
  width: 220px;
  height: 220px;
  overflow: hidden;
}

#view-community.blog-embed .blog-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#view-community.blog-embed .blog-post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 0;
}

#view-community.blog-embed .blog-post-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

#view-community.blog-embed .blog-post-subtitle {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}

#view-community.blog-embed .blog-post-desc {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
  color: #333;
}

#view-community.blog-embed .blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

#view-community.blog-embed .blog-post-tag {
  font-size: 14px;
  color: #2a1f1b;
  font-weight: 400;
}

#view-community.blog-embed .blog-post-date {
  font-size: 14px;
  color: #555;
  font-weight: 400;
}

#view-community.blog-embed .blog-detail-panel {
  display: block;
}

#view-community.blog-embed .blog-detail-panel[hidden] {
  display: none !important;
}

#view-community.blog-embed .blog-detail {
  max-width: 1000px;
  margin: 0 auto;
  padding: 90px 16px 0;
}

#view-community.blog-embed .blog-detail-header {
  display: flex;
  align-items: stretch;
  gap: 40px;
}

#view-community.blog-embed .blog-detail-thumb {
  flex-shrink: 0;
  width: 220px;
  height: 220px;
  border-radius: 0;
  overflow: hidden;
}

#view-community.blog-embed .blog-detail-thumb--empty {
  background: #f5f5f5;
}

#view-community.blog-embed .blog-detail-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#view-community.blog-embed .blog-detail-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 0;
}

#view-community.blog-embed .blog-detail-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: #111;
  margin: 0;
  word-break: keep-all;
}

#view-community.blog-embed .blog-detail-subtitle {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

#view-community.blog-embed .blog-detail-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}

#view-community.blog-embed .blog-detail-tag {
  font-size: 14px;
  color: #2a1f1b;
  font-weight: 300;
}

#view-community.blog-embed .blog-detail-date {
  font-size: 14px;
  color: #888;
  font-weight: 300;
  margin: 0;
}

#view-community.blog-embed .blog-detail-divider {
  height: 1px;
  background: #e5e5e5;
  margin: 32px 0 50px;
}

#view-community.blog-embed .blog-detail-body {
  margin: 0 auto;
  padding: 0 0 80px;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: keep-all;
  white-space: normal;
}

#view-community.blog-embed .blog-detail-cta {
  display: flex;
  justify-content: center;
  padding: 0 0 32px;
}

#view-community.blog-embed .blog-detail-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: #222;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
}

#view-community.blog-embed .blog-detail-cta-btn:hover {
  background: #111;
}

#view-community.blog-embed .wysiwyg-content {
  font-size: 18px;
  line-height: 1.85;
  color: #333;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: keep-all;
  white-space: normal;
}

#view-community.blog-embed .wysiwyg-content p {
  font-size: 18px;
  line-height: 1.85;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: keep-all;
  white-space: normal;
}

#view-community.blog-embed .wysiwyg-content .ql-size-small { font-size: 0.75em; }
#view-community.blog-embed .wysiwyg-content .ql-size-large { font-size: 1.5em; }
#view-community.blog-embed .wysiwyg-content .ql-size-huge { font-size: 2.5em; }

#view-community.blog-embed .wysiwyg-content h1,
#view-community.blog-embed .wysiwyg-content h2,
#view-community.blog-embed .wysiwyg-content h3,
#view-community.blog-embed .wysiwyg-content h4 {
  font-weight: 600;
  color: #111;
  line-height: 1.4;
  margin: 32px 0 12px;
}

#view-community.blog-embed .wysiwyg-content h1 { font-size: 22px; }
#view-community.blog-embed .wysiwyg-content h2 { font-size: 20px; margin-top: 48px; }
#view-community.blog-embed .wysiwyg-content h3 { font-size: 18px; color: #222; margin-top: 36px; }
#view-community.blog-embed .wysiwyg-content h4 { font-size: 17px; }

#view-community.blog-embed .wysiwyg-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 24px 0;
  display: block;
}

#view-community.blog-embed .wysiwyg-content .blog-image-slot {
  display: block;
  margin: 24px 0;
}

#view-community.blog-embed .wysiwyg-content .blog-image-slot:not(.is-filled) {
  display: none;
}

#view-community.blog-embed .wysiwyg-content .blog-image-slot img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

#view-community.blog-embed .wysiwyg-content a {
  color: #1a3a2e;
  text-decoration: underline;
}

#view-community.blog-embed .wysiwyg-content a:hover {
  color: #0f2a20;
}

#view-community.blog-embed .wysiwyg-content ul,
#view-community.blog-embed .wysiwyg-content ol {
  list-style: none;
  padding-left: 0;
  margin: 12px 0 20px;
}

#view-community.blog-embed .wysiwyg-content li {
  position: relative;
  padding-left: 1.15em;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.85;
  color: #333;
  margin-bottom: 8px;
}

#view-community.blog-embed .wysiwyg-content ul > li::before,
#view-community.blog-embed .wysiwyg-content li[data-list="bullet"]::before {
  content: '-';
  position: absolute;
  left: 0;
}

#view-community.blog-embed .wysiwyg-content blockquote {
  border-left: 3px solid #c4b5a4;
  padding: 16px 20px;
  margin: 24px 0;
  background: #faf8f6;
  border-radius: 0 8px 8px 0;
}

#view-community.blog-embed .wysiwyg-content blockquote p {
  margin: 0;
  color: #555;
  font-style: italic;
}

#view-community.blog-embed .wysiwyg-content strong {
  font-weight: 600;
  color: #111;
}

#view-community.blog-embed .wysiwyg-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

#view-community.blog-embed .wysiwyg-content th,
#view-community.blog-embed .wysiwyg-content td {
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  text-align: left;
}

#view-community.blog-embed .wysiwyg-content th {
  background: #f9fafb;
  font-weight: 600;
}

#view-community.blog-embed .blog-detail-back {
  display: flex;
  justify-content: center;
  padding: 40px 0 80px;
}

#view-community.blog-embed .blog-detail-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 500;
  color: #555;
  border: 1px solid #555;
  border-radius: 4px;
  background: none;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

#view-community.blog-embed .blog-detail-back-btn:hover {
  border-color: #222;
  color: #222;
}

@media (max-width: 1024px) {
  html.main-template-c #view-community.blog-embed .blog-category-bar,
  body.main-template-c #view-community.blog-embed .blog-category-bar {
    top: 50px;
  }

  #view-community.blog-embed .blog-post-item {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  #view-community.blog-embed .blog-category-inner {
    padding: 0 var(--sub-inner-pad-x, 20px);
  }

  #view-community.blog-embed .blog-content {
    padding: 16px var(--sub-inner-pad-x, 20px) 80px;
  }

  #view-community.blog-embed .blog-post-item {
    flex-direction: column;
    gap: 0;
    padding: 24px 0;
  }

  #view-community.blog-embed .blog-post-thumb,
  #view-community.blog-embed .blog-post-thumb--empty {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  #view-community.blog-embed .blog-post-content {
    padding-top: 16px;
    gap: 8px;
  }

  #view-community.blog-embed .blog-post-title {
    font-size: 18px;
  }

  #view-community.blog-embed .blog-post-subtitle {
    font-size: 15px;
    color: #555;
  }

  #view-community.blog-embed .blog-post-desc {
    display: none;
  }

  #view-community.blog-embed .blog-post-tag,
  #view-community.blog-embed .blog-post-date {
    font-size: 13px;
  }

  #view-community.blog-embed .blog-detail {
    padding: 50px var(--sub-inner-pad-x, 20px) 0;
  }

  #view-community.blog-embed .blog-detail-header {
    flex-direction: column;
    gap: 20px;
  }

  #view-community.blog-embed .blog-detail-thumb,
  #view-community.blog-embed .blog-detail-thumb--empty {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  #view-community.blog-embed .blog-detail-title {
    font-size: 18px;
  }

  #view-community.blog-embed .blog-detail-subtitle {
    font-size: 15px;
  }

  #view-community.blog-embed .blog-detail-tag,
  #view-community.blog-embed .blog-detail-date {
    font-size: 13px;
  }

  #view-community.blog-embed .blog-detail-date {
    margin-top: 8px;
  }

  #view-community.blog-embed .blog-detail-divider {
    margin: 24px 0 35px;
  }

  #view-community.blog-embed .blog-detail-body {
    padding: 0 0 60px;
  }

  #view-community.blog-embed .wysiwyg-content,
  #view-community.blog-embed .wysiwyg-content p,
  #view-community.blog-embed .wysiwyg-content li {
    font-size: 15px;
    line-height: 1.75;
  }

  #view-community.blog-embed .wysiwyg-content h2 {
    font-size: 18px;
    margin: 36px 0 12px;
  }

  #view-community.blog-embed .wysiwyg-content h3 {
    font-size: 16px;
    margin: 28px 0 10px;
  }

  #view-community.blog-embed .wysiwyg-content img {
    border-radius: 6px;
    margin: 20px 0;
  }

  #view-community.blog-embed .blog-detail-back {
    padding: 32px 0 60px;
  }

  #view-community.blog-embed .blog-detail-back-btn {
    padding: 10px 24px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  html.main-template-c #view-community.blog-embed .blog-category-bar,
  body.main-template-c #view-community.blog-embed .blog-category-bar {
    top: 50px;
  }
}



/* /templates/css/sub/community.css */
/* sub / community — 공지/이벤트 리스트 */

#view-community.notice-embed {
  font-family: "Pretendard", sans-serif;
  background: #fff;
  color: #111;
}

html.main-template-c #view-community.notice-embed,
body.main-template-c #view-community.notice-embed {
  background: none;
}

.sub-content:has(#view-community.is-detail) .sub-bg-wrap {
  display: none;
}

.notice {
  width: 100%;
  margin: 120px auto 100px;
  padding: 0 var(--sub-inner-pad-x, 20px);
  box-sizing: border-box;
}

.notice-inner {
  width: 100%;
  max-width: 1110px;
  margin: 0 auto;
}

/* Tabs */
.notice-tabs {
  margin-bottom: 40px;
}

.notice-tabs__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.notice-tabs__list li button,
.notice-tabs__list li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 40px;
  border: 1px solid #000;
  border-radius: 50px;
  font-size: 15px;
  color: #666;
  text-decoration: none;
  background: #fff;
  transition: all 0.3s;
  cursor: pointer;
  font-family: inherit;
}

.notice-tabs__list li button:hover,
.notice-tabs__list li a:hover {
  background: #f2f2f2;
}

.notice-tabs__list li button.active,
.notice-tabs__list li a.active {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* Empty state */
.notice-empty {
  text-align: center;
  padding: 80px 20px;
  margin: 0;
  font-size: 15px;
  color: #8a8a8a;
}

.notice-empty[hidden] {
  display: none !important;
}

/* Table */
.notice-table {
  width: 100%;
  border-top: 2px solid var(--color-primary, #000);
}

.notice-table[hidden] {
  display: none !important;
}

.notice-table__header {
  display: flex;
  align-items: center;
  padding: 16px 0;
  background: #f9f9f9;
  border-bottom: 1px solid #ddd;
  font-weight: 500;
  color: #555;
}

.col-no {
  width: 12%;
  text-align: center;
}

.col-thumb {
  flex-shrink: 0;
}

.col-title {
  flex: 1;
  text-align: left;
  min-width: 0;
}

.col-date {
  width: 15%;
  text-align: center;
}

.notice-table--no-thumb .col-thumb {
  display: none;
}

/* List */
.notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notice-list__item {
  display: flex;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.notice-list__item[hidden] {
  display: none !important;
}

.notice-list__item .col-no {
  font-size: 15px;
  color: #666;
}

.notice-list__item .col-title {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.notice-list__item:hover .col-title,
.notice-list__item .col-title:hover {
  color: var(--color-primary, #000);
}

.notice-list__item .col-date {
  font-size: 14px;
  color: #888;
}

/* Thumbnail */
.notice-thumb {
  width: 120px;
  height: 70px;
  overflow: hidden;
  border-radius: 8px;
  margin-right: 20px;
  flex-shrink: 0;
  background: #f5f5f5;
}

.notice-thumb--empty {
  background: #f5f5f5;
}

.notice-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Title */
.notice-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
  min-width: 0;
}

.notice-title__text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

/* Badge */
.notice-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary, #000);
  background: var(--primary-soft, #f2f2f2);
  border-radius: 4px;
  flex-shrink: 0;
}

.notice-badge--notice {
  color: var(--primary-strong, #000);
  background: #eee;
}

/* ============================================
   View Page - 상세보기
   ============================================ */

.notice-view {
  width: 1110px;
  max-width: 100%;
  margin: 0 auto;
}

.notice-view__title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 65px;
  margin: 0;
  padding: 16px 12px;
  font-size: 18px;
  font-weight: 500;
  color: #222;
  text-align: center;
  border-top: 1px solid #cecece;
  border-bottom: 1px solid #cecece;
  box-sizing: border-box;
}

.notice-view__cate {
  margin-right: 8px;
  color: var(--color-primary, #000);
}

.notice-view__content {
  padding: 40px 20px;
  line-height: 1.8;
  font-size: 16px;
  color: #444;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.notice-view__images {
  text-align: center;
}

.notice-view__img-wrap {
  margin-bottom: 12px;
}

.notice-view__img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  width: auto;
  height: auto;
}

.notice-view__text {
  margin: 0;
  text-align: center;
}

.notice-view__text.wysiwyg-content {
  font-size: 16px;
  line-height: 1.85;
  color: #444;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: keep-all;
  white-space: normal;
}

.notice-view__text.wysiwyg-content p {
  margin: 0 0 1em;
  overflow-wrap: break-word;
  word-break: keep-all;
  white-space: normal;
}

.notice-view__text.wysiwyg-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 16px auto;
}

.notice-view__footer {
  padding: 30px 0;
  text-align: center;
}

.notice-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 40px;
  background: var(--color-primary, #000);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  transition: background 0.3s;
  cursor: pointer;
  font-family: inherit;
}

.notice-btn:hover {
  background: var(--primary-hover, #1a1a1a);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
  .notice {
    margin: 100px auto 60px;
  }

  .notice-tabs__list {
    gap: 10px;
  }

  .notice-tabs__list li button,
  .notice-tabs__list li a {
    width: 100px;
    height: 36px;
    font-size: 14px;
  }

  .notice-table__header {
    display: none;
  }

  .notice-list__item {
    flex-wrap: nowrap;
    padding: 16px 0;
    align-items: center;
  }

  .notice-list__item .col-no {
    display: none;
  }

  .notice-list__item .col-thumb {
    order: 0;
    flex-shrink: 0;
  }

  .notice-list__item .col-title {
    flex: 1;
    min-width: 0;
    padding-left: 0;
  }

  .notice-list__item .col-date {
    width: auto;
    flex-shrink: 0;
    text-align: right;
    font-size: 13px;
    color: #888;
  }

  .notice-thumb {
    width: 100px;
    height: 60px;
  }

  .notice-title {
    gap: 8px;
    font-size: 15px;
  }

  .notice-view__title {
    min-height: 55px;
    font-size: 16px;
  }

  .notice-view__content {
    padding: 30px 10px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .notice {
    margin: 40px auto 40px;
    padding: 0 var(--sub-inner-pad-x, 20px);
  }

  .notice-tabs {
    margin-bottom: 30px;
  }

  .notice-tabs__list li button,
  .notice-tabs__list li a {
    width: 80px;
    height: 34px;
    font-size: 13px;
  }

  .notice-thumb {
    width: 80px;
    height: 50px;
    margin-right: 14px;
  }

  .notice-list__item .col-date {
    font-size: 12px;
  }

  .notice-title {
    font-size: 14px;
    gap: 6px;
  }

  .notice-badge {
    font-size: 12px;
    padding: 3px 8px;
  }
}


/* /templates/site.css */
/* Public site overrides. Partial files are linked in parallel from the site layout. */

.main-banner .home-wrap .part-1::before {
  background-color: #1a1c1f;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.28)),
    var(--hero-image, url('/homepage/images/main_banner01.png'));
  background-position: center;
  background-size: cover;
}

.main-template-b .main-banner .home-wrap .part-1,
body.main-template-b .main-banner .home-wrap .part-1 {
  align-items: center;
  justify-content: center;
  padding: 0 40px;
}

.main-template-b .main-banner .home-wrap .part-1 .hero-copy,
body.main-template-b .main-banner .home-wrap .part-1 .hero-copy {
  text-align: center;
  width: 100%;
}

.main-page,
.sub-page,
html.main-page,
html.sub-page,
body.main-page,
body.sub-page {
  min-height: 100vh;
  background: #fff;
}

html.sub-page body,
body.sub-page {
  padding-top: 56px;
}

.sub-content.brand-stacking {
  overflow: visible;
}

@media (min-width: 768px) {
  html.sub-page body,
  body.sub-page {
    padding-top: 64px;
  }
}

html.main-template-b.sub-page body,
body.main-template-b.sub-page {
  padding-top: 56px;
}

html.main-template-c.sub-page body,
body.main-template-c.sub-page {
  padding-top: 80px;
}

@media (max-width: 768px) {
  html.main-template-b.sub-page body,
  body.main-template-b.sub-page {
    padding-top: 37px;
  }
  html.main-template-c.sub-page body,
  body.main-template-c.sub-page {
    padding-top: 60px;
  }
}

@media (max-width: 480px) {
  html.main-template-c.sub-page body,
  body.main-template-c.sub-page {
    padding-top: 56px;
  }
}

html.main-template-c,
html.main-template-c body,
html.main-template-c main,
body.main-template-c,
main.main-template-c,
html.main-template-c .main-page,
html.main-template-c .sub-page,
html.main-template-c .sub-content:not(.tp-page),
html.main-template-c .tp-side {
  background-color: #faf9f5 !important;
}

html.main-template-c .sub-content.tp-page,
body.main-template-c .sub-content.tp-page {
  background-color: #fbf8f2 !important;
}

html.main-page header,
html.main-page #main-nav,
.main-page > header,
.main-page #main-nav {
  background-color: transparent;
}

html.sub-page header,
html.sub-page #main-nav,
html.header-solid header,
html.header-solid #main-nav,
.sub-page > header,
.sub-page #main-nav,
.sub-page #main-nav.scrolled {
  background-color: var(--color-primary, #331f4c);
}

html.main-page #main-nav.scrolled,
html.main-page #main-nav.menu-active,
.main-page #main-nav.scrolled,
.main-page #main-nav.menu-active {
  background-color: var(--color-primary, #331f4c);
}

html.main-template-b.main-page .site-header--c,
html.main-template-b.main-page.header-solid .site-header--c,
body.main-template-b.main-page .site-header--c {
  background: rgba(250, 249, 245, 0.9);
}

html.main-template-b.sub-page .site-header--c,
html.main-template-b.sub-page.header-solid .site-header--c,
body.main-template-b.sub-page .site-header--c {
  background: #fff;
}

html.main-template-b.sub-page:has(.gnb-container.open) .site-header--c,
html.main-template-b.sub-page.header-solid:has(.gnb-container.open) .site-header--c,
body.main-template-b.sub-page:has(.gnb-container.open) .site-header--c {
  background: transparent !important;
}

html.main-template-b .site-header--c #main-nav,
html.main-template-b.header-solid .site-header--c #main-nav,
html.main-template-b.main-page .site-header--c #main-nav,
html.main-template-b.main-page .site-header--c #main-nav.scrolled,
html.main-template-b.main-page .site-header--c #main-nav.menu-active,
body.main-template-b .site-header--c #main-nav {
  background: transparent;
}

html.main-template-b.open,
html.main-template-b.open body {
  overflow-y: hidden;
}

html.main-template-c.main-page .site-header--flush {
  background: transparent;
}

html.main-template-c.main-page.header-solid .site-header--flush {
  background: #fff;
}

html.main-template-c .site-header--flush #main-nav,
html.main-template-c.main-page .site-header--flush #main-nav,
html.main-template-c.main-page .site-header--flush #main-nav.scrolled,
html.main-template-c.main-page .site-header--flush #main-nav.menu-active {
  background: transparent !important;
}

.sub-top-text,
.sub-top-text h1,
.sub-top-text p {
  color: #000;
}

.section-animate .fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.section-animate .fade-in.is-inview,
.section-animate .fade-in.active {
  opacity: 1;
  transform: none;
}

.reveal.fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.reveal.active.fade-up,
.reveal.fade-up.is-inview {
  opacity: 1;
  transform: none;
}

#view-community.blog-embed a.blog-post-item {
  color: inherit;
  text-decoration: none;
}

.main_about_a__media a {
  margin: 0;
  padding: 0;
  font: inherit;
  text-transform: none;
  letter-spacing: normal;
}

.main_about_a__media a::before,
.main_about_a__media a::after {
  content: none;
}

.main_about_a__bg {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
}

html.main-template-c .marcellus,
html.main-template-c .font-marcellus,
html.main-template-c .sub-top-text h1,
html.main-template-c .sub-cont-header h2,
html.main-template-c .section-header-title-1,
html.main-template-c .section-header-title-2,
html.main-template-c .main_map .tit-locations-label .tit-01 {
  font-family: Pretendard, 'Noto Sans KR', sans-serif;
}

