/* ═══════════════════════════════════════════════════════
   CUROLIVE DOCTORS PLUGIN v2.0 — COMPLETE STYLESHEET
   Navy #203165 · Blue #32b5fd · Poppins / Outfit
═══════════════════════════════════════════════════════ */

/* ── RESET ─────────────────────────────────────────── */
.cd-page *, .cd-page *::before, .cd-page *::after { box-sizing: border-box; }
.cd-page { font-family: 'Outfit', sans-serif; color: #2d3a4a; background: #fff; }
.cd-page a { text-decoration: none; color: inherit; }
.cd-page img { max-width: 100%; display: block; }
.cd-page h1, .cd-page h2, .cd-page h3, .cd-page h4 { margin: 0; line-height: 1.2; }
.cd-page p { margin: 0; }

:root {
  --cd-navy: #203165;
  --cd-blue: #32b5fd;
  --cd-pale: #e8f4fd;
  --cd-bg: #f7f9fc;
  --cd-border: #dde6f0;
  --cd-muted: #6b7a8d;
  --cd-text: #2d3a4a;
  --cd-green: #16a34a;
  --cd-red: #dc2626;
}

.cd-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* ── ANIMATIONS ───────────────────────────────────── */
@keyframes cd-orb { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-18px)} }
@keyframes cd-pulse-green { 0%,100%{box-shadow:0 0 0 0 rgba(22,163,74,.45)} 50%{box-shadow:0 0 0 6px rgba(22,163,74,0)} }
@keyframes cd-blink { 0%,100%{opacity:1} 50%{opacity:.25} }

/* ── COMMON BUTTONS ───────────────────────────────── */
.cd-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cd-blue); color: #fff;
  font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 700;
  padding: 13px 26px; border-radius: 9px; border: none; cursor: pointer;
  transition: background .2s, transform .18s; white-space: nowrap;
}
.cd-btn-primary:hover { background: #1a9de0; transform: translateY(-2px); color: #fff; }
.cd-btn-primary svg { width: 14px; height: 14px; flex-shrink: 0; }

.cd-btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff;
  font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600;
  padding: 12px 22px; border-radius: 9px;
  border: 1.5px solid rgba(255,255,255,.4);
  transition: border-color .2s, background .2s; white-space: nowrap;
}
.cd-btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.cd-btn-outline-white svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ── AVAILABILITY ─────────────────────────────────── */
.cd-avail-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}
.cd-avail--yes .cd-avail-dot { background: var(--cd-green); animation: cd-pulse-green 2s ease-in-out infinite; }
.cd-avail--no  .cd-avail-dot { background: var(--cd-red); }

/* ════════════════════════════════════════════════════
   ARCHIVE — HERO
════════════════════════════════════════════════════ */
.cd-archive-hero {
  background: var(--cd-navy); overflow: hidden; position: relative;
}
.cd-hero-dot {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.048) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
}
.cd-hero-orb {
  position: absolute; border-radius: 50%; pointer-events: none;
  animation: cd-orb 10s ease-in-out infinite;
}
.cd-orb1 {
  width: 480px; height: 480px; right: -80px; top: -80px;
  background: radial-gradient(circle, rgba(50,181,253,.16) 0%, transparent 68%);
}
.cd-orb2 {
  width: 320px; height: 320px; left: 5%; bottom: -60px;
  background: radial-gradient(circle, rgba(50,181,253,.08) 0%, transparent 68%);
  animation-direction: reverse; animation-duration: 13s;
}

.cd-archive-hero-in {
  display: grid; grid-template-columns: 1fr 380px;
  gap: 56px; align-items: center; padding: 72px 0 76px;
  position: relative; z-index: 1;
}

/* Hero pill */
.cd-hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(50,181,253,.14); border: 1px solid rgba(50,181,253,.32);
  color: var(--cd-blue); font-family: 'Poppins', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 4px; margin-bottom: 18px;
}
.cd-hero-pill::before {
  content: ''; width: 6px; height: 6px; background: var(--cd-blue);
  border-radius: 50%; animation: cd-blink 2s ease-in-out infinite;
}

.cd-archive-h1 {
  font-family: 'Poppins', sans-serif; font-size: 46px; font-weight: 900;
  color: #fff; margin-bottom: 16px; letter-spacing: -.5px; line-height: 1.08;
}
.cd-archive-h1 span { color: var(--cd-blue); }

