/***
=============================================
Doctors Page
=============================================
***/
.doctors-page-template .page-wrapper {
  overflow: visible;
}

.doctors-page-template {
  overflow-x: clip;
}

body.doctor-detail-template {
  overflow-x: hidden !important;
}

body.doctor-detail-template .page-wrapper {
  overflow-x: hidden !important;
  max-width: 100%;
}

.doctor-detail-template .hospital-detail-layout,
.doctor-detail-template .hospital-detail-content,
.doctor-detail-template .hospital-detail-section,
.doctor-detail-template .doctor-detail-videos,
.doctor-detail-template .doctor-detail-videos__inner,
.doctor-detail-template .doctor-detail-similar-wrap {
  min-width: 0;
  max-width: 100%;
}

.doctor-detail-template .hospital-detail-content,
.doctor-detail-template .hospital-detail-section {
  overflow-x: hidden;
}

.doctor-detail-template .hospital-detail-section {
  overflow: hidden;
  border-radius: 28px;
}

.doctor-detail-template .hospital-detail-section.doctor-detail-videos {
  overflow: hidden;
  border-radius: 28px;
}

.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;
}

/* When hospital photo is shown on the right, hide faint doctor watermark bg */
.doctor-detail-hero--with-hospital::before {
  display: none;
}

.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--with-hospital .doctor-detail-hero__inner {
  grid-template-columns: 270px minmax(0, 1fr) 270px;
}

.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__image--hospital {
  position: relative;
}

.doctor-detail-hero__image--hospital img {
  object-position: center;
}

.doctor-detail-hero__hospital-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 14px 14px;
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(9, 26, 46, 0.88) 70%);
}

.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-similar__head {
  margin-bottom: 18px;
}

.doctor-detail-similar__head > h2 {
  margin-bottom: 0;
}

.doctor-detail-similar__head > h2::after {
  display: none;
}

.doctor-detail-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  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 {
  overflow: hidden;
  border-radius: 28px;
  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-hero--with-hospital .doctor-detail-hero__inner {
    grid-template-columns: 220px minmax(0, 1fr) 220px;
  }

  .doctor-detail-stats,
  .doctor-detail-similar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .doctor-detail-hero--with-hospital .doctor-detail-hero__inner {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .doctor-detail-hero--with-hospital .doctor-detail-hero__image--hospital {
    grid-column: 1 / -1;
    max-width: 320px;
    justify-self: start;
  }
}

@media (max-width: 767px) {
  .doctor-detail-hero {
    padding: 54px 0 42px;
  }

  .doctor-detail-hero__inner,
  .doctor-detail-hero--with-hospital .doctor-detail-hero__inner,
  .doctor-detail-stats,
  .doctor-detail-interest,
  .doctor-detail-similar {
    grid-template-columns: 1fr;
  }

  .doctor-detail-hero__image,
  .doctor-detail-hero--with-hospital .doctor-detail-hero__image--hospital {
    max-width: 250px;
  }

  .doctor-detail-hero__content h1 {
    font-size: 32px;
  }

  .doctor-detail-main {
    padding: 64px 0;
  }
}

.doctor-detail-videos {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 1;
  border-radius: 28px;
}

.doctor-detail-videos__inner {
  position: relative;
  margin-top: 10px;
  overflow: hidden;
  width: 100%;
  border-radius: 0 0 18px 18px;
}

.doctor-detail-videos .patient-stories__card {
  margin: 0;
  background: transparent;
  box-shadow: none;
}

.doctor-detail-videos .patient-stories__card-inner {
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(var(--mediplace-base-rgb), 0.12);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(12, 35, 64, 0.08);
}

.doctor-detail-videos .patient-stories__media {
  border-radius: 22px 22px 0 0;
}

.doctor-detail-videos .patient-stories__body {
  padding: 16px 16px 18px;
  border-radius: 0 0 22px 22px;
}

.doctor-detail-videos .patient-stories__name {
  font-size: 16px;
}

.doctor-detail-videos .patient-stories__meta {
  font-size: 13px;
}

.doctor-detail-videos__carousel,
.doctor-detail-similar__carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.doctor-detail-videos__carousel.owl-carousel .owl-stage-outer,
.doctor-detail-similar__carousel.owl-carousel .owl-stage-outer {
  overflow: hidden !important;
  width: 100%;
  max-width: 100%;
}

.doctor-detail-videos__carousel.owl-theme .owl-nav {
  position: absolute;
  top: 38%;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0;
  pointer-events: none;
  transform: translateY(-50%);
  z-index: 3;
}

.doctor-detail-videos__carousel.owl-theme .owl-nav [class*="owl-"] {
  position: static;
  margin: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff;
  background: var(--mediplace-base);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(12, 35, 64, 0.18);
  font-size: 15px;
  pointer-events: auto;
  transition: all 0.25s ease;
}

.doctor-detail-videos__carousel.owl-theme .owl-nav [class*="owl-"]:hover {
  color: #fff;
  background: var(--mediplace-black);
}

.doctor-detail-videos__carousel.owl-theme .owl-nav [class*="owl-"].disabled {
  opacity: 0.35;
  visibility: visible;
  pointer-events: none;
}

.doctor-detail-similar-wrap {
  position: relative;
  margin-top: 12px;
  overflow: hidden;
  width: 100%;
  border-radius: 0 0 18px 18px;
}

.doctor-detail-section .doctor-detail-similar__carousel.owl-carousel .owl-stage-outer {
  margin-left: 0 !important;
  padding: 8px 0 18px !important;
  overflow: hidden !important;
}

.doctor-detail-section .team-one__carousel.owl-theme .owl-nav {
  left: 10px;
  right: 10px;
  pointer-events: none;
}

.doctor-detail-section .team-one__carousel.owl-theme .owl-nav [class*="owl-"] {
  width: 44px;
  height: 44px;
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.doctor-detail-section .team-one__carousel.owl-theme .owl-nav [class*="owl-"].disabled {
  opacity: 0.35;
  visibility: visible;
  pointer-events: none;
}

.doctor-detail-section .team-one__designation {
  color: #fff;
}

.doctor-detail-section .team-one__text {
  margin: 0 0 4px;
  color: rgba(var(--mediplace-black-rgb), 0.62);
  font-size: 13px;
  line-height: 1.4;
}
