/* صفحة الدكتورة وعد القاسم */
:root {
  --dr-accent: #C45B8C;
  --dr-accent-rgb: 196, 91, 140;
  --dr-accent-soft: rgba(196, 91, 140, 0.1);
  --dr-hero-bg: #EAF3FB;
}

[data-theme="dark"] {
  --dr-accent: #E089B0;
  --dr-accent-soft: rgba(224, 137, 176, 0.14);
  --dr-hero-bg: #0C2238;
}

.dr-page {
  --dr-page-pad: clamp(1.5rem, 4vw, 2.75rem);
}

.dr-page .page-header {
  padding-bottom: 0.75rem;
  background: transparent;
  border: none;
}

.dr-page .page-header .lead {
  display: none;
}

.dr-page .page-header h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ── Hero ── */
.dr-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(var(--primary-rgb), 0.08), transparent 42%),
    radial-gradient(circle at 88% 30%, rgba(var(--dr-accent-rgb), 0.1), transparent 40%),
    linear-gradient(165deg, var(--dr-hero-bg) 0%, var(--background) 55%, var(--surface) 100%);
  border-block: 1px solid var(--border);
  padding: clamp(1.75rem, 4vw, 3rem) 0 clamp(2rem, 5vw, 3.25rem);
}

.dr-hero::before,
.dr-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.45;
}

.dr-hero::before {
  width: 280px;
  height: 280px;
  left: -60px;
  top: 40px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.12), transparent 70%);
}

.dr-hero::after {
  width: 220px;
  height: 220px;
  right: 8%;
  bottom: -40px;
  background: radial-gradient(circle, rgba(var(--dr-accent-rgb), 0.12), transparent 70%);
}

.dr-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.dr-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.dr-hero__badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.dr-hero__name {
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  color: var(--primary);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.dr-hero__specialty {
  color: var(--dr-accent);
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.dr-hero__role {
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1.15rem;
}

.dr-hero__intro {
  position: relative;
  padding-inline-start: 1.35rem;
  margin-bottom: 1.35rem;
  color: var(--text);
  max-width: 42rem;
}

.dr-hero__intro::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dr-accent);
  box-shadow: 0 0 0 4px var(--dr-accent-soft);
}

.dr-hero__highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.dr-highlight {
  text-align: center;
  padding: 0.55rem 0.35rem;
}

.dr-highlight__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.55rem;
  display: grid;
  place-items: center;
  color: var(--dr-accent);
  background: var(--dr-accent-soft);
  border-radius: 14px;
}

.dr-highlight__icon svg {
  width: 24px;
  height: 24px;
}

.dr-highlight__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
}

.dr-meta-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.dr-meta-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.dr-meta-card__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
}

.dr-meta-card__icon svg {
  width: 18px;
  height: 18px;
}

.dr-meta-card__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.15rem;
}

.dr-meta-card__value {
  display: block;
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.5;
}

.dr-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 340px;
}

.dr-hero__glow {
  position: absolute;
  width: min(92%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.75), transparent 62%),
    radial-gradient(circle at 50% 50%, rgba(var(--primary-rgb), 0.16), transparent 70%);
  top: 8%;
}

.dr-hero__photo-wrap {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
}

.dr-hero__photo {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  object-position: center top;
  border-radius: 28px 28px 18px 18px;
  background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.08), rgba(var(--primary-rgb), 0.02));
}

.dr-hero__photo-placeholder {
  display: none;
  aspect-ratio: 3 / 4;
  border-radius: 28px 28px 18px 18px;
  background:
    linear-gradient(165deg, rgba(var(--primary-rgb), 0.12), rgba(var(--dr-accent-rgb), 0.08)),
    var(--surface);
  border: 1px dashed rgba(var(--primary-rgb), 0.25);
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--text-light);
  font-size: 0.92rem;
  font-weight: 600;
}

.dr-hero__photo-wrap.is-placeholder .dr-hero__photo {
  display: none;
}

.dr-hero__photo-wrap.is-placeholder .dr-hero__photo-placeholder {
  display: grid;
}

.dr-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.dr-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none !important;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.dr-cta svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.dr-cta--ig {
  color: #fff !important;
  background: linear-gradient(120deg, #C45B8C 0%, #9B4B8C 55%, #6B4E9B 100%);
  box-shadow: 0 8px 20px rgba(var(--dr-accent-rgb), 0.28);
}

.dr-cta--ig:hover {
  transform: translateY(-2px);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(var(--dr-accent-rgb), 0.35);
}

.dr-cta--contact {
  color: #fff !important;
  background: var(--primary);
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.22);
}

.dr-cta--contact:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
  color: #fff !important;
}

.dr-cta__sub {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.92;
  line-height: 1.2;
}

.dr-cta__stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}

/* ── Body content ── */
.dr-body {
  padding: clamp(2rem, 5vw, 3.25rem) 0 3.5rem;
}

.dr-section {
  margin-bottom: 2.25rem;
}

.dr-section h2 {
  margin-bottom: 0.9rem;
}

.dr-checklist {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 1.25rem;
}

.dr-checklist li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 1rem;
  padding-inline-start: 2.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.dr-checklist li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0.95rem;
  top: 1.05rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 0 4px rgba(var(--secondary-rgb), 0.15);
}

.dr-subblock {
  margin: 1.25rem 0;
  padding: 1.1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.dr-subblock h3 {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.dr-subblock ul {
  margin: 0;
  padding-inline-start: 1.25rem;
}

.dr-subblock li {
  margin-bottom: 0.35rem;
}

.dr-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.dr-link-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--primary) !important;
  font-weight: 700;
  font-size: 0.9rem;
}

.dr-link-chip:hover {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.06);
}

.dr-reviewed {
  margin: 2rem 0;
  padding: 1.35rem 1.25rem;
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(var(--primary-rgb), 0.06), transparent 55%),
    var(--surface);
  border: 1px solid var(--border);
}

.dr-reviewed__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.dr-reviewed__head h2 {
  margin: 0;
}

.dr-reviewed__count {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(var(--secondary-rgb), 0.12);
  color: var(--secondary-dark);
  font-size: 0.86rem;
  font-weight: 700;
}

[data-theme="dark"] .dr-reviewed__count {
  color: var(--medical-teal);
}

.dr-reviewed__list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}

.dr-reviewed__item a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--background);
  border: 1px solid var(--border);
  color: var(--text) !important;
  font-weight: 600;
  transition: border-color var(--transition), transform var(--transition);
}

.dr-reviewed__item a:hover {
  border-color: rgba(var(--primary-rgb), 0.35);
  transform: translateY(-1px);
  color: var(--primary) !important;
}

.dr-reviewed__date {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-light);
}

.dr-reviewed__empty {
  color: var(--text-light);
  margin: 0;
}

.dr-bottom-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.dr-notice {
  margin-top: 0.5rem;
}

@media (max-width: 960px) {
  .dr-hero__grid {
    grid-template-columns: 1fr;
  }

  .dr-hero__visual {
    order: -1;
    min-height: 0;
  }

  .dr-hero__photo-wrap {
    width: min(100%, 300px);
  }

  .dr-hero__highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .dr-meta-cards {
    grid-template-columns: 1fr;
  }

  .dr-hero__highlights {
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
  }

  .dr-cta {
    width: 100%;
  }

  .dr-cta__stack {
    align-items: center;
    text-align: center;
  }
}
