/* Shared two-part CTA chevron, matching the approved header action. */
.mw-consistency-arrow {
  display: inline-block;
  flex: none;
  width: 10px;
  height: 10px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  transform: none;
}
.mw-consistency-arrow__shaft {
  opacity: 0;
  transition: opacity .3s cubic-bezier(.25,1,.5,1);
}
.mw-consistency-arrow__chevron {
  transition: transform .3s cubic-bezier(.25,1,.5,1);
}
:is(a, button):is(:hover, :focus-visible) .mw-consistency-arrow__shaft {
  opacity: 1;
}
:is(a, button):is(:hover, :focus-visible) .mw-consistency-arrow__chevron {
  transform: translateX(3px);
}
.mw-home-book-feature__cta {
  gap: 8px;
}
.mw-testimonials__slide blockquote {
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: -.01em;
}
.mw-testimonials__story {
  gap: 8px;
  font-weight: 400;
}
.mw-customer-story-card .mw-customer-story-card__cta .mw-consistency-arrow,
.mw-customer-story-card:hover .mw-customer-story-card__cta .mw-consistency-arrow,
.mw-customer-story-card:focus-visible .mw-customer-story-card__cta .mw-consistency-arrow {
  width: 10px;
  height: 10px;
  transform: none;
}
.mw-customer-story-cta .mw-consistency-arrow {
  width: 10px;
  height: 10px;
  transform: none;
}
.mw-customer-story-cta .mw-consistency-arrow path {
  fill: none;
  stroke: currentColor;
}

/* Align child-nav dimensions with the existing product grid. */
.product-hero-subnav {
  max-width: 1248px !important;
}
.product-hero-subnav .hero-static-subnav .hero-subnav__title-link {
  font-size: 18px;
  font-weight: 400;
}
.product-hero-subnav .hero-static-subnav .hero-subnav-item__link {
  font-size: 14px;
  font-weight: 400;
}
.newsroom-subnav {
  min-height: 65px;
}
.newsroom-subnav__title {
  font-size: 18px;
  font-weight: 400;
}
.newsroom-subnav__link {
  font-size: 14px;
  font-weight: 400;
}
.mw-mobile-child-nav {
  display: none;
}

@media (max-width: 900px) {
  .mw-testimonials__slide blockquote {
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: -.01em;
  }
  .mw-mobile-child-nav {
    display: block;
    position: relative;
    z-index: 10;
    width: 100%;
    background: #0a2540;
    color: #fff;
    font-family: sohne-var, "SF Pro Display", sans-serif;
    font-size: 16px;
    font-weight: 400;
  }
  .mw-mobile-child-nav details {
    width: 100%;
  }
  .mw-mobile-child-nav summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    padding: 0 16px;
    cursor: pointer;
    list-style: none;
  }
  .mw-mobile-child-nav summary::-webkit-details-marker {
    display: none;
  }
  .mw-mobile-child-nav summary::marker {
    content: "";
  }
  .mw-mobile-child-nav summary:focus-visible,
  .mw-mobile-child-nav__panel a:focus-visible {
    outline: 2px solid #aab6ff;
    outline-offset: -3px;
  }
  .mw-mobile-child-nav__toggle {
    position: relative;
    display: block;
    width: 12px;
    height: 12px;
  }
  .mw-mobile-child-nav__toggle::before,
  .mw-mobile-child-nav__toggle::after {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 12px;
    height: 1.5px;
    background: currentColor;
    transition: transform .2s ease;
  }
  .mw-mobile-child-nav__toggle::after {
    transform: rotate(90deg);
  }
  .mw-mobile-child-nav details[open] .mw-mobile-child-nav__toggle::after {
    transform: rotate(0);
  }
  .mw-mobile-child-nav__panel {
    display: grid;
    gap: 0;
    padding: 5px 0 12px;
    border-top: 1px solid rgba(255,255,255,.2);
  }
  .mw-mobile-child-nav__panel a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    color: inherit;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
  }
  .mw-mobile-child-nav__panel a:hover,
  .mw-mobile-child-nav__panel a[aria-current="page"] {
    background: rgba(255,255,255,.1);
  }
  .mw-mobile-child-nav--newsroom {
    border-bottom: 1px solid #e5ebf3;
    background: #fff;
    color: #10283f;
  }
  .mw-mobile-child-nav--newsroom .mw-mobile-child-nav__panel {
    border-top-color: #e5ebf3;
  }
  .mw-mobile-child-nav--newsroom .mw-mobile-child-nav__panel a:hover,
  .mw-mobile-child-nav--newsroom .mw-mobile-child-nav__panel a[aria-current="page"] {
    background: #f5f7ff;
  }
  .newsroom-subnav {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mw-consistency-arrow__shaft,
  .mw-consistency-arrow__chevron,
  .mw-mobile-child-nav__toggle::before,
  .mw-mobile-child-nav__toggle::after {
    transition: none;
  }
}
/* Keep expanded customer stories in document flow on narrow screens. Sticky rows
   otherwise cover the open panel as the next customer scrolls into view. */
@media (max-width: 900px) {
  html body .customer-stories .customer-stories__customer {
    position: static !important;
  }
}
