/* ============================================================
   TIP CAROUSEL (reusable)
   ============================================================ */
.tip-carousel {
    background: var(--ct-brand-purple-dark); /* dark purple panel */
    border-radius: var(--ct-radius);
    padding: 20px 60px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    min-height: 90px;
    position: relative;
}

/* ── Arrows: gold so they pop on the dark purple ─────────────── */
.tip-carousel-arrow {
    background: none;
    border: 2px solid var(--ct-brand-gold);
    border-color: #fff;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s, transform .2s;
}

    .tip-carousel-arrow:hover {
        background: var(--ct-brand-gold);
        color: var(--ct-brand-purple-dark);
    }

.tip-carousel-prev {
    left: 14px;
}

.tip-carousel-next {
    right: 14px;
}

/* ── Nudge animation — draws attention to the arrows on load ── */
@keyframes nudge-left {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }

    25% {
        transform: translateY(-50%) translateX(-5px);
    }

    50% {
        transform: translateY(-50%) translateX(0);
    }

    75% {
        transform: translateY(-50%) translateX(-3px);
    }
}

@keyframes nudge-right {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }

    25% {
        transform: translateY(-50%) translateX(5px);
    }

    50% {
        transform: translateY(-50%) translateX(0);
    }

    75% {
        transform: translateY(-50%) translateX(3px);
    }
}

.tip-carousel-prev.tip-carousel-arrow-nudge {
    animation: nudge-left 1.5s ease-in-out 1s 1; /* plays once, after 1s delay */
}

.tip-carousel-next.tip-carousel-arrow-nudge {
    animation: nudge-right 1.5s ease-in-out 1s 1;
}

.tip-carousel-content {
    flex: 1;
    text-align: center;
    color: #fff;
}

.tip-carousel-heading {
    color: #fff;
    margin-bottom: 6px;
    font-size: .875rem;
}

    .tip-carousel-heading strong {
        font-weight: 600;
    }

.tip-carousel-body {
    color: rgba(255, 255, 255, .85); /* slightly softer than the heading */
    font-size: .825rem;
    line-height: 1.5;
}

.tip-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.tip-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--ct-border);
    cursor: pointer;
    padding: 0;
    transition: background.2s;
}

.tip-carousel-dot-active {
    background: var(--ct-brand-purple);
}

.tip-carousel-dot:hover:not(.tip-carousel-dot-active) {
    background: var(--ct-text-muted);
}
