/***
=============================================
Doctors Page
=============================================
***/
.doctors-page-template .page-wrapper {
  overflow: visible;
}

.doctors-page-template {
  overflow-x: clip;
}

.doctors-hero::before {
  background: url("../images/doctors/d3.png") center 18% / cover no-repeat;
  opacity: 0.16;
}

.doctors-hero::after {
  background:
    radial-gradient(circle at 18% 20%, rgba(var(--mediplace-base-rgb), 0.34), transparent 30%),
    linear-gradient(135deg, rgba(12, 35, 64, 0.96) 0%, rgba(13, 58, 92, 0.83) 52%, rgba(12, 35, 64, 0.94) 100%);
}

.doctors-directory {
  background:
    radial-gradient(circle at 95% 7%, rgba(var(--mediplace-base-rgb), 0.1), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f3fbfe 48%, #ffffff 100%);
}

.doctors-directory .hospitals-directory__summary strong {
  color: #20a7c9;
}

.doctors-experience-filter label {
  color: rgba(255, 255, 255, 0.84);
}

.doctors-callback-card {
  background:
    radial-gradient(circle at 84% 10%, rgba(255, 255, 255, 0.2), transparent 32%),
    linear-gradient(160deg, #20a7c9 0%, #0c2340 78%);
}

.doctors-list {
  gap: 16px;
}

.doctor-result-card {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(var(--mediplace-base-rgb), 0.12);
  border-radius: 26px;
  box-shadow: 0 18px 52px rgba(12, 35, 64, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(12, 35, 64, 0.13);
}

.doctor-result-card.is-hidden {
  display: none;
}

.doctor-result-card__media {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  background: linear-gradient(180deg, #eaf8fc 0%, #ffffff 100%);
}

.doctor-result-card__media img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.55s ease;
}

.doctor-result-card:hover .doctor-result-card__media img {
  transform: scale(1.05);
}

.doctor-result-card__media span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  justify-content: center;
  padding: 8px 12px;
  color: var(--mediplace-white);
  background: rgba(12, 35, 64, 0.82);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
}

.doctor-result-card__body {
  padding: 22px;
}

.doctor-result-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.doctor-result-card__top p {
  margin: 0 0 6px;
  color: var(--mediplace-base);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.doctor-result-card__top h3 {
  margin: 0;
  color: var(--mediplace-black);
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 900;
}

.doctor-result-card__top strong {
  min-width: 78px;
  padding: 9px 10px;
  color: var(--mediplace-black);
  background: #effaff;
  border: 1px solid rgba(var(--mediplace-base-rgb), 0.12);
  border-radius: 16px;
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
  text-align: center;
}

.doctor-result-card__degree {
  margin: 0 0 12px;
  color: rgba(var(--mediplace-black-rgb), 0.64);
  font-size: 14px;
  line-height: 22px;
  font-weight: 800;
}

.doctor-result-card__hospital {
  display: flex;
  gap: 8px;
  margin: 0 0 16px;
  color: rgba(var(--mediplace-black-rgb), 0.62);
  font-size: 14px;
  line-height: 23px;
}

.doctor-result-card__hospital i {
  margin-top: 4px;
  color: var(--mediplace-base);
}

.doctor-result-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.doctor-result-card__tags span {
  padding: 6px 10px;
  color: var(--mediplace-base);
  background: rgba(var(--mediplace-base-rgb), 0.09);
  border: 1px solid rgba(var(--mediplace-base-rgb), 0.13);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.doctor-result-card__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.doctors-pathway {
  background:
    radial-gradient(circle at 10% 12%, rgba(var(--mediplace-base-rgb), 0.12), transparent 30%),
    #f3fbfe;
}

.doctors-pathway .hospitals-pathway__step span {
  background: #20a7c9;
}

.doctors-cta .hospitals-cta__inner {
  background:
    radial-gradient(circle at 90% 15%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(135deg, #20a7c9 0%, #0c2340 100%);
}

@media (max-width: 1199px) {
  .doctor-result-card {
    grid-template-columns: 185px minmax(0, 1fr);
  }

  .doctor-result-card__media,
  .doctor-result-card__media img {
    min-height: 255px;
  }
}

@media (max-width: 767px) {
  .doctor-result-card {
    grid-template-columns: 1fr;
  }

  .doctor-result-card__media,
  .doctor-result-card__media img {
    min-height: 280px;
  }

  .doctor-result-card__body {
    padding: 18px;
  }

  .doctor-result-card__top {
    flex-direction: column;
    gap: 10px;
  }

  .doctor-result-card__top h3 {
    font-size: 22px;
  }
}

@media (max-width: 575px) {
  .doctor-result-card__actions .thm-btn,
  .doctor-result-card__actions .hospital-result-card__link {
    width: 100%;
  }

  .doctor-result-card__media,
  .doctor-result-card__media img {
    min-height: 250px;
  }
}

/***
=============================================
Doctor Detail Page
=============================================
***/
.doctor-detail-template {
  overflow-x: clip;
}

.doctor-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 56px;
  color: var(--mediplace-white);
  background: #0c2340;
  z-index: 1;
}

.doctor-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/doctors/d1.png") right 18% top 10% / auto 92% no-repeat;
  opacity: 0.1;
  z-index: -2;
}

.doctor-detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(var(--mediplace-base-rgb), 0.34), transparent 30%),
    linear-gradient(135deg, rgba(12, 35, 64, 0.97) 0%, rgba(13, 58, 92, 0.86) 58%, rgba(12, 35, 64, 0.95) 100%);
  z-index: -1;
}

.doctor-detail-hero .hospitals-hero__breadcrumb {
  justify-content: flex-start;
  margin-bottom: 24px;
}

.doctor-detail-hero__inner {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.doctor-detail-hero__image {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.doctor-detail-hero__image img {
  width: 100%;
  height: 310px;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.doctor-detail-hero__content h1 {
  margin: 0 0 12px;
  color: var(--mediplace-white);
  font-size: clamp(34px, 3.5vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.doctor-detail-hero__content > p:not(.hospitals-page__eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 25px;
  font-weight: 800;
}

.doctor-detail-hero .hospitals-page__eyebrow {
  color: var(--mediplace-white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
}

.doctor-detail-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}

.doctor-detail-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--mediplace-white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.doctor-detail-hero__meta i {
  color: var(--mediplace-base);
}

.doctor-detail-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.doctor-detail-stats div {
  position: relative;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 18px 18px 66px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
}

.doctor-detail-stats i {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mediplace-white);
  background: var(--mediplace-base);
  border-radius: 12px;
  font-size: 15px;
  transform: translateY(-50%);
}

.doctor-detail-stats span {
  display: block;
  margin-bottom: 8px;
  color: rgba(var(--mediplace-black-rgb), 0.58);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.doctor-detail-stats strong {
  color: var(--mediplace-black);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
}

.doctor-detail-main {
  padding: 80px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f4fbfe 48%, #ffffff 100%);
}

.doctor-detail-section {
  scroll-margin-top: 125px;
}

.doctor-detail-note {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding: 16px;
  color: var(--mediplace-black);
  background: #f3fbfe;
  border: 1px solid rgba(var(--mediplace-base-rgb), 0.12);
  border-radius: 18px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 800;
}

.doctor-detail-note i {
  color: var(--mediplace-base);
  margin-top: 4px;
}

.doctor-detail-interest {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.doctor-detail-interest div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  color: var(--mediplace-base);
  background: rgba(var(--mediplace-base-rgb), 0.08);
  border: 1px solid rgba(var(--mediplace-base-rgb), 0.13);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 900;
}

.doctor-detail-interest i {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  color: var(--mediplace-white);
  background: var(--mediplace-base);
  border-radius: 50%;
  font-size: 13px;
}

.doctor-detail-similar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.doctor-detail-similar article,
.doctor-detail-blog {
  padding: 20px;
  background: #f4fbfe;
  border: 1px solid rgba(var(--mediplace-base-rgb), 0.1);
  border-radius: 22px;
}

.doctor-detail-similar img {
  width: 86px;
  height: 86px;
  display: block;
  margin-bottom: 14px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
}

.doctor-detail-similar h3,
.doctor-detail-blog h3 {
  margin-bottom: 8px;
  color: var(--mediplace-black);
  font-size: 17px;
  font-weight: 900;
}

.doctor-detail-similar p {
  color: rgba(var(--mediplace-black-rgb), 0.62);
  font-size: 13px;
  line-height: 22px;
}

.doctor-detail-similar a,
.doctor-detail-blog a {
  color: var(--mediplace-base);
  font-size: 13px;
  font-weight: 900;
}

.doctor-detail-blog {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.doctor-detail-blog i {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  color: var(--mediplace-white);
  background: var(--mediplace-base);
  border-radius: 15px;
}

.doctor-detail-contact .hospitals-cta__inner {
  background:
    radial-gradient(circle at 90% 15%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(135deg, #20a7c9 0%, #0c2340 100%);
}

@media (max-width: 1199px) {
  .doctor-detail-hero__inner {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .doctor-detail-stats,
  .doctor-detail-similar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .doctor-detail-hero {
    padding: 54px 0 42px;
  }

  .doctor-detail-hero__inner,
  .doctor-detail-stats,
  .doctor-detail-interest,
  .doctor-detail-similar {
    grid-template-columns: 1fr;
  }

  .doctor-detail-hero__image {
    max-width: 250px;
  }

  .doctor-detail-hero__content h1 {
    font-size: 32px;
  }

  .doctor-detail-main {
    padding: 64px 0;
  }
}
