
/* =====================================================
   ELEMENTOR RESET
===================================================== */

.dis-fm-finance-v1,
.dis-fm-finance-v1 *,
.dis-fm-finance-v1 *::before,
.dis-fm-finance-v1 *::after {
  box-sizing: border-box;
}

.dis-fm-finance-v1 {
  --fmf-dark: #20282c;
  --fmf-gold: #d2a353;
  --fmf-gold-light: #dfb567;

  position: relative;
  isolation: isolate;

  display: block;

  width: 100%;
  margin: 0;
  padding: 0;

  overflow: hidden;

  background: var(--fmf-dark);
  color: #ffffff;

  font-family: "Montserrat", Arial, sans-serif;

  scroll-margin-top: 120px;
}


/* =====================================================
   CONTAINER
===================================================== */

.dis-fm-finance-v1__container {
  width: calc(100% - 64px);
  max-width: 1400px;

  margin: 0 auto;
  padding: 112px 0 122px;
}


/* =====================================================
   ORIGINAL TWO-COLUMN LAYOUT
===================================================== */

.dis-fm-finance-v1__layout {
  display: grid;

  grid-template-columns:
    minmax(0, .93fr)
    minmax(0, 1.07fr);

  align-items: center;

  gap: clamp(48px, 6vw, 100px);
}


/* =====================================================
   LEFT PHOTO
===================================================== */

.dis-fm-finance-v1__visual {
  position: relative;

  width: 100%;
  min-width: 0;

  padding: 23px 23px 25px 0;
}

.dis-fm-finance-v1__image {
  position: relative;

  width: 100%;
  height: 570px;

  overflow: hidden;

  background: #343d41;

  border: 1px solid rgba(255,255,255,.13);

  box-shadow:
    0 25px 60px rgba(0,0,0,.20);
}

.dis-fm-finance-v1__image 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-fm-finance-v1__visual:hover img {
  transform: scale(1.035);
}


/* =====================================================
   GOLD PHOTO CORNERS
===================================================== */

.dis-fm-finance-v1__corner {
  position: absolute;
  z-index: 2;

  width: 85px;
  height: 85px;

  pointer-events: none;
}

.dis-fm-finance-v1__corner--tl {
  top: 0;
  left: -17px;

  border-top: 2px solid #d4a75b;
  border-left: 2px solid #d4a75b;
}

.dis-fm-finance-v1__corner--br {
  right: 0;
  bottom: 0;

  border-right: 2px solid #d4a75b;
  border-bottom: 2px solid #d4a75b;
}


/* =====================================================
   IMAGE FOOTER
===================================================== */

.dis-fm-finance-v1__image-footer {
  position: absolute;
  z-index: 3;

  left: 25px;
  right: 47px;
  bottom: 52px;

  display: flex;
  align-items: center;

  gap: 12px;
  padding: 15px 18px;

  background: rgba(23,30,34,.89);

  color: rgba(255,255,255,.85);

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;

  line-height: 1.5;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.dis-fm-finance-v1__image-footer > span:first-child,
.dis-fm-finance-v1__image-footer > span:last-child {
  flex: 0 1 auto;
  min-width: 0;
}

.dis-fm-finance-v1__image-line {
  display: block;

  flex: 1 1 auto;

  min-width: 15px;
  height: 1px;

  background: rgba(211,166,88,.55);
}


/* =====================================================
   RIGHT CONTENT
===================================================== */

.dis-fm-finance-v1__content {
  width: 100%;
  min-width: 0;

  margin: 0;
  padding: 0;
}


/* =====================================================
   EYEBROW
===================================================== */

.dis-fm-finance-v1__eyebrow {
  display: flex;
  align-items: center;

  gap: 12px;
  margin: 0 0 25px;

  color: var(--fmf-gold-light);

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;

  line-height: 1.5;
  letter-spacing: 1.2px;
}

.dis-fm-finance-v1__eyebrow > span {
  display: block;

  flex: 0 0 53px;

  width: 53px;
  height: 2px;

  background: var(--fmf-gold);
}


/* =====================================================
   HEADING — CLIENT FEEDBACK FIX
===================================================== */

.dis-fm-finance-v1 h2,
.dis-fm-finance-v1 #dis-fm-finance-title {
  display: block;

  width: 100%;
  max-width: none;

  margin: 0;
  padding: 0;

  color: #ffffff;

  font-family: "Oswald", Impact, sans-serif;

  /*
    Slightly smaller than the original 68px heading,
    allowing the text to fit into two lines.
  */
  font-size: clamp(43px, 3.65vw, 58px);
  font-weight: 600;

  line-height: 1.14;
  letter-spacing: -.4px;

  text-align: left;
  text-transform: none;
}


