/* ── Marquee ─────────────────────────────────────────────── */

.educfind-marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.educfind-marquee-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: educfindMarquee 20s linear infinite;
}

.educfind-marquee-item {
    white-space: nowrap;
    font-size: 32px;
    font-style: italic;
    font-weight: 500;
    color: #7B84A3;
}

.educfind-marquee-dot {
    color: #B0B7CC;
    font-size: 20px;
}

@keyframes educfindMarquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ── Hero section ────────────────────────────────────────── */

.educfind-hero-section {
    transition: all 0.35s ease;
}

.educfind-hero-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(8, 21, 59, 0.12);
}

/* =============================================================
   EDUCFIND STEPS WIDGET
   ============================================================= */

/* ── Base (mobile-first, single column) ──────────────────── */

.educfind-steps-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}

.educfind-step-card {
    position: relative;
    padding: 32px;
    border-radius: 10px;
    box-sizing: border-box;
    /* NO background here — each card sets its own via inline style !important */
    border: none;
    min-height: unset;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.educfind-step-number {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

/* Icon wrapper — replaces old .educfind-step-icon */
.educfind-step-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    box-sizing: border-box;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
}

.educfind-step-image {
    display: block;
}

.educfind-step-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px;
    line-height: 1.3;
}

.educfind-step-description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* ── Tablet: 2-column grid ────────────────────────────────── */

@media (min-width: 768px) and (max-width: 1024px) {

    .educfind-steps-wrapper {
        gap: 16px;
    }

    .educfind-step-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

/* ── Desktop & Laptop: staggered cascading row ────────────── */

@media (min-width: 1025px) {

    .educfind-steps-wrapper {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
    }

    .educfind-step-card {
        flex: 1;
        padding: 50px;
        margin-top: var(--card-offset, 0px);
    }
    .educfind-step-title {
        font-size: 24px;
    }
}

/* ── Small mobile tweaks ──────────────────────────────────── */

@media (max-width: 600px) {
    .educfind-marquee-item {
        font-size: 22px;
    }
}

/* ── Mission list ─────────────────────────────────────────── */

.wcss-mission-list { font-family: inherit; margin: 50px !important; }

/* ── Locked card base ────────────────────────────────────── */
.mission-card--locked {
    position: relative;
    overflow: hidden;
}

.mission-card--locked .mission-lock {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #F4C01E;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}

.mission-card--locked .mission-lock .emoji {
   display: none !important;
}

.mission-card--locked .mission-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-right: 44px;
    gap: 8px;
}

.mission-card--locked .blur-tail {
    display: inline;
    filter: blur(4px);
    user-select: none;
    pointer-events: none;
}

.mission-card--locked::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 55%,
        rgba(255, 255, 255, 0.6) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.mission-card--locked .mission-meta,
.mission-card--locked .mission-price {
    position: relative;
    z-index: 2;
}
.educfind-marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.educfind-marquee-wrapper::before,
.educfind-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.educfind-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

.educfind-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}
.educfind-step-icon-wrap {
    /* Replace the existing border with this */
    border: none !important;
    position: relative;
    
    /* Gradient border using outline technique */
    background-clip: padding-box;
}

/* Gradient border using ::before pseudo-element */
.educfind-step-icon-wrap::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 11px; /* 1px more than the 10px border-radius of the element */
    padding: 1px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.6) 0%,
        rgba(255, 255, 255, 0.1) 100%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}