.cc_hzfzi156_Ol9CJx3t16 .dn-brand-section {
  width: 100%;
}

.cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: var(--dn-pt, 0px) 40px var(--dn-pb, 0px);
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__inner {
    min-width: 1024px;
  }
}

/* Wrapper for list + arrows */
.cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__list-wrap {
  width: 100%;
}

/* Viewport */
.cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__list {
  width: 100%;
  overflow: hidden;
}

/* Track: flex container for all brand items */
.cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__track {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* IkasComponentRenderer outer + inner wrappers: transparent to flex layout */
.cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__track > * {
  display: contents;
}
.cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__track > * > * {
  display: contents;
}

/* Last brand item: no right border */
.cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__track > * > * > *:last-child .dn-brand-item {
  border-right: none !important;
}

/* Arrow buttons — hidden on desktop */
.cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__arrow {
  display: none;
}

/* Footer button */
.cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__footer {
  display: flex;
  justify-content: center;
}

.cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  border: 1px solid;
  border-radius: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  text-align: center;
  text-decoration: none;
}

/* ─── Mobile ─────────────────────────────────────────── */
@media (max-width: 1023px) {
  .cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__inner {
    padding: var(--dn-pt, 0px) 16px var(--dn-pb, 0px);
    align-items: flex-start;
  }

  /* Relative container for absolutely-positioned arrows */
  .cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__list-wrap {
    position: relative;
  }

  /* Viewport clips the sliding track */
  .cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__list {
    overflow: hidden;
    position: relative;
    touch-action: pan-y;
    cursor: grab;
  }

  .cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__list:active {
    cursor: grabbing;
  }

  /* Mask only the trailing divider at the right edge of the viewport.
     The divider between the two visible logos stays visible. */
  .cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__list::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 2px;
    background: var(--dn-brand-bg, #ffffff);
    pointer-events: none;
    z-index: 1;
  }

/* Track slides via CSS vars set in JS (page translate + live drag offset) */
  .cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__track {
    justify-content: flex-start;
    transform: translateX(calc(var(--dn-track-translate, 0%) + var(--dn-drag-offset, 0px)));
    transition: var(--dn-track-transition, transform 0.35s ease);
    will-change: transform;
  }

  /* Each per-item wrapper: half viewport — 2 logos visible at a time */
  .cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__track > * > * > * {
    flex: 0 0 50%;
    min-width: 0;
  }

  /* Remove left border/padding, center the logo */
  .cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__track > * > * > * .dn-brand-item {
    border-left: none !important;
    padding-left: 0 !important;
    width: 100%;
    justify-content: center;
  }


  /* Logo fills the cell */
  .cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__track > * > * > * .dn-brand-item__logo {
    width: 100%;
    height: 110px;
    max-width: none;
  }

  /* Arrows: overlaid at left/right edges, don't affect layout */
  .cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #ffffff;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.15s;
  }

  .cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__arrow svg {
    width: 13px;
    height: 13px;
  }

  .cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__arrow--prev {
    left: 8px;
  }

  .cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__arrow--next {
    right: 8px;
  }

  .cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__arrow:disabled {
    opacity: 0.3;
    cursor: default;
  }

  .cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__footer {
    width: 100%;
    justify-content: center;
  }
}

/* ─── Desktop: allow natural horizontal scroll if many brands ─ */
@media (min-width: 1024px) {
  .cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__list {
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .cc_hzfzi156_Ol9CJx3t16 .dn-brand-section__list::-webkit-scrollbar {
    display: none;
  }
}
