/* IPS Click Expand Cards */
.ips-hover-cards,
.ips-hover-cards * {
  box-sizing: border-box;
}

.ips-hover-cards {
  --ips-hec-collapsed-grow: 0.65;
  --ips-hec-expanded-grow: 2.4;
  --ips-hec-card-min-height: 450px;
  --ips-hec-direction: row;
  --ips-hec-direction-collapsed-flex: var(--ips-hec-collapsed-grow) 1 0%;
  --ips-hec-direction-active-flex: var(--ips-hec-expanded-grow) 1 0%;
  --ips-hec-direction-card-width: auto;
  --ips-hec-direction-card-min-width: var(--ips-hec-collapsed-card-min-width);
  --ips-hec-direction-card-min-height: var(--ips-hec-card-min-height);
  --ips-hec-fallback-root-margin-top: 0;
  --ips-hec-fallback-root-margin-left: calc(-1 * var(--ips-hec-gap));
  --ips-hec-fallback-card-margin-top: 0;
  --ips-hec-fallback-card-margin-left: var(--ips-hec-gap);
  --ips-hec-image-width: 43%;
  --ips-hec-top-image-width: 100%;
  --ips-hec-inline-image-width: 100%;
  --ips-hec-image-inset: 24px;
  --ips-hec-image-gap: 34px;
  --ips-hec-top-image-height: 250px;
  --ips-hec-content-flex: 0 0 auto;
  --ips-hec-inner-direction: row;
  --ips-hec-image-position: absolute;
  --ips-hec-image-order: 0;
  --ips-hec-image-height: auto;
  --ips-hec-image-max-height: none;
  --ips-hec-image-active-height: auto;
  --ips-hec-image-active-max-height: none;
  --ips-hec-image-active-margin-top: 0px;
  --ips-hec-image-active-margin-bottom: 0px;
  --ips-hec-mobile-image-height: 260px;
  --ips-hec-active-content-width: calc(
    100% - var(--ips-hec-image-width) - var(--ips-hec-image-gap)
  );
  --ips-hec-active-content-margin-left: 0;
  --ips-hec-image-left: auto;
  --ips-hec-image-right: var(--ips-hec-image-inset);
  --ips-hec-image-top: var(--ips-hec-image-inset);
  --ips-hec-image-bottom: var(--ips-hec-image-inset);
  --ips-hec-image-layer: 1;
  --ips-hec-image-render-width: var(--ips-hec-image-width);
  --ips-hec-image-render-max-width: 100%;
  --ips-hec-image-align-self: center;
  --ips-hec-image-margin-top: 0px;
  --ips-hec-image-margin-right: 0px;
  --ips-hec-image-margin-bottom: 0px;
  --ips-hec-image-margin-left: 0px;
  --ips-hec-inline-image-align: center;
  --ips-hec-image-overlay-current: transparent;
  --ips-hec-mobile-image-position: relative;
  --ips-hec-mobile-image-inset: auto;
  --ips-hec-mobile-image-collapsed-height: 0;
  --ips-hec-mobile-image-collapsed-max-height: 0;
  --ips-hec-mobile-image-active-height: var(--ips-hec-mobile-image-height);
  --ips-hec-mobile-image-active-max-height: var(--ips-hec-mobile-image-height);
  --ips-hec-mobile-image-active-margin: 24px;
  --ips-hec-mobile-image-render-max-width: 100%;
  --ips-hec-mobile-image-align-self: center;
  --ips-hec-badge-top-gap: 0px;
  --ips-hec-badge-bottom-gap: 24px;
  --ips-hec-eyebrow-top-gap: 0px;
  --ips-hec-eyebrow-bottom-gap: 10px;
  --ips-hec-title-top-gap: 0px;
  --ips-hec-title-bottom-gap: 10px;
  --ips-hec-image-top-gap: 34px;
  --ips-hec-image-bottom-gap: 0px;
  --ips-hec-description-top-gap: 0px;
  --ips-hec-description-bottom-gap: 0px;
  --ips-hec-meta-top-gap: 18px;
  --ips-hec-meta-bottom-gap: 0px;
  --ips-hec-meta-row-gap: 10px;
  --ips-hec-current-active-content-width: var(--ips-hec-active-content-width);
  --ips-hec-current-active-content-margin-left: var(--ips-hec-active-content-margin-left);
  --ips-hec-current-content-flex: var(--ips-hec-content-flex);
  --ips-hec-current-inner-direction: var(--ips-hec-inner-direction);
  --ips-hec-current-image-position: var(--ips-hec-image-position);
  --ips-hec-current-image-order: var(--ips-hec-image-order);
  --ips-hec-current-image-left: var(--ips-hec-image-left);
  --ips-hec-current-image-right: var(--ips-hec-image-right);
  --ips-hec-current-image-top: var(--ips-hec-image-top);
  --ips-hec-current-image-bottom: var(--ips-hec-image-bottom);
  --ips-hec-current-image-layer: var(--ips-hec-image-layer);
  --ips-hec-current-image-render-width: var(--ips-hec-image-render-width);
  --ips-hec-current-image-render-max-width: var(--ips-hec-image-render-max-width);
  --ips-hec-current-image-align-self: var(--ips-hec-image-align-self);
  --ips-hec-current-image-height: var(--ips-hec-image-height);
  --ips-hec-current-image-max-height: var(--ips-hec-image-max-height);
  --ips-hec-current-image-active-height: var(--ips-hec-image-active-height);
  --ips-hec-current-image-active-max-height: var(--ips-hec-image-active-max-height);
  --ips-hec-current-image-active-margin-top: var(--ips-hec-image-active-margin-top);
  --ips-hec-current-image-active-margin-bottom: var(--ips-hec-image-active-margin-bottom);
  --ips-hec-current-image-overlay: var(--ips-hec-image-overlay-current);
  --ips-hec-current-mobile-image-position: var(--ips-hec-mobile-image-position);
  --ips-hec-current-mobile-image-inset: var(--ips-hec-mobile-image-inset);
  --ips-hec-current-mobile-image-collapsed-height: var(--ips-hec-mobile-image-collapsed-height);
  --ips-hec-current-mobile-image-collapsed-max-height: var(--ips-hec-mobile-image-collapsed-max-height);
  --ips-hec-current-mobile-image-active-height: var(--ips-hec-mobile-image-active-height);
  --ips-hec-current-mobile-image-active-max-height: var(--ips-hec-mobile-image-active-max-height);
  --ips-hec-current-mobile-image-active-margin: var(--ips-hec-mobile-image-active-margin);
  --ips-hec-current-mobile-image-render-max-width: var(--ips-hec-mobile-image-render-max-width);
  --ips-hec-current-mobile-image-align-self: var(--ips-hec-mobile-image-align-self);
  --ips-hec-badge-order: 0;
  --ips-hec-copy-spacer-order: 0;
  --ips-hec-eyebrow-order: 0;
  --ips-hec-title-order: 0;
  --ips-hec-description-order: 0;
  --ips-hec-meta-order: 0;
  --ips-hec-button-order: 0;
  --ips-hec-copy-align: flex-start;
  --ips-hec-text-align: left;
  --ips-hec-badge-align: flex-start;
  --ips-hec-meta-justify: flex-start;
  --ips-hec-content-justify: flex-start;
  --ips-hec-copy-margin-top: auto;
  --ips-hec-collapsed-title-writing-mode: horizontal-tb;
  --ips-hec-collapsed-title-transform: none;
  --ips-hec-collapsed-title-width: 100%;
  --ips-hec-collapsed-title-max-width: 100%;
  --ips-hec-collapsed-title-margin: 0 0 var(--ips-hec-title-bottom-gap);
  --ips-hec-collapsed-title-align-self: auto;
  --ips-hec-collapsed-copy-align: var(--ips-hec-copy-align);
  --ips-hec-description-max-height: 360px;
  --ips-hec-meta-max-height: 260px;
  --ips-hec-gradient-angle: 135deg;
  --ips-hec-gap: 20px;
  --ips-hec-duration: 420ms;
  --ips-hec-detail-duration: 280ms;
  --ips-hec-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ips-hec-expand-animation: ips-hec-expand-fade-up;
  --ips-hec-expand-animation-distance: 14px;
  --ips-hec-expand-animation-delay: 40ms;
  --ips-hec-card-padding-top: 28px;
  --ips-hec-card-padding-right: 28px;
  --ips-hec-card-padding-bottom: 28px;
  --ips-hec-card-padding-left: 28px;
  --ips-hec-badge-size: 74px;
  --ips-hec-icon-size: 32px;
  --ips-hec-collapsed-icon-footprint: max(
    var(--ips-hec-badge-size),
    var(--ips-hec-icon-size)
  );
  --ips-hec-collapsed-badge-align: center;
  --ips-hec-collapsed-card-min-width: calc(
    var(--ips-hec-collapsed-icon-footprint) + 2px
  );
  --ips-hec-card-bg: #fff;
  --ips-hec-active-solid: #e8f9ff;
  --ips-hec-active-start: #e8f9ff;
  --ips-hec-active-middle: #fff;
  --ips-hec-active-end: #fff8dc;
  --ips-hec-border-color: #e1e4e8;
  --ips-hec-active-border: #cfe8ef;
  --ips-hec-image-overlay: rgba(12, 18, 28, 0.42);
  --ips-hec-accent: #f0af00;
  --ips-hec-badge-bg: transparent;
  --ips-hec-badge-color: #fff;
  --ips-hec-title-color: #20242a;
  --ips-hec-muted-color: #67707a;
  --ips-hec-meta-icon-size: 14px;
  --ips-hec-meta-icon-box-size: 18px;
  --ips-hec-meta-icon-color: #20242a;
  --ips-hec-button-justify: flex-start;
  --ips-hec-button-gap: 24px;
  --ips-hec-button-padding-top: 13px;
  --ips-hec-button-padding-right: 24px;
  --ips-hec-button-padding-bottom: 13px;
  --ips-hec-button-padding-left: 24px;
  --ips-hec-button-color: #fff;
  --ips-hec-button-bg: #159fea;
  --ips-hec-button-hover-color: #fff;
  --ips-hec-button-hover-bg: #117fbe;
  --ips-hec-focus-color: #10a8d5;
  --ips-hec-card-radius-tl: 18px;
  --ips-hec-card-radius-tr: 18px;
  --ips-hec-card-radius-br: 18px;
  --ips-hec-card-radius-bl: 18px;
  --ips-hec-image-radius-tl: 18px;
  --ips-hec-image-radius-tr: 18px;
  --ips-hec-image-radius-br: 18px;
  --ips-hec-image-radius-bl: 18px;
  display: flex;
  flex-direction: var(--ips-hec-direction);
  align-items: stretch;
  width: 100%;
  min-width: 0;
  gap: var(--ips-hec-gap);
}

