.doctor-profile-page {
  --profile-accent: #087a74;
  --profile-ink: #133a42;
  --profile-background: #f3f8f8;
  --profile-border: #d8e8e8;
  min-width: 0;
  background: var(--profile-background);
  color: var(--profile-ink);
}
body:not(.atakoy) .doctor-profile-page {
  --profile-accent: #086b86;
  --profile-ink: #0c2445;
  --profile-background: #f2f7fa;
  --profile-border: #d5e5ed;
}
.doctor-profile-page a:not(.btn) { color: var(--profile-accent); }
.doctor-profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 33%);
  align-items: center;
  gap: clamp(1rem, 4vw, 3.5rem);
  padding: clamp(1.25rem, 4vw, 3.25rem);
  background: #fff;
  border: 1px solid var(--profile-border);
  border-radius: 1.25rem;
}
.doctor-profile-hero h1 { margin: .6rem 0 0; font-size: clamp(2rem, 5.3vw, 3.65rem); overflow-wrap: anywhere; }
.doctor-profile-specialty { font-weight: 750; }
.doctor-profile-portrait {
  display: grid;
  place-items: center;
  width: 100%;
  height: clamp(12rem, 27vw, 22rem);
  overflow: hidden;
  background: var(--profile-background);
  border-radius: .9rem;
}
.doctor-profile-portrait img { width: 100%; height: 100%; min-height: 0; object-fit: contain; object-position: center; }
.doctor-profile-portrait-placeholder img { height: 45%; width: 45%; }
.doctor-profile-details {
  display: grid;
  grid-template-columns: minmax(10rem, 15rem) minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
  align-items: start;
}
.doctor-profile-navigation {
  display: grid;
  gap: .2rem;
  padding: .75rem;
  background: #fff;
  border: 1px solid var(--profile-border);
  border-radius: .9rem;
}
.doctor-profile-navigation a { padding: .5rem .65rem; border-radius: .45rem; text-decoration: none; font-weight: 650; }
.doctor-profile-navigation a:hover, .doctor-profile-navigation a:focus-visible { background: var(--profile-background); text-decoration: underline; }
.doctor-profile-sections { display: grid; gap: 1rem; min-width: 0; }
.doctor-profile-section {
  padding: clamp(1rem, 3vw, 1.7rem);
  border: 1px solid var(--profile-border);
  border-radius: .9rem;
  background: #fff;
  scroll-margin-top: 8rem;
  overflow-wrap: anywhere;
}
.doctor-profile-section h2 { display: flex; align-items: center; gap: .65rem; margin-bottom: .9rem; font-size: clamp(1.25rem, 3vw, 1.5rem); }
.doctor-profile-section h2 i { color: var(--profile-accent); }
.doctor-profile-records { display: grid; gap: .65rem; margin: 0; padding-inline-start: 1.2rem; }
.doctor-profile-records li::marker { color: var(--profile-accent); }
.doctor-profile-period { display: inline-block; margin-inline-end: .55rem; color: var(--profile-accent); font-weight: 750; }
.doctor-profile-text, .doctor-profile-post p { margin: 0; }
.doctor-profile-posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.doctor-profile-post { padding: 1rem; border: 1px solid var(--profile-border); border-radius: .65rem; background: var(--profile-background); }
.doctor-profile-post h3 { margin: .5rem 0; font-size: 1.075rem; }
.doctor-profile-post-meta { display: flex; flex-wrap: wrap; gap: .3rem .55rem; align-items: center; font-size: .8rem; }
.doctor-profile-post-meta span { padding: .1rem .4rem; border-radius: .3rem; background: #fff; color: var(--profile-accent); font-weight: 700; }
@media (max-width: 767px) {
  .doctor-profile-hero, .doctor-profile-details, .doctor-profile-posts { grid-template-columns: minmax(0, 1fr); }
  .doctor-profile-portrait { grid-row: 1; height: min(58vw, 18rem); }
  .doctor-profile-navigation { display: flex; flex-wrap: wrap; }
}