/* =====================================================
   TWO DELIBERATE HEADING LINES
===================================================== */

.dis-fm-finance-v1__heading-line {
  display: block;

  width: 100%;

  margin: 0;
  padding: 0;

  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: normal;

  line-height: inherit;
  letter-spacing: inherit;
}


/* LINE 1 */

.dis-fm-finance-v1__heading-line--first {
  color: #ffffff;
}


/* =====================================================
   LINE 2 — SMILE + ACCESSIBLE TOGETHER
===================================================== */

.dis-fm-finance-v1__heading-line--second {
  display: flex;

  align-items: baseline;
  justify-content: flex-start;

  flex-wrap: nowrap;

  gap: .22em;

  width: 100%;

  margin-top: 5px;

  white-space: nowrap;
}


/* SMILE — WHITE */

.dis-fm-finance-v1__word-white {
  display: inline-block;

  flex: 0 0 auto;

  color: #ffffff;

  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}


/* ACCESSIBLE — GOLD */

.dis-fm-finance-v1__word-gold {
  display: inline-block;

  flex: 0 0 auto;

  color: var(--fmf-gold-light);

  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}


/*
  Prevent wrapping of the complete first line
  only where enough width is available.

  At smaller widths, first line wraps naturally;
  second line remains grouped.
*/

@media (min-width: 1141px) {

  .dis-fm-finance-v1__heading-line--first {
    white-space: nowrap;
  }

}


/* =====================================================
   GOLD DIVIDER
===================================================== */

.dis-fm-finance-v1__rule {
  display: flex;
  align-items: center;

  gap: 9px;

  margin: 30px 0 29px;
}

.dis-fm-finance-v1__rule > span {
  display: block;

  width: 83px;
  height: 2px;

  background: var(--fmf-gold);
}

.dis-fm-finance-v1__rule i {
  display: block;

  width: 7px;
  height: 7px;

  border: 1px solid var(--fmf-gold);

  transform: rotate(45deg);
}


/* =====================================================
   ORIGINAL CONTENT PARAGRAPH
===================================================== */

.dis-fm-finance-v1 .dis-fm-finance-v1__description {
  width: 100%;
  max-width: 735px;

  margin: 0;
  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;
}


/* =====================================================
   FINANCING CTA
===================================================== */

.dis-fm-finance-v1__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  margin: 36px 0 0;
  padding: 0;
}

.dis-fm-finance-v1 .dis-fm-finance-v1__button,
.dis-fm-finance-v1 .dis-fm-finance-v1__button:visited {
  display: inline-flex;

  align-items: center;
  justify-content: space-between;

  gap: 27px;

  min-height: 62px;

  margin: 0;
  padding: 16px 24px;

  color: #1d2529;

  background: var(--fmf-gold);
  border: 1px solid var(--fmf-gold);
  border-radius: 0;

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;

  line-height: 1.4;
  text-decoration: none;
  text-align: center;

  transition:
    background .2s ease,
    transform .2s ease;
}

.dis-fm-finance-v1__button svg {
  display: block;

  flex: 0 0 20px;

  width: 20px;
  height: 20px;

  fill: none;
  stroke: currentColor;

  stroke-width: 1.8;

  stroke-linecap: round;
  stroke-linejoin: round;
}

