/* ==========================================================================
   HEADER & TOP STRIP
   ========================================================================== */
.top-strip {
  background: var(--ink);
  color: var(--white);
  padding: 8px 0;
  font-size: 12px;
}

.top-strip-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.top-strip-left {
  display: flex;
  gap: 24px;
  align-items: center;
}

.top-strip-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--grey-light);
}

.top-strip-item svg {
  flex-shrink: 0;
}

.top-strip-item a {
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition-base);
}

.top-strip-item a:hover {
  color: var(--blue);
}

.top-strip-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.parent-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--grey-light);
}

.parent-badge strong {
  color: var(--white);
  font-weight: 600;
}

.parent-badge .dot {
  width: 4px;
  height: 4px;
  background: var(--blue);
  border-radius: 50%;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition-base);
}

.header.scrolled {
  box-shadow: 0 4px 20px -10px rgba(51, 51, 51, 0.1);
}

.nav {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 18px var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.logo-mark {
  width: 42px;
  height: 42px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: 10px;
  box-shadow: 0 4px 12px -4px rgba(51, 153, 255, 0.4);
}

.logo-mark svg {
  width: 24px;
  height: 24px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.logo-name sup {
  font-size: 10px;
  color: var(--blue);
  font-weight: 600;
  margin-left: 2px;
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--grey);
  margin-top: 4px;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-menu > li > a,
.nav-menu > li > button {
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  position: relative;
  padding: 8px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-base);
}

.nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active,
.nav-menu > li > button:hover {
  color: var(--blue);
}

.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after {
  width: 100%;
}

.dropdown {
  position: relative;
}

.dropdown-toggle svg {
  transition: transform var(--transition-base);
}

.dropdown:hover .dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown:hover .dropdown-toggle {
  color: var(--blue);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -24px;
  background: var(--white);
  border: 1px solid var(--line);
  min-width: 340px;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 40px;
  width: 12px;
  height: 12px;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  transform: rotate(45deg);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--ink);
  transition: background var(--transition-base);
}

.dropdown-menu a:hover {
  background: var(--blue-soft);
}

.dd-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
  transition: all var(--transition-base);
}

.dropdown-menu a:hover .dd-icon {
  background: var(--blue);
  color: var(--white);
}

.dd-text {
  flex: 1;
}

.dd-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.dd-code {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--grey);
  background: var(--grey-bg);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.dd-desc {
  font-size: 12px;
  color: var(--grey);
  font-weight: 400;
}

/* ==========================================================================
   APPLICATIONS MEGA-MENU — wider 4-column dropdown for the Applications nav
   IMPORTANT: Use .dropdown-menu.mega-menu specificity to override the
   default .dropdown-menu a flex layout used by the Grades dropdown.
   ========================================================================== */
.dropdown-mega {
  position: static;
}

.dropdown-mega .dropdown-menu.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 760px;
  max-width: calc(100vw - 40px);
  min-width: 0;
  padding: 24px 28px 18px;
}

.dropdown-mega:hover .dropdown-menu.mega-menu,
.dropdown-mega:focus-within .dropdown-menu.mega-menu {
  transform: translateX(-50%) translateY(0);
}

.dropdown-mega .dropdown-menu.mega-menu::before {
  left: 50%;
  margin-left: -6px;
}

/* Override default .dropdown-menu a (which is flex) for mega-menu links */
.dropdown-menu.mega-menu a {
  display: block !important;
  align-items: initial;
  gap: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.dropdown-menu.mega-menu a:hover {
  background: transparent;
}

.dropdown-menu.mega-menu .mega-menu-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0;
}

.dropdown-menu.mega-menu .mega-col {
  padding: 0 18px;
  border-right: 1px solid var(--line);
  text-align: left;
  min-width: 0;
}

.dropdown-menu.mega-menu .mega-col:first-child {
  padding-left: 0;
}

.dropdown-menu.mega-menu .mega-col:last-child {
  padding-right: 0;
  border-right: none;
}

.dropdown-menu.mega-menu .mega-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.dropdown-menu.mega-menu .mega-col-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.dropdown-menu.mega-menu .mega-col-list li {
  margin: 0;
  padding: 0;
  text-align: left;
  display: block;
  list-style: none;
}

.dropdown-menu.mega-menu .mega-col-list a {
  display: block !important;
  padding: 7px 0 !important;
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  line-height: 1.4;
  transition: color var(--transition-base), padding-left var(--transition-base);
  background: transparent !important;
  border-radius: 0 !important;
  text-align: left !important;
  white-space: normal;
}

