
/* =====================================================
   GLOBAL RESET
===================================================== */

.dis-te-wisdom3,
.dis-te-wisdom3 *,
.dis-te-wisdom3 *::before,
.dis-te-wisdom3 *::after {
  box-sizing: border-box;
}

.dis-te-wisdom3 {
  --te3-gold: #d4a456;
  --te3-goldlight: #e5bf7c;
  --te3-dark: #202a2f;

  position: relative;
  isolation: isolate;

  display: block;

  width: 100%;
  min-width: 0;

  margin: 0;
  padding: 0;

  overflow: hidden;

  scroll-margin-top: 110px;

  background: var(--te3-dark);
  color: #ffffff;

  font-family: "Montserrat", Arial, sans-serif;
}


/* =====================================================
   SUBTLE BACKGROUND
===================================================== */

.dis-te-wisdom3::before {
  content: "";

  position: absolute;
  inset: 0;

  background: radial-gradient(
    ellipse at 92% 16%,
    rgba(198,151,69,.09),
    transparent 45%
  );

  pointer-events: none;
}


/* =====================================================
   MAIN CONTAINER
===================================================== */

.dis-te-wisdom3__container {
  position: relative;
  z-index: 1;

  width: calc(100% - 64px);
  max-width: 1400px;

  margin: 0 auto;
  padding: 0;
}


/* =====================================================
   TOP EDITORIAL BAR
===================================================== */

.dis-te-wisdom3__top {
  display: flex;

  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;

  gap: 14px 24px;

  margin: 0;
  padding: 25px 0;

  border-bottom:
    1px solid rgba(255,255,255,.16);

  color: rgba(255,255,255,.72);

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;

  line-height: 1.55;
  letter-spacing: .8px;
}


/* =====================================================
   MAIN GRID

   After removing the bottom banner,
   this becomes the complete section content.
===================================================== */

.dis-te-wisdom3__layout {
  display: grid;

  grid-template-columns:
    minmax(0,1.08fr)
    minmax(0,.92fr);

  align-items: center;

  gap: clamp(45px,5.8vw,95px);

  padding: 91px 0 108px;
}


/* =====================================================
   LEFT CONTENT
===================================================== */

.dis-te-wisdom3__content {
  min-width: 0;
  width: 100%;
}


/* =====================================================
   EYEBROW
===================================================== */

.dis-te-wisdom3__eyebrow {
  display: flex;
  align-items: center;

  gap: 14px;

  margin: 0 0 25px;

  color: var(--te3-goldlight);

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;

  line-height: 1.55;
  letter-spacing: 1px;
}

.dis-te-wisdom3__eyebrow-line {
  display: block;

  flex: 0 0 45px;

  width: 45px;
  height: 2px;

  background: var(--te3-gold);
}


/* =====================================================
   HEADING — TWO-LINE FIX
===================================================== */

.dis-te-wisdom3 h2,
.dis-te-wisdom3 #dis-te-wisdom3-title {
  display: block;

  width: 100%;
  max-width: none;

  margin: 0;
  padding: 0;

  color: #ffffff;

  font-family: "Oswald", Impact, sans-serif;

  /*
    Reduced slightly from old 77px size
    to fit the intentional two-line layout.
  */
  font-size: clamp(43px,4.45vw,68px);
  font-weight: 600;

  line-height: 1.13;
  letter-spacing: -.55px;

  text-align: left;
  text-transform: none;

  overflow-wrap: normal;
  word-break: normal;
}


/* =====================================================
   EXACTLY TWO TITLE LINES
===================================================== */

.dis-te-wisdom3__title-line {
  display: block;

  width: 100%;

  margin: 0;
  padding: 0;

  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;

  letter-spacing: inherit;

  white-space: nowrap;
}

.dis-te-wisdom3__title-line + .dis-te-wisdom3__title-line {
  margin-top: 5px;
}


/* WHITE WORDS */

.dis-te-wisdom3__title-white {
  display: inline;

  color: #ffffff;

  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;

  line-height: inherit;
}


/* GOLD WORDS */

.dis-te-wisdom3__title-gold {
  display: inline;

  color: var(--te3-goldlight);

  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;

  line-height: inherit;
}


/* =====================================================
   GOLD DIVIDER
===================================================== */

.dis-te-wisdom3__gold-rule {
  display: block;

  width: 90px;
  height: 2px;

  margin: 32px 0 28px;

  background: var(--te3-gold);
}


/* =====================================================
   APPROVED CLIENT PARAGRAPH
===================================================== */

