:root {
  --surface: #ffffff;
  --text: #101828;
  --brand: #8c1239;
  --muted: #475467;
}

@font-face {
  font-family: "DG-FontAwesome-Solid";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("/fonts/fa-solid-900.woff2") format("woff2");
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  background: var(--surface);
  color: var(--text);
}

a {
  color: var(--brand);
}

/* Elementor sets background:transparent + margin:0 on hr but does not
   clear the browser-default border, so hr inside card descriptions
   renders as a visible line on localhost but not on the live site. */
.content-doc--elementor .elementor hr {
  border: none;
}

.elementor-location-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.dg-header-sticky {
  position: relative;
  z-index: inherit;
}

.route-shell {
  width: 100%;
}

.content-doc,
.testimonial {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

.content-doc--elementor {
  width: 100%;
  margin: 0;
  padding: 0;
}

.content-doc--elementor
  .elementor-1670
  .elementor-element.elementor-element-53c9159
  .elementor-heading-title,
.content-doc--elementor
  .elementor-1670
  .elementor-element.elementor-element-e685288
  .elementor-heading-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 16px !important;
  letter-spacing: 1.6px !important;
  text-transform: uppercase !important;
  color: #c2a594 !important;
}

.content-doc--elementor
  .elementor-1670
  .elementor-element.elementor-element-b47f30a
  .elementor-heading-title,
.content-doc--elementor
  .elementor-1670
  .elementor-element.elementor-element-d56179b
  .elementor-heading-title {
  font-weight: 500 !important;
  line-height: 1.1 !important;
  letter-spacing: 0;
  color: #3f3f3f !important;
}

/* Match the live home swoosh intro state (hidden + clipped until reveal animation runs). */
.content-doc--elementor .reveal {
  animation-delay: 1000ms;
  animation-name: reveal-from-left;
  animation-duration: 1s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
  overflow: hidden;
  max-width: 350px;
  visibility: hidden;
}

@keyframes reveal-from-left {
  0% {
    width: 0;
  }
  1% {
    visibility: visible;
  }
  100% {
    width: 350px;
    visibility: visible;
  }
}

/* Home testimonial quote icons: use a local copy of the exact FA solid font so
   they match production and do not fail on localhost due to cross-origin font restrictions. */
.content-doc--elementor
  .elementor-1670
  .elementor-element.elementor-element-97bc714
  .elementor-icon
  i,
.content-doc--elementor
  .elementor-1670
  .elementor-element.elementor-element-f82a3d0
  .elementor-icon
  i {
  font-family: "DG-FontAwesome-Solid" !important;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.content-doc--elementor
  .elementor-1670
  .elementor-element.elementor-element-97bc714
  .elementor-icon
  i::before {
  content: "\f10d" !important;
}

.content-doc--elementor
  .elementor-1670
  .elementor-element.elementor-element-f82a3d0
  .elementor-icon
  i::before {
  content: "\f10e" !important;
}

/* Keep testimonials content visible when slick JS is not initialized locally. */
.content-doc--elementor
  .pp-testimonials.pp-slick-slider:not(.slick-initialized) {
  height: auto !important;
}

.content-doc--elementor
  .pp-testimonials.pp-slick-slider:not(.slick-initialized)
  .pp-testimonial-slide {
  display: block !important;
}

.content-doc--elementor
  .pp-testimonials.pp-slick-slider:not(.slick-initialized)
  .pp-testimonial-slide:not(:first-child) {
  display: none !important;
}

/* Live parity: the book landing page does not show the legacy CTA footer promo sections. */
body.elementor-page-1887
  .elementor-1755
  .elementor-element.elementor-element-48bc340,
body.elementor-page-1887
  .elementor-1755
  .elementor-element.elementor-element-3cfb688,
body.elementor-page-1887
  .elementor-1755
  .elementor-element.elementor-element-3dbfe90 {
  display: none !important;
}

/* Elementor's entrance-animation JS does not run on the static build,
   so all animation-gated elements must be forced visible. */
.content-doc--elementor .elementor-invisible {
  visibility: visible !important;
}

/* WordPress custom CSS (wp-custom-css) ported from the live site. */
.talk-boxes .readmoretoggle {
  margin-bottom: 0;
}

.page-id-5229 .readmoretoggle {
  display: block !important;
}

/* Premium Addons equal-height: columns stretch to equal height via flex.
   Widget-wrap uses column direction so margin-top:auto on the Read More
   toggle pushes it and the CTA button to the bottom, keeping them
   aligned across all cards in the row. */
.talk-boxes .elementor-widget-wrap {
  flex-direction: column;
}

.talk-boxes .elementor-widget-wrap > .elementor-widget:not(:last-child) {
  margin-block-end: 0;
}

.talk-boxes .elementor-widget-wrap > .hide_readmore {
  margin-top: auto;
}

.talk-boxes .readmoretoggle .elementor-tab-title {
  padding-top: 0 !important;
}

.talk-boxes .elementor-container:has(.elementor-active) {
  align-items: flex-start;
}

/* Workshops: show read-more toggles (hidden by child-theme default). */
body.elementor-page-5229 .elementor-5229 .readmoretoggle.hide_readmore {
  display: block !important;
}

.testimonial h1 {
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  line-height: 1.2;
}

.testimonial-copy {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

img,
iframe,
video {
  max-width: 100%;
}

/* Keep the client logo carousel movement linear like live. */
.content-doc--elementor
  .comp-logos
  .elementor-image-carousel-wrapper
  .swiper-wrapper {
  transition-timing-function: linear !important;
}

#wpfront-scroll-top-container {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 20px;
  cursor: pointer;
  z-index: 9999;
  opacity: 0;
  transition: opacity 200ms ease;
}

#wpfront-scroll-top-container img {
  width: auto;
  height: auto;
}