.cd-archive-hero-p {
  font-size: 17px; color: rgba(255,255,255,.64); line-height: 1.8;
  margin-bottom: 28px; max-width: 460px;
}
.cd-archive-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }

.cd-archive-stats {
  display: flex; border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px;
}
.cd-astat { flex: 1; padding-right: 20px; margin-right: 20px; border-right: 1px solid rgba(255,255,255,.12); }
.cd-astat:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.cd-astat strong { display: block; font-family: 'Poppins', sans-serif; font-size: 26px; font-weight: 900; color: var(--cd-blue); margin-bottom: 2px; }
.cd-astat span { font-size: 11px; color: rgba(255,255,255,.44); }

/* Doctor preview pills */
.cd-archive-hero-right { display: flex; flex-direction: column; gap: 10px; }

.cd-preview-pill {
  background: rgba(255,255,255,.07); border: 1px solid rgba(50,181,253,.2);
  border-radius: 14px; padding: 14px 16px; display: flex; align-items: center; gap: 14px;
  transition: background .2s, border-color .2s;
}
.cd-preview-pill:hover { background: rgba(50,181,253,.1); border-color: rgba(50,181,253,.4); }
.cd-preview-av {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: top;
  flex-shrink: 0; border: 2px solid rgba(50,181,253,.35);
}
.cd-preview-info { flex: 1; min-width: 0; }
.cd-preview-name { font-family: 'Poppins', sans-serif; font-size: 13.5px; font-weight: 700; color: #fff; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cd-preview-spec { font-size: 12px; color: var(--cd-blue); }
.cd-preview-exp { font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 800; color: var(--cd-blue); text-align: center; flex-shrink: 0; line-height: 1.1; }
.cd-preview-exp small { font-size: 9px; font-weight: 400; color: rgba(255,255,255,.4); display: block; }

/* ── FILTER STRIP ─────────────────────────────────── */
.cd-filter-strip {
  background: #fff; border-bottom: 1px solid var(--cd-border);
  padding: 18px 0; position: sticky; top: 0; z-index: 80;
  box-shadow: 0 2px 12px rgba(32,49,101,.05);
}
.cd-filter-strip .cd-wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cd-filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }

.cd-ftab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border: 1.5px solid var(--cd-border); border-radius: 8px;
  background: var(--cd-bg); font-family: 'Poppins', sans-serif;
  font-size: 12.5px; font-weight: 600; color: var(--cd-muted);
  cursor: pointer; transition: all .2s; white-space: nowrap;
}
.cd-ftab:hover { border-color: var(--cd-navy); color: var(--cd-navy); background: #fff; }
.cd-ftab.act { background: var(--cd-navy); border-color: var(--cd-navy); color: #fff; }
.cd-ftab-count {
  font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 8px;
  background: rgba(255,255,255,.18);
}
.cd-ftab:not(.act) .cd-ftab-count { background: var(--cd-border); color: var(--cd-muted); }
.cd-clear-filter {
  font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--cd-blue); white-space: nowrap;
}

/* ── LISTING SECTION ──────────────────────────────── */
.cd-listing-section { padding: 44px 0 80px; }
.cd-results-bar { margin-bottom: 24px; }
.cd-results-count { font-size: 14px; color: var(--cd-muted); }

/* ═══════════════════════════════════════════════════
   DOCTOR CARD — complete redesign
═══════════════════════════════════════════════════ */
.cd-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

.cd-card {
  background: #fff; border: 1.5px solid var(--cd-border); border-radius: 20px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
.cd-card:hover {
  border-color: var(--cd-blue);
  box-shadow: 0 12px 40px rgba(50,181,253,.12);
  transform: translateY(-5px);
}
.cd-card--featured { border-top: 3px solid #f5a623; }

/* Card image */
.cd-card-img-wrap {
  position: relative; overflow: hidden;
  height: 220px; background: #f0f4f8; flex-shrink: 0;
}
.cd-card-img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  display: block; transition: transform .4s ease;
}
.cd-card:hover .cd-card-img { transform: scale(1.04); }

.cd-card-star {
  position: absolute; top: 12px; left: 14px;
  color: #f5a623; font-size: 20px;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.3));
}
.cd-card-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--cd-navy); color: #fff;
  font-family: 'Poppins', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 5px;
  box-shadow: 0 2px 8px rgba(32,49,101,.35);
}
.cd-card-exp {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(50,181,253,.95); color: #fff;
  font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 5px;
}

