/* ============================================
   HOW EARNEDITS WORK SECTION CSS
   ============================================ */

.how-earnedits-work-section-v2 {
    background-color: var(--color-secondary-black);
}

/* Steps Wrapper */
.how-earnedits-work-section-v2 .steps__wrapper {
    display: flex;
    flex-direction: column;
    gap: 22.6rem;
    max-width: 1244px;
    margin: 0 auto;
}

/* Step Item */
.how-earnedits-work-section-v2 .step__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4.4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
}
.how-earnedits-work-section-v2 .step__item .step__lines {
    position: absolute;
    top: 100%;
    display: none;
    padding: 20px 0 0 0;
}

.how-earnedits-work-section-v2 .step__item .step__lines img {
    max-width: 100%;
}

.how-earnedits-work-section-v2 .step__item:nth-child(1) .step__line-1 {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    right: 21%;
}
.how-earnedits-work-section-v2 .step__item:nth-child(2) .step__line-2 {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    left: 20%;
}

.how-earnedits-work-section-v2 .step__image {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
    position: relative;
}
.how-earnedits-work-section-v2 .step__image img {
    max-width: 100%;
    height: auto;
}
.how-earnedits-work-section-v2 .step__content {
    order: 1;
}
.how-earnedits-work-section-v2 .step__item--reverse {
    grid-template-columns: 1fr 1.4fr;
}
.how-earnedits-work-section-v2 .step__item--reverse .step__image {
    order: 1;
}

.how-earnedits-work-section-v2 .step__videos {
    position: absolute;
    left: 10%;
    top: 33.8%;
    right: 10%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.4%;
    pointer-events: none;
}
.how-earnedits-work-section-v2 .step__videos .step__video-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}
.how-earnedits-work-section-v2 .step__videos .step__video-item::before {
    content: '';
    display: block;
    padding-top: 136%;
}
.how-earnedits-work-section-v2 .step__videos .step__video-item img,
.how-earnedits-work-section-v2 .step__videos .step__video-item video,
.how-earnedits-work-section-v2 .step__videos .step__video-item iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}
.how-earnedits-work-section-v2 .step__videos .step__video-item iframe {
    width: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 130%;
}


/* Step Content */
/* .how-earnedits-work-section-v2 .step__content {
    flex: 0 0 60%;
} */

.how-earnedits-work-section-v2 .step__number {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 1.4rem;
    font-weight: 600;
    padding: 0.6rem 1.6rem;
    border-radius: 100px;
    margin-bottom: 2rem;
}

.how-earnedits-work-section-v2 .step__content h3 {
    margin-bottom: 1.6rem;
}

.how-earnedits-work-section-v2 .step__content p {
    line-height: 1.7;
}

/* Step Image */
/* .how-earnedits-work-section-v2 .step__image {
    flex: 0 0 40%;
} */

.how-earnedits-work-section-v2 .step__image img {
    width: 100%;
    height: auto;
}

