.i-hero.i-hero--no-screen {
  display: none !important;
}

#mainContent
  > article
  > div.i-builder__component.i-builder__component--hero-section.i-builder-hero-section.i-builder-hero-section--align-left {
  margin-top: 88px !important;
  height: 250px !important;
  min-height: 250px !important;
  max-height: 250px !important;
  padding: 0 !important;
  overflow: hidden !important;
  background-position: center 0% !important;
}

.i-builder-hero-section__overlay {
  background-color: rgba(0, 0, 0, 0.3);
}

.i-builder__component--button-grid {
  margin-top: 28px !important;
  margin-bottom: 54px !important;
}

#mainContent > article .c-container,
#mainContent > article .c-container--sml,
#mainContent > article .i-builder-toggle {
  width: 80%;
  max-width: 1080px;
  position: relative;
  margin: auto !important;
}

.i-builder-hero-section__content {
  padding-left: 0 !important;
}

.i-builder-hero-section__title {
  font-size: 64px !important;
  color: #ffffff !important;
  padding-bottom: 10px !important;
  line-height: 1em !important;
  font-weight: 600 !important;
  font-family: 'aktiv-grotesk', 'Open Sans', 'Arial', sans-serif !important;
}

@media (min-width: 981px) {
  .i-builder-button-grid__grid {
    grid-template-columns: repeat(4, 1fr) !important;
    /* Gap uses backend setting on desktop */
    justify-content: center !important;
    justify-items: center !important;
  }

  .i-builder-button-grid__item--card.animate-in {
    width: 100% !important;
  }

  .i-builder-button-grid__item {
    width: 100% !important;
    /* Height uses backend setting on desktop */
  }
}

.i-builder-button-grid__item--card {
  opacity: 0;
  visibility: hidden; /* hide initially */
  transform: translateY(20px); /* slide-up effect */
  transition: all 0.5s ease; /* smooth transition */
}

.i-builder-button-grid__item--card.animate-in {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.i-builder-button-grid__title::after {
  display: none !important;
}

/* Button Grid Customizations */
.i-builder-button-grid.i-builder-button-grid__item--card {
  /* Add any specific button grid customizations for support page */
  min-height: fit-content !important;
  max-width: 250px !important;
  border-radius: unset !important;
}

.i-builder-button-grid__title {
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  padding: 8px !important;
  word-wrap: break-word !important;
  hyphens: auto !important;
}

.i-builder-button-grid__content {
  margin: 0 8px !important;
}

.i-builder-button-grid__item--card {
  border-radius: unset !important;
  border-top: 5px solid var(--accent-color, #f39c12) !important;
  transition: all 0.3s ease !important;
  transform-origin: top !important;
}

/* Animation that gets triggered by JavaScript */
.i-builder-button-grid__item--card.animate-in {
  animation: showForth 0.8s ease-out forwards !important;
}

@keyframes showForth {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 0.7;
    transform: scale(0.7);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.i-builder-button-grid__item--card:hover {
  border-top: 0px solid var(--accent-color, #f39c12) !important;
  transform: translateY(0px) scale(0.98) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Make cards behave like buttons */
.i-builder-button-grid__item--card a {
  text-decoration: none !important;
  color: inherit !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

/* Make the entire card clickable */
.i-builder-button-grid__item--card {
  cursor: pointer !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
}

/* Desktop Responsive Styles - 2 columns with scaling width */
@media (max-width: 980px) {
  .i-builder-button-grid__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 28px !important;
    justify-content: center !important;
    justify-items: center !important;
  }

  .i-builder-button-grid__item--card.animate-in {
    width: 100% !important;
  }

  .i-builder-button-grid__item--card {
    width: 100% !important;
    min-height: max(calc(var(--card-height, 100px) * 0.7), 100px) !important;
  }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .i-builder-button-grid__grid {
    grid-template-columns: repeat(2, 245px) !important;
    gap: 28px !important;
    justify-content: center !important;
    justify-items: center !important;
  }

  .i-builder-button-grid__item--card {
    width: 100% !important;
    min-height: max(calc(var(--card-height, 100px) * 0.5), 100px) !important;
  }

  .i-builder-button-grid__item--card.animate-in {
    width: 245px !important;
  }

  .i-builder-button-grid__item {
    width: 245px !important;
  }

  .i-builder-button-grid__title {
    font-size: 18px !important;
    padding: 8px !important;
  }
}

@media (max-width: 576px) {
  .i-builder-button-grid__grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .i-builder-button-grid__content {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

  .i-builder-button-grid__item--card.animate-in {
    width: 100% !important;
  }

  .i-builder-button-grid__item {
    width: 100% !important;
  }

  .i-builder-button-grid__item--card {
    min-height: max(calc(var(--card-height, 80px) * 0.4), 80px) !important;
  }

  .i-builder-button-grid__title {
    font-size: 18px !important;
    padding: 6px !important;
  }
}