/* Card body */
.cd-card-body { padding: 20px 20px 0; flex: 1; }

.cd-card-name {
  font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 800;
  color: var(--cd-navy); margin-bottom: 4px; line-height: 1.2;
}
.cd-card-spec {
  font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--cd-blue); margin-bottom: 6px;
}
.cd-card-qual {
  font-size: 12.5px; color: var(--cd-muted); margin-bottom: 12px; line-height: 1.4;
}
.cd-card-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.cd-card-tag {
  background: var(--cd-pale); color: #1a5fa0;
  font-family: 'Poppins', sans-serif; font-size: 10.5px; font-weight: 700;
  padding: 3px 9px; border-radius: 4px; letter-spacing: .2px;
}
.cd-card-bio {
  font-size: 13.5px; color: var(--cd-muted); line-height: 1.7; margin-bottom: 14px;
}
.cd-card-avail {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 600;
  padding: 8px 12px; border-radius: 8px; margin-bottom: 6px;
}
.cd-card-avail.cd-avail--yes { background: #dcfce7; color: #15803d; }
.cd-card-avail.cd-avail--no  { background: #fee2e2; color: #b91c1c; }

/* Card footer */
.cd-card-footer { padding: 14px 20px 20px; display: flex; gap: 10px; }

.cd-card-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 700;
  padding: 11px 10px; border-radius: 9px; cursor: pointer;
  transition: all .2s; white-space: nowrap;
}
.cd-card-btn svg { width: 13px; height: 13px; flex-shrink: 0; }

.cd-card-btn--outline {
  background: #fff; color: var(--cd-navy);
  border: 1.5px solid var(--cd-border);
}
.cd-card-btn--outline:hover {
  background: var(--cd-navy); color: #fff; border-color: var(--cd-navy);
}
.cd-card-btn--solid {
  background: var(--cd-blue); color: #fff; border: 1.5px solid var(--cd-blue);
}
.cd-card-btn--solid:hover { background: #1a9de0; border-color: #1a9de0; color: #fff; }

/* ── NO RESULTS / PAGINATION ──────────────────────── */
.cd-no-results { text-align: center; padding: 80px 20px; }
.cd-no-results-icon { font-size: 52px; margin-bottom: 16px; }
.cd-no-results h3 { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 700; color: var(--cd-navy); margin-bottom: 10px; }
.cd-no-results p { font-size: 15px; color: var(--cd-muted); }
.cd-no-results a { color: var(--cd-blue); font-weight: 600; }

.cd-pagination { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 56px; }
.cd-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1.5px solid var(--cd-border); border-radius: 8px;
  font-family: 'Poppins', sans-serif; font-size: 13.5px; font-weight: 600; color: var(--cd-navy);
  transition: all .2s;
}
.cd-pagination .page-numbers:hover { border-color: var(--cd-blue); color: var(--cd-blue); }
.cd-pagination .page-numbers.current { background: var(--cd-navy); border-color: var(--cd-navy); color: #fff; }

/* ════════════════════════════════════════════════════
   CTA SECTION
════════════════════════════════════════════════════ */
.cd-cta-section { padding: 0 0 72px; }
.cd-cta-box {
  background: var(--cd-navy); border-radius: 22px; padding: 52px 48px;
  display: flex; align-items: center; gap: 40px; position: relative; overflow: hidden;
}
.cd-cta-box::before {
  content: ''; position: absolute; right: -50px; top: -50px;
  width: 240px; height: 240px; border-radius: 50%;
  background: rgba(50,181,253,.08); pointer-events: none;
}
.cd-cta-box::after {
  content: ''; position: absolute; left: -30px; bottom: -30px;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(255,255,255,.03); pointer-events: none;
}
.cd-cta-text { flex: 1; min-width: 0; position: relative; z-index: 1; }
.cd-cta-text h2 { font-family: 'Poppins', sans-serif; font-size: 26px; font-weight: 900; color: #fff; margin-bottom: 8px; }
.cd-cta-text h2 span { color: var(--cd-blue); }
.cd-cta-text p { font-size: 15px; color: rgba(255,255,255,.58); line-height: 1.7; }
.cd-cta-actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; position: relative; z-index: 1; }

/* ════════════════════════════════════════════════════
   SINGLE — PROFILE HERO
════════════════════════════════════════════════════ */
.cd-profile-hero {
  background: var(--cd-navy); overflow: hidden; position: relative;
}
.cd-profile-hero-grid {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 56px; align-items: flex-start;
  padding: 64px 0 68px; position: relative; z-index: 1;
}

/* Photo column */
.cd-profile-photo-col { display: flex; flex-direction: column; gap: 16px; }
.cd-profile-photo-frame { position: relative; }
.cd-profile-photo {
  width: 100%; height: 360px; object-fit: cover; object-position: top center;
  border-radius: 20px;
  border: 3px solid rgba(50,181,253,.28);
  box-shadow: 0 24px 56px rgba(0,0,0,.28);
  display: block;
}
.cd-profile-avail-badge {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 600;
  padding: 7px 18px; border-radius: 20px; backdrop-filter: blur(8px);
}
.cd-profile-avail-badge.cd-avail--yes { background: rgba(22,163,74,.88); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.cd-profile-avail-badge.cd-avail--no  { background: rgba(185,28,28,.88); color: #fff; border: 1px solid rgba(255,255,255,.2); }

.cd-profile-mini-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.cd-mini-stat {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 11px; padding: 12px 8px; text-align: center;
}
.cd-mini-stat strong {
  display: block; font-family: 'Poppins', sans-serif;
  font-size: 15px; font-weight: 900; color: var(--cd-blue); margin-bottom: 3px;
}
.cd-mini-stat span { font-size: 10.5px; color: rgba(255,255,255,.44); }
.cd-mini-stat--reg strong { font-size: 12px; }

/* Social buttons */
.cd-profile-social { display: flex; gap: 9px; margin-top: 18px; }
.cd-social-mobile { display: none; }
.cd-social-desktop { display: flex; }

.cd-social-btn {
  width: 38px; height: 38px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); flex-shrink: 0;
  transition: background .2s, border-color .2s, color .2s;
}
.cd-social-btn:hover { background: var(--cd-blue); border-color: var(--cd-blue); color: #fff; }
.cd-social-btn svg { width: 18px; height: 18px; }

/* Text column */
.cd-profile-text-col { display: flex; flex-direction: column; }

.cd-profile-dept-badge {
  display: inline-block; align-self: flex-start;
  background: rgba(50,181,253,.15); border: 1px solid rgba(50,181,253,.32);
  color: var(--cd-blue); font-family: 'Poppins', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 4px; margin-bottom: 14px;
}

.cd-profile-name {
  font-family: 'Poppins', sans-serif; font-size: 44px; font-weight: 900;
  color: #fff; margin-bottom: 6px; letter-spacing: -.5px; line-height: 1.08;
}
.cd-profile-spec-line {
  font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 600;
  color: var(--cd-blue); margin-bottom: 18px;
}

.cd-profile-quals { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.cd-qual-chip {
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.85); font-family: 'Poppins', sans-serif;
  font-size: 12px; font-weight: 600; padding: 5px 13px; border-radius: 6px;
}
.cd-qual-exp { background: rgba(50,181,253,.16); border-color: rgba(50,181,253,.3); color: var(--cd-blue); }

.cd-profile-bio {
  font-size: 15.5px; color: rgba(255,255,255,.66); line-height: 1.85; margin-bottom: 26px;
}

.cd-profile-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }

.cd-profile-exp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.cd-exp-tag {
  background: rgba(50,181,253,.14); border: 1px solid rgba(50,181,253,.28);
  color: var(--cd-blue); font-family: 'Poppins', sans-serif;
  font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 6px;
}

.cd-profile-info-strip {
  display: flex; flex-wrap: wrap; gap: 18px;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1);
}
.cd-strip-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.6);
}
.cd-strip-item svg { flex-shrink: 0; stroke: var(--cd-blue); }
.cd-strip-item strong { color: #fff; }

/* ════════════════════════════════════════════════════
   SINGLE — PROFILE BODY
════════════════════════════════════════════════════ */
.cd-profile-body { padding: 64px 0; }
.cd-profile-body-grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }

