/* ── Header ── */
  .custom-slider-header {
    text-align: center;
    margin-bottom: 0px;
  }
  .custom-slider-header .custom-slider-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
    display: block;
  }
  .custom-slider-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #2d3e27;
    line-height: 1.15;
  }
  .custom-slider-header h2 em {
    font-style: italic;
    color: var(--accent);
  }
  .custom-slider-divider {
    width: 48px;
    height: 2px;
    background: var(--accent);
    margin: 20px auto 0;
    border-radius: 2px;
  }

  /* ── Slider wrapper ── */
  .custom-slider-outer {
    width: 100%;
    max-width: 720px;
    position: relative;
  }

  .custom-slider-viewport {
    overflow: hidden;
    border-radius: 4px;
    cursor: grab;
    user-select: none;
  }
  .custom-slider-viewport.custom-slider-dragging { cursor: grabbing; }

  .custom-slider-track {
    display: flex;
    gap: 28px;
    align-items: stretch;
    /* transition applied via JS — disabled during clone-jump */
    will-change: transform;
    padding: 12px 4px 20px;
  }

  /* ── Card ── */
  .custom-slider-card {
    flex-shrink: 0;
    background: var(--card-bg);
    border: 1px solid rgba(192, 57, 43,0.4);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
  }
  .custom-slider-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-soft) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
  }
  .custom-slider-card:hover::before { transform: scaleX(1); }
  .custom-slider-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px var(--shadow);
  }

  .custom-slider-img-wrap {
    position: relative;
    flex: 1;
    min-height: 260px;
    background: #e8e0d8;
    overflow: hidden;
  }
  .custom-slider-img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.55s ease;
    pointer-events: none;
  }
  /* Ensure the wrapper stretches to fill its flex space */
  .custom-slider-img-wrap::after {
    content: '';
    display: block;
    padding-top: 0;
  }
  .custom-slider-card:hover .custom-slider-img-wrap img { transform: scale(1.04); }

  .custom-slider-tag {
    position: absolute;
    bottom: 12px; left: 12px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
  }

  .custom-slider-card-body {
    padding: 22px 20px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
		background-color: #2d3e27;
  }
  .custom-slider-card-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.3;
  }
  .custom-slider-card-role {
    font-size: 15px;
		font-family:outfit;
    color: #fff;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 14px;
  }
  .custom-slider-card-sep {
    width: 28px; height: 1.5px;
    background: var(--accent);
    margin-bottom: 14px;
    border-radius: 2px;
  }
  .custom-slider-card-bio {
    font-size: 15px;
    color: #2d3e27;
		font-family:outfit;
    line-height: 1.65;
    flex: 1;
  }
  .custom-slider-socials {
    display: flex;
    gap: 10px;
    margin-top: 18px;
  }
  .custom-slider-socials a {
    width: 32px; height: 32px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    color: var(--text-mid);
    font-size: 13px;
    transition: all 0.25s ease;
  }
  .custom-slider-socials a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
  }

  /* ── Arrow buttons ── */
  .custom-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px var(--shadow);
    z-index: 10;
    transition: all 0.25s ease;
    color: var(--text-dark);
  }
  .custom-slider-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 24px rgba(192,57,43,0.3);
  }
  .custom-slider-arrow:active { transform: translateY(-50%) scale(0.96); }
  .custom-slider-arrow.custom-slider-prev { left: -24px; }
  .custom-slider-arrow.custom-slider-next { right: -24px; }
  .custom-slider-arrow svg { width: 18px; height: 18px; stroke-width: 2; }

  /* ── Dots ── */
  .custom-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 36px;
  }
  .custom-slider-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
  }
  .custom-slider-dot.custom-slider-dot-active {
    background: var(--accent);
    width: 28px;
    border-radius: 4px;
  }
  .custom-slider-dot:hover:not(.custom-slider-dot-active) { background: var(--text-light); }

  /* ── Anchor wrappers must be flex to pass height to cards ── */
  .custom-slider-track > a {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    text-decoration: none;
  }
  .custom-slider-track > a .custom-slider-card {
    flex: 1;
  }

  /* ── Responsive ── */
  @media (max-width: 960px) {
    .custom-slider-arrow.custom-slider-prev { left: -16px; }
    .custom-slider-arrow.custom-slider-next { right: -16px; }
  }