/* 성누가병원 내과 — B안 공통 스타일 (본문 섹션은 시안의 인라인 스타일을 그대로 사용) */
:root { --im-primary: #00529B; --im-container: none; --im-gutter: clamp(32px, 4.5vw, 96px); }

body.im-site { margin: 0; background: #FFFFFF; }
.im-root { font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; color: #111A24; font-size: 17px; line-height: 1.85; background: #FFFFFF; word-break: keep-all; }
.im-root *, .im-root *::before, .im-root *::after { box-sizing: border-box; }
.im-root a { color: var(--im-primary); }
.im-root a:hover { opacity: .85; }
.im-root img { max-width: 100%; height: auto; }
.im-root summary { list-style: none; }
.im-root summary::-webkit-details-marker { display: none; }

/* PC 화면 폭: 시안의 1320px 틀을 설정 폭(기본: 화면 전체)으로 넓힘 */
@media (min-width: 769px) {
	.im-main [style*="max-width: 1320px"] { max-width: var(--im-container) !important; padding-left: var(--im-gutter) !important; padding-right: var(--im-gutter) !important; }
}

/* 표 (시안 .tb) */
.im-root .tb { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 420px; }
.im-root .tb th { font-weight: 500; color: #6B7684; text-align: left; padding: 12px 8px 12px 0; border-bottom: 1px solid #111A24; font-size: 14px; }
.im-root .tb td { padding: 16px 8px 16px 0; border-bottom: 1px solid #E6E9ED; color: #111A24; vertical-align: top; }
.im-root .tbdark .tb td { color: #FFFFFF; border-bottom-color: #3A4A5A; }
.im-root .tbdark .tb th { color: #B9C6D3; border-bottom-color: #8FA2B5; }
.im-root .tbdark a { color: #8FB4DA; }

/* [확인 필요] */
.im-root mark.im-todo { background: #FFF1C9; color: #5C4300; padding: 1px 6px; font-size: .92em; }
body.im-hide-todo .im-root mark.im-todo { display: none; }

/* 헤더 */
.im-header { position: relative; z-index: 20; background: #FFFFFF; border-bottom: 1px solid #E6E9ED; }
.im-header__in { max-width: var(--im-container); margin: 0 auto; padding: 22px var(--im-gutter); display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; }
.im-logo { text-decoration: none; display: flex; align-items: baseline; gap: 10px; }
.im-logo__en { font-family: Montserrat, sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .18em; color: #6B7684; }
.im-logo__ko { font-size: 22px; font-weight: 700; color: #111A24; }
.im-gnb__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 36px; font-size: 16px; font-weight: 500; }
.im-gnb__list > li { position: relative; }
.im-gnb__list a { color: #111A24; text-decoration: none; display: inline-block; padding: 8px 0; white-space: nowrap; }
.im-gnb__list > li.current-menu-item > a, .im-gnb__list > li.current-menu-ancestor > a, .im-gnb__list > li.current-page-ancestor > a { color: var(--im-primary); box-shadow: inset 0 -2px 0 var(--im-primary); }
.im-gnb__list .sub-menu { display: none; position: absolute; top: 100%; left: -18px; min-width: 210px; margin: 0; padding: 8px 0; list-style: none; background: #FFFFFF; border: 1px solid #E6E9ED; border-radius: 10px; box-shadow: 0 8px 24px rgba(17,26,36,.08); }
.im-gnb__list .sub-menu a { display: block; padding: 9px 18px; font-size: 15px; font-weight: 400; white-space: nowrap; }
.im-gnb__list > li:hover > .sub-menu, .im-gnb__list > li:focus-within > .sub-menu { display: block; }
.im-header__util { display: flex; gap: 10px; align-items: center; }
.im-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.im-root .im-btn--line { border: 1px solid #111A24; color: #111A24; background: #FFFFFF; }
.im-root .im-btn--fill { background: var(--im-primary); color: #FFFFFF; }

/* 상단 위치 표시 + 큰 제목 (엘유치과 방식) */
.im-hero { background: #FFFFFF; }
.im-loc { max-width: var(--im-container); margin: 0 auto; padding: 20px var(--im-gutter) 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.im-loc__home { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #EEF3F9; margin-right: 10px; }
.im-root .im-loc__home { color: var(--im-primary); }
.im-dd { position: relative; }
.im-dd__btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; cursor: pointer; font-size: 15px; color: #111A24; }
.im-dd__btn.is-bold { font-weight: 700; }
.im-dd__panel { position: absolute; top: 48px; left: 0; z-index: 15; min-width: 220px; max-height: 70vh; overflow: auto; padding: 8px 0; background: #FFFFFF; border: 1px solid #E6E9ED; border-radius: 10px; box-shadow: 0 8px 24px rgba(17,26,36,.08); }
.im-root .im-dd__panel a { display: block; padding: 10px 18px; font-size: 15px; color: #111A24; text-decoration: none; white-space: nowrap; }
.im-root .im-dd__panel a.is-active { color: var(--im-primary); font-weight: 700; }
.im-dd__panel a:hover { background: #F4F6F8; }
.im-hero__title { max-width: var(--im-container); margin: 0 auto; padding: 72px var(--im-gutter) 120px; text-align: center; }
.im-hero__title h1 { margin: 0; font-size: 56px; line-height: 1.25; font-weight: 800; color: #111A24; letter-spacing: -.01em; }

/* 푸터 */
.im-footer { background: #FFFFFF; border-top: 1px solid #E6E9ED; color: #4A5663; font-size: 14px; margin-top: 112px; }
.im-footer__in { max-width: var(--im-container); margin: 0 auto; padding: 48px var(--im-gutter); display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.im-footer__info { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.im-footer__name { font-size: 18px; font-weight: 700; color: #111A24; }
.im-footer__links { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.im-root .im-footer a { color: #111A24; }

/* 모바일 하단 고정 바 */
.im-mbar { display: none; }

/* 태블릿·모바일 */
@media (max-width: 1024px) {
	.im-gnb { order: 3; width: 100%; overflow-x: auto; }
	.im-gnb__list { flex-wrap: nowrap; gap: 0 24px; }
	.im-gnb__list .sub-menu { display: none !important; }
}
@media (max-width: 768px) {
	.im-root { font-size: 16px; }
	.im-header__in { padding: 14px 20px 0; gap: 8px 16px; }
	.im-logo__en { display: none; }
	.im-logo__ko { font-size: 20px; }
	.im-btn { min-height: 36px; padding: 0 14px; font-size: 14px; }
	.im-gnb { margin: 0 -20px; padding: 0 20px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.im-gnb::-webkit-scrollbar { display: none; }
	.im-gnb__list { font-size: 15px; gap: 0 20px; }
	.im-gnb__list a { padding: 10px 0 12px; }
	.im-header__util .im-btn--line { display: none; }
	.im-loc { padding: 12px 20px 0; }
	.im-hero__title { padding: 40px 20px 56px; }
	.im-hero__title h1 { font-size: 34px; }
	.im-main h2 { font-size: 26px !important; }
	.im-main h3 { font-size: 20px !important; }
	.im-main section[style*="padding: 120px 32px 0"], .im-main section[style*="padding: 112px 32px 0"], .im-main section[style*="padding: 96px 32px 0"] { padding: 64px 20px 0 !important; }
	.im-main section[style*="margin-top: 120px; padding: 112px 0"] { margin-top: 64px !important; padding: 64px 0 !important; }
	.im-main [style*="padding: 0 32px"] { padding-left: 20px !important; padding-right: 20px !important; }
	.im-main [style*="font-size: 21px"] { font-size: 18px !important; }
	.im-main [style*="font-size: 40px"], .im-main [style*="font-size: 44px"], .im-main [style*="font-size: 48px"], .im-main [style*="font-size: 56px"], .im-main [style*="font-size: 64px"] { font-size: 30px !important; }
	.im-main [style*="min-width: 420px"], .im-root .tb { min-width: 0; }
	.im-main [style*="grid-template-columns"] { grid-template-columns: minmax(0, 1fr) !important; }
	.im-main [style*="flex: 0 0"] { max-width: 100%; }
	.im-main { overflow-x: clip; }
	.im-footer { margin-top: 64px; }
	.im-footer__in { padding: 32px 20px 96px; }
	.im-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #111A24; padding-bottom: env(safe-area-inset-bottom, 0px); }
	.im-root .im-mbar a { flex: 1; text-align: center; padding: 16px 0; color: #FFFFFF; font-size: 15px; font-weight: 700; text-decoration: none; }
	.im-root .im-mbar a + a { border-left: 1px solid #3A4A5A; }
	.im-root .im-mbar a:first-child { background: var(--im-primary); }
}

/* 건강칼럼 카드 (목록·홈) */
.im-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px 24px; }
.im-root a.im-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: #111A24; }
.im-card__thumb { display: block; height: 220px; overflow: hidden; background: #EEF1F4; }
.im-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.im-card:hover .im-card__thumb img { transform: scale(1.04); }
.im-card__ph { height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; font-family: Montserrat, sans-serif; font-size: 13px; letter-spacing: .2em; line-height: 1.8; color: #8A96A3; }
.im-card__cat { font-size: 14px; color: var(--im-primary); font-weight: 700; }
.im-card__title { font-size: 19px; font-weight: 700; line-height: 1.5; }
.im-card__date { font-size: 14px; color: #6B7684; }
.im-cards__empty { padding: 56px 0; text-align: center; color: #6B7684; border-top: 1px solid #E6E9ED; border-bottom: 1px solid #E6E9ED; margin: 0; }
.im-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 64px; }
.im-pager .page-numbers { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #E6E9ED; color: #111A24; text-decoration: none; font-size: 15px; }
.im-pager .page-numbers.current { background: var(--im-primary); border-color: var(--im-primary); color: #FFFFFF; }

/* 건강칼럼 본문(글) */
.im-hero--post .im-hero__title { padding-bottom: 72px; }
.im-post__cat { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: var(--im-primary); }
.im-post__meta { margin: 16px 0 0; font-size: 15px; color: #6B7684; }
.im-post { max-width: 860px; margin: 0 auto; padding: 0 32px 120px; }
.im-post__body > * + * { margin-top: 1.4em; }
.im-post__body p { margin: 0; }
.im-post__body h2 { font-size: 28px; line-height: 1.45; margin: 2.4em 0 0; padding-top: 24px; border-top: 1px solid #111A24; }
.im-post__body h3 { font-size: 21px; line-height: 1.5; margin: 2em 0 0; }
.im-post__body ul, .im-post__body ol { padding-left: 1.3em; }
.im-post__body li + li { margin-top: .4em; }
.im-post__body figure { margin: 2em 0; }
.im-post__body figcaption { font-size: 14px; color: #6B7684; margin-top: 8px; }
.im-post__body table { width: 100%; border-collapse: collapse; font-size: 16px; }
.im-post__body th, .im-post__body td { padding: 12px 8px; border-bottom: 1px solid #E6E9ED; text-align: left; vertical-align: top; }
.im-post__body th { border-bottom-color: #111A24; font-weight: 500; color: #6B7684; font-size: 14px; }
.im-post__body blockquote { margin: 2em 0; padding: 20px 24px; background: #F5F7F9; border-left: 3px solid var(--im-primary); }
.im-post__foot { margin-top: 80px; padding-top: 32px; border-top: 1px solid #111A24; }
.im-post__review { margin: 0 0 8px; font-size: 16px; }
.im-post__note { margin: 0 0 32px; font-size: 14px; color: #6B7684; }
@media (max-width: 768px) {
	.im-post { padding: 0 20px 80px; }
	.im-post__body h2 { font-size: 23px; }
	.im-cards { grid-template-columns: minmax(0, 1fr); }
}

/* 공지사항 한 줄 목록 */
.im-nlist { border-top: 1px solid #111A24; }
.im-root a.im-nrow { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid #E6E9ED; text-decoration: none; color: #111A24; }
.im-nrow__tag { font-family: Montserrat, sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .16em; color: #6B7684; width: 80px; }
.im-nrow__title { flex: 1 1 300px; font-size: 17px; }
.im-nrow__date { font-size: 14px; color: #6B7684; }
.im-nlist__empty { margin: 0; padding: 40px 0; text-align: center; color: #6B7684; border-bottom: 1px solid #E6E9ED; }

/* 지도 [im_map] — 본원 메인 하단 지도 스타일 */
.im-map { width: 100%; }
.im-map__frame { position: relative; height: var(--im-map-h, 460px); overflow: hidden; background: #E7EDF4; }
.im-map__canvas { width: 100% !important; height: 100% !important; }
.im-map__canvas .wrap_map, .im-map__canvas .roughmap_maker_label { max-width: 100%; }
.im-map__fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; padding: 20px; background: #E7EDF4; color: #607087; font-size: 14px; line-height: 1.6; text-align: center; }
.im-map__fallback[hidden] { display: none; }
.im-map__pin { display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.im-map__pin-label { position: relative; padding: 8px 16px; border: 2px solid #1F55A5; border-radius: 10px; background: #FFFFFF; color: #12294C; font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; line-height: 1.4; box-shadow: 0 8px 18px rgba(18, 48, 89, .22); }
.im-map__pin-label::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 13px; height: 13px; background: #FFFFFF; border-right: 2px solid #1F55A5; border-bottom: 2px solid #1F55A5; transform: translateX(-50%) rotate(45deg); }
.im-map__pin-dot { width: 14px; height: 14px; margin-top: 11px; border-radius: 50%; background: #1F55A5; border: 3px solid #FFFFFF; box-shadow: 0 3px 10px rgba(18, 48, 89, .4); }
.im-map__links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.im-root .im-map__links a { display: flex; min-height: 46px; align-items: center; justify-content: center; gap: 6px; border: 1px solid #E4E9F0; border-radius: 999px; background: #F7F9FC; color: #374761; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: transform .2s, box-shadow .2s, border-color .2s; }
.im-root .im-map__links a:hover { opacity: 1; transform: translateY(-3px); border-color: #BDCBE0; box-shadow: 0 7px 14px rgba(24, 53, 91, .11); }
.im-map__ico { display: inline-flex; width: 18px; height: 18px; }
.im-map__ico img { width: 18px; height: 18px; object-fit: contain; }
@media (max-width: 768px) {
	.im-map__frame { height: min(var(--im-map-h, 460px), 360px); }
	.im-map__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 카카오톡 채널 버튼 */
.im-root .im-btn--kakao { background: #FEE500; color: #191919; }
.im-root .im-mbar a.is-kakao { background: #FEE500; color: #191919; }
.im-root .im-mbar a.is-kakao + a { border-left: 0; }
@media (max-width: 768px) {
	.im-header__util .im-btn--kakao { display: none; }
	.im-root .im-mbar a { font-size: 14px; }
}
/* 지도 대체(구글 지도) */
.im-map__gmap { display: block; width: 100%; height: 100%; border: 0; }

/* 로고 (1.0.7) */
.im-logo { align-items: center; gap: 12px; }
.im-root .im-logo__img { display: block; height: var(--im-logo-h, 28px); width: auto; max-width: none; }
.im-logo__dept { white-space: nowrap; padding-left: 12px; border-left: 1px solid #D5DCE4; font-size: calc(var(--im-logo-h, 28px) * .6); font-weight: 700; line-height: 1.2; color: #2045A0; letter-spacing: -.01em; }
.im-btn__ico { margin-right: 6px; flex: none; }
.im-footer__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.im-root .im-footer__seal { width: 56px; height: 56px; border-radius: 50%; }
/* 헤더 폭 대응 (1.0.10): 한 줄에 다 들어가면 한 줄, 넘치면 메뉴만 둘째 줄 (im.js가 is-stacked 지정) */
@media (min-width: 1025px) {
	.im-header__in { flex-wrap: nowrap; }
	.im-logo, .im-header__util { flex: none; }
	.im-gnb { flex: 1 1 auto; min-width: 0; display: flex; }
	.im-gnb__list { margin-left: auto; }
	.im-gnb__list { flex-wrap: nowrap; column-gap: 32px; }
	.im-header.is-stacked .im-header__in { flex-wrap: wrap; row-gap: 6px; padding-bottom: 0; }
	.im-header.is-stacked .im-gnb { order: 3; flex-basis: 100%; }
	.im-header.is-stacked .im-gnb__list { margin-left: 0; }
	.im-header.is-stacked .im-gnb__list a { padding: 10px 0 14px; }
}
@media (max-width: 768px) {
	.im-logo { gap: 10px; }
	.im-root .im-logo__img { height: calc(var(--im-logo-h, 28px) * .86); }
	.im-logo__dept { padding-left: 10px; }
}

/* 건강 영상 (1.0.9) */
.im-yt__frame { position: relative; aspect-ratio: 16 / 9; background: #111A24; }
.im-yt__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.im-root .im-yt__all { display: inline-block; margin-top: 14px; font-size: 15px; font-weight: 700; }
.im-vcard__thumb { position: relative; }
.im-vcard__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 44px; margin: -22px 0 0 -32px; border-radius: 12px; background: rgba(17, 26, 36, .78); transition: background .2s; }
.im-vcard__play::after { content: ""; position: absolute; left: 26px; top: 13px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #FFFFFF; }
.im-vcard:hover .im-vcard__play { background: #E62117; }
.im-vhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin: 24px 0 20px; padding-top: 32px; border-top: 1px solid #E6E9ED; }
.im-vhead h3 { margin: 0; font-size: 22px; font-weight: 700; }
.im-root .im-vhead a { font-size: 15px; font-weight: 700; text-decoration: none; }
.im-vmore { margin: 56px 0 0; text-align: center; }
.im-vdlg { width: min(1100px, 94vw); padding: 0; border: 0; background: transparent; overflow: visible; }
.im-vdlg::backdrop { background: rgba(10, 16, 24, .82); }
.im-vdlg__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.im-vdlg__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.im-vdlg__close { position: absolute; right: 0; top: -48px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #FFFFFF; color: #111A24; font-size: 26px; line-height: 1; cursor: pointer; }
@media (max-width: 480px) {
	.im-root .im-logo__img { height: calc(var(--im-logo-h, 28px) * .78); }
	.im-logo__dept { padding-left: 8px; }
	.im-logo { gap: 8px; }
	.im-header__util .im-btn--fill { display: none; }
}

/* 영상 대표 구성 (1.0.11) — 본원 "성누가병원 TV" 방식 */
.im-vf { --vf-blue: #0B3FA8; }
.im-vf__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: 44px; }
.im-vf__eyebrow { margin: 0 0 14px; font-family: Montserrat, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: #2F6FD6; }
.im-vf__title { margin: 0; font-size: 36px; line-height: 1.3; font-weight: 800; color: #111A24; }
.im-vf__desc { margin: 14px 0 0; font-size: 16px; color: #6B7684; }
.im-root a.im-vf__yt { display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 12px 0 26px; border-radius: 999px; background: #E3252F; color: #FFFFFF; font-size: 15px; font-weight: 700; text-decoration: none; box-shadow: 0 8px 20px rgba(227, 37, 47, .25); }
.im-vf__yt-ico { position: relative; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.im-vf__yt-ico::after { content: ""; position: absolute; left: 11px; top: 8px; border-style: solid; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent #FFFFFF; }
.im-vf__body { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(280px, 1fr); gap: 36px; align-items: start; }
.im-vf__body.is-single { grid-template-columns: minmax(0, 1fr); }
.im-vf__screen { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 12px solid var(--vf-blue); border-radius: 24px; background: #0A1220; overflow: hidden; cursor: pointer; box-shadow: 0 16px 36px rgba(11, 63, 168, .18); }
.im-root .im-vf__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.im-vf__screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.im-vf__screen.is-playing { cursor: default; }
.im-vf__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(20, 28, 40, .72); transition: transform .2s, background .2s; }
.im-vf__play::after { content: ""; position: absolute; left: 26px; top: 21px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #FFFFFF; }
.im-vf__screen:hover .im-vf__play { transform: scale(1.08); background: #E3252F; }
.im-vf__now { margin: 18px 0 0; font-size: 19px; font-weight: 500; line-height: 1.5; color: #111A24; }
.im-vf__body { --vf-h: 440px; }
.im-vf__list { list-style: none; margin: 0; padding: 0 8px 0 0; display: flex; flex-direction: column; gap: 14px; max-height: var(--vf-h, 430px); overflow-y: auto; scrollbar-width: thin; }
.im-root a.im-vf__item { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; align-items: center; color: #111A24; text-decoration: none; }
.im-vf__thumb { display: block; aspect-ratio: 16 / 9; border: 3px solid var(--vf-blue); border-radius: 10px; overflow: hidden; background: #E7EDF4; }
.im-root .im-vf__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.im-vf__name { font-size: 15.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.im-vf__item.is-active .im-vf__name { font-weight: 700; color: var(--vf-blue); }
.im-vf__item.is-active .im-vf__thumb { border-color: #E3252F; }
@media (max-width: 1024px) {
	.im-vf__body { grid-template-columns: minmax(0, 1fr); }
	.im-vf__list { max-height: 380px; }
}
@media (max-width: 768px) {
	.im-vf__title { font-size: 28px; }
	.im-vf__screen { border-width: 6px; border-radius: 16px; }
	.im-root a.im-vf__item { grid-template-columns: 120px minmax(0, 1fr); gap: 12px; }
	.im-vf__name { font-size: 14.5px; }
}

/* 건강 영상 게시판형 (1.0.16) */
.im-vb__search { display: flex; max-width: 620px; margin: 0 auto 64px; border: 1px solid #D5DCE4; background: #FFFFFF; }
.im-vb__search input { flex: 1; min-width: 0; height: 56px; padding: 0 20px; border: 0; font: inherit; font-size: 16px; color: #111A24; background: transparent; }
.im-vb__search input:focus { outline: none; }
.im-vb__search:focus-within { border-color: var(--im-primary); }
.im-vb__search button { width: 60px; border: 0; background: transparent; color: #111A24; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.im-vb__result { margin: -32px 0 32px; text-align: center; font-size: 15px; color: #4A5663; }
.im-vb__empty { padding: 64px 0; text-align: center; color: #6B7684; border-top: 1px solid #E6E9ED; border-bottom: 1px solid #E6E9ED; margin: 0; }
.im-vb__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 36px; }
.im-root a.im-vb__card { display: flex; flex-direction: column; height: 100%; color: #111A24; text-decoration: none; }
.im-vb__thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #E7EDF4; }
.im-root .im-vb__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.im-vb__card:hover .im-vb__thumb img { transform: scale(1.04); }
.im-vb__title { flex: 1; display: block; min-height: 150px; padding: 32px 28px; background: #F8F8F8; font-size: 17.5px; line-height: 1.7; }
.im-vb__card:hover .im-vb__title { color: var(--im-primary); }
.im-vb__pager { display: flex; justify-content: center; gap: 22px; margin-top: 72px; font-size: 15px; }
.im-root .im-vb__pager a { color: #8A96A3; text-decoration: none; padding: 4px 2px; }
.im-vb__pager .is-current { color: var(--im-primary); font-weight: 700; padding: 4px 2px; box-shadow: inset 0 -2px 0 var(--im-primary); }
.im-vd { max-width: 1100px; margin: 0 auto; }
.im-vd__head { border-top: 2px solid var(--im-primary); border-bottom: 1px solid #E6E9ED; padding: 32px 4px; margin-bottom: 40px; }
.im-vd__series { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--im-primary); }
.im-vd__title { margin: 0; font-size: 28px; line-height: 1.45; font-weight: 700; color: #111A24; }
.im-vd__player { position: relative; aspect-ratio: 16 / 9; background: #000; }
.im-vd__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.im-vd__desc { margin: 28px 0 0; color: #4A5663; white-space: pre-line; }
.im-vd__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 48px 0; }
.im-vd__nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #111A24; border-bottom: 1px solid #E6E9ED; }
.im-root .im-vd__nav a { display: block; padding: 22px 8px; color: #111A24; text-decoration: none; font-size: 15px; line-height: 1.6; }
.im-vd__nav a.is-next { text-align: right; border-left: 1px solid #E6E9ED; }
.im-vd__nav span { display: block; font-size: 13px; font-weight: 700; color: #6B7684; margin-bottom: 4px; }
@media (max-width: 1024px) { .im-vb__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; } }
@media (max-width: 640px) {
	.im-vb__grid { grid-template-columns: minmax(0, 1fr); }
	.im-vb__title { min-height: 0; padding: 22px 20px; font-size: 16px; }
	.im-vd__title { font-size: 22px; }
	.im-vd__nav { grid-template-columns: 1fr; }
	.im-vd__nav a.is-next { text-align: left; border-left: 0; border-top: 1px solid #E6E9ED; }
}

.im-hero .im-hero__title { padding-top: 96px; }
@media (max-width: 768px) { .im-hero .im-hero__title { padding-top: 48px; } }

/* 검사 페이지 본문 구성 (1.0.18) — 가운데 질문형 제목 + 짧은 선, 섹션별 배경 교차 */
.im-q { padding: 120px 0; }
.im-q.is-alt { background: #F5F7F9; }
.im-q.is-dark { background: #1D3F6E; color: #FFFFFF; }
.im-q__in { max-width: var(--im-container); margin: 0 auto; padding: 0 var(--im-gutter); }
.im-q__title { margin: 0 0 64px; text-align: center; font-size: 42px; line-height: 1.35; font-weight: 800; letter-spacing: -.02em; color: #111A24; }
.im-q__title::after { content: ""; display: block; width: 52px; height: 2px; margin: 30px auto 0; background: #111A24; }
.im-q.is-dark .im-q__title { color: #FFFFFF; }
.im-q.is-dark .im-q__title::after { background: #FFFFFF; }
.im-q__body { max-width: 1120px; margin: 0 auto; }
.im-q__lead { max-width: 860px; margin: 0 auto 48px; text-align: center; font-size: 19px; line-height: 1.85; color: #3A4652; }
.im-exam .im-main > section[aria-label="핵심 요약"] { padding-bottom: 24px !important; }
.im-exam .im-footer { margin-top: 0; }
@media (max-width: 768px) {
	.im-q { padding: 64px 0; }
	.im-q__in { padding: 0 20px; }
	.im-q__title { font-size: 26px; margin-bottom: 40px; }
	.im-q__title::after { margin-top: 20px; width: 40px; }
	.im-q__lead { font-size: 17px; text-align: left; }
}

/* 메가 메뉴 (1.0.21) — 메뉴에 마우스를 올리면 전체 하위 메뉴를 열 단위로 펼침, 올린 열은 남색 강조 */
@media (min-width: 1025px) {
	.im-header { position: relative; }
	.im-gnb__list { column-gap: 0; }
	.im-gnb__list > li { min-width: 150px; text-align: center; }
	.im-gnb__list > li > a { display: block; padding: 10px 12px; white-space: nowrap; }
	.im-gnb__list .sub-menu { top: calc(100% + var(--mega-gap, 0px)); left: 0; width: 100%; min-width: 0; min-height: var(--mega-h, 0px); margin: 0; padding: 24px 0 28px; border: 0; border-radius: 0; box-shadow: none; background: transparent; text-align: center; z-index: 3; }
	.im-gnb__list .sub-menu a { display: block; padding: 6px 12px; font-size: var(--im-sub-fs, 14px); font-weight: 400; color: #3A4652; white-space: normal; line-height: 1.5; letter-spacing: -.01em; }
	.im-gnb__list .sub-menu a:hover { color: var(--im-primary); text-decoration: underline; text-underline-offset: 3px; }
	.im-header.is-mega .im-gnb__list .sub-menu { display: block; }
	.im-header::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: var(--mega-h, 0px); background: #FFFFFF; border-top: 1px solid #E6E9ED; box-shadow: 0 18px 32px rgba(17, 26, 36, .10); display: none; z-index: 2; pointer-events: none; }
	.im-header.is-mega::after { display: block; }
	.im-header.is-mega .im-gnb__list > li:hover > a,
	.im-header.is-mega .im-gnb__list > li:focus-within > a { background: #0B2F7A; color: #FFFFFF; box-shadow: none; }
	.im-header.is-mega .im-gnb__list > li:hover > .sub-menu,
	.im-header.is-mega .im-gnb__list > li:focus-within > .sub-menu { background: #0B2F7A; }
	.im-header.is-mega .im-gnb__list > li:hover > .sub-menu a,
	.im-header.is-mega .im-gnb__list > li:focus-within > .sub-menu a { color: #FFFFFF; }
	.im-header.is-mega .im-gnb__list > li:hover > .sub-menu a:hover { color: #FFFFFF; }
}

/* 헤더 개편 (1.0.22) — 위 얇은 정보 바(진료시간·카톡·전화·본원) + 아래 로고와 메뉴 한 줄 */
.im-topbar { background: #F5F7F9; border-bottom: 1px solid #E6E9ED; font-size: 13.5px; color: #4A5663; }
.im-topbar__in { max-width: var(--im-container); margin: 0 auto; padding: 0 var(--im-gutter); min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.im-topbar__info { margin: 0; }
.im-topbar__links { display: flex; align-items: center; gap: 22px; }
.im-root .im-topbar a { color: #111A24; text-decoration: none; display: inline-flex; align-items: center; }
.im-root .im-topbar a:hover { color: var(--im-primary); opacity: 1; }
.im-root .im-topbar a.im-topbar__kakao { background: #FEE500; color: #191919; padding: 5px 14px; border-radius: 999px; font-weight: 700; }
.im-topbar__kakao .im-btn__ico { width: 15px; height: 15px; margin-right: 5px; }
@media (min-width: 1025px) {
	.im-header__in { padding-top: 0; padding-bottom: 0; min-height: var(--im-menu-h, 72px); align-items: stretch; column-gap: 32px; }
	.im-logo { align-self: center; }
	.im-gnb { align-self: stretch; }
	.im-gnb__list { height: 100%; align-items: stretch; }
	.im-gnb__list > li { display: flex; min-width: 150px; }
	.im-gnb__list > li > a { flex: 1; display: flex; align-items: center; justify-content: center; padding: 0 12px; white-space: nowrap; font-size: 17px; font-weight: 600; }
	.im-gnb__list > li.current-menu-item > a, .im-gnb__list > li.current-menu-ancestor > a, .im-gnb__list > li.current-page-ancestor > a { box-shadow: inset 0 -3px 0 var(--im-primary); }
	.im-header.is-stacked .im-header__in { padding-top: 10px; }
	.im-header.is-stacked .im-gnb__list { height: auto; }
	.im-header.is-stacked .im-gnb__list > li > a { padding: 10px 12px; min-height: calc(var(--im-menu-h, 72px) - 24px); }
}
@media (max-width: 1024px) {
	.im-topbar__info { display: none; }
	.im-topbar__in { justify-content: flex-end; }
}
@media (max-width: 768px) {
	.im-topbar { display: none; }
	.im-header__in { padding-bottom: 0; }
}

/* 메가 메뉴 묶음 구분선 (1.0.24) — 메뉴 항목 CSS 클래스 im-sep */
@media (min-width: 1025px) {
	.im-gnb__list .sub-menu > li.im-sep { position: relative; margin-top: 10px; padding-top: 10px; }
	.im-gnb__list .sub-menu > li.im-sep::before { content: ""; position: absolute; top: 0; left: 50%; width: 40px; height: 1px; margin-left: -20px; background: #D5DCE4; }
	.im-header.is-mega .im-gnb__list > li:hover > .sub-menu > li.im-sep::before { background: rgba(255, 255, 255, .35); }
}

/* 경로 표시(브레드크럼) 복원 (1.0.26) — 엘유치과 방식 */
.im-hero .im-loc { padding-top: 24px; }
.im-loc__cur { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: 15px; font-weight: 700; color: #111A24; }
.im-hero .im-hero__title { padding-top: 64px; }
@media (max-width: 768px) {
	.im-hero .im-loc { padding: 12px 20px 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.im-hero .im-loc::-webkit-scrollbar { display: none; }
	.im-loc .im-dd__btn, .im-loc__cur { padding: 0 10px; font-size: 14px; white-space: nowrap; }
	.im-loc__home { width: 38px; height: 38px; flex: none; }
	.im-hero .im-hero__title { padding-top: 32px; }
}

/* 예약 상담 CTA 버튼 호버 (1.0.27) — 그린몰의원 방식: 카톡은 카카오 노랑, 나머지는 브랜드 남색 + 흰 아이콘 */
.im-root .im-cta a:not([href^="tel:"]) { transition: background-color .3s ease-out, color .3s ease-out, box-shadow .3s ease-out; }
.im-root .im-cta a:not([href^="tel:"]) svg { transition: stroke .3s ease-out; }
.im-root .im-cta a:not([href^="tel:"]):hover,
.im-root .im-cta a:not([href^="tel:"]):focus-visible { background-color: var(--im-primary) !important; color: #FFFFFF !important; box-shadow: 0 10px 24px rgba(11, 47, 122, .18); }
.im-root .im-cta a:not([href^="tel:"]):hover svg,
.im-root .im-cta a:not([href^="tel:"]):focus-visible svg { stroke: #FFFFFF; }
.im-root .im-cta a[href*="kakao"]:hover,
.im-root .im-cta a[href*="kakao"]:focus-visible { background-color: #FEE500 !important; color: #191919 !important; box-shadow: 0 10px 24px rgba(0, 0, 0, .10); }
.im-root .im-cta a[href^="tel:"] { transition: opacity .2s ease-out; }
.im-root .im-cta a[href^="tel:"]:hover { opacity: .8; }
