/* 한마음플러스의원 건강관리센터(내과) — 분홍/로즈 테마
   site.css 의 구조·레이아웃을 그대로 재사용하고 브랜드 토큰만 로즈 계열로 덮어쓴다.
   반드시 site.css 다음에 로드할 것. (CSS 변수 캐스케이드로 자동 적용) */
:root {
  --brand-50:  #FCF2F7;
  --brand-100: #F9E1EC;
  --brand-200: #F2C2D7;
  --brand-300: #E89BBC;
  --brand-400: #DE74A0;
  --brand-500: #D14E83;
  --brand-600: #B83A6E;
  --brand-700: #972D58;
  --ink-950:   #2A1622;
  --ink-800:   #3B2330;
  --line:      #EFE0E8;
  --bg-soft:   #FCF5F8;
  --gold-500:  #C98A5E;
}

/* 입력 포커스 링도 로즈로 통일 */
input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(209, 78, 131, .20);
}

/* 헤더 파트명(서브 텍스트) 강조색 */
.brand-sub {
  color: var(--brand-500);
}

/* 분홍 박스 위 제목이 .section h2 규칙에 밀려 검게 나오던 것 복구(흰색) */
.signature-copy h2 {
  color: #fff;
}

/* ===== 의료진 (내과 진료철학 페이지) ===== */
/* 대표 의료진: 풀폭 + 진한 로즈 + 흰 글씨로 확실히 띄움 */
.doctor-lead {
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
  border-radius: 22px;
  padding: 36px 40px;
  background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-700) 100%);
  color: #fff;
  box-shadow: 0 24px 54px rgba(151, 45, 88, .30);
  overflow: hidden;
}
.doctor-lead::after {
  content: "";
  position: absolute;
  inset: -45% -12% auto auto;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255, 255, 255, .20), transparent 70%);
  pointer-events: none;
}
.doctor-avatar {
  position: relative;
  z-index: 1;
  flex: none;
  display: grid;
  place-items: center;
  width: 102px;
  height: 102px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 42px;
  font-weight: 800;
}
.doctor-lead-body {
  position: relative;
  z-index: 1;
}
.doctor-lead-role {
  display: inline-block;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, .20);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}
.doctor-lead h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
}
.doctor-lead h3 small {
  margin-left: 12px;
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
  font-weight: 700;
}
.doctor-lead p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, .94);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.72;
}
/* 그 외 의료진: 작은 흰색 박스 */
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.doctor-card {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 20px 22px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(42, 22, 36, .06);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.doctor-card:hover {
  border-color: var(--brand-200);
  box-shadow: var(--soft-shadow);
  transform: translateY(-2px);
}
.doctor-card .ini {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: 18px;
  font-weight: 800;
}
.doctor-card b {
  display: block;
  color: var(--ink-950);
  font-size: 17px;
  font-weight: 800;
}
.doctor-card span {
  display: block;
  margin-top: 3px;
  color: var(--ink-500);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
}
@media (max-width: 760px) {
  .doctor-lead {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 26px 22px;
  }
  .doctor-lead h3 {
    font-size: 28px;
  }
  .doctor-lead h3 small {
    display: block;
    margin: 6px 0 0;
  }
  .doctor-grid {
    grid-template-columns: 1fr;
  }
}

/* 내과 홈 통합진료 섹션의 의료진 미니 카드 */
.doctor-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.doctor-ini {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: 19px;
  font-weight: 800;
}
.doctor-row b {
  display: block;
  color: var(--ink-950);
  font-size: 17px;
  font-weight: 800;
}
.doctor-row span {
  display: block;
  margin-top: 2px;
  color: var(--ink-500);
  font-size: 13px;
  font-weight: 600;
}
.doctor-desc {
  margin: 0 0 16px;
  color: var(--ink-650);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}
