/*
Theme Name:   Divi Child
Template:     Divi
Version:      1.0.0
Description:  A child theme for the Divi WordPress Theme
Author:       Chris Buck @ xpher.net
*/

.glossaryTooltipCombined {
  display: inline-block;
  white-space: normal;
  font-size: inherit;
  line-height: 1.4;
}

.glossaryTooltipCombined strong {
  font-weight: bold;
  margin-right: 4px;
}

.cm-tooltip .glossaryTooltipCombined {
  display: inline !important;
  white-space: normal !important;
}

.cm-tooltip .glossaryTooltipCombined * {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: normal !important;
}

/* Make tooltip container content flow inline */
#ttcont,
#ttcont * {
  display: inline-block !important;
  white-space: normal !important;
}

/* Optional: tweak spacing and appearance */
#ttcont {
  padding: 8px 12px !important;
  max-width: 300px;
  border-radius: 4px;
}

a.glossaryLink {
  display: inline !important;
  white-space: normal !important;
  vertical-align: baseline !important;
}

a.glossaryLink::before {
  content: "" !important;
  display: inline !important;
}

a.glossaryLink::after {
  content: "" !important;
  display: inline !important;
} 

/* Rollovers */

.img-swap {
  position: relative;
  display: inline-block;
  line-height: 0;
  cursor: pointer;
}
.img-swap img {
  display: block;
  max-width: 100%;
  height: auto;
  transition: opacity 0.25s ease, transform 0.25s ease;
  backface-visibility: hidden;
}
.img-swap .img-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.img-swap:hover .img-hover { opacity: 1; }
.img-swap:hover .img-default { opacity: 0; }

/* Optional: subtle lift animation */
.img-swap:hover img { transform: translateY(-2px); }

