
h1.title {
  font-size: 3rem;
  font-weight: 900;
  color: #3a6f3a;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.3);
  text-align: center;
  margin-bottom: 1rem;
}

.card {
  background-color: white;
  border: 4px solid #588157;
  box-shadow: 0 0 8px 2px rgba(34, 139, 34, 0.7);
  border-radius: 6px;



/* Ensure visible overflow and layering for timeline items */
.vis-item, .vis-item-content {
  overflow: visible !important;
  position: relative !important;
  z-index: 9999 !important;
}

/* Base style for timeline items */
.vis-item-content {
  white-space: normal !important;       /* allow text wrap */
  word-break: break-word !important;    /* break long words */
  overflow-wrap: break-word !important; /* break words if needed */
  padding: 1rem 1.5rem !important;      /* padding inside boxes */
  font-size: 1.1rem !important;          /* larger font */
  min-height: 3.5rem !important;         /* min height for bigger box */
  border-radius: 8px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  color: inherit !important;
  background-clip: padding-box !important;
  box-sizing: border-box !important;
}

/* Tooltip content hidden by default */
.tooltip-content {
  display: none;
  position: absolute;
  top: 110%;        /* just below the timeline item */
  left: 0;
  width: 300px;
  background: #f9f9f9;
  color: #333;
  border-radius: 6px;
  padding: 0.8rem 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  white-space: normal;
  line-height: 1.4;
  z-index: 10000;
}

/* Show tooltip on hover */
.vis-item-content:hover .tooltip-content {
  display: block;
}

.vis-item-content {
  width: 200px !important;       /* fix width for consistent block size */
  height: 60px !important;        /* fixed height, or you can set min-height */
  padding: 0.75rem 1rem !important;
  box-sizing: border-box !important;
  border-radius: 6px !important;
  font-size: 0.85rem !important;
  white-space: normal !important;    /* wrap text */
  word-wrap: break-word !important;
  overflow: hidden !important;       /* hide overflow if needed */
  text-overflow: ellipsis !important; /* optional: add ellipsis if clipped */
  line-height: 1.2 !important;
  cursor: pointer !important;
  color: white !important;
}

.vis-item-content {
  max-width: 220px !important;        /* fix width to control wrapping */
  height: 3.2rem !important;           /* about two lines of 1.6rem line-height */
  line-height: 1.6rem !important;      /* line height for text */
  font-size: 1rem !important;          /* readable font size */
  white-space: normal !important;      /* allow wrapping */
  overflow: hidden !important;         /* hide overflow */
  text-overflow: ellipsis !important; /* show ... if text too long */
  padding: 0.4rem 0.6rem !important;   /* balanced padding */
  box-sizing: border-box !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  color: white !important;
  background-clip: padding-box !important;
}


h1, h2, h3, h4, h5, h6 {
  font-weight: bold !important;
  font-size: larger !important;
}