.about-tabs {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  margin-bottom: 16px;
  text-align: center; /* center the tabs when they don't overflow */
}

.about-tabs ul {
  list-style: none;
  padding: 0; /* add side padding so last item isn't cut */
  margin: 0;
  display: inline-flex; /* inline-flex so the whole list can be centered */
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
  justify-content: center; /* center items within the list */
  min-width: max-content; /* prevent items wrapping & allow full scroll width */
  text-transform: uppercase;
}

/* Global content width container */
/* .container {
  width: min(1280px, 92vw);
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .container {
    width: 100%;
  }
} */

.about-tabs a {
  display: inline-block;
  white-space: nowrap; /* prevent label wrap */
  padding: 8px 14px;
  border-radius: 10px;
  color: #333;
  text-decoration: none;
  font-weight: 400;
  font-size: 14px;
  transition: all 0.2s ease;
}

.about-tabs a.active,
.about-tabs a:hover {
  background-color: #055ea9;
  color: #fff;
}

/* When using service submenu container with common tabs, remove its baseline */
.about-tabs.sv-subnav::after {
  display: none !important;
}

/* Ensure news cats container doesn't override common tabs layout */
.about-tabs.th-news__cats {
  display: block;
}

/* Compact spacing on very small screens */
@media (max-width: 480px) {
  .about-tabs ul {
    gap: 8px;
    padding: 0;
  }
  .about-tabs a {
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* Global Primary Button */
.btn-primary,
.about__btn-primary,
.recruit__btn-primary {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  font-size: 1rem;
  border-radius: 9999px;
  cursor: pointer;
  padding: 0.5rem 0.5rem 0.5rem 2rem;
  transition: 0.3s;
  display: inline-flex;
  gap: 1rem;
  color: inherit;
  align-items: center;
  width: fit-content;
  height: fit-content;
  text-decoration: none;
  color: #000;
}

.btn-primary:hover,
.about__btn-primary:hover,
.recruit__btn-primary:hover {
  background-color: #000;
  color: #fff;
  border: none;
}

/* Primary Button Icon bubble */
.btn-primary__icon,
.about__plane {
  border-radius: 9999px;
  background-color: #003d99;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  width: 50px;
  flex-shrink: 0;
}

/* Responsive adjustments for primary button */
@media (max-width: 640px) {
  .btn-primary,
  .about__btn-primary,
  .recruit__btn-primary {
    padding: 0.5rem 0.5rem 0.5rem 1.25rem;
    gap: 0.75rem;
    font-size: 0.95rem;
  }
  .btn-primary__icon,
  .about__plane {
    height: 44px;
    width: 44px;
  }
}

@media (max-width: 400px) {
  .btn-primary,
  .about__btn-primary,
  .recruit__btn-primary {
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    gap: 0.5rem;
    font-size: 0.9rem;
  }
  .btn-primary__icon,
  .about__plane {
    height: 40px;
    width: 40px;
  }
}
@media (max-width: 768px) {
  .about-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .about-tabs > ul {
    display: flex;
    gap: 8px;
    padding-inline: 16px;
    margin: 0;
    list-style: none;
  }

  .about-tabs a {
    white-space: nowrap;
  }
}