/* Copied from storetasker-website/web/public/css/pages/expert-shopify-marketing.css by tools/redesign/import-base.mjs.
   Element-level rules skip .st-legacy areas (old page bodies, hire panel); nothing else changed. */
/* expert-shopify-marketing: custom CSS from the Webflow page embeds, in original order. */
  /* Logo Marquee CSS */
.logo-marquee_track {
  display: flex;
  width: max-content;
}

.logo_wrapper {
  overflow: hidden; /* clips marquee to wrapper bounds */
  width: 100%;
}

.logo-marquee_set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  animation: logo-marquee-scroll linear infinite;
  animation-play-state: paused;
}

@keyframes logo-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* Stack all member items in the same grid cell */
.feat-member_list {
  position: relative;
}

.feat-member_list .feat-member_item {
  grid-area: 1 / 1;
}  

/* Nav avatar states — no outline, opacity only */
.feat-member_nav-link:not(.is-active) img:where(:not(.st-legacy, .st-legacy *)) {
  opacity: 0.45;
  transition: opacity 0.3s ease;
}

.feat-member_nav-link.is-active img:where(:not(.st-legacy, .st-legacy *)),
.feat-member_nav-link:hover img:where(:not(.st-legacy, .st-legacy *)) {
  opacity: 1;
  transition: opacity 0.3s ease;
}

  /* Stack all grid panels on top of each other */

  .cust-grid_list .cust-grid_item {
    grid-row: 1;
    grid-column: 1;
  }

  /* Always keep nav above the slides */

  .cust-grid-nav_wrapper {
    z-index: 10;
  }

  /* Nav: inactive links dimmed, no gap */

  .cust-grid-nav_item .feat-stories_link {
    opacity: 0.55;
    gap: 0;
    transition:
      opacity 0.3s ease,
      gap 0.4s ease;
  }

  .cust-grid-nav_item.is-active .feat-stories_link {
    opacity: 1;
    gap: 1em;
  }

  /* Fix logo to its natural size — no stretching or shrinking */

  .feat-stories_link img:where(:not(.st-legacy, .st-legacy *)) {
    width: auto;
    max-width: none;
    flex-shrink: 0;
  }

  /* Collapse "x" and expert details on inactive nav items */

  .cust-grid-nav_item .feat-stories_link .times,
  .cust-grid-nav_item .feat-stories_link .div-block-30 {
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transform: translateX(-6px);
    transition:
      opacity 0.5s ease,
      max-width 0.5s ease,
      transform 0.5s ease;

    pointer-events: none;
  }

  /* Expand them on the active nav item */

  .cust-grid-nav_item.is-active .feat-stories_link .times,
  .cust-grid-nav_item.is-active .feat-stories_link .div-block-30 {
    opacity: 1;
    max-width: 300px;
    transform: translateX(0px);
    pointer-events: auto;
  }

  /* ── Mobile: make nav horizontally swipeable ── */

  @media screen and (max-width: 767px) {
    .cust-grid-nav_wrapper {
      left: 0;
      right: 0;
      inset-inline: 0;
      overflow: hidden;
    }

    .cust-grid-nav_list {
      overflow-x: auto;
      overflow-y: visible;
      -webkit-overflow-scrolling: touch;
      scroll-behavior: smooth;
      scrollbar-width: none;
      flex-wrap: nowrap;
      padding-right: 2em;
    }

    .cust-grid-nav_list::-webkit-scrollbar {
      display: none;
    }
  }

  /* Base wrapper – no visual change above the breakpoint */
  .st-table-scroll { width: 100%; }

  @media screen and (max-width: 819px) {
    .st-table-scroll {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;   /* momentum scroll on iOS */
      cursor: grab;
      scrollbar-width: thin;               /* slim scrollbar (Firefox) */
    }
    .st-table-scroll.is-dragging {
      cursor: grabbing;
      user-select: none;
    }
    .st-table-scroll.is-dragging *:where(:not(.st-legacy, .st-legacy *)) { user-select: none; }

    /* Pin the first column (row labels) while the rest scrolls */
    .st-table-scroll .table-col.key {
      position: sticky;
      left: 0;
      z-index: 2;
      background-color: rgb(246, 247, 244); /* matches page background */
    }
  }

  /* FAQs CSS */
.accordion-css__item-bottom {
  transition: grid-template-rows 0.6s cubic-bezier(0.625, 0.05, 0, 1);
}

[data-accordion-status="active"] .accordion-css__item-bottom {
  grid-template-rows: 1fr;
}

/* Animate Icon */
.accordion-css__item-icon {
  transition: transform 0.6s cubic-bezier(0.625, 0.05, 0, 1);
}

[data-accordion-status="active"] .accordion-css__item-icon {
  transform: rotate(0.001deg);
}

  /* Remove border from last FAQ item */
.accordion-css__list > .accordion-css__item:last-child {
  border-bottom: none;
}
