/* ═══════════════════════════════════════════
   Doctor Profile Page Styles
   doctor-profile.css
═══════════════════════════════════════════ */

/* Breadcrumb */
.dp-breadcrumb {
  background: var(--gray-50);
  border-bottom: 1px solid var(--teal-light);
  padding: 10px 0;
}
.dp-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--gray-400);
}
.dp-breadcrumb__list li:not(:last-child)::after {
  content: '›';
  margin-left: 8px;
  color: var(--gray-300);
}
.dp-breadcrumb__list a { color: var(--teal); font-weight: 500; }
.dp-breadcrumb__list a:hover { text-decoration: underline; }
.dp-breadcrumb__list li:last-child { color: var(--navy); font-weight: 600; }

/* Hero */
.dp-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a5f61 100%);
  padding: 60px 0 70px;
}
.dp-hero__inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: center;
}
.dp-hero__photo-wrap {
  width: 320px;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
  flex-shrink: 0;
}
.dp-hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 15%;
}
.dp-hero__dept {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-light);
  background: rgba(42,157,159,.18);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.dp-hero__name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 8px;
}
.dp-hero__role {
  font-size: 16px;
  color: rgba(255,255,255,.75);
  font-weight: 500;
  margin-bottom: 16px;
}
.dp-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.dp-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
}
.dp-badge--exp { background: var(--teal); color: white; }
.dp-badge--hosp { background: rgba(255,255,255,.15); color: rgba(255,255,255,.85); }
.dp-hero__qual {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-bottom: 16px;
  line-height: 1.6;
}
.dp-hero__avail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--teal-light);
  font-weight: 600;
  margin-bottom: 20px;
}
.dp-hero__avail svg { flex-shrink: 0; }
.dp-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.dp-hero__actions .btn--outline {
  border-color: rgba(255,255,255,.4);
  color: white;
  background: transparent;
}
.dp-hero__actions .btn--outline:hover {
  background: rgba(255,255,255,.12);
  border-color: white;
}

/* Body grid */
.dp-body__grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* Cards */
.dp-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--teal-light);
  margin-bottom: 24px;
}
.dp-card:last-child { margin-bottom: 0; }
.dp-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--teal-light);
}
.dp-card p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 12px;
}
.dp-card p:last-child { margin-bottom: 0; }

/* Expertise list */
.dp-expertise {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.dp-expertise li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-600);
  font-weight: 500;
}
.dp-expertise li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--teal);
}

/* Education */
.dp-edu { display: flex; flex-direction: column; gap: 20px; }
.dp-edu__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.dp-edu__icon {
  width: 40px;
  height: 40px;
  background: var(--teal-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dp-edu__icon svg { width: 20px; height: 20px; stroke: var(--teal-dark); }
.dp-edu__item strong { display: block; font-size: 15px; color: var(--navy); font-weight: 700; margin-bottom: 3px; }
.dp-edu__item p { font-size: 13px; color: var(--gray-400); margin: 0; }

/* Sidebar */
.dp-sidebar { position: sticky; top: 100px; }

.dp-sidebar__book {
  background: var(--navy);
  color: white;
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.dp-sidebar__book h3 { font-size: 17px; font-weight: 700; color: white; margin-bottom: 6px; }
.dp-sidebar__book p { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.5; }
.dp-sidebar__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-light);
}
.dp-sidebar__phone:hover { color: white; }

.dp-sidebar__info {
  background: white;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--teal-light);
}
.dp-sidebar__info h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .06em; }
.dp-sidebar__info p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 8px;
}
.dp-sidebar__info p svg { flex-shrink: 0; margin-top: 2px; stroke: var(--teal); }

.dp-sidebar__doctors {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dp-sidebar__doctors li { display: flex; flex-direction: column; gap: 2px; }
.dp-sidebar__doctors a { font-size: 14px; font-weight: 600; color: var(--teal-dark); }
.dp-sidebar__doctors a:hover { color: var(--teal); text-decoration: underline; }
.dp-sidebar__doctors span { font-size: 12px; color: var(--gray-400); }

/* Responsive */
@media (max-width: 900px) {
  .dp-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .dp-hero__photo-wrap {
    width: 240px;
    height: 280px;
    margin: 0 auto;
  }
  .dp-hero__badges, .dp-hero__actions { justify-content: center; }
  .dp-body__grid { grid-template-columns: 1fr; }
  .dp-sidebar { position: static; }
  .dp-expertise { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .dp-hero { padding: 40px 0 50px; }
  .dp-hero__photo-wrap { width: 200px; height: 240px; }
  .dp-card { padding: 20px; }
}
