/* Uniform Tab Sizing */
.tabs_nav.is-bottom.w-tab-menu {
  display: flex;
  width: 100%;
  gap: 0; /* Remove gaps for equal distribution */
}

/* Single Line Headings */
.heading_h4 {
  white-space: nowrap; /* Prevent text wrapping */
  overflow: hidden; /* Hide overflow text */
  text-overflow: ellipsis; /* Add ellipsis for very long text */
}

/* Make all tab buttons equal width and height */
.tabs_nav.is-bottom.w-tab-menu .tab_menu-button {
  flex: 1; /* Equal width distribution */
  width: 25%; /* 4 tabs = 25% each */
  min-width: 0; /* Allow flexbox to override min-width */
  max-width: none; /* Remove max-width constraints */
  height: auto; /* Consistent height */
  min-height: 80px; /* Minimum height for consistency */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
  text-align: center;
}

/* Remove specific expand classes that might affect sizing */
.tabs_nav.is-bottom.w-tab-menu .tab_menu-button.is-expand {
  flex: 1; /* Same as other tabs */
  width: 25%;
}

/* Ensure content within tabs is centered and consistent */
.tabs_nav.is-bottom.w-tab-menu .tab_menu-button .flex_horizontal {
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

/* Avatar consistency */
.tabs_nav.is-bottom.w-tab-menu .tab_menu-button .avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

/* Text content consistency */
.tabs_nav.is-bottom.w-tab-menu .tab_menu-button .paragraph_small {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px; /* Prevent text from making tabs different sizes */
}

/* Responsive adjustments */
@media screen and (max-width: 991px) {
  .tabs_nav.is-bottom.w-tab-menu .tab_menu-button {
    min-height: 70px;
    padding: 0.75rem;
  }
  
  .tabs_nav.is-bottom.w-tab-menu .tab_menu-button .avatar {
    width: 40px;
    height: 40px;
  }
  
  .tabs_nav.is-bottom.w-tab-menu .tab_menu-button .paragraph_small {
    max-width: 100px;
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 767px) {
  .tabs_nav.is-bottom.w-tab-menu {
    flex-direction: column; /* Stack tabs vertically on mobile */
  }
  
  .tabs_nav.is-bottom.w-tab-menu .tab_menu-button {
    width: 100%;
    min-height: 60px;
  }
  
  .tabs_nav.is-bottom.w-tab-menu .tab_menu-button .flex_horizontal {
    justify-content: flex-start; /* Left align on mobile */
  }
  
  .tabs_nav.is-bottom.w-tab-menu .tab_menu-button .paragraph_small {
    max-width: none;
    white-space: normal;
  }
} 