/* Nesty Content — Custom Heading + Brand Service (Heading block)
   The top of the Figma "Section - creators" (node 1:914): eyebrow + two-tone
   heading (Aileron + Libre Caslon Condensed serif-italic) + top-right arrows.
   Renders no cards — pair it with a Brand Carousel in "Creator Cards" mode. */

.cew-chbs {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.cew-chbs__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cew-chbs__eyebrow {
  display: block;
  font-family: "Aileron", sans-serif;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

.cew-chbs__head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.cew-chbs__title {
  margin: 0;
  max-width: 630px;
  font-family: "Aileron", sans-serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 1.08;
  letter-spacing: -3.2px;
  color: #fff;
}

.cew-chbs__title em,
.cew-chbs__title i {
  font-family: "Libre Caslon Condensed", Georgia, serif;
  font-style: italic;
  font-weight: 500;
}

/* ── Nav arrows ── */
.cew-chbs__nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.cew-chbs__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: #f5f5f5;
  color: #131313;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cew-chbs__arrow:hover {
  transform: translateY(-1px);
}

.cew-chbs__arrow:disabled,
.cew-chbs__arrow.is-disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
}

.cew-chbs__arrow svg {
  width: 18px;
  height: 18px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .cew-chbs__title {
    font-size: 55px;
    letter-spacing: -2px;
  }
}

@media (max-width: 880px) {
  .cew-chbs__title {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .cew-chbs__title {
    font-size: 45px;
    letter-spacing: -1.2px;
  }
}

@media (max-width: 576px) {
  .cew-chbs__head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;

    .cew-chbs__nav {
      align-self: flex-end;
    }
  }
  .cew-chbs__eyebrow {
    font-size: 14px;
    line-height: 20.8px;
    letter-spacing: -0.48px;
  }
  .cew-chbs__title {
    font-size: 36px;
    line-height: normal;
    letter-spacing: -3.2px;
  }
  .cew-chbs__title span {
    display: block;
  }
}
