/* dots-rebuild-v2 */
/* Cards Carousel — pure CSS (no HubL) */

.cc {
  --cc-pad-y: 0px;
  --cc-gutter: 0px;
  --cc-card-h: 432px;
  --cc-card-w: 360px;
  --cc-card-r: 12px;
  --cc-border-w: 1px;
  --cc-eyebrow: #71717a;
  --cc-heading: #09090b;
  --cc-subheading: #71717a;
  --cc-dot: #18181b;
  --cc-arrow: #09090b;
  --cc-gap: 20px;
  --cc-duration: 300ms;
  --cc-ease: ease;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: var(--cc-pad-y) 0;
  font-family: Figtree, "Helvetica Neue", Arial, sans-serif;
  color: var(--cc-heading);
}

.cc *,
.cc *::before,
.cc *::after {
  box-sizing: border-box;
}

/* Beat common theme / browser left offsets on semantic tags */
.cc h1,
.cc h2,
.cc h3,
.cc h4,
.cc h5,
.cc h6,
.cc p {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

/* Full-width; same horizontal gutter as the card track (default 0) */
.cc__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 var(--cc-gutter);
}

.cc__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 48px;
  padding: 0;
}

.cc__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  max-width: 32rem;
  margin: 0;
  padding: 0;
}


/* Eyebrow — matches standalone Eyebrow module (.eyebrow)
   Intro uses flex gap 16px; pull the next sibling up so net space under
   the eyebrow is exactly 0.5rem (gap 16px + margin-bottom -8px). */
.cc__eyebrow.eyebrow,
.cc .eyebrow.cc__eyebrow {
  display: block;
  margin: 0 0 calc(0.5rem - 16px);
  padding: 0;
  color: var(--cc-eyebrow, #71717a);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  line-height: 1.4;
  text-transform: uppercase;
}

.cc__heading {
  margin: 0;
  padding: 0;
  color: var(--cc-heading);
  font-size: clamp(1.875rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
}

.cc__subheading {
  margin: 0;
  padding: 0;
  max-width: 32rem;
  color: var(--cc-subheading);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.cc__nav {
  display: none;
  flex-shrink: 0;
  gap: 8px;
}

@media (min-width: 768px) {
  .cc__nav {
    display: flex;
  }
}

.cc__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  color: var(--cc-arrow);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background-color var(--cc-duration) var(--cc-ease),
    opacity var(--cc-duration) var(--cc-ease);
}

.cc__btn:hover:not(:disabled) {
  background: rgba(9, 9, 11, 0.06);
}

.cc__btn:focus-visible {
  outline: 2px solid var(--cc-arrow);
  outline-offset: 2px;
}

.cc__btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.cc__viewport {
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
}

.cc__track {
  display: flex;
  margin: 0;
  padding: 0 var(--cc-gutter);
  will-change: transform;
  transition: transform var(--cc-duration) var(--cc-ease);
}

.cc__slide {
  flex: 0 0 auto;
  width: min(100%, var(--cc-card-w));
  max-width: var(--cc-card-w);
  padding-right: var(--cc-gap);
  min-width: 0;
}

.cc__card {
  --cc-fill: #010c99;
  --cc-fill-hover: #0047ff;
  --cc-border: #0047ff;
  --cc-border-hover: #0047ff;
  --cc-card-text: #ffffff;
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
  border-radius: var(--cc-card-r);
  overflow: hidden; /* keep fill/img clipped to radius on mobile + active */
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* Safari radius + overflow */
  isolation: isolate;
  outline: none;
  background: transparent;
}

.cc__card:focus-visible {
  outline: 2px solid var(--cc-arrow);
  outline-offset: 3px;
}

.cc__media {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  min-height: var(--cc-card-h);
  height: var(--cc-card-h);
  overflow: hidden;
  border-radius: var(--cc-card-r);
  border: var(--cc-border-w) solid var(--cc-border);
  background: var(--cc-fill);
  /* clip-path backs up border-radius when a child paint layer ignores overflow */
  clip-path: inset(0 round var(--cc-card-r));
  -webkit-clip-path: inset(0 round var(--cc-card-r));
  transition:
    border-color var(--cc-duration) var(--cc-ease),
    background-color var(--cc-duration) var(--cc-ease),
    box-shadow var(--cc-duration) var(--cc-ease),
    height var(--cc-duration) var(--cc-ease);
}

.cc__card:hover .cc__media {
  border-color: var(--cc-border-hover);
  background-color: var(--cc-fill-hover);
  height: auto;
  min-height: var(--cc-card-h);
  overflow: hidden; /* keep radius clip while expanded */
}

/* Keyboard only: do not use :focus-within (click leaves focus on the link) */
.cc__card:focus-visible .cc__media {
  border-color: var(--cc-border-hover);
  background-color: var(--cc-fill-hover);
  height: auto;
  min-height: var(--cc-card-h);
  overflow: hidden;
}

.cc__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--cc-fill);
  transition: background-color var(--cc-duration) var(--cc-ease);
  pointer-events: none;
}

