/* ===================================================================
   서울프라임하트내과 — 메인 스타일
   가독성 우선: Pretendard, 큰 본문(17px), 넉넉한 행간(1.75), 높은 대비
   =================================================================== */

:root {
  --navy: #0e4c92;      /* 메인 (신뢰) */
  --blue: #1c6fd0;      /* 보조 블루 */
  --teal: #0f9a97;      /* 포인트 (검진/시설) */
  --heart: #e23e57;     /* 하트 강조 (심장) */
  --ink: #1f2a37;       /* 본문 글자 */
  --gray: #5b6673;      /* 보조 글자 */
  --line: #e5e8ec;      /* 구분선 */
  --soft: #f4f8fd;      /* 연한 배경 */
  --white: #ffffff;
  --wrap: 1160px;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(14, 76, 146, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Pretendard", "Pretendard Variable", -apple-system, "Malgun Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
b, strong { font-weight: 700; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px; border-radius: 999px;
  font-size: 16px; font-weight: 600; line-height: 1;
  border: 1.5px solid transparent; cursor: pointer;
  transition: all 0.18s ease;
}
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: #0b3d75; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--outline { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outline:hover { background: rgba(255,255,255,.22); }
.btn--lg { padding: 15px 30px; font-size: 17px; }

/* ---------- 상단 유틸바 ---------- */
.topbar {
  background: var(--navy); color: rgba(255,255,255,.9);
  font-size: 14px;
}
.topbar__inner { display: flex; align-items: center; gap: 12px; height: 42px; font-size: 15px; }
.topbar__item strong { color: #fff; }
.topbar__sep { opacity: .4; }
@media (max-width: 720px) { .topbar__item:last-child, .topbar__sep { display: none; } }

/* ---------- 헤더 ---------- */
/* 상단바+메뉴 전체를 화면 상단에 고정 (스크롤해도 유지) */
#site-header { position: sticky; top: 0; z-index: 60; }
.header {
  position: relative; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { max-width: 1340px; }
.header__inner { display: flex; align-items: center; height: 84px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; color: var(--navy); white-space: nowrap; flex: none; }
.logo__img { height: 46px; width: auto; display: block; }
.logo__text { color: var(--navy); }
.logo__accent { color: var(--blue); font-weight: 800; }   /* 프라임하트 — 조금 다른 파랑 */
.logo__text--light { color: #fff; font-size: 22px; font-weight: 800; }
.logo__text--light .logo__accent { color: #7db2e8; }      /* 어두운 푸터용 밝은 파랑 */
.nav { display: flex; gap: 6px; margin: 0 auto; }
.nav__item { position: relative; }
.nav__top { display: block; font-size: 18px; font-weight: 600; color: var(--ink); padding: 30px 13px; position: relative; white-space: nowrap; }
.nav__top:hover, .nav__item:hover .nav__top { color: var(--navy); }
.nav__top::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 20px; height: 2px; background: var(--navy); transform: scaleX(0); transition: transform .2s; }
.nav__item:hover .nav__top::after { transform: scaleX(1); }
.nav__drop {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 190px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transition: all .18s;
}
.nav__item:hover .nav__drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__drop a { display: block; padding: 10px 16px; font-size: 16px; font-weight: 500; color: var(--gray); border-radius: 8px; white-space: nowrap; }
.nav__drop a:hover { background: var(--soft); color: var(--navy); }
.nav__drophead { display: block; padding: 12px 16px 5px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--teal); }
.nav__caret { font-size: 11px; margin-left: 5px; opacity: .6; transition: transform .2s; display: inline-block; vertical-align: middle; }
.nav__item:hover .nav__caret { transform: rotate(180deg); opacity: 1; }
/* 햄버거 버튼 (모바일 전용) */
.nav-toggle { display: none; margin-left: auto; background: none; border: none; font-size: 26px; color: var(--navy); cursor: pointer; line-height: 1; padding: 6px 8px; }
.header__cta { display: flex; gap: 8px; }
.header__cta .btn { word-break: keep-all; line-height: 1.2; text-align: center; }
.header__cta .lang-toggle { padding: 11px 13px; font-weight: 700; letter-spacing: .02em; }

/* 예약 4종 버튼 블록 (네이버·이메일·카카오·전화) */
.book-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
@media (max-width: 1340px) {
  .header .wrap { max-width: var(--wrap); }
  .nav-toggle { display: block; }
  .header__inner { gap: 12px; position: relative; }
  .header__cta { display: none; }
  /* 모바일 메뉴 패널 */
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: 78vh; overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav__item { width: 100%; border-bottom: 1px solid var(--line); }
  .nav__top { padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; }
  .nav__top::after { display: none; }
  .nav__caret { transition: transform .2s; }
  .nav__item.is-open .nav__caret { transform: rotate(180deg); }
  /* 하위 메뉴: 탭했을 때만 펼침 */
  .nav__drop {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: none; border-radius: 0; min-width: 0;
    padding: 0 0 8px; background: var(--soft); display: none;
  }
  .nav__item.is-open .nav__drop { display: block; }
  /* 데스크톱 hover 규칙(.nav__item:hover .nav__drop)이 특이도로 이겨
     translateX(-50%)가 되살아나는 것을 막음 */
  .nav__item:hover .nav__drop { transform: none; }
  .nav__drop a { padding: 12px 36px; font-size: 15px; }
}

/* ---------- 히어로 슬라이더 ---------- */
.hero-slider { position: relative; height: clamp(460px, 60vh, 680px); overflow: hidden; background: #0b2d5a; }
.slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .9s ease;
}
.slide.is-active { opacity: 1; visibility: visible; }

/* 슬라이드 배경 (사진 + 좌측 어둠 오버레이 → 흰 글씨 가독성 확보) */
.slide__bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.slide__bg--1 { background-image: linear-gradient(90deg, rgba(8,20,40,.86) 0%, rgba(8,20,40,.58) 40%, rgba(8,20,40,.22) 72%, rgba(8,20,40,.03) 100%), url(../images/slide1.jpg); }
.slide__bg--2 { background-image: linear-gradient(90deg, rgba(8,20,40,.88) 0%, rgba(8,20,40,.6) 42%, rgba(8,20,40,.25) 74%, rgba(8,20,40,.05) 100%), url(../images/slide2.jpg); }
.slide__bg--3 {
  background-image: linear-gradient(90deg, rgba(8,20,40,.96) 0%, rgba(8,20,40,.82) 38%, rgba(8,20,40,.5) 62%, rgba(8,20,40,.12) 88%, rgba(8,20,40,0) 100%), url(../images/slide3.jpg);
  background-size: cover, auto 118%;
  background-position: center, right center;
  background-repeat: no-repeat, no-repeat;
  background-color: #0b2d5a;
}
.slide__bg--4 { background-image: linear-gradient(90deg, rgba(8,20,40,.84) 0%, rgba(8,20,40,.5) 40%, rgba(8,20,40,.18) 72%, rgba(8,20,40,.02) 100%), url(../images/slide4.png); }
.slide__bg--5 { background-image: linear-gradient(90deg, rgba(8,20,40,.9) 0%, rgba(8,20,40,.62) 44%, rgba(8,20,40,.28) 76%, rgba(8,20,40,.06) 100%), url(../images/slide5.jpg); background-position: 65% center; }
.slide__bg--6 { background-image: linear-gradient(90deg, rgba(8,20,40,.93) 0%, rgba(8,20,40,.72) 46%, rgba(8,20,40,.38) 78%, rgba(8,20,40,.12) 100%), url(../images/slide6.jpg); }
.slide__bg--7 { background-image: linear-gradient(90deg, rgba(8,20,40,.92) 0%, rgba(8,20,40,.68) 46%, rgba(8,20,40,.32) 78%, rgba(8,20,40,.1) 100%), url(../images/slide7.jpg); }

.slide__inner { position: relative; z-index: 2; color: #fff; text-align: left; width: 100%; }
.slide__eyebrow { font-size: 15px; font-weight: 700; letter-spacing: .22em; color: #bfe0ff; margin-bottom: 16px; }
.slide__title { font-size: clamp(28px, 4.2vw, 48px); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; max-width: 620px; }
.slide__desc { font-size: clamp(15px, 1.6vw, 20px); line-height: 1.6; margin-top: 20px; color: rgba(255,255,255,.92); font-weight: 400; max-width: 540px; }
.slide__btn { margin-top: 32px; }

/* 컨트롤 (일시정지 + 페이지네이션) */
.slider-ctrl { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 5; }
.slider-ctrl__inner { display: flex; align-items: center; gap: 18px; }
.slider-pause {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.5);
  color: #fff; font-size: 13px; cursor: pointer; transition: background .18s;
}
.slider-pause:hover { background: rgba(255,255,255,.25); }
.slider-dots { display: flex; align-items: center; gap: 18px; }
.dot {
  background: none; border: none; color: rgba(255,255,255,.55);
  font-size: 15px; font-weight: 600; letter-spacing: .05em; cursor: pointer;
  padding: 6px 0; position: relative; transition: color .18s;
}
.dot:hover { color: #fff; }
.dot.is-active { color: #fff; }
.dot.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #fff; }

@media (max-width: 720px) {
  .slide__desc br { display: none; }
  .slider-ctrl { bottom: 22px; }
  .slider-dots { gap: 11px; }
  .dot { font-size: 12px; }
}

/* ---------- 퀵 카드 ---------- */
.quick { padding-top: 54px; position: relative; z-index: 5; }
.quick__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.qcard {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 22px; display: flex; flex-direction: column; gap: 6px;
  border: 1px solid var(--line); transition: transform .18s, box-shadow .18s;
}
.qcard:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(14,76,146,.15); }
.qcard__ico { font-size: 30px; }
.qcard__title { font-size: 19px; font-weight: 700; color: var(--navy); margin-top: 4px; }
.qcard__desc { font-size: 15px; color: var(--gray); }
@media (max-width: 860px) { .quick__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 공통 섹션 타이포 ---------- */
.section-eyebrow { font-size: 15px; font-weight: 700; letter-spacing: .12em; color: var(--teal); margin-bottom: 10px; }
.section-title { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; }
.section-title b { color: var(--navy); }
.section-sub { font-size: 18px; color: var(--gray); margin-top: 12px; }
.section-head.center { text-align: center; max-width: 620px; margin: 0 auto 48px; }

/* ---------- 대표원장 ---------- */
.doctor { padding: 100px 0; }
.doctor__inner { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: center; }
.doctor__photo .photo-placeholder { aspect-ratio: 4/5; border-radius: 18px; }
.photo-placeholder, .map-placeholder {
  background: repeating-linear-gradient(45deg, #eef3f9, #eef3f9 12px, #e6eef7 12px, #e6eef7 24px);
  display: flex; align-items: center; justify-content: center;
  color: #93a4b8; font-weight: 600; text-align: center; border: 1px dashed #c4d3e4;
}
.doctor__img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center top; border-radius: 18px; display: block; box-shadow: var(--shadow); }
/* 인사말 상단 원장 사진 (가로 배너) */
.greet-photo { max-width: 900px; margin: 0 auto 30px; }
.greet-photo img { width: 100%; height: auto; border-radius: 18px; display: block; box-shadow: var(--shadow); }
/* 인사말 좌측 사진 아래 원장 정보 카드 */
.greet-card { margin-top: 18px; background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 20px 18px; text-align: center; }
.greet-card__role { font-size: 14px; font-weight: 800; color: var(--teal); letter-spacing: .06em; }
.greet-card__name { font-size: 40px; font-weight: 800; color: var(--navy); margin: 8px 0 0; letter-spacing: .14em; line-height: 1.2; }
.greet-card__en { font-size: 15.5px; font-weight: 600; color: var(--gray); margin-top: 8px; }
.greet-card__tags { font-size: 16px; color: var(--gray); line-height: 1.8; margin: 14px 0 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.greet-card .btn { display: block; width: 100%; margin-top: 8px; }
.doctor__deg { font-size: 20px; color: var(--gray); font-weight: 500; }
.doctor__tags { font-size: 17px; color: var(--teal); font-weight: 600; margin: 14px 0 20px; }
.doctor__msg { font-size: 18px; color: var(--ink); line-height: 1.85; }
.doctor__career { list-style: none; margin: 26px 0 24px; border-top: 1px solid var(--line); }
.doctor__career li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; color: var(--gray); }
.doctor__career li b { display: inline-block; width: 52px; color: var(--navy); }
/* 약력 소제목 (사진 옆 학력·경력) */
.cv-title {
  font-size: 17px; font-weight: 800; color: var(--navy);
  margin: 26px 0 2px; padding-bottom: 6px;
  border-bottom: 2px solid var(--navy); display: inline-block;
}
/* 약력 2열 (학력·경력 | 학회활동·연구활동·수상) */
.cv-2col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; align-items: start; }
.cv-2col > div > .cv-title:first-child { margin-top: 0; }
@media (max-width: 860px) { .cv-2col { grid-template-columns: 1fr; } }
/* 같은 학회의 이전(前) 활동을 현재 직함 아래 줄에 표기 */
.cv-past { display: block; margin-top: 3px; color: var(--gray); font-size: 15px; font-weight: 500; line-height: 1.5; }

/* 사진첩 섹션 */
.album__title { font-size: 22px; font-weight: 800; color: var(--navy); text-align: center; margin-bottom: 26px; letter-spacing: -0.02em; }
.album .photo-wall { justify-content: center; gap: 20px; margin-top: 0; }
.album .pw img { width: 195px; height: 145px; }
@media (max-width: 560px) { .album .pw img { width: 140px; height: 104px; } }

/* 벽부착 사진앨범 (의료진 소개) */
.photo-wall { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 28px; }
.pw {
  position: relative; background: #fff; padding: 8px 8px 24px; border-radius: 2px;
  box-shadow: 0 5px 16px rgba(20,30,50,.16);
  transform: rotate(-1.8deg); transition: transform .22s ease, box-shadow .22s ease;
}
.pw:nth-child(2n) { transform: rotate(1.7deg); }
.pw:nth-child(3n) { transform: rotate(-0.7deg); }
.pw:nth-child(5n) { transform: rotate(2.2deg); }
.pw:hover { transform: rotate(0deg) scale(1.06); box-shadow: 0 14px 30px rgba(20,30,50,.26); z-index: 3; }
.pw img { display: block; width: 150px; height: 110px; object-fit: cover; }
.pw figcaption {
  position: absolute; left: 0; right: 0; bottom: 4px; text-align: center;
  font-family: "Nanum Pen Script", cursive; font-size: 15px; color: #8e8877;
}
@media (max-width: 560px) { .pw img { width: 130px; height: 96px; } }

.link-arrow { font-weight: 700; color: var(--navy); }
.link-arrow:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .doctor { padding: 64px 0; }
  .doctor__inner { grid-template-columns: 1fr; gap: 32px; }
  .doctor__photo .photo-placeholder { aspect-ratio: 3/2; }
}

/* ---------- 진료 센터 ---------- */
/* 자주 찾는 메뉴 — 페이지 바로가기 */
.quicklinks { padding: 90px 0; background: var(--soft); }
.quicklinks__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 920px; margin: 0 auto; }
.qlink {
  display: flex; flex-direction: column; align-items: center; gap: 15px;
  padding: 30px 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  text-align: center; transition: transform .18s, box-shadow .18s, border-color .18s;
}
.qlink:hover { transform: translateY(-5px); box-shadow: 0 14px 32px rgba(14,76,146,.13); border-color: var(--blue); }
.qlink__ico {
  width: 74px; height: 74px; display: flex; align-items: center; justify-content: center;
  font-size: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #eef5fc 0%, #f6fbff 100%);
}
.qlink:hover .qlink__ico { background: linear-gradient(135deg, #e3eefb 0%, #eef6ff 100%); }
.qlink__label { font-size: 16.5px; font-weight: 700; color: var(--navy); line-height: 1.35; }
.qlink__sub { font-size: 13px; color: var(--gray); margin-top: -6px; }
@media (max-width: 860px) { .quicklinks { padding: 64px 0; } .quicklinks__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px) { .quicklinks__grid { gap: 12px; } .qlink { padding: 24px 8px; } }

@media (max-width: 600px) { .doctor { padding: 60px 0; } }

/* ---------- 이용안내 (진료시간·오시는길) ---------- */
.info { padding: 100px 0; }
.info__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.hours { width: 100%; border-collapse: collapse; margin-top: 8px; }
.hours th, .hours td { text-align: left; padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 18px; }
.hours th { color: var(--navy); font-weight: 700; width: 130px; }
.hours td { color: var(--ink); }
.hours__off th, .hours__off td { color: var(--heart); }
.info__contact { margin-top: 24px; font-size: 17px; }
.info__contact p { margin: 6px 0; color: var(--gray); }
.info__contact b { color: var(--navy); display: inline-block; width: 90px; }
.info__addr { font-size: 24px; font-weight: 700; line-height: 1.45; margin: 4px 0 18px; }
.info__addr span { font-size: 17px; color: var(--gray); font-weight: 500; }
.info__dir { list-style: none; margin-bottom: 24px; }
.info__dir li { font-size: 16.5px; color: var(--gray); padding: 8px 0; }
.info__dir li b { color: var(--navy); display: inline-block; width: 54px; }
.map-placeholder { height: 260px; border-radius: var(--radius); }
@media (max-width: 860px) { .info { padding: 60px 0; } .info__grid { grid-template-columns: 1fr; gap: 40px; } }

/* ===================================================================
   서브페이지 공통 (상세 페이지)
   =================================================================== */
.page-hero {
  position: relative; color: #fff; text-align: center;
  background: linear-gradient(120deg, #0b2d5a 0%, var(--navy) 55%, #14708c 100%);
  padding: 12px 24px 11px;
}
.page-hero h1 { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,.85); margin-top: 8px; }

/* breadcrumb */
.breadcrumb { background: var(--soft); border-bottom: 1px solid var(--line); }
.breadcrumb__inner { display: flex; align-items: center; gap: 8px; height: 52px; font-size: 15px; color: var(--gray); }
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: var(--navy); font-weight: 700; }

/* 서브탭 (같은 카테고리 형제 페이지) — 스크롤해도 헤더 바로 아래 고정
   (JS가 스크롤 시 .is-pinned 를 붙여 position:fixed 로 고정) */
.subtabs {
  position: sticky; top: var(--header-h, 118px); z-index: 40;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.subtabs__inner { display: flex; gap: 4px; flex-wrap: wrap; }
.subtabs a { padding: 15px 20px; font-size: 16.5px; font-weight: 600; color: var(--gray); border-bottom: 3px solid transparent; }
.subtabs a:hover { color: var(--navy); }
.subtabs a.active { color: var(--navy); border-bottom-color: var(--navy); }
.subtabs a.subtab-home { flex: 0 0 100%; font-weight: 800; color: var(--navy); }

/* 본문 영역 */
.page-body { padding: 72px 0 96px; }
.prose { max-width: 860px; margin: 0 auto; }
.prose > h2 { font-size: 28px; font-weight: 800; color: var(--navy); margin: 48px 0 18px; letter-spacing: -0.02em; }
.prose > h2:first-child { margin-top: 0; }
.prose > h3 { font-size: 21px; font-weight: 700; margin: 32px 0 12px; }
.prose > p { font-size: 18px; line-height: 1.9; color: var(--ink); margin-bottom: 18px; }
.prose .lead { font-size: 22px; line-height: 1.7; color: var(--navy); font-weight: 600; margin-bottom: 28px; }
.prose strong { color: var(--navy); }

/* 번호형 항목 리스트 (검사·서비스 목록) */
.feature-list { display: grid; gap: 16px; margin: 28px 0; }
.feature-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; transition: box-shadow .18s, border-color .18s;
}
.feature-item:hover { box-shadow: var(--shadow); border-color: var(--blue); }
.feature-item__num {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--soft); color: var(--navy); font-weight: 800; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
}
.feature-item__body h4 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.feature-item__body p { font-size: 16px; color: var(--gray); line-height: 1.65; }

/* 강조 박스 */
.callout {
  background: var(--soft); border-left: 4px solid var(--teal);
  border-radius: 0 12px 12px 0; padding: 20px 24px; margin: 28px 0;
  font-size: 17px; color: var(--ink); line-height: 1.75;
}
.callout--heart { border-left-color: var(--heart); }

/* 태그 나열 */
.taglist { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.taglist span { background: #eaf2fc; color: var(--navy); font-weight: 600; font-size: 15px; padding: 7px 14px; border-radius: 999px; }

@media (max-width: 720px) {
  .page-hero { padding: 28px 24px 26px; }
  .page-hero h1 { font-size: 25px; }
  .page-hero p { font-size: 14.5px; margin-top: 6px; }
  .page-body { padding: 40px 0 60px; }
  .prose > p, .prose .lead { font-size: 17px; }
  .subtabs { overflow-x: auto; }
  .subtabs__inner { flex-wrap: nowrap; }
  .subtabs a { padding: 12px 14px; font-size: 14.5px; white-space: nowrap; }
}

/* ---------- 서브페이지 추가 요소 ---------- */
/* 깔끔한 리스트 */
.clean-list { list-style: none; margin: 8px 0 8px; }
.clean-list li { position: relative; padding: 11px 0 11px 26px; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--ink); line-height: 1.6; }
.clean-list li::before { content: "•"; position: absolute; left: 6px; color: var(--teal); font-weight: 700; }
.clean-list li b { color: var(--navy); margin-right: 4px; }
.clean-list--2col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
@media (max-width: 600px) { .clean-list--2col { grid-template-columns: 1fr; } }

/* 큰 진료시간 표 */
.hours--lg { max-width: 520px; }
.hours--lg th, .hours--lg td { padding: 24px 6px; font-size: 25px; line-height: 1.65; vertical-align: top; }
.hours--lg th { padding-top: 26px; width: 190px; white-space: nowrap; }
.hours__sub { display: inline-block; font-size: 17.5px; color: var(--gray); font-weight: 500; line-height: 1.55; margin-top: 10px; }
.hours__note { display: block; margin-top: 10px; background: #f1f3f6; border-radius: 10px; padding: 10px 14px; font-size: 17.5px; color: var(--gray); font-weight: 500; line-height: 1.6; }
.hours__note b { color: var(--ink); font-weight: 700; }
.hours-layout { display: grid; grid-template-columns: 460px 1fr; gap: 44px; align-items: center; max-width: 1000px; margin: 8px auto 0; word-break: keep-all; }
.hours-layout .hours--lg { max-width: none; }
.hours-layout .promise { word-break: keep-all; }
@media (max-width: 840px) { .hours-layout { grid-template-columns: 1fr; gap: 28px; } }

/* 검진 패키지 카드 */
.pkg-grid { max-width: 860px; margin: 8px auto 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pkg-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--radius); padding: 26px 26px; transition: box-shadow .18s; }
.pkg-card:hover { box-shadow: var(--shadow); }
.pkg-card h3 { font-size: 21px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.pkg-card p { font-size: 16px; color: var(--gray); line-height: 1.7; }
.pkg-card--wide { grid-column: 1 / -1; border-top-color: var(--heart); }
@media (max-width: 600px) { .pkg-grid { grid-template-columns: 1fr; } }

/* 갤러리 (시설·장비) */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .18s, transform .18s; }
.gcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.gcard__img { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; color: #9fb2c8; font-weight: 600; background: repeating-linear-gradient(45deg, #eef3f9, #eef3f9 12px, #e6eef7 12px, #e6eef7 24px); }
.gcard__img--photo { background: #fff; }
.gcard__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gcard__img--cover img { object-fit: cover; }
.gcard figcaption { padding: 18px 20px 22px; }
.gcard figcaption h4 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.gcard figcaption p { font-size: 15px; color: var(--gray); line-height: 1.6; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr; } }

/* 공지 목록 */
.notice-list { list-style: none; border-top: 2px solid var(--navy); }
.notice-list li { border-bottom: 1px solid var(--line); }
.notice-list a { display: flex; align-items: center; gap: 24px; padding: 22px 8px; transition: background .15s; }
.notice-list a:hover { background: var(--soft); }
.notice-list__date { flex: none; width: 100px; color: var(--gray); font-size: 15px; font-weight: 600; }
.notice-list__title { font-size: 18px; color: var(--ink); font-weight: 500; }
@media (max-width: 560px) { .notice-list a { flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 8px; } }

/* ===================================================================
   증상별 진료 스토리라인 (증상 → 검사 → 결과 → 진단)
   =================================================================== */
.journey { position: relative; max-width: 840px; margin: 8px auto 0; }
.journey::before { content: ""; position: absolute; left: 25px; top: 14px; bottom: 30px; width: 2px; background: linear-gradient(var(--navy), var(--teal)); }
.jstep { position: relative; padding: 0 0 44px 76px; }
.jstep__marker {
  position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px; z-index: 1; box-shadow: 0 4px 12px rgba(14,76,146,.25);
}
.jstep--test .jstep__marker { background: var(--teal); }
.jstep--dx .jstep__marker { background: var(--heart); }
.jstep__tag { font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--teal); }
.jstep--dx .jstep__tag { color: var(--heart); }
.jstep h3 { font-size: 23px; font-weight: 800; color: var(--navy); margin: 2px 0 12px; letter-spacing: -0.02em; }
.jstep p { font-size: 17px; line-height: 1.8; color: var(--ink); margin-bottom: 12px; }

/* 검사 이미지 (심전도·홀터 판독지 등) */
.jfigure { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 16px 0; background: #fff; }
.jfigure__img {
  aspect-ratio: 16 / 6; display: flex; align-items: center; justify-content: center;
  color: #93a4b8; font-weight: 600; text-align: center;
  background: repeating-linear-gradient(45deg, #eef3f9, #eef3f9 12px, #e6eef7 12px, #e6eef7 24px);
}
.jfigure figcaption { padding: 12px 18px; background: var(--soft); font-size: 15px; color: var(--gray); border-top: 1px solid var(--line); }
.jfigure figcaption b { color: var(--navy); }

/* "이 검사로 알 수 있는 것" 인사이트 박스 */
.jinsight { background: #eef6ff; border-radius: 12px; padding: 18px 22px; margin: 14px 0; }
.jinsight h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.jinsight ul { list-style: none; }
.jinsight li { position: relative; padding: 5px 0 5px 22px; font-size: 16px; color: var(--ink); line-height: 1.6; }
.jinsight li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }

@media (max-width: 600px) {
  .journey::before { left: 21px; }
  .jstep { padding-left: 60px; }
  .jstep__marker { width: 44px; height: 44px; font-size: 17px; }
  .jstep h3 { font-size: 20px; }
}

/* ---------- 환자분께 드리는 약속 (진료 철학) ---------- */
.promise {
  background: linear-gradient(135deg, #f2f8ff 0%, #fdf6ee 100%);
  border: 1px solid var(--line); border-radius: 18px;
  padding: 44px 48px; margin: 48px 0 0;
}
.promise h2 { font-size: 26px; font-weight: 800; color: var(--navy); text-align: center; margin-bottom: 24px; letter-spacing: -0.02em; }
.promise ul { list-style: none; max-width: 640px; margin: 0 auto; }
.promise li { position: relative; padding: 13px 0 13px 36px; font-size: 18px; line-height: 1.7; color: var(--ink); border-bottom: 1px dashed #e2ddcf; }
.promise li:last-child { border-bottom: none; }
.promise li::before { content: "♥"; position: absolute; left: 4px; top: 13px; color: var(--heart); font-size: 16px; }
.promise li b { color: var(--navy); }
@media (max-width: 600px) { .promise { padding: 32px 24px; } .promise li { font-size: 16px; } }
/* 인사말 좌측 컬럼용 컴팩트 변형 */
.promise--side { padding: 22px 20px; margin: 18px 0 0; border-radius: 14px; word-break: keep-all; }
/* 서프하 약속 — 가로 3열 배치 */
.promise--row { padding: 32px 40px; }
.promise--row ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 34px; max-width: none; }
.promise--row li { border-bottom: none; padding: 8px 0 8px 30px; font-size: 16.5px; line-height: 1.6; }
.promise--row li::before { top: 8px; }
@media (max-width: 720px) { .promise--row ul { grid-template-columns: 1fr; } }

.promise--side h2 { font-size: 21px; margin-bottom: 14px; }
.promise--side ul { max-width: none; }
.promise--side li { font-size: 16px; line-height: 1.6; padding: 10px 0 10px 24px; }
.promise--side li::before { font-size: 15px; top: 11px; left: 2px; }
@media (max-width: 600px) { .promise--side li { font-size: 15px; } }

/* ---------- 손편지 벽 (환자분들이 전해주신 마음) ---------- */
.letters { margin-top: 56px; text-align: center; }
.letters__title { font-size: 24px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.letters__sub { font-size: 16px; color: var(--gray); margin-top: 8px; margin-bottom: 28px; }
.letters-wall {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  filter: blur(0.4px);          /* 손편지 '느낌' — 아주 살짝만 */
  user-select: none; pointer-events: none;
}
.letter-note {
  width: auto; min-height: 150px; padding: 24px 22px;
  background: #fffdf4; border: 1px solid #efe7cf; border-radius: 6px;
  box-shadow: 0 8px 22px rgba(60,50,20,.10);
  font-family: "Nanum Pen Script", cursive; font-size: 25px; line-height: 1.45;
  color: #4b4741; text-align: left;
}
.letter-note span { display: block; margin-top: 12px; font-size: 20px; color: #9a8f7a; text-align: right; }
/* 오와 열을 반듯하게 정렬 (기울기 제거) */
.letters__note { font-size: 13px; color: #a7adb6; margin-top: 22px; }
@media (max-width: 900px) { .letters-wall { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .letters-wall { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; } }

/* ---------- 심장초음파(에코) 하이라이트 ---------- */
.echo-highlight { background: linear-gradient(135deg, #eef5ff 0%, #f6fbff 100%); border: 1px solid var(--line); border-radius: 18px; padding: 40px 36px; margin: 8px 0 44px; }
.echo-highlight__head { text-align: center; max-width: 680px; margin: 0 auto 26px; }
.echo-highlight h2 { font-size: 26px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.echo-highlight__head p { font-size: 17px; color: var(--gray); margin-top: 10px; line-height: 1.7; }
.echo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .echo-grid { grid-template-columns: repeat(2, 1fr); } }
.echo-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 12px; padding: 24px 22px 26px; text-align: center; }
.echo-card__img { height: 170px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.echo-card__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.echo-card .brand { font-size: 13px; color: var(--teal); font-weight: 700; letter-spacing: .06em; }
.echo-card h3 { font-size: 21px; color: var(--navy); font-weight: 800; margin: 6px 0 12px; }
.echo-card p { font-size: 15px; color: var(--gray); line-height: 1.65; }
.echo-card .tier { display: inline-block; margin-bottom: 12px; background: #eaf2fc; color: var(--navy); font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
@media (max-width: 760px) { .echo-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; } }

/* ---------- 질환·용어 사전 ---------- */
.glossary-search { position: relative; max-width: 560px; margin: 0 auto 12px; }
.glossary-search input {
  width: 100%; padding: 16px 20px 16px 50px; font-size: 17px; font-family: inherit;
  border: 2px solid var(--line); border-radius: 999px; outline: none; transition: border-color .18s;
}
.glossary-search input:focus { border-color: var(--navy); }
.glossary-search::before { content: "🔎"; position: absolute; left: 20px; top: 50%; transform: translateY(-50%); font-size: 17px; }
.glossary-count { text-align: center; font-size: 14px; color: var(--gray); margin-bottom: 28px; }
.glossary-list { display: grid; gap: 14px; max-width: 820px; margin: 0 auto; }
.term-card { border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; transition: box-shadow .18s; }
.term-card:hover { box-shadow: var(--shadow); }
.term-card__head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.term-card__name { font-size: 20px; font-weight: 800; color: var(--navy); }
.term-card__en { font-size: 14px; color: var(--gray); font-weight: 500; }
.term-card__tag { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--teal); background: #e9f6f5; padding: 3px 10px; border-radius: 999px; }
.term-card__desc { font-size: 16px; color: var(--ink); line-height: 1.7; }
.glossary-empty { text-align: center; color: var(--gray); padding: 40px 0; display: none; }

/* ---------- 심장검사 설명 ---------- */
.exam-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 auto 40px; max-width: 820px; }
.exam-nav a { background: #eef2f7; color: var(--navy); font-weight: 600; font-size: 14.5px; padding: 9px 16px; border-radius: 999px; transition: background .18s, color .18s; }
.exam-nav a:hover { background: var(--navy); color: #fff; }
.exam { border: 1px solid var(--line); border-radius: 16px; padding: 32px 34px; margin-bottom: 22px; scroll-margin-top: 205px; max-width: 900px; margin-left: auto; margin-right: auto; }
.exam__head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.exam__head h2 { font-size: 24px; color: var(--navy); font-weight: 800; letter-spacing: -0.02em; }
.exam__head .en { font-size: 14px; color: var(--gray); font-weight: 500; }
.exam__lead { font-size: 16.5px; color: var(--gray); line-height: 1.65; margin: 8px 0 22px; }
.exam__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 34px; }
.exam__grid h4 { font-size: 15px; color: var(--teal); font-weight: 700; margin-bottom: 6px; }
.exam__grid h4::before { content: "› "; }
.exam__grid p { font-size: 16px; color: var(--ink); line-height: 1.7; }
@media (max-width: 700px) { .exam { padding: 26px 22px; } .exam__grid { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- 검사 상세 페이지 ---------- */
.exam-nav a.active { background: var(--navy); color: #fff; }

/* 혈액검사 설명 테이블 */
.btable-wrap { overflow-x: auto; margin: 12px 0 6px; }
.btable { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 520px; }
.btable th { background: var(--navy); color: #fff; font-weight: 700; text-align: left; padding: 11px 14px; font-size: 14px; white-space: nowrap; }
.btable td { border-bottom: 1px solid var(--line); padding: 11px 14px; vertical-align: top; color: var(--ink); line-height: 1.6; }
.btable td:first-child { font-weight: 700; color: var(--navy); }
.btable tr:last-child td { border-bottom: none; }
.exam-detail { max-width: 860px; margin: 0 auto; }
.spec { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 40px; }
.spec__item { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px 12px; text-align: center; }
.spec__label { font-size: 12px; color: var(--gray); font-weight: 700; letter-spacing: .03em; }
.spec__value { font-size: 16px; color: var(--navy); font-weight: 800; margin-top: 5px; line-height: 1.4; }
@media (max-width: 700px) { .spec { grid-template-columns: repeat(2, 1fr); } }

.sec { margin-bottom: 42px; }
.sec > h2 { font-size: 23px; font-weight: 800; color: var(--navy); margin-bottom: 14px; letter-spacing: -0.02em; }
.sec > h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 22px 0 8px; }
.sec > p { font-size: 17px; line-height: 1.85; color: var(--ink); margin-bottom: 14px; }
.sec ul { list-style: none; }
.sec ul li { position: relative; padding: 7px 0 7px 22px; font-size: 16.5px; line-height: 1.7; color: var(--ink); }
.sec ul li::before { content: "•"; position: absolute; left: 5px; color: var(--teal); font-weight: 700; }

.steps { list-style: none; counter-reset: stepc; }
.steps li { position: relative; padding: 15px 0 15px 48px; border-bottom: 1px solid var(--line); font-size: 16.5px; line-height: 1.7; }
.steps li:last-child { border-bottom: none; }
.steps li::before {
  counter-increment: stepc; content: counter(stepc);
  position: absolute; left: 0; top: 13px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.steps li b { color: var(--navy); }

/* 예시 이미지 자리 */
.img-slot { border: 1px dashed #c4d3e4; border-radius: 14px; overflow: hidden; margin: 20px 0; }
.img-slot__ph {
  aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(45deg, #eef3f9, #eef3f9 12px, #e6eef7 12px, #e6eef7 24px);
  color: #93a4b8; font-weight: 600; text-align: center; font-size: 15px; padding: 20px;
}
.img-slot__cap { padding: 14px 18px; background: var(--soft); font-size: 15px; color: var(--gray); border-top: 1px dashed #c4d3e4; line-height: 1.65; }
.img-slot__cap b { color: var(--navy); }
.img-slot img { width: 100%; display: block; }

/* 자주 묻는 질문 */
.faq { border-top: 2px solid var(--navy); }
.faq__item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq__q { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.faq__q::before { content: "Q. "; color: var(--navy); font-weight: 800; }
.faq__a { font-size: 16px; color: var(--gray); line-height: 1.75; }
.faq__a::before { content: "A. "; color: var(--teal); font-weight: 800; }

.notice-box { background: #fff8ec; border: 1px solid #f0dcae; border-radius: 12px; padding: 18px 22px; font-size: 16px; color: #6b5a2e; line-height: 1.75; }
.notice-box b { color: #8a6d1f; }
.notice-box--warn { background: #fdecec; border-color: #f0b8b8; color: #7a2e2e; }
.notice-box--warn b { color: #b3261e; }

/* 검사 목록 카드 (인덱스) */
.exam-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ecard { display: block; border: 1px solid var(--line); border-radius: 14px; padding: 24px 24px 26px; transition: box-shadow .18s, border-color .18s, transform .18s; }
.ecard:hover { box-shadow: var(--shadow); border-color: var(--blue); transform: translateY(-3px); }
.ecard__ico { font-size: 28px; display: block; margin-bottom: 10px; }
.ecard h3 { font-size: 18.5px; font-weight: 800; color: var(--navy); margin-bottom: 7px; }
.ecard p { font-size: 15px; color: var(--gray); line-height: 1.65; }
@media (max-width: 900px) { .exam-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .exam-cards { grid-template-columns: 1fr; } }

/* ---------- 건강칼럼 (심장칼럼·논문리뷰) ---------- */
.column-intro { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 22px 26px; margin-bottom: 32px; display: flex; align-items: center; gap: 16px; }
.column-intro .badge { flex: none; background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; padding: 8px 16px; border-radius: 999px; }
.column-intro p { font-size: 16px; color: var(--gray); line-height: 1.6; }
.column-list { display: grid; gap: 18px; }
.post-card { display: block; border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px; transition: box-shadow .18s, border-color .18s, transform .18s; }
.post-card:hover { box-shadow: var(--shadow); border-color: var(--blue); transform: translateY(-2px); }
.post-card__date { font-size: 14px; color: var(--teal); font-weight: 700; }
.post-card__title { font-size: 21px; font-weight: 800; color: var(--navy); margin: 6px 0 10px; letter-spacing: -0.02em; }
.post-card__excerpt { font-size: 16px; color: var(--gray); line-height: 1.7; }
.post-card__more { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--navy); font-size: 15px; }

/* 최신 논문 브리핑 — 매거진(저널 홈) 스타일 레이아웃 */
.review-mag { margin-bottom: 34px; }
.review-mag__head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.review-mag__head h2 { font-size: 27px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.review-mag__eyebrow { font-size: 13px; font-weight: 800; color: var(--teal); letter-spacing: 0.05em; }
.review-mag__line { position: relative; height: 3px; background: var(--navy); border-radius: 2px; margin: 14px 0 30px; }
.review-mag__line::before { content: ""; position: absolute; left: 0; top: 50%; width: 15px; height: 15px; background: var(--navy); border-radius: 50%; transform: translate(-1px, -50%); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--navy); }

.review-mag__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px 44px; align-items: start; }
@media (max-width: 760px) { .review-mag__grid { grid-template-columns: 1fr; gap: 28px; } }

/* 왼쪽 대표(오늘의) 기사 */
.review-feat__label { display: inline-block; background: var(--heart); color: #fff; font-size: 13px; font-weight: 800; padding: 5px 15px; border-radius: 999px; letter-spacing: -0.01em; margin-bottom: 13px; }
.review-feat__card { display: block; border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 14px; padding: 25px 28px 24px; transition: box-shadow .18s, transform .18s; }
.review-feat__card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.review-feat__title { font-size: 25px; font-weight: 800; color: var(--navy); line-height: 1.34; letter-spacing: -0.02em; margin: 9px 0 12px; }
.review-feat__sub { font-size: 16.5px; color: var(--gray); line-height: 1.64; font-weight: 600; margin-bottom: 15px; }
.review-feat__more { display: inline-block; margin-top: 15px; font-weight: 800; color: var(--navy); font-size: 16px; }

/* 오른쪽 리스트 */
.review-list { display: flex; flex-direction: column; }
.rv-item { padding: 19px 0; border-bottom: 1px solid var(--line); }
.rv-item:first-child { padding-top: 0; }
.rv-item:last-child { border-bottom: none; }
.rv-item h4 { font-size: 19px; font-weight: 800; color: var(--navy); line-height: 1.4; letter-spacing: -0.02em; margin: 5px 0 8px; transition: color .15s; }
.rv-item a:hover h4 { color: var(--heart); }
.rv-item p { font-size: 15px; color: var(--gray); line-height: 1.6; margin-bottom: 10px; }

/* 공통: 날짜 · 태그 · 무료 열람 */
.rv-date { font-size: 14px; font-weight: 700; color: var(--teal); }
.rv-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rv-tag { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 6px; line-height: 1.5; }
.rv-tag--journal { background: var(--soft); color: var(--navy); border: 1px solid var(--line); }
.rv-tag--type { background: #eef6f6; color: var(--teal); }
.rv-access { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: #1a9d6a; }
.rv-access::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1a9d6a; }
/* 시리즈 칼럼 카드 (여러 편 묶음) */
.post-card--series { display: block; }
.post-card--series .series-badge { display: inline-block; font-size: 12.5px; font-weight: 700; color: #fff; background: var(--teal); border-radius: 999px; padding: 2px 10px; margin-left: 8px; vertical-align: middle; }
.series-list { list-style: none; margin: 16px 0 0; border-top: 1px solid var(--line); }
.series-list li { border-bottom: 1px solid var(--line); }
.series-list a { display: block; padding: 11px 4px 11px 20px; position: relative; font-size: 15.5px; color: var(--ink); line-height: 1.5; }
.series-list a::before { content: "›"; position: absolute; left: 4px; color: var(--teal); font-weight: 700; }
.series-list a:hover { background: var(--soft); color: var(--navy); }
.post-empty { border: 1px dashed var(--line); border-radius: 14px; padding: 40px; text-align: center; color: var(--gray); }

/* ---------- 논문 브리핑 카드 ---------- */
.paper { border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px; margin-bottom: 18px; }
.paper--lead { border-top: 4px solid var(--heart); background: #fffdfa; }
.paper__top { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 12px; }
.paper__journal { background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 6px; letter-spacing: .02em; }
.paper__date { font-size: 13px; color: var(--gray); }
.paper__tag { font-size: 12px; font-weight: 700; color: var(--teal); background: #e9f6f5; padding: 3px 10px; border-radius: 999px; }
.paper__title { font-size: 19px; font-weight: 800; color: var(--ink); line-height: 1.45; margin-bottom: 6px; }
.paper__en { font-size: 13px; color: var(--gray); line-height: 1.5; margin-bottom: 16px; font-style: italic; }
.paper h4 { font-size: 14px; color: var(--teal); font-weight: 700; margin: 14px 0 5px; }
.paper p { font-size: 16px; line-height: 1.75; color: var(--ink); margin: 0; }
.paper__link { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--navy); }
.paper__link:hover { text-decoration: underline; }
.brief-list { border: 1px solid var(--line); border-radius: 14px; padding: 24px 28px; background: var(--soft); }
.brief-list h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.brief-list li { list-style: none; padding: 12px 0; border-bottom: 1px dashed #d9e2ec; font-size: 15.5px; line-height: 1.65; color: var(--ink); }
.brief-list li:last-child { border-bottom: none; }
.brief-list .j { font-weight: 700; color: var(--navy); }
@media (max-width: 700px) { .paper { padding: 22px 20px; } }

/* 칼럼 본문 (article) */
.article { max-width: 760px; margin: 0 auto; }
.article__meta { font-size: 15px; color: var(--teal); font-weight: 700; margin-bottom: 8px; }
.article h1.article__title { font-size: 30px; font-weight: 800; color: var(--ink); line-height: 1.35; letter-spacing: -0.02em; margin-bottom: 24px; }
.article p { font-size: 18px; line-height: 1.9; color: var(--ink); margin-bottom: 18px; }
.article h2 { font-size: 25px; font-weight: 800; color: var(--navy); margin: 42px 0 16px; padding-left: 15px; border-left: 4px solid var(--teal); line-height: 1.4; letter-spacing: -0.01em; }
.article h2:first-of-type { margin-top: 24px; }
.article__disc { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--gray); line-height: 1.7; }
/* 블로그 이전 글의 본문 사진 */
.col-figure { margin: 22px 0; }
.col-figure img { width: 100%; height: auto; border-radius: 12px; display: block; box-shadow: var(--shadow); }
.col-figure figcaption { margin-top: 8px; font-size: 14px; color: var(--gray); text-align: center; line-height: 1.5; }
/* 블로그 이전 칼럼 — 시리즈 라벨 / 참고자료 / 이전·다음 이동 */
.article__series { display: inline-block; font-size: 13px; font-weight: 700; color: var(--teal); background: var(--soft); border-radius: 999px; padding: 4px 13px; margin-bottom: 14px; }
.article__ref { margin-top: 32px; font-size: 14.5px; color: var(--gray); line-height: 1.6; }
.article__pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.article__pager a { font-weight: 700; }

/* ---------- 예약 iframe ---------- */
.booking-frame {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow); background: #fff;
}
.booking-frame iframe {
  width: 100%; height: 1100px; border: 0; display: block;
}
@media (max-width: 720px) { .booking-frame iframe { height: 90vh; } }

/* ---------- 자문의 ---------- */
.advisory-notice {
  background: #fff8ec; border: 1px solid #f0dcae; border-radius: 12px;
  padding: 18px 22px; margin: 0 0 36px; font-size: 16px; color: #6b5a2e; line-height: 1.7;
}
.advisory-notice b { color: #8a6d1f; }
.advisor-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.advisor-card { flex: 0 1 300px; max-width: 320px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: center; transition: box-shadow .18s; }
.advisor-card:hover { box-shadow: var(--shadow); }
.advisor-card__photo { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; color: #9fb2c8; font-weight: 600; background: repeating-linear-gradient(45deg, #eef3f9, #eef3f9 12px, #e6eef7 12px, #e6eef7 24px); overflow: hidden; }
.advisor-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
/* 두 원본 사진의 프레이밍이 달라(세로/가로, 여백량 차이) 얼굴 크기·높이를 카드 간에 맞추기 위한 개별 보정 */
.advisor-card__photo--oh img { object-position: center -36px; transform: scale(1.41); transform-origin: center top; }
.advisor-card__photo--lee img { transform: scale(1.24); transform-origin: center top; }
.advisor-card__body { padding: 22px 20px 26px; }
.advisor-badge { display: inline-block; background: #eef2f7; color: var(--gray); font-size: 13px; font-weight: 700; padding: 4px 13px; border-radius: 999px; margin-bottom: 12px; }
.advisor-card h3 { font-size: 20px; font-weight: 800; color: var(--navy); }
.advisor-card h3 a { color: inherit; }
.advisor-card h3 a:hover { text-decoration: underline; }
.advisor-card .advisor-deg { font-size: 13.5px; font-weight: 500; color: var(--gray); margin-top: 4px; }
.advisor-card p { font-size: 15px; color: var(--gray); margin-top: 8px; line-height: 1.6; }
.advisor-card .advisor-role { color: var(--teal); font-weight: 600; font-size: 14px; margin-top: 10px; }
@media (max-width: 800px) { .advisor-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* ===================================================================
   홈 하단 - 지도(네이버/카카오/구글)
   =================================================================== */
.maps { padding: 20px 0 60px; }
.maps__head { text-align: center; margin-bottom: 26px; }
.maps__head h2 { font-size: 28px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.maps__head p { font-size: 16px; color: var(--gray); margin-top: 8px; }
.map-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 16px; }
.map-tabs button { padding: 11px 24px; font-size: 16px; font-weight: 700; font-family: inherit; color: var(--gray); background: #eef2f7; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: all .18s; }
.map-tabs button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
/* 지도 앱에서 열기 (외부 링크) */
.map-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.map-links a { display: inline-flex; align-items: center; gap: 7px; padding: 10px 20px; font-size: 15px; font-weight: 600; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; transition: border-color .18s, background .18s; }
.map-links a:hover { border-color: var(--blue); background: var(--soft); }
.map-links__ext { color: var(--gray); font-weight: 700; }
@media (max-width: 460px) { .map-links { flex-direction: column; } .map-links a { justify-content: center; } }
.map-panel { display: none; }
.map-panel.active { display: block; }
.map-frame { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }
/* 네이버 지도(div 직접 렌더)는 iframe이 아니라 높이를 직접 줘야 함 */
.map-frame[data-navermap] { height: 420px; }
.map-frame[data-navermap] .map-guide { height: 100%; box-sizing: border-box; }
.map-guide { border: 1px dashed #c4d3e4; border-radius: 14px; background: var(--soft); padding: 44px 24px; text-align: center; }
.map-guide p { font-size: 16px; color: var(--gray); line-height: 1.7; }
.map-guide .btn { margin-top: 16px; }
@media (max-width: 720px) { .map-frame iframe { height: 320px; } .map-tabs button { padding: 10px 16px; font-size: 14px; } }

/* ===================================================================
   홈 - 병원 철학 캐러셀
   =================================================================== */
.philo { padding: 62px 0 14px; text-align: center; }
.philo__eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .18em; color: var(--teal); }
.philo__title { font-size: clamp(24px, 3.2vw, 32px); font-weight: 800; color: var(--navy); margin: 10px 0 8px; letter-spacing: -0.02em; }
.philo__sub { font-size: 16px; color: var(--gray); }
/* 코버플로우: 가운데 크게 + 양옆 이전/다음 살짝 */
.philo-stage { position: relative; height: 430px; max-width: 1100px; margin: 30px auto 0; overflow: hidden; }
.pcard { position: absolute; top: 50%; left: 50%; width: 560px; max-width: 62%; transform: translate(-50%, -50%) scale(.72); opacity: 0; transition: transform .55s cubic-bezier(.35,.1,.2,1), opacity .55s ease; z-index: 1; pointer-events: none; }
.pcard.is-center { transform: translate(-50%, -50%) scale(1); opacity: 1; z-index: 3; }
.pcard.is-prev { transform: translate(-108%, -50%) scale(.82); opacity: .5; z-index: 2; }
.pcard.is-next { transform: translate(8%, -50%) scale(.82); opacity: .5; z-index: 2; }
.pcard__frame { background: #fff; padding: 9px; border-radius: 5px; box-shadow: 0 12px 32px rgba(20,30,50,.2); }
.pcard__frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; border-radius: 2px; }
.pcard__cap { position: absolute; left: 16px; bottom: 26px; background: rgba(18,28,44,.92); color: #fff; padding: 18px 26px; border-radius: 5px; max-width: 80%; text-align: left; font-size: 20px; line-height: 1.5; opacity: 0; transition: opacity .4s ease .15s; }
.pcard.is-center .pcard__cap { opacity: 1; }
.pcard__cap b { color: #7db2e8; margin-right: 8px; }
.philo-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--navy); font-size: 20px; cursor: pointer; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; }
.philo-arrow:hover { background: var(--navy); color: #fff; }
.philo-arrow--prev { left: 6px; }
.philo-arrow--next { right: 6px; }
.philo-dots { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.philo-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: #cdd7e3; cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.philo-dots button.is-active { background: var(--heart); transform: scale(1.25); }
@media (max-width: 720px) {
  .philo-stage { height: 300px; }
  .pcard { width: 84%; max-width: 84%; }
  .pcard.is-prev { transform: translate(-128%, -50%) scale(.8); opacity: .35; }
  .pcard.is-next { transform: translate(28%, -50%) scale(.8); opacity: .35; }
  .pcard__cap { left: 12px; right: 12px; bottom: 16px; padding: 13px 18px; font-size: 16px; max-width: none; }
  .philo-arrow { width: 38px; height: 38px; font-size: 17px; }
}

/* ===================================================================
   홈(index) 카드형 레이아웃
   =================================================================== */
.home-section { padding-bottom: 8px; }
.home-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hcard { border-radius: 14px; padding: 30px 28px 26px; color: #fff; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.hcard--a { background: linear-gradient(140deg, #1f78c9 0%, #2f93de 100%); }
.hcard--b { background: linear-gradient(140deg, #0e4c92 0%, #1c6fd0 100%); }
.hcard--c { background: linear-gradient(140deg, #0f9a97 0%, #16b3a3 100%); }
.hcard__title { font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.hcard__body { font-size: 15.5px; line-height: 1.65; color: rgba(255,255,255,.94); flex: 1; }
.hcard__body b { font-weight: 800; }
.hcard__body .big { font-size: 20px; font-weight: 800; letter-spacing: .01em; }
.hcard__btns { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.hcard__btn { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.55); color: #fff; padding: 9px 15px; border-radius: 8px; font-size: 14.5px; font-weight: 600; transition: background .18s; }
.hcard__btn:hover { background: rgba(255,255,255,.3); }
@media (max-width: 860px) { .home-cards { grid-template-columns: 1fr; } }

/* 중단: 건강정보·소식 매거진 */
.home-mag { margin-top: 20px; }
.home-mag__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 2px solid var(--navy); padding-bottom: 12px; margin-bottom: 22px; }
.home-mag__eyebrow { font-size: 13px; font-weight: 700; color: var(--teal); letter-spacing: .12em; }
.home-mag__title { font-size: 26px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; margin-top: 2px; }
.home-mag__links { display: flex; gap: 18px; }
.home-mag__links a { font-size: 15px; font-weight: 700; color: var(--gray); }
.home-mag__links a:hover { color: var(--navy); }

.home-mag__grid { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-areas: "lead side" "bottom bottom"; gap: 24px 30px; align-items: stretch; }
.home-mag__grid > .mag-lead { grid-area: lead; display: flex; flex-direction: column; min-height: 460px; }
.home-mag__grid > .mag-lead .mag-lead__thumb { aspect-ratio: auto; flex: 1 1 auto; min-height: 0; }
.home-mag__grid > .mag-lead .mag-lead__body { flex: none; }
.home-mag__grid > .mag-side { grid-area: side; }
.home-mag__grid > .mag-bottom { grid-area: bottom; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 30px; }
.home-mag__grid > .mag-bottom .mag-card { border-bottom: none; padding-bottom: 0; }
.mag-kicker { font-size: 14px; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; padding-bottom: 9px; margin-bottom: 16px; border-bottom: 2px solid var(--line); }

/* 뱃지 (매거진·소식 공용) */
.hnews__badge { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; background: var(--teal); padding: 3px 10px; border-radius: 5px; }
.hnews__badge--notice { background: var(--navy); }
.hnews__badge--column { background: #2f93de; }
.hnews__badge--brief { background: var(--heart); }
.hnews__badge--research { background: var(--teal); }
.hnews__badge--guide { background: #7a5cc4; }
.hnews__badge--media { background: #e0242b; }

/* 리드 기사 */
.mag-lead { display: block; }
.mag-lead__thumb { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; }
.mag-lead__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.mag-lead:hover .mag-lead__thumb img { transform: scale(1.04); }
.mag-lead__body { padding-top: 4px; }
.mag-lead__title { font-size: 25px; font-weight: 800; color: var(--navy); line-height: 1.35; letter-spacing: -0.02em; margin: 13px 0 10px; }
.mag-lead:hover .mag-lead__title { text-decoration: underline; text-underline-offset: 3px; }
.mag-lead__excerpt { font-size: 16px; color: var(--gray); line-height: 1.65; }
.mag-lead__date { display: inline-block; margin-top: 13px; font-size: 13.5px; color: var(--gray); }

/* 사이드 기사 */
.mag-side { display: flex; flex-direction: column; gap: 18px; }
.mag-card { display: grid; grid-template-columns: 132px 1fr; gap: 15px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.mag-side .mag-card:last-child { border-bottom: none; padding-bottom: 0; }
.mag-card__thumb { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.mag-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mag-card__title { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.4; margin: 9px 0 7px; }
.mag-card:hover .mag-card__title { color: var(--navy); }
.mag-card__date { font-size: 13px; color: var(--gray); }

/* 검색 바 */
.home-mag__search { display: flex; align-items: center; gap: 12px; margin-top: 26px; background: linear-gradient(135deg, #eef5fc 0%, #f6fbff 100%); border: 1px solid var(--line); border-radius: 12px; padding: 14px 20px; flex-wrap: wrap; }
.home-mag__search-label { font-size: 15px; font-weight: 700; color: var(--navy); flex: none; }
.home-mag__search input { flex: 1; min-width: 200px; padding: 11px 16px; font-size: 15.5px; font-family: inherit; border: 2px solid var(--line); border-radius: 9px; outline: none; background: #fff; }
.home-mag__search input:focus { border-color: var(--navy); }
.home-mag__search button { flex: none; padding: 0 22px; height: 44px; background: var(--navy); color: #fff; border: none; border-radius: 9px; font-size: 15px; font-weight: 700; cursor: pointer; }
.home-mag__search button:hover { background: #0b3d75; }
.home-mag__search-more { flex: none; font-size: 14px; font-weight: 600; color: var(--navy); }
.home-mag__search-more:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .home-mag__grid { grid-template-columns: 1fr; grid-template-areas: "lead" "side" "bottom"; gap: 26px; }
  .home-mag__grid > .mag-bottom { grid-template-columns: 1fr; gap: 18px; }
  .home-mag__grid > .mag-lead { height: auto; }
  .home-mag__grid > .mag-lead .mag-lead__thumb { aspect-ratio: 16 / 9; min-height: 0; flex: none; }
  .mag-lead__title { font-size: 22px; }
}
@media (max-width: 480px) {
  .mag-card { grid-template-columns: 104px 1fr; gap: 12px; }
}

/* ===== 소식 및 정보 (신문형 허브) ===== */
.news-search { display: flex; align-items: center; gap: 12px; margin: 0 0 34px; background: linear-gradient(135deg, #eef5fc 0%, #f6fbff 100%); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; flex-wrap: wrap; }
.news-search__label { font-size: 15px; font-weight: 700; color: var(--navy); flex: none; }
.news-search input { flex: 1; min-width: 220px; padding: 12px 16px; font-size: 15.5px; font-family: inherit; border: 2px solid var(--line); border-radius: 9px; outline: none; background: #fff; }
.news-search input:focus { border-color: var(--navy); }
.news-search button { flex: none; padding: 0 24px; height: 46px; background: var(--navy); color: #fff; border: none; border-radius: 9px; font-size: 15px; font-weight: 700; cursor: pointer; }
.news-search button:hover { background: #0b3d75; }

.news-sec { margin-top: 48px; scroll-margin-top: 150px; }
.news-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 3px solid var(--navy); padding-bottom: 10px; margin-bottom: 24px; }
.news-sec__title { font-size: 24px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.news-sec__title small { font-size: 14px; font-weight: 600; color: var(--gray); margin-left: 10px; letter-spacing: 0; }
.news-sec__more { font-size: 14px; font-weight: 700; color: var(--gray); flex: none; }
.news-sec__more:hover { color: var(--navy); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { display: block; }
.news-card__thumb { border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--soft); }
.news-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.news-card:hover .news-card__thumb img { transform: scale(1.04); }

/* 심장 건강정보 — 도구 바로가기(질환·용어 사전, 박동기 검색) */
.tool-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.tool-link { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); transition: box-shadow .18s, transform .18s; }
.tool-link:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.tool-link__ico { font-size: 30px; flex: none; }
.tool-link__body { display: flex; flex-direction: column; }
.tool-link__body b { font-size: 17px; color: var(--navy); font-weight: 800; }
.tool-link__body small { font-size: 14px; color: var(--gray); margin-top: 3px; }
@media (max-width: 600px) { .tool-links { grid-template-columns: 1fr; } }

/* 내용에 맞는 사진이 없을 때 — 빈 썸네일(공백) 처리 */
.news-card__thumb--blank, .mag-lead__thumb--blank, .mag-card__thumb--blank { display: flex; align-items: center; justify-content: center; background: var(--soft); }
.news-card__thumb--blank::after, .mag-lead__thumb--blank::after, .mag-card__thumb--blank::after { content: "♥"; font-size: 30px; color: rgba(14, 76, 146, 0.10); }
.news-card__title { font-size: 16.5px; font-weight: 700; color: var(--navy); line-height: 1.42; margin: 11px 0 6px; }
.news-card:hover .news-card__title { text-decoration: underline; text-underline-offset: 3px; }
.news-card__excerpt { font-size: 14px; color: var(--gray); line-height: 1.55; }
.news-card__date { display: block; font-size: 12.5px; color: var(--gray); margin-top: 9px; }

.news-empty { border: 1px dashed var(--line); border-radius: 12px; padding: 34px; text-align: center; color: var(--gray); background: #fafcff; font-size: 15px; line-height: 1.6; }
/* 목록 페이지네이션 */
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pager button { min-width: 42px; height: 42px; padding: 0 13px; border: 1px solid var(--line); background: #fff; border-radius: 9px; font-weight: 700; font-size: 15px; color: var(--navy); cursor: pointer; font-family: inherit; transition: background .15s, border-color .15s; }
.pager button:hover:not(:disabled) { background: var(--soft); border-color: var(--blue); }
.pager button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.pager button:disabled { opacity: .4; cursor: default; }
.pager__dots { align-self: center; color: var(--gray); padding: 0 2px; }

/* 방송·영상 (media.html) */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.vcard__thumb {
  display: block; width: 100%; padding: 0; border: 1px solid var(--line); cursor: pointer;
  border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; position: relative;
  background-color: var(--soft); background-size: cover; background-position: center;
}
/* 가운데 재생 버튼 */
.vcard__thumb::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 62px; height: 44px; transform: translate(-50%, -50%);
  border-radius: 11px; background: rgba(17, 17, 17, .78) no-repeat center/22px 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
  transition: background-color .18s, transform .18s;
}
.vcard__thumb:hover::after { background-color: #e0242b; transform: translate(-50%, -50%) scale(1.06); }
.vcard__thumb:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.vcard__frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; display: block; background: #000; }
/* 유튜브가 아닌 외부 강좌 링크용 (썸네일 대신 아이콘) */
.vcard__thumb--plain { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #eef5fc 0%, #f6fbff 100%); }
.vcard__thumb--plain span { font-size: 40px; }
.vcard__thumb--plain::after { display: none; }
.vcard__title { font-size: 16.5px; font-weight: 700; color: var(--navy); line-height: 1.42; margin: 11px 0 5px; }
.vcard__meta { font-size: 13px; color: var(--gray); }

/* 언론 보도 목록 */
.press-list { list-style: none; margin: 0; }
.press-list li { border-bottom: 1px solid var(--line); }
.press-list li:last-child { border-bottom: none; }
.press-list a { display: flex; gap: 16px; align-items: baseline; padding: 16px 4px; transition: background .15s; }
.press-list a:hover { background: var(--soft); }
.press-list a:hover .press__title { text-decoration: underline; text-underline-offset: 3px; }
.press__date { flex: none; width: 82px; font-size: 13.5px; font-weight: 700; color: var(--teal); }
.press__body { flex: 1; }
.press__title { font-size: 16.5px; font-weight: 700; color: var(--navy); line-height: 1.45; }
.press__outlet { font-size: 13.5px; color: var(--gray); margin-top: 4px; }
.press__go { flex: none; font-size: 13px; font-weight: 700; color: var(--navy); align-self: center; white-space: nowrap; }
@media (max-width: 560px) {
  .press-list a { flex-wrap: wrap; gap: 4px 12px; }
  .press__go { display: none; }
}

.video-empty { grid-column: 1 / -1; border: 1px dashed var(--line); border-radius: 14px; padding: 52px 34px; text-align: center; background: #fafcff; }
.video-empty__ico { font-size: 34px; display: block; margin-bottom: 12px; }
.video-empty h3 { font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.video-empty p { font-size: 15px; color: var(--gray); line-height: 1.6; }

@media (max-width: 860px) { .video-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .video-grid { grid-template-columns: 1fr; } }

/* 논문 목록 */
.paper-list { list-style: none; }
.paper-list li { display: flex; gap: 18px; align-items: baseline; border-bottom: 1px solid var(--line); padding: 17px 2px; }
.paper-list li:last-child { border-bottom: none; }
.paper-list .pl-year { flex: none; width: 54px; font-size: 15px; font-weight: 800; color: var(--heart); }
.paper-list .pl-main { flex: 1; }
.paper-list .pl-title { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.45; }
.paper-list .pl-journal { font-size: 13.5px; color: var(--gray); margin-top: 3px; }
.paper-list .pl-link { flex: none; font-size: 13px; font-weight: 700; color: var(--navy); white-space: nowrap; align-self: center; }
.paper-list .pl-link:hover { text-decoration: underline; }
/* 연구 성과 — 연도별 구분 */
.pl-yearhead { font-size: 20px; font-weight: 800; color: var(--navy); margin: 40px 0 6px; padding-bottom: 8px; border-bottom: 2px solid var(--navy); }
.pl-yearhead:first-of-type { margin-top: 0; }
.pl-yearhead small { font-size: 13.5px; font-weight: 600; color: var(--gray); margin-left: 8px; }
.paper-list .pl-desc { font-size: 14.5px; color: var(--gray); line-height: 1.65; margin-top: 6px; }
.pl-note { font-size: 14px; color: var(--gray); margin: 10px 0 4px; line-height: 1.6; }
.paper-list--plain .pl-main { padding-right: 0; }

@media (max-width: 860px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .news-grid { grid-template-columns: 1fr; }
  .paper-list li { flex-wrap: wrap; gap: 4px 14px; }
  .paper-list .pl-link { align-self: auto; }
}

/* ===== 비급여 진료비 표 ===== */
.fee-wrap { overflow-x: auto; }
.fee-table { width: 100%; min-width: 760px; border-collapse: collapse; word-break: keep-all; }
.fee-table th, .fee-table td { border: 1px solid var(--line); padding: 13px 14px; font-size: 15px; line-height: 1.6; vertical-align: middle; }
.fee-table thead th { background: var(--navy); color: #fff; font-weight: 700; text-align: center; font-size: 15.5px; }
.fee-table td.fee-name { font-weight: 700; color: var(--navy); width: 22%; }
.fee-table td.fee-desc { color: var(--gray); }
.fee-table td.fee-cover { text-align: center; white-space: nowrap; width: 13%; }
.fee-table td.fee-price { text-align: right; font-weight: 700; color: var(--ink); white-space: nowrap; width: 13%; }
.fee-table tbody tr:nth-child(even) { background: #fafcff; }
.fee-note { margin-top: 16px; font-size: 14.5px; color: var(--gray); text-align: right; }
@media (max-width: 700px) { .fee-table th, .fee-table td { padding: 10px; font-size: 14px; } }

/* ===== 나의 박동기 검색 ===== */
.dtabs { display: flex; gap: 6px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 6px; max-width: 480px; margin: 22px auto 26px; }
.dtab { flex: 1; padding: 13px 10px; font-size: 16px; font-weight: 700; color: var(--gray); background: transparent; border: none; border-radius: 8px; cursor: pointer; }
.dtab.is-active { background: var(--navy); color: #fff; }
.dtab-panel { display: none; }
.dtab-panel.is-active { display: block; }
.dev-search { background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 24px; margin: 8px 0 10px; }
.dev-search__box { display: flex; gap: 8px; margin-bottom: 14px; }
.dev-search__box input { flex: 1; padding: 13px 18px; font-size: 16px; font-family: inherit; border: 2px solid var(--line); border-radius: 10px; outline: none; background: #fff; }
.dev-search__box input:focus { border-color: var(--navy); }
.dev-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.dev-tab { padding: 8px 15px; font-size: 14.5px; font-weight: 700; color: var(--gray); background: #fff; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.dev-tab.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.dev-count { font-size: 14px; color: var(--gray); margin: 16px 2px 14px; }
.dev-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.dev-card { border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 14px; padding: 22px 22px 20px; background: #fff; word-break: keep-all; }
.dev-card__top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.dev-card__type { font-size: 12px; font-weight: 800; color: #fff; background: var(--teal); padding: 3px 10px; border-radius: 6px; }
.dev-card__mri { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 6px; }
.dev-card__mri--yes { color: #1f7a52; background: #e6f6ee; }
.dev-card__mri--no { color: #a23; background: #fdeaea; }
.dev-card__model { font-size: 19px; font-weight: 800; color: var(--navy); margin: 6px 0 2px; letter-spacing: -0.01em; }
.dev-card__maker { font-size: 14px; color: var(--gray); font-weight: 600; margin-bottom: 14px; }
.dev-row { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid var(--soft); font-size: 14.5px; line-height: 1.6; }
.dev-row__k { font-weight: 700; color: var(--navy); }
.dev-row__v { color: var(--ink); }
.dev-feats { margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--soft); }
.dev-feats li { position: relative; padding: 4px 0 4px 18px; font-size: 14px; color: var(--ink); }
.dev-feats li::before { content: "·"; position: absolute; left: 6px; color: var(--teal); font-weight: 800; }
.dev-papers { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--soft); }
.dev-papers__h { font-size: 12.5px; font-weight: 800; color: var(--teal); letter-spacing: .04em; margin-bottom: 6px; }
.dev-papers li { font-size: 13px; color: var(--gray); line-height: 1.55; padding: 2px 0; }
.dev-empty { text-align: center; color: var(--gray); padding: 40px; border: 1px dashed var(--line); border-radius: 12px; }
@media (max-width: 720px) { .dev-grid { grid-template-columns: 1fr; } }

/* ===== 사이트맵 ===== */
.sitemap { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 30px 28px; }
.sitemap__col h2 { font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; padding-bottom: 12px; margin-bottom: 10px; border-bottom: 2px solid var(--navy); }
.sitemap__col h2 a { color: inherit; }
.sitemap__col ul { list-style: none; }
.sitemap__col li a { display: block; padding: 10px 2px; font-size: 18px; color: var(--gray); border-bottom: 1px solid var(--soft); }
.sitemap__col li a:hover { color: var(--navy); padding-left: 4px; }
.sitemap__col li.sitemap__sub a { font-size: 16px; color: #9aa7b6; padding-left: 12px; }
.sitemap__col li.sitemap__sub a:hover { color: var(--navy); }

/* 오시는 길 가로 배너 */
.home-loc { display: grid; grid-template-columns: 340px 1fr; gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-top: 40px; }
.home-loc__info { background: var(--navy); color: #fff; padding: 34px 34px; }
.home-loc__info .eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .1em; color: #bfe0ff; }
.home-loc__info h2 { font-size: 22px; font-weight: 800; margin: 10px 0 6px; line-height: 1.4; }
.home-loc__info .sub { font-size: 14.5px; color: rgba(255,255,255,.82); }
.home-loc__info ul { list-style: none; margin-top: 20px; }
.home-loc__info li { font-size: 14.5px; padding: 6px 0; color: rgba(255,255,255,.92); }
.home-loc__info li b { color: #bfe0ff; display: inline-block; width: 46px; }
.home-loc__map { min-height: 280px; }
.home-loc__map .map-placeholder { height: 100%; border-radius: 0; }
@media (max-width: 760px) { .home-loc { grid-template-columns: 1fr; } .home-loc__map { min-height: 220px; } }

/* ---------- 대표원장 ---------- */
/* (푸터 위) */
/* ---------- 푸터 ---------- */
.footer { background: #0c2e57; color: rgba(255,255,255,.72); padding: 56px 0; }
.footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__biz { font-size: 14.5px; line-height: 1.9; margin: 16px 0 12px; }
.footer__copy { font-size: 13px; color: rgba(255,255,255,.45); }
.footer__links { display: flex; gap: 20px; align-items: flex-start; }
.footer__links a { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.85); }
.footer__links a:hover { color: #fff; }
