
/* =====================================================
   RESET / ELEMENTOR PROTECTION
===================================================== */

.dis-dsd-tech,
.dis-dsd-tech *,
.dis-dsd-tech *::before,
.dis-dsd-tech *::after {
  box-sizing: border-box;
}

.dis-dsd-tech {
  position: relative;
  isolation: isolate;

  display: block;
  width: 100%;

  margin: 0;
  padding: 0;

  overflow: hidden;

  background: #20282d;
  color: #ffffff;

  font-family: "Montserrat", Arial, sans-serif;
}


/* =====================================================
   CONTAINER
===================================================== */

.dis-dsd-tech__container {
  width: calc(100% - 64px);
  max-width: 1400px;

  margin: 0 auto;
  padding: 116px 0 123px;
}


/* =====================================================
   TWO-COLUMN GRID
===================================================== */

.dis-dsd-tech__grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.07fr)
    minmax(0, .93fr);

  align-items: center;

  gap: clamp(50px, 6.4vw, 108px);
}


/* =====================================================
   LEFT CONTENT
===================================================== */

.dis-dsd-tech__content {
  width: 100%;
  min-width: 0;
}


/* =====================================================
   EYEBROW
===================================================== */

.dis-dsd-tech__eyebrow {
  display: flex;
  align-items: center;

  gap: 13px;
  margin: 0 0 24px;

  color: #dfb66b;

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;

  line-height: 1.5;
  letter-spacing: 1.3px;
}

.dis-dsd-tech__eyebrow > span {
  display: block;

  flex: 0 0 53px;
  width: 53px;
  height: 2px;

  background: #d1a04a;
}


/* =====================================================
   HEADING
===================================================== */

.dis-dsd-tech h2 {
  max-width: 820px;

  margin: 0;
  padding: 0;

  color: #ffffff;

  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(47px, 4.8vw, 69px);
  font-weight: 600;

  line-height: 1.1;
  letter-spacing: -.5px;

  text-align: left;
  text-transform: none;
}

.dis-dsd-tech h2 em {
  display: block;

  color: #e0b66b;

  font: inherit;
  font-style: normal;
}


/* =====================================================
   HEADING DIVIDER
===================================================== */

.dis-dsd-tech__rule {
  display: flex;
  align-items: center;

  gap: 10px;
  margin: 29px 0 28px;
}

.dis-dsd-tech__rule span {
  display: block;

  width: 85px;
  height: 2px;

  background: #d1a04a;
}

.dis-dsd-tech__rule i {
  display: block;

  width: 7px;
  height: 7px;

  border: 1px solid #d1a04a;

  transform: rotate(45deg);
}


/* =====================================================
   ORIGINAL PARAGRAPHS
===================================================== */

.dis-dsd-tech__content p {
  max-width: 740px;

  margin: 0 0 23px;
  padding: 0;

  color: rgba(255,255,255,.85);

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;

  line-height: 1.85;
  letter-spacing: 0;

  text-align: left;
}

.dis-dsd-tech__content p:last-of-type {
  margin-bottom: 0;
}


/* =====================================================
   CLIENT FEEDBACK FIX

   Removed CSS for:
   .dis-dsd-tech__details
   .dis-dsd-tech__detail
   .dis-dsd-tech__detail-index

   No unused styles remain for the removed list.
===================================================== */


/* =====================================================
   CTA — BALANCED SPACING AFTER PARAGRAPHS
===================================================== */

.dis-dsd-tech .dis-dsd-tech__cta,
.dis-dsd-tech .dis-dsd-tech__cta:visited {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;

  gap: 25px;

  min-height: 62px;

  margin: 39px 0 0;
  padding: 16px 24px;

  background: #d1a04a;
  border: 1px solid #d1a04a;
  border-radius: 0;

  color: #20282d;

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;

  line-height: 1.4;
  text-decoration: none;

  transition:
    background .22s ease,
    transform .22s ease;
}

.dis-dsd-tech__cta svg {
  display: block;

  flex: 0 0 19px;
  width: 19px;
  height: 19px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;

  stroke-linecap: round;
  stroke-linejoin: round;
}

.dis-dsd-tech .dis-dsd-tech__cta:hover {
  background: #e8bd72;
  border-color: #e8bd72;
  color: #20282d;

  transform: translateY(-3px);
}


/* =====================================================
   PHOTO COMPOSITION
===================================================== */

.dis-dsd-tech__visual {
  position: relative;

  min-width: 0;

  padding: 0 24px 85px 0;
}


/* =====================================================
   MAIN DIGITAL DENTISTRY PHOTO
===================================================== */

.dis-dsd-tech__main-photo {
  position: relative;

  width: 100%;
  height: 520px;

  overflow: hidden;

  background: #343b3e;
  border: 1px solid rgba(222,179,102,.38);

  box-shadow:
    0 30px 65px rgba(0,0,0,.24);
}

.dis-dsd-tech__main-photo img {
  display: block;

  width: 100%;
  height: 100%;
  max-width: none;

  margin: 0;
  padding: 0;
  border: 0;

  object-fit: cover;
  object-position: center;

  transition: transform .6s ease;
}