.dis-te-wisdom3 .dis-te-wisdom3__description {
  width: 100%;
  max-width: 750px;

  margin: 0;
  padding: 0;

  color: rgba(255,255,255,.86);

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;

  line-height: 1.86;
  letter-spacing: 0;

  text-align: left;
}


/* =====================================================
   PROMINENT CTA
===================================================== */

.dis-te-wisdom3__actions {
  display: flex;
  align-items: center;

  width: 100%;

  margin: 39px 0 0;
  padding: 0;
}


/* =====================================================
   GOLD BUTTON — CLIENT FEEDBACK FIX

   Old:
   Font 13px
   Min-height 60px

   New:
   Font 16px bold
   Min-height 67px
   Larger horizontal padding
   Stronger shadow / contrast
===================================================== */

.dis-te-wisdom3 .dis-te-wisdom3__button,
.dis-te-wisdom3 .dis-te-wisdom3__button:visited {
  display: inline-flex;

  align-items: center;
  justify-content: space-between;

  gap: 38px;

  min-width: 284px;
  min-height: 67px;

  margin: 0;
  padding: 19px 26px;

  background: var(--te3-gold);

  color: #202a2f;

  border: 1px solid var(--te3-gold);
  border-radius: 0;

  box-shadow:
    0 14px 29px rgba(0,0,0,.22);

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;

  line-height: 1.45;
  letter-spacing: 0;

  text-align: center;
  text-decoration: none;

  cursor: pointer;

  transition:
    background .22s ease,
    border-color .22s ease,
    box-shadow .22s ease,
    transform .22s ease;
}


/* CTA ARROW */

.dis-te-wisdom3__button svg {
  display: block;

  flex: 0 0 21px;

  width: 21px;
  height: 21px;

  fill: none;
  stroke: currentColor;

  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition: transform .22s ease;
}


/* CTA HOVER */

.dis-te-wisdom3 .dis-te-wisdom3__button:hover {
  background: #edc780;

  border-color: #edc780;
  color: #202a2f;

  box-shadow:
    0 20px 36px rgba(0,0,0,.25);

  transform: translateY(-3px);
}

.dis-te-wisdom3__button:hover svg {
  transform: translateX(4px);
}


/* =====================================================
   RIGHT IMAGING MODULE
===================================================== */

.dis-te-wisdom3__visual {
  position: relative;

  width: 100%;
  min-width: 0;

  padding: 0 0 30px;
}


/* =====================================================
   CLINICAL IMAGE HEADER

   FULL PRACTICE NAME — NO DSI ABBREVIATION
===================================================== */

.dis-te-wisdom3__visual-header {
  display: flex;

  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;

  gap: 9px 18px;

  padding: 0 0 16px;

  border-bottom:
    1px solid rgba(221,177,102,.4);

  color: #e0b76e;

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;

  line-height: 1.55;
  letter-spacing: .5px;
}


/* =====================================================
   CBCT PHOTO
===================================================== */

.dis-te-wisdom3__figure {
  position: relative;

  display: block;

  width: 100%;
  height: 480px;

  margin: 17px 0 0;
  padding: 0;

  overflow: hidden;

  background: #404b4f;

  border:
    1px solid rgba(219,173,90,.3);
}

.dis-te-wisdom3__figure 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-te-wisdom3__visual:hover img {
  transform: scale(1.025);
}


/* =====================================================
   PHOTO CAPTION
===================================================== */

.dis-te-wisdom3__figure figcaption {
  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  display: flex;

  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;

  gap: 10px 20px;

  margin: 0;
  padding: 24px 21px;

  background: linear-gradient(
    0deg,
    rgba(20,30,34,.96),
    rgba(20,30,34,.2)
  );

  color: #ffffff;

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;

  line-height: 1.55;
  letter-spacing: .45px;
}

.dis-te-wisdom3__figure figcaption span:last-child {
  color: #e8c584;
}


/* =====================================================
   ORIGINAL THIRD MOLAR DETAIL
===================================================== */

.dis-te-wisdom3__visual-detail {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;

  gap: 20px;

  width: min(91%,340px);

  margin: -35px 0 0 auto;
  padding: 21px 23px;

  border-top:
    2px solid var(--te3-gold);

  background: #f4f0e7;

  box-shadow:
    0 20px 40px rgba(0,0,0,.2);
}


/* DECORATIVE NUMBER */