.ips-hover-card {
  position: relative;
  isolation: isolate;
  contain: paint;
  flex: var(--ips-hec-direction-collapsed-flex);
  width: var(--ips-hec-direction-card-width);
  min-width: var(--ips-hec-direction-card-min-width);
  min-height: var(--ips-hec-direction-card-min-height);
  overflow: hidden !important;
  color: var(--ips-hec-title-color);
  background-color: var(--ips-hec-card-bg);
  background-image: none;
  border: 1px solid var(--ips-hec-border-color);
  border-radius: var(--ips-hec-card-radius-tl) var(--ips-hec-card-radius-tr) var(--ips-hec-card-radius-br) var(--ips-hec-card-radius-bl);
  cursor: pointer;
  outline: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    flex-grow var(--ips-hec-duration) var(--ips-hec-ease),
    border-color var(--ips-hec-detail-duration) ease,
    box-shadow var(--ips-hec-detail-duration) ease;
}

.ips-hover-card::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: '';
  background: linear-gradient(
    var(--ips-hec-gradient-angle),
    var(--ips-hec-active-start) 0%,
    var(--ips-hec-active-middle) 54%,
    var(--ips-hec-active-end) 100%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ips-hec-detail-duration) ease;
}

.ips-hover-card.is-active {
  flex: var(--ips-hec-direction-active-flex);
  border-color: var(--ips-hec-active-border);
}