body.dg-calendly-open {
  overflow: hidden;
}

.dg-calendly-overlay[hidden] {
  display: none !important;
}

.dg-calendly-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 10, 41, 0.75);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.dg-calendly-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.dg-calendly-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  transform: translateX(100%);
  transition: transform 1.5s ease;
}

.dg-calendly-overlay.is-open .dg-calendly-panel {
  transform: translateX(0);
}

.dg-calendly-close {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 2;
  border: 0;
  background: #bc2649;
  color: #fff;
  width: 70px;
  height: 70px;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
}

.dg-calendly-hero {
  background-image: url("/styles/legacy/wp-content/uploads/2022/12/Donna-about-sec.jpg");
  background-size: cover;
  background-position: center;
}

.dg-calendly-content {
  background: #faf6f5;
  padding: 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dg-calendly-content h2 {
  margin: 0 0 16px;
  color: #bc2649;
  font-family: "Poppins", sans-serif;
  font-size: 46px;
  font-weight: 500;
  line-height: 1.2;
}

.dg-calendly-content p {
  margin: 0 0 24px;
  color: #3f3f3f;
  font-family: "Muli Regular", "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

.dg-calendly-content .calendly-inline-widget {
  min-width: 300px;
  max-width: 600px;
  width: 100%;
}

@media (max-width: 1024px) {
  .dg-calendly-panel {
    grid-template-columns: 1fr;
  }

  .dg-calendly-hero {
    display: none;
  }

  .dg-calendly-content {
    padding: 10%;
  }

  .dg-calendly-content h2 {
    font-size: 38px;
  }

  .dg-calendly-content {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .dg-calendly-panel {
    transform: translateY(100%);
    transition: transform 1.5s ease;
  }

  .dg-calendly-overlay.is-open .dg-calendly-panel {
    transform: translateY(0);
  }

  .dg-calendly-close {
    top: 3%;
    right: 6.6%;
    width: 54px;
    height: 54px;
    font-size: 28px;
  }

  .dg-calendly-content {
    padding: 15% 10%;
  }

  .dg-calendly-content h2 {
    font-size: 32px;
    text-align: center;
  }

  .dg-calendly-content .calendly-inline-widget {
    height: 70vh;
  }
}

/* ── Exit-Intent Popup ── */

body.dg-exit-open {
  overflow: hidden;
}

.dg-exit-overlay[hidden] {
  display: none !important;
}

.dg-exit-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.dg-exit-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.dg-exit-popup {
  position: relative;
  width: 640px;
  max-width: 92vw;
  padding: 48px 50px 40px;
  background: #4b6fbb;
  border-radius: 2px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transform: scale(0.85) translateY(20px);
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
  opacity: 0;
}

.dg-exit-overlay.is-open .dg-exit-popup {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.dg-exit-overlay .dg-exit-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent !important;
  color: #ffffffcc;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color 0.2s;
}

.dg-exit-overlay .dg-exit-close:hover {
  color: #fff;
  background: transparent !important;
}

.dg-exit-title {
  margin: 0 0 10px;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.dg-exit-subtitle {
  margin: 0 0 24px;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.dg-exit-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dg-exit-form-row {
  display: flex;
  gap: 8px;
}

.dg-exit-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 2px;
  background: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  color: #333;
  outline: none;
  transition: border-color 0.2s;
}

.dg-exit-input::placeholder {
  color: #999;
}

.dg-exit-input:focus {
  border-color: #bc2649;
}

.dg-exit-input--full {
  width: 100%;
}

.dg-exit-submit {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 2px;
  background: #bc2649;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: background 0.2s;
}

.dg-exit-submit:hover {
  background: #a01f3d;
}

@media (max-width: 480px) {
  .dg-exit-popup {
    padding: 28px 20px 22px;
  }

  .dg-exit-title {
    font-size: 18px;
  }

  .dg-exit-form-row {
    flex-direction: column;
  }
}
