/* nav-fit.css – isolated header-fit rules added when the "Health Insurance"
   menu was introduced. Loaded after style.css; style.css itself is unchanged.
   Desktop only: widens the header row a little and, between 1101px and
   1480px, shows the WhatsApp and Call buttons in their compact form
   (the same compact form style.css already uses at 1101–1320px). */
@media (min-width: 1101px) {
  .header .container, .top-bar .container { max-width: 1440px; }
}
@media (min-width: 1101px) and (max-width: 1480px) {
  .nav-wa .nav-wa-label { display: none; }
  .nav-wa { padding: 0.5rem 0.65rem; }
  .nav-cta .nav-cta-number { display: none; }
}
@media (min-width: 1101px) and (max-width: 1180px) {
  .nav-links > li:not(.mobile-menu-actions) > a,
  .dropdown-toggle { padding-left: 0.38rem; padding-right: 0.38rem; }
}

/* "Home Loan Services" group inside the existing Our Services dropdown
   (a labelled group, not a flyout, so the existing dropdown script is unchanged). */
.dropdown-menu .dropdown-group-label {
  margin-top: 0.35rem;
  padding: 0.6rem 1.1rem 0.3rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lic-blue);
}
/* Desktop: when the Home Loan Services group is present, show the Our Services
   dropdown in two columns (LIC services | home loan services) so it fits on
   laptop screens. Mobile keeps the single stacked list from style.css. */
@media (min-width: 1101px) {
  #servicesMenu.has-group {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(var(--svc-rows, 9), auto);
    grid-template-columns: minmax(230px, auto) minmax(250px, auto);
    column-gap: 0;
    width: max-content;
    max-width: calc(100vw - 2rem);
  }
  #servicesMenu.has-group a { white-space: nowrap; }
  #servicesMenu.has-group .dropdown-group-label {
    margin-top: 0;
    border-top: none;
    padding-top: 0.55rem;
  }
  #servicesMenu.has-group .dropdown-group-label,
  #servicesMenu.has-group .dropdown-group-item {
    border-left: 1px solid var(--border-color);
  }
}