/* Section heading */
.cd-profile-section { margin-bottom: 52px; }
.cd-profile-section:last-child { margin-bottom: 0; }
.cd-section-label {
  display: inline-block; background: var(--cd-pale); color: #1a5fa0;
  font-family: 'Poppins', sans-serif; font-size: 10.5px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; padding: 4px 12px;
  border-radius: 4px; margin-bottom: 10px;
}
.cd-section-h2 {
  font-family: 'Poppins', sans-serif; font-size: 23px; font-weight: 900;
  color: var(--cd-navy); margin-bottom: 20px;
}

/* Rich text */
.cd-profile-richtext { font-size: 15.5px; color: var(--cd-muted); line-height: 1.88; }
.cd-profile-richtext p { margin-bottom: 14px; }
.cd-profile-richtext p:last-child { margin-bottom: 0; }
.cd-profile-richtext blockquote {
  background: var(--cd-pale); border-left: 3px solid var(--cd-blue);
  border-radius: 0 10px 10px 0; padding: 14px 18px;
  margin: 18px 0; font-size: 15px; color: var(--cd-navy); font-weight: 500; line-height: 1.7;
}

/* Expertise list */
.cd-expertise-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cd-exp-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--cd-bg); border: 1.5px solid var(--cd-border);
  border-radius: 11px; padding: 13px 15px; transition: border-color .2s;
}
.cd-exp-row:hover { border-color: var(--cd-blue); }
.cd-exp-ico {
  width: 32px; height: 32px; background: var(--cd-pale); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--cd-navy);
}
.cd-exp-row span { font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600; color: var(--cd-navy); }

