/* Standard Container for Vertical Scroll */
.infinite-stamp-grid-wrapper.scrolling-grid {
    position: relative;
    width: 100%;
    max-width: 1250px;
    margin: 40px auto;
    height: 800px; /* Fixed height for the window */
    overflow: hidden;
    padding: 0 15px;
    /* Soft fade effects on top/bottom */
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.infinite-stamp-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    height: 100%;
}

/* Staggered Column Offsets & Dynamic Speeds */
.infinite-stamp-column-inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
    animation: scrollVertical var(--speed, 45s) linear infinite; /* Elementor slider sets --speed */
    will-change: transform;
}

.col-left {
    margin-top: -40px; 
}
.col-left .infinite-stamp-column-inner {
    /* Slight speed adjustment per column for parallax feel */
    animation-duration: var(--speed, 45s); 
}

.col-middle {
    margin-top: 80px; 
}
.col-middle .infinite-stamp-column-inner {
    animation-duration: calc(var(--speed, 45s) * 1.3); /* 30% slower */
}

.col-right {
    margin-top: 20px; 
}
.col-right .infinite-stamp-column-inner {
    animation-duration: calc(var(--speed, 45s) * 1.15); /* 15% slower */
}

/* Vertical Scroll Animation Keyframes */
@keyframes scrollVertical {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%); 
    }
}

/* Pause on Hover */
.infinite-stamp-grid-wrapper.pause-on-hover:hover .infinite-stamp-column-inner {
    animation-play-state: paused;
}


/* SIMPLE MINIMAL CARD DESIGN */
.infinite-stamp-card {
    position: relative;
    width: 100%;
    background: #ffffff;
    padding: 35px; /* Clean, tight padding */
    border-radius: 12px; /* Smooth rounded corners */
    border: 1px solid #f3f4f6; /* Subtle border */
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); /* Extremely soft minimal shadow */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* Minimal hover state */
.infinite-stamp-card:hover {
    border-color: #e5e7eb;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

/* Content Typo - MINIMALIST REFINEMENT */
.infinite-stamp-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 15px;
    line-height: 1.4;
    font-family: 'Inter', 'Outfit', sans-serif;
}

.infinite-stamp-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 25px;
}

.infinite-stamp-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}


.infinite-stamp-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.infinite-stamp-meta {
    display: flex;
    flex-direction: column;
}

.infinite-stamp-name {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
}

.infinite-stamp-role {
    font-size: 0.8rem;
    color: #9ca3af;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Submission CTA */
.infinite-stamp-cta-wrapper {
    display: flex;
    justify-content: center;
    margin: 60px 0;
}

.infinite-stamp-cta-btn {
    background: #000;
    color: #fff;
    padding: 16px 42px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.infinite-stamp-cta-btn:hover {
    background: #222;
    transform: translateY(-2px);
}
