/* Del Monaco LIVE V167
   Hard-fit repair for the lower Intensity & Mood headline.
   Scope: compact fragrance-profile strip only. Hero, gallery and header untouched.
*/

body.dm-live-v167-mood-hard-fit .dm-v160-profile-strip__inner {
  grid-template-columns: 1.02fr .94fr .94fr .94fr 1.62fr !important;
  align-items: stretch !important;
}

body.dm-live-v167-mood-hard-fit .dm-v160-profile-strip__mood {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  padding: 20px 22px 18px !important;
}

body.dm-live-v167-mood-hard-fit .dm-v160-profile-strip__mood-title {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: #f5ecd7 !important;
  font-family: "Cormorant Garamond", "Times New Roman", serif !important;
  font-size: var(--dm-v167-mood-font-size, 17px) !important;
  line-height: 1.04 !important;
  font-weight: 700 !important;
  letter-spacing: -.04em !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  text-wrap: nowrap !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  transform: none !important;
}

/* Neutralise word wrappers and older per-word animation layers. */
body.dm-live-v167-mood-hard-fit .dm-v160-profile-strip__mood-title > *,
body.dm-live-v167-mood-hard-fit .dm-v162-mood-line,
body.dm-live-v167-mood-hard-fit .dm-v163-mood-fit,
body.dm-live-v167-mood-hard-fit .dm-v164-word {
  display: inline !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: inherit !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  animation: none !important;
}

body.dm-live-v167-mood-hard-fit .dm-v160-profile-strip__mood-copy {
  max-width: 40ch !important;
  margin: 0 !important;
  font-size: clamp(12px, .78vw, 14px) !important;
  line-height: 1.42 !important;
}

body.dm-live-v167-mood-hard-fit .dm-v160-profile-strip {
  position: relative;
  overflow: hidden;
}

body.dm-live-v167-mood-hard-fit .dm-v160-profile-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 31%, rgba(225,184,82,.05) 48%, transparent 65%);
  background-size: 230% 100%;
  opacity: 0;
}

body.dm-live-v167-mood-hard-fit .dm-v160-profile-strip__mood-title,
body.dm-live-v167-mood-hard-fit .dm-v160-profile-strip__mood-copy {
  opacity: 0;
  transform: translateY(7px) !important;
}

body.dm-live-v167-mood-hard-fit .dm-v160-profile-strip.dm-v167-inview::after {
  opacity: 1;
  animation: dmV167Sheen 3.6s ease-out .08s 1 both;
}

body.dm-live-v167-mood-hard-fit .dm-v160-profile-strip.dm-v167-inview .dm-v160-profile-strip__mood-title,
body.dm-live-v167-mood-hard-fit .dm-v160-profile-strip.dm-v167-inview .dm-v160-profile-strip__mood-copy {
  opacity: 1;
  transform: translateY(0) !important;
  transition: opacity .58s ease, transform .68s cubic-bezier(.22,1,.36,1);
}

body.dm-live-v167-mood-hard-fit .dm-v160-profile-strip.dm-v167-inview .dm-v160-profile-strip__mood-copy {
  transition-delay: .09s;
}

@keyframes dmV167Sheen {
  from { background-position: 130% 0; }
  to   { background-position: -110% 0; }
}

@media (max-width: 1440px) {
  body.dm-live-v167-mood-hard-fit .dm-v160-profile-strip__inner {
    grid-template-columns: .98fr .9fr .9fr .9fr 1.72fr !important;
  }
  body.dm-live-v167-mood-hard-fit .dm-v160-profile-strip__mood {
    padding-inline: 18px !important;
  }
}

@media (max-width: 1060px) {
  body.dm-live-v167-mood-hard-fit .dm-v160-profile-strip__inner {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }
  body.dm-live-v167-mood-hard-fit .dm-v160-profile-strip__lead,
  body.dm-live-v167-mood-hard-fit .dm-v160-profile-strip__mood {
    grid-column: 1 / -1 !important;
  }
  body.dm-live-v167-mood-hard-fit .dm-v160-profile-strip__mood-title {
    white-space: normal !important;
    text-wrap: balance !important;
    overflow: visible !important;
    font-size: clamp(23px, 4vw, 32px) !important;
    letter-spacing: -.025em !important;
  }
}

@media (max-width: 640px) {
  body.dm-live-v167-mood-hard-fit .dm-v160-profile-strip__inner {
    grid-template-columns: 1fr !important;
  }
  body.dm-live-v167-mood-hard-fit .dm-v160-profile-strip__lead,
  body.dm-live-v167-mood-hard-fit .dm-v160-profile-strip__mood {
    grid-column: auto !important;
  }
  body.dm-live-v167-mood-hard-fit .dm-v160-profile-strip__mood {
    padding: 16px !important;
  }
  body.dm-live-v167-mood-hard-fit .dm-v160-profile-strip__mood-title {
    font-size: clamp(22px, 7.4vw, 31px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.dm-live-v167-mood-hard-fit .dm-v160-profile-strip::after { display: none !important; }
  body.dm-live-v167-mood-hard-fit .dm-v160-profile-strip__mood-title,
  body.dm-live-v167-mood-hard-fit .dm-v160-profile-strip__mood-copy {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}