.cc__card--color:hover .cc__fill,
.cc__card--color:focus-visible .cc__fill {
  background: var(--cc-fill-hover);
}

.cc__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
  transition: transform var(--cc-duration) var(--cc-ease);
}

.cc__card--image:hover .cc__img,
.cc__card--image:focus-visible .cc__img {
  transform: scale(1.05);
}

.cc__gradient {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(24, 24, 27, 0.85) 0%,
    rgba(24, 24, 27, 0.4) 45%,
    rgba(24, 24, 27, 0) 100%
  );
  mix-blend-mode: multiply;
}

.cc__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-top: auto;
  padding: 24px;
  color: var(--cc-card-text);
}

@media (min-width: 768px) {
  .cc__content {
    padding: 32px;
  }
}

.cc__title {
  margin: 0 0 8px;
  padding-top: 16px;
  color: var(--cc-card-text);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Desktop: clamp to 2 lines; expand on hover / focus */
.cc__body {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin: 0 0 24px;
  color: var(--cc-card-text);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  transition: none;
}

@media (min-width: 768px) {
  .cc__body {
    margin-bottom: 36px;
  }

  .cc__card:hover .cc__body,
  .cc__card:focus-visible .cc__body {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
    max-height: none;
  }
}

.cc__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--cc-card-text);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25;
}

.cc__cta-icon {
  flex-shrink: 0;
  transition: transform var(--cc-duration) var(--cc-ease);
}

.cc__card:hover .cc__cta-icon,
.cc__card:focus-visible .cc__cta-icon {
  transform: translateX(4px);
}

.cc__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 0 var(--cc-gutter);
}

.cc__dot {
  display: block;
  width: 8px;
  height: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--cc-dot) 20%, transparent);
  cursor: pointer;
  transition: background-color var(--cc-duration) var(--cc-ease);
}

.cc__dot.is-active {
  background: var(--cc-dot);
}

.cc__dot:focus-visible {
  outline: 2px solid var(--cc-dot);
  outline-offset: 3px;
}

@supports not (background: color-mix(in srgb, #000 20%, transparent)) {
  .cc__dot {
    background: rgba(24, 24, 27, 0.2);
  }
  .cc__dot.is-active {
    background: var(--cc-dot);
  }
}

@media (max-width: 767px) {
  .cc {
    --cc-card-w: 320px;
  }

  .cc__header {
    margin-bottom: 32px;
  }

  /* Mobile: full body copy always visible; card grows with content.
     Keep overflow:hidden so corner radius still clips fill/image. */
  .cc__media {
    height: auto;
    min-height: var(--cc-card-h);
    overflow: hidden;
    border-radius: var(--cc-card-r);
  }

  .cc__card {
    overflow: hidden;
    border-radius: var(--cc-card-r);
  }

  .cc__body {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
    max-height: none;
    margin-bottom: 20px;
  }

  .cc__card:hover .cc__media,
  .cc__card:focus-visible .cc__media {
    height: auto;
  }
}


/* Touch / coarse pointers: never leave a card stuck expanded after tap.
   Expand is hover-only on fine pointers; keyboard still gets :focus-visible. */
@media (hover: none), (pointer: coarse) {
  .cc__card:hover .cc__media,
  .cc__card:focus-visible .cc__media {
    height: auto;
    min-height: var(--cc-card-h);
    /* keep color/border transitions but do not depend on sticky :hover */
  }

  .cc__body {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
    max-height: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc__track,
  .cc__img,
  .cc__fill,
  .cc__media,
  .cc__cta-icon,
  .cc__btn,
  .cc__dot {
    transition-duration: 0.01ms !important;
  }

  .cc__card--image:hover .cc__img,
  .cc__card--image:focus-visible .cc__img {
    transform: none;
  }
}