.ips-hover-card.is-active::before {
  opacity: 1;
}

.ips-hover-card:focus-visible {
  outline: 3px solid var(--ips-hec-focus-color);
  outline-offset: 3px;
}

/* Inner structure */
.ips-hover-card__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: var(--ips-hec-current-inner-direction);
  width: 100%;
  min-height: inherit;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  padding:
    var(--ips-hec-card-padding-top)
    var(--ips-hec-card-padding-right)
    var(--ips-hec-card-padding-bottom)
    var(--ips-hec-card-padding-left);
}

.ips-hover-card__content {
  position: static;
  z-index: 2;
  display: flex;
  flex: var(--ips-hec-current-content-flex);
  flex-direction: column;
  width: 100%;
  min-width: 0;
  min-height: 0;
  margin-left: 0;
  justify-content: var(--ips-hec-content-justify);
  transition:
    width var(--ips-hec-duration) var(--ips-hec-ease),
    margin-left var(--ips-hec-duration) var(--ips-hec-ease);
}

.ips-hover-card.is-active.has-image .ips-hover-card__content {
  width: var(--ips-hec-current-active-content-width);
  margin-left: var(--ips-hec-current-active-content-margin-left);
}

.ips-hover-cards.ips-hover-cards--interacted
  .ips-hover-card.is-active
  .ips-hover-card__inner {
  animation-name: var(--ips-hec-expand-animation);
  animation-duration: var(--ips-hec-duration);
  animation-delay: var(--ips-hec-expand-animation-delay);
  animation-timing-function: var(--ips-hec-ease);
  animation-fill-mode: both;
  backface-visibility: hidden;
}