/* Timings table */
.cd-timings { border: 1.5px solid var(--cd-border); border-radius: 13px; overflow: hidden; }
.cd-timing-row {
  display: grid; grid-template-columns: 1fr 1fr auto;
  align-items: center; gap: 16px; padding: 14px 20px;
  border-bottom: 1px solid var(--cd-border); background: #fff;
}
.cd-timing-row:nth-child(even) { background: var(--cd-bg); }
.cd-timing-row:last-child { border-bottom: none; }
.cd-timing-day  { font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600; color: var(--cd-navy); }
.cd-timing-time { font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 700; color: var(--cd-blue); }
.cd-timing-note { font-size: 12px; color: var(--cd-muted); text-align: right; }

/* Details grid */
.cd-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cd-detail-card {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--cd-bg); border: 1.5px solid var(--cd-border);
  border-radius: 12px; padding: 16px;
}
.cd-dc-ico {
  width: 36px; height: 36px; background: var(--cd-pale); border-radius: 9px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--cd-navy);
}
.cd-dc-label {
  font-family: 'Poppins', sans-serif; font-size: 10.5px; font-weight: 700;
  color: var(--cd-muted); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 4px;
}
.cd-dc-value { font-size: 13.5px; color: var(--cd-navy); font-weight: 500; line-height: 1.45; }

/* ════════════════════════════════════════════════════
   SINGLE — SIDEBAR
════════════════════════════════════════════════════ */
.cd-profile-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 24px; }

.cd-sidebar-book-card {
  background: var(--cd-navy); border-radius: 18px; padding: 26px 22px;
}
.cd-sidebar-book-card h3 {
  font-family: 'Poppins', sans-serif; font-size: 17px; font-weight: 800;
  color: #fff; margin-bottom: 6px;
}
.cd-sidebar-book-card p { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 20px; line-height: 1.6; }

.cd-book-btn-full, .cd-call-btn-full {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; font-family: 'Poppins', sans-serif; font-size: 14px;
  padding: 13px; border-radius: 9px; font-weight: 700; cursor: pointer; transition: all .2s;
}
.cd-book-btn-full svg, .cd-call-btn-full svg { width: 14px; height: 14px; flex-shrink: 0; }
.cd-book-btn-full {
  background: var(--cd-blue); color: #fff; border: none; margin-bottom: 10px;
}
.cd-book-btn-full:hover { background: #1a9de0; color: #fff; }
.cd-call-btn-full {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.3); font-weight: 600;
}
.cd-call-btn-full:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

.cd-sidebar-card {
  background: #fff; border: 1.5px solid var(--cd-border); border-radius: 15px; padding: 20px;
}
.cd-sidebar-card h4 {
  font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 700;
  color: var(--cd-navy); margin-bottom: 14px;
}

