/* =====================================================
   Doctor Popup — full-screen
   ===================================================== */
.dp-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 9000;
}
.dp-overlay.active { display: block; }

.dp-modal {
  display: none;
  position: fixed;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 9001;
  scrollbar-width: thin;
  scrollbar-color: #ba9673 #1e314e;
}
.dp-modal.active { display: block; }
.dp-modal::-webkit-scrollbar { width: 6px; }
.dp-modal::-webkit-scrollbar-track { background: #1e314e; }
.dp-modal::-webkit-scrollbar-thumb { background: #ba9673; border-radius: 3px; }

/* ── Close button (sticky, top-right) ── */
.dp-closebar {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 0;
  overflow: visible;
  pointer-events: none;
  display: flex;
  justify-content: flex-end;
}
.dp-close {
  pointer-events: auto;
  width: 3rem;
  height: 3rem;
  margin: 1.5rem 2rem 0 0;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, .85);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s;
}
.dp-close:hover { color: #fff; }

/* ── body wrapper (fills full modal height) ── */
.dp-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── TOP (navy, full-width) ── */
.dp-top {
  background: #1e314e;
}
.dp-top__inner {
  max-width: 87.5rem; /* 1400px */
  margin: 0 auto;
  padding: 4.25rem 2rem 0 1rem;
  display: flex;
  min-height: 42rem;
}

.dp-top__img {
  flex: 0 0 40%;
  position: relative;
}
.dp-top__img img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  /*width: 26.75rem;*/
  /*height: 46.75rem;*/
  object-fit: cover;
  object-position: top center;
}

.dp-top__info {
  flex: 1;
  padding: 4.5rem 3rem 3rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* name block */
.dp-name {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.375rem 0.875rem;
}
.dp-name__nm {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
}
.dp-name__pos {
  font-size: 3rem;
  font-weight: 400;
  color: rgba(255,255,255,.7);
}
.dp-name__part {
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
  display: inline-flex;
  align-items: center;
	margin-left: 0.825rem;
}
.dp-name__part .part-sep {
	font-size: 1rem;
	margin: 0 1.25rem;
	font-weight: normal;
}

/* specialty */
.dp-special {
  background: #354660;
  border-radius: 3.75rem;
  min-height: 3.75rem;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.dp-special__label {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.dp-special__div {
  font-size: 1.25rem;
  color: rgba(255,255,255,.5);
  flex-shrink: 0;
}
.dp-special__text {
  font-size: 1.25rem;
  color: #fff;
}

/* schedule */
.dp-sch-wrap { overflow-x: auto; }
.dp-sch {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.dp-sch th,
.dp-sch td {
  text-align: center;
  vertical-align: middle;
  padding: 0 .25rem;
}
.dp-sch thead th {
  background: #ba9673;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  padding: .625rem .25rem;
}
.dp-sch thead th:first-child { border-radius: 1.25rem 0 0 1.25rem; }
.dp-sch thead th:last-child  { border-radius: 0 1.25rem 1.25rem 0; }
.dp-sch th:first-child,
.dp-sch td:first-child {
  font-size: 1rem;
  width: 3.5rem;
}
.dp-sch td:first-child {
  color: rgba(255,255,255,.65);
  font-weight: 500;
}
.dp-sch tbody tr {
  height: 6rem;
  border-bottom: 1px solid #e0e0e0;
}

/* cell types */
.dp-cell { font-size: 1.25rem; display: inline-block; }
.dp-cell--a { color: #fff; }
.dp-cell--b { color: #b4b4b4; }
.dp-cell--c {
  color: #b78a3f;
  white-space: nowrap;
}
.dp-cell--d {
  background: #9e9e9e;
  color: #fff;
  font-size: 1rem;
  border-radius: 2rem;
  padding: 1.5rem 1rem;
  white-space: nowrap;
}
.dp-cell--empty { color: rgba(255,255,255,.2); }

/* note */
.dp-note {
  font-size: 1.25rem;
  color: #fff;
}
.dp-note span { color: rgba(255,255,255,.8); }

/* ── BOTTOM (white, full-width) ── */
.dp-bottom {
  background: #fff;
  position: relative;
  z-index: 1;
  flex: 1;
}
.dp-bottom__inner {
  max-width: 87.5rem; /* 1400px */
  margin: 0 auto;
  padding: 4rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem 4rem;
}

.dp-career {
  flex: 1 1 calc(50% - 2rem);
  min-width: 16rem;
}
.dp-career--full { flex: 1 1 100%; }

.dp-career__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ba9673;
  margin-bottom: 1.25rem;
  padding-bottom: .875rem;
  border-bottom: 1px solid #e0e0e0;
}
.dp-career__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dp-career__list li {
  font-size: 1.25rem;
  color: #222222;
  padding: .2rem 0 .2rem 1rem;
  position: relative;
}
.dp-career__list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: #ba9673;
  font-weight: 700;
}

/* ── Responsive: tablet ── */
@media (max-width: 56.25rem) {
  .dp-top__img img {
    /*width: 19rem;*/
    /*height: 33.25rem;*/
  }
  .dp-name__nm, .dp-name__pos { font-size: 2.4rem; }
  .dp-name__part { font-size: 1rem; }
  .dp-special__label,
  .dp-special__div,
  .dp-special__text { font-size: 1rem; }
  .dp-sch thead th { font-size: 1rem; padding: 1.5rem .25rem; }
  .dp-sch th:first-child,
  .dp-sch td:first-child { font-size: 0.8rem; }
  .dp-cell { font-size: 1rem; }
  .dp-cell--c, .dp-cell--d { font-size: 0.8rem; }
  .dp-note { font-size: 1rem; }
  .dp-career__title { font-size: 1.2rem; }
  .dp-career__list li { font-size: 1rem; }
}

/* ── Responsive: mobile ── */
@media (max-width: 48rem) {
  .dp-top__inner {
    flex-direction: column;
    padding: 0;
  }
  .dp-top__img {
    flex: 0 0 auto;
    height: 25.375rem;
  }
  .dp-top__img img {
		width: 100%;
		max-width: 240px;
  }
  .dp-top__info {
    position: relative;
    z-index: 1;
    background: #1e314e;
    padding: 2.5rem 1.5rem 2rem;
    gap: 1.25rem;
  }
  .dp-name__nm, .dp-name__pos { font-size: 2.1rem; }
  .dp-name__part { font-size: 0.875rem; }
  .dp-special__label,
  .dp-special__div,
  .dp-special__text { font-size: 0.875rem; }
  .dp-sch thead th { font-size: 0.875rem; }
  .dp-sch th:first-child,
  .dp-sch td:first-child { font-size: 0.7rem; }
  .dp-cell { font-size: 0.875rem; }
  .dp-cell--c, .dp-cell--d { font-size: 0.7rem; }
  .dp-note { font-size: 0.875rem; }
  .dp-career__title { font-size: 1.05rem; }
  .dp-career__list li { font-size: 0.875rem; }
  .dp-close { color: rgba(255,255,255,.85); }
  .dp-bottom__inner {
    padding: 2.5rem 1.5rem;
    gap: 2rem;
  }
  .dp-career { flex: 1 1 100%; }
}
