/* Catherine Hubert — site customizations (loaded after the Webflow export CSS)
   Desktop main menu: visible from 1000px up; below that the original
   hamburger + full-screen overlay menu takes over. */

.ch-main-nav,
.ch-nav-brand {
  display: none;
}

@media (min-width: 1000px) {
  /* name moves from the rotated left rail into the bar; menu sits right
     beside it on a solid white bar */
  .menu-navbar-sticky {
    justify-content: flex-start;
    background-color: #fff;
  }

  .ch-nav-brand {
    display: flex;
    align-items: center;
    height: 100%;
    /* 90px clears the left branding rail + its vertical line */
    padding: 0 40px 0 122px;
    font-family: Poppins, sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #2e2e2e;
    text-decoration: none;
  }

  .branding-bar .wrap-logo {
    display: none;
  }

  .ch-main-nav {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    height: 100%;
    padding: 0 24px;
  }

  .ch-main-nav a {
    font-family: Poppins, sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    color: #2e2e2e;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: border-color .2s ease, color .2s ease;
  }

  .ch-main-nav a:hover {
    border-bottom-color: #2e2e2e;
  }

  .ch-main-nav a.ch-current {
    border-bottom-color: #2e2e2e;
  }

  /* hamburger only below 1000px */
  .menu-navbar-sticky .menu-button-closed {
    display: none;
  }
}

/* No widows: balanced headings, orphan-free paragraphs
   (modern browsers; harmlessly ignored elsewhere) */
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

/* Skills tiles: two even lines rather than long-then-short */
.maxw-our-values-paragraph {
  text-wrap: balance;
}

/* PayPal project: "What I Delivered" secondary row under the scale stats */
.ch-delivered {
  margin-top: 56px;
}

.ch-delivered-label {
  margin-bottom: 24px;
}

.ch-delivered-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
}

.ch-delivered-row .statistic {
  flex: 1 1 120px;
}

.ch-delivered-row h5 {
  font-size: 22px;
}

/* In-text links (e.g. Email / LinkedIn on the contact page) */
.ch-text-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity .2s ease;
}

.ch-text-link:hover {
  opacity: .65;
}

/* Top bar stays pinned: defeat the template's hide-on-scroll-down
   animation (an inline transform written by Webflow interactions). */
.menu-navbar-sticky {
  transform: none !important;
}

/* --- Testimonials slider: traditional flanking carousel arrows ---
   The nav overlay is stretched to the full viewport width by custom.js
   (the template anchors it to an indented grid, unreachable via CSS alone);
   prev/next sit vertically centered on the card row at the outer edges.
   The Webflow interaction wiring (data-w-id on these divs) stays untouched;
   !important beats the inline width/transform the interactions write. */

.slider-testimonials-navigation {
  top: 50% !important;
  height: 0;
  overflow: visible;
  z-index: 5;
  pointer-events: none;
}

.testimonials-nav {
  position: absolute;
  width: 100%;
}

.slider-nav-next,
.slider-nav-previous {
  pointer-events: auto;
  position: absolute !important;
  top: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 48px !important;
  height: 48px !important;
  margin: 0;
  border: none;
  border-radius: 50%;
  background-color: #fff;
  /* Material elevation 2 */
  box-shadow: 0 1px 2px #0003, 0 2px 6px 2px #00000026;
  transform: translateY(-50%) !important;
  transition: background-color .2s ease, box-shadow .2s ease;
}

.slider-nav-previous { left: 16px; }
.slider-nav-next { right: 16px; }

/* Material arrow icons instead of the template's arrow images */
.slider-nav-next img,
.slider-nav-previous img,
.slider-nav-next .arrow-line,
.slider-nav-previous .arrow-line {
  display: none;
}

.slider-nav-next::before,
.slider-nav-previous::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background: center / contain no-repeat
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232e2e2e'><path d='M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z'/></svg>");
}

.slider-nav-previous::before {
  transform: rotate(180deg);
}

/* Material hover: raise elevation + 8%-ish state layer */
.slider-nav-next:hover,
.slider-nav-previous:hover {
  background-color: #ececec;
  box-shadow: 0 2px 4px #0003, 0 4px 10px 3px #00000026;
}

/* --- Testimonials: drag affordance ---
   Slow drift of the cards on hover hints the row can be dragged; custom.js
   turns real drags/swipes into prev/next. The drift lives on the inner list
   wrapper because Webflow animates the outer track's transform inline. */

.slider-testimonials-items {
  cursor: grab;
}

.slider-testimonials-items.ch-dragging {
  cursor: grabbing;
  user-select: none;
  -webkit-user-select: none;
}

.collection-testimonials-list {
  transition: transform 1.6s cubic-bezier(.22, .61, .36, 1);
}

.slider-testimonials-items:hover .collection-testimonials-list {
  transform: translateX(-14px);
}
