/* Facts section fixes for responsive design */

/* Ensure fun facts text doesn't overflow on smaller screens */
.fun_facts .fun-fact .numbers span {
  font-size: 28px !important; /* Smaller font size for mobile */
  line-height: 1.2;           /* Tighter line height */
  text-align: center;         /* Center text on mobile */
  word-break: keep-all !important; /* Prevent breaking words at all costs */
  hyphens: none !important;  /* Disable hyphenation completely */
  -webkit-hyphens: none !important; /* Safari support */
  -ms-hyphens: none !important; /* IE support */
  overflow-wrap: normal !important; /* Prevent breaking words */
  white-space: normal; /* Allow text to wrap naturally */
  display: block; /* Ensure proper block display */
  width: 100%; /* Full width */
}

/* Small tablet adjustments to prevent overflow */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .fun_facts .fun-fact .numbers span {
    font-size: 40px !important; /* Slightly larger for tablets */
  }
}

/* Medium screen adjustments */
@media screen and (min-width: 992px) and (max-width: 1199px) {
  .fun_facts .fun-fact .numbers span {
    font-size: 42px !important; /* Larger for medium screens */
  }
}

/* Ensure the fun facts display properly on all devices */
.fun_facts .fun-fact {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 15px;
}

/* Ensure the numbers container is properly sized */
.fun_facts .fun-fact .numbers {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  text-align: center;
}
