/* ─────────────────────────────────────────────────────────────
   TEAM MEMBER PAGE TEMPLATE STYLES (DR SINGLE PAGE) - TABBED
   Scoped under .dmc-dr-story / #dmc-dr-page-wrapper
   ───────────────────────────────────────────────────────────── */

/* Section 1: Split Bio Layout */
.dmc-dr-bio-split {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  direction: rtl;
}

.dmc-dr-bio-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
  max-width: 630px;
}

.dmc-dr-bio-title {
  font-family: 'Polin', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
  color: #283565;
  margin: 0 0 20px 0;
  padding: 0;
}

.dmc-dr-bio-desc {
  font-family: 'Polin', sans-serif;
  font-weight: 400;
  font-size: 18px !important;
  line-height: normal !important;
  color: #283565;
  margin: 0;
  max-height: 350px;
  overflow-y: auto;
  padding-left: 10px;
  text-align: right;
}

/* Custom Scrollbar for Bio Desc */
.dmc-dr-bio-desc::-webkit-scrollbar {
  width: 4px;
}
.dmc-dr-bio-desc::-webkit-scrollbar-thumb {
  background: rgba(8, 124, 245, 0.2);
  border-radius: 4px;
}

/* 3 blocks with information */
.dmc-dr-bio-info-grid {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 60px;
  border-top: none !important;
  padding-top: 0 !important;
}

