/* ============================================================
   Pointblank Card Carousel — front-end styles.
   Horizontal drag-scroll carousel. Two card types: intro / product.
   ============================================================ */

.pb-cc {
    --pbcc-per: 3.2;
    --pbcc-gap: 20px;
    --pbcc-ratio: 3 / 4;
    --pbcc-scrim: rgba(0, 0, 0, 0.55);
    position: relative;          /* anchor for the drag cursor pill */
    width: 100%;
    box-sizing: border-box;
    padding: 24px 0;
    background-color: #000;
}

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

/* ---- Track ------------------------------------------------ */
.pb-cc__track {
    display: flex;
    gap: var(--pbcc-gap);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    cursor: default;          /* no hand on hover — only while dragging */
    padding: 0 24px;
    scrollbar-width: none;          /* Firefox */
    /* Drag must never select card text. */
    user-select: none;
    -webkit-user-select: none;
}

.pb-cc__track::-webkit-scrollbar {  /* Chrome/Safari */
    display: none;
}

.pb-cc__track.is-grabbing {
    cursor: grabbing;
}

/* Full-bleed: break the scroll track out of a boxed container so cards stay
   visible past the left/right edges while dragging. First card aligns to the
   container's left content edge; the track itself spans the full viewport.
   Requires no ancestor with overflow:hidden. */
.pb-cc--bleed .pb-cc__track {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

/* ---- Card ------------------------------------------------- */
.pb-cc__card {
    position: relative;
    flex: 0 0 calc((100% - (var(--pbcc-per) - 1) * var(--pbcc-gap)) / var(--pbcc-per));
    min-width: 316px;
    aspect-ratio: var(--pbcc-ratio);
    /* When --pbcc-height is set (Elementor "Card Height" control), the explicit
       height wins over aspect-ratio; otherwise it stays auto and the ratio drives. */
    height: var(--pbcc-height, auto);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 24px;
    text-decoration: none;
    color: #fff;
    /* Image set as a true background inline per card (size/position from controls). */
    background-color: #111;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.pb-cc__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Product: bottom scrim for legibility. */
.pb-cc__card--product .pb-cc__overlay {
    background: linear-gradient(to top, var(--pbcc-scrim) 0%, rgba(0, 0, 0, 0) 55%);
}

/* Intro: gradient tint (overridden by Elementor Drag Pill / Overlays controls). */
.pb-cc__card--intro .pb-cc__overlay {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, #000 100%);
}

/* ---- Content sits above the overlay ----------------------- */
.pb-cc__eyebrow,
.pb-cc__title,
.pb-cc__body,
.pb-cc__footer,
.pb-cc__intro {
    position: relative;
    z-index: 1;
}

.pb-cc__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 700;
    margin: 0;
}

.pb-cc__title {
    margin: 0;
    font-size: clamp(1.5rem, 2.4vw, 2.25rem);
    line-height: 1.1;
    font-weight: 600;
}

.pb-cc__body {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #f2f2f2;
}

/* ---- Product layout: eyebrow top, footer (title + arrow) bottom --- */
.pb-cc__card--product {
    justify-content: space-between;
}

.pb-cc__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.pb-cc__footer .pb-cc__title {
    flex: 1 1 auto;
}

/* ---- Intro layout: top-aligned column, title -> eyebrow -> body ----- */
.pb-cc__card--intro {
    justify-content: flex-start;
    text-align: center;
}

.pb-cc__intro {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.pb-cc__card--intro .pb-cc__title {
    font-size: clamp(2rem, 3.4vw, 3rem);
    padding-top: 10px;
    padding-bottom: 10px;
}

/* ---- Arrow ------------------------------------------------ */
.pb-cc__arrow {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* ---- Drag cursor pill (follows the mouse on hover) -------- */
.pb-cc__cursor {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 999px;
    background-color: rgba(87, 85, 85, 0.5);   /* #575555 @ 50% — matches Button.svg */
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    color: #fff;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;            /* never intercept drag/clicks */
    opacity: 0;
    transform: translate(6px, calc(-100% + 6px)) scale(0.8);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.pb-cc.is-cursor-active .pb-cc__cursor {
    opacity: 1;
    transform: translate(6px, calc(-100% + 6px)) scale(1);
}


.pb-cc__cursor-text {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px; /* 142.857% */
    text-transform: uppercase;
}

.pb-cc__cursor-arrows {
    display: block;
}

/* ---- Responsive ------------------------------------------- */
@media (max-width: 767px) {
    .pb-cc__track { padding: 0 16px; }
}