.dropdown-menu.mega-menu .mega-col-list a:hover {
  color: var(--blue);
  padding-left: 6px !important;
  background: transparent !important;
}

.dropdown-menu.mega-menu .mega-menu-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
}

.dropdown-menu.mega-menu .mega-menu-all {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 8px 14px !important;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue) !important;
  background: var(--blue-soft) !important;
  border-radius: var(--radius-md) !important;
  transition: all var(--transition-base);
  text-align: left;
}

.dropdown-menu.mega-menu .mega-menu-all:hover {
  background: var(--blue) !important;
  color: var(--white) !important;
}

.dropdown-menu.mega-menu .mega-menu-all svg {
  transition: transform var(--transition-base);
}

.dropdown-menu.mega-menu .mega-menu-all:hover svg {
  transform: translateX(3px);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  padding: 12px 22px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-blue);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue-hover);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: all var(--transition-base);
}

.mobile-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--ink);
  color: var(--grey-light);
  padding: 80px var(--space-lg) 0;
}

.footer-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
}

.footer-group-strip {
  background: rgba(51, 153, 255, 0.06);
  border: 1px solid rgba(51, 153, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-group-text {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-group-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.footer-group-info strong {
  display: block;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.footer-group-info span {
  font-size: 13px;
  color: var(--grey-light);
}

.footer-group-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-group-links a {
  color: var(--grey-light);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-base);
}

.footer-group-links a:hover {
  color: var(--blue);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
}

.footer-brand .logo {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.footer-brand {
  text-align: center;
}

.footer-brand p {
  margin-left: auto;
  margin-right: auto;
}

.footer-brand .footer-social {
  justify-content: center;
}

.footer-brand .logo-name {
  color: var(--white);
}

.footer-brand .logo-sub {
  color: var(--grey);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--grey-light);
  max-width: 320px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-light);
  text-decoration: none;
  transition: all var(--transition-base);
}

.social-icon:hover,
.social-icon:focus-visible {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: var(--grey-light);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col a:hover {
  color: var(--blue);
}

.footer-newsletter p {
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 16px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 6px;
}

.newsletter-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: inherit;
  font-size: 13px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(51, 153, 255, 0.05);
}

.newsletter-form input::placeholder {
  color: var(--grey);
}

.newsletter-form button {
  background: var(--blue);
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0 14px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base);
}

.newsletter-form button:hover {
  background: var(--blue-dark);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: var(--grey);
}

.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--grey);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-legal a:hover {
  color: var(--blue);
}

/* ==========================================================================
   RESPONSIVE - HEADER/FOOTER
   ========================================================================== */
@media (max-width: 1024px) {
  .top-strip-inner {
    padding: 0 var(--space-md);
  }

  .nav {
    padding: 16px var(--space-md);
  }

  .nav-menu {
    gap: 20px;
  }

  .footer {
    padding: 60px var(--space-md) 0;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 860px) {
  .top-strip-left .top-strip-item:nth-child(3) {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 90%;
    max-width: 360px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 32px 32px;
    transition: right var(--transition-slow);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    gap: 0;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu > li {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .nav-menu > li > a,
  .nav-menu > li > button {
    padding: 18px 0;
    width: 100%;
    font-size: 16px;
  }

  .dropdown-menu {
    position: static;
    opacity: 0;
    visibility: hidden;
    transform: none;
    box-shadow: none;
    min-width: 0;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.2s ease;
  }

  /* Open state — controlled by JS adding .dropdown-open class */
  .dropdown.dropdown-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 600px;
    padding: 0 0 12px 0;
  }

  /* Disable hover-to-open on mobile */
  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
  }
  .dropdown.dropdown-open:hover .dropdown-menu,
  .dropdown.dropdown-open:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 600px;
  }

  /* Rotate the chevron when open */
  .dropdown.dropdown-open .dropdown-toggle svg {
    transform: rotate(180deg);
  }

  .dropdown-menu::before {
    display: none;
  }

  .dropdown-menu a {
    padding: 10px 0;
  }

  /* Mega-menu collapses to single column on mobile */
  .dropdown-mega {
    position: relative;
  }

  .dropdown-mega .dropdown-menu.mega-menu {
    position: static;
    width: 100%;
    max-width: 100%;
    transform: none;
    padding: 16px 0 8px;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--line);
    border-radius: 0;
    margin-top: 6px;
  }

  .dropdown-mega:hover .dropdown-menu.mega-menu,
  .dropdown-mega:focus-within .dropdown-menu.mega-menu {
    transform: none;
  }

  .dropdown-mega .dropdown-menu.mega-menu::before {
    display: none;
  }

  .dropdown-menu.mega-menu .mega-menu-grid {
    display: block !important;
    grid-template-columns: 1fr !important;
  }

  .dropdown-menu.mega-menu .mega-col {
    padding: 0 0 12px !important;
    margin-bottom: 14px;
    border-right: none;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  .dropdown-menu.mega-menu .mega-col:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }

  .dropdown-menu.mega-menu .mega-col-title {
    font-size: 10px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    text-align: left;
  }

  .dropdown-menu.mega-menu .mega-col-list a {
    padding: 8px 0 !important;
    font-size: 14px;
    text-align: left !important;
  }

  .dropdown-menu.mega-menu .mega-col-list a:hover {
    padding-left: 0 !important;
  }

  .dropdown-menu.mega-menu .mega-menu-footer {
    margin-top: 8px;
    padding-top: 12px;
    justify-content: flex-start;
  }

  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }
}

