/* ============================================================
   EthosMedi — Doctor Detail Page CSS
   ============================================================ */

/* ============================================================
   BREADCRUMB
   ============================================================ */
.dd-breadcrumb-wrap {
  background: #ffffff;
  padding: 14px 0;
  border-bottom: 1px solid var(--cp-border, #e5e7eb);
}
.dd-breadcrumb {
  font-size: 13px;
}
.dd-breadcrumb .breadcrumb-item a {
  color: var(--cp-muted, #6b7280);
  text-decoration: none;
  transition: color 0.2s;
}
.dd-breadcrumb .breadcrumb-item a:hover { color: var(--cp-red, #1B4DB8); }
.dd-breadcrumb .breadcrumb-item.active { color: var(--cp-teal, #1B4DB8); font-weight: 600; }
.dd-breadcrumb .breadcrumb-item + .breadcrumb-item::before { content: '›'; color: var(--cp-muted); }

/* ============================================================
   DOCTOR PROFILE CARD
   ============================================================ */
.dd-profile-wrap {
  background: #ffffff;
  padding: 28px 0 36px;
}

.dd-profile-card {
  display: flex;
  gap: 32px;
  background: var(--cp-bg, #F0FBF9);
  border-radius: 20px;
  padding: 28px 32px;
  border: 1px solid var(--cp-border, #e5e7eb);
  align-items: flex-start;
}

/* Profile image */
.dd-profile-img-wrap {
  flex: 0 0 220px;
  height: 260px;
  border-radius: 16px;
  overflow: hidden;
  background: #e8f4f8;
  flex-shrink: 0;
}

.dd-profile-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Profile info */
.dd-profile-info {
  flex: 1;
  min-width: 0;
}

.dd-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.dd-name {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--cp-text, #1a1a2e);
  margin: 0;
}

.dd-verified {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.dd-specialty-title {
  font-size: 15px;
  color: var(--cp-muted, #6b7280);
  font-weight: 500;
  margin-bottom: 14px;
}

/* Dept tags */
.dd-dept-tag {
  display: inline-block;
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
}

.dd-tag-green {
  background: var(--cp-blue-lt, #E8EEFB);
  color: var(--cp-blue-dk, #00796B);
  border: 1px solid var(--cp-blue-lt, #E8EEFB);
}

.dd-tag-pink {
  background: var(--cp-red-lt, #FDECEA);
  color: var(--cp-red, #C0392B);
  border: 1px solid var(--cp-red-lt, #FDECEA);
}

/* Stats row */
.dd-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--cp-border);
  border-bottom: 1px solid var(--cp-border);
}

.dd-stat {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--cp-muted);
}

.dd-stat i {
  color: var(--cp-red, #1B4DB8);
  font-size: 14px;
}

.dd-bio {
  font-size: 14px;
  color: var(--cp-muted, #6b7280);
  line-height: 1.75;
  margin-bottom: 0;
}

/* Profile action buttons */
.dd-btn-book {
  background: var(--cp-teal, #1B4DB8) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 100px !important;
  padding: 11px 22px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: all 0.25s !important;
  box-shadow: 0 4px 14px rgba(0, 150, 136, 0.25) !important;
}

.dd-btn-book:hover {
  background: var(--cp-teal-dk, #153A8E) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 150, 136, 0.35) !important;
}

.dd-btn-whatsapp {
  background: transparent !important;
  color: #25D366 !important;
  border: 1.5px solid #25D366 !important;
  border-radius: 100px !important;
  padding: 11px 22px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s !important;
}

.dd-btn-whatsapp:hover {
  background: #25D366 !important;
  color: #ffffff !important;
}

/* ============================================================
   TAB NAVIGATION
   ============================================================ */
.dd-tabs-wrap {
  background: #ffffff;
  border-bottom: 2px solid var(--cp-border, #e5e7eb);
  z-index: 100;
  top: 64px;
  /* below fixed navbar */
}

.dd-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.dd-tabs::-webkit-scrollbar {
  display: none;
}

.dd-tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 16px 22px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--cp-muted, #6b7280);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.dd-tab:hover {
  color: var(--cp-teal, #1B4DB8);
}

.dd-tab.active {
  color: var(--cp-teal, #1B4DB8);
  font-weight: 700;
  border-bottom-color: var(--cp-teal, #1B4DB8);
}

/* ============================================================
   MAIN CONTENT SECTION
   ============================================================ */
.dd-content-section {
  background: #ffffff;
  padding: 32px 0 60px;
}

/* Content card (white card with border) */
.dd-content-card {
  background: #ffffff;
  border: 1px solid var(--cp-border, #e5e7eb);
  border-radius: 16px;
  padding: 32px 32px;
}

.dd-content-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--cp-text, #1a1a2e);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cp-border);
}

/* Section blocks inside content */
.dd-section-block {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--cp-border, #e5e7eb);
}

.dd-section-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.dd-block-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--cp-text, #1a1a2e);
  margin-bottom: 8px;
}

.dd-block-text {
  font-size: 14px;
  color: var(--cp-muted, #6b7280);
  line-height: 1.8;
  margin-bottom: 12px;
}

.dd-block-text:last-child {
  margin-bottom: 0;
}

/* Bullet list */
.dd-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.dd-bullet-list li {
  font-size: 14px;
  color: var(--cp-muted, #6b7280);
  padding: 4px 0 4px 20px;
  position: relative;
  line-height: 1.6;
}

.dd-bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--cp-red, #1B4DB8);
  border-radius: 50%;
}

.dd-bullet-dot li::before {
  content: '•';
  background: none;
  color: var(--cp-dark);
  font-size: 16px;
  top: 2px;
}

/* Quote block */
.dd-quote-block {
  background: var(--cp-blue-bg, #F0F4FF);
  border-left: 3px solid var(--cp-teal, #1B4DB8);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--cp-muted, #6b7280);
  font-style: italic;
  margin-top: 14px;
  line-height: 1.65;
}

/* Operating hours table */
.dd-hours-table {
  border: 1px solid var(--cp-border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 12px;
}

.dd-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  font-size: 14px;
}

.dd-hours-row:not(:last-child) {
  border-bottom: 1px solid var(--cp-border);
}

.dd-hours-row:nth-child(odd) {
  background: var(--cp-bg, #F0FBF9);
}

.dd-day {
  font-weight: 600;
  color: var(--cp-text);
}

.dd-time {
  color: var(--cp-muted);
}

.dd-closed {
  color: #e0596a;
  font-weight: 600;
}

/* Info list (qualifications) */
.dd-info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dd-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--cp-muted, #6b7280);
  line-height: 1.6;
}

.dd-info-icon {
  color: var(--cp-teal, #1B4DB8);
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Timeline (work experience) */
.dd-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.dd-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--cp-border);
}

.dd-timeline-item {
  display: flex;
  gap: 18px;
  padding-bottom: 20px;
  position: relative;
}

.dd-timeline-item:last-child {
  padding-bottom: 0;
}

.dd-tl-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cp-teal, #1B4DB8);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px var(--cp-teal, #1B4DB8);
  flex-shrink: 0;
  margin-top: 4px;
}

.dd-tl-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--cp-text);
  margin-bottom: 2px;
}

.dd-tl-org {
  font-size: 13px;
  color: var(--cp-muted);
  margin-bottom: 2px;
}

.dd-tl-year {
  font-size: 12px;
  color: var(--cp-red, #1B4DB8);
  font-weight: 600;
}

/* ============================================================
   STICKY MINI CARD (scroll-triggered)
   ============================================================ */
.dd-sticky-mini-card {
  position: sticky;
  top: 110px;
  z-index: 90;
  background: linear-gradient(135deg, var(--cp-teal, #1B4DB8) 0%, var(--cp-blue-dk, #00796B) 100%);
  border-radius: 14px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 32px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}

.dd-sticky-mini-card.dd-mini-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.dd-mini-card-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dd-mini-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.dd-mini-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.dd-mini-spec {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.dd-mini-book {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 100px !important;
  padding: 9px 18px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  white-space: nowrap;
  transition: background 0.2s !important;
}

.dd-mini-book:hover {
  background: rgba(255, 255, 255, 0.22) !important;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.dd-sidebar-sticky {
  position: sticky;
  top: 110px;
}

/* Enquiry form card */
.dd-enquiry-card {
  background: linear-gradient(160deg, #004D40 0%, #009688 50%, #1B4DB8 100%);
  border-radius: 16px;
  padding: 28px 24px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.dd-enquiry-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.dd-form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 10px !important;
  padding: 11px 14px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 13px !important;
  color: #ffffff !important;
  transition: border-color 0.2s, background 0.2s !important;
  outline: none !important;
  box-shadow: none !important;
}

.dd-form-input:focus {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  box-shadow: none !important;
}

.dd-form-input::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}

.dd-form-input option {
  background: var(--cp-dark);
  color: #ffffff;
}

.dd-phone-row {
  display: flex;
  gap: 8px;
}

.dd-country-sel {
  flex: 0 0 90px !important;
  cursor: pointer;
}

.dd-form-textarea {
  resize: vertical;
  min-height: 100px;
}

.dd-enquiry-submit {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 10px !important;
  padding: 13px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px !important;
  transition: all 0.2s !important;
}

.dd-enquiry-submit:hover {
  background: rgba(255, 255, 255, 0.25) !important;
}

.dd-enquiry-success {
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

/* Sidebar info card */
.dd-info-sidebar {
  background: #ffffff;
  border: 1px solid var(--cp-border);
  border-radius: 16px;
  padding: 20px 20px;
}

.dd-sidebar-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
}

.dd-sidebar-item:not(:last-child) {
  border-bottom: 1px solid var(--cp-border);
}

.dd-si-icon {
  width: 36px;
  height: 36px;
  background: var(--cp-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cp-dark);
  font-size: 14px;
  flex-shrink: 0;
}

.dd-si-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--cp-muted);
  margin-bottom: 3px;
}

.dd-si-value {
  font-size: 13px;
  font-weight: 500;
  color: var(--cp-text);
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   PROCEDURES CARDS (tab)
   ============================================================ */
.dd-proc-card {
  background: var(--cp-bg, #F0FBF9);
  border: 1px solid var(--cp-border);
  border-radius: 14px;
  padding: 22px 20px;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.dd-proc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(78, 68, 69, 0.09);
}

.dd-proc-icon {
  width: 44px;
  height: 44px;
  background: var(--cp-teal, #1B4DB8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 14px;
}

.dd-proc-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--cp-text);
  margin-bottom: 8px;
}

.dd-proc-desc {
  font-size: 13px;
  color: var(--cp-muted);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   TELEMEDICINE TAB
   ============================================================ */
.dd-tele-hero {
  text-align: center;
  padding: 24px 0 8px;
}

.dd-tele-icon {
  width: 72px;
  height: 72px;
  background: var(--cp-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--cp-dark);
  margin: 0 auto 18px;
}

.dd-tele-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--cp-text);
  margin-bottom: 10px;
}

.dd-tele-desc {
  font-size: 14px;
  color: var(--cp-muted);
  line-height: 1.75;
  max-width: 420px;
  margin: 0 auto;
}

/* ============================================================
   TESTIMONIALS CAROUSEL
   ============================================================ */
.dd-testi-carousel {
  width: 100%;
  overflow: hidden;
  /* Hide scrollbar, use JS to scroll */
}

.dd-testi-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
  padding-bottom: 8px;
  /* Room for shadow */
}

.dd-testi-track::-webkit-scrollbar {
  display: none;
}

.dd-testi-item {
  flex: 0 0 calc(33.333% - 16px);
  /* Show 3 items at a time on desktop */
  scroll-snap-align: start;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
  .dd-profile-card {
    flex-direction: row;
    gap: 20px;
    padding: 20px;
  }

  .dd-profile-img-wrap {
    flex: 0 0 160px;
    height: 200px;
  }

  .dd-sidebar-sticky {
    position: static;
  }

  .dd-sticky-mini-card {
    display: none;
  }

  .dd-content-card {
    padding: 24px 20px;
  }

  .dd-testi-item {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 767.98px) {
  .dd-profile-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .dd-profile-img-wrap {
    flex: none;
    width: 100%;
    max-width: 280px;
    height: 260px;
  }

  .dd-stats-row {
    justify-content: center;
  }

  .dd-name-row {
    justify-content: center;
  }

  .d-flex.flex-wrap.gap-3.mt-3 {
    justify-content: center;
  }

  .dd-tabs-wrap {
    top: 60px;
  }

  .dd-tab {
    padding: 14px 16px;
    font-size: 13px;
  }

  .dd-hours-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .dd-content-card {
    padding: 20px 16px;
  }

  .dd-testi-item {
    flex: 0 0 100%;
  }
}

/* ============================================================
   CTA CARD
   ============================================================ */
.dr-cta-card {
  background: linear-gradient(135deg, #004D40 0%, #009688 55%, #009688 100%);
  border-radius: 24px;
  padding: 52px;
  color: #ffffff;
  overflow: hidden;
  position: relative;
}

.dr-cta-card::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.dr-cta-title {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
}

.dr-cta-desc {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.75;
  max-width: 380px;
  font-family: 'Poppins', sans-serif;
}

.dr-cta-btn {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 100px;
  padding: 11px 26px !important;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
  display: inline-block;
  text-decoration: none;
}

.dr-cta-btn:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}

.dr-cta-img {
  border-radius: 14px;
  max-height: 280px;
  object-fit: cover;
}

@media (max-width: 991.98px) {
  .dr-cta-card {
    padding: 40px 36px;
  }
}

@media (max-width: 767.98px) {
  .dr-cta-card {
    padding: 30px 20px;
  }

  .dr-cta-img {
    max-height: 220px;
  }
}

/* ============================================================
   RICH CONTENT & SPECIALTY DESCRIPTION STYLING
   ============================================================ */
.rich-content,
.specialty-description-content {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #374151;
}

.rich-content p,
.specialty-description-content p {
  margin-bottom: 1.1rem;
  color: #4b5563;
}

.rich-content p:last-child,
.specialty-description-content p:last-child {
  margin-bottom: 0;
}

.rich-content h1,
.specialty-description-content h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.rich-content h2,
.specialty-description-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1f2937;
  margin-top: 1.35rem;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.rich-content h3,
.specialty-description-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1f2937;
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.rich-content h4,
.specialty-description-content h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #374151;
  margin-top: 1rem;
  margin-bottom: 0.45rem;
  line-height: 1.45;
}

.rich-content strong,
.rich-content b,
.specialty-description-content strong,
.specialty-description-content b {
  font-weight: 700;
  color: #111827;
}

.rich-content em,
.rich-content i,
.specialty-description-content em,
.specialty-description-content i {
  font-style: italic;
}

.rich-content u,
.specialty-description-content u {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rich-content s,
.rich-content del,
.rich-content strike,
.specialty-description-content s,
.specialty-description-content del,
.specialty-description-content strike {
  text-decoration: line-through;
}

.rich-content ul,
.specialty-description-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 1.1rem;
}

.rich-content ol,
.specialty-description-content ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 1.1rem;
}

.rich-content li,
.specialty-description-content li {
  margin-bottom: 0.4rem;
  line-height: 1.7;
}

.rich-content blockquote,
.specialty-description-content blockquote {
  border-left: 4px solid var(--cp-teal, #009688);
  background-color: #f8fafc;
  padding: 12px 18px;
  margin: 1.2rem 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #4b5563;
}

.rich-content a,
.specialty-description-content a {
  color: var(--cp-teal, #009688);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.rich-content a:hover,
.specialty-description-content a:hover {
  color: #00796b;
}

.rich-content hr,
.specialty-description-content hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 1.75rem 0;
}

.rich-content code,
.specialty-description-content code {
  background: #f1f5f9;
  color: #d97706;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88em;
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.rich-content pre,
.specialty-description-content pre {
  background: #1e293b;
  color: #f8fafc;
  padding: 14px 18px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.88rem;
  margin: 1.2rem 0;
}

/* ============================================================
   SPECIALTY PROFILE (Completely Flat & Blended with Page)
   ============================================================ */
.sp-hero-profile {
  background: transparent;
  padding: 0;
}

.sp-profile-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.dd-profile-img-wrap.sp-profile-img-wrap {
  background: transparent !important;
}