/* Homepage-only mobile hero refinements. Desktop presentation is unchanged. */
.hero .hero__mobile-label {
  display: none !important;
}

@media (max-width: 767px) {
  .hero--home {
    overflow-x: clip;
  }

  .hero .tag-btns {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }

  .hero .tag-btns .theme-btn--transparent {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    padding-inline: 8px;
    font-size: 16px !important;
  }

  .hero .tag-btns .theme-btn--transparent:nth-child(n + 4),
  .hero .tag-btns .hero-domain-popular {
    display: none;
  }

  .hero__wrapper {
    padding-bottom: 166px;
  }

  .hero .hero__features {
    display: flex !important;
    width: 64%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    margin: 0;
    padding: 0;
    position: relative;
    top: 10px;
  }

  .hero .hero__features-item {
    width: max-content;
    max-width: 100%;
    min-height: 34px;
    padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 6px 14px rgba(4, 36, 89, 0.06);
    font-size: 13px;
    line-height: 1.25;
  }

  .hero .hero__desktop-label {
    display: none !important;
  }

  .hero .hero__mobile-label {
    display: inline !important;
  }

  .hero--home .hero__thumb {
    position: absolute;
    top: auto;
    bottom: 5px;
    right: -76px;
    z-index: 1;
    pointer-events: none;
  }

  .hero--home .hero__thumb[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .overview__wrapper {
    margin-top: -59px;
  }

  .overview__wrapper[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 575px) {
  .hero .tag-btns .theme-btn--transparent {
    padding-inline: 5px;
    font-size: 16px !important;
  }

  .hero .hero__features {
    width: 64%;
  }

  .hero .hero__features-item {
    font-size: 13px;
  }
}

@media (max-width: 380px) {
  .hero .tag-btns {
    gap: 5px;
  }

  .hero .tag-btns .theme-btn--transparent {
    font-size: 14px !important;
  }
}