.how-earnedits-work-section-v2 .step__item--reverse .step__image.single-video {width: 100%;}
.how-earnedits-work-section-v2 .step__image.single-video .step__videos {position: relative; width: 100%; display: flex; left: 0; top: 0; right: 0;}
.how-earnedits-work-section-v2 .step__image.single-video .step__videos .step__video-item {width: 100%; height: 100%; border: 1px solid #3CB64A;}
.how-earnedits-work-section-v2 .step__image.single-video .step__videos .step__video-item::before {padding: 100% 0 0;}
.how-earnedits-work-section-v2 .step__image.single-video .step__videos .step__video-item iframe {width: 100%;left: 0; top: 0; transform: translate(0, 0); height: 100%;}


.how-earnedits-work-section-v2.common_section {padding: 14px 0;}
.how-earnedits-work-section-v2.common_section .steps__wrapper {max-width: 1000px;} 
.how-earnedits-work-section-v2.common_section .step__item {justify-content: center;} 
.how-earnedits-work-section-v2.common_section .step__content {order: 2;}
.how-earnedits-work-section-v2 .step__content h3 {font-family: 'Inter'; font-weight: 500; font-size: 30px; line-height: 100%; color: #FFF;}
.how-earnedits-work-section-v2 .step__content h6 {font-family: 'Inter'; font-weight: 400; font-size: 20px; line-height: 30px; color: #3CB64A; margin-bottom: 20px;}
.how-earnedits-work-section-v2 .step__content p {font-family: 'Inter'; font-weight: 400; font-size: 16px; line-height: 24px; color: #A1A1AB;}
.how-earnedits-work-section-v2 .step__content .step__link {display: inline-flex; align-items: center; justify-content: center; padding: 0 3.2rem; height: 48px; background-color: var(--color-primary); color: var(--color-white); border: none; border-radius: 0; font-size: 1.6rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; text-align: center; line-height: 1.25rem; gap: 0.4rem; border-radius: 100px; margin-top: 32px;}







/* ============================================
   HOW EARNEDITS WORK SECTION RESPONSIVE CSS
   ============================================ */

@media (max-width: 1599px) {
    .how-earnedits-work-section-v2 .steps__wrapper {
        gap: 20rem;
    }
}

@media (max-width: 1439px) {
    
    .how-earnedits-work-section-v2 .step__item {
        gap: 4rem;
    }

    .how-earnedits-work-section-v2 .steps__wrapper {
        gap: 14rem;
    }

    .how-earnedits-work-section-v2 .step__item .step__line-1 {
        width: 35%;
        padding: 0;
    }
    .how-earnedits-work-section-v2 .step__item .step__line-2 {
        width: 35%;
        padding: 0;
    }
    
}

@media (max-width: 1199px) {
    
    .how-earnedits-work-section-v2 .steps__wrapper {
        gap: 10rem;
    }
    .how-earnedits-work-section-v2 .step__item {
        gap: 3rem;
    }
    .how-earnedits-work-section-v2 .step__item .step__line-1 {
        width: 32%;
        padding: 0;
    }
    .how-earnedits-work-section-v2 .step__item .step__line-2 {
        width: 32%;
        padding: 0;
    }
    .how-earnedits-work-section-v2 .step__item:nth-child(1) .step__line-1 {
        right: 25%;
    }
    .how-earnedits-work-section-v2 .step__item:nth-child(2) .step__line-2 {
        left: 25%;
        padding: 20px 0 0 0;
    }
    
    
}

@media (max-width: 991px) {
    .how-earnedits-work-section-v2 .step__content h3 {font-size: 24px;}
    
}
@media (min-width: 768px) {
     .how-earnedits-work-section-v2 .mobile-show {
        display: none;
    }

    
}
@media (max-width: 767px) {

    .how-earnedits-work-section-v2 .mobile-show {
        display: none;
    }
    
    .mobile-hide {
        display: block;
    }
    
    .how-earnedits-work-section-v2 .steps__wrapper {
        gap: 4rem;
    }
    .how-earnedits-work-section-v2 .step__item {
        gap: 2rem;
        grid-template-columns: 1fr;
    }
    .how-earnedits-work-section-v2 .step__image {
        order: 3;
    }
    .how-earnedits-work-section-v2 .step__item--reverse {
        grid-template-columns: 1fr;
    }
    .how-earnedits-work-section-v2 .step__number {
        font-size: 1.2rem;
        padding: 0.5rem 1.2rem;
        margin-bottom: 1.6rem;
    }
    .how-earnedits-work-section-v2 .step__content h3 {
        margin-bottom: 1.2rem;
    }

    .how-earnedits-work-section-v2 .step__item:nth-child(1) .step__line-1,
    .how-earnedits-work-section-v2 .step__item:nth-child(1) .step__line-2,
    .how-earnedits-work-section-v2 .step__item .step__line-1,
    .how-earnedits-work-section-v2 .step__item:nth-child(2) .step__line-2 {
        display: none !important;
    }

    .how-earnedits-work-section-v2 .step__item .mobile-steps{ justify-content: start; gap: 1.5rem;}
     .how-earnedits-work-section-v2 .step__item .mobile-steps .step__number { margin: 0; }
    .how-earnedits-work-section-v2 .step__item .mobile-steps h3{ font-size: 32px; line-height: 44px;}

    .how-earnedits-work-section-v2.common_section .step__content {text-align: center;}
    .how-earnedits-work-section-v2 .step__content .step__link {width: 100%;}
    .how-earnedits-work-section-v2 .step__content h6 {font-weight: 400; font-size: 16px; line-height: 28px; }

}

@media (max-width: 576px) {
    
}