.dmc-dr-bio-info-block {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dmc-dr-bio-info-label {
  color: #283565;
  text-align: right;
  font-family: 'Polin', sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  white-space: nowrap;
}

.dmc-dr-bio-info-value {
  color: #283565;
  text-align: right;
  font-family: 'Polin', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.dmc-dr-bio-info-divider {
  width: 1px;
  height: 59px;
  opacity: 0.4;
  background: #283565;
}

/* Right Column: Image with English name */
.dmc-dr-bio-right {
  flex: 0 0 684px;
  max-width: 684px;
  height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
}

.dmc-dr-bio-image-wrap {
  position: relative;
  width: 100%;
  height: 800px;
  max-height: 100%;
  aspect-ratio: 59/69;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}

.dmc-dr-bio-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  font-family: 'Polin', sans-serif;
  font-size: 201.524px;
  font-style: normal;
  font-weight: 700;
  line-height: 176.333px; /* 87.5% */
  opacity: 0.2;
  background: linear-gradient(90deg, #087CF5 0%, #FFF 53.37%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  user-select: none;
  direction: ltr;
  max-width: 600px;
  text-overflow: ellipsis;
  overflow: hidden;
}

.dmc-dr-bio-img {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}


/* --- FAQ Float Section Overrides for Doctor Single Page (matching clinics page) --- */
.dmc-dr-story .dmc-faq-float {
  height: auto !important;
  background-color: transparent !important;
  background: transparent !important;
}

.dmc-dr-story .dmc-faq-float__bg-grid {
  display: none !important;
}

@media (min-width: 1024px) {
  .dmc-dr-story .dmc-faq-float {
    height: 130vh !important;
    padding: 30px 0 80px 0 !important;
    overflow: visible !important;
  }

  .dmc-dr-story .dmc-faq-float__sticky-container {
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    min-height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  .dmc-dr-story .dmc-faq-float__cards {
    align-items: flex-start !important;
    z-index: 5 !important;
    display: flex !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 0 !important;
  }

  .dmc-dr-story .dmc-faq-float__column {
    transform: none !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 95px !important;
    z-index: 6 !important;
    width: 398px !important;
  }

  .dmc-dr-story .dmc-faq-float__column--left {
    padding-top: 80px !important;
    align-items: flex-start !important;
  }

  .dmc-dr-story .dmc-faq-float__column--right {
    align-items: flex-end !important;
  }

  .dmc-dr-story .dmc-faq-float__center {
    position: absolute !important;
    top: clamp(250px, 30vh, 350px) !important;
    left: 50% !important;
    transform: translate(-50%, 0);
    width: 600px !important;
    max-width: 460px !important;
    height: auto !important;
    pointer-events: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    z-index: 7 !important;
    padding: 20px 0 !important;
  }

  .dmc-dr-story .dmc-faq-float__title {
    pointer-events: none !important;
    line-height: 1 !important;
  }
}

/* Mirror gradient for the left column cards */
.dmc-dr-story .dmc-faq-float__column--left .dmc-faq-float__card {
  background: linear-gradient(to left, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%) !important;
}

.dmc-dr-story .dmc-faq-float__card-title {
  font-size: 22px !important;
  font-weight: 600 !important;
  color: #283565 !important;
  margin-bottom: 12px !important;
  line-height: 28px !important;
}

.dmc-dr-story .dmc-faq-float__card-text {
  font-size: 16px !important;
  line-height: 26px !important;
  color: #283565 !important;
  opacity: 0.85 !important;
  margin: 0 !important;
}

.dmc-dr-story .dmc-faq-float__card {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  height: auto !important;
  z-index: 7 !important;
  padding: 40px 36px !important;
  border-radius: 20px !important;
  box-shadow: 0 12px 40px rgba(40, 53, 101, 0.04) !important;
  background: linear-gradient(to right, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%) !important;
  border: none !important;
  text-align: right !important;
  direction: rtl !important;
  width: 398px !important;
}

@media (min-width: 1024px) and (max-width: 1399px) {
  .dmc-dr-story .dmc-faq-float__cards {
    gap: 350px !important;
  }
  .dmc-dr-story .dmc-faq-float__card {
    width: 320px !important;
    padding: 24px !important;
  }
  .dmc-dr-story .dmc-faq-float__column {
    gap: 50px !important;
  }
}

@media (max-width: 1024px) {
  .dmc-dr-story .dmc-faq-float__column {
    width: 32% !important;
    gap: 15px !important;
  }
  .dmc-dr-story .dmc-faq-float__column--left {
    padding-top: 40px !important;
  }
}

@media (max-width: 767px) {
  /* Split layout collapses to column on mobile */
  .dmc-dr-bio-split {
    flex-direction: column-reverse !important;
    height: auto !important;
    gap: 24px !important;
  }
  
  .dmc-dr-bio-left {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
  }
  
  .dmc-dr-bio-title {
    text-align: center !important;
    font-size: 32px !important;
  }
  
  .dmc-dr-bio-desc {
    text-align: center !important;
    max-height: none !important;
    padding-left: 0 !important;
    font-size: 16px !important;
  }
  
  .dmc-dr-bio-info-grid {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 20px 30px !important;
    margin-top: 24px !important;
    padding-top: 20px !important;
  }
  
  .dmc-dr-bio-info-divider {
    display: none !important;
  }
  
  .dmc-dr-bio-info-block {
    align-items: center !important;
  }
  
  .dmc-dr-bio-right {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    height: auto !important;
  }
  
  .dmc-dr-bio-image-wrap {
    height: 320px !important;
    width: 100% !important;
  }
  
  .dmc-dr-bio-bg-text {
    font-size: 80px !important;
  }
}

/* ==========================================================================
   FLOATING TABS NAVIGATION OVERRIDES FOR SCROLLABLE DOCTOR PAGE
   ========================================================================== */
.dmc-dr-story .dmc-story-tabs-bar {
  position: fixed !important;
  bottom: 30px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
  z-index: 1000 !important;
  width: 100% !important;
  max-width: 1430px !important;
}

.dmc-dr-story .dmc-story-mobile-dropdown {
  position: fixed !important;
  bottom: 20px !important;
  left: 15px !important;
  right: 15px !important;
  width: auto !important;
  margin: 0 !important;
  z-index: 1000 !important;
}

.dmc-dr-story .dmc-story-mobile-dropdown .dmc-story-dropdown-list {
  bottom: 75px !important;
  top: auto !important;
}


/* ==========================================================================
   CLINIC SERVICES & BRANCH HERO RULES EXTRACTED FROM CLINIC TEMPLATE
   ========================================================================== */
/* Figma styles for clinic branch template */
.dmc-new-hero {
  position: relative;
  width: 100%;
  height: 800px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
  direction: rtl;
  overflow: hidden;
  padding-top: 100px; /* spacing to clear floating header */
  box-sizing: border-box;
}

.dmc-new-hero__container {
  max-width: 1460px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
}
.dmc-new-hero__two-cols {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 54px;
  width: 100%;
}
.dmc-clinic-breadcrumbs {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1460px;
  padding: 0 20px;
  box-sizing: border-box;
  color: #283565;
  font-family: 'Polin', sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-align: right;
  direction: rtl;
  z-index: 10;
}
.dmc-clinic-breadcrumbs a {
  color: #283565;
  text-decoration: none;
  transition: text-decoration 0.2s ease;
}
.dmc-clinic-breadcrumbs a:hover {
  text-decoration: underline;
}
.dmc-clinic-breadcrumbs span {
  opacity: 0.7;
}
.dmc-new-hero__content {
  flex: 1 1 43%;
  max-width: 630px;
  display: flex;
  flex-direction: column;
  text-align: right;
}
.dmc-new-hero__title {
  font-family: 'Polin', sans-serif;
  font-weight: 700;
  font-size: clamp(50px, 5.5vw, 72px);
  line-height: 1.1;
  color: #283565;
  margin: 0;
  padding: 0;
}
.dmc-new-hero__subtitle {
  font-family: 'Polin', sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 2.47vw, 36px);
  line-height: 1.35;
  color: #283565;
  margin: 14px 0 0 0;
  padding: 0;
}
.dmc-new-hero__desc {
  font-family: 'Polin', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.23vw, 18px);
  line-height: 1.4;
  color: #283565;
  margin: 26px 0 0 0;
  padding: 0;
  max-width: 603px;
}
.dmc-new-hero__info-row {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0;
  max-width: 503px;
}
.dmc-new-hero__info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dmc-new-hero__info-label {
  font-family: 'Polin', sans-serif;
  font-size: clamp(16px, 1.23vw, 18px);
  font-weight: 500;
  color: #283565;
  margin: 0;
}
.dmc-new-hero__info-value {
  font-family: 'Polin', sans-serif;
  font-size: clamp(18px, 1.37vw, 20px);
  font-weight: 700;
  color: #283565;
  margin: 0;
  white-space: nowrap;
}
.dmc-new-hero__info-value a {
  color: #283565;
  text-decoration: none;
  white-space: nowrap;
}
.dmc-new-hero__info-divider {
  width: 1px;
  height: 48px;
  background: #283565;
  opacity: 0.4;
  flex-shrink: 0;
}
.dmc-new-hero__cta-row {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.dmc-new-hero__btn {
  height: 57px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px 0 12px;
  text-decoration: none;
  font-family: 'Polin', sans-serif;
  font-size: clamp(16px, 1.23vw, 18px);
  font-weight: 500;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
.dmc-new-hero__btn:hover {
  transform: translateY(-3px);
}
.dmc-new-hero__btn--whatsapp {
  width: 265px;
  background: #27B06C;
  color: #FFFFFF !important;
}
.dmc-new-hero__btn--whatsapp:hover {
  background: #21965A;
}
.dmc-new-hero__btn-text {
  padding-top: 2px;
}
.dmc-new-hero__btn-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dmc-new-hero__btn--whatsapp .dmc-new-hero__btn-icon {
  color: #27B06C;
}
.dmc-new-hero__image-wrap {
  flex: 1 1 57%;
  max-width: 803px;
  height: auto;
  aspect-ratio: 803 / 452;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}
.dmc-new-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hover animation for arrow in appointment button */
.dmc-treatment-stack-card__btn-icon {
  position: relative !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.dmc-treatment-stack-card__btn-icon svg {
  display: block !important;
  transition: transform 0.25s ease !important;
}
.dmc-treatment-stack-card__btn:hover .dmc-treatment-stack-card__btn-icon svg {
  animation: dmcArrowSlide 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
}
@keyframes dmcArrowSlide {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  49% {
    transform: translateX(-180%);
    opacity: 0;
  }
  50% {
    transform: translateX(180%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ============================================================
   Branch Opening Hours Section
   ============================================================ */
.dmc-clinic-hours {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background: transparent;
  width: 100%;
  box-sizing: border-box;
}

.dmc-clinic-hours__bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(to right, rgba(8, 124, 245, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(8, 124, 245, 0.04) 1px, transparent 1px);
  background-size: 75px 75px;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    white 10%,
    white 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    white 10%,
    white 90%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

.dmc-clinic-hours__container {
  position: relative;
  z-index: 2;
  max-width: 1460px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dmc-clinic-hours__title {
  font-family: 'Polin', sans-serif;
  font-style: normal;
  font-weight: 700;
  text-align: center;
  color: #283565;
  margin: 0 0 56px 0;
  padding: 0;
}

.dmc-clinic-hours__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  direction: rtl;
  box-sizing: border-box;
}

.dmc-hours-card {
  position: relative;
  flex: 0 0 180px;
  width: 180px;
  height: 175.58px;
  background-color: #FFFFFF;
  background-image: url('https://dental-mc.co.il/wp-content/uploads/2026/06/Group-474.png');
  background-repeat: no-repeat;
  background-position: top left;
  box-shadow: 0px 7px 30px rgba(8, 76, 153, 0.1);
  border-radius: 20px;
  overflow: hidden;
  box-sizing: border-box;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.dmc-hours-card:hover {
  transform: translateY(-35px);
}

.dmc-hours-card:nth-child(1) { z-index: 1; }
.dmc-hours-card:nth-child(2) { z-index: 2; }
.dmc-hours-card:nth-child(3) { z-index: 3; }
.dmc-hours-card:nth-child(4) { z-index: 4; }
.dmc-hours-card:nth-child(5) { z-index: 5; }
.dmc-hours-card:nth-child(6) { z-index: 6; }
.dmc-hours-card:nth-child(7) { z-index: 7; }

.dmc-hours-card:nth-child(n+2) {
  margin-right: -20px;
}

.dmc-hours-card:last-child {
  background-image: url('https://dental-mc.co.il/wp-content/uploads/2026/06/shed-box-bg-last.jpg');
  background-size: cover;
  background-position: center;
}

.dmc-hours-card:last-child .dmc-hours-card__day-name,
.dmc-hours-card:last-child .dmc-hours-card__time {
  color: #FFFFFF;
}

.dmc-hours-card__content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.dmc-hours-card__day-name {
  position: absolute;
  top: 26px;
  right: 28px;
  font-family: 'Polin', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 20.6884px;
  line-height: 29px;
  text-align: right;
  letter-spacing: -0.03em;
  color: #283565;
  white-space: nowrap;
}

.dmc-hours-card__time {
  position: absolute;
  bottom: 26px;
  right: 28px;
  font-family: 'Polin', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 15.0461px;
  line-height: 21px;
  text-align: right;
  color: #283565;
  white-space: nowrap;
}

/* Responsive Grid styling */
@media (max-width: 1199px) {
  .dmc-clinic-hours {
    padding: 48px 0 !important;
  }
  .dmc-clinic-hours__title {
    margin-bottom: 30px !important;
  }
  .dmc-clinic-hours__grid {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 30px 20px !important;
    margin: 0 !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .dmc-clinic-hours__grid::-webkit-scrollbar {
    display: none !important;
  }
  .dmc-hours-card {
    flex: 0 0 140px !important;
    width: 140px !important;
    height: 140px !important;
    margin-bottom: 0 !important;
    background-size: cover !important;
  }
  .dmc-hours-card:nth-child(n+2) {
    margin-right: -15px !important;
    margin-left: 0 !important;
  }
  .dmc-hours-card:hover {
    transform: translateY(-15px) !important;
  }
  .dmc-hours-card__day-name {
    top: 18px !important;
    right: 20px !important;
    font-size: 18px !important;
    line-height: 22px !important;
  }
  .dmc-hours-card__time {
    bottom: 18px !important;
    right: 20px !important;
    font-size: 12px !important;
    line-height: 16px !important;
  }
}

/* Page wrapper relative alignment and decoration 33 */
.dmc-clinic-page-wrapper {
  position: relative;
  width: 100%;
  overflow-x: hidden;
  background-image: url('https://dental-mc.co.il/wp-content/uploads/2026/06/clinic-full-bg2.jpg');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.dmc-clinic-bg-decor-33 {
  position: absolute;
  width: 776px;
  height: 1921px;
  left: 0;
  top: 802px;
  background-image: 
    linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 33.78%), 
    url('https://dental-mc.co.il/wp-content/uploads/2026/06/image-33.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.2;
  filter: blur(50px);
  transform: matrix(0, 1, 1, 0, 0, 0);
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   Main Services in Branch Section
   ============================================================ */
.dmc-clinic-services {
  position: relative;
  padding: 72px 0;
  background: transparent;
  width: 100%;
  box-sizing: border-box;
  z-index: 2;
}

.dmc-clinic-services__container {
  max-width: 1214px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dmc-clinic-services__title {
  font-family: 'Polin', sans-serif;
  font-style: normal;
  font-weight: 700;
  text-align: center;
  color: #283565;
  margin: 0 0 60px 0;
  padding: 0;
}

.dmc-services-tabs__nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0 0 60px 0;
  width: 100%;
  box-sizing: border-box;
}

.dmc-services-tabs__nav-item {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 3px 40px 5px 32px;
  gap: 10px;
  width: 200px;
  height: 48px;
  border-radius: 50px;
  font-family: 'Polin', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 18px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  border: 1px solid #283565;
  color: #283565;
  flex-shrink: 0;
}

.dmc-services-tabs__nav-item.is-active,
.dmc-services-tabs__nav-item:hover,
.dmc-services-tabs__nav-item:focus {
  background: #087CF5;
  border: 1px solid #087CF5;
  color: #FFFFFF;
  outline: none;
}

.dmc-services-tabs__content-wrap {
  width: 100%;
  max-width: 1214px;
  position: relative;
}

.dmc-services-tabs__pane {
  display: none;
  width: 100%;
  min-height: 428px;
  background: #FFFFFF;
  border-radius: 40px;
  box-shadow: 0px 10px 40px rgba(8, 76, 153, 0.05);
  padding: 50px; /* Default for Netanya and Caesarea */
  box-sizing: border-box;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.dmc-services-tabs__pane.is-active {
  display: flex;
}

/* Subtle coordinate lines grid spaced by 85px inside the pane (default for Caesarea and Netanya) */
.dmc-services-tabs__pane::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(to right, rgba(40, 53, 101, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(40, 53, 101, 0.06) 1px, transparent 1px);
  background-size: 85px 85px;
  pointer-events: none;
  z-index: 1;
}

/* Custom styling overrides ONLY for Glilot clinic page */
.dmc-clinic-services--glilot .dmc-services-tabs__pane {
  padding: 18px 80px 18px 18px;
}
.dmc-clinic-services--glilot .dmc-services-tabs__pane::before {
  display: none !important;
}
.dmc-clinic-services--glilot .dmc-services-tabs__text-content {
  align-items: flex-start;
}
.dmc-clinic-services--glilot .dmc-services-tabs__pane-title {
  text-align: right;
}
.dmc-clinic-services--glilot .dmc-services-tabs__btn {
  margin-top: 0 !important;
  align-self: flex-start;
}
.dmc-clinic-services--glilot .dmc-clinic-services__title-highlight {
  color: #087CF5;
}
.dmc-doctors-team--glilot {
  margin-top: 0 !important;
  overflow: visible !important;
}

.dmc-doctors-team--glilot .dmc-doctors-team__bg-grid {
  top: -200px !important;
}

.dmc-doctors-team--glilot .dmc-container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.dmc-doctors-carousel__track {
  width: max-content !important;
  margin: 0 !important;
  justify-content: flex-start !important;
}

.dmc-doctors-team {
  background-color: transparent !important;
}

.dmc-doctor-card {
  text-decoration: none !important;
  color: inherit !important;
}

.dmc-doctors-carousel__viewport {
  padding: 35px 0 !important;
}

.dmc-doctors-team__header {
  margin-bottom: 15px !important;
}

.dmc-services-tabs__image-wrap {
  flex: 0 1 552px;
  width: 100%;
  max-width: 552px;
  height: 391px;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05);
}

.dmc-services-tabs__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dmc-services-tabs__text-content {
  flex: 0 1 517px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 23px;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.dmc-services-tabs__pane-title {
  margin: 0;
  font-family: 'Polin', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.25;
  color: #283565;
}

.dmc-services-tabs__pane-desc {
  margin: 0;
  font-family: 'Polin', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 25px;
  color: #283565;
}

.dmc-services-tabs__btn {
  margin-top: 10px;
}

/* Original services tabs button style (for all pages except Glilot) */
.dmc-clinic-services:not(.dmc-clinic-services--glilot) .dmc-services-tabs__btn {
  text-decoration: none !important;
  display: inline-flex !important;
  flex-direction: row-reverse !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 192px !important;
  height: 57px !important;
  border-radius: 50px !important;
  background: #087CF5 !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  align-self: flex-end;
}

.dmc-clinic-services:not(.dmc-clinic-services--glilot) .dmc-services-tabs__btn:hover {
  background: #0252AF !important;
}

.dmc-clinic-services:not(.dmc-clinic-services--glilot) .dmc-services-tabs__btn .dmc-treatment-stack-card__btn-text {
  font-family: 'Polin', sans-serif !important;
  font-style: normal !important;
  font-weight: 500 !important;
  font-size: 18px !important;
  line-height: 25px !important;
  color: #FFFFFF !important;
  text-align: right !important;
  padding-top: 2px !important;
}

.dmc-clinic-services:not(.dmc-clinic-services--glilot) .dmc-services-tabs__btn .dmc-treatment-stack-card__btn-icon {
  width: 34px !important;
  height: 34px !important;
  background: #FFFFFF !important;
  border: 1px solid #FFFFFF !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.dmc-clinic-services:not(.dmc-clinic-services--glilot) .dmc-services-tabs__btn .dmc-treatment-stack-card__btn-icon svg {
  transition: transform 0.25s ease !important;
}

.dmc-clinic-services:not(.dmc-clinic-services--glilot) .dmc-services-tabs__btn:hover .dmc-treatment-stack-card__btn-icon svg {
  animation: dmcArrowSlide 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
}

/* Responsive constraints for Services Section */
@media (max-width: 1024px) {
  .dmc-clinic-services {
    padding: 48px 0;
  }
  .dmc-clinic-services__title {
    margin-bottom: 30px;
  }
  .dmc-services-tabs__nav {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0 20px 12px 20px;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 30px;
    scrollbar-width: thin;
    scrollbar-color: rgba(8, 124, 245, 0.2) transparent;
  }
  .dmc-services-tabs__nav::-webkit-scrollbar {
    height: 4px;
  }
  .dmc-services-tabs__nav::-webkit-scrollbar-thumb {
    background: rgba(8, 124, 245, 0.2);
    border-radius: 4px;
  }
  .dmc-services-tabs__nav-item {
    width: 180px;
    padding: 3px 20px 5px 20px;
    font-size: 16px;
  }
  .dmc-services-tabs__pane {
    flex-direction: column-reverse;
    padding: 30px 20px;
    gap: 30px;
    border-radius: 24px;
    min-height: auto;
  }
  .dmc-services-tabs__image-wrap {
    flex: 0 1 auto;
    max-width: 100%;
    height: 300px;
  }
  .dmc-services-tabs__text-content {
    flex: 0 1 auto;
    width: 100%;
    align-items: center;
    text-align: center;
  }
  .dmc-services-tabs__pane-title {
    text-align: center;
  }
  .dmc-services-tabs__pane-desc {
    text-align: center;
  }
  .dmc-services-tabs__btn {
    align-self: center;
  }
}

@media (max-width: 600px) {
  .dmc-services-tabs__image-wrap {
    height: 200px;
  }
}

/* ============================================================
   SECTION 5: DIRECTIONS (HOW TO GET) SECTION STYLES
   ============================================================ */
.dmc-directions {
  padding: 80px 0;
  background-color: transparent;
  direction: rtl;
}

.dmc-directions .dmc-container {
  max-width: 1460px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.dmc-directions__card {
  position: relative;
  width: 100%;
  height: 320px;
  background: #FFFFFF url('https://dental-mc.co.il/wp-content/uploads/2026/06/Group-391.png') no-repeat center center;
  background-size: cover;
  border-radius: 20.0364px;
  box-shadow: 0px 10px 45px rgba(40, 53, 101, 0.03);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 40px;
}

/* Content Area */
.dmc-directions__content {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 27px; /* 27px gap under title */
  z-index: 2;
  text-align: center;
}

.dmc-directions__title {
  font-family: 'Polin', sans-serif;
  font-style: normal;
  font-weight: 700;
  color: #283565;
  text-align: center;
  width: 100%;
  max-width: 90%;
  margin: 0;
  padding: 0;
}

/* Centered Waze Button */
.dmc-directions__waze-btn {
  width: 179px;
  height: 57px;
  background: #087CF5;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 37px 11px 13px;
  box-sizing: border-box;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0px 4px 20px rgba(8, 124, 245, 0.25);
}

.dmc-directions__waze-text {
  font-family: 'Polin', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 25px;
  text-align: right;
  color: #FFFFFF;
}

.dmc-directions__waze-circle {
  width: 34px;
  height: 34px;
  background: #FFFFFF;
  border: 1px solid #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dmc-directions__waze-circle svg {
  display: block;
}

/* Hover effects */
.dmc-directions__waze-btn:hover {
  background: #0660C2;
  transform: translateY(-2px);
  box-shadow: 0px 8px 25px rgba(8, 124, 245, 0.45);
}
.dmc-directions__waze-btn:hover .dmc-directions__waze-circle svg {
  animation: dmcWazeIconSlide 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes dmcWazeIconSlide {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  49% {
    transform: translateX(-150%);
    opacity: 0;
  }
  50% {
    transform: translateX(150%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive Customizations */
@media (max-width: 768px) {
  .dmc-directions {
    padding: 40px 0;
  }
  .dmc-directions__card {
    height: auto;
    min-height: 280px;
    padding: 30px 20px;
  }
  .dmc-directions__content {
    gap: 20px;
  }
}

/* --- FAQ Float Section Overrides (No fixed height and transparent background) --- */
.dmc-faq-float {
  height: auto !important;
  background-color: transparent !important;
  background: transparent !important;
}

.dmc-faq-float__bg-grid {
  display: none !important;
}

@media (min-width: 1024px) {
  .dmc-faq-float {
    padding: 30px 0 80px 0 !important;
    overflow: visible !important;
  }

  .dmc-faq-float__sticky-container {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    min-height: 1200px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
  }

  .dmc-faq-float__cards {
    align-items: flex-start !important;
    z-index: 5 !important;
  }

  .dmc-faq-float__column {
    transform: none !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 95px !important;
    z-index: 6 !important;
  }

  .dmc-faq-float__column--left {
    padding-top: 80px !important;
    align-items: flex-start !important;
  }

  .dmc-faq-float__column--right {
    align-items: flex-end !important;
  }

  .dmc-faq-float__center {
    position: absolute !important;
    top: clamp(250px, 30vh, 350px) !important;
    left: 50% !important;
    transform: translate(-50%, 0);
    width: 600px !important;
    height: auto !important;
    pointer-events: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    z-index: 1 !important;
    padding: 20px 0 !important;
  }

  .dmc-faq-float__title {
    pointer-events: none !important;
  }
}

/* Mirror gradient for the left column cards */
.dmc-faq-float__column--left .dmc-faq-float__card {
  background: linear-gradient(to left, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%) !important;
}

.dmc-faq-float__card-title {
  font-size: 22px !important;
}

.dmc-faq-float__card-text {
  font-size: 16px !important;
}

.dmc-faq-float__card {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  height: auto !important;
  z-index: 7 !important;
}

@media (min-width: 1024px) and (max-width: 1399px) {
  .dmc-faq-float__cards {
    gap: 350px !important;
  }
  .dmc-faq-float__card {
    width: 320px !important;
    padding: 24px !important;
  }
  .dmc-faq-float__column {
    gap: 50px !important;
  }
}

/* --- Horizontal Contact Form Section --- */
.dmc-clinic-contact-sec {
  padding: 60px 0 150px 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  direction: rtl !important;
}

.dmc-clinic-contact-container {
  width: 100% !important;
  max-width: 1460px !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
  position: relative !important;
}

.dmc-clinic-hor-form {
  width: 100% !important;
  position: relative !important;
  background-image: url('https://dental-mc.co.il/wp-content/uploads/2026/06/hor-form-bg2.png') !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: transparent !important;
  border-radius: 20px !important;
  padding: 43px 93px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 25px !important;
  z-index: 2 !important;
}

.dmc-clinic-hor-form__header-wrap {
  position: absolute !important;
  top: -54px !important;
  right: 20px !important;
  width: 430px !important;
  height: 86px !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  z-index: 1 !important;
  padding: 12px 24px !important;
  box-sizing: border-box !important;
}

.dmc-clinic-hor-form__header-wrap svg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: -1 !important;
}

.dmc-clinic-hor-form__header-text {
  color: #FFF !important;
  font-family: 'Polin', sans-serif !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  text-align: right !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.dmc-clinic-hor-form__fields {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
  margin: 0 !important;
}

.dmc-clinic-hor-form__input-wrap {
  flex: 1 !important;
}

.dmc-contact-bar__input {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  opacity: 1 !important;
}

.dmc-clinic-hor-form__input {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 320px !important;
  height: 46px !important;
  background: #FFFFFF !important;
  border: 1px solid #283565 !important;
  border-radius: 50px !important;
  font-family: 'Polin', sans-serif !important;
  font-weight: 400 !important;
  font-size: 18px !important;
  line-height: 25px !important;
  text-align: right !important;
  color: #283565 !important;
  padding: 0 25px !important;
  margin: 0 !important;
}

.dmc-contact-bar__input::placeholder,
.dmc-clinic-hor-form__input::placeholder {
  color: #283565 !important;
  opacity: 1 !important;
}

.dmc-clinic-hor-form__input:focus,
.dmc-clinic-hor-form__input:hover,
.dmc-clinic-hor-form__input:active {
  background-color: #FFFFFF !important;
  background: #FFFFFF !important;
  border-color: #283565 !important;
  color: #283565 !important;
  outline: none !important;
}

.dmc-clinic-hor-form__input:-webkit-autofill,
.dmc-clinic-hor-form__input:-webkit-autofill:hover, 
.dmc-clinic-hor-form__input:-webkit-autofill:focus,
.dmc-clinic-hor-form__input:-webkit-autofill:active {
  -webkit-text-fill-color: #283565 !important;
  -webkit-box-shadow: 0 0 0px 1000px #FFFFFF inset !important;
  transition: background-color 5000s ease-in-out 0s !important;
}

.dmc-clinic-hor-form__submit {
  flex: 0 0 auto !important;
  margin: 0 !important;
  height: 46px !important;
  border-radius: 50px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Responsive design for smaller screens */
@media (max-width: 767px) {
  .dmc-clinic-hor-form {
    padding: 30px 20px !important;
    background-size: cover !important;
    border-radius: 15px !important;
  }
  
  .dmc-clinic-hor-form__fields {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 15px !important;
  }
  
  .dmc-clinic-hor-form__header-wrap {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: 100% !important;
    height: auto !important;
    background-color: #283565 !important;
    border-radius: 10px !important;
    padding: 15px !important;
    margin-bottom: 20px !important;
    display: block !important;
  }
  
  .dmc-clinic-hor-form__header-wrap svg {
    display: none !important;
  }
  
  .dmc-clinic-hor-form__header-text {
    padding: 0 !important;
    font-size: 20px !important;
    display: block !important;
    text-align: center !important;
  }
}

/* Add flex-wrap for safety on fields */
.dmc-clinic-hor-form__fields {
  flex-wrap: wrap !important;
}

/* Hide background decor causing horizontal overflow on mobile/tablet */
@media (max-width: 1024px) {
  .dmc-clinic-bg-decor-33 {
    display: none !important;
  }
}

/* Responsive constraints for Services Section Image on mobile/tablet */
@media (max-width: 1024px) {
  .dmc-services-tabs__image-wrap {
    height: auto !important;
    aspect-ratio: 552 / 391 !important;
  }
}
@media (max-width: 600px) {
  .dmc-services-tabs__image-wrap {
    height: auto !important;
    aspect-ratio: 552 / 391 !important;
  }
}

/* Responsive styling for Hero Section to stack on mobile/tablet */
@media (max-width: 1024px) {
  .dmc-new-hero {
    height: auto !important;
    padding-top: 140px !important;
    padding-bottom: 60px !important;
  }
  .dmc-new-hero__two-cols {
    flex-direction: column-reverse !important;
    gap: 40px !important;
  }
  .dmc-new-hero__content {
    max-width: 100% !important;
    text-align: center !important;
    align-items: center !important;
  }
  .dmc-new-hero__desc {
    max-width: 100% !important;
    text-align: center !important;
    margin: 20px auto 0 auto !important;
  }
  .dmc-new-hero__info-row {
    max-width: 100% !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    margin: 20px auto 0 auto !important;
  }
  .dmc-new-hero__info-divider {
    display: none !important;
  }
  .dmc-new-hero__cta-row {
    justify-content: center !important;
    flex-wrap: wrap !important;
    margin-top: 30px !important;
  }
  .dmc-new-hero__image-wrap {
    max-width: 100% !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
  }
  .dmc-clinic-breadcrumbs {
    top: 90px !important;
    text-align: center !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}

/* Unified responsive typography for main section titles */
.dmc-clinic-hours__title,
.dmc-clinic-services__title,
.dmc-doctors-team__title,
.dmc-directions__title,
.dmc-faq-float__title {
  font-size: clamp(42px, 4vw, 62px) !important;
  line-height: 1.25 !important;
}

/* Specific Tablet and Mobile responsive sizing for FAQ Float Title */
@media (min-width: 768px) and (max-width: 1025px) {
  #faq-float .dmc-faq-float__title {
    font-size: 42px !important;
    line-height: 90px !important;
  }
}
@media (max-width: 767px) {
  #faq-float .dmc-faq-float__title {
    font-size: 42px !important;
    line-height: 1 !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   NEW SPECIALTIES SECTION & VERTICAL SLIDER STYLES
   ───────────────────────────────────────────────────────────── */

.dmc-dr-specialties-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  width: 100%;
  box-sizing: border-box;
  direction: rtl;
}

.dmc-dr-specialties-right {
  flex: 1;
  max-width: 630px;
  text-align: right;
  display: flex;
  flex-direction: column;
}

.dmc-dr-specialties-title {
  margin: 0 0 30px 0;
  padding: 0;
}

.dmc-dr-spec-title-part1 {
  color: #283565;
  text-align: right;
  font-family: 'Polin', sans-serif;
  font-size: 62px;
  font-style: normal;
  font-weight: 700;
  line-height: 72px; /* 116.129% */
}

.dmc-dr-spec-title-part2 {
  color: #087CF5;
  font-family: 'Polin', sans-serif;
  font-size: 62px;
  font-style: normal;
  font-weight: 700;
  line-height: 72px;
}

.dmc-dr-specialties-desc {
  font-family: 'Polin', sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: #283565;
  margin: 0 0 40px 0;
}

.dmc-dr-specialties-subtitle {
  color: #283565;
  text-align: right;
  font-family: 'Polin', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin: 0;
  padding: 0;
}

.dmc-dr-specialties-left {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 34px;
  justify-content: flex-end;
  position: relative;
  direction: rtl;
}

.dmc-dr-vertical-slider-viewport {
  width: 100%;
  height: 613px; /* exactly (101 * 5) + (27 * 4) */
  overflow: hidden;
  position: relative;
}

.dmc-dr-vertical-slider-track {
  display: flex;
  flex-direction: column;
  gap: 27px;
  transition: transform 0.5s ease-in-out;
  padding: 0;
  margin: 0;
}

.dmc-dr-vertical-slide {
  position: relative; /* relative for absolute positioning of background image overlay ::after */
  width: 100%;
  height: 101px;
  flex-shrink: 0;
  border-radius: 18.808px;
  background-color: #FFFFFF;
  box-shadow: none;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: 31px 46px 36px 46px;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.5s ease-in-out;
  opacity: 0;
}

.dmc-dr-vertical-slide::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 118.488px;
  height: 115.667px;
  background-image: url('https://dental-mc.co.il/wp-content/uploads/2026/06/Mask-group.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.dmc-dr-vertical-slide span {
  position: relative;
  z-index: 2; /* make sure text stays on top */
  color: #283565;
  text-align: right;
  font-family: 'Polin', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.dmc-dr-specialties-left .dmc-doctors-carousel__nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.dmc-dr-specialties-left .dmc-doctors-carousel__btn {
  cursor: pointer;
  background: transparent;
  border: 1px solid #283565;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
}

.dmc-dr-specialties-left .dmc-doctors-carousel__btn:hover {
  background: #283565;
}

.dmc-dr-specialties-left .dmc-doctors-carousel__btn:hover svg path {
  stroke: #FFF;
}

.dmc-dr-specialties-left .dmc-doctors-carousel__btn--prev svg {
  transform: rotate(-90deg);
  transition: stroke 0.3s ease;
}

.dmc-dr-specialties-left .dmc-doctors-carousel__btn--next svg {
  transform: rotate(-90deg);
  transition: stroke 0.3s ease;
}

@media (max-width: 767px) {
  .dmc-dr-specialties-split {
    flex-direction: column !important;
    gap: 40px !important;
  }
  .dmc-dr-specialties-right {
    max-width: 100% !important;
    text-align: center !important;
  }
  .dmc-dr-specialties-title {
    text-align: center !important;
  }
  .dmc-dr-spec-title-part1,
  .dmc-dr-spec-title-part2 {
    font-size: 42px !important;
    line-height: 1 !important;
  }
  .dmc-dr-specialties-desc {
    text-align: center !important;
  }
  .dmc-dr-specialties-subtitle {
    text-align: center !important;
    font-size: 20px !important;
  }
  .dmc-dr-specialties-left {
    justify-content: center !important;
    width: 100% !important;
    gap: 20px !important;
  }
  .dmc-dr-vertical-slider-viewport {
    width: 100% !important;
    max-width: 380px !important;
    height: 613px !important; /* Ensure correct mobile height showing 5 items */
  }
  .dmc-dr-vertical-slide span {
    font-size: 20px !important;
  }
}

.dmc-dr-page-wrapper {
  position: relative !important;
  width: 100% !important;
  overflow-x: hidden !important;
  background-image: url('https://dental-mc.co.il/wp-content/uploads/2026/06/clinic-full-bg2.jpg') !important;
  background-repeat: no-repeat !important;
  background-position: top center !important;
  background-size: cover !important;
}

/* ============================================================
   Education/Credentials Section Styling
   ============================================================ */
.dmc-dr-education-sec {
  background: transparent;
  padding: 100px 0;
  overflow-x: hidden;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.dmc-dr-education-title {
  color: #283565;
  text-align: center;
  font-family: 'Polin', sans-serif;
  font-size: 62px;
  font-style: normal;
  font-weight: 700;
  line-height: 72px; /* 116.129% */
  margin: 0 0 15px 0;
}

.dmc-dr-education-title-highlight {
  color: #087CF5;
}

/* Horizontal navigation arrows */
.dmc-dr-education-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 45px; /* Gap between arrows and slider */
}

.dmc-dr-education-nav .dmc-doctors-carousel__btn {
  cursor: pointer;
  background: transparent;
  border: 1px solid #283565;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
  outline: none;
}

.dmc-dr-education-nav .dmc-doctors-carousel__btn:hover {
  background: #283565;
}

.dmc-dr-education-nav .dmc-doctors-carousel__btn:hover svg path {
  stroke: #FFF;
}

.dmc-dr-education-nav .dmc-doctors-carousel__btn svg {
  transform: none; /* No rotation needed for horizontal arrows */
  transition: stroke 0.3s ease;
}

/* Viewport and Track */
.dmc-dr-education-slider-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  direction: ltr; /* Unified layout translation */
}

.dmc-dr-education-slider-track {
  display: flex;
  flex-direction: row;
  gap: 30px;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}

/* Slide item */
.dmc-dr-education-slide {
  flex-shrink: 0;
  width: 380px;
  height: 490px;
  border-radius: 20px;
  background: #FFF;
  padding: 20px 16px;
  box-sizing: border-box;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0px 10px 30px rgba(8, 76, 153, 0.05);
}

.dmc-dr-education-slide:hover {
  transform: translateY(-5px);
  box-shadow: 0px 15px 40px rgba(8, 76, 153, 0.12);
}

/* Inner Block */
.dmc-dr-education-inner-block {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  border: 1px solid rgba(40, 53, 101, 0.20);
  background: rgba(40, 53, 101, 0.05);
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mock Certificate Styles */
.dmc-dr-cert-mockup {
  width: 100%;
  height: 100%;
  background: #FAF8F5; /* Premium off-white/cream paper */
  padding: 20px;
  box-sizing: border-box;
  font-family: 'Polin', sans-serif;
  color: #283565;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.dmc-dr-cert-border {
  width: 100%;
  height: 100%;
  border: 2px solid #D4AF37; /* Gold border */
  border-radius: 10px;
  padding: 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.dmc-dr-cert-border::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  background-image: url('https://dental-mc.co.il/wp-content/uploads/2026/06/Mask-group.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.04;
  pointer-events: none;
}

.dmc-dr-cert-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.dmc-dr-cert-seal {
  width: 45px;
  height: 45px;
}

.dmc-dr-cert-inst {
  font-size: 13px;
  font-weight: 600;
  color: #283565;
  opacity: 0.9;
}

.dmc-dr-cert-body {
  margin: 15px 0;
}

.dmc-dr-cert-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #087CF5;
  font-weight: 700;
  display: block;
  margin-bottom: 5px;
}

.dmc-dr-cert-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  margin: 0 0 5px 0;
  color: #283565;
}

.dmc-dr-cert-sub {
  font-size: 11px;
  color: #888;
  display: block;
  margin-bottom: 15px;
}

.dmc-dr-cert-awarded {
  font-size: 12px;
  color: #555;
  margin: 0;
}

.dmc-dr-cert-recipient {
  font-size: 20px;
  font-weight: 700;
  color: #087CF5;
  margin: 5px 0 0 0;
}

.dmc-dr-cert-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 10px;
}

.dmc-dr-cert-sig-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90px;
}

.dmc-dr-cert-sig-line {
  width: 100%;
  height: 1px;
  background: #D4AF37;
  margin-bottom: 4px;
  position: relative;
}

.dmc-dr-cert-sig-line::before {
  content: 'Dr. DMC';
  font-family: 'Brush Script MT', cursive, sans-serif;
  font-size: 12px;
  color: #087CF5;
  position: absolute;
  top: -12px;
  left: 20px;
  opacity: 0.6;
}

.dmc-dr-cert-sig-title {
  font-size: 9px;
  color: #777;
}

.dmc-dr-cert-year-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dmc-dr-cert-year-val {
  font-weight: 700;
  color: #283565;
}

.dmc-dr-cert-year-label {
  font-size: 8px;
  color: #777;
}

/* Custom Image Certificate styling */
.dmc-dr-cert-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Custom PDF Certificate styling */
.dmc-dr-cert-pdf-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: #283565;
  font-family: 'Polin', sans-serif;
  padding: 20px;
  text-align: center;
}

.dmc-dr-cert-pdf-icon {
  width: 60px;
  height: 60px;
}

.dmc-dr-cert-pdf-text {
  font-size: 14px;
  font-weight: 600;
}

/* Lightbox Modal CSS */
.dmc-dr-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(40, 53, 101, 0.9);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.dmc-dr-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.dmc-dr-lightbox__close {
  position: absolute;
  top: 30px;
  left: 30px;
  background: transparent;
  border: none;
  color: #FFF;
  font-size: 36px;
  cursor: pointer;
  z-index: 100000;
  outline: none;
  transition: transform 0.2s ease;
}

.dmc-dr-lightbox__close:hover {
  transform: scale(1.1);
}

.dmc-dr-lightbox__content {
  width: 90%;
  max-width: 900px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.dmc-dr-lightbox__inner {
  width: 100%;
  background: #FFF;
  border-radius: 20px;
  padding: 10px;
  box-sizing: border-box;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dmc-dr-lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 10px;
}

.dmc-dr-lightbox-iframe {
  width: 100%;
  height: 70vh;
  border: none;
  border-radius: 10px;
}

.dmc-dr-lightbox-mockup-wrap {
  width: 500px;
  height: 640px;
  max-width: 100%;
  transform: scale(1);
}

.dmc-dr-lightbox-mockup-wrap .dmc-dr-cert-mockup {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.dmc-dr-lightbox-mockup-wrap .dmc-dr-cert-border {
  padding: 25px;
}

.dmc-dr-lightbox-mockup-wrap .dmc-dr-cert-title {
  font-size: 24px;
  line-height: 32px;
}

.dmc-dr-lightbox-mockup-wrap .dmc-dr-cert-recipient {
  font-size: 28px;
}

.dmc-dr-lightbox-mockup-wrap .dmc-dr-cert-sig-wrap {
  width: 140px;
}

.dmc-dr-lightbox__title {
  color: #FFF;
  font-family: 'Polin', sans-serif;
  font-size: 20px;
  margin: 0;
  text-align: center;
}

/* Responsive constraints for Education Section */
@media (max-width: 1024px) {
  .dmc-dr-education-title {
    font-size: 48px;
    line-height: 58px;
  }
}

@media (max-width: 767px) {
  .dmc-dr-education-title {
    font-size: 42px !important;
    line-height: 1 !important;
    margin-bottom: 30px !important;
  }
  .dmc-dr-education-nav {
    margin-bottom: 30px !important;
  }
  .dmc-dr-education-slide {
    width: 290px;
    height: 380px;
    padding: 15px 12px;
  }
  .dmc-dr-lightbox-mockup-wrap {
    width: 280px;
    height: 360px;
  }
  .dmc-dr-lightbox-mockup-wrap .dmc-dr-cert-border {
    padding: 12px;
  }
  .dmc-dr-lightbox-mockup-wrap .dmc-dr-cert-title {
    font-size: 14px;
    line-height: 18px;
  }
  .dmc-dr-lightbox-mockup-wrap .dmc-dr-cert-recipient {
    font-size: 18px;
  }
  .dmc-dr-lightbox-mockup-wrap .dmc-dr-cert-sig-wrap {
    width: 80px;
  }
}

/* ============================================================
   Media/Videos Slider Section Styling
   ============================================================ */
.dmc-dr-media-sec {
  background: transparent;
  padding: 100px 0;
  overflow-x: hidden;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.dmc-dr-media-slider-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  direction: ltr; /* Unified layout translation */
}

.dmc-dr-media-slider-track {
  display: flex;
  flex-direction: row;
  gap: 30px;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}

.dmc-dr-media-slide {
  flex-shrink: 0;
  width: 871.111px;
  height: 490px;
  border-radius: 20px;
  background: #000;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0px 10px 30px rgba(8, 76, 153, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dmc-dr-media-slide:hover {
  transform: translateY(-5px);
  box-shadow: 0px 15px 40px rgba(8, 76, 153, 0.12);
}

.dmc-dr-media-slide iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 20px;
  display: block;
}

/* Horizontal navigation arrows */
.dmc-dr-media-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 0;
}

.dmc-dr-media-nav .dmc-doctors-carousel__btn {
  cursor: pointer;
  background: transparent;
  border: 1px solid #283565;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
  outline: none;
}

.dmc-dr-media-nav .dmc-doctors-carousel__btn:hover {
  background: #283565;
}

.dmc-dr-media-nav .dmc-doctors-carousel__btn:hover svg path {
  stroke: #FFF;
}

.dmc-dr-media-nav .dmc-doctors-carousel__btn svg {
  transform: none;
  transition: stroke 0.3s ease;
}

/* Responsive constraints for Media Section */
@media (max-width: 1024px) {
  .dmc-dr-media-slide {
    width: 680px;
    height: 382px;
  }
}

@media (max-width: 767px) {
  .dmc-dr-media-slide {
    width: 290px;
    height: 163px;
    border-radius: 20px;
  }
  .dmc-dr-media-slide iframe {
    border-radius: 20px;
  }
  .dmc-dr-media-nav {
    margin-top: 15px;
  }
}

/* ============================================================
   Professional Experience Section Styling (New Image-Based Layout)
   ============================================================ */
.dmc-dr-experience-sec {
  background: transparent;
  padding: 100px 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.dmc-dr-experience-new-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  gap: 70px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 40px;
  direction: rtl;
}

.dmc-dr-experience-new-right {
  width: 100%;
  max-width: 700px;
  box-sizing: border-box;
  min-width: 0;
}

.dmc-dr-experience-new-left {
  flex: 0 0 837px;
  width: 837px;
  height: 1054px;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dmc-dr-experience-new-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 40px;
  display: block;
}

.dmc-dr-experience-new-title {
  color: #283565;
  text-align: right;
  font-family: 'Polin', sans-serif;
  font-size: 62px !important;
  font-style: normal;
  font-weight: 700 !important;
  line-height: 72px !important;
  margin: 0 0 35px 0 !important;
}

.dmc-dr-experience-new-text p {
  color: #283565;
  text-align: right;
  font-family: 'Polin', sans-serif;
  font-size: 18px !important;
  font-style: normal;
  font-weight: 500 !important;
  line-height: normal !important;
  margin: 0 0 20px 0;
}

.dmc-dr-experience-new-text p:last-child {
  margin-bottom: 0;
}

/* Experience and bio sections readmore hidden on desktop */
.dmc-dr-experience-new-readmore-wrap,
.dmc-dr-experience-readmore-wrap,
.dmc-dr-bio-readmore-wrap {
  display: none !important;
}

/* ============================================================
   Therapeutic Approach Section Styling (Video-Based Layout)
   ============================================================ */
.dmc-dr-experience-video-sec {
  background: transparent;
  padding: 100px 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.dmc-dr-experience-split {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  direction: rtl;
}

.dmc-dr-experience-right {
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
}

.dmc-dr-experience-left {
  flex: 0 0 740px;
  width: 740px;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: flex-end;
}

.dmc-dr-experience-title {
  color: #283565;
  text-align: right;
  font-family: 'Polin', sans-serif;
  font-size: 62px !important;
  font-style: normal;
  font-weight: 700 !important;
  line-height: 62px !important;
  margin: 0 0 30px 0 !important;
}

.dmc-dr-experience-text {
  max-width: 602px;
}

.dmc-dr-experience-text p {
  color: #283565;
  text-align: right;
  font-family: 'Polin', sans-serif;
  font-size: 18px !important;
  font-style: normal;
  font-weight: 500 !important;
  line-height: 28px !important;
  margin: 0 0 20px 0;
}

.dmc-dr-experience-text p:last-child {
  margin-bottom: 0;
}

.dmc-dr-experience-video-card {
  width: 740px;
  max-width: 100%;
  height: 448.805px;
  aspect-ratio: 216/131;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #000;
  box-shadow: 0px 15px 45px rgba(8, 76, 153, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
}

.dmc-dr-experience-video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 20px 50px rgba(8, 76, 153, 0.15);
}

.dmc-dr-experience-video-cover {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  pointer-events: none;
}

.dmc-dr-experience-play-btn {
  width: 103.792px;
  height: 103.792px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  outline: none;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 3;
  pointer-events: none;
}

.dmc-dr-experience-play-btn img {
  width: 100%;
  height: 100%;
  display: block;
}

.dmc-dr-experience-video-card:hover .dmc-dr-experience-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
}

.dmc-dr-experience-video-card iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 40px;
  display: block;
  position: relative;
  z-index: 4;
}

/* Responsive constraints for New Experience Section */
@media (max-width: 1399px) {
  .dmc-dr-experience-new-wrapper {
    gap: 40px;
  }
  .dmc-dr-experience-new-left {
    flex: 0 0 600px;
    width: 600px;
    height: 756px;
  }
  .dmc-dr-experience-new-title {
    font-size: 48px !important;
    line-height: 56px !important;
  }
}

@media (max-width: 1024px) {
  .dmc-dr-experience-new-wrapper {
    gap: 30px;
  }
  .dmc-dr-experience-new-left {
    flex: 0 0 420px;
    width: 420px;
    height: 529px;
  }
  .dmc-dr-experience-new-title {
    font-size: 40px !important;
    line-height: 48px !important;
  }
  .dmc-dr-experience-new-text p {
    font-size: 17px !important;
  }
  
  .dmc-dr-experience-split {
    flex-direction: column-reverse !important;
    gap: 40px !important;
  }
  .dmc-dr-experience-video-card {
    height: 350px;
  }
  .dmc-dr-experience-title {
    font-size: 48px !important;
    line-height: 52px !important;
  }
}

@media (max-width: 767px) {
  /* Combined mobile overrides for titles */
  .dmc-dr-specialties-title,
  .dmc-dr-experience-new-title,
  .dmc-dr-specialties-title.dmc-dr-experience-title,
  .dmc-dr-experience-title,
  .dmc-clinic-services__title,
  .dmc-dr-education-title,
  .dmc-faq-float__title,
  .dmc-dr-spec-title-part1,
  .dmc-dr-spec-title-part2 {
    text-align: center !important;
    font-family: 'Polin', sans-serif !important;
    font-size: 42px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }

  .dmc-dr-experience-new-wrapper {
    flex-direction: column-reverse !important;
    gap: 30px !important;
    padding: 0 20px !important;
  }
  .dmc-dr-experience-new-left {
    flex: none !important;
    width: 100% !important;
    height: 530px !important;
    aspect-ratio: auto !important;
  }
  .dmc-dr-experience-new-img {
    border-radius: 20px !important;
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
  }
  .dmc-dr-experience-new-title {
    margin-bottom: 20px !important;
  }
  .dmc-dr-experience-new-text,
  .dmc-dr-experience-new-text p {
    color: #283565 !important;
    text-align: right !important;
    font-family: Polin, sans-serif !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: normal !important;
    margin-bottom: 12px !important;
  }
  .dmc-dr-experience-new-text.is-collapsed {
    display: -webkit-box !important;
    -webkit-line-clamp: 7 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .dmc-dr-experience-new-readmore-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    margin-top: 12px !important;
    margin-bottom: 24px !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
  }
  .dmc-dr-experience-new-readmore-btn {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    color: #283565 !important;
    text-align: center !important;
    font-family: Polin, sans-serif !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    cursor: pointer !important;
    outline: none !important;
  }
  .dmc-dr-experience-new-readmore-line {
    width: 61px !important;
    height: 2px !important;
    background: #087CF5 !important;
    margin-top: 4px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }
  
  .dmc-dr-experience-split {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 30px !important;
  }
  .dmc-dr-experience-right {
    display: contents !important;
  }
  .dmc-dr-experience-left {
    order: 2 !important;
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    justify-content: center !important;
    flex: none !important;
  }

  /* 1) Title */
  .dmc-dr-experience-title {
    order: 1 !important;
    margin-bottom: 20px !important;
  }

  /* 2) Video Card */
  .dmc-dr-experience-video-card {
    width: 100% !important;
    height: 194.078px !important;
    aspect-ratio: 216/131 !important;
    border-radius: 40px !important;
    overflow: hidden !important;
  }
  .dmc-dr-experience-video-card iframe {
    border-radius: 40px !important;
  }
  .dmc-dr-experience-play-btn {
    width: 44.883px !important;
    height: 44.883px !important;
  }
  .dmc-dr-experience-play-btn svg {
    width: 16px !important;
    height: 18px !important;
  }

  /* 3) Text & Readmore */
  .dmc-dr-experience-text {
    order: 3 !important;
    color: #283565 !important;
    text-align: right !important;
    font-family: Polin, sans-serif !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: normal !important;
    margin-bottom: 12px !important;
  }
  .dmc-dr-experience-text p {
    color: #283565 !important;
    text-align: right !important;
    font-family: Polin, sans-serif !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: normal !important;
    margin-bottom: 12px !important;
  }
  .dmc-dr-experience-text.is-collapsed {
    display: -webkit-box !important;
    -webkit-line-clamp: 6 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .dmc-dr-experience-readmore-wrap {
    order: 4 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    margin-top: 12px !important;
    margin-bottom: 24px !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
  }
  .dmc-dr-experience-readmore-btn {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    color: #283565 !important;
    text-align: center !important;
    font-family: Polin, sans-serif !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    cursor: pointer !important;
    outline: none !important;
  }
  .dmc-dr-experience-readmore-line {
    width: 61px !important;
    height: 2px !important;
    background: #087CF5 !important;
    margin-top: 4px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }
}

.dmc-faq-float__card .dmc-dr-slide-more-link,
.dmc-faq-mobile__answer .dmc-dr-slide-more-link {
  color: #087CF5 !important;
  font-family: Polin !important;
  font-size: 16px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: 28px !important;
  text-decoration-line: underline !important;
  text-decoration-style: solid !important;
  text-decoration-skip-ink: auto !important;
  text-decoration-thickness: auto !important;
  text-underline-offset: auto !important;
  text-underline-position: from-font !important;
  display: inline-block !important;
  margin-top: 35px !important;
}

.dmc-faq-mobile-top__btn {
  display: none !important;
}

/* ============================================================
   MOBILE RESPONSIVENESS AND PROPORTIONAL ALIGNMENT OVERRIDES (<= 767px)
   ============================================================ */
@media (max-width: 767px) {
  /* Unified vertical padding for all main sections */
  .dmc-dr-section-container {
    padding: 50px 0 !important;
  }

  /* Consistent, proportionally scaled heading typography */
  .dmc-dr-media-title {
    font-size: 28px !important;
    line-height: 34px !important;
    text-align: center !important;
    margin-bottom: 24px !important;
  }

  /* Specialties section vertical list item details */
  .dmc-dr-vertical-slide {
    padding: 15px 24px !important; /* reduce padding to prevent text clipping */
  }
  .dmc-dr-vertical-slide span {
    font-size: 16px !important; /* scale down font size for better wrapping space */
    line-height: 22px !important;
  }
  .dmc-dr-vertical-slide::after {
    width: 80px !important; /* shrink the graphic size on mobile */
    height: 78px !important;
    opacity: 0.25 !important; /* reduce opacity to increase text contrast */
  }

  /* Slider viewport adjustments */
  .dmc-dr-vertical-slider-viewport {
    max-width: 100% !important; /* allow full screen width on smaller viewports */
  }
}

/* ============================================================
   MOBILE OVERRIDES FOR DOCTOR TEMPLATE (sec-about & breadcrumbs)
   ============================================================ */
@media (max-width: 767px) {
  /* Breadcrumbs on mobile */
  .dmc-dr-story .dmc-about-breadcrumbs {
    display: block !important;
    color: #283565 !important;
    text-align: right !important;
    font-family: Polin, sans-serif !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    padding: 0 20px !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
  }
  .dmc-dr-story .dmc-about-breadcrumbs a {
    color: #283565 !important;
    text-decoration: none !important;
  }

  /* Watermark text on mobile */
  .dmc-dr-story .dmc-dr-bio-bg-text {
    font-family: Polin, sans-serif !important;
    font-size: 110.476px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 96.667px !important;
    border-radius: 20px !important;
    background: linear-gradient(90deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-overflow: clip !important;
    max-width: none !important;
    width: 100% !important;
  }

  /* Ordering of mobile elements for sec-about */
  .dmc-dr-bio-split {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .dmc-dr-bio-left {
    display: contents !important;
  }
  
  .dmc-dr-bio-title {
    order: 1 !important;
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    font-family: Polin, sans-serif !important;
    font-size: 42px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 42px !important;
    margin-bottom: 0 !important;
  }
  
  .dmc-dr-bio-desc {
    order: 2 !important;
    color: #283565 !important;
    text-align: center !important;
    font-family: Polin, sans-serif !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    margin-bottom: 12px !important;
  }

  /* Line clamp for description when collapsed */
  .dmc-dr-bio-desc.is-collapsed {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Biography desc heading sizes on mobile: make them smaller and hierarchy-oriented */
  .dmc-dr-bio-desc h2 {
    font-size: 20px !important;
    line-height: 26px !important;
    margin-top: 15px !important;
    margin-bottom: 10px !important;
  }
  .dmc-dr-bio-desc h3 {
    font-size: 18px !important;
    line-height: 24px !important;
    margin-top: 15px !important;
    margin-bottom: 10px !important;
  }
  .dmc-dr-bio-desc h4 {
    font-size: 16px !important;
    line-height: 22px !important;
    margin-top: 15px !important;
    margin-bottom: 10px !important;
  }

  /* Read more link wrap and button style: centered on mobile */
  .dmc-dr-bio-readmore-wrap {
    order: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    margin-bottom: 24px !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
  }
  .dmc-dr-bio-readmore-btn {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    color: #283565 !important;
    text-align: center !important;
    font-family: Polin, sans-serif !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    cursor: pointer !important;
    outline: none !important;
  }
  .dmc-dr-readmore-line {
    width: 61px !important;
    height: 2px !important;
    background: #087CF5 !important;
    margin-top: 4px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .dmc-dr-bio-right {
    order: 4 !important;
    margin-bottom: 30px !important;
    width: 100% !important;
  }

  /* Image wrap height override on mobile */
  .dmc-dr-bio-image-wrap {
    height: 275.693px !important;
    width: 100% !important;
    aspect-ratio: auto !important;
  }

  .dmc-dr-bio-info-grid {
    order: 5 !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 24px !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  .dmc-dr-bio-info-divider {
    display: none !important;
  }
  .dmc-dr-bio-info-block {
    width: 100% !important;
    text-align: right !important;
    align-items: flex-start !important;
  }
  .dmc-dr-bio-info-label {
    color: #283565 !important;
    text-align: right !important;
    font-family: Polin, sans-serif !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: normal !important;
  }
  .dmc-dr-bio-info-value {
    color: #283565 !important;
    text-align: right !important;
    font-family: Polin, sans-serif !important;
    font-size: 20px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: normal !important;
  }

  /* Centered Divider at the bottom of sec-about */
  .dmc-dr-bio-divider {
    order: 6 !important;
    display: block !important;
    width: 320px !important;
    height: 1px !important;
    opacity: 0.2 !important;
    background: #000 !important;
    margin: 42px auto 52px auto !important; /* centered and margins 42px top, 52px bottom */
  }

  /* Section padding overrides on mobile */
  #sec-about {
    padding-bottom: 0 !important;
  }
  #sec-specialties {
    padding-top: 0 !important;
  }


  .dmc-dr-specialties-desc,
  .dmc-dr-specialties-desc p {
    color: #283565 !important;
    text-align: right !important;
    font-family: Polin, sans-serif !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    margin: 0 0 10px 0 !important;
  }
  .dmc-dr-specialties-subtitle {
    color: #283565 !important;
    text-align: right !important;
    font-family: Polin, sans-serif !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: normal !important;
  }

  /* Specialties vertical slider overrides on mobile */
  .dmc-dr-vertical-slider-viewport {
    height: 508px !important; /* exactly (80 * 5) + (27 * 4) */
  }
  .dmc-dr-vertical-slide {
    height: 80px !important;
    padding: 14px 16px 14px 70px !important; /* user requested custom padding */
    color: #283565 !important;
    text-align: right !important;
    font-family: Polin, sans-serif !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: normal !important;
  }
  .dmc-dr-vertical-slide span {
    color: #283565 !important;
    text-align: right !important;
    font-family: Polin, sans-serif !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: normal !important;
  }
  .dmc-dr-vertical-slide::after {
    width: 60px !important; /* shrink vector graphic to fit the 80px height */
    height: 58px !important;
    left: 5px !important;
    opacity: 0.25 !important;
  }

  /* Services tabs section mobile overrides */
  .dmc-services-tabs__pane {
    padding: 35px 20px 27px !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
  }

  .dmc-services-tabs__text-content {
    display: contents !important;
  }

  .dmc-services-tabs__pane-title {
    order: 1 !important;
    color: #283565 !important;
    text-align: center !important;
    font-family: 'Polin', sans-serif !important;
    font-size: 32px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 32px !important;
    margin-bottom: 0 !important;
  }

  .dmc-services-tabs__pane-desc {
    order: 2 !important;
    color: #283565 !important;
    text-align: right !important;
    font-family: 'Polin', sans-serif !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    width: 100% !important;
    margin-top: 15px !important;
    margin-bottom: 0 !important;
  }

  .dmc-services-tabs__image-wrap {
    order: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 233px !important;
    border-radius: 20px !important;
    margin-top: 20px !important;
    margin-bottom: 0 !important;
  }

  .dmc-treatment-stack-card__btn.dmc-services-tabs__btn {
    order: 4 !important;
    color: #FFF !important;
    display: inline-flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    text-align: center !important;
    font-family: 'Polin', sans-serif !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: normal !important;
    width: 100% !important;
    align-self: center !important;
    margin-top: 20px !important;
    box-sizing: border-box !important;
    padding: 0 14px !important;
  }

  .dmc-treatment-stack-card__btn.dmc-services-tabs__btn .dmc-treatment-stack-card__btn-text {
    color: #FFF !important;
    font-family: 'Polin', sans-serif !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: normal !important;
    flex: 1 !important;
    text-align: center !important;
  }

  /* Mobile FAQ top CTA button (before dmc-faq-mobile) */
  .dmc-faq-mobile-top__btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    width: 223px !important;
    height: 49px !important;
    border-radius: 50px !important;
    background: #087CF5 !important;
    color: #FFFFFF !important;
    margin: 0 auto 35px auto !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    box-shadow: 0 8px 25px rgba(8, 124, 245, 0.2) !important;
  }

  .dmc-faq-mobile-top__btn-text {
    font-family: 'Polin', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    text-align: center !important;
    width: 100% !important;
    padding-left: 7% !important;
  }

  .dmc-faq-mobile-top__btn-icon {
    position: absolute !important;
    left: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    background: #FFFFFF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .dmc-faq-mobile-top__btn-icon svg {
    width: 14px !important;
    height: 14px !important;
  }

  .dmc-faq-mobile-top__btn-icon svg path {
    stroke: #087CF5 !important;
  }

  .dmc-dr-story .dmc-faq-float__center {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 30px auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  /* Padding bottom overrides */
  #sec-faq.dmc-dr-faq-sec,
  .dmc-faq-float,
  #sec-branch.dmc-dr-branch-sec {
    padding-bottom: 0 !important;
  }

  /* Branch Section Mobile Improvements */
  .dmc-dr-branch-sec .dmc-new-hero__two-cols {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    width: 100% !important;
  }

  .dmc-dr-branch-sec .dmc-new-hero__content {
    width: 100% !important;
    max-width: 100% !important;
    order: 1 !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .dmc-dr-branch-sec .dmc-new-hero__title {
    color: #283565 !important;
    text-align: right !important;
    font-family: 'Polin', sans-serif !important;
    font-size: 42px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 72px !important;
    margin-bottom: 10px !important;
    width: 100% !important;
  }

  .dmc-dr-branch-sec .dmc-new-hero__subtitle {
    color: #283565 !important;
    text-align: right !important;
    font-family: 'Polin', sans-serif !important;
    font-size: 25px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 25px !important;
    margin: 0 !important;
    width: 100% !important;
  }

  .dmc-dr-branch-sec .dmc-new-hero__desc {
    color: #283565 !important;
    text-align: right !important;
    font-family: 'Polin', sans-serif !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    margin-bottom: 25px !important;
    width: 100% !important;
  }

  .dmc-dr-branch-sec .dmc-new-hero__info-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: right !important;
    gap: 15px !important;
    margin-bottom: 30px !important;
    width: 100% !important;
  }

  .dmc-dr-branch-sec .dmc-new-hero__info-divider {
    display: none !important;
  }

  .dmc-dr-branch-sec .dmc-new-hero__info-item {
    align-items: flex-start !important;
    text-align: right !important;
    width: 100% !important;
  }

  .dmc-dr-branch-sec .dmc-new-hero__info-label {
    text-align: right !important;
    color: #283565 !important;
    font-family: 'Polin', sans-serif !important;
    width: 100% !important;
  }

  .dmc-dr-branch-sec .dmc-new-hero__info-value {
    text-align: right !important;
    color: #283565 !important;
    font-family: 'Polin', sans-serif !important;
    width: 100% !important;
  }

  .dmc-dr-branch-sec .dmc-new-hero__info-value a {
    color: #283565 !important;
  }

  .dmc-dr-branch-sec .dmc-new-hero__cta-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 15px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .dmc-dr-branch-sec .dmc-treatment-stack-card__btn {
    width: 192px !important;
    height: 57px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #087CF5 !important;
    border-radius: 50px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    padding: 0 25px 0 14px !important;
    margin-left: auto !important;
  }

  .dmc-dr-branch-sec .dmc-treatment-stack-card__btn .dmc-treatment-stack-card__btn-text {
    color: #FFF !important;
    font-family: 'Polin', sans-serif !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: normal !important;
    flex: 1 !important;
    text-align: center !important;
  }

  .dmc-dr-branch-sec .dmc-treatment-stack-card__btn .dmc-treatment-stack-card__btn-icon {
    display: flex !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #FFFFFF !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  .dmc-dr-branch-sec .dmc-new-hero__btn--whatsapp {
    width: 265px !important;
    height: 57px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #27B06C !important;
    border-radius: 50px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    padding: 0 24px 0 12px !important;
    margin-left: auto !important;
  }

  .dmc-dr-branch-sec .dmc-new-hero__btn--whatsapp .dmc-new-hero__btn-text {
    color: #FFF !important;
    font-family: 'Polin', sans-serif !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: normal !important;
    flex: 1 !important;
    text-align: center !important;
  }

  .dmc-dr-branch-sec .dmc-new-hero__btn--whatsapp .dmc-new-hero__btn-icon {
    display: flex !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #FFFFFF !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  .dmc-dr-branch-sec .dmc-new-hero__image-wrap {
    order: 2 !important;
    width: 100% !important;
    height: 250px !important;
    margin: 0 !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
  }

  .dmc-dr-branch-sec .dmc-new-hero__image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 20px !important;
  }

  /* Accordion mobile typography and graphic scale improvements */
  .dmc-faq-mobile__question span {
    color: #283565 !important;
    text-align: right !important;
    font-family: 'Polin', sans-serif !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: normal !important;
  }

  .dmc-faq-mobile__arrow {
    width: 26px !important;
    height: 32px !important;
  }

  .dmc-dr-branch-sec .dmc-treatment-stack-card__btn {
    margin-right: 0 !important;
  }

  .dmc-faq-float__sticky-container {
    padding: 0 30px;
  }
}

@media (min-width: 1024px) {
  .dmc-dr-page-wrapper.dmc-dr-story {
    padding-top: 60px !important;
  }
  .dmc-dr-section-container.dmc-dr-bio-sec {
    padding-top: 0 !important;
  }
}