@media (max-width: 720px) {
  .top-strip-left {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-group-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* WhatsApp item in top strip */
.top-strip-whatsapp svg {
    color: #25D366;
    flex-shrink: 0;
}
.top-strip-whatsapp a:hover {
    color: #25D366 !important;
}

/* ==========================================================================
   CUSTOM LOGO (from Appearance → Customize → Site Identity)
   Controls size and appearance of the uploaded logo image
   ========================================================================== */

/* Header logo */
.logo .custom-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo .custom-logo {
  height: 48px;
  width: auto;
  max-width: 200px;
  display: block;
  object-fit: contain;
}

/* Footer logo — slightly larger since footer has more space */
.footer-logo .custom-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.footer-logo .custom-logo {
  height: 56px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
  /* Footer is dark background so filter may be needed for dark logos */
}

/* Responsive */
@media (max-width: 768px) {
  .logo .custom-logo {
    height: 38px;
    max-width: 160px;
  }
  .footer-logo .custom-logo {
    height: 44px;
    max-width: 180px;
  }
}

/* Site logo image (from Site Settings → Logos) */
.site-logo {
  height: 48px;
  width: auto;
  max-width: 200px;
  display: block;
  object-fit: contain;
}

.footer-logo .site-logo {
  height: 56px;
  max-width: 220px;
}

@media (max-width: 768px) {
  .site-logo { height: 36px; }
  .footer-logo .site-logo { height: 44px; }
}

/* ==========================================================================
   FULL RESPONSIVE AUDIT — ALL SCREENS
   ========================================================================== */

/* Large screens 1440px+ */
@media (min-width: 1440px) {
  .nav {
    padding: 10px var(--space-lg);
  }
}

/* Small laptop 1024px */
@media (max-width: 1024px) {
  .site-logo { height: 52px; }
  .footer-logo .site-logo { height: 52px; }
}

/* Tablet landscape 860px */
@media (max-width: 860px) {
  .top-strip { display: none; }
  .nav { padding: 8px 24px; }
  .site-logo { height: 44px; }
  .footer-logo .site-logo { height: 44px; }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Tablet portrait 768px */
@media (max-width: 768px) {
  .nav { padding: 8px 20px; }
  .site-logo { height: 40px; }
  .footer-logo .site-logo { height: 40px; }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
}

/* Mobile 640px */
@media (max-width: 640px) {
  .nav { padding: 6px 16px; }
  .site-logo { height: 36px; max-width: 160px; }
  .footer { padding: 40px 16px 0; }
  .footer-brand { text-align: center; }
  .footer-brand .footer-social { justify-content: center; }
  .footer-group-strip {
    padding: 20px 16px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .footer-group-links { justify-content: center; flex-wrap: wrap; }
}

/* Small mobile 375px */
@media (max-width: 375px) {
  .site-logo { height: 32px; max-width: 140px; }
  .nav { padding: 6px 12px; }
}

/* Permanently hide nav-close button — should never exist on this site */
.nav-close,
.nav-menu > .nav-close,
.nav .nav-close,
button.nav-close,
[class*="nav-close"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  pointer-events: none !important;
  overflow: hidden !important;
}