.dis-dsd-tech__main-photo::after {
  content: "";

  position: absolute;
  inset: 17px;

  border: 1px solid rgba(255,255,255,.29);

  pointer-events: none;
}

.dis-dsd-tech__visual:hover .dis-dsd-tech__main-photo img {
  transform: scale(1.035);
}


/* =====================================================
   MAIN PHOTO LABEL
===================================================== */

.dis-dsd-tech__main-label {
  position: absolute;
  z-index: 2;

  left: 0;
  bottom: 0;

  padding: 15px 20px;

  background: rgba(24,31,35,.92);
  color: #e0b66b;

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;

  line-height: 1.5;
  letter-spacing: 1px;
}


/* =====================================================
   SECONDARY CBCT PANEL
===================================================== */

.dis-dsd-tech__secondary {
  position: absolute;
  z-index: 4;

  right: 0;
  bottom: 0;

  display: grid;

  grid-template-columns:
    160px minmax(0,1fr);

  align-items: center;

  width: min(92%,420px);
  min-height: 160px;

  background: #f5f2eb;

  border: 1px solid rgba(212,167,87,.9);

  box-shadow:
    0 20px 45px rgba(0,0,0,.20);
}

.dis-dsd-tech__secondary-image {
  height: 160px;

  overflow: hidden;

  background: #dcdedc;
}

.dis-dsd-tech__secondary-image img {
  display: block;

  width: 100%;
  height: 100%;
  max-width: none;

  margin: 0;
  padding: 0;

  object-fit: cover;
  object-position: center;
}

.dis-dsd-tech__secondary-text {
  display: flex;
  flex-direction: column;

  gap: 10px;

  padding: 18px 19px;
}

.dis-dsd-tech__secondary-text span {
  color: #ac7b36;

  font-family: "Oswald", Impact, sans-serif;
  font-size: 50px;
  font-weight: 500;

  line-height: 1;
}

.dis-dsd-tech__secondary-text strong {
  color: #2c3539;

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;

  line-height: 1.55;
  letter-spacing: .5px;
}


/* =====================================================
   GOLD CORNER
===================================================== */

.dis-dsd-tech__corner {
  position: absolute;

  top: -16px;
  right: 8px;

  width: 85px;
  height: 85px;

  border-top: 2px solid #d1a04a;
  border-right: 2px solid #d1a04a;

  pointer-events: none;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {

  .dis-dsd-tech__container {
    width: calc(100% - 44px);
    padding: 87px 0 96px;
  }

  .dis-dsd-tech__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .dis-dsd-tech__visual {
    max-width: 760px;
  }

  .dis-dsd-tech__main-photo {
    height: 465px;
  }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

  .dis-dsd-tech__container {
    width: calc(100% - 36px);
    padding: 70px 0 80px;
  }

  .dis-dsd-tech__eyebrow {
    font-size: 13px;
    letter-spacing: .5px;
    gap: 10px;
  }

  .dis-dsd-tech__eyebrow > span {
    flex-basis: 30px;
  }

  .dis-dsd-tech h2 {
    font-size: 40px;
  }

  .dis-dsd-tech__content p {
    font-size: 16px;
    line-height: 1.78;
  }

  /* BUTTON NOW FOLLOWS PARAGRAPH DIRECTLY */
  .dis-dsd-tech .dis-dsd-tech__cta {
    display: flex;
    width: 100%;

    justify-content: space-between;

    margin-top: 33px;
    font-size: 15px;
  }

  .dis-dsd-tech__visual {
    padding: 0 11px 75px 0;
  }

  .dis-dsd-tech__main-photo {
    height: 330px;
  }

  .dis-dsd-tech__main-label {
    font-size: 12px;
    letter-spacing: .5px;
  }

  .dis-dsd-tech__secondary {
    grid-template-columns:
      112px minmax(0,1fr);

    min-height: 116px;
    width: min(95%,330px);
  }

  .dis-dsd-tech__secondary-image {
    height: 116px;
  }

  .dis-dsd-tech__secondary-text {
    padding: 12px 15px;
  }

  .dis-dsd-tech__secondary-text span {
    font-size: 35px;
  }

  .dis-dsd-tech__secondary-text strong {
    font-size: 12px;
    letter-spacing: 0;
  }

  .dis-dsd-tech__corner {
    right: -1px;

    width: 55px;
    height: 55px;
  }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 420px) {

  .dis-dsd-tech__container {
    width: calc(100% - 30px);
  }

  .dis-dsd-tech h2 {
    font-size: 36px;
  }

  .dis-dsd-tech__main-photo {
    height: 285px;
  }

  .dis-dsd-tech__secondary {
    grid-template-columns:
      98px minmax(0,1fr);
  }

  .dis-dsd-tech__secondary-image {
    height: 116px;
  }

  .dis-dsd-tech__secondary-text {
    padding: 12px;
  }

}


/* =====================================================
   ACCESSIBILITY
===================================================== */

.dis-dsd-tech a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

  .dis-dsd-tech__main-photo img,
  .dis-dsd-tech__cta {
    transition: none;
  }

}