@keyframes ips-hec-expand-fade {
  from {
    opacity: 0.35;
  }

  to {
    opacity: 1;
  }
}

@keyframes ips-hec-expand-fade-up {
  from {
    opacity: 0.35;
    transform: translate3d(0, var(--ips-hec-expand-animation-distance), 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes ips-hec-expand-fade-down {
  from {
    opacity: 0.35;
    transform: translate3d(
      0,
      calc(0px - var(--ips-hec-expand-animation-distance)),
      0
    );
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes ips-hec-expand-from-left {
  from {
    opacity: 0.35;
    transform: translate3d(
      calc(0px - var(--ips-hec-expand-animation-distance)),
      0,
      0
    );
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes ips-hec-expand-from-right {
  from {
    opacity: 0.35;
    transform: translate3d(var(--ips-hec-expand-animation-distance), 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes ips-hec-expand-zoom {
  from {
    opacity: 0.35;
    transform: scale3d(0.96, 0.96, 1);
  }

  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}

/* Flexible content placement */
.ips-hover-card__copy {
  display: contents;
  text-align: var(--ips-hec-text-align);
}

.ips-hover-card__copy-spacer {
  order: var(--ips-hec-copy-spacer-order);
  width: 0;
  height: 0;
  margin-top: var(--ips-hec-copy-margin-top);
  flex: 0 0 auto;
}

.ips-hover-card:not(.is-active) .ips-hover-card__eyebrow,
.ips-hover-card:not(.is-active) .ips-hover-card__description,
.ips-hover-card:not(.is-active) .ips-hover-card__meta {
  align-self: var(--ips-hec-collapsed-copy-align);
}

.ips-hover-card__copy-spacer,
.ips-hover-card__eyebrow,
.ips-hover-card__title,
.ips-hover-card__description,
.ips-hover-card__meta,
.ips-hover-card__button-wrap {
  position: relative;
  z-index: 2;
}

/* Badge */
.ips-hover-card__badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--ips-hec-badge-size);
  height: var(--ips-hec-badge-size);
  margin: var(--ips-hec-badge-top-gap) 0 var(--ips-hec-badge-bottom-gap);
  align-self: var(--ips-hec-badge-align);
  flex: 0 0 auto;
  isolation: isolate;
  color: var(--ips-hec-badge-color);
  background: transparent;
  border-radius: 50%;
  overflow: visible;
  order: var(--ips-hec-badge-order);
}

.ips-hover-card__badge::before {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: var(--ips-hec-badge-size);
  height: var(--ips-hec-badge-size);
  border-radius: inherit;
  background: var(--ips-hec-badge-bg);
  content: '';
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.ips-hover-card:not(.is-active) .ips-hover-card__badge {
  width: var(--ips-hec-collapsed-icon-footprint);
  height: var(--ips-hec-collapsed-icon-footprint);
  align-self: var(--ips-hec-collapsed-badge-align);
}

.ips-hover-card__badge i {
  position: relative;
  z-index: 1;
  font-size: var(--ips-hec-icon-size) !important;
  line-height: 1;
}

.ips-hover-card__badge svg {
  position: relative;
  z-index: 1;
  display: block;
  width: var(--ips-hec-icon-size) !important;
  height: var(--ips-hec-icon-size) !important;
  max-width: none !important;
  flex: 0 0 auto;
  fill: currentColor;
}

/* Text */
.ips-hover-card__eyebrow {
  order: var(--ips-hec-eyebrow-order);
  align-self: var(--ips-hec-copy-align);
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--ips-hec-accent);
  font-size: 14px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity var(--ips-hec-detail-duration) ease 20ms,
    max-height var(--ips-hec-detail-duration) ease,
    margin var(--ips-hec-detail-duration) ease,
    transform var(--ips-hec-detail-duration) ease 20ms;
}

.ips-hover-card.is-active .ips-hover-card__eyebrow,
.ips-hover-cards--show-collapsed-eyebrow
  .ips-hover-card:not(.is-active)
  .ips-hover-card__eyebrow {
  max-height: 120px;
  margin-top: var(--ips-hec-eyebrow-top-gap);
  margin-bottom: var(--ips-hec-eyebrow-bottom-gap);
  opacity: 1;
  transform: translateY(0);
}

.ips-hover-card__title {
  order: var(--ips-hec-title-order);
  align-self: var(--ips-hec-copy-align);
  width: 100%;
  max-width: var(--ips-hec-current-image-render-max-width);
  margin: var(--ips-hec-title-top-gap) 0 var(--ips-hec-title-bottom-gap);
  color: var(--ips-hec-title-color);
  font-size: clamp(20px, 1.65vw, 30px);
  font-weight: 500;
  line-height: 1.18;
  white-space: normal !important;
  overflow-wrap: break-word;
  word-break: normal;
  transition: transform var(--ips-hec-detail-duration) ease;
}

.ips-hover-card:not(.is-active) .ips-hover-card__title {
  width: var(--ips-hec-collapsed-title-width);
  max-width: var(--ips-hec-collapsed-title-max-width);
  margin: var(--ips-hec-collapsed-title-margin);
  align-self: var(--ips-hec-collapsed-title-align-self);
  -webkit-writing-mode: var(--ips-hec-collapsed-title-writing-mode);
  writing-mode: var(--ips-hec-collapsed-title-writing-mode);
  text-orientation: mixed;
  transform: var(--ips-hec-collapsed-title-transform);
}

.ips-hover-card__description {
  order: var(--ips-hec-description-order);
  align-self: var(--ips-hec-copy-align);
  color: var(--ips-hec-muted-color);
  font-size: 14px;
  line-height: 1.6;
}

.ips-hover-card__description {
  max-width: 440px;
  max-height: var(--ips-hec-description-max-height);
  margin: var(--ips-hec-description-top-gap) 0 var(--ips-hec-description-bottom-gap);
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity var(--ips-hec-detail-duration) ease 20ms,
    max-height var(--ips-hec-duration) var(--ips-hec-ease),
    margin var(--ips-hec-detail-duration) ease,
    transform var(--ips-hec-detail-duration) ease 20ms;
}

.ips-hover-card__description p {
  margin: 0;
  color: inherit;
  font: inherit;
}

.ips-hover-cards:not(.ips-hover-cards--show-collapsed-description)
  .ips-hover-card:not(.is-active)
  .ips-hover-card__description {
  max-height: 0;
  margin-top: 0;
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(4px);
}

/* Meta rows */
.ips-hover-card__meta {
  order: var(--ips-hec-meta-order);
  align-self: var(--ips-hec-copy-align);
  display: flex;
  flex-direction: column;
  gap: var(--ips-hec-meta-row-gap);
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  color: var(--ips-hec-muted-color);
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity var(--ips-hec-detail-duration) ease 35ms,
    max-height var(--ips-hec-duration) var(--ips-hec-ease),
    margin var(--ips-hec-detail-duration) ease,
    transform var(--ips-hec-detail-duration) ease 35ms;
}

.ips-hover-card.is-active .ips-hover-card__meta,
.ips-hover-cards--show-collapsed-meta
  .ips-hover-card:not(.is-active)
  .ips-hover-card__meta {
  max-height: var(--ips-hec-meta-max-height);
  margin-top: var(--ips-hec-meta-top-gap);
  margin-bottom: var(--ips-hec-meta-bottom-gap);
  opacity: 1;
  transform: translateY(0);
}

.ips-hover-card__meta-item {
  display: flex;
  align-items: center;
  justify-content: var(--ips-hec-meta-justify);
  min-width: 0;
  gap: 10px;
  font-size: 14px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: break-word;
}

.ips-hover-card__meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--ips-hec-meta-icon-box-size);
  height: var(--ips-hec-meta-icon-box-size);
  flex: 0 0 var(--ips-hec-meta-icon-box-size);
  color: var(--ips-hec-meta-icon-color);
}

.ips-hover-card__meta-icon i {
  font-size: var(--ips-hec-meta-icon-size) !important;
  line-height: 1;
}

.ips-hover-card__meta-icon svg {
  display: block;
  width: var(--ips-hec-meta-icon-size) !important;
  height: var(--ips-hec-meta-icon-size) !important;
  max-width: none !important;
  fill: currentColor;
}

/* Optional expanded-card button */
.ips-hover-card__button-wrap {
  order: var(--ips-hec-button-order);
  display: none;
  justify-content: var(--ips-hec-button-justify);
  width: 100%;
  max-height: 0;
  margin-top: 0;
  padding-top: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition:
    opacity var(--ips-hec-detail-duration) ease 60ms,
    max-height var(--ips-hec-duration) var(--ips-hec-ease),
    padding var(--ips-hec-detail-duration) ease,
    transform var(--ips-hec-detail-duration) ease 60ms;
}

/* "Show Button" is a responsive, per-device toggle: the JS applies this
   modifier class on load and again on resize based on the current breakpoint. */
.ips-hover-cards--show-button .ips-hover-card__button-wrap {
  display: flex;
}

.ips-hover-card.is-active .ips-hover-card__button-wrap {
  max-height: 180px;
  margin-top: auto;
  padding-top: var(--ips-hec-button-gap);
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.ips-hover-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding:
    var(--ips-hec-button-padding-top)
    var(--ips-hec-button-padding-right)
    var(--ips-hec-button-padding-bottom)
    var(--ips-hec-button-padding-left);
  color: var(--ips-hec-button-color) !important;
  background-color: var(--ips-hec-button-bg);
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  overflow-wrap: anywhere;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.ips-hover-card__button:hover {
  color: var(--ips-hec-button-hover-color) !important;
  background-color: var(--ips-hec-button-hover-bg);
  transform: translateY(-1px);
}

.ips-hover-card__button:focus-visible {
  outline: 3px solid var(--ips-hec-focus-color);
  outline-offset: 3px;
}

/* Side and background image designs */
.ips-hover-card__image {
  position: var(--ips-hec-current-image-position);
  order: var(--ips-hec-current-image-order);
  z-index: var(--ips-hec-current-image-layer);
  top: var(--ips-hec-current-image-top);
  right: var(--ips-hec-current-image-right);
  bottom: var(--ips-hec-current-image-bottom);
  left: var(--ips-hec-current-image-left);
  width: var(--ips-hec-current-image-render-width);
  max-width: 100%;
  height: var(--ips-hec-current-image-height);
  max-height: var(--ips-hec-current-image-max-height);
  margin-top: calc(0px + var(--ips-hec-image-margin-top));
  margin-right: var(--ips-hec-image-margin-right);
  margin-bottom: calc(0px + var(--ips-hec-image-margin-bottom));
  margin-left: var(--ips-hec-image-margin-left);
  align-self: var(--ips-hec-current-image-align-self);
  overflow: hidden !important;
  /* Never let the image's own corner show a gap against the card's rounded
     corner: each corner's radius is guaranteed to be at least "card radius
     minus the tightest nearby gap" (inset or card padding), so the image
     always visually nests into or matches the card's curve, regardless of
     what Image Border Radius, Image Inset, or Card Padding are set to. */
  border-radius:
    max(var(--ips-hec-image-radius-tl), calc(var(--ips-hec-card-radius-tl) - min(var(--ips-hec-image-inset), var(--ips-hec-card-padding-top), var(--ips-hec-card-padding-left))))
    max(var(--ips-hec-image-radius-tr), calc(var(--ips-hec-card-radius-tr) - min(var(--ips-hec-image-inset), var(--ips-hec-card-padding-top), var(--ips-hec-card-padding-right))))
    max(var(--ips-hec-image-radius-br), calc(var(--ips-hec-card-radius-br) - min(var(--ips-hec-image-inset), var(--ips-hec-card-padding-bottom), var(--ips-hec-card-padding-right))))
    max(var(--ips-hec-image-radius-bl), calc(var(--ips-hec-card-radius-bl) - min(var(--ips-hec-image-inset), var(--ips-hec-card-padding-bottom), var(--ips-hec-card-padding-left))));
  opacity: 0;
  pointer-events: none;
  transform: scale(1.015);
  transform-origin: center;
  transition:
    opacity var(--ips-hec-detail-duration) ease,
    transform var(--ips-hec-duration) var(--ips-hec-ease),
    height var(--ips-hec-duration) var(--ips-hec-ease),
    max-height var(--ips-hec-duration) var(--ips-hec-ease),
    margin var(--ips-hec-duration) ease;
}

.ips-hover-card__image::after {
  position: absolute;
  inset: 0;
  content: '';
  background: var(--ips-hec-current-image-overlay);
  pointer-events: none;
}

.ips-hover-card.is-active .ips-hover-card__image {
  height: var(--ips-hec-current-image-active-height);
  max-height: var(--ips-hec-current-image-active-max-height);
  margin-top: calc(var(--ips-hec-current-image-active-margin-top) + var(--ips-hec-image-margin-top));
  margin-bottom: calc(var(--ips-hec-current-image-active-margin-bottom) + var(--ips-hec-image-margin-bottom));
  opacity: 1;
  transform: scale(1);
}

.ips-hover-card__image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
  transform: scale(1);
  transform-origin: center;
  transition: transform 9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Subtle, slow ambient zoom on the active card's image only. Contained
   entirely inside the already-clipped image box, so it can never spill
   past the card's edges. */
.ips-hover-card.is-active .ips-hover-card__image img {
  transform: scale(1.06);
}

/* Narrow desktop and tablet containers. */
@media (max-width: 1024px) {
  .ips-hover-card__title {
    font-size: clamp(18px, 2.25vw, 25px);
  }
}

/* Mobile defaults to a vertical accordion; Elementor can override the direction. */
@media (max-width: 767px) {
  .ips-hover-cards {
    --ips-hec-direction: column;
    --ips-hec-direction-collapsed-flex: 1 1 auto;
    --ips-hec-direction-active-flex: 1 1 auto;
    --ips-hec-direction-card-width: 100%;
    --ips-hec-direction-card-min-width: 0px;
    --ips-hec-direction-card-min-height: 0px;
    --ips-hec-fallback-root-margin-top: calc(-1 * var(--ips-hec-gap));
    --ips-hec-fallback-root-margin-left: 0;
    --ips-hec-fallback-card-margin-top: var(--ips-hec-gap);
    --ips-hec-fallback-card-margin-left: 0;
  }

  .ips-hover-card__inner {
    flex-direction: column;
    min-height: 0;
    height: auto;
  }

  .ips-hover-card__content,
  .ips-hover-card.is-active.has-image .ips-hover-card__content {
    width: 100%;
    min-height: 0;
    height: auto;
    margin-left: 0;
  }

  .ips-hover-card__image {
    position: var(--ips-hec-current-mobile-image-position);
    inset: var(--ips-hec-current-mobile-image-inset);
    width: var(--ips-hec-current-image-render-width);
    max-width: var(--ips-hec-current-mobile-image-render-max-width);
    height: var(--ips-hec-current-mobile-image-collapsed-height);
    max-height: var(--ips-hec-current-mobile-image-collapsed-max-height);
    margin-top: calc(0px + var(--ips-hec-image-margin-top));
    align-self: var(--ips-hec-current-mobile-image-align-self);
    opacity: 0;
    transform: none;
    transition:
      opacity var(--ips-hec-duration) ease,
      height var(--ips-hec-duration) var(--ips-hec-ease),
      max-height var(--ips-hec-duration) var(--ips-hec-ease),
      margin var(--ips-hec-duration) ease;
  }

  .ips-hover-card.is-active .ips-hover-card__image {
    height: var(--ips-hec-current-mobile-image-active-height);
    max-height: var(--ips-hec-current-mobile-image-active-max-height);
    margin-top: calc(var(--ips-hec-current-mobile-image-active-margin) + var(--ips-hec-image-margin-top));
    opacity: 1;
  }
}

/* Flex-gap fallback for older Safari versions. */
@supports not (gap: 1rem) {
  .ips-hover-cards {
    margin-top: var(--ips-hec-fallback-root-margin-top);
    margin-left: var(--ips-hec-fallback-root-margin-left);
  }

  .ips-hover-card {
    margin-top: var(--ips-hec-fallback-card-margin-top);
    margin-left: var(--ips-hec-fallback-card-margin-left);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ips-hover-card,
  .ips-hover-card::before,
  .ips-hover-card__inner,
  .ips-hover-card__content,
  .ips-hover-card__eyebrow,
  .ips-hover-card__description,
  .ips-hover-card__meta,
  .ips-hover-card__button-wrap,
  .ips-hover-card__button,
  .ips-hover-card__image,
  .ips-hover-card__image img {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
  }

  .ips-hover-card.is-active .ips-hover-card__image img {
    transform: scale(1);
  }
}
