@charset "UTF-8";
/* =========================================================
   File: css/components/menu.css
   Title: Invent City Section Menu
   Purpose:
   • Styles the horizontal section menu used inside accordions
   • Tightens spacing for desktop / full-size screens
   • Keeps buttons compact, uppercase, and underline-active
========================================================= */


/* =========================================================
   1) MENU CONTAINER
   • Controls overall layout and spacing around the menu row
   • Reduced bottom padding for desktop
========================================================= */
.ic-section-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0 0 0.35rem 0;
  margin: 0;
  border: 0;
}


/* =========================================================
   2) SPACING AFTER MENU
   • Controls distance between the menu and the content below
========================================================= */
.ic-section-menu + * {
  margin-top: 1rem;
}


/* =========================================================
   3) MENU ITEMS
   • Removes top padding
   • Reduces left/right padding
   • Keeps compact desktop sizing
========================================================= */
.ic-section-menu a,
.ic-section-menu button {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0 0.25rem 0.15rem 0.25rem;

  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;

  color: #808080;
  text-decoration: none;
  text-transform: uppercase;
  font-family: inherit;
  font-size: 9px;
  line-height: 1;
  font-weight: 400;

  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;

  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    font-weight 0.2s ease;
}


/* =========================================================
   4) HOVER / FOCUS / ACTIVE
   • Active item becomes black with black underline
========================================================= */
.ic-section-menu a:hover,
.ic-section-menu a:focus,
.ic-section-menu a.active,
.ic-section-menu button:hover,
.ic-section-menu button:focus,
.ic-section-menu button.active {
  color: #000000;
  border-bottom-color: #000000;
  background: transparent;
  text-decoration: none;
  font-weight: 700;
}


/* =========================================================
   5) FOCUS OUTLINE
========================================================= */
.ic-section-menu a:focus,
.ic-section-menu button:focus {
  outline: none;
}


/* =========================================================
   6) MOBILE
   • Optional tighter sizing on smaller screens
========================================================= */
@media (max-width: 900px) {
  .ic-section-menu {
    gap: 0.25rem;
    padding-bottom: 0.3rem;
  }

  .ic-section-menu a,
  .ic-section-menu button {
    font-size: 8px;
    padding: 0 0.2rem 0.12rem 0.2rem;
  }
}