.cd-sb-schedule-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; padding: 8px 0; border-bottom: 1px solid #f0f5fc;
}
.cd-sb-schedule-row:last-child { border-bottom: none; padding-bottom: 0; }
.cd-sb-schedule-row span { color: var(--cd-muted); }
.cd-sb-schedule-row strong { font-family: 'Poppins', sans-serif; font-size: 12px; color: var(--cd-navy); }

.cd-sb-info-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.cd-sb-info-row:last-child { margin-bottom: 0; }
.cd-sb-ico {
  width: 32px; height: 32px; background: var(--cd-pale); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--cd-navy);
}
.cd-sb-ico svg { width: 14px; height: 14px; }
.cd-sb-label { font-family: 'Poppins', sans-serif; font-size: 10px; font-weight: 700; color: var(--cd-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px; }
.cd-sb-val { font-size: 13px; color: var(--cd-navy); line-height: 1.45; }
.cd-sb-val a { color: var(--cd-blue); font-weight: 600; }

.cd-sb-doctor-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid #f0f5fc;
  transition: opacity .18s;
}
.cd-sb-doctor-row:last-of-type { border-bottom: none; }
.cd-sb-doctor-row:hover { opacity: .75; }
.cd-sb-doc-av {
  width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: top;
  flex-shrink: 0; border: 2px solid var(--cd-border);
}
.cd-sb-doc-name { font-family: 'Poppins', sans-serif; font-size: 12.5px; font-weight: 700; color: var(--cd-navy); margin-bottom: 2px; }
.cd-sb-doc-spec { font-size: 11.5px; color: var(--cd-blue); }

.cd-sb-view-all {
  display: flex; align-items: center; gap: 6px; margin-top: 10px;
  font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 700;
  color: var(--cd-blue);
}
.cd-sb-view-all:hover { text-decoration: underline; }
.cd-sb-view-all svg { width: 13px; height: 13px; }

/* ════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .cd-profile-body-grid { grid-template-columns: 1fr 300px; gap: 36px; }
}

@media (max-width: 960px) {
  /* Archive hero stack */
  .cd-archive-hero-in { grid-template-columns: 1fr; gap: 36px; padding: 52px 0 56px; }
  .cd-archive-h1 { font-size: 32px; }
  .cd-archive-hero-right { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

  /* Profile hero stack */
  .cd-profile-hero-grid { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 48px; }
  .cd-profile-name { font-size: 32px; }
  .cd-profile-photo { height: 300px; }

  /* Profile body: sidebar below */
  .cd-profile-body-grid { grid-template-columns: 1fr; }
  .cd-profile-sidebar { position: static; order: -1; }

  /* Social: show mobile version, hide desktop */
  .cd-social-mobile { display: flex; }
  .cd-social-desktop { display: none; }
}

@media (max-width: 768px) {
  .cd-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .cd-expertise-list { grid-template-columns: 1fr; }
  .cd-details-grid { grid-template-columns: 1fr; }
  .cd-cta-box { flex-direction: column; padding: 32px 20px; text-align: center; gap: 22px; }
  .cd-cta-actions { width: 100%; flex-direction: row; justify-content: center; }
  .cd-archive-stats { flex-wrap: wrap; }
  .cd-astat { flex: 0 0 42%; border-right: none; margin-right: 0; margin-bottom: 14px; }
}

@media (max-width: 560px) {
  .cd-grid { grid-template-columns: 1fr; }
  .cd-archive-h1 { font-size: 26px; }
  .cd-archive-hero-btns { flex-direction: column; }
  .cd-archive-hero-right { grid-template-columns: 1fr; }
  .cd-profile-name { font-size: 26px; }
  .cd-profile-ctas { flex-direction: column; }
  .cd-timing-row { grid-template-columns: 1fr 1fr; }
  .cd-timing-note { display: none; }
  .cd-cta-actions { flex-direction: column; }
  .cd-cta-box { padding: 28px 18px; }
  .cd-cta-text h2 { font-size: 19px; }
  .cd-profile-mini-stats { grid-template-columns: repeat(3,1fr); }
  .cd-filter-tabs { gap: 6px; }
  .cd-ftab { padding: 7px 10px; font-size: 11.5px; }
  .cd-wrap { padding: 0 16px; }
}