.dis-te-wisdom3__detail-number {
  color: #aa7c36;

  font-family: "Oswald", Impact, sans-serif;
  font-size: 54px;
  font-weight: 500;

  line-height: 1;
}


/* DETAIL TEXT */

.dis-te-wisdom3__visual-detail div {
  display: flex;
  flex-direction: column;

  gap: 5px;
}

.dis-te-wisdom3__visual-detail strong {
  color: #293337;

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;

  line-height: 1.5;
  letter-spacing: .65px;
}

.dis-te-wisdom3__visual-detail div span {
  color: #576265;

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;

  line-height: 1.55;
}


/* =====================================================
   BOTTOM FACT STRIP REMOVED

   No .dis-te-wisdom3__bottom element.
   No .dis-te-wisdom3__bottom-item styles.
   No blank space after the layout.
===================================================== */


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1020px) {

  .dis-te-wisdom3__container {
    width: calc(100% - 44px);
  }

  .dis-te-wisdom3__layout {
    grid-template-columns: 1fr;

    gap: 45px;

    padding: 80px 0 85px;
  }

  .dis-te-wisdom3__content {
    max-width: 800px;
  }

  .dis-te-wisdom3__visual {
    max-width: 760px;
  }

  .dis-te-wisdom3__figure {
    height: 430px;
  }

  .dis-te-wisdom3 h2 {
    font-size: clamp(48px,6.2vw,68px);
  }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

  .dis-te-wisdom3__container {
    width: calc(100% - 36px);
  }

  .dis-te-wisdom3__top {
    padding: 20px 0;

    font-size: 13px;
    letter-spacing: .25px;
  }

  .dis-te-wisdom3__layout {
    padding: 65px 0 75px;

    gap: 36px;
  }

  .dis-te-wisdom3__eyebrow {
    gap: 10px;

    margin-bottom: 20px;

    font-size: 13px;
    letter-spacing: .5px;
  }

  .dis-te-wisdom3__eyebrow-line {
    flex-basis: 30px;
    width: 30px;
  }


  /* KEEP EXACT TWO TITLE LINES ON MOBILE */

  .dis-te-wisdom3 h2,
  .dis-te-wisdom3 #dis-te-wisdom3-title {
    font-size: clamp(36px,7.5vw,48px);
    line-height: 1.15;
  }

  .dis-te-wisdom3__title-line {
    white-space: nowrap;
  }

  .dis-te-wisdom3__gold-rule {
    margin: 27px 0;
  }

  .dis-te-wisdom3 .dis-te-wisdom3__description {
    font-size: 16px;
    line-height: 1.78;
  }


  /* FULL-WIDTH PROMINENT MOBILE CTA */

  .dis-te-wisdom3__actions {
    margin-top: 32px;
  }

  .dis-te-wisdom3 .dis-te-wisdom3__button {
    display: flex;

    width: 100%;
    min-width: 0;

    min-height: 65px;

    justify-content: space-between;

    gap: 15px;

    padding: 17px 20px;

    font-size: 16px;
  }


  /* IMAGE */

  .dis-te-wisdom3__figure {
    height: 330px;
  }

  .dis-te-wisdom3__visual-header,
  .dis-te-wisdom3__figure figcaption {
    font-size: 13px;
  }

  .dis-te-wisdom3__visual-detail {
    width: min(96%,315px);

    padding: 17px 19px;
  }

  .dis-te-wisdom3__detail-number {
    font-size: 43px;
  }

}


/* =====================================================
   SMALL MOBILE — 320PX+
===================================================== */

@media (max-width: 420px) {

  .dis-te-wisdom3__container {
    width: calc(100% - 30px);
  }

  /*
    Slightly reduced heading on small screens,
    but kept large enough to remain readable.
  */

  .dis-te-wisdom3 h2,
  .dis-te-wisdom3 #dis-te-wisdom3-title {
    font-size: clamp(31px,9.2vw,38px);
  }

  .dis-te-wisdom3__figure {
    height: 285px;
  }

  .dis-te-wisdom3__visual-header {
    gap: 8px;
    letter-spacing: .15px;
  }

  .dis-te-wisdom3__visual-detail {
    gap: 13px;
  }

  .dis-te-wisdom3 .dis-te-wisdom3__button {
    padding: 16px 17px;
    font-size: 15px;
  }

}


/* =====================================================
   ACCESSIBILITY
===================================================== */

.dis-te-wisdom3 a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

  .dis-te-wisdom3__figure img,
  .dis-te-wisdom3__button,
  .dis-te-wisdom3__button svg {
    transition: none;
  }

}
