html,
body {
  overflow-x: hidden !important;
}

/* Keep one header implementation. */
#rec791093487,
#rec1161657436,
#rec796873005 {
  display: none !important;
}

/* Medium widths: separate the location label from the callback button. */
@media screen and (min-width: 640px) and (max-width: 1199px) {
  #rec796891199 .tn-elem[data-elem-id="1752486762853"] {
    left: calc(50% - 140px) !important;
    width: 220px !important;
    transform: none !important;
  }
}

/* Small widths: keep header elements and legacy text blocks inside the viewport. */
@media screen and (max-width: 639px) {
  #rec796891199 .tn-elem[data-elem-id="1752486762853"] {
    left: 50% !important;
    width: 280px !important;
    transform: translateX(-50%) !important;
  }

  #rec796891199 .tn-elem[data-elem-id="1726135463544"] {
    left: 50% !important;
    width: 150px !important;
    transform: translateX(-50%) !important;
  }

  #rec1161657456 .tn-elem[data-elem-id="1724938044318"],
  #rec1161657456 .tn-elem[data-elem-id="1724938786080"] {
    left: 16px !important;
    width: calc(100% - 32px) !important;
    transform: none !important;
  }

  #rec1161657456 .tn-elem[data-elem-id="1724938044318"] .tn-atom,
  #rec1161657456 .tn-elem[data-elem-id="1724938786080"] .tn-atom {
    width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  #rec1161657461 .tn-elem[data-elem-id="1625051211433"] {
    left: 0 !important;
    width: 100% !important;
    transform: none !important;
  }

  #rec1161657461 .tn-elem[data-elem-id="1625051211433"] .tn-atom {
    width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .t396__artboard,
  .t396__filter,
  .t396__carrier {
    max-width: 100vw;
    overflow-x: hidden !important;
  }
}

/* Remove the baked-in text from the cover artwork; keep the photo area and CTA. */
#recorddiv1161657451 .t-cover__carrier {
  background-image:
    linear-gradient(to bottom, #a51bc3 0%, #a51bc3 45%, transparent 45%, transparent 100%),
    url("https://optim.tildacdn.com/tild6633-3961-4231-a265-303061376334/-/format/webp/0b406144-a0e5-4ca2-9.png.webp") !important;
  background-size: 100% 100%, 100% 100% !important;
  background-position: center top, center top !important;
  background-repeat: no-repeat, no-repeat !important;
}

#recorddiv1161657451 .t-cover__carrier::before,
#recorddiv1161657451 .t-cover__carrier::after {
  display: none !important;
  content: none !important;
}

/* Replace the custom semantic block with the standard Tilda title block. */
#rec3133106501 {
  display: none !important;
}
#rec3133338301 {
  background-color: #a51bc3 !important;
}
#rec3133338301 [field="title"],
#rec3133338301 [field="descr"] {
  color: #ffffff !important;
}
@media screen and (max-width: 639px) {
}

/* Responsive typography for the standard Tilda block; height remains content-driven. */
#rec3133338301 [field="title"] {
  font-size: 64px !important;
  line-height: 1.08 !important;
}
#rec3133338301 [field="descr"] {
  font-size: 24px !important;
  line-height: 1.3 !important;
}
@media screen and (max-width: 639px) {
  #rec3133338301 [field="title"] {
    font-size: 34px !important;
    line-height: 1.12 !important;
  }
  #rec3133338301 [field="descr"] {
    font-size: 18px !important;
    line-height: 1.3 !important;
  }
}

/* Compact the legacy cover section; the standard TL01 block remains content-driven. */
@media screen and (min-width: 640px) {
  #rec1161657451,
  #record1161657451,
  #recorddiv1161657451,
  #recorddiv1161657451 .t-cover__carrier,
  #recorddiv1161657451 .t-cover__wrapper {
    height: 460px !important;
    min-height: 460px !important;
  }
}
@media screen and (max-width: 639px) {
  #rec1161657451,
  #record1161657451,
  #recorddiv1161657451,
  #recorddiv1161657451 .t-cover__carrier,
  #recorddiv1161657451 .t-cover__wrapper {
    height: 420px !important;
    min-height: 420px !important;
  }
}

/* Prevent the legacy cover filter from retaining its original 982px inline height. */
#recorddiv1161657451 {
  overflow: hidden !important;
}
#recorddiv1161657451 .t-cover__filter {
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  overflow: hidden !important;
}

/* CR15: show only the lower photo part of the source image; hide the baked-in text. */
#recorddiv1161657451 .t-cover__carrier {
  background-image: url("https://static.tildacdn.com/tild6633-3961-4231-a265-303061376334/0b406144-a0e5-4ca2-9.png") !important;
  background-size: auto 190% !important;
  background-position: center bottom !important;
  background-repeat: no-repeat !important;
}
#recorddiv1161657451 .t-cover__carrier::before,
#recorddiv1161657451 .t-cover__carrier::after {
  display: none !important;
  content: none !important;
}


/* CTA belongs to the SEO block itself. */
#rec3133338301 [field="descr"] a[href="#rec1161657486"] {
  display: inline-block !important;
  margin-top: 26px !important;
  padding: 16px 32px !important;
  color: #ffffff !important;
  background-color: #ae60d1 !important;
  border: 0 !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
}
#rec3133338301 [field="descr"] a[href="#rec1161657486"]:hover {
  background-color: #bd70dd !important;
}
#rec3133504501 {
  display: none !important;
}
@media screen and (max-width: 639px) {
  #rec3133338301 [field="descr"] a[href="#rec1161657486"] {
    margin-top: 22px !important;
    padding: 14px 20px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
  }
}

/* Hide the legacy CR15 CTA; the only CTA is now inside the SEO block. */
#recorddiv1161657451 a[href="#rec787706707"] {
  display: none !important;
}