.dis-fm-finance-v1 .dis-fm-finance-v1__button:hover {
  background: #e7be74;
  border-color: #e7be74;

  color: #1d2529;

  transform: translateY(-3px);
}


/* =====================================================
   SMALL LAPTOP / TABLET

   Stack before the heading columns get too narrow.
===================================================== */

@media (max-width: 1140px) {

  .dis-fm-finance-v1__container {
    width: calc(100% - 44px);
    padding: 85px 0 96px;
  }

  .dis-fm-finance-v1__layout {
    grid-template-columns: 1fr;
    gap: 43px;
  }

  .dis-fm-finance-v1__visual {
    width: 100%;
    max-width: 760px;
  }

  .dis-fm-finance-v1__image {
    height: 435px;
  }

  .dis-fm-finance-v1__content {
    max-width: 850px;
  }

  .dis-fm-finance-v1 h2 {
    font-size: clamp(45px, 5.5vw, 62px);
  }

  .dis-fm-finance-v1__heading-line--first {
    white-space: normal;
  }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

  .dis-fm-finance-v1__container {
    width: calc(100% - 36px);
    padding: 70px 0 80px;
  }

  .dis-fm-finance-v1__layout {
    gap: 38px;
  }

  .dis-fm-finance-v1__visual {
    padding: 12px 12px 16px 0;
  }

  .dis-fm-finance-v1__image {
    height: 330px;
  }

  .dis-fm-finance-v1__corner {
    width: 55px;
    height: 55px;
  }

  .dis-fm-finance-v1__corner--tl {
    left: -8px;
  }

  .dis-fm-finance-v1__image-footer {
    left: 14px;
    right: 25px;
    bottom: 29px;

    padding: 12px;

    flex-wrap: wrap;

    font-size: 12px;
    letter-spacing: .2px;
  }

  .dis-fm-finance-v1__eyebrow {
    margin-bottom: 21px;

    font-size: 13px;
    letter-spacing: .6px;
  }

  .dis-fm-finance-v1__eyebrow > span {
    width: 31px;
    flex-basis: 31px;
  }

  /*
    Mobile heading scales naturally.

    "Smile Accessible" remains on one line.
  */

  .dis-fm-finance-v1 h2,
  .dis-fm-finance-v1 #dis-fm-finance-title {
    font-size: clamp(32px, 8.6vw, 43px);
    line-height: 1.16;
    letter-spacing: -.25px;
  }

  .dis-fm-finance-v1__heading-line--first {
    white-space: normal;
  }

  .dis-fm-finance-v1__heading-line--second {
    white-space: nowrap;
    gap: .18em;
    margin-top: 7px;
  }

  .dis-fm-finance-v1__rule {
    margin: 27px 0 26px;
  }

  .dis-fm-finance-v1 .dis-fm-finance-v1__description {
    font-size: 16px;
    line-height: 1.78;
  }

  .dis-fm-finance-v1__actions {
    margin-top: 31px;
  }

  .dis-fm-finance-v1 .dis-fm-finance-v1__button {
    width: 100%;
    min-height: 62px;
    font-size: 15px;
  }

}


/* =====================================================
   SMALL MOBILE — 320PX+
===================================================== */

@media (max-width: 420px) {

  .dis-fm-finance-v1__container {
    width: calc(100% - 30px);
  }

  .dis-fm-finance-v1__image {
    height: 285px;
  }

  .dis-fm-finance-v1 h2,
  .dis-fm-finance-v1 #dis-fm-finance-title {
    font-size: clamp(30px, 9vw, 37px);
  }

  .dis-fm-finance-v1__heading-line--second {
    gap: .14em;
  }

  .dis-fm-finance-v1__image-footer {
    bottom: 25px;
    right: 20px;
  }

}


/* =====================================================
   ACCESSIBILITY
===================================================== */

.dis-fm-finance-v1 a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

  .dis-fm-finance-v1__button,
  .dis-fm-finance-v1__image img {
    transition: none;
  }

